Method and device for generating tactile signal, electronic equipment, chip and medium

By obtaining signal attenuation information related to distance, time, occlusion, body parts and pressure, and generating accurate tactile signals, the problem of lack of tactile signal interaction standards in the prior art is solved, and the accuracy of the tactile signal model is improved.

CN120066246APending Publication Date: 2025-05-30VIVO MOBILE COMM CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202311644251.9
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-11-30
Publication Date
2025-05-30

AI Technical Summary

Technical Problem

The lack of interaction standards related to tactile signal in the prior art has limited the accuracy of building tactile signal models.

Method used

By obtaining signal attenuation information related to distance, time, occlusion, body parts and pressure, an accurate tactile signal is generated to simulate the tactile signal presentation in a real environment.

Benefits of technology

The accuracy of the constructed haptic signal model is improved, allowing it to more accurately simulate haptic signals in real environments.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120066246A_ABST
    Figure CN120066246A_ABST
Patent Text Reader

Abstract

The invention discloses a method and device for generating a tactile signal, electronic equipment, a chip and a medium, and belongs to the technical field of computers.The method comprises the steps that signal attenuation information of the tactile signal is obtained; generating the tactile signal according to the signal attenuation information of the tactile signal; wherein the signal attenuation information of the tactile signal comprises at least one of the following information: distance-related signal attenuation information; signal attenuation information related to time; signal attenuation information related to the occlusion; signal attenuation information related to the body part; signal attenuation information related to pressure.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application belongs to the field of computer technology, and particularly relates to a method, apparatus, electronic device, chip, and medium for generating tactile signals. Background Art

[0002] The graphical language Transmit Format (glTF) is an open standard format for transmitting and loading 3D models. GlTF defines an extensible publishing format that simplifies the creation workflow and interactive services by enabling interoperable use of 3D content across the industry.

[0003] However, there is no interaction standard related to tactile signals in the related art. Therefore, how to generate tactile signals to ensure the accuracy of the constructed tactile signal model is an urgent problem to be solved. Summary of the Invention

[0004] Embodiments of this application provide a method, apparatus, electronic device, chip, and medium for generating tactile signals, which can ensure the accuracy of the constructed tactile signal model.

[0005] In a first aspect, a method for generating tactile signals is provided, including:

[0006] Obtaining signal attenuation information of the tactile signal;

[0007] Generating the tactile signal according to the signal attenuation information of the tactile signal;

[0008] Wherein, the signal attenuation information of the tactile signal includes at least one of the following:

[0009] Signal attenuation information related to distance;

[0010] Signal attenuation information related to time;

[0011] Signal attenuation information related to an occluder;

[0012] Signal attenuation information related to a body part;

[0013] Signal attenuation information related to pressure.

[0014] In a second aspect, an apparatus for generating tactile signals is provided, including:

[0015] An obtaining unit, configured to obtain signal attenuation information of the tactile signal;

[0016] A generating unit, configured to generate the tactile signal according to the signal attenuation information of the tactile signal;

[0017] Among them, the signal attenuation information of the tactile signal includes at least one of the following:

[0018] Signal attenuation information related to distance;

[0019] Signal attenuation information related to time;

[0020] Signal attenuation information related to an occluder;

[0021] Signal attenuation information related to a body part;

[0022] Signal attenuation information related to pressure.

[0023] In a third aspect, an electronic device is provided. The electronic device includes a processor and a memory. The memory stores a program or instruction that can run on the processor. When the program or instruction is executed by the processor, the steps of the method described in the first aspect are implemented.

[0024] In a fourth aspect, a readable storage medium is provided. A program or instruction is stored on the readable storage medium. When the program or instruction is executed by a processor, the steps of the method described in the first aspect are implemented.

[0025] In a fifth aspect, a chip is provided. The chip includes a processor and a communication interface. The communication interface is coupled to the processor. The processor is used to run a program or instruction to implement the method described in the first aspect.

[0026] In a sixth aspect, a computer program / program product is provided. The computer program / program product is stored in a storage medium. The program / program product is executed by at least one processor to implement the steps of the method for generating a tactile signal described in the first aspect.

[0027] In the embodiments of the present application, when generating a tactile signal, signal attenuation information related to at least one of distance, time, an occluder, a body part, and pressure is considered. Therefore, the generated tactile signal can more accurately simulate the presentation form of the tactile signal in the real environment, improving the accuracy of the constructed tactile signal model. Description of the Drawings

[0028] Figure 1 is a schematic diagram of a system architecture applicable to the embodiments of the present application.

[0029] Figure 2 is a hierarchical structure diagram of a glTF object.

[0030] Figure 3 is a schematic diagram of a method for generating a tactile signal provided by the embodiments of the present application.

[0031] Figure 4 It is a schematic diagram of a method for attenuating tactile signals provided by an embodiment of the present application.

[0032] Figure 5 It is a schematic diagram of a device for generating tactile signals provided by an embodiment of the present application.

[0033] Figure 6 It is a schematic diagram of an electronic device provided by an embodiment of the present application.

[0034] Figure 7 It is a schematic diagram of another electronic device provided by an embodiment of the present application. Detailed implementation manners

[0035] Next, the technical solutions in the embodiments of the present application will be clearly described with reference to the accompanying drawings in the embodiments of the present application. Obviously, the described embodiments are some, but not all, of the embodiments of the present application. Based on the embodiments in the present application, all other embodiments obtained by those of ordinary skill in the art belong to the scope of protection of the present application.

[0036] The terms "first", "second", etc. in the present application are used to distinguish similar objects, rather than to describe a specific order or sequence. It should be understood that such terms can be interchanged under appropriate circumstances so that the embodiments of the present application can be implemented in an order different from those illustrated or described herein, and the objects distinguished by "first" and "second" are usually of the same category, and the number of objects is not limited. For example, the first object can be one or multiple. In addition, "or" in the present application means at least one of the connected objects. For example, "A or B" covers three scenarios, namely, Scenario 1: including A and not including B; Scenario 2: including B and not including A; Scenario 3: including both A and B. The character " / " generally indicates an "or" relationship between the associated objects before and after.

[0037] Figure 1 It is a schematic diagram of an application scenario of a method for generating tactile signals applicable to an embodiment of the present application. As Figure 1 shown, this method can be applied to a system architecture composed of a terminal 110 and a server 120, where the terminal 110 and the server 120 are connected through a network.

[0038] In a possible implementation manner, the terminal 110 can be any electronic product that can perform human-computer interaction with a user in one or more ways such as a keyboard, a touchpad, a touch screen, a remote control, voice interaction, or a handwriting device.

[0039] Exemplarily, the terminal may include, but is not limited to, the above-mentioned mobile phone, tablet personal computer, laptop computer, notebook computer, personal digital assistant (PDA), handheld computer, netbook, ultra-mobile personal computer (UMPC), mobile internet device (MID), augmented reality (AR), virtual reality (VR) device, robot, wearable device, flight vehicle, vehicle user equipment (VUE), shipborne equipment, pedestrian user equipment (PUE), smart home (home appliances with wireless communication functions, such as refrigerators, TVs, washing machines, or furniture, etc.), game console, personal computer (PC), teller machine, or self-service machine, etc., on the terminal side. Wearable devices include: smart watches, smart bracelets, smart earphones, smart glasses, smart jewelry (smart bracelets, smart bracelets, smart rings, smart necklaces, smart anklets, smart ankle chains, etc.), smart wristbands, smart clothing, etc. Among them, vehicle user equipment may also be referred to as vehicle terminal, vehicle controller, vehicle module, vehicle component, vehicle chip, or vehicle unit, etc.

[0040] In a possible implementation manner, the server 120 may be an independent physical server, or a server cluster or distributed system composed of multiple physical servers, or a cloud server that provides basic cloud computing services such as cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communication, middleware services, domain name services, security services, content delivery network (CDN), and big data and artificial intelligence platforms.

[0041] Exemplarily, the server may be an object storage service platform, or a network attached storage (NAS), etc.

[0042] In some embodiments, the terminal 110 and the server 120 may be directly or indirectly connected by wired or wireless means, and this application does not limit this.

[0043] The method for generating tactile signals according to the embodiments of the present application may be executed by the terminal 110, or may also be executed by the server 120, or may be jointly executed by the server and the terminal. When executed by the terminal 110, it may be executed by the client installed on the terminal 110.

