WO2025124331A1 - 触觉数据的处理方法及相关设备 - Google Patents
触觉数据的处理方法及相关设备 Download PDFInfo
- Publication number
- WO2025124331A1 WO2025124331A1 PCT/CN2024/137729 CN2024137729W WO2025124331A1 WO 2025124331 A1 WO2025124331 A1 WO 2025124331A1 CN 2024137729 W CN2024137729 W CN 2024137729W WO 2025124331 A1 WO2025124331 A1 WO 2025124331A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- tactile data
- tactile
- information
- trigger
- data
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/016—Input arrangements with force or tactile feedback as computer generated output to the user
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/01—Input arrangements or combined input and output arrangements for interaction between user and computer
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0481—Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
- G06F3/04815—Interaction with a metaphor-based environment or interaction object displayed as three-dimensional [3D], e.g. changing the user viewpoint with respect to the environment or object
Definitions
- the present application belongs to the field of rendering technology, and specifically relates to a method for processing tactile data and related equipment.
- the rendering of tactile signals is based on the interaction extension.
- the interaction is defined based on the behavior.
- the behavior includes the trigger object and the action object.
- the tactile feedback action (ACTION_SET_HAPTIC) in the action object is used to trigger the tactile signal feedback.
- ACTION_SET_HAPTIC only supports the direct playback of pre-stored tactile signals, which limits the flexibility of tactile feedback.
- the embodiments of the present application provide a method for processing tactile data and related devices, which can solve the problem that the tactile feedback action in the related solutions only supports direct playback of pre-stored tactile signals, thereby limiting the flexibility of the tactile feedback.
- a method for processing tactile data which is executed by a rendering end and includes:
- the trigger information includes at least one of whether there is a collision, collision position information, and collision mode information.
- a tactile data processing device comprising:
- a first acquisition module configured to acquire tactile data based on information related to a data source location in an action object or a trigger object in an interactive behavior
- a second acquisition module configured to acquire target tactile data from the tactile data according to trigger information associated with the trigger object
- the trigger information includes at least one of whether there is a collision, collision position information, and collision mode information.
- an electronic device comprising a processor and a memory, wherein the memory stores programs or instructions executable on the processor, and the programs or instructions, when executed by the processor, implement the steps of the method described in the first aspect.
- an electronic device including a processor and a communication interface, wherein the processor is used to obtain tactile data based on information related to a data source location in an action object or a trigger object in an interactive behavior;
- the trigger information includes at least one of whether there is a collision, collision position information, and collision mode information.
- a readable storage medium on which a program or instruction is stored.
- the program or instruction is executed by a processor, the steps of the method described in the first aspect are implemented.
- a chip comprising a processor and a communication interface, wherein the communication interface is coupled to the processor, and the processor is used to run a program or instruction to implement the method described in the first aspect.
- a computer program/program product is provided, wherein the computer program/program product is stored in a storage medium and is executed by at least one processor to implement the steps of the method described in the first aspect.
- tactile data is obtained based on information related to the data source location in the action object or trigger object in the interactive behavior; target tactile data is obtained from the tactile data according to the trigger information associated with the trigger object; wherein the trigger information includes at least one of whether there is a collision, collision location information, and collision mode information.
- FIG1 is a schematic diagram showing access to tactile data in an embodiment of the present application.
- FIG5 is a block diagram showing a structure of a terminal according to an embodiment of the present application.
- first, second, etc. of the present application are used to distinguish similar objects, and are not used to describe a specific order or sequence. It should be understood that the terms used in this way are interchangeable where appropriate, so that the embodiments of the present application can be implemented in an order other than those illustrated or described herein, and the objects distinguished by “first” and “second” are generally of one type, and the number of objects is not limited, for example, the first object can be one or more.
- “or” in the present application represents at least one of the connected objects.
- “A or B” covers three schemes, namely, Scheme 1: including A but not including B; Scheme 2: including B but not including A; Scheme 3: including both A and B.
- the character "/" generally indicates that the objects associated with each other are in an "or” relationship.
- indication in this application can be a direct indication (or explicit indication) or an indirect indication (or implicit indication).
- a direct indication can be understood as the sender explicitly informing the receiver of specific information, operations to be performed, or request results in the sent indication;
- an indirect indication can be understood as the receiver determining the corresponding information according to the indication sent by the sender, or making a judgment and determining the operation to be performed or the request result according to the judgment result.
- the rendering engine can synthesize a scene based on a glTF (3D model file format) file, or render the scene based on the glTF file.
- the engine obtains the glTF file in two ways: the server and the client exchange glTF files through the glTF state stream, or obtains the glTF file through program files stored on the server and the client.
- the engine may obtain tactile signal feedback, and then the tactile signal actuator may play the tactile signal through one or more operations of encoding, transmitting, and decoding the tactile signal.
- MPEG Moving Pictures Experts Group
- MPEG_haptic extension provides access methods for haptic data.
- MPEG_haptic includes a set of haptic objects (hapticObjects), as shown in Table 1. As shown in Table 2, the accessor properties in hapticObjects point to the haptic data source.
- the specific access method of tactile data is shown in Figure 1.
- the hapticObjects in MPEG_haptic points to the accessor, and the accessor points to the circular buffer object (circular buffer object).
- the circular buffer object provides data location information for accessing the circular buffer on the one hand, and reflects the attribute information of the tactile data rendering by referencing the MPEG_media object on the other hand.
- MPEG also made haptic material-related extensions to glTF (MPEG_haptic_material extension);
- MPEG_haptic_material extension provides tactile properties for materials.
- MPEG_haptic_material contains material properties.
- MPEG_haptic_material is shown in Table 3, and MPEG_haptic_material.material is shown in Table 4.
- the materials attribute points to a set of material objects.
- Each material object points to the hapticObject in MPEG_haptic that provides the data source through the haptic attribute, and indicates the relevant material tactile properties (such as stiffness, friction, etc.) and texture coordinate information.
- glTF is used for efficient transmission and loading of 3D scenes and models by engines and applications.
- glTF defines an extensible publishing format that simplifies authoring workflows and interactive services by enabling interoperable use of 3D content across the industry.
- the Moving Picture Expert Group (MPEG) format has interactively extended glTF and preliminarily designed standards for interactivity.
- the standards for interactivity are mainly used to describe the interaction between avatars and haptic sources, based on which tactile signals are triggered and generated.
- Interactivity is defined based on behavior.
- Behavior includes trigger condition node (trigger node, which can also be described as trigger object) and action node (action node, which can also be described as action object).
- trigger node includes collision condition, proximity condition, and visibility condition.
- action node includes tactile feedback action (ACTION_SET_HAPTIC), activation node (ACTION_ACTIVATE), etc.
- ACTION_SET_HAPTIC is implemented based on tactile action node object (HapticActionNode object) or tactile action media object (HapticActionMedia object).
- the hapticObject attribute in HapticActionNode points to the hapticObject in MPEG_haptic
- the media index (mediaIndex) attribute in HapticActionMedia (as shown in Table 6) further points to the accessor in the above hapticObject, thereby accessing the tactile data.
- the object in the embodiment of the present application includes at least one of the following: scene, node, mesh, material, vertices, face, primitive, etc.
- an embodiment of the present application provides a method for processing tactile data, which is executed by a rendering end, and the rendering end includes a rendering engine or a display engine.
- the method includes:
- Step 201 Acquire tactile data based on the data source location related information in the action object or the trigger object in the interactive behavior.
- the action object and the trigger object are objects in a behavior (ie, the above-mentioned interaction behavior) defined by an interaction standard
- the interaction standard is a standard for describing the interaction between an avatar and a tactile source.
- the action object includes a tactile action media object, the tactile action media object includes a media index, and the media index is associated with information related to a data source location;
- the trigger object includes a node or a primitive, and the attributes of the node or primitive are associated with information related to the location of the data source.
- the data source location related information includes information for indicating the location of tactile data (such as the source of tactile data).
- obtaining tactile data based on the data source location related information in the action object includes: following the interactivity processing model, the rendering end obtains tactile data according to the tactile feedback action (ACTION_SET_HAPTIC), at least the mediaIndex contained in the HapticActionMedia object can point to the tactile data in MPEG_haptic.
- ACTION_SET_HAPTIC the tactile feedback action
- ACTION_SET_HAPTIC can also be associated with a specific haptic processing object, which can indicate information such as the source of the haptic data based on the haptic material.
- obtaining tactile data includes: indicating the haptic material property associated with the node/primitive based on the property associated with the node/primitive in the trigger object, and the haptic material property can point to the tactile data source corresponding to the haptic material.
- the tactile data source includes tactile data
- the tactile data includes texture data.
- Step 202 acquiring target tactile data from the tactile data according to the trigger information associated with the trigger object;
- the trigger information includes at least one of whether there is a collision, collision position information, and collision mode information.
- the target tactile data is tactile data that needs to be rendered.
- the method of the embodiment of the present application further includes:
- Item 2 Type of tactile feedback
- the fifth acquisition submodule is used to acquire the mapping coordinates according to attribute information of the sub-object that collides.
- the attribute information of the sub-object that collides includes texture coordinates or vertex information of a mesh, and the vertex information of the mesh corresponds to the texture coordinates.
- a determination submodule used to determine a rendering mode according to second attribute information associated with the action object
- a seventh acquisition submodule configured to acquire target tactile data from the tactile data according to trigger information associated with the trigger object, when the rendering mode indicates acquiring target tactile data from the tactile data according to the mapping coordinates;
- the second attribute information includes at least one of the following:
- the collision mode includes at least one of the following: sliding across a surface; knocking; pressing; a contact point movement direction, a contact point movement speed.
- the third acquisition module is used to acquire the collision mode according to the user input mode attribute of the trigger object.
- the eighth acquisition submodule is used to acquire a texture coordinate sequence according to the collision mode
- a ninth acquisition submodule is used to acquire target tactile data from the tactile data according to the mapping coordinate sequence.
- the tactile data processing device provided in the embodiment of the present application can implement each process implemented by the method embodiment of FIG. 2 and achieve the same technical effect. To avoid repetition, it will not be described here.
- an embodiment of the present application also provides an electronic device 400, including a processor 401 and a memory 402, and the memory 402 stores programs or instructions that can be executed on the processor 401.
- the program or instructions are executed by the processor 401 to implement the various steps of the above-mentioned tactile data processing method embodiment, and can achieve the same technical effect. To avoid repetition, they are not repeated here.
- the embodiment of the present application also provides an electronic device, including a processor and a communication interface, wherein the communication interface is coupled to the processor, and the processor is used to run a program or instruction to implement the steps in the method embodiment shown in Figure 2.
- the device embodiment corresponds to the above method embodiment, and each implementation process and implementation method of the above method embodiment can be applied to the electronic device embodiment and can achieve the same technical effect.
- the above-mentioned electronic device may be a terminal or other devices other than a terminal, such as a server, a network attached storage (NAS), etc.
- a terminal or other devices other than a terminal, such as a server, a network attached storage (NAS), etc.
- NAS network attached storage
- the terminal can be a mobile phone, tablet computer (Tablet Personal Computer), laptop computer, notebook computer, personal digital assistant (Personal Digital Assistant, PDA), PDA, netbook, ultra-mobile personal computer (Ultra-mobile Personal Computer, UMPC), mobile Internet device (Mobile Internet Device, MID), augmented reality (Augmented Reality, AR), virtual reality (Virtual Reality, VR) equipment, mixed reality (mixed reality, MR) equipment, robot, wearable device (Wearable Device), flight vehicle (flight vehicle), vehicle user equipment (VUE), shipborne equipment, pedestrian terminal (Pedestrian User Equipment, PUE), smart home (home appliances with wireless communication function, such as refrigerator, TV, washing machine or furniture, etc.), game console, personal computer (Personal Computer, PC), ATM or self-service machine and other terminal side devices.
- Tablet Personal Computer Tablet Personal Computer
- laptop computer notebook computer
- PDA Personal Digital Assistant
- PDA Personal Digital Assistant
- netbook ultra-mobile personal computer
- Ultra-mobile Personal Computer Ultra-mobile Personal Computer
- UMPC
- Wearable devices include: smart watches, smart bracelets, smart headphones, smart glasses, smart jewelry (smart bracelets, smart bracelets, smart rings, smart necklaces, smart anklets, smart anklets, etc.), smart wristbands, smart clothing, etc.
- the vehicle-mounted device can also be called a vehicle-mounted terminal, a vehicle-mounted controller, a vehicle-mounted module, a vehicle-mounted component, a vehicle-mounted chip or a vehicle-mounted unit, etc. It should be noted that the specific type of the terminal is not limited in the embodiments of the present application.
- the server can be an independent physical server, a server cluster or distributed system composed of multiple physical servers, or a cloud server that can provide cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communications, middleware services, domain name services, security services, content delivery networks (CDN), or cloud computing services based on big data and artificial intelligence platforms.
- cloud servers can provide cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communications, middleware services, domain name services, security services, content delivery networks (CDN), or cloud computing services based on big data and artificial intelligence platforms.
- FIG5 is a schematic diagram of the hardware structure of a terminal for implementing an embodiment of the present application.
- the terminal 500 includes but is not limited to: a radio frequency unit 501, a network module 502, an audio output unit 503, an input unit 504, a sensor 505, a display unit 506, a user input unit 507, an interface unit 508, a memory 509 and at least some of the components of a processor 510.
- the terminal 500 may also include a power source (such as a battery) for supplying power to each component, and the power source may be logically connected to the processor 510 through a power management system, so as to implement functions such as managing charging, discharging, and power consumption management through the power management system.
- a power source such as a battery
- the terminal structure shown in FIG5 does not constitute a limitation on the terminal, and the terminal may include more or fewer components than shown in the figure, or combine certain components, or arrange components differently, which will not be described in detail here.
- the input unit 504 may include a graphics processing unit (GPU) 5041 and a microphone 5042, and the graphics processor 5041 processes the image data of a static picture or video obtained by an image acquisition device (such as a camera) in a video acquisition mode or an image acquisition mode, or may process the obtained point cloud data.
- the display unit 506 may include a display panel 5061, and the display panel 5061 may be configured in the form of a liquid crystal display, an organic light emitting diode, etc.
- the user input unit 507 includes a touch panel 5071 and at least one of other input devices 5072.
- the touch panel 5071 is also called a touch screen.
- the touch panel 5071 may include two parts: a touch detection device and a touch controller.
- Other input devices 5072 may include, but are not limited to, a physical keyboard, function keys (such as a volume control key, a switch key, etc.), a trackball, a mouse, and a joystick, which will not be repeated here.
- the radio frequency unit 501 after receiving downlink data from the network side device, can transmit the data to the processor 510 for processing; in addition, the radio frequency unit 501 can send uplink data to the network side device.
- the radio frequency unit 501 includes but is not limited to an antenna, an amplifier, a transceiver, a coupler, a low noise amplifier, a duplexer, etc.
- the memory 509 can be used to store software programs or instructions and various data.
- the memory 509 may mainly include a first storage area for storing programs or instructions and a second storage area for storing data, wherein the first storage area may store an operating system, an application program or instruction required for at least one function (such as a sound playback function, an image playback function, etc.), etc.
- the memory 509 may include a volatile memory or a non-volatile memory.
- the non-volatile memory may be a read-only memory (ROM), a programmable read-only memory (PROM), an erasable programmable read-only memory (EPROM), an electrically erasable programmable read-only memory (EEPROM), or a flash memory.
- the volatile memory may be a random access memory (RAM), a static random access memory (SRAM), a dynamic random access memory (DRAM), a synchronous dynamic random access memory (SDRAM), a double data rate synchronous dynamic random access memory (DDRSDRAM), an enhanced synchronous dynamic random access memory (ESDRAM), a synchronous link dynamic random access memory (SLDRAM) and a direct memory bus random access memory (DRRAM).
- RAM random access memory
- SRAM static random access memory
- DRAM dynamic random access memory
- SDRAM synchronous dynamic random access memory
- DDRSDRAM double data rate synchronous dynamic random access memory
- ESDRAM enhanced synchronous dynamic random access memory
- SLDRAM synchronous link dynamic random access memory
- DRRAM direct memory bus random access memory
- the processor 510 may include one or more processing units; optionally, the processor 510 integrates an application processor and a modem processor, wherein the application processor mainly processes operations related to an operating system, a user interface, and application programs, and the modem processor mainly processes wireless communication signals, such as a baseband processor. It is understandable that the modem processor may not be integrated into the processor 510.
- the processor 510 is used to obtain tactile data based on the information related to the data source location in the action object or the trigger object in the interactive behavior;
- the trigger information includes at least one of whether there is a collision, collision position information, and collision mode information.
- processor 510 is further configured to:
- the metadata information includes at least one of storage format information of the tactile data, resolution information of the tactile data, and tactile type information associated with the tactile data.
- processor 510 is further configured to:
- the first attribute information includes at least one of the following:
- the acquisition method includes at least one of the following:
- a tactile data source is acquired based on the data source position related information in the trigger object.
- processor 510 is further configured to:
- target tactile data is acquired from the tactile data.
- processor 510 is further configured to:
- target tactile data is acquired from the tactile data.
- processor 510 is further configured to:
- mapping coordinates are obtained according to the attribute information of the sub-object that collides.
- the attribute information of the sub-object that collides includes texture coordinates or vertex information of a mesh, and the vertex information of the mesh corresponds to the texture coordinates.
- processor 510 is further configured to:
- the rendering mode indicates obtaining target tactile data from the tactile data according to the mapping coordinates, obtaining the target tactile data from the tactile data according to the trigger information associated with the trigger object;
- the second attribute information includes at least one of the following:
- the collision mode includes at least one of the following: sliding across a surface; knocking; pressing; a contact point movement direction, a contact point movement speed.
- processor 510 is further configured to:
- the collision mode is obtained according to a user input mode attribute of a trigger object.
- processor 510 is further configured to:
- the tactile data is obtained.
- processor 510 is further configured to:
- target tactile data is acquired from the tactile data.
- tactile data is obtained based on information related to the data source location in the action object or trigger object in the interactive behavior; target tactile data is obtained from the tactile data according to the trigger information associated with the trigger object; wherein the trigger information includes at least one of whether there is a collision, collision location information, and collision mode information.
- An embodiment of the present application also provides a readable storage medium, on which a program or instruction is stored.
- a program or instruction is stored.
- the program or instruction is executed by a processor, each process of the above-mentioned tactile data processing method embodiment is implemented, and the same technical effect can be achieved. To avoid repetition, it will not be repeated here.
- the processor is a processor in the terminal described in the above embodiment.
- the readable storage medium includes a computer-readable storage medium, such as a computer read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk.
- ROM computer read-only memory
- RAM random access memory
- the readable storage medium may be a non-transient readable storage medium.
- An embodiment of the present application further provides a chip, which includes a processor and a communication interface, wherein the communication interface is coupled to the processor, and the processor is used to run programs or instructions to implement the various processes of the above-mentioned tactile data processing method embodiment, and can achieve the same technical effect. To avoid repetition, it will not be repeated here.
- the chip mentioned in the embodiments of the present application may include a system-level chip (also referred to as a system chip, a chip system or a system-on-chip chip), and may also include an independent display chip, etc.
- a system-level chip also referred to as a system chip, a chip system or a system-on-chip chip
- independent display chip etc.
- An embodiment of the present application further provides a computer program/program product, which is stored in a storage medium.
- the computer program/program product is executed by at least one processor to implement the various processes of the above-mentioned tactile data processing method embodiment, and can achieve the same technical effect. To avoid repetition, it will not be repeated here.
Landscapes
- Engineering & Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Human Computer Interaction (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- User Interface Of Digital Computer (AREA)
Abstract
本申请公开了一种触觉数据的处理方法及相关设备,属于渲染技术领域,本申请实施例的触觉数据的处理方法包括:基于交互行为中动作对象或触发对象中的数据源位置相关信息,获取触觉数据;根据所述触发对象关联的触发信息,从所述触觉数据中获取目标触觉数据;其中,所述触发信息包括是否碰撞,碰撞位置信息,碰撞方式信息中的至少一项。
Description
相关申请的交叉引用
本申请主张在2023年12月11日在中国提交的中国专利申请No.202311697139.1的优先权,其全部内容通过引用包含于此。
本申请属于渲染技术领域,具体涉及一种触觉数据的处理方法及相关设备。
触觉信号的渲染是基于交互扩展(interactivity extension)进行的,交互是基于行为(behavior)定义的,behavior包括触发对象(trigger object)和动作对象(action object),动作对象中的触觉反馈动作(ACTION_SET_HAPTIC)用于触发触觉信号反馈。但是,ACTION_SET_HAPTIC仅支持直接播放预先存储的触觉信号,限制了触觉反馈的灵活性。
本申请实施例提供一种触觉数据的处理方法及相关设备,能够解决相关方案中的触觉反馈动作仅支持直接播放预先存储的触觉信号,限制了触觉反馈的灵活性的问题。
第一方面,提供了一种触觉数据的处理方法,由渲染端执行,包括:
基于交互行为中动作对象或触发对象中的数据源位置相关信息,获取触觉数据;
根据所述触发对象关联的触发信息,从所述触觉数据中获取目标触觉数据;
其中,所述触发信息包括是否碰撞,碰撞位置信息,碰撞方式信息中的至少一项
第二方面,提供了一种触觉数据的处理装置,包括:
第一获取模块,用于基于交互行为中动作对象或触发对象中的数据源位置相关信息,获取触觉数据;
第二获取模块,用于根据所述触发对象关联的触发信息,从所述触觉数据中获取目标触觉数据;
其中,所述触发信息包括是否碰撞,碰撞位置信息,碰撞方式信息中的至少一项
第三方面,提供了一种电子设备,该电子设备包括处理器和存储器,所述存储器存储可在所述处理器上运行的程序或指令,所述程序或指令被所述处理器执行时实现如第一方面所述的方法的步骤。
第四方面,提供了一种电子设备,包括处理器及通信接口,其中,所述处理器用于基于交互行为中动作对象或触发对象中的数据源位置相关信息,获取触觉数据;
根据所述触发对象关联的触发信息,从所述触觉数据中获取目标触觉数据;
其中,所述触发信息包括是否碰撞,碰撞位置信息,碰撞方式信息中的至少一项。
第五方面,提供了一种可读存储介质,所述可读存储介质上存储程序或指令,所述程序或指令被处理器执行时实现如第一方面所述的方法的步骤。
第六方面,提供了一种芯片,所述芯片包括处理器和通信接口,所述通信接口和所述处理器耦合,所述处理器用于运行程序或指令,实现如第一方面所述的方法。
第七方面,提供了一种计算机程序/程序产品,所述计算机程序/程序产品被存储在存储介质中,所述计算机程序/程序产品被至少一个处理器执行以实现如第一方面所述的方法的步骤。
在本申请实施例中,基于交互行为中动作对象或触发对象中的数据源位置相关信息,获取触觉数据;根据所述触发对象关联的触发信息,从所述触觉数据中获取目标触觉数据;其中,所述触发信息包括是否碰撞,碰撞位置信息,碰撞方式信息中的至少一项。通过上述方案能够基于触发对象关系的触发信息,在触觉数据中选取不同的目标触觉数据进而渲染,从而基于不同的目标触觉数据能够得到不同的触觉反馈特性,提高了触觉反馈的灵活性。
图1表示本申请实施例中触觉数据的访问示意图;
图2表示本申请实施例的触觉数据的处理方法的流程示意图;
图3表示本申请实施例的触觉数据的处理装置的模块示意图;
图4表示本申请实施例的电子设备的结构框图;
图5表示本申请实施例的终端的结构框图。
下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚描述,显然,所描述的实施例是本申请一部分实施例,而不是全部的实施例。基于本申请中的实施例,本领域普通技术人员所获得的所有其他实施例,都属于本申请保护的范围。
本申请的术语“第一”、“第二”等是用于区别类似的对象,而不用于描述特定的顺序或先后次序。应该理解这样使用的术语在适当情况下可以互换,以便本申请的实施例能够以除了在这里图示或描述的那些以外的顺序实施,且“第一”、“第二”所区别的对象通常为一类,并不限定对象的个数,例如第一对象可以是一个,也可以是多个。此外,本申请中的“或”表示所连接对象的至少其中之一。例如“A或B”涵盖三种方案,即,方案一:包括A且不包括B;方案二:包括B且不包括A;方案三:既包括A又包括B。字符“/”一般表示前后关联对象是一种“或”的关系。
本申请的术语“指示”既可以是一个直接的指示(或者说显式的指示),也可以是一个间接的指示(或者说隐含的指示)。其中,直接的指示可以理解为,发送方在发送的指示中明确告知了接收方具体的信息、需要执行的操作或请求结果等内容;间接的指示可以理解为,接收方根据发送方发送的指示确定对应的信息,或者进行判断并根据判断结果确定需要执行的操作或请求结果等。
为使本领域技术人员能够更好地理解本申请实施例,首先进行如下说明。
1、场景的合成或者渲染流程。
渲染引擎可以根据glTF(3D模型文件格式)文件合成场景,也可以根据glTF文件渲染该场景。引擎获取glTF文件的方式包括:服务器端和客户端通过glTF状态流传输交互glTF文件,或者通过存储在服务器端和客户端的程序文件获取glTF文件。
对于触觉场景渲染,引擎可以得到触觉信号反馈,再通过触觉信号的编码,传输和解码等操作中的一种或者多种操作,触觉信号执行器播放所述触觉信号。
2、动态图像专家组(Moving Pictures Experts Group,MPEG)对glTF(3D模型文件格式)做了触觉信号渲染方面的扩展(haptic extension);
MPEG_haptic extension提供了触觉数据的访问方法,MPEG_haptic包括了一组触觉对象(hapticObjects),如表1所示。如表2所示,hapticObjects中的访问器(accessor)属性进而指向了触觉数据源。
表1
表2
触觉数据的具体访问方式如图1所示,MPEG_haptic中的hapticObjects指向了accessor,accessor进而指向圆形缓冲区对象(circular buffer object),circular buffer object一方面提供了访问circular buffer的数据位置信息,另一方面通过引用MPEG_media object反应该触觉数据渲染的属性信息。
3、MPEG对glTF也做了触觉材料相关的扩展(MPEG_haptic_material extension);
MPEG_haptic_material extension为材料提供了触觉特性。MPEG_haptic_material包含了材料(materials)属性。其中,MPEG_haptic_material如表3所示,MPEG_haptic_material.material如表4所示。
表3
materials属性指向一组material objects,每个material object又通过触觉(haptic)属性指向了提供数据源的MPEG_haptic中的hapticObject,且指出相关的材料触觉特性(例如刚度(stiffness),摩擦(friction)等等)和贴图坐标(texture coordinate)相关信息。
表4
4、glTF(3D模型文件格式)中的交互扩展(Interactivity extension);
glTF用于引擎和应用程序高效传输和加载3D场景和模型。glTF定义了一种可扩展的发布格式,通过在整个行业中实现3D内容的互操作使用,简化了创作工作流程和交互服务。
运动图像专家组格式(Moving Picture Expert Group,MPEG)对glTF进行了交互扩展,初步设计了交互(interactivity)的相关标准。对于触觉场景,interactivity的相关标准主要用于描述化身(avatar)和触觉源(haptic source)之间的相互作用,基于此,触发和生成触觉信号。
Interactivity是基于行为(behavior)定义的,behavior包含了触发条件节点(即trigger node,也可描述为触发对象)和动作节点(即action node,也可描述为动作对象)。其中,trigger node包括碰撞条件(collision condition),距离条件(proximity condition),可视条件(visibility condition)。其中,action node包括触觉反馈动作(即ACTION_SET_HAPTIC),激活节点(ACTION_ACTIVATE)等。ACTION_SET_HAPTIC是基于触觉动作节点对象(HapticActionNode object)或者触觉动作媒体对象(HapticActionMedia object)来实现的。
HapticActionNode(如表5所示)中的hapticObject属性指向MPEG_haptic中的hapticObject,HapticActionMedia(如表6所示)中的媒体索引(mediaIndex)属性进而指向上述hapticObject中的accessor,从而访问触觉数据。
表5
表6
本申请实施例中的对象包括以下至少一项:场景(scene)、节点(node)、网格(mesh)、材料(material)、顶点(vertices)、面(face)、基本体(primitive)等。
下面结合附图,通过一些实施例及其应用场景对本申请实施例提供的触觉数据的处理方法及相关设备进行详细地说明。
如图2所示,本申请实施例提供了一种触觉数据的处理方法,由渲染端执行,该渲染端包括渲染引擎或显示引擎,该方法包括:
步骤201:基于交互行为中动作对象或触发对象中的数据源位置相关信息,获取触觉数据。
可选地,所述动作对象和所述触发对象为交互标准定义的行为behavior(即上述交互行为)中的对象,所述交互标准为用于描述化身和触觉源之间的相互作用的标准。
可选地,所述动作对象包括触觉动作媒体对象,所述触觉动作媒体对象包括媒体索引,所述媒体索引与数据源位置相关信息相关联;
或者,所述触发对象包括节点或基本体(primitive),且所述节点或基本体的属性与数据源位置相关信息相关联。
可选地,所述数据源位置相关信息包括用于指示触觉数据位置(如触觉数据源)的信息。
作为一种实现方式,基于动作对象中的数据源位置相关信息,获取触觉数据包括:沿用interactivity处理模型,渲染端根据触觉反馈动作(ACTION_SET_HAPTIC)获取触觉数据,至少HapticActionMedia object包含的mediaIndex可以指向MPEG_haptic中的触觉数据。
可选地,ACTION_SET_HAPTIC也可以关联特定的触觉处理对象(object),该object可以指示基于haptic material的触觉数据源等信息。
作为一种实现方式,基于触发对象中的数据源位置相关信息,获取触觉数据包括:基于触发对象中的node/primitive关联的属性(property)指示该node/primitive关联haptic material属性,该haptic material属性可以指向haptic material对应的触觉数据源。
可选地,上述触觉数据源包括触觉数据,所述触觉数据包括纹理觉数据。
步骤202:根据所述触发对象关联的触发信息,从所述触觉数据中获取目标触觉数据;
其中,所述触发信息包括是否碰撞,碰撞位置信息,碰撞方式信息中的至少一项。
可选地,上述目标触觉数据为需要进行渲染的触觉数据。
在本申请实施例中,基于交互行为中动作对象或触发对象中的数据源位置相关信息,获取触觉数据;根据所述触发对象关联的触发信息,从所述触觉数据中获取目标触觉数据;其中,所述触发信息包括是否碰撞,碰撞位置信息,碰撞方式信息中的至少一项。通过上述方案能够基于触发对象关系的触发信息,在触觉数据中选取不同的目标触觉数据进而渲染,从而基于不同的目标触觉数据能够得到不同的触觉反馈特性,提高了触觉反馈的灵活性。
可选地,所述获取触觉数据,包括:
基于动作对象或触发对象中的属性信息获取所述触觉数据关联的元数据metadata信息;
根据所述元数据metadata信息和基于交互行为中动作对象或触发对象中的数据源位置相关信息,从触觉数据源中获取触觉数据;
其中,所述元数据metadata信息包括触觉数据的存储格式信息、触觉数据的分辨率信息以及触觉数据关联的触觉种类信息中的至少一项。
这里,基于上述元数据信息,从触觉数据源中获取相应的触觉数据,如获取相应触觉种类或分辨率的触觉数据。
例如,ACTION_SET_HAPTIC关联的object中可以添加属性来指示触觉数据源关联的元数据(metadata)信息,或者通过trigger object中的node/primitive关联的haptic material属性指示所述metadata。
可选地,本申请实施例的方法,还包括:
根据所述触发对象或者动作对象关联的第一属性信息,确定所述触觉数据的获取方式;
其中,所述第一属性信息包括以下至少一项:
第一项:获取方式标识信息;
第二项:触觉反馈类型;
第三项:触觉材料类型;
其中,所述获取方式包括以下至少一项:
基于所述动作对象中的数据源位置相关信息,获取触觉数据源;
基于所述触发对象中的数据源位置相关信息,获取触觉数据源。
示例性地,ACTION_SET_HAPTIC关联的object(例如HapticActionNode或HapticActionMedia)可以通过property指示触觉数据的获取方式,该属性可以指示触觉数据是否根据trigger object获取。
对于上述第一项,通过获取方式标识信息指示触觉数据是否基于触发对象中的数据源位置相关信息获取,例如,该获取方式标识信息用flag表示,flag=0指示触觉数据根据触发对象中的数据源位置相关信息获取,flag=1指示触觉数据根据动作对象中的数据源位置相关信息获取,如由HapticActionNode或HapticActionMedia获取。
可选地,上述flag可以是现有的使用碰撞器标识(use Collider flag)也可以是新增的标识。
对于上述第二项:可以根据触觉动作节点(HapticActionNode)指示的触觉反馈类型得知触觉数据的获取方式。例如,对于刚度/摩擦力/纹理觉/震动觉等预设类型的触觉反馈,触觉数据源根据trigger object中的数据源位置相关信息获取。
对于上述第三项:例如,若反馈动作相关的object(HapticActionNode)的触觉材料属性(materialHapticModality)非空或者指示为预设材料类型,则触觉数据根据trigger object中的数据源位置相关信息获取。
可选地,根据所述触发对象关联的触发信息,从所述触觉数据中获取目标触觉数据,包括:
获取触发对象中子对象间的碰撞位置对应的贴图坐标;
根据所述贴图坐标,从所述触觉数据中获取目标触觉数据。
上述触发对象中的子对象包括网格顶点。
在本申请的实施例中,若采用网格(mesh)实现触觉源(haptic source)的几何形状(geometry),该mesh可以附着haptic material,该mesh可以直接用于interactivity的trigger object中进行碰撞条件(collision condition)的判定。
Interactivity behavior中的trigger object(例如collision trigger)激活时,渲染引擎(rendering engine)通过实现判定(haptic source和化身avatar)碰触点对应的mesh顶点,并据此获取碰触点对应的mesh顶点所对应的贴图坐标。然后从触觉数据中选取与该贴图坐标对应的目标触觉数据,实现了基于贴图坐标提取出离散的触觉数据的目的,进而能够提高触觉反馈的灵活性。
可选地,根据所述触发对象关联的触发信息,从所述触觉数据中获取目标触觉数据,包括:
获取触发对象中发生碰撞的子对象关联的贴图坐标;
根据所述贴图坐标,从所述触觉数据中获取目标触觉数据。
上述发生碰撞的子对象包括基本体(primitives)或节点(node)。
在本申请的实施例中,采用多个相对简单的基本体(primitives)构成haptic source的geometry,这些primitives用在interactivity的trigger object中进行碰撞条件(collision condition)的判定。
Interactivity behavior中的trigger object(例如collision trigger)激活时,rendering engine获取相应trigger object中的node/primitive对应的贴图坐标,Rendering engine根据一个/多个贴图坐标,从haptic material数据源中获取目标触觉数据并生成触觉反馈信号,实现了基于贴图坐标提取出离散的触觉数据的目的,进而能够提高触觉反馈的灵活性。
可选地,所述获取触发对象中发生碰撞的子对象关联的贴图坐标,包括:
根据发生碰撞的子对象的属性信息获取所述贴图坐标。
作为一种实现方式,所述发生碰撞的子对象的属性信息包括贴图坐标或者网格的顶点信息,且所述网格的顶点信息与贴图坐标对应。
例如,trigger object中的node/primitive关联的property可以指示该node/primitive对应的haptic material的某贴图坐标,rendering engine判定该node/primitive发生碰撞时,便可以获取相应的贴图坐标。
可选地,所述trigger object中的node/primitive关联的property需要标准定义。例如,在trigger object中包含贴图坐标列表(texture coordinate list),trigger object中的节点列表(node list)/基本体列表(primitive list)对应该texture coordinate list,每个node/primitive对应于其中一个贴图坐标。
可选的,haptic material的某贴图坐标也可以间接地指示。例如,trigger object中的node/primitive中关联的property可以指示触觉材料附着的mesh的某顶点,mesh的顶点可以映射到触觉材料的贴图坐标。
可选地,根据所述触发对象关联的触发信息,从所述触觉数据中获取目标触觉数据,包括:
根据所述动作对象关联的第二属性信息,确定渲染方式;
在所述渲染方式指示根据贴图坐标从触觉数据中获取目标触觉数据的情况下,根据所述触发对象关联的触发信息,从所述触觉数据中获取目标触觉数据;
其中,第二属性信息包括以下至少一项:
A1:渲染方式标识信息,该渲染方式标识可以是现有的useCollider flag也可以是新增的标识;
A2:触觉反馈类型;例如,对于刚度/摩擦力/纹理觉/震动纹理觉等预设类型的触觉反馈,渲染端根据贴图坐标从触觉数据中抽取目标触觉数据进行渲染反馈。
A3:触觉材料类型。例如,反馈动作相关的object(HapticActionNode)的触觉材料属性(materialHapticModality)非空或者指示为预设材料类型时,渲染端根据贴图坐标从触觉数据中抽取目标触觉数据进行渲染反馈。
本申请实施例中,ACTION_SET_HAPTIC关联的object(例如HapticActionNode或HapticActionMedia)可以通过property指示触觉数据的渲染方式,该属性可以指示渲染端是否根据贴图坐标从触觉数据中抽取目标触觉数据进行渲染反馈。
可选地,所述碰撞方式包括以下至少一项:划过表面;敲击;按压;接触点移动方向;接触点移动速度。
可选地,本申请实施例的方法,还包括:
根据触发对象的用户输入方式(user input modality)属性获取所述碰撞方式。
本申请实施例中,基于触发对象的用户输入方式属性获取碰撞方式,渲染端可以基于碰撞方式触发相应的触觉反馈。
可选地,所述基于交互行为中动作对象或触发对象中的数据源位置相关信息,获取触觉数据,包括:
基于交互行为中动作对象或触发对象中的数据源位置相关信息以及碰撞方式,获取触觉数据。
本申请实施例中,渲染端基于交互行为中动作对象或触发对象中的数据源位置相关信息可以确定触觉数据源,进而可以根据碰撞方式在触觉数据源中选取相应的触觉数据,以便于后续渲染端能够根据不同的碰撞方式反馈不同的触觉信号。
可选地,所述根据所述触发对象关联的触发信息,从所述触觉数据中获取目标触觉数据,包括:
根据碰撞方式,获取贴图坐标序列;
根据所述贴图坐标序列,从所述触觉数据中获取目标触觉数据。
示例性地,触觉材料的贴图按照预设方向(横向/纵向等等)映射在mesh上,接触点以不同的方向划过材料表面(横向/纵向等),渲染端按照不同的贴图坐标排序(即贴图坐标序列)采集触觉信号生成反馈的触觉信号(即目标触觉信号)。其中,所述贴图坐标排序可以包括多组不同的贴图坐标。另外,本申请实施例中可以预先设定多个不同的贴图坐标排序方式,不同的贴图坐标排序方式对应不同的碰撞方式,然后可以根据碰撞方式获取相应的贴图坐标排序方式。
基于上述方案,使得渲染端能够根据接触点从触觉信号中提取出离散的触觉信号(即目标触觉信号)并播放,提高了触觉反馈的灵活性。
本申请实施例提供的触觉数据的处理方法,执行主体可以为触觉数据的处理装置。本申请实施例中以触觉数据的处理装置执行触觉数据的处理方法为例,说明本申请实施例提供的触觉数据的处理装置。
如图3所示,本申请实施例提供了一种触觉数据的处理装置300,包括:
第一获取模块301,用于基于交互行为中动作对象或触发对象中的数据源位置相关信息,获取触觉数据;
第二获取模块302,用于根据所述触发对象关联的触发信息,从所述触觉数据中获取目标触觉数据;
其中,所述触发信息包括是否碰撞,碰撞位置信息,碰撞方式信息中的至少一项。
可选地,所述第一获取模块包括:
第一获取子模块,用于基于动作对象或触发对象中的属性信息获取所述触觉数据关联的元数据metadata信息;
第二获取子模块,用于根据所述元数据metadata信息和基于交互行为中动作对象或触发对象中的数据源位置相关信息,从触觉数据源中获取触觉数据;
其中,所述元数据metadata信息包括触觉数据的存储格式信息、触觉数据的分辨率信息以及触觉数据关联的触觉种类信息中的至少一项。
可选地,所述装置还包括:
确定模块,用于根据所述触发对象或者动作对象关联的第一属性信息,确定所述触觉数据的获取方式;
其中,所述第一属性信息包括以下至少一项:
获取方式标识信息;
触觉反馈类型;
触觉材料类型;
其中,所述获取方式包括以下至少一项:
基于所述动作对象中的数据源位置相关信息,获取触觉数据源;
基于所述触发对象中的数据源位置相关信息,获取触觉数据源。
可选地,所述第二获取模块包括:
第三获取子模块,用于获取触发对象中子对象间的碰撞位置对应的贴图坐标;
第四获取子模块,用于根据所述贴图坐标,从所述触觉数据中获取目标触觉数据。
可选地,所述第二获取模块包括:
第五获取子模块,用于获取触发对象中发生碰撞的子对象关联的贴图坐标;
第六获取子模块,用于根据所述贴图坐标,从所述触觉数据中获取目标触觉数据。
可选地,所述第五获取子模块用于根据发生碰撞的子对象的属性信息获取所述贴图坐标。
可选地,所述发生碰撞的子对象的属性信息包括贴图坐标或者网格的顶点信息,且所述网格的顶点信息与贴图坐标对应。
可选地,所述第二获取模块包括:
确定子模块,用于根据所述动作对象关联的第二属性信息,确定渲染方式;
第七获取子模块,用于在所述渲染方式指示根据贴图坐标从触觉数据中获取目标触觉数据的情况下,根据所述触发对象关联的触发信息,从所述触觉数据中获取目标触觉数据;
其中,第二属性信息包括以下至少一项:
渲染方式标识信息;
触觉反馈类型;
触觉材料类型。
可选地,所述碰撞方式包括以下至少一项:划过表面;敲击;按压;接触点移动方向、接触点移动速度。
可选地,所述装置还包括:
第三获取模块,用于根据触发对象的用户输入方式属性获取所述碰撞方式。
可选地,所述第一获取模块用于基于交互行为中动作对象或触发对象中的数据源位置相关信息以及碰撞方式,获取触觉数据。
可选地,所述第二获取模块包括:
第八获取子模块,用于根据碰撞方式,获取贴图坐标序列;
第九获取子模块,用于根据所述贴图坐标序列,从所述触觉数据中获取目标触觉数据。
本申请实施例的装置,基于交互行为中动作对象或触发对象中的数据源位置相关信息,获取触觉数据;根据所述触发对象关联的触发信息,从所述触觉数据中获取目标触觉数据;其中,所述触发信息包括是否碰撞,碰撞位置信息,碰撞方式信息中的至少一项。通过上述方案能够基于触发对象关系的触发信息,在触觉数据中选取不同的目标触觉数据进而渲染,从而基于不同的目标触觉数据能够得到不同的触觉反馈特性,提高了触觉反馈的灵活性。
本申请实施例提供的触觉数据的处理装置能够实现图2的方法实施例实现的各个过程,并达到相同的技术效果,为避免重复,这里不再赘述。
可选的,如图4所示,本申请实施例还提供一种电子设备400,包括处理器401和存储器402,存储器402上存储有可在所述处理器401上运行的程序或指令,例如,该电子设备400为终端时,该程序或指令被处理器401执行时实现上述触觉数据的处理方法实施例的各个步骤,且能达到相同的技术效果,为避免重复,这里不再赘述。
本申请实施例还提供一种电子设备,包括处理器和通信接口,所述通信接口和所述处理器耦合,所述处理器用于运行程序或指令,实现如图2所示方法实施例中的步骤。该设备实施例与上述方法实施例对应,上述方法实施例的各个实施过程和实现方式均可适用于该电子设备实施例中,且能达到相同的技术效果。
上述电子设备可以是终端,也可以为除终端之外的其他设备,例如服务器、网络附属存储器(Network Attached Storage,NAS)等。
其中,终端可以是手机、平板电脑(Tablet Personal Computer)、膝上型电脑(Laptop Computer)、笔记本电脑、个人数字助理(Personal Digital Assistant,PDA)、掌上电脑、上网本、超级移动个人计算机(Ultra-mobile Personal Computer,UMPC)、移动上网装置(Mobile Internet Device,MID)、增强现实(Augmented Reality,AR)、虚拟现实(Virtual Reality,VR)设备、混合现实(mixed reality,MR)设备、机器人、可穿戴式设备(Wearable Device)、飞行器(flight vehicle)、车载设备(Vehicle User Equipment,VUE)、船载设备、行人终端(Pedestrian User Equipment,PUE)、智能家居(具有无线通信功能的家居设备,如冰箱、电视、洗衣机或者家具等)、游戏机、个人计算机(Personal Computer,PC)、柜员机或者自助机等终端侧设备。可穿戴式设备包括:智能手表、智能手环、智能耳机、智能眼镜、智能首饰(智能手镯、智能手链、智能戒指、智能项链、智能脚镯、智能脚链等)、智能腕带、智能服装等。其中,车载设备也可以称为车载终端、车载控制器、车载模块、车载部件、车载芯片或车载单元等。需要说明的是,在本申请实施例并不限定终端的具体类型。
服务器可以是独立的物理服务器,也可以是多个物理服务器构成的服务器集群或者分布式系统,还可以是云服务器,该云服务器可以提供云服务、云数据库、云计算、云函数、云存储、网络服务、云通信、中间件服务、域名服务、安全服务、内容分发网络(Content Delivery Network,CDN)、或以大数据和人工智能平台为基础的云计算服务等。
以电子设备为终端为例,图5为实现本申请实施例的一种终端的硬件结构示意图。
该终端500包括但不限于:射频单元501、网络模块502、音频输出单元503、输入单元504、传感器505、显示单元506、用户输入单元507、接口单元508、存储器509以及处理器510等中的至少部分部件。
本领域技术人员可以理解,终端500还可以包括给各个部件供电的电源(比如电池),电源可以通过电源管理系统与处理器510逻辑相连,从而通过电源管理系统实现管理充电、放电以及功耗管理等功能。图5中示出的终端结构并不构成对终端的限定,终端可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置,在此不再赘述。
应理解的是,本申请实施例中,输入单元504可以包括图形处理器(Graphics Processing Unit,GPU)5041和麦克风5042,图形处理器5041对在视频采集模式或图像采集模式中由图像采集装置(如摄像头)获得的静态图片或视频的图像数据进行处理,或者可以对获得的点云数据进行处理。显示单元506可包括显示面板5061,可以采用液晶显示器、有机发光二极管等形式来配置显示面板5061。用户输入单元507包括触控面板5071以及其他输入设备5072中的至少一种。触控面板5071,也称为触摸屏。触控面板5071可包括触摸检测装置和触摸控制器两个部分。其他输入设备5072可以包括但不限于物理键盘、功能键(比如音量控制按键、开关按键等)、轨迹球、鼠标、操作杆,在此不再赘述。
本申请实施例中,射频单元501接收来自网络侧设备的下行数据后,可以传输给处理器510进行处理;另外,射频单元501可以向网络侧设备发送上行数据。通常,射频单元501包括但不限于天线、放大器、收发信机、耦合器、低噪声放大器、双工器等。
存储器509可用于存储软件程序或指令以及各种数据。存储器509可主要包括存储程序或指令的第一存储区和存储数据的第二存储区,其中,第一存储区可存储操作系统、至少一个功能所需的应用程序或指令(比如声音播放功能、图像播放功能等)等。此外,存储器509可以包括易失性存储器或非易失性存储器。其中,非易失性存储器可以是只读存储器(Read-Only Memory,ROM)、可编程只读存储器(Programmable ROM,PROM)、可擦除可编程只读存储器(Erasable PROM,EPROM)、电可擦除可编程只读存储器(Electrically EPROM,EEPROM)或闪存。易失性存储器可以是随机存取存储器(Random Access Memory,RAM),静态随机存取存储器(Static RAM,SRAM)、动态随机存取存储器(Dynamic RAM,DRAM)、同步动态随机存取存储器(Synchronous DRAM,SDRAM)、双倍数据速率同步动态随机存取存储器(Double Data Rate SDRAM,DDRSDRAM)、增强型同步动态随机存取存储器(Enhanced SDRAM,ESDRAM)、同步连接动态随机存取存储器(Synch link DRAM,SLDRAM)和直接内存总线随机存取存储器(Direct Rambus RAM,DRRAM)。本申请实施例中的存储器509包括但不限于这些和任意其它适合类型的存储器。
处理器510可包括一个或多个处理单元;可选的,处理器510集成应用处理器和调制解调处理器,其中,应用处理器主要处理涉及操作系统、用户界面和应用程序等的操作,调制解调处理器主要处理无线通信信号,如基带处理器。可以理解的是,上述调制解调处理器也可以不集成到处理器510中。
其中,处理器510,用于基于交互行为中动作对象或触发对象中的数据源位置相关信息,获取触觉数据;
根据所述触发对象关联的触发信息,从所述触觉数据中获取目标触觉数据;
其中,所述触发信息包括是否碰撞,碰撞位置信息,碰撞方式信息中的至少一项。
可选地,处理器510,还用于:
基于动作对象或触发对象中的属性信息获取所述触觉数据关联的元数据metadata信息;
根据所述元数据metadata信息和基于交互行为中动作对象或触发对象中的数据源位置相关信息,从触觉数据源中获取触觉数据;
其中,所述元数据metadata信息包括触觉数据的存储格式信息、触觉数据的分辨率信息以及触觉数据关联的触觉种类信息中的至少一项。
可选地,处理器510,还用于:
根据所述触发对象或者动作对象关联的第一属性信息,确定所述触觉数据的获取方式;
其中,所述第一属性信息包括以下至少一项:
获取方式标识信息;
触觉反馈类型;
触觉材料类型;
其中,所述获取方式包括以下至少一项:
基于所述动作对象中的数据源位置相关信息,获取触觉数据源;
基于所述触发对象中的数据源位置相关信息,获取触觉数据源。
可选地,处理器510,还用于:
获取触发对象中子对象间的碰撞位置对应的贴图坐标;
根据所述贴图坐标,从所述触觉数据中获取目标触觉数据。
可选地,处理器510,还用于:
获取触发对象中发生碰撞的子对象关联的贴图坐标;
根据所述贴图坐标,从所述触觉数据中获取目标触觉数据。
可选地,处理器510,还用于:
根据发生碰撞的子对象的属性信息获取所述贴图坐标。
可选地,所述发生碰撞的子对象的属性信息包括贴图坐标或者网格的顶点信息,且所述网格的顶点信息与贴图坐标对应。
可选地,处理器510,还用于:
根据所述动作对象关联的第二属性信息,确定渲染方式;
在所述渲染方式指示根据贴图坐标从触觉数据中获取目标触觉数据的情况下,根据所述触发对象关联的触发信息,从所述触觉数据中获取目标触觉数据;
其中,第二属性信息包括以下至少一项:
渲染方式标识信息;
触觉反馈类型;
触觉材料类型。
可选地,所述碰撞方式包括以下至少一项:划过表面;敲击;按压;接触点移动方向、接触点移动速度。
可选地,处理器510,还用于:
根据触发对象的用户输入方式属性获取所述碰撞方式。
可选地,处理器510,还用于:
基于交互行为中动作对象或触发对象中的数据源位置相关信息以及碰撞方式,获取触觉数据。
可选地,处理器510,还用于:
根据碰撞方式,获取贴图坐标序列;
根据所述贴图坐标序列,从所述触觉数据中获取目标触觉数据。
本申请实施例中,基于交互行为中动作对象或触发对象中的数据源位置相关信息,获取触觉数据;根据所述触发对象关联的触发信息,从所述触觉数据中获取目标触觉数据;其中,所述触发信息包括是否碰撞,碰撞位置信息,碰撞方式信息中的至少一项。通过上述方案能够基于触发对象关系的触发信息,在触觉数据中选取不同的目标触觉数据进而渲染,从而基于不同的目标触觉数据能够得到不同的触觉反馈特性,提高了触觉反馈的灵活性。
可以理解,本实施例中提及的各实现方式的实现过程可以参照方法实施例触觉数据的处理方法的相关描述,并达到相同或相应的技术效果,为避免重复,在此不再赘述。
本申请实施例还提供一种可读存储介质,所述可读存储介质上存储有程序或指令,该程序或指令被处理器执行时实现上述触觉数据的处理方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。
其中,所述处理器为上述实施例中所述的终端中的处理器。所述可读存储介质,包括计算机可读存储介质,如计算机只读存储器(ROM)、随机存取存储器(RAM)、磁碟或者光盘等。在一些示例中,可读存储介质可以是非瞬态的可读存储介质。
本申请实施例另提供了一种芯片,所述芯片包括处理器和通信接口,所述通信接口和所述处理器耦合,所述处理器用于运行程序或指令,实现上述触觉数据的处理方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。
应理解,本申请实施例提到的芯片可以包括系统级芯片(也可称为系统芯片、芯片系统或片上系统芯片),也可以包括独立显示芯片等。
本申请实施例另提供了一种计算机程序/程序产品,所述计算机程序/程序产品被存储在存储介质中,所述计算机程序/程序产品被至少一个处理器执行以实现上述触觉数据的处理方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。
需要说明的是,在本文中,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者装置不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者装置所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括该要素的过程、方法、物品或者装置中还存在另外的相同要素。此外,需要指出的是,本申请实施方式中的方法和装置的范围不限按示出或讨论的顺序来执行功能,还可包括根据所涉及的功能按基本同时的方式或按相反的顺序来执行功能,例如,可以按不同于所描述的次序来执行所描述的方法,并且还可以添加、省去或组合各种步骤。另外,参照某些示例所描述的特征可在其他示例中被组合。
通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到上述实施例方法可借助计算机软件产品加必需的通用硬件平台的方式来实现,当然也可以通过硬件。该计算机软件产品存储在存储介质(如ROM、RAM、磁碟、光盘等)中,包括若干指令,用以使得终端或者网络侧设备执行本申请各个实施例所述的方法。
上面结合附图对本申请的实施例进行了描述,但是本申请并不局限于上述的具体实施方式,上述的具体实施方式仅仅是示意性的,而不是限制性的,本领域的普通技术人员在本申请的启示下,在不脱离本申请宗旨和权利要求所保护的范围情况下,还可做出很多形式的实施方式,这些实施方式均属于本申请的保护之内。
Claims (27)
- 一种触觉数据的处理方法,由渲染端执行,包括:基于交互行为中动作对象或触发对象中的数据源位置相关信息,获取触觉数据;根据所述触发对象关联的触发信息,从所述触觉数据中获取目标触觉数据;其中,所述触发信息包括是否碰撞,碰撞位置信息,碰撞方式信息中的至少一项。
- 根据权利要求1所述的方法,其中,所述获取触觉数据,包括:基于动作对象或触发对象中的属性信息获取所述触觉数据关联的元数据metadata信息;根据所述元数据metadata信息和基于交互行为中动作对象或触发对象中的数据源位置相关信息,从触觉数据源中获取触觉数据;其中,所述元数据metadata信息包括触觉数据的存储格式信息、触觉数据的分辨率信息以及触觉数据关联的触觉种类信息中的至少一项。
- 根据权利要求1所述的方法,还包括:根据所述触发对象或者动作对象关联的第一属性信息,确定所述触觉数据的获取方式;其中,所述第一属性信息包括以下至少一项:获取方式标识信息;触觉反馈类型;触觉材料类型;其中,所述获取方式包括以下至少一项:基于所述动作对象中的数据源位置相关信息,获取触觉数据源;基于所述触发对象中的数据源位置相关信息,获取触觉数据源。
- 根据权利要求1所述的方法,其中,根据所述触发对象关联的触发信息,从所述触觉数据中获取目标触觉数据,包括:获取触发对象中子对象间的碰撞位置对应的贴图坐标;根据所述贴图坐标,从所述触觉数据中获取目标触觉数据。
- 根据权利要求1所述的方法,其中,根据所述触发对象关联的触发信息,从所述触觉数据中获取目标触觉数据,包括:获取触发对象中发生碰撞的子对象关联的贴图坐标;根据所述贴图坐标,从所述触觉数据中获取目标触觉数据。
- 根据权利要求5所述的方法,其中,所述获取触发对象中发生碰撞的子对象关联的贴图坐标,包括:根据发生碰撞的子对象的属性信息获取所述贴图坐标。
- 根据权利要求6所述的方法,其中,所述发生碰撞的子对象的属性信息包括贴图坐标或者网格的顶点信息,且所述网格的顶点信息与贴图坐标对应。
- 根据权利要求1至7任一项所述的方法,其中,根据所述触发对象关联的触发信息,从所述触觉数据中获取目标触觉数据,包括:根据所述动作对象关联的第二属性信息,确定渲染方式;在所述渲染方式指示根据贴图坐标从触觉数据中获取目标触觉数据的情况下,根据所述触发对象关联的触发信息,从所述触觉数据中获取目标触觉数据;其中,第二属性信息包括以下至少一项:渲染方式标识信息;触觉反馈类型;触觉材料类型。
- 根据权利要求1所述的方法,其中,所述碰撞方式包括以下至少一项:划过表面;敲击;按压;接触点移动方向、接触点移动速度。
- 根据权利要求1或9所述的方法,还包括:根据触发对象的用户输入方式属性获取所述碰撞方式。
- 根据权利要求1所述的方法,其中,所述基于交互行为中动作对象或触发对象中的数据源位置相关信息,获取触觉数据,包括:基于交互行为中动作对象或触发对象中的数据源位置相关信息以及碰撞方式,获取触觉数据。
- 根据权利要求1所述的方法,其中,所述根据所述触发对象关联的触发信息,从所述触觉数据中获取目标触觉数据,包括:根据碰撞方式,获取贴图坐标序列;根据所述贴图坐标序列,从所述触觉数据中获取目标触觉数据。
- 一种触觉数据的处理装置,包括:第一获取模块,用于基于交互行为中动作对象或触发对象中的数据源位置相关信息,获取触觉数据;第二获取模块,用于根据所述触发对象关联的触发信息,从所述触觉数据中获取目标触觉数据;其中,所述触发信息包括是否碰撞,碰撞位置信息,碰撞方式信息中的至少一项。
- 根据权利要求13所述的装置,其中,所述第一获取模块包括:第一获取子模块,用于基于动作对象或触发对象中的属性信息获取所述触觉数据关联的元数据metadata信息;第二获取子模块,用于根据所述元数据metadata信息和基于交互行为中动作对象或触发对象中的数据源位置相关信息,从触觉数据源中获取触觉数据;其中,所述元数据metadata信息包括触觉数据的存储格式信息、触觉数据的分辨率信息以及触觉数据关联的触觉种类信息中的至少一项。
- 根据权利要求13所述的装置,还包括:确定模块,用于根据所述触发对象或者动作对象关联的第一属性信息,确定所述触觉数据的获取方式;其中,所述第一属性信息包括以下至少一项:获取方式标识信息;触觉反馈类型;触觉材料类型;其中,所述获取方式包括以下至少一项:基于所述动作对象中的数据源位置相关信息,获取触觉数据源;基于所述触发对象中的数据源位置相关信息,获取触觉数据源。
- 根据权利要求13所述的装置,其中,所述第二获取模块包括:第三获取子模块,用于获取触发对象中子对象间的碰撞位置对应的贴图坐标;第四获取子模块,用于根据所述贴图坐标,从所述触觉数据中获取目标触觉数据。
- 根据权利要求13所述的装置,其中,所述第二获取模块包括:第五获取子模块,用于获取触发对象中发生碰撞的子对象关联的贴图坐标;第六获取子模块,用于根据所述贴图坐标,从所述触觉数据中获取目标触觉数据。
- 根据权利要求17所述的装置,其中,所述第五获取子模块用于根据发生碰撞的子对象的属性信息获取所述贴图坐标。
- 根据权利要求18所述的装置,其中,所述发生碰撞的子对象的属性信息包括贴图坐标或者网格的顶点信息,且所述网格的顶点信息与贴图坐标对应。
- 根据权利要求13至19任一项所述的装置,其中,所述第二获取模块包括:确定子模块,用于根据所述动作对象关联的第二属性信息,确定渲染方式;第七获取子模块,用于在所述渲染方式指示根据贴图坐标从触觉数据中获取目标触觉数据的情况下,根据所述触发对象关联的触发信息,从所述触觉数据中获取目标触觉数据;其中,第二属性信息包括以下至少一项:渲染方式标识信息;触觉反馈类型;触觉材料类型。
- 根据权利要求13所述的装置,其中,所述碰撞方式包括以下至少一项:划过表面;敲击;按压;接触点移动方向、接触点移动速度。
- 根据权利要求13或21所述的装置,还包括:第三获取模块,用于根据触发对象的用户输入方式属性获取所述碰撞方式。
- 根据权利要求13所述的装置,其中,所述第一获取模块用于基于交互行为中动作对象或触发对象中的数据源位置相关信息以及碰撞方式,获取触觉数据。
- 根据权利要求13所述的装置,其中,所述第二获取模块包括:第八获取子模块,用于根据碰撞方式,获取贴图坐标序列;第九获取子模块,用于根据所述贴图坐标序列,从所述触觉数据中获取目标触觉数据。
- 一种电子设备,包括处理器和存储器,所述存储器存储可在所述处理器上运行的程序或指令,所述程序或指令被所述处理器执行时实现如权利要求1至12任一项所述的触觉数据的处理方法的步骤。
- 一种可读存储介质,所述可读存储介质上存储程序或指令,所述程序或指令被处理器执行时实现如权利要求1至12任一项所述的触觉数据的处理方法的步骤。
- 一种芯片,所述芯片包括处理器和通信接口,所述通信接口和所述处理器耦合,所述处理器用于运行程序或指令,实现如权利要求1至12任一项所述的触觉数据的处理方法的步骤。
Applications Claiming Priority (2)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202311697139.1A CN120143960A (zh) | 2023-12-11 | 2023-12-11 | 触觉数据的处理方法及相关设备 |
| CN202311697139.1 | 2023-12-11 |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| WO2025124331A1 true WO2025124331A1 (zh) | 2025-06-19 |
Family
ID=95947977
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| PCT/CN2024/137729 Pending WO2025124331A1 (zh) | 2023-12-11 | 2024-12-09 | 触觉数据的处理方法及相关设备 |
Country Status (2)
| Country | Link |
|---|---|
| CN (1) | CN120143960A (zh) |
| WO (1) | WO2025124331A1 (zh) |
Citations (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN107106908A (zh) * | 2015-02-25 | 2017-08-29 | 意美森公司 | 为慢动作修改触觉效果 |
| CN109447038A (zh) * | 2018-11-27 | 2019-03-08 | 南京恩诺网络科技有限公司 | 触觉信息估算方法及装置、系统 |
| CN110292771A (zh) * | 2019-07-04 | 2019-10-01 | 网易(杭州)网络有限公司 | 游戏中触觉反馈控制方法及装置、设备、介质 |
| CN116402985A (zh) * | 2023-04-10 | 2023-07-07 | 度小满科技(北京)有限公司 | 触觉处理方法、装置、存储介质及电子设备 |
| CN116601587A (zh) * | 2020-11-12 | 2023-08-15 | 交互数字Ce专利控股有限公司 | 触觉对象的表示格式 |
-
2023
- 2023-12-11 CN CN202311697139.1A patent/CN120143960A/zh active Pending
-
2024
- 2024-12-09 WO PCT/CN2024/137729 patent/WO2025124331A1/zh active Pending
Patent Citations (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN107106908A (zh) * | 2015-02-25 | 2017-08-29 | 意美森公司 | 为慢动作修改触觉效果 |
| CN109447038A (zh) * | 2018-11-27 | 2019-03-08 | 南京恩诺网络科技有限公司 | 触觉信息估算方法及装置、系统 |
| CN110292771A (zh) * | 2019-07-04 | 2019-10-01 | 网易(杭州)网络有限公司 | 游戏中触觉反馈控制方法及装置、设备、介质 |
| CN116601587A (zh) * | 2020-11-12 | 2023-08-15 | 交互数字Ce专利控股有限公司 | 触觉对象的表示格式 |
| CN116402985A (zh) * | 2023-04-10 | 2023-07-07 | 度小满科技(北京)有限公司 | 触觉处理方法、装置、存储介质及电子设备 |
Also Published As
| Publication number | Publication date |
|---|---|
| CN120143960A (zh) | 2025-06-13 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| JP6978528B2 (ja) | 3d環境におけるコンテンツのレンダリング | |
| US10726637B2 (en) | Virtual reality and cross-device experiences | |
| KR102733744B1 (ko) | 콘텐츠를 공간 3d 환경에 매칭 | |
| US8001161B2 (en) | Cloning objects in a virtual universe | |
| KR101692193B1 (ko) | 크라우드소싱된 비디오 렌더링 시스템 | |
| KR20140105609A (ko) | 온라인 게이밍 | |
| CN114911595B (zh) | 动画资源的信息处理方法、装置、设备、介质及产品 | |
| CN116758201B (zh) | 三维场景的渲染处理方法、设备、系统及计算机存储介质 | |
| WO2020078323A1 (zh) | 水印嵌入方法、装置、终端及存储介质 | |
| CN114387400A (zh) | 三维场景的显示方法、显示装置、电子设备和服务器 | |
| JP7911856B2 (ja) | システム、方法、端末、方法及びプログラム | |
| WO2023142601A1 (zh) | 一种基于区块链的数据处理方法、设备以及可读存储介质 | |
| CN113112613B (zh) | 模型显示方法、装置、电子设备和存储介质 | |
| CN106383705A (zh) | 在应用瘦客户端中设置鼠标显示状态的方法及装置 | |
| KR20250158765A (ko) | 햅틱 상호작용성을 위한 장면 설명 프레임워크 | |
| CN120143960A (zh) | 触觉数据的处理方法及相关设备 | |
| CN115730161B (zh) | 多媒体内容的显示方法、装置及设备 | |
| WO2025108205A1 (zh) | 渲染对象的确定方法及相关设备 | |
| WO2025148887A1 (zh) | 处理方法、装置、设备及可读存储介质 | |
| WO2025148815A1 (zh) | 触觉数据的处理方法、装置及相关设备 | |
| CN120143959A (zh) | 触觉数据的处理方法及相关设备 | |
| WO2026086664A1 (zh) | 触觉信号处理方法、装置及设备 | |
| CN114677462B (zh) | 一种动画创建的方法及装置 | |
| WO2026145423A1 (zh) | 渲染方法、装置及设备 | |
| WO2025113512A1 (zh) | 生成触觉信号的方法、装置、电子设备、芯片及介质 |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| 121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 24902752 Country of ref document: EP Kind code of ref document: A1 |
|
| NENP | Non-entry into the national phase |
Ref country code: DE |