Method and apparatus for frame-precise haptic exchange of file formats
By processing HJIF files into binary formats, including ratio-based channel descriptions, the problem of HJIF not supporting video/audio frame-accurate synchronization is solved, achieving frame-accurate synchronization of tactile experience with video or audio, and improving distribution efficiency.
Patent Information
- Application Number
- CN202480001144.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Priority Date
- 2024-01-05
- Filing Date
- 2024-01-08
- Publication Date
- 2024-09-06
AI Technical Summary
The existing Haptic JSON Interchange File Format (HJIF) does not support video/audio frame-accurate synchronization and cannot achieve video/audio frame-accurate synchronization for tactile experience.
Process the HJIF file into a binary file format, including multiple haptic channels, each channel containing a channel description, relative position parameters for keyframes specified in the channel description, and haptic position parameters for the haptic effect, specified based on scale, and synchronized with video or audio .
It achieves frame-accurate synchronization of tactile experience and video or audio, improving the distribution efficiency and synchronization of tactile exchange files.
Smart Images

Figure CN118614064A_ABST
Abstract
Description
CROSS-REFERENCE TO RELATED APPLICATIONS
[0001] This application claims the benefit of priority to U.S. Provisional Patent Application No. 63 / 437,615 filed on January 6, 2023 and U.S. Patent Application No. 18 / 405,941 filed on January 5, 2024, the disclosures of which are incorporated herein by reference in their entirety. Technical Field
[0002] The present disclosure generally relates to providing a frame accurate haptic interchange file format. Background Art
[0003] The use of haptic technology has become a part of multimedia presentation. In such applications, haptic signals are transmitted to a device or wearable hardware, where the user can feel the tactile sensation while using the application. Recently, MPEG has started to develop compression standards for haptic technology.
[0004] The haptic committee draft includes a JavaScript Object Notation (JSON) format and two binary formats. The MIHS binary format provides the possibility of precise synchronization of video / audio frames for haptic experience. However, the haptic JSON interchange file (HJIF) format does not support such signaling. Summary of the invention
[0005] According to one or more embodiments, a method for signaling a tactile JavaScript Object Representation (JSON) Interchange File Format (HJIF) file is provided, the method comprising processing the HJIF file into a binary file format for distribution in a bitstream, wherein the HJIF file comprises a plurality of tactile channels, wherein each of the plurality of tactile channels comprises a channel description, the channel description comprising a relative position parameter for specifying a relative position of a key frame included in the data and a tactile position parameter of a tactile effect, wherein the relative position parameter and the tactile position parameter are specified according to a ratio, and wherein the tactile effect and the key frame of each channel are synchronized with a video or audio included in the bitstream based on the ratio.
[0006] According to one or more embodiments, a device for signaling a tactile JavaScript Object Representation (JSON) Interchange File Format (HJIF) file is provided, the device comprising: at least one memory configured to store program code; and at least one processor configured to read the program code and execute according to instructions of the program code, the program code comprising processing code configured to cause the at least one processor to process the HJIF file into a binary file format for distribution in a bitstream, wherein the HJIF file comprises a plurality of tactile channels, wherein each of the plurality of tactile channels comprises a channel description, the channel description comprising a relative position parameter for specifying a relative position of a key frame included in the data and a tactile position parameter of a tactile effect, wherein the relative position parameter and the tactile position parameter are specified according to a ratio, and wherein the tactile effect and the key frame of each channel are synchronized with a video or audio included in the bitstream based on the ratio.
[0007] According to one or more embodiments, a device for signaling a tactile JavaScript Object Representation (JSON) Interchange File Format (HJIF) file is provided, the device comprising: at least one memory configured to store program code; and at least one processor configured to read the program code and execute according to instructions of the program code, the program code comprising processing code configured to cause the at least one processor to process the HJIF file into a binary file format for distribution in a bitstream, wherein the HJIF file comprises a plurality of tactile channels, wherein each of the plurality of tactile channels is defined by a channel description, the channel description comprising relative position parameters for specifying relative positions of key frames included in the data and tactile position parameters of the tactile effect, wherein the relative position parameters and the tactile position parameters are specified according to a ratio, and wherein the tactile effect and the key frame of each channel are synchronized with the video or audio included in the bitstream based on the ratio. BRIEF DESCRIPTION OF THE DRAWINGS
[0008] Further features, properties and various advantages of the disclosed subject matter will become more apparent from the following detailed description and accompanying drawings, in which:
[0009] Figure 1 is a schematic diagram of an environment according to an embodiment in which the methods, apparatuses, and systems described herein may be implemented.
[0010] Figure 2 yes Figure 1 A block diagram of example components of one or more devices.
[0011] Figure 3 and Figure 4is a schematic diagram of a haptic codec architecture according to an embodiment.
[0012] Figure 5 is a flow diagram of an example process performed by a tactile encoder, according to an embodiment.
[0013] Figure 6 is a flow diagram of an example process performed by a haptic decoder according to an embodiment. DETAILED DESCRIPTION
[0014] The following detailed description of exemplary embodiments refers to the accompanying drawings.The same reference numbers in different drawings may identify the same or similar elements.
[0015] The foregoing disclosure provides illustration and description, but is not intended to be exhaustive or to limit the embodiments to the disclosed precise form. According to the above disclosure, modifications and variations are possible, or can be obtained from the practice of the embodiments. In addition, one or more features or components of an embodiment may be incorporated into another embodiment or combined with another embodiment (or one or more features of another embodiment). Additionally, in the flowcharts and descriptions of the operations provided below, it should be understood that one or more operations may be omitted, one or more operations may be added, one or more operations may be performed simultaneously (at least in part), and the order of one or more operations may be switched.
[0016] It is apparent that the systems and / or methods described herein may be implemented in various forms of hardware, firmware, or a combination of hardware and software. The actual dedicated control hardware or software code used to implement these systems and / or methods does not limit the implementation. Therefore, the operation and behavior of the systems and / or methods are described herein without reference to specific software code - it should be understood that software and hardware can be designed to implement the systems and / or methods based on the description herein.
[0017] Even though particular combinations of features are recited in the claims and / or disclosed in the specification, these combinations are not intended to limit the disclosure of possible implementations. In fact, many of these features may be combined in ways not specifically recited in the claims and / or disclosed in the specification. Although each dependent claim listed below may be directly dependent on only one claim, the disclosure of possible implementations includes each dependent claim in combination with every other claim in the claim set.
[0018] Elements, actions or instructions used herein should not be interpreted as critical or necessary unless clearly described as such. In addition, as used herein, the articles "a" and "an" are intended to include one or more projects, and can be used interchangeably with "one or more". When only one project is meant, the term "one" or similar language is used. In addition, as used herein, the terms "has", "have", "having", "including", "including", etc. are intended to be open terms. Further, the phrase "based on" is intended to represent "based at least in part", unless otherwise clearly stated. In addition, expressions such as "at least one of [A] and [B]" or "at least one of [A] or [B]" should be understood to include only A, only B, or both A and B.
[0019] Throughout this specification, references to "one embodiment," "an embodiment," or similar language mean that a particular feature, structure, or characteristic described in conjunction with the indicated embodiment is included in at least one embodiment of the present solution. Thus, the phrases "in one embodiment," "in an embodiment," and similar language throughout this specification may, but do not necessarily, all refer to the same embodiment.
[0020] In addition, the described features, advantages and characteristics of the present disclosure may be combined in any suitable manner in one or more embodiments. Based on the description herein, those skilled in the relevant art will recognize that the present disclosure may be practiced without one or more specific features or advantages of a particular embodiment. In other cases, additional features and advantages that may not be present in all embodiments of the present disclosure may be recognized in certain embodiments.
[0021] Figure 1 1 is a diagram of an environment 100 in which the methods, devices, and systems described herein may be implemented, according to an embodiment. Figure 1 As shown, environment 100 may include user device 110, platform 120, and network 130. The devices of environment 100 may be interconnected via wired connections, wireless connections, or a combination of wired and wireless connections.
[0022] User device 110 includes one or more devices that can receive, generate, store, process, and / or provide information associated with platform 120. For example, user device 110 may include a computing device (e.g., a desktop computer, a laptop computer, a tablet computer, a handheld computer, a smart speaker, a server, etc.), a mobile phone (e.g., a smart phone, a wireless phone, etc.), a wearable device (e.g., smart glasses or a smart watch), or a similar device. In some embodiments, user device 110 can receive information from platform 120 and / or transmit information to platform 120.
[0023] The platform 120 includes one or more devices as described elsewhere herein. In some embodiments, the platform 120 may include a cloud server or a group of cloud servers. In some embodiments, the platform 120 may be designed to be modular so that software components can be swapped in or out according to specific needs. Thus, the platform 120 may be easily and / or quickly reconfigured for different uses.
[0024] In some embodiments, as shown, the platform 120 can be hosted in a cloud computing environment 122. It is worth noting that although the embodiments described herein describe the platform 120 as being hosted in a cloud computing environment 122, in some embodiments, the platform 120 may not be cloud-based (i.e., may be implemented outside of a cloud computing environment) or may be partially cloud-based.
[0025] Cloud computing environment 122 includes an environment hosting platform 120. Cloud computing environment 122 can provide computing, software, data access, storage, and other services that do not require end users (e.g., user devices 110) to be aware of the physical location and configuration of the systems and / or devices hosting platform 120. As shown, cloud computing environment 122 can include a set of computing resources 124 (collectively, "computing resources 124" and individually, "computing resource 124").
[0026] The computing resources 124 include one or more personal computers, workstation computers, server devices, or other types of computing and / or communication devices. In some embodiments, the computing resources 124 can host the platform 120. Cloud resources can include computing instances executed in the computing resources 124, storage devices provided in the computing resources 124, data transmission devices provided by the computing resources 124, etc. In some embodiments, the computing resources 124 can communicate with other computing resources 124 via wired connections, wireless connections, or a combination of wired and wireless connections.
[0027] like Figure 1As further shown, the computing resources 124 include a set of cloud resources, such as one or more application programs ("APPs") 124-1, one or more virtual machines ("VMs") 124-2, virtualized storage ("VSs") 124-3, or one or more hypervisors ("HYPs") 124-4, etc.
[0028] The applications 124-1 include one or more software applications that can be provided to or accessed by the user device 110 and / or the platform 120. The applications 124-1 do not require the software applications to be installed and executed on the user device 110. For example, the applications 124-1 may include software associated with the platform 120, and / or any other software that can be provided via the cloud computing environment 122. In some embodiments, one application 124-1 may send / receive information to or from one or more other applications 124-1 via the virtual machine 124-2.
[0029] Virtual machine 124-2 includes a software implementation of a machine (e.g., a computer) that executes programs, similar to a physical machine. Virtual machine 124-2 can be a system virtual machine or a process virtual machine, depending on the use and correspondence of virtual machine 124-2 to any real machine. System virtual machines can provide a complete system platform that supports the execution of a complete operating system ("OS"). Process virtual machines can execute a single program and can support a single process. In some embodiments, virtual machine 124-2 can execute on behalf of a user (e.g., user device 110) and can manage the infrastructure of cloud computing environment 122, such as data management, synchronization, or long-term data transfer.
[0030] Virtualized storage 124-3 includes one or more storage systems and / or one or more devices that use virtualization technology within the storage system or device of computing resource 124. In some embodiments, within the context of a storage system, the types of virtualization may include block virtualization and file virtualization. Block virtualization may refer to the abstraction (or separation) of logical storage from physical storage so that the storage system may be accessed without regard to physical storage or heterogeneous structures. Separation may allow administrators of storage systems to flexibly manage storage for end users. File virtualization may eliminate the dependency between data accessed at the file level and the location of the physical storage file. This may optimize storage usage, server consolidation, and / or the ability to migrate files without interruption.
[0031] Hypervisor 124-4 may provide hardware virtualization technology that allows multiple operating systems (e.g., "guest operating systems") to execute simultaneously on a host computer such as computing resource 124. Hypervisor 124-4 may provide a virtual operating platform to the guest operating systems and may manage the execution of the guest operating systems. Multiple instances of various operating systems may share virtualized hardware resources.
[0032] The network 130 includes one or more wired and / or wireless networks. For example, the network 130 may include a cellular network (e.g., a fifth generation (5G) network, a long-term evolution (LTE) network, a third generation (3G) network, a code division multiple access (CDMA) network, etc.), a public land mobile network (PLMN), a local area network (LAN), a wide area network (WAN), a metropolitan area network (MAN), a telephone network (e.g., a public switched telephone network (PSTN)), a private network, an ad hoc network, an intranet, the Internet, a fiber-based network, etc., and / or a combination of these or other types of networks.
[0033] supply Figure 1 The number and arrangement of devices and networks shown are examples. Figure 1 There may be more devices and / or networks, fewer devices and / or networks, different devices and / or networks, or different arrangements of devices and / or networks than those shown. Figure 1 Two or more of the devices shown may be implemented in a single device, or Figure 1 The single device shown may be implemented as multiple distributed devices. Additionally or alternatively, one set of devices (eg, one or more devices) of environment 100 may perform one or more functions described as being performed by another set of devices of environment 100.
[0034] Figure 2 yes Figure 1 Device 200 may correspond to user device 110 and / or platform 120. Figure 2 As shown, device 200 may include a bus 210 , a processor 220 , a memory 230 , a storage component 240 , an input component 250 , an output component 260 , and a communication interface 270 .
[0035] The bus 210 includes components that allow communication between components of the device 200. The processor 220 is implemented in hardware, firmware, or a combination of hardware and software. The processor 220 is a central processing unit (CPU), a graphics processing unit (GPU), an accelerated processing unit (APU), a microprocessor, a microcontroller, a digital signal processor (DSP), a field programmable gate array (FPGA), an application specific integrated circuit (ASIC), or another type of processing component. In some embodiments, the processor 220 includes one or more processors that can be programmed to perform functions. The memory 230 includes a random access memory (RAM), a read-only memory (ROM), and / or another type of dynamic or static storage device (e.g., flash memory, magnetic memory, and / or optical memory), which stores information and / or instructions for use by the processor 220.
[0036] Storage component 240 stores information and / or software related to the operation and use of device 200. For example, storage component 240 may include a hard disk (e.g., a magnetic disk, an optical disk, a magneto-optical disk, and / or a solid-state disk), a compact disk (CD), a digital versatile disk (DVD), a floppy disk, a cassette, a magnetic tape, and / or another type of non-transitory computer-readable medium, and a corresponding drive.
[0037] Input components 250 include components that allow device 200 to receive information, such as via user input, for example, a touch screen display, a keyboard, a keypad, a mouse, buttons, switches, and / or a microphone. Additionally or alternatively, input components 250 may include sensors for sensing information (e.g., a global positioning system (GPS) component, an accelerometer, a gyroscope, and / or an actuator). Output components 260 include components that provide output information from device 200 (e.g., a display, a speaker, and / or one or more light emitting diodes (LEDs)).
[0038] The communication interface 270 includes a transceiver-like component (e.g., a transceiver and / or a separate receiver and transmitter) that enables the device 200 to communicate with other devices, such as via a wired connection, a wireless connection, or a combination of a wired and wireless connection. The communication interface 270 can allow the device 200 to receive information from another device and / or provide information to another device. For example, the communication interface 270 can include an Ethernet interface, an optical interface, a coaxial interface, an infrared interface, a radio frequency (RF) interface, a universal serial bus (USB) interface, a Wi-Fi interface, a cellular network interface, etc.
[0039] Device 200 may perform one or more processes described herein. Device 200 may perform these processes in response to processor 220 executing software instructions stored by a non-transitory computer-readable medium, such as memory 230 and / or storage component 240. Computer-readable media is defined herein as a non-transitory memory device. A memory device includes storage space within a single physical storage device or storage space distributed across multiple physical storage devices.
[0040] The software instructions may be read into the memory 230 and / or storage component 240 from another computer-readable medium or from another device via the communication interface 270. When executed, the software instructions stored in the memory 230 and / or storage component 240 may cause the processor 220 to perform one or more processes described herein. Additionally or alternatively, hardwired circuitry may be used in place of or in combination with software instructions to perform one or more processes described herein. Therefore, the embodiments described herein are not limited to any specific combination of hardware circuitry and software.
[0041] supply Figure 2 The number and arrangement of components shown are provided as examples. Figure 2 The device 200 may include more components, fewer components, different components, or components arranged differently than the components shown. Additionally or alternatively, one component set (e.g., one or more components) of the device 200 may perform one or more functions described as being performed by another component set of the device 200.
[0042] Reference Figure 3-Figure 4 , describes an embodiment of the present disclosure for implementing the haptic encoder 300 and the haptic decoder 350 .
[0043] like Figure 3As shown, the haptic encoder 300 can receive descriptive haptic data and waveform haptic data. Therefore, the haptic encoder 300 is capable of processing three types of input files: .ohm metadata files (object haptic metadata-text file format of haptic metadata), descriptive haptic files (.ivs, .ahap and .HJIF) or waveform pulse code modulation (PCM) files (.wav). Examples of descriptive data may include .ahap (Apple Haptic and Audio Mode-a JSON-like file format for specifying haptic modes) from Apple (representing the expected haptic output by modulating a continuous signal set and a parameterized modulation transient set), .ivs from Immersion (representing the expected haptic output by a basic effect set parameterized by a parameter set) or the proposed MPEG format .hjif (Haptic JSON Interchange Format). An example of a waveform pulse code modulation (PCM) signal may include an .ohm input file, which includes metadata information.
[0044] According to one embodiment, the haptic encoder 300 may process these two types of input files differently.For descriptive content, the haptic encoder 300 may semantically analyze the input to transcode the data (if necessary) into the proposed encoded representation.
[0045] According to one embodiment, the .ohm metadata input file may include a description of the haptic system and settings. In particular, the description may include the name of each associated (descriptive or PCM) haptic file and a description of the signal. The description also provides a mapping between each channel of the signal and a target body part on the user's body. For the .ohm metadata input file, the haptic encoder performs metadata extraction by retrieving the associated haptic file from the URI, encoding the metadata based on the type of metadata, and mapping it to the metadata information of the data model by extracting the metadata from the .ohm file.
[0046] According to one embodiment, descriptive tactile files (e.g., .ivs, .ahap, and .hjif) can be encoded through a simple process. The tactile encoder 300 first specifically identifies the input format. If the input format is a .hjif file, transcoding is not required, and the file can be further edited, compressed into a binary format, and finally packaged as a MIHS stream. If a .ahap or .ivs input file is used, transcoding is required. The tactile encoder 300 first semantically analyzes the input file information and transcodes it to format it into a selected data model. After transcoding, the data can be exported as a .hjif file, a .hmpg binary file, or a MIHS stream.
[0047] According to one embodiment, the tactile encoder 300 can perform signal analysis to interpret the signal structure of the .wav file and convert it into the proposed coding representation. For waveform PCM content, the signal analysis process can be divided into two sub-processes by the tactile encoder 300. After performing frequency band decomposition on the signal, in the first sub-process, the low frequency can be encoded using a key frame extraction process. The low frequency band can then be reconstructed, and the error between the signal and the original low frequency signal can be calculated. The residual signal can then be added to the original high frequency band before encoding using a wavelet transform, and the encoding using a wavelet transform is the second sub-process. According to one embodiment, when several low frequency bands are used, the residual errors from all low frequency bands are added to the high frequency bands before encoding. In an embodiment, when several high frequency bands are used, the residual errors from (multiple) low frequency bands are added to the first high frequency band before encoding.
[0048] According to one embodiment, key frame extraction includes taking out the lower frequency band from the frequency band decomposition and analyzing its content in the time domain. According to one embodiment, wavelet processing may include taking out the low frequency residual and taking out the high frequency band from the frequency band decomposition and dividing it into equal sized blocks. These equal sized signal blocks are then analyzed in the psychotactile model. Lossy compression can be applied by wavelet transforming and quantizing the blocks with the help of the psychotactile model. Finally, each block is saved into a separate effect in a single frequency band, which is done in formatting. Binary compression can apply lossless compression using appropriate codec techniques, such as the Set partitioning inhierarchical trees (SPIHT) algorithm and Arithmetic Coding (AC).
[0049] like Figure 3 As shown, the tactile encoder 300 can be configured to encode descriptive and quantized tactile data, and can output three types of formats - an interchange format (.hjif), a binary compressed format (.hmpg), and a streaming format (e.g., MPEG immersive haptic stream (MIHS)). The .hjif format is a human-readable format based on JSON that can be easily parsed and manually edited, which makes it an ideal interchange format, especially when designing / creating content. For distribution purposes, the .hjif data can be compressed into a more memory-efficient binary .hmpg bitstream. This compression can be lossy, and different parameters affect the encoding depth of the amplitude and frequency that make up the bitstream. For streaming purposes, the data can be compressed and packaged into an MPEG-I tactile stream (MIHS). The above three formats have complementary purposes, and lossy one-to-one conversion can be operated between the three formats.
[0050] like Figure 4 As shown, the tactile decoder 350 can take a .hmpg compressed binary file format or a MIHS bitstream as input. The tactile decoder 350 can output a .hjif interchange format that can be used directly for rendering. These two input formats can be binary decompressed to extract metadata and the data itself from the file and map it to a selected data structure. The data can then be exported to the tactile renderer 380 in .hjif format.
[0051] like Figure 4 As shown, the renderer 380 includes a synthesizer. The synthesizer can render the tactile data from the HJIF input file into a PCM output file. Rendering and / or synthesis can provide useful information. According to one embodiment, the synthesizer parses the input file and performs high-level synthesis distribution between vectors, wavelets, etc. The synthesis process then goes down to the frequency band component of the codec, where the synthesis process is called. All frequency bands of a given channel are then mixed by a simple add operator to recreate the desired tactile signal.
[0052] Embodiments of the present disclosure are intended to add a scale to each channel description in HJIF. The scale can be used for both temporal position and spatial position and offset. A tactile channel can correspond to tactile sensation providers on different parts of a person's body wearing one or more devices. For example, a person wearing a first device on the head, a second device on the right hand, and a third device on the left hand can be associated with a first tactile channel, a second tactile channel, and a third tactile channel, respectively. A tactile channel can include one or more of the following attributes in the tactile channel description in the HJIF file.
[0053] In one or more examples, the HJIF file can include an "ID" field that corresponds to a unique identifier for the haptic channel.
[0054] In one or more examples, the HJIF file can include a "description" field that corresponds to a description of the channel. For example, the description can specify the type of device associated with the channel and a description of the haptic data associated with the haptic experience.
[0055] In one or more examples, the HJIF file can include a "reference device id" corresponding to a target reference device for forming a list defined in a perception field.
[0056] In one or more examples, the HJIF file may include a "Gain" field that corresponds to a gain associated with a channel to adapt the normalized encoded data value to a typical device. The gain may be determined as follows: Vgain*X formula (1) where x corresponds to the normalized encoded data.
[0057] In one or more examples, the HJIF file may include a "mixing weight" field that corresponds to the weight of the channels when mixing different channels together to produce a mixed signal. The resulting signal may be determined as follows: Where Vi corresponds to the signal of channel i. A mixing weight of 0 can be used to indicate that the channel is not mixed.
[0058] In one or more examples, the HJIF file can include a "body part mask" field that corresponds to a binary mask that specifies the location of the effect on the body. A binary mask of 0x0 can be used to indicate that a body part is not specified. An application can render the effect anywhere. A mask of 0xFFFFFFFF can correspond to the entire body of a person (e.g., a haptic effect is applied to the entire body). For example, this mask can be used for background effects, such as the effects of an explosion.
[0059] In one or more examples, the HJIF file can include an "actuator resolution" field that corresponds to a reference actuator resolution for designing a haptic experience. This value can be linked to a body part target and an actuator target and can be used together as a spatialized model of the experience on the human body.
[0060] In one or more examples, the HJIF file may include a "body part target" field that corresponds to a semantic identification of a unique and / or a set of body parts on the human body. This field includes a value that may be stored there to construct a target command.
[0061] In one or more examples, the HJIF file may include a "Frequency Samples" field that includes the sampling frequency (Hz) of the original encoded signal. A synthesizer may use this field to reconstruct the original signal. However, the synthesizer may sample the output signal at another sampling frequency.
[0062] In one or more examples, the HJIF file can include a "scale" field that includes a number of ticks. This value can be used as the scale of the haptic effect and the keyframe position in the channel. The position can be a spatial position (e.g., in units of distance) or a temporal position (e.g., in units of time). For example, the number of ticks can be per second or per meter.
[0063] Each scale can be represented by a different integer value k, where k=0, 1, 2...N. For example, the scale can be in units of time, where each scale is associated with seconds, or the scale can be in units of distance, where each scale is associated with meters. For example, when k=2, a scale value of 2 can be associated with 2 seconds or 2 meters, depending on the scale. In another example, depending on the scale, the scale can be divided by a value M, where the actual seconds or meters of the haptic effect or keyframe relative position are determined as k / M. In another example, depending on the scale, the scale can be multiplied by a value M, where the actual seconds or meters of the haptic effect or keyframe relative position are determined as k*M.
[0064] In one or more examples, the HJIF file may include a "sample count" field, which may be present if the frequency sampling value is greater than 0. This field may include the number of samples of the original encoded signal. This field may be used by a synthesizer along with the frequency sampling to ensure that the output signal has the same size and duration as the original file.
[0065] In one or more examples, an HJIF file may include a "vertices" field. This field may include a list of vertices from an avatar that are affected by the effect. For example, this field may include a list of indices of vertices from a mesh associated with the perceived avatar. If the avatar does not specify a mesh, this field may be ignored. The vertices affected by this channel effect are the body locations to which the effect should be applied. The appropriate avatar representation may be referenced by the avatar id indicated at the perception level.
[0066] In one or more examples, the HJIF file includes a "band" field. This field can include a list of haptic bands that make up a channel. A channel can include one or more bands. A band corresponds to a frequency bandwidth. If the band array is empty, the band array corresponds to a channel without any haptic effect. The haptic signal for a channel can be the sum of the signals in each band.
[0067] In one or more examples, the HJIF file includes a "direction" field. This field can be used to specify the spatial direction of the channel. In one or more examples, the direction metadata can be used only with tactile modalities that depend on spatial dimensions (e.g., vibrotactile texture, stiffness, and friction). The direction metadata can be used to indicate the preferred rendering direction of the tactile perception of the target body part. The direction metadata can be composed of X, Y, and Z, following the form of a unit vector to indicate any direction in 3D space. Each integer value stored in the vector can be converted from its initial range [-127; 127] to the [-1; 1] range to interpret the vector as a unitary vector.
[0068] Table 1 shows an example description of an MPEH_haptics.effect object, which defines a scale-based haptic effect location. Table 1
[0069] Table 2 shows an example description of an MPEH_haptics.effect object that defines scale-based keyframe positions according to one or more embodiments. Table 2
[0070] Figure 5 A flow chart of an example process 500 performed by an encoder is shown. Process 500 may be performed by haptic encoder 300.
[0071] The process can begin at operation S502, where an HJIF file including data corresponding to a plurality of tactile channels is received. In one or more examples, each of the plurality of tactile channels is defined by a channel description that includes a relative position parameter for specifying a relative position of a key frame included in the data and a tactile position parameter of a tactile effect. For example, the relative position parameter can be a "relative_position" parameter in Table 2, and the tactile position parameter can be a "position" parameter in Table 1.
[0072] Both the relative position parameter and the tactile position parameter may be specified according to a scale (e.g., a scale). If the relative position parameter and / or the tactile position parameter corresponds to a temporal position, the scale may be in units of time (e.g., seconds). If the relative position parameter and / or the tactile position parameter corresponds to a spatial position, the scale may be in units of distance (e.g., meters).
[0073] The process proceeds from operation S502 to operation S504, where the HJIF file is compressed. For example, the haptic encoder may compress the HJIF file into a .hmpg file.
[0074] Figure 6 A flow chart of an example process 600 performed by a decoder is shown. Process 600 may be performed by haptic decoder 350.
[0075] The process may begin at operation S602 where a compressed HJIF file is received. For example, the received compressed HJIF file may be a compressed .hmpg file generated by the haptic encoder 300 .
[0076] The process proceeds to operation S604, wherein the HJIF file is decompressed. The process further proceeds to operation S606, wherein one or more haptic effects can be synchronized with the video or audio data. For example, the keyframe can be synchronized with the video or audio data based on the relative_position parameters included in the HJIF file. In addition, the haptic effect can be synchronized with the video or audio data based on the position parameters included in the HJIF file.
[0077] The proposed methods disclosed herein can be implemented by processing circuits (e.g., one or more processors or one or more integrated circuits). In one example, one or more processors execute a program stored in a non-transitory computer-readable medium to perform one or more disclosed methods.
[0078] The techniques described above may be implemented as computer software using computer-readable instructions and physically stored in one or more computer-readable media.
[0079] The embodiments of the present disclosure may be used alone or in combination in any order. Further, each embodiment (and method thereof) may be implemented by a processing circuit (e.g., one or more processors or one or more integrated circuits). In one example, one or more processors execute a program stored in a non-transitory computer-readable medium.
[0080] The foregoing disclosure provides illustration and description, but is not intended to be exhaustive or to limit the embodiments to the precise form disclosed. Modifications and variations are possible in light of the above disclosure or may be acquired from practice of the embodiments.
[0081] As used herein, the term component is intended to be broadly interpreted as hardware, firmware, or a combination of hardware and software.
[0082] Although combinations of features are stated in the claims and / or disclosed in the specification, these combinations are not intended to limit the disclosure of possible implementations. In fact, many of these features can be combined in ways not specifically listed in the claims and / or disclosed in the specification. Although each dependent claim listed below may be directly dependent on only one claim, the disclosure of possible implementations includes each dependent claim in combination with every other claim in the claim set.
[0083] Elements, actions or instructions used herein should not be interpreted as critical or necessary unless explicitly described as such. In addition, as used herein, the articles "a" and "an" are intended to include one or more projects, and can be used interchangeably with "one or more". In addition, as used herein, the term "set" is intended to include one or more projects (e.g., related projects, unrelated projects, combinations of related and unrelated projects, etc.), and can be used interchangeably with "one or more". When only one project is meant, the term "one" or similar language is used. In addition, as used herein, the terms "have", "have", "contain" etc. are intended to be open terms. Further, the phrase "based on" is intended to mean "based at least in part on", unless otherwise explicitly stated.
[0084] The above disclosure also includes the following embodiments:
[0085] (1) A method for signaling a haptic JavaScript Object Representation (JSON) Interchange File Format (HJIF) file, the method comprising: processing the HJIF file into a binary file format for distribution in a bitstream, wherein the HJIF file includes multiple haptic channels, wherein each of the multiple haptic channels includes a channel description, the channel description including relative position parameters for specifying relative positions of key frames included in data and haptic position parameters of a haptic effect, wherein the relative position parameters and the haptic position parameters are specified based on a ratio, and wherein the haptic effect and the key frame of each channel are synchronized with a video or audio included in the bitstream based on the ratio.
[0086] (2) A method according to feature (1), wherein the scale includes multiple scale values representing units, each scale value corresponding to a different integer value.
[0087] (3) According to the method of feature (2), wherein the relative position parameter of the key frame is a scale value selected from the multiple scale values according to the ratio.
[0088] (4) A method according to feature (3), wherein the unit corresponds to a time unit, wherein the relative position parameter of the key frame corresponds to the time position of the key frame, and wherein the time position of the key frame is determined in the time unit by dividing the scale value of the relative position parameter by the ratio.
[0089] (5) A method according to feature (3), wherein the unit is a distance unit, wherein the relative position parameter of the key frame corresponds to the spatial position of the key frame, and wherein the spatial position of the key frame is determined in the distance unit by dividing the scale value of the relative position parameter by the ratio.
[0090] (6) According to the method of feature (2), wherein the tactile position parameter of the tactile effect is a scale value selected from the multiple scale values according to the ratio.
[0091] (7) A method according to feature (6), wherein the unit is a time unit, wherein the tactile position parameter of the tactile effect corresponds to the time position of the tactile effect, and wherein the time position of the tactile effect is determined in the time unit by dividing the scale value of the tactile position parameter by the ratio.
[0092] (8) A method according to feature (6), wherein the unit is a distance unit, wherein the tactile position parameter of the tactile effect corresponds to the spatial position of the tactile effect, and wherein the spatial position of the tactile effect is determined in the distance unit by dividing the integer value of the tactile position parameter by the ratio.
[0093] (9) A device for signaling a tactile JavaScript Object Representation (JSON) Interchange File Format (HJIF) file, the device comprising: at least one memory configured to store program code; and at least one processor configured to read the program code and execute according to instructions of the program code, the program code including processing code configured to cause the at least one processor to process the HJIF file into a binary file format for distribution in a bitstream, wherein the HJIF file includes multiple tactile channels, wherein each of the multiple tactile channels includes a channel description, the channel description including relative position parameters for specifying relative positions of key frames included in the data and tactile position parameters of the tactile effect, wherein the relative position parameters and the tactile position parameters are specified according to a ratio, and wherein the tactile effect and the key frame of each channel are synchronized with the video or audio included in the bitstream based on the ratio.
[0094] (10) An apparatus according to feature (9), wherein the scale includes a plurality of scale values representing the unit, each scale value corresponding to a different integer value.
[0095] (11) An apparatus according to feature (10), wherein the relative position parameter of the key frame is a scale value selected from the multiple scale values according to the ratio.
[0096] (12) An apparatus according to feature (11), wherein the unit corresponds to a time unit, wherein the relative position parameter of the key frame corresponds to the time position of the key frame, and wherein the time position of the key frame is determined in the time unit by dividing the scale value of the relative position parameter by the ratio.
[0097] (13) An apparatus according to feature (11), wherein the unit is a distance unit, wherein the relative position parameter of the key frame corresponds to the spatial position of the key frame, and wherein the spatial position of the key frame is determined in the distance unit by dividing the scale value of the relative position parameter by the ratio.
[0098] (14) The device according to feature (10), wherein the tactile position parameter of the tactile effect is a scale value selected from the plurality of scale values according to the ratio.
[0099] (15) An apparatus according to feature (14), wherein the unit is a time unit, wherein the tactile position parameter of the tactile effect corresponds to the time position of the tactile effect, and wherein the time position of the tactile effect is determined in the time unit by dividing the scale value of the tactile position parameter by the ratio.
[0100] (16) An apparatus according to feature (14), wherein the unit is a distance unit, wherein the tactile position parameter of the tactile effect corresponds to a spatial position of the tactile effect, and wherein the spatial position of the tactile effect is determined in the distance unit by dividing the integer value of the tactile position parameter by the ratio.
[0101] (17) A non-transitory computer-readable medium having instructions stored therein that, when executed by a processor, cause the processor to perform a method of signaling a tactile JavaScript Object Representation (JSON) Interchange File Format (HJIF) file, the method comprising: processing the HJIF file into a binary file format for distribution in a bitstream, wherein the HJIF file includes multiple tactile channels, wherein each of the multiple tactile channels includes a channel description, the channel description including relative position parameters for specifying relative positions of key frames included in the data and tactile position parameters of the tactile effect, wherein the relative position parameters and the tactile position parameters are specified based on a ratio, and wherein the tactile effect and the key frame of each channel are synchronized with the video or audio included in the bitstream based on the ratio.
[0102] (18) A non-transitory computer-readable medium according to feature (17), wherein the scale includes a plurality of scale values representing the unit, each scale value corresponding to a different integer value.
[0103] (19) A non-transitory computer-readable medium according to feature (18), wherein the relative position parameter of the key frame is a scale value selected from the multiple scale values according to the ratio.
[0104] (20) A non-transitory computer-readable medium according to feature (19), wherein the unit corresponds to a time unit, wherein the relative position parameter of the key frame corresponds to the time position of the key frame, and wherein the time position of the key frame is determined in the time unit by dividing the scale value of the relative position parameter by the ratio.
Claims
1. A method for signaling a Haptic JavaScript Object Notation (JSON) Interchange File Format (HJIF) file, characterized in that, The method comprises: processing the HJIF file into a binary file format for distribution in a bitstream, Wherein, the HJIF file includes multiple tactile channels, Each of the plurality of haptic channels comprises a channel description, the channel description comprising relative position parameters for specifying relative positions of key frames included in the data and haptic position parameters of the haptic effect, wherein the relative position parameter and the tactile position parameter are specified according to a ratio, and The haptic effect and the key frame of each channel are synchronized with the video or audio included in the bitstream based on the ratio.
2. The method according to claim 1, characterized in that The scale includes a plurality of scale values representing units, each scale value corresponding to a different integer value.
3. The method according to claim 2, characterized in that The relative position parameter of the key frame is a scale value selected from the plurality of scale values according to the ratio.
4. The method according to claim 3, characterized in that The unit corresponds to a time unit, wherein the relative position parameter of the key frame corresponds to a time position of the key frame, and wherein the time position of the key frame is determined in the time unit by dividing the scale value of the relative position parameter by the ratio.
5. The method according to claim 3, characterized in that: The units are distance units, wherein the relative position parameter of the key frame corresponds to a spatial position of the key frame, and wherein the spatial position of the key frame is determined in the distance units by dividing the scale value of the relative position parameter by the ratio.
6. The method according to claim 2, characterized in that The haptic position parameter of the haptic effect is a scale value selected from the plurality of scale values according to the ratio.
7. The method according to claim 6, characterized in that The units are time units, wherein the haptic position parameter of the haptic effect corresponds to a time position of the haptic effect, and wherein the time position of the haptic effect is determined in the time units by dividing the scale value of the haptic position parameter by the ratio.
8. The method according to claim 6, characterized in that The units are distance units, wherein the haptic position parameter of the haptic effect corresponds to a spatial position of the haptic effect, and wherein the spatial position of the haptic effect is determined in the distance units by dividing the integer value of the haptic position parameter by the ratio.
9. A device for signaling a Haptic JavaScript Object Notation (JSON) Interchange File Format (HJIF) file, characterized in that The device comprises: at least one memory configured to store program code; and At least one processor is configured to read the program code and execute according to instructions of the program code, wherein the program code includes: processing code configured to cause the at least one processor to process the HJIF file into a binary file format for distribution in a bitstream, Wherein, the HJIF file includes multiple tactile channels, Each of the plurality of haptic channels comprises a channel description, the channel description comprising relative position parameters for specifying relative positions of key frames included in the data and haptic position parameters of the haptic effect, wherein the relative position parameter and the tactile position parameter are specified according to a ratio, and The haptic effect and the key frame of each channel are synchronized with the video or audio included in the bitstream based on the ratio.
10. The method according to claim 9, characterized in that The scale includes a plurality of scale values representing units, each scale value corresponding to a different integer value.
11. The device according to claim 10, characterized in that The relative position parameter of the key frame is a scale value selected from the plurality of scale values according to the ratio.
12. The device according to claim 11, characterized in that The unit corresponds to a time unit, wherein the relative position parameter of the key frame corresponds to a time position of the key frame, and wherein the time position of the key frame is determined in the time unit by dividing the scale value of the relative position parameter by the ratio.
13. The device according to claim 11, characterized in that The units are distance units, wherein the relative position parameter of the key frame corresponds to a spatial position of the key frame, and wherein the spatial position of the key frame is determined in the distance units by dividing the scale value of the relative position parameter by the ratio.
14. The device according to claim 10, characterized in that The haptic position parameter of the haptic effect is a scale value selected from the plurality of scale values according to the ratio.
15. The device according to claim 14, characterized in that The units are time units, wherein the haptic position parameter of the haptic effect corresponds to a time position of the haptic effect, and wherein the time position of the haptic effect is determined in the time units by dividing the scale value of the haptic position parameter by the ratio.
16. The device according to claim 14, characterized in that The units are distance units, wherein the haptic position parameter of the haptic effect corresponds to a spatial position of the haptic effect, and wherein the spatial position of the haptic effect is determined in the distance units by dividing the integer value of the haptic position parameter by the ratio.
17. A non-transitory computer-readable medium, characterized in that The non-transitory computer-readable medium has instructions stored therein, which, when executed by a processor, cause the processor to perform a method of signaling a Haptic JavaScript Object Notation (JSON) Interchange File Format (HJIF) file, the method comprising: processing the HJIF file into a binary file format for distribution in a bitstream, Wherein, the HJIF file includes multiple tactile channels, Each of the plurality of haptic channels comprises a channel description, the channel description comprising relative position parameters for specifying relative positions of key frames included in the data and haptic position parameters of the haptic effect, wherein the relative position parameter and the tactile position parameter are specified according to a ratio, and The haptic effect and the key frame of each channel are synchronized with the video or audio included in the bitstream based on the ratio.
18. The non-transitory computer readable medium of claim 17, wherein: The scale includes a plurality of scale values representing units, each scale value corresponding to a different integer value.
19. The non-transitory computer readable medium of claim 18, wherein: The relative position parameter of the key frame is a scale value selected from the plurality of scale values according to the ratio.
20. The non-transitory computer readable medium of claim 19, wherein: The unit corresponds to a time unit, wherein the relative position parameter of the key frame corresponds to a time position of the key frame, and wherein the time position of the key frame is determined in the time unit by dividing the scale value of the relative position parameter by the ratio.