[0044] It should be understood that the above terminal 110 and server 120 are only examples, and other existing or future possible implementation manners of other terminals or servers that are applicable to the present application should also be included within the protection scope of the present application and are hereby incorporated herein by reference.

[0045] To facilitate understanding of the embodiments of the present application, the interactivity extension technology related to the present application will be described.

[0046] The graphical language Transmit Format (glTF) is an open standard format for transmitting and loading 3D models, aiming to provide a lightweight, efficient, and extensible 3D model format for fast loading and rendering on platforms such as engines and mobile devices. The glTF format supports various 3D model elements including geometries, materials, textures, animations, and scenes. Due to its openness and efficiency, the glTF format has been widely applied in fields such as engines and mobile devices and has become an important 3D model transmission and loading standard.

[0047] Figure 2 A schematic structural diagram of a glTF file is shown. It can be seen that the glTF file includes multiple object nodes.

[0048] For example, a scene is the entry point of a glTF file. A glTF file may store multiple scenes, and each scene contains one or more nodes. A node points to a mesh, a camera, or a skin, and is used to describe various deformations of the node. Mesh: Represents a geometric object in the scene. Camera: Used to define the view configuration for rendering the scene; Skin is bound to an animation. An accessor is used as an abstract source of data and can be accessed by a mesh, a skin, and an animation, and provides geometric data, skin parameters, and animation values that change over time. A material is the appearance object when a geometric object is rendered and is used to define the appearance parameters of the geometric object. Animation: Used to define changes in nodes (such as rotation and translation); Texture: Contains a sampler and an image, which together define how to map the texture to the model. Among them, images are used to locate the picture resources; Sampler: Used to define the sampling and filtering methods of the picture. A buffer view is used to obtain real data from a buffer.

[0049] In the related art, the Moving Pictures Experts Group (MPEG) has performed interactive extensions to glTF and designed relevant standards for interactivity.

[0050] Interactivity is defined based on behaviors, and a behavior includes a trigger node and an action node. Among them, the trigger conditions of the trigger node include collision conditions, proximity conditions, visibility conditions, etc. Among them, actions include haptic feedback actions (i.e., ACTION_SET_HAPTIC), activation actions (ACTION_ACTIVATE), etc.

[0051] However, there is no interactive standard related to haptic signals in the prior art. Therefore, how to describe haptic signals is an urgent problem to be solved.

[0052] Next, in conjunction with the accompanying drawings, the method for generating haptic signals provided in the embodiments of the present application will be described in detail through some embodiments and their application scenarios.

[0053] Figure 3 is a schematic diagram of a method for generating a haptic signal provided by an embodiment of the present application. As Figure 3 shown, the method 300 includes at least the following parts:

[0054] S310, obtaining signal attenuation information of the haptic signal;

[0055] S320, generating the haptic signal according to the signal attenuation information of the haptic signal.

[0056] In some embodiments, the signal attenuation information of the haptic signal is used to describe the interaction between the haptic source and the avatar (or the object on which the haptic signal is executed). Therefore, the haptic signal can be generated according to the signal attenuation information of the haptic signal.

[0057] In some embodiments, the method can be executed by an electronic device. For example, it can be executed by the terminal 110 of Figure 1 , or it can also be executed by the server 120 of Figure 1 . The present application does not limit this.

[0058] In some embodiments, the signal attenuation information of the haptic signal includes at least one of the following:

[0059] Signal attenuation information related to distance;

[0060] Signal attenuation information related to time;

[0061] Signal attenuation information related to the occluder;

[0062] Signal attenuation information related to the body part;

[0063] Signal attenuation information related to pressure.

[0064] That is, in the embodiments of the present application, when constructing the haptic signal model, the signal attenuation related to at least one of the factors of distance, time, occluder, body part, and pressure is considered, which is beneficial to ensuring that the haptic signal model provided by the embodiments of the present application can more accurately simulate the presentation form of the haptic signal in the real environment and improve the accuracy of the haptic signal model.

[0065] It should be understood that the present application does not limit the type of the haptic signal. For example, the haptic signal can be triggered by vibration, heat energy, wind, rain, etc.

[0066] In some embodiments, the signal attenuation information of the haptic signal is carried in the first object. For example, the first object includes at least one of the following:

[0067] The haptic source object corresponding to the haptic signal, the avatar object corresponding to the haptic signal, the trigger node object corresponding to the haptic signal, the action node object (or trigger action object, i.e., HapticActionNode object) corresponding to the haptic signal, and the occluder object corresponding to the haptic signal.

[0068] In some embodiments, the signal attenuation information of the haptic signal may be carried in the attribute information of the first object.

[0069] It should be understood that the signal attenuation information of the haptic signal may be carried in the same object, or may also be carried in multiple objects. This application does not make any limitations in this regard. For example, some of the information in the signal attenuation information of the haptic signal is carried in the haptic source object, and the remaining information is carried in the action node object.

[0070] In some embodiments, the first object may be a glTF object.

[0071] In some embodiments, when the signal attenuation information of the haptic signal is carried in the trigger action node object, the signal attenuation information of the haptic signal may be carried in the child node of the trigger action node object, for example, carried in the trigger action media object (HapticActionMedia object), where the trigger action media object points to the haptic data file object. For example, the trigger action media object includes the address information of the haptic data file.

[0072] In some embodiments of this application, S310 includes:

[0073] Obtain a first object;

[0074] Perform parsing processing on the first object to obtain the signal attenuation information of the haptic signal.

[0075] In some embodiments, the first object may be obtained locally by the haptic signal generation device, or may also be obtained from other devices, such as obtained from a server, which may be an object storage service platform, or a Network Attached Storage (NAS), etc.

[0076] In some embodiments of this application, S320 includes:

[0077] Render the haptic signal according to the signal attenuation information of the haptic signal.

[0078] In some embodiments, the haptic signal generation device may include a presentation engine that can render the haptic signal according to the signal attenuation information of the haptic signal.

[0079] In some embodiments, the first object is associated with one or more scenes. Rendering the haptic signal may include rendering the haptic signal in the scene associated with the first object.

[0080] For example, in the scene where the first object is located, render the haptic source and the haptic signal execution object (i.e., the avatar), determine the distance between the haptic source and the haptic signal execution object, determine whether there is an occluder between the haptic source and the haptic signal execution object, and then render the haptic signal according to the signal attenuation information related to the distance and the signal attenuation information related to the occluder.

[0081] For another example, in the scene where the first object is located, render the haptic source and the haptic signal execution object (i.e., the avatar), and render the haptic signal according to the trigger time of the haptic signal and the signal attenuation information related to time.

[0082] For still another example, in the scene where the first object is located, render the haptic source and the haptic signal execution object (i.e., the avatar), and render the haptic signals of different body parts of the haptic signal execution object according to the signal attenuation information related to the body parts.

[0083] For yet another example, in the scene where the first object is located, render the haptic source and the haptic signal execution object (i.e., the avatar), and render the haptic signal felt by the haptic signal execution object according to the force of contact or pressure of the haptic signal execution object on the haptic source, in combination with the signal attenuation information related to pressure.

[0084] Hereinafter, in combination with specific embodiments, the specific implementations of the above several signal attenuation information will be described separately.

[0085] Embodiment 1: Signal attenuation information related to distance

[0086] In some embodiments, the signal attenuation information related to distance can be used to characterize the signal attenuation caused by the distance factor. For example, the shock or heat energy caused by an explosion will attenuate as the distance from the explosion center increases.

[0087] In some embodiments, the signal attenuation information related to distance includes but is not limited to at least one of the following:

[0088] A signal attenuation parameter for determining the attenuation amount of the haptic signal;

[0089] An indication of the signal attenuation mode of the haptic signal;

[0090] An enable or disable indication for indicating whether to enable the distance-related signal attenuation information when generating the haptic signal;

[0091] A haptic signal type indication for indicating the type of the haptic signal to which the distance-related signal attenuation information applies.

[0092] Exemplarily, each piece of information in the distance-related signal attenuation information may be carried in at least one of the following objects:

[0093] The haptic source object corresponding to the haptic signal, the avatar object corresponding to the haptic signal, the trigger node object corresponding to the haptic signal, the action node object corresponding to the haptic signal (e.g., carried in a child node of the action node object, such as a trigger action media object).

[0094] In some embodiments, the signal attenuation mode indication of the haptic signal is used to indicate at least one of the following modes:

[0095] Attenuating by a fixed attenuation amount, attenuating based on a preset signal attenuation mode (e.g., based on a preset signal attenuation formula), attenuating based on a custom signal attenuation mode (e.g., based on a custom signal attenuation formula).

[0096] In some embodiments, when there are multiple preset signal attenuation modes, the signal attenuation mode indication of the haptic signal may further indicate the target preset signal attenuation mode among the multiple preset signal attenuation modes, e.g., indicating the target signal attenuation formula among multiple preset signal attenuation formulas.

[0097] In some embodiments, the multiple preset signal attenuation modes include but are not limited to at least one of the following:

[0098] Inverse distance attenuation mode, linear distance attenuation mode, exponential distance attenuation mode, inverse square attenuation mode.

[0099] In some embodiments, for the inverse distance attenuation mode, the following formula (or inverse distance attenuation formula) may be used to determine the feedback strength ida(d, md, rf) of the haptic signal:

[0100]

[0101] Where md is the maximum distance, rf is the attenuation coefficient (roll factor), rd is the reference distance, and d is the distance for calculating the distance gain.

[0102] In some embodiments, for the linear distance attenuation mode, the following formula (or linear distance attenuation formula) may be used to determine the feedback strength lda(d, md, rf) of the haptic signal:

[0103]

[0104] Among them, md is the maximum distance, rf is the attenuation coefficient (roll factor), rd is the reference distance, and d is the distance for calculating the distance gain.

[0105] In some embodiments, for the exponential distance attenuation mode, the following formula (or the exponential distance attenuation formula) can be used to determine the feedback strength eda(d, md, rf) of the tactile signal:

[0106]

[0107] Among them, md is the maximum distance, rf is the attenuation coefficient (roll factor), rd is the reference distance, and d is the distance for calculating the distance gain.

[0108] In some embodiments, the signal attenuation parameter may include one of the following parameters:

[0109] Attenuation coefficient α, the initial tactile feedback strength F obtained from the tactile source max ;

[0110] Among them, the attenuation coefficient is inversely proportional to the square of the distance. Specifically, for example, when the distance R from the tactile source is within the target range (e.g., D min <R≤D max ), the attenuation coefficient is inversely proportional to the square of the distance.

[0111] In some embodiments, the S320 may include:

[0112] Determine the feedback strength of the tactile signal according to the signal attenuation parameter;

[0113] Generate the tactile signal according to the feedback strength of the tactile signal.

[0114] For example, according to the following formula, determine the feedback strength F of the tactile signal:

[0115] F = αF max

[0116] Among them, α is the attenuation coefficient, and F max represents the initial feedback strength obtained from the tactile source;

[0117] Among them, the variation function of α can be expressed as:

[0118]

[0119] Among them, α min is the minimum value of the attenuation coefficient, D min and Dmin Is a predefined value.

[0120] That is, within a certain distance range, such as less than D min it can be considered that the feedback intensity of the tactile signal does not decay, that is, the attenuation coefficient α is set to 1. After exceeding a certain distance range, such as greater than D max , the attenuation coefficient α is set to 0.

[0121] In some embodiments,

[0122] The relationship between the feedback intensity of the tactile signal and the distance obtained from this function is as Figure 4 shown, where the feedback intensity of the tactile signal is a monotonically decreasing interval between the minimum and maximum distances.

[0123] In some embodiments, the custom signal attenuation method can be a signal attenuation method customized by the device manufacturer, that is, not the signal attenuation method specified by the standard.

[0124] In some embodiments, the signal attenuation parameter includes a fixed attenuation amount.

[0125] For example, when using a fixed attenuation amount for attenuation, the target attenuation amount used for signal attenuation can be further indicated. For example, this fixed attenuation amount can be infinite, or it can be 0, or it can be other values. Or, the target attenuation amount used for signal attenuation may not be indicated. In this case, signal attenuation is performed based on the default attenuation amount, and this default attenuation amount can be predefined or set by the user.

[0126] In some embodiments, when using a preset signal attenuation method for attenuation, the signal attenuation parameter includes the parameter used to calculate the attenuation amount of the tactile signal based on the target preset signal attenuation method.

[0127] For example, when using a preset signal attenuation method for attenuation, this signal attenuation parameter can be carried in the first object, such as carried in the tactile source object or the action node object.

[0128] In some embodiments, when using the inverse distance attenuation method, the linear distance attenuation method, or the exponential distance attenuation method, the signal attenuation parameter can include at least one of the following parameters:

[0129] md represents the maximum distance, rf represents the attenuation coefficient (roll factor), rd represents the reference distance, and d represents the distance for calculating the distance gain.

[0130] In some embodiments, when using the inverse square attenuation method, the signal attenuation parameter can include at least one of the following parameters:

[0131] α, representing the attenuation coefficient varying with the distance R, D min , D max .

[0132] Optionally, when there are multiple preset signal attenuation methods, the signal attenuation method indication is used to indicate the target signal attenuation method among the multiple preset signal attenuation methods and the signal attenuation parameters involved in the target signal attenuation method. Both the signal attenuation method indication and the signal attenuation parameters can be carried in the first object, for example, carried in the tactile source object or the action node object.

[0133] In some embodiments, when based on a custom signal attenuation method, the signal attenuation information of the tactile signal may include custom signal attenuation parameters.

[0134] In some embodiments, the enable or disable indication is used to indicate whether to enable the distance-related signal attenuation information when generating the tactile signal (or, whether to enable the signal attenuation parameters and / or the signal attenuation method indication), or rather, to determine whether to consider the signal attenuation caused by the distance factor when generating the tactile signal.

[0135] In some embodiments, when the enable or disable indication is used to indicate enabling the distance-related signal attenuation information, the distance-related signal attenuation information is considered when generating the tactile signal. When disabling the distance-related signal attenuation information, the distance-related signal attenuation information is not considered when generating the tactile signal.

[0136] In some embodiments, the tactile signal type indication is used to indicate the type of the tactile signal to which the distance-related signal attenuation information applies.

[0137] In some embodiments, the signal attenuation caused by the distance factor may be effective only for specific types (such as vibration, heat energy) of tactile signals, or rather, only for specific types of trigger sources, such as vibration, heat energy, etc. Therefore, when describing the signal attenuation information caused by the distance factor, the type of tactile signal to which it applies can be added. In this way, for the tactile signals of this type of tactile signal, this signal attenuation information can be used to generate tactile signals, which is beneficial to ensuring the accuracy of the tactile signal model.

[0138] Embodiment 2: Time-related signal attenuation information

[0139] In some embodiments, the time-related signal attenuation information may be used to characterize the signal attenuation caused by the time factor. For example, the shock or temperature caused by an explosion will decay over time.

[0140] In some embodiments, the time-related signal attenuation information includes at least one of the following:

[0141] A signal attenuation parameter, used to determine the attenuation amount of the haptic signal;

[0142] An indication of the signal attenuation mode of the haptic signal;

[0143] An enable or disable indication, used to indicate whether to enable the time-related signal attenuation information when generating the haptic signal;

[0144] A haptic signal type indication, used to indicate the type of the haptic signal to which the time-related signal attenuation information applies.

[0145] Exemplarily, each piece of information in the time-related signal attenuation information can be carried in at least one of the following objects:

[0146] The haptic source object corresponding to the haptic signal, the avatar object corresponding to the haptic signal, the trigger node object corresponding to the haptic signal, the action node object corresponding to the haptic signal (for example, carried in a child node of the action node object, such as a trigger action media object).

[0147] In some embodiments, the indication of the signal attenuation mode of the haptic signal is used to indicate at least one of the following modes:

[0148] Attenuating by a fixed attenuation amount, attenuating based on a preset signal attenuation mode (for example, based on a preset signal attenuation formula), attenuating based on a custom signal attenuation mode (for example, based on a custom signal attenuation formula).

[0149] In some embodiments, when there are multiple preset signal attenuation modes, the indication of the signal attenuation mode of the haptic signal can further indicate the target preset signal attenuation mode among the multiple preset signal attenuation modes, for example, indicating the target signal attenuation formula among multiple preset signal attenuation formulas.

[0150] In some embodiments, the custom signal attenuation mode can be a signal attenuation mode customized by the device manufacturer, that is, not a signal attenuation mode specified by the standard.

[0151] In some embodiments, the signal attenuation parameter includes a fixed attenuation amount.

[0152] For example, when attenuating by a fixed attenuation amount, it can further indicate the target attenuation amount used for signal attenuation. For example, this fixed attenuation amount can be infinite, or it can be 0, or it can be other values. Or, it can also not indicate the target attenuation amount used for signal attenuation. In this case, signal attenuation is performed based on the default attenuation amount, and this default attenuation amount can be predefined or set by the user.

[0153] In some embodiments, when attenuating using a preset signal attenuation method, the signal attenuation parameter includes a parameter used to calculate the attenuation amount of the haptic signal based on the target preset signal attenuation method.

[0154] For example, when attenuating using a preset signal attenuation method, the signal attenuation parameter can be carried in a first object, such as a haptic source object or an action node object.

[0155] Optionally, when there are multiple preset signal attenuation methods, the signal attenuation method indication is used to indicate the target signal attenuation method among the multiple preset signal attenuation methods and the signal attenuation parameter related to the target signal attenuation method. Both the signal attenuation method indication and the signal attenuation parameter can be carried in the first object, such as a haptic source object or an action node object.

[0156] In some embodiments, when based on a custom signal attenuation method, the signal attenuation information of the haptic signal can include custom signal attenuation parameters.

[0157] In some embodiments, the enable or disable indication is used to indicate whether to enable the time-related signal attenuation information (or, whether to enable the signal attenuation parameter and / or the signal attenuation method indication) when generating the haptic signal, or, whether to consider the signal attenuation caused by time factors when generating the haptic signal.

[0158] In some embodiments, when the enable or disable indication is used to indicate enabling the time-related signal attenuation information, when generating the haptic signal, consider the time-related signal attenuation information. When disabling the time-related signal attenuation information, when generating the haptic signal, do not consider the time-related signal attenuation information.

[0159] In some embodiments, the haptic signal type indication is used to indicate the type of haptic signal to which the time-related signal attenuation information applies.

[0160] In some embodiments, the signal attenuation caused by time factors can be effective only for specific types (such as vibration, heat energy) of haptic signals, or, only for specific types of trigger sources, such as vibration, heat energy, etc. Therefore, when describing the signal attenuation information caused by time factors, the type of haptic signal to which it applies can be added. In this way, for haptic signals of this type of haptic signal, this signal attenuation information can be used to generate haptic signals, which is beneficial to ensuring the accuracy of the haptic signal model.

[0161] Embodiment 3: Signal attenuation information related to an occluder

[0162] In some embodiments, the signal attenuation information related to the occluder can be used to characterize the signal attenuation caused by the occluder. For example, an occluder such as a wall will block the vibration or heat energy brought by an explosion.

[0163] In some embodiments, the signal attenuation information related to the occluder includes at least one of the following:

[0164] A signal attenuation parameter for determining the attenuation amount of the haptic signal;

[0165] An indication of the signal attenuation mode of the haptic signal;

[0166] An enable or disable indication for indicating whether to enable the signal attenuation information related to the occluder when generating the haptic signal;

[0167] A haptic signal type indication for indicating the type of the haptic signal to which the signal attenuation information related to the occluder applies.

[0168] Exemplarily, each piece of information in the signal attenuation information related to the occluder can be carried in at least one of the following objects:

[0169] The haptic source object corresponding to the haptic signal, the avatar object corresponding to the haptic signal, the trigger node object corresponding to the haptic signal, the action node object corresponding to the haptic signal, the occluder object corresponding to the haptic signal (for example, carried in a child node of the action node object, such as a trigger action media object).

[0170] In some embodiments, the indication of the signal attenuation mode of the haptic signal is used to indicate at least one of the following modes:

[0171] Attenuation by a fixed attenuation amount, attenuation based on a preset signal attenuation mode (e.g., based on a preset signal attenuation formula), attenuation based on a custom signal attenuation mode (e.g., based on a custom signal attenuation formula).

[0172] In some embodiments, when there are multiple preset signal attenuation modes, the indication of the signal attenuation mode of the haptic signal can also indicate the target preset signal attenuation mode among the multiple preset signal attenuation modes, for example, indicating the target signal attenuation formula among multiple preset signal attenuation formulas.

[0173] In some embodiments, the custom signal attenuation mode can be a signal attenuation mode customized by the device manufacturer, that is, it is not a signal attenuation mode specified by the standard.

[0174] In some embodiments, the signal attenuation parameter includes a fixed attenuation amount.

[0175] For example, when using a fixed attenuation amount for attenuation, the target attenuation amount used for signal attenuation can be further indicated. For example, the fixed attenuation amount can be infinite, or it can be 0, or it can be other values. Alternatively, the target attenuation amount used for signal attenuation may not be indicated. In this case, signal attenuation is performed based on the default attenuation amount, which can be predefined or set by the user.

[0176] In some embodiments, when using a preset signal attenuation method for attenuation, the signal attenuation parameter includes a parameter used to calculate the attenuation amount of the tactile signal based on the target preset signal attenuation method.

[0177] For example, when using attenuation based on a preset signal attenuation method, the signal attenuation parameter can be carried in a first object, such as a tactile source object or an action node object.

[0178] Optionally, when there are multiple preset signal attenuation methods, the signal attenuation method indication is used to indicate the target signal attenuation method among the multiple preset signal attenuation methods and the signal attenuation parameter involved in the target signal attenuation method. Both the signal attenuation method indication and the signal attenuation parameter can be carried in the first object, such as a tactile source object or an action node object.

[0179] In some embodiments, when based on a custom signal attenuation method, the signal attenuation information of the tactile signal can include custom signal attenuation parameters.

[0180] In some embodiments, the enable or disable indication is used to indicate whether to enable the signal attenuation information related to the occluder (or whether to enable the signal attenuation parameter and / or the signal attenuation method indication) when generating the tactile signal, or in other words, to determine whether to consider the signal attenuation caused by the occluder when generating the tactile signal.

[0181] In some embodiments, when the enable or disable indication is used to indicate enabling the signal attenuation information related to the occluder, the signal attenuation information related to the occluder is considered when generating the tactile signal. When disabling the signal attenuation information related to the occluder, the signal attenuation information related to the occluder is not considered when generating the tactile signal.

[0182] In some embodiments, the tactile signal type indication is used to indicate the type of the tactile signal to which the signal attenuation information related to the occluder applies.

[0183] In some embodiments, the signal attenuation caused by the occluder factor may be effective only for specific types of tactile signals (such as vibration, thermal energy), or rather, only for specific types of trigger sources, such as vibration, thermal energy, etc. Therefore, when describing the signal attenuation information caused by the occluder factor, the type of tactile signal to which it applies can be added. In this way, for the tactile signals of this type of tactile signal, this signal attenuation information can be used to generate tactile signals, which is beneficial to ensuring the accuracy of the tactile signal model.

[0184] In some embodiments, the attribute information of the first object includes an occluder indication, and the occluder indication is used to indicate whether the first object is an occluder. For example, when the first object is an occluder, the tactile signal is generated according to the signal attenuation information related to the occluder. When the first object is not an occluder, the signal attenuation information related to the occluder is not considered when generating the tactile signal.

[0185] Embodiment 4: Signal attenuation information related to body parts

[0186] In some embodiments, the signal attenuation information related to body parts can be used to characterize the signal attenuation caused by the different tactile sensitivities of different body parts. For example, the tactile sensitivities of different body parts of the human body are not the same. For example, the fingertips are highly sensitive, while the back of the hand is less sensitive. Therefore, the tactile signals perceived by different body parts are also different.

[0187] In some embodiments, the signal attenuation information related to body parts includes at least one of the following:

[0188] A signal attenuation parameter for determining the attenuation amount of the tactile signal;

[0189] An indication of the signal attenuation mode of the tactile signal;

[0190] An enable or disable indication for indicating whether to enable the signal attenuation information related to body parts when generating the tactile signal;

[0191] A tactile signal type indication for indicating the type of tactile signal to which the signal attenuation information related to body parts applies;

[0192] A body part identifier for indicating the body part to which the signal attenuation parameter or the signal attenuation mode indication applies.

[0193] Exemplarily, each piece of information in the signal attenuation information related to body parts can be carried in at least one of the following objects:

[0194] The haptic source object corresponding to the haptic signal, the avatar object corresponding to the haptic signal, the trigger node object corresponding to the haptic signal, the action node object corresponding to the haptic signal (e.g., carried in a child node of the action node object, such as a trigger action media object).

[0195] In some embodiments, the signal attenuation mode of the haptic signal is used to indicate at least one of the following ways:

[0196] Attenuate by a fixed attenuation amount, attenuate based on a preset signal attenuation mode (e.g., based on a preset signal attenuation formula), attenuate based on a custom signal attenuation mode (e.g., based on a custom signal attenuation formula).

[0197] In some embodiments, when there are multiple preset signal attenuation modes, the signal attenuation mode indication of the haptic signal can also indicate the target preset signal attenuation mode among the multiple preset signal attenuation modes, e.g., indicate the target signal attenuation formula among multiple preset signal attenuation formulas.

[0198] In some embodiments, the custom signal attenuation mode can be a signal attenuation mode customized by the device manufacturer, i.e., not a signal attenuation mode specified by the standard.

[0199] In some embodiments, the signal attenuation parameter includes a fixed attenuation amount.

[0200] For example, when attenuating by a fixed attenuation amount, it can further indicate the target attenuation amount used for signal attenuation. For example, this fixed attenuation amount can be infinite, or it can be 0, or it can be other values. Or, it can also not indicate the target attenuation amount used for signal attenuation. In this case, signal attenuation is performed based on the default attenuation amount, and this default attenuation amount can be predefined or set by the user.

[0201] In some embodiments, when attenuating based on a preset signal attenuation mode, the signal attenuation parameter includes the parameter used to calculate the attenuation amount of the haptic signal based on the target preset signal attenuation mode.

[0202] For example, when attenuating based on a preset signal attenuation mode, this signal attenuation parameter can be carried in the first object, e.g., carried in the haptic source object or the action node object.

[0203] Optionally, when there are multiple preset signal attenuation modes, the signal attenuation mode indication is used to indicate the target signal attenuation mode among the multiple preset signal attenuation modes and the signal attenuation parameter involved in the target signal attenuation mode. Both the signal attenuation mode indication and the signal attenuation parameter can be carried in the first object, e.g., carried in the haptic source object or the action node object.

[0204] In some embodiments, when based on a custom signal attenuation method, the signal attenuation information of the haptic signal may include custom signal attenuation parameters.

[0205] In some embodiments, the enable or disable indication is used to indicate whether to enable the signal attenuation information related to the body part (or, whether to enable the signal attenuation parameter and / or the signal attenuation method indication) when generating the haptic signal, or rather, to determine whether to consider the signal attenuation caused by the body part when generating the haptic signal.

[0206] In some embodiments, when the enable or disable indication is used to indicate enabling the signal attenuation information related to the body part, the signal attenuation information related to the body part is considered when generating the haptic signal. When disabling the signal attenuation information related to the body part, the signal attenuation information related to the body part is not considered when generating the haptic signal.

[0207] In some embodiments, the haptic signal type indication is used to indicate the type of haptic signal to which the signal attenuation information related to the body part applies.

[0208] In some embodiments, the signal attenuation caused by the body part factor may be effective only for a specific type (such as thermal energy) of haptic signal, or rather, only for a specific type of trigger source, such as thermal energy, etc. Therefore, when describing the signal attenuation information caused by the body part factor, the type of haptic signal to which it applies can be added. In this way, for the haptic signal of this haptic signal type, this signal attenuation information can be used to generate the haptic signal, which is beneficial to ensuring the accuracy of the haptic signal model.

[0209] In some embodiments, the body part identifier is used to indicate the body part for which the signal attenuation parameter and / or the signal attenuation method indication are used. Optionally, the signal attenuation information related to the body part may include at least one signal attenuation information related to the body part.

[0210] For example, set the sensitivity value S of each body part of the haptic signal execution object, for example, the value range is [0.0, 1.0], which is used to describe the ratio of the feedback intensity of this body part to sense the haptic signal, and the final perceived feedback intensity F of the haptic signal p = S * F, where F is the original feedback intensity value.

[0211] Embodiment 5: Signal attenuation information related to pressure

[0212] In some embodiments, different signal attenuation or enhancement may be caused by different granularities of contact or pressure, and the pressure-related signal attenuation information can be used to characterize the signal attenuation or enhancement caused by different pressures. For example, the greater the pressing force (the degree of deformation), the stronger the tactile signal.

[0213] In some embodiments, the pressure-related signal attenuation information includes at least one of the following:

[0214] A signal attenuation parameter for determining the attenuation amount of the tactile signal;

[0215] An indication of the signal attenuation mode of the tactile signal;

[0216] An enable or disable indication for indicating whether to enable the pressure-related signal attenuation information when generating the tactile signal;

[0217] A tactile signal type indication for indicating the type of tactile signal to which the pressure-related signal attenuation information applies.

[0218] Exemplarily, each piece of information in the signal attenuation information related to the body part can be carried in at least one of the following objects:

[0219] The tactile source object corresponding to the tactile signal, the avatar object corresponding to the tactile signal, the trigger node object corresponding to the tactile signal, the action node object corresponding to the tactile signal (for example, carried in the child node of the action node object, such as the trigger action media object).

[0220] In some embodiments, the indication of the signal attenuation mode of the tactile signal is used to indicate at least one of the following modes:

[0221] Attenuation by a fixed attenuation amount, attenuation based on a preset signal attenuation mode (e.g., based on a preset signal attenuation formula), attenuation based on a custom signal attenuation mode (e.g., based on a custom signal attenuation formula).

[0222] In some embodiments, when there are multiple preset signal attenuation modes, the indication of the signal attenuation mode of the tactile signal can also indicate the target preset signal attenuation mode among the multiple preset signal attenuation modes, for example, indicating the target signal attenuation formula among multiple preset signal attenuation formulas.

[0223] In some embodiments, the custom signal attenuation mode can be a signal attenuation mode customized by the device manufacturer, that is, not a signal attenuation mode specified by the standard.

[0224] In some embodiments, the signal attenuation parameter includes a fixed attenuation amount.

[0225] For example, when using a fixed attenuation amount for attenuation, the target attenuation amount used for signal attenuation can be further indicated. For example, this fixed attenuation amount can be infinite, or it can be 0, or it can be other values. Alternatively, the target attenuation amount used for signal attenuation can also not be indicated. In this case, signal attenuation is performed based on the default attenuation amount, and this default attenuation amount can be predefined or set by the user.

[0226] In some embodiments, when using a preset signal attenuation method for attenuation, the signal attenuation parameter includes a parameter used to calculate the attenuation amount of the haptic signal based on the target preset signal attenuation method.

[0227] For example, when using attenuation based on a preset signal attenuation method, this signal attenuation parameter can be carried in a first object, such as in a haptic source object or an action node object.

[0228] Optionally, when there are multiple preset signal attenuation methods, the signal attenuation method indication is used to indicate the target signal attenuation method among the multiple preset signal attenuation methods and the signal attenuation parameters involved in the target signal attenuation method. Both the signal attenuation method indication and the signal attenuation parameters can be carried in the first object, such as in a haptic source object or an action node object.

[0229] In some embodiments, when based on a custom signal attenuation method, the signal attenuation information of the haptic signal can include custom signal attenuation parameters.

[0230] In some embodiments, the enable or disable indication is used to indicate whether to enable the pressure-related signal attenuation information (or, whether to enable the signal attenuation parameters and / or the signal attenuation method indication) when generating the haptic signal, or rather, to determine whether to consider signal attenuation caused by pressure when generating the haptic signal.

[0231] In some embodiments, when the enable or disable indication is used to indicate enabling the pressure-related signal attenuation information, when generating the haptic signal, the pressure-related signal attenuation information is considered. When disabling the signal attenuation information related to the body part, when generating the haptic signal, the pressure-related signal attenuation information is not considered.

[0232] In some embodiments, the haptic signal type indication is used to indicate the type of haptic signal to which the pressure-related signal attenuation information applies.

[0233] It should be understood that in the above Embodiments 1-5, the signal attenuation type indications can be the same or different.

[0234] In some embodiments, the signal attenuation parameter is associated with at least one of the following: the type of the haptic signal, the frequency of the haptic signal. For example, the signal attenuation parameter is only effective for a specific type of haptic signal. For another example, the signal attenuation parameter is only effective for haptic signals within a certain frequency range, or haptic signals within different frequency ranges correspond to different signal attenuation parameters.

[0235] For example, the association relationship between the type of the haptic signal and the signal attenuation parameter can also be carried in the first object, for example, carried in the haptic source object or the action node object. For example, it is carried in the first object in the form of a <haptic signal type, signal attenuation parameter> binary tuple.

[0236] For another example, the association relationship between the frequency of the haptic signal and the signal attenuation parameter can also be carried in the first object, for example, carried in the haptic source object or the action node object. For example, it is carried in the first object in the form of a <frequency of the haptic signal, signal attenuation parameter> binary tuple.

[0237] In summary, in the embodiments of the present application, when generating a haptic signal, the signal attenuation information related to at least one of distance, time, occluder, body part, and pressure is considered. Therefore, the haptic signal generated in the embodiments of the present application can more accurately simulate the presentation form of the haptic signal in the real environment, improving the accuracy of the constructed haptic signal model.

[0238] As described above in conjunction with Figures 3 to 4 , the method embodiments of the present application have been described in detail. Below in conjunction with Figures 5 to 7 , the device embodiments of the present application will be described in detail. It should be understood that the device embodiments correspond to the method embodiments, and similar descriptions can refer to the method embodiments.

[0239] In the embodiments of the present application, the execution subject of the method for generating a haptic signal can be a device for generating a haptic signal. In the embodiments of the present application, taking the device for generating a haptic signal as an example to execute the method for generating a haptic signal, the device for generating a haptic signal provided in the embodiments of the present application will be described.

[0240] Figure 5 Fig. shows a schematic block diagram of a device 500 for generating a haptic signal according to an embodiment of the present application. As Figure 5 shown, the device 500 includes:

[0241] An acquisition unit 510, configured to acquire signal attenuation information of a haptic signal;

[0242] A generation unit 520, configured to generate the haptic signal according to the signal attenuation information of the haptic signal;

[0243] Wherein, the signal attenuation information of the haptic signal includes at least one of the following:

[0244] Distance-related signal attenuation information;

[0245] Time-related signal attenuation information;

[0246] Occlusion-related signal attenuation information;

[0247] Body part-related signal attenuation information;

[0248] Pressure-related signal attenuation information.

[0249] In some embodiments, the distance-related signal attenuation information includes at least one of the following:

[0250] A signal attenuation parameter for determining the attenuation amount of the haptic signal;

[0251] An indication of the signal attenuation mode of the haptic signal;

[0252] An enable or disable indication for indicating whether to enable the distance-related signal attenuation information when generating the haptic signal;

[0253] A haptic signal type indication for indicating the type of haptic signal to which the distance-related signal attenuation information applies.

[0254] In some embodiments, the time-related signal attenuation information includes at least one of the following:

[0255] A signal attenuation parameter for determining the attenuation amount of the haptic signal;

[0256] An indication of the signal attenuation mode of the haptic signal;

[0257] An enable or disable indication for indicating whether to enable the time-related signal attenuation information when generating the haptic signal;

[0258] A haptic signal type indication for indicating the type of haptic signal to which the time-related signal attenuation information applies.

[0259] In some embodiments, the occlusion-related signal attenuation information includes at least one of the following:

[0260] A signal attenuation parameter for determining the attenuation amount of the haptic signal;

[0261] An indication of the signal attenuation mode of the haptic signal;

[0262] An enable or disable indication for indicating whether to enable the occlusion-related signal attenuation information when generating the haptic signal;

[0263] A haptic signal type indication for indicating the type of haptic signal to which the signal attenuation information related to the occluder applies.

[0264] In some embodiments, the signal attenuation information related to the body part includes at least one of the following:

[0265] A signal attenuation parameter for determining the attenuation amount of the haptic signal;

[0266] An indication of the signal attenuation mode of the haptic signal;

[0267] An enable or disable indication for indicating whether to enable the signal attenuation information related to the body part when generating the haptic signal;

[0268] A haptic signal type indication for indicating the type of haptic signal to which the signal attenuation information related to the body part applies;

[0269] A body part identifier for indicating the body part to which the signal attenuation parameter or the indication of the signal attenuation mode applies.

[0270] In some embodiments, the signal attenuation information related to the pressure includes at least one of the following:

[0271] A signal attenuation parameter for determining the attenuation amount of the haptic signal;

[0272] An indication of the signal attenuation mode of the haptic signal;

[0273] An enable or disable indication for indicating whether to enable the signal attenuation information related to the pressure when generating the haptic signal;

[0274] A haptic signal type indication for indicating the type of haptic signal to which the signal attenuation information related to the pressure applies.

[0275] In some embodiments, the signal attenuation parameter includes a fixed attenuation amount; or

[0276] The signal attenuation parameter includes a parameter used to calculate the attenuation amount of the haptic signal based on a target preset signal attenuation mode; or

[0277] The signal attenuation information of the haptic signal includes custom parameters.

[0278] In some embodiments, the indication of the signal attenuation mode of the haptic signal is used to indicate at least one of the following attenuation modes:

[0279] Attenuate by a fixed attenuation amount, attenuate based on a preset signal attenuation method, and attenuate based on a custom signal attenuation method. In some embodiments, when the signal attenuation parameter is a signal attenuation parameter in the distance-related signal attenuation information, the target preset signal attenuation method includes at least one of the following:

[0280] Inverse distance attenuation method, linear distance attenuation method, exponential distance attenuation method, inverse square attenuation method.

[0281] In some embodiments, the signal attenuation parameter includes at least one of the following:

[0282] Attenuation coefficient, initial feedback strength obtained from the tactile source;

[0283] Wherein, the attenuation coefficient is inversely proportional to the square of the distance.

[0284] Determine the feedback strength of the tactile signal according to the signal attenuation parameter;

[0285] Generate the tactile signal according to the feedback strength of the tactile signal.

[0286] In some embodiments, the generating unit 520 is further configured to:

[0287] Determine the feedback strength F of the tactile signal according to the following formula:

[0288] F = αF max

[0289] Wherein, α is the attenuation coefficient, and F max represents the initial feedback strength obtained from the tactile source;

[0290] Wherein, the variation function of α can be expressed as:

[0291]

[0292] Wherein, α min is the minimum value of the attenuation coefficient, D min and D min are predefined values.

[0293] In some embodiments, the signal attenuation parameter is associated with at least one of the following: the type of the tactile signal, the frequency of the tactile signal.

[0294] In some embodiments, the signal attenuation information of the tactile signal is carried in the first object, and the obtaining unit 510 is further configured to:

[0295] Perform parsing processing on the first object to obtain the signal attenuation information of the tactile signal.

[0296] In some embodiments, the first object includes at least one of the following:

[0297] The haptic source object corresponding to the haptic signal, the avatar object corresponding to the haptic signal, the trigger node object corresponding to the haptic signal, the action node object corresponding to the haptic signal, and the occluder object corresponding to the haptic signal.

[0298] In some embodiments, the attribute information of the first object includes an occluder indication, and the occluder indication is used to indicate whether the first object is an occluder.

[0299] In some embodiments, the generating unit 520 is further configured to:

[0300] When the occluder indication is used to indicate that the first object is an occluder, generate the haptic signal according to the signal attenuation information related to the occluder.

[0301] In some embodiments, the generating unit 520 is further configured to:

[0302] Render the haptic signal according to the signal attenuation information of the haptic signal.

[0303] Optionally, in some embodiments, the obtaining unit or the generating unit described above may be one or more processors.

[0304] It should be understood that the device 500 according to the embodiments of the present application may correspond to the haptic signal generating device in the method embodiments of the present application, and the above and other operations and / or functions of each unit in the device 500 are respectively for implementing Figures 3 to 4 The corresponding processes of the haptic signal generating device in the method embodiments shown, and achieve the same technical effects. To avoid repetition, they are not described herein again.

[0305] In some embodiments, the device 500 in the embodiments of the present application may be an electronic device, such as an electronic device with an operating system, or a component in an electronic device, such as an integrated circuit or a chip. The electronic device may be a terminal or other devices other than the terminal. Exemplarily, the terminal may include, but is not limited to, the types of the terminal 11 listed above, and other devices may be a server, a Network Attached Storage (NAS), etc. The embodiments of the present application do not make specific limitations.

[0306] The embodiments of the present application further provide an electronic device 1000, such as Figure 6As shown, it includes a processor 1001 and a memory 1002. Programs or instructions that can run on the processor 1001 are stored in the memory 1002. For example, when the communication device 1000 is a tactile signal generating device, when the program or instruction is executed by the processor 1001, it implements the steps executed by the tactile signal generating device in the above-mentioned positioning method embodiments and can achieve the same technical effects. To avoid repetition, details are not described here again.

[0307] An embodiment of the present application also provides another electronic device, including a processor and a communication interface. The communication interface is coupled to the processor. The processor is used to run programs or instructions to implement the steps in the method embodiment as Figures 3 to 4 shown. For example, when the tactile signal generating device is an electronic device, each implementation process and implementation method of the above method embodiment can be applied to this electronic device embodiment and can achieve the same technical effects.

[0308] Specifically, Figure 7 is a schematic diagram of the hardware structure of an electronic device for implementing an embodiment of the present application. The electronic device 1100 includes, but is not limited to, at least some components such as a radio frequency unit 1101, a network module 1102, an audio output unit 1103, an input unit 1104, a sensor 1105, a display unit 1106, a user input unit 1107, an interface unit 1108, a memory 1109, and a processor 1110.

[0309] Those skilled in the art can understand that the electronic device 1100 may further include a power source (such as a battery) for supplying power to each component. The power source can be logically connected to the processor 1110 through a power management system, so as to implement functions such as management of charging, discharging, and power consumption management through the power management system. Figure 7 The structure of the electronic device shown in does not constitute a limitation on the electronic device. The electronic device may include more or fewer components than shown, or combine certain components, or have different component arrangements, which are not described here again.

[0310] It should be understood that in the embodiments of the present application, the input unit 1104 may include a Graphics Processing Unit (GPU) 11041 and a microphone 11042. The graphics processor 11041 processes the image data of static pictures or videos obtained by an image capture device (such as a camera) in a video capture mode or an image capture mode. The display unit 1106 may include a display panel 11061, and the display panel 11061 may be configured in the form of a liquid crystal display, an organic light-emitting diode, etc. The user input unit 1107 includes at least one of a touch panel 11071 and other input devices 11072. The touch panel 11071 is also called a touch screen. The touch panel 11071 may include two parts: a touch detection device and a touch controller. The other input devices 11072 may include, but are not limited to, a physical keyboard, function keys (such as volume control keys, power on / off keys, etc.), a trackball, a mouse, and a joystick, which will not be elaborated here.

[0311] The memory 1109 can be used to store software programs or instructions and various data. The memory 1109 mainly includes a first storage area for storing programs or instructions and a second storage area for storing data. Among them, the first storage area can store an operating system, applications or instructions required for at least one function (such as a sound playback function, an image playback function, etc.). In addition, the memory 1109 can include volatile memory or non-volatile memory. Among them, the non-volatile memory can be a Read-Only Memory (ROM), a Programmable ROM (PROM), an Erasable PROM (EPROM), an Electrically Erasable PROM (EEPROM), or a flash memory. The volatile memory can be a Random Access Memory (RAM), a Static RAM (SRAM), a Dynamic RAM (DRAM), a Synchronous DRAM (SDRAM), a Double Data Rate SDRAM (DDR SDRAM), an Enhanced SDRAM (ESDRAM), a Synch link DRAM (SLDRAM), and a Direct Rambus RAM (DRRAM). The memory 1109 in the embodiments of the present application includes, but is not limited to, these and any other suitable types of memory.

[0312] The processor 1110 may include one or more processing units; alternatively, the processor 1110 integrates an application processor and a modem processor. Among them, the application processor mainly processes operations related to the operating system, user interface, application programs, etc., and the modem processor mainly processes wireless communication signals, such as a baseband processor. It can be understood that the above modem processor may not be integrated into the processor 1110 either.

[0313] In some embodiments, the processor 1110 is configured to obtain the signal attenuation information of the haptic signal;

[0314] Render the haptic signal according to the signal attenuation information of the haptic signal;

[0315] Wherein, the signal attenuation information of the haptic signal includes at least one of the following:

[0316] Signal attenuation information related to distance;

[0317] Signal attenuation information related to time;

[0318] Signal attenuation information related to an occluder;

[0319] Signal attenuation information related to a body part;

[0320] Signal attenuation information related to pressure.

[0321] It can be understood that the implementation processes of the various implementation manners mentioned in this embodiment may refer to the relevant descriptions of the method for generating a haptic signal in the method embodiment, and achieve the same or corresponding technical effects. To avoid repetition, it will not be elaborated here.

[0322] The embodiment of the present application further provides a readable storage medium, on which a program or instruction is stored. When the program or instruction is executed by a processor, it implements each process of the method embodiment for generating the haptic signal above, and can achieve the same technical effect. To avoid repetition, it will not be elaborated here.

[0323] Wherein, the processor is the processor in the device or electronic device for generating the haptic signal 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 disc, etc. In some examples, the readable storage medium may be a non-transitory readable storage medium.

[0324] Another embodiment of the present application provides a chip, which includes a processor and a communication interface. The communication interface is coupled to the processor. The processor is configured to run programs or instructions to implement each process of the method embodiment for generating tactile signals, and can achieve the same technical effects. To avoid repetition, details are not described here again.

[0325] It should be understood that the chip mentioned in the embodiments of the present application may include a system-on-chip (also referred to as a system chip, chip system, or system-on-chip), or may include an independent display chip, etc.

[0326] Another embodiment of the present application provides a computer program / program product. The computer program / program product is stored in a storage medium and is executed by at least one processor to implement each process of the method embodiment for generating tactile signals, and can achieve the same technical effects. To avoid repetition, details are not described here again.

[0327] It should be understood that the processor in the embodiments of the present application may be an integrated circuit chip with signal processing capabilities. In the implementation process, each step of the above method embodiment can be completed by the integrated logic circuit in the hardware of the processor or instructions in software form. The above processor may be a general-purpose processor, a digital signal processor (DSP), an application specific integrated circuit (ASIC), a field programmable gate array (FPGA), or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components. It can implement or execute the various methods, steps, and logic block diagrams disclosed in the embodiments of the present application. The general-purpose processor may be a microprocessor, or the processor may also be any conventional processor, etc. The steps of the method disclosed in combination with the embodiments of the present application can be directly embodied as being executed by a hardware decoding processor, or executed by a combination of hardware and software modules in the decoding processor. The software module may be located in a mature storage medium in the art such as random access memory, flash memory, read-only memory, programmable read-only memory, or electrically erasable programmable memory, register, etc. This storage medium is located in the memory, and the processor reads the information in the memory and combines its hardware to complete the steps of the above method.

[0328] The memory in the embodiments of the present application may be a volatile memory or a non-volatile memory, or may include both volatile and non-volatile memories. Among them, 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), which is used as an external cache. By way of example but not limitation, many forms of RAM are available, such as static random access memory (SRAM), dynamic random access memory (DRAM), synchronous dynamic random access memory (Synchronous DRAM, SDRAM), double data rate synchronous dynamic random access memory (Double Data Rate SDRAM, DDR SDRAM), enhanced synchronous dynamic random access memory (Enhanced SDRAM, ESDRAM), synchronous link dynamic random access memory (Synchlink DRAM, SLDRAM), and direct rambus random access memory (Direct Rambus RAM, DR RAM). It should be noted that the memory of the systems and methods described herein is intended to include, but is not limited to, these and any other suitable types of memory.

[0329] It should be noted that, in this document, the term "comprising", "including" or any other variation thereof is intended to cover a non-exclusive inclusion, such that a process, method, article or apparatus comprising a series of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such process, method, article or apparatus. Without further limitation, an element defined by the statement "comprising a..." does not exclude the presence of another identical element in the process, method, article or apparatus comprising that element. In addition, it should be pointed out that the scope of the methods and apparatuses in the embodiments of the present application is not limited to performing functions in the order shown or discussed, and may also include performing functions in a substantially simultaneous manner or in a reverse order according to the functions involved. For example, the described methods may be performed in a different order than described, and various steps may be added, omitted or combined. Additionally, the features described with reference to certain examples may be combined in other examples.

[0330] Through the description of the above embodiments, those skilled in the art can clearly understand that the methods of the above embodiments can be implemented by means of computer software products plus the necessary general hardware platforms, and of course, they can also be implemented by hardware. The computer software products are stored in storage media (such as ROM, RAM, magnetic disks, optical disks, etc.), including several instructions for enabling a terminal or a network-side device to execute the methods described in various embodiments of the present application.

[0331] The embodiments of the present application have been described above in conjunction with the accompanying drawings. However, the present application is not limited to the above specific embodiments. The above specific embodiments are merely illustrative rather than restrictive. Under the inspiration of the present application, those of ordinary skill in the art can also make many forms of embodiments without departing from the purpose of the present application and the scope protected by the claims. These embodiments are all within the protection scope of the present application.

Claims

1. A method for generating a tactile signal, characterized in that, comprising: obtaining signal attenuation information of the tactile signal; generating the tactile signal according to the signal attenuation information of the tactile signal; wherein the signal attenuation information of the tactile signal includes at least one of the following: signal attenuation information related to distance; signal attenuation information related to time; signal attenuation information related to an occluder; signal attenuation information related to a body part; signal attenuation information related to pressure.

2. The method according to claim 1, characterized in that, the signal attenuation information related to distance includes at least one of the following: a signal attenuation parameter for determining the attenuation amount of the tactile signal; an indication of the signal attenuation mode of the tactile signal; an enable or disable indication for indicating whether to enable the signal attenuation information related to distance when generating the tactile signal; a tactile signal type indication for indicating the type of the tactile signal to which the signal attenuation information related to distance applies.

3. The method according to claim 1 or 2, characterized in that, the signal attenuation information related to time includes at least one of the following: a signal attenuation parameter for determining the attenuation amount of the tactile signal; an indication of the signal attenuation mode of the tactile signal; an enable or disable indication for indicating whether to enable the signal attenuation information related to time when generating the tactile signal; a tactile signal type indication for indicating the type of the tactile signal to which the signal attenuation information related to time applies.

4. The method according to any one of claims 1-3, characterized in that, the signal attenuation information related to an occluder includes at least one of the following: a signal attenuation parameter for determining the attenuation amount of the tactile signal; an indication of the signal attenuation mode of the tactile signal; an enable or disable indication for indicating whether to enable the signal attenuation information related to an occluder when generating the tactile signal; a tactile signal type indication for indicating the type of the tactile signal to which the signal attenuation information related to an occluder applies.

5. The method according to any one of claims 1-4, characterized in that, the signal attenuation information related to a body part includes at least one of the following: a signal attenuation parameter for determining the attenuation amount of the tactile signal; an indication of the signal attenuation mode of the tactile signal; an enable or disable indication for indicating whether to enable the signal attenuation information related to a body part when generating the tactile signal; a tactile signal type indication for indicating the type of the tactile signal to which the signal attenuation information related to a body part applies; a body part identifier for indicating the body part to which the signal attenuation parameter or the signal attenuation mode indication applies.

6. The method according to any one of claims 1-5, characterized in that, the signal attenuation information related to pressure includes at least one of the following: a signal attenuation parameter for determining the attenuation amount of the tactile signal; an indication of the signal attenuation mode of the tactile signal; An enable or disable indication for indicating whether to enable the pressure-related signal attenuation information when generating the haptic signal; A haptic signal type indication for indicating the type of the haptic signal to which the pressure-related signal attenuation information applies.

7. The method according to any one of claims 2-6, wherein, the signal attenuation parameter includes a fixed attenuation amount; or the signal attenuation parameter includes a parameter used to calculate the attenuation amount of the haptic signal based on a target preset signal attenuation method; or the signal attenuation parameter includes a customized parameter.

8. The method according to claim 7, wherein, the signal attenuation method indication of the haptic signal is used to indicate at least one of the following attenuation methods: attenuating by a fixed attenuation amount, attenuating based on a preset signal attenuation method, attenuating based on a customized signal attenuation method.

9. The method according to claim 7 or 8, wherein, when the signal attenuation parameter is a signal attenuation parameter in the distance-related signal attenuation information, the target preset signal attenuation method includes at least one of the following: inverse distance attenuation method, linear distance attenuation method, exponential distance attenuation method, inverse square attenuation method.

10. The method according to any one of claims 2-9, wherein, the signal attenuation parameter includes at least one of the following: an attenuation coefficient, an initial feedback intensity obtained from a haptic source; wherein, the attenuation coefficient is inversely proportional to the square of the distance.

11. The method according to claim 10, wherein, generating the haptic signal according to the signal attenuation information of the haptic signal includes: determining the feedback intensity of the haptic signal according to the signal attenuation parameter; generating the haptic signal according to the feedback intensity of the haptic signal.

12. The method according to claim 11, wherein, determining the feedback intensity of the haptic signal according to the signal attenuation parameter includes: determining the feedback intensity F of the haptic signal according to the following formula: F = αF max where α is the attenuation coefficient, and F max represents the initial feedback strength obtained from the haptic source; wherein, the variation function of α can be expressed as: where α min is the minimum value of the attenuation coefficient, D min and D min are predefined values.

13. The method according to any one of claims 2-11, wherein, the signal attenuation parameter is associated with at least one of the following: the type of the haptic signal, the frequency of the haptic signal.

14. The method according to any one of claims 1-13, wherein, the signal attenuation information of the haptic signal is carried in a first object, and obtaining the signal attenuation information of the haptic signal includes: performing parsing processing on the first object to obtain the signal attenuation information of the haptic signal.

15. The method according to claim 14, wherein, the first object includes at least one of the following: the haptic source object corresponding to the haptic signal, the avatar object corresponding to the haptic signal, the trigger node object corresponding to the haptic signal, the action node object corresponding to the haptic signal, the occluder object corresponding to the haptic signal.

16. The method according to claim 15, wherein, The attribute information of the first object includes an occlusion indicator for indicating whether the first object is an occluder; Among them, generating the tactile signal according to the signal attenuation information of the tactile signal includes: When the occlusion indicator is used to indicate that the first object is an occluder, generating the tactile signal according to the signal attenuation information related to the occluder.

17. The method according to any one of claims 1-16, wherein, generating the tactile signal according to the signal attenuation information of the tactile signal includes: rendering the tactile signal according to the signal attenuation information of the tactile signal.

18. A device for generating a tactile signal, wherein, comprising: an acquisition unit for acquiring the signal attenuation information of the tactile signal; a generation unit for generating the tactile signal according to the signal attenuation information of the tactile signal; Among them, the signal attenuation information of the tactile signal includes at least one of the following: signal attenuation information related to distance; signal attenuation information related to time; signal attenuation information related to an occluder; signal attenuation information related to a body part; signal attenuation information related to pressure.

19. The device according to claim 18, wherein, the signal attenuation information related to distance includes at least one of the following: a signal attenuation parameter for determining the attenuation amount of the tactile signal; an indication of the signal attenuation mode of the tactile signal; an enable or disable indication for indicating whether to enable the signal attenuation information related to distance when generating the tactile signal; a tactile signal type indication for indicating the type of tactile signal to which the signal attenuation information related to distance applies.

20. The device according to claim 18 or 19, wherein, the signal attenuation information related to time includes at least one of the following: a signal attenuation parameter for determining the attenuation amount of the tactile signal; an indication of the signal attenuation mode of the tactile signal; an enable or disable indication for indicating whether to enable the signal attenuation information related to time when generating the tactile signal; a tactile signal type indication for indicating the type of tactile signal to which the signal attenuation information related to time applies.

21. The device according to any one of claims 18-20, wherein, the signal attenuation information related to an occluder includes at least one of the following: a signal attenuation parameter for determining the attenuation amount of the tactile signal; an indication of the signal attenuation mode of the tactile signal; an enable or disable indication for indicating whether to enable the signal attenuation information related to an occluder when generating the tactile signal; a tactile signal type indication for indicating the type of tactile signal to which the signal attenuation information related to an occluder applies.

22. The device according to any one of claims 18-21, wherein, the signal attenuation information related to a body part includes at least one of the following: a signal attenuation parameter for determining the attenuation amount of the tactile signal; an indication of the signal attenuation mode of the tactile signal; An enable or disable indication, which is used to indicate whether to enable the signal attenuation information related to the body part when generating the haptic signal; A haptic signal type indication, which is used to indicate the type of the haptic signal to which the signal attenuation information related to the body part applies; A body part identifier, which is used to indicate the body part to which the signal attenuation parameter or the signal attenuation mode indication applies.

23. An electronic device, characterized in that it includes a processor and a memory, the memory stores a program or instruction that can run on the processor, and when the program or instruction is executed by the processor, the steps of the method for generating a haptic signal according to any one of claims 1 to 17 are implemented.

24. A chip, characterized in that the chip includes a processor and a communication interface, the communication interface is coupled to the processor, and the processor is used to run a program or instruction to implement the steps of the method for generating a haptic signal according to any one of claims 1 to 17.

25. A readable storage medium, characterized in that a program or instruction is stored on the readable storage medium, and when the program or instruction is executed by a processor, the steps in the method according to any one of claims 1 to 17 are implemented.