Tactile signal coding processing method, tactile signal decoding processing method and related equipment

By obtaining the key frame sequence and target residual signal of multi-channel tactile signals, and performing low-pass filtering and masking processing, the problem of low compression rate of tactile signals in the existing technology is solved, efficient encoding and decoding is achieved, and signal redundancy is removed. , improves the compression rate.

CN118732828AActive Publication Date: 2024-10-01VIVO MOBILE COMM CO LTD

Patent Information

Application Number
CN202310338779.7
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-03-31
Publication Date
2024-10-01
Estimated Expiration
2043-03-31

AI Technical Summary

Technical Problem

The compression rate of tactile signals in the existing technology is low, there are redundancy problems, and it is difficult to effectively encode and decode.

Method used

By obtaining the key frame sequence and target residual signal of multi-channel tactile signals, perform low-pass filtering processing, and combine the masking model for encoding and decoding processing to remove signal redundancy and improve compression efficiency.

Benefits of technology

Effectively removes the redundancy of tactile signals, improves the compression rate and coding efficiency of tactile signals, and achieves more efficient signal transmission and reproduction.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118732828A_ABST
    Figure CN118732828A_ABST
Patent Text Reader

Abstract

The invention discloses a tactile signal coding processing method, a tactile signal decoding processing method and related equipment, and belongs to the field of tactile coding and decoding, and the tactile signal coding processing method comprises the steps: obtaining at least one of a key frame sequence and a first signal corresponding to each path of tactile signal in multiple paths of tactile signals, the key frame sequence is obtained based on the second signal, the first signal is obtained based on a target residual signal and a third signal, the target residual signal is obtained based on the second signal and the key frame sequence, the second signal and the third signal are obtained based on the tactile signal, and the frequency of the second signal is smaller than that of the third signal; executing at least one of the following steps: performing first shielding processing on the key frame sequence based on a first shielding model, and encoding a signal subjected to the first shielding processing to obtain a first encoding sequence; and performing second shielding processing on the first signal based on a second shielding model, and coding the signal after the second shielding processing to obtain a second coding sequence.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application belongs to the technical field of tactile coding and decoding, and specifically relates to a tactile signal coding and processing method, a decoding and processing method, and related equipment. Background Art

[0002] In the process of encoding tactile signals (the tactile signals include but are not limited to vibration texture signals), multiple single-point tactile signals are usually encoded one by one to achieve the encoding of multi-point tactile signals. However, due to the shielding effect between adjacent tactile signals during the encoding process, the tactile signals after the single-point tactile signals are encoded one by one have certain redundancy. Therefore, there is a problem of low compression rate of tactile signals in the prior art. Summary of the invention

[0003] The embodiments of the present application provide a tactile signal encoding and processing method, a decoding and processing method, and related devices, which can solve the problem of low compression rate of tactile signals.

[0004] In a first aspect, a tactile signal encoding and processing method is provided, which is applied to an encoding end and includes:

[0005] Acquire at least one of a key frame sequence and a first signal corresponding to each tactile signal in multiple tactile signals, wherein the key frame sequence is obtained based on the second signal, the first signal is obtained based on a target residual signal and a third signal, the target residual signal is obtained based on the second signal and the key frame sequence, the second signal and the third signal are obtained based on low-pass filtering the tactile signal, and a frequency of the second signal is less than a frequency of the third signal;

[0006] Execute a target operation; wherein the target operation includes at least one of the following:

[0007] Performing a first masking process on the key frame sequence based on a first masking model, and encoding the signal after the first masking process to obtain a first coded sequence;

[0008] The first signal is subjected to a second masking process based on a second masking model, and the signal subjected to the second masking process is encoded to obtain a second encoding sequence.

[0009] In a second aspect, a tactile signal decoding and processing method is provided, which is applied to a decoding end and includes:

[0010] Decoding the second coding sequence to obtain multiple fourth signals;

[0011] Perform block processing on each of the fourth signals to obtain at least one signal block, where each signal block corresponds to a time interval;

[0012] Determine the primary signal block and the secondary signal block corresponding to each time interval;

[0013] For each of the time intervals, masking and restoring the secondary signal block based on the primary signal block to obtain a fifth signal, wherein the fifth signal includes the primary signal block and the masked and restored secondary signal block;

[0014] Based on the fifth signal, obtaining a multi-channel decoded signal;

[0015] Among them, the second coding sequence is obtained based on the first signal corresponding to each tactile signal in the multiple tactile signals, the first signal is obtained based on the target residual signal and the third signal, the target residual signal is obtained based on the second signal, the second signal and the third signal are obtained based on low-pass filtering of the tactile signal, and the frequency of the second signal is less than the frequency of the third signal.

[0016] In a third aspect, a tactile signal encoding and processing device is provided, which is applied to an encoding end and includes:

[0017] an acquisition module, configured to acquire at least one of a key frame sequence and a first signal corresponding to each tactile signal in multiple tactile signals, wherein the key frame sequence is obtained based on the second signal, the first signal is obtained based on a target residual signal and a third signal, the target residual signal is obtained based on the second signal and the key frame sequence, the second signal and the third signal are obtained based on low-pass filtering of the tactile signal, and a frequency of the second signal is less than a frequency of the third signal;

[0018] An execution module is used to execute a target operation; wherein the target operation includes at least one of the following:

[0019] Performing a first masking process on the key frame sequence based on a first masking model, and encoding the signal after the first masking process to obtain a first coded sequence;

[0020] The first signal is subjected to a second masking process based on a second masking model, and the signal subjected to the second masking process is encoded to obtain a second encoding sequence.

[0021] In a fourth aspect, a tactile signal decoding and processing device is provided, which is applied to a decoding end and includes:

[0022] A decoding module, used for decoding the second coding sequence to obtain multiple fourth signals;

[0023] Block processing, used for performing block processing on each of the fourth signals to obtain at least one signal block, each signal block corresponding to a time interval;

[0024] A first determination module, used to determine a primary signal block and a secondary signal block corresponding to each time interval;

[0025] A restoration module, configured to perform masking restoration on the secondary signal block based on the primary signal block for each of the time intervals to obtain a fifth signal, wherein the fifth signal includes the primary signal block and the masked and restored secondary signal block;

[0026] A processing module, configured to obtain a multi-channel decoded signal based on the fifth signal;

[0027] Among them, the second coding sequence is obtained based on the first signal corresponding to each tactile signal in the multiple tactile signals, the first signal is obtained based on the target residual signal and the third signal, the target residual signal is obtained based on the second signal, the second signal and the third signal are obtained based on low-pass filtering of the tactile signal, and the frequency of the second signal is less than the frequency of the third signal.

[0028] In a fifth aspect, an electronic device is provided, comprising a processor and a memory, wherein the memory stores a program or instruction that can be run on the processor, and when the program or instruction is executed by the processor, the steps of the method described in the first aspect are implemented, or when the program or instruction is executed by the processor, the steps of the method described in the second aspect are implemented.

[0029] In a sixth aspect, an electronic device is provided, including a processor and a communication interface, wherein:

[0030] When the electronic device is an encoding end, the processor is used to obtain at least one of a key frame sequence and a first signal corresponding to each tactile signal in multiple tactile signals, wherein the key frame sequence is obtained based on a second signal, the first signal is obtained based on a target residual signal and a third signal, the target residual signal is obtained based on the second signal and the key frame sequence, the second signal and the third signal are obtained based on low-pass filtering of the tactile signal, and the frequency of the second signal is less than the frequency of the third signal; perform a target operation; wherein the target operation includes at least one of the following: performing a first masking process on the key frame sequence based on a first masking model, and encoding the signal after the first masking process to obtain a first coding sequence; performing a second masking process on the first signal based on a second masking model, and encoding the signal after the second masking process to obtain a second coding sequence;

[0031] When the electronic device is a decoding end, the processor is used to decode the second coding sequence to obtain multiple fourth signals; perform block processing on each of the fourth signals to obtain at least one signal block, each signal block corresponds to a time interval; determine the main signal block and the secondary signal block corresponding to each time interval; for each of the time intervals, based on the main signal block, mask and restore the secondary signal block to obtain a fifth signal, the fifth signal including the main signal block and the masked and restored secondary signal block; based on the fifth signal, obtain multiple decoded signals; wherein, the second coding sequence is obtained based on the first signal corresponding to each tactile signal in the multiple tactile signals, the first signal is obtained based on the target residual signal and the third signal, the target residual signal is obtained based on the second signal, the second signal and the third signal are obtained based on low-pass filtering of the tactile signal, and the frequency of the second signal is less than the frequency of the third signal.

[0032] In the seventh aspect, a tactile signal encoding and decoding system is provided, comprising: an encoding end device and a decoding end device, wherein the encoding end device can be used to execute the steps of the tactile signal encoding and processing method as described in the first aspect, and the decoding end device can be used to execute the steps of the tactile signal decoding and processing method as described in the second aspect.

[0033] In an eighth aspect, a readable storage medium is provided, on which a program or instruction is stored. When the program or instruction is executed by a processor, the steps of the method described in the first aspect are implemented, or the steps of the method described in the second aspect are implemented.

[0034] In the ninth aspect, a chip is provided, comprising a processor and a communication interface, wherein the communication interface is coupled to the processor, and the processor is used to run a program or instructions to implement the steps of the method described in the first aspect, or to implement the steps of the method described in the second aspect.

[0035] In the tenth aspect, a computer program / program product is provided, wherein the computer program / program product is stored in a storage medium, and the computer program / program product is executed by at least one processor to implement the steps of the method described in the first aspect, or to implement the steps of the method described in the second aspect.

[0036] In an embodiment of the present application, at least one of a key frame sequence and a first signal corresponding to each tactile signal in a plurality of tactile signals is obtained, wherein the key frame sequence is obtained based on a second signal, the first signal is obtained based on a target residual signal and a third signal, the target residual signal is obtained based on the second signal and the key frame sequence, the second signal and the third signal are obtained based on low-pass filtering of the tactile signal, and the frequency of the second signal is less than the frequency of the third signal; a target operation is performed; wherein the target operation includes at least one of the following: performing a first masking process on the key frame sequence based on a first masking model, and encoding the signal after the first masking process to obtain a first coding sequence; performing a second masking process on the first signal based on a second masking model, and encoding the signal after the second masking process to obtain a second coding sequence. In this way, since at least one of the key frame sequence and the first signal is masked, signal redundancy can be removed, thereby improving the efficiency of tactile signal compression. BRIEF DESCRIPTION OF THE DRAWINGS

[0037] Figure 1 is a flowchart of a tactile signal encoding and processing method provided in an embodiment of the present application;

[0038] Figure 2 is a schematic diagram of a coding framework of a tactile signal coding processing method provided in an embodiment of the present application;

[0039] Figure 3 is a flowchart of a tactile signal decoding and processing method provided in an embodiment of the present application;

[0040] Figure 4 is a schematic diagram of a decoding framework of a tactile signal decoding processing method provided in an embodiment of the present application;

[0041] Figure 5 is a structural diagram of a tactile signal encoding and processing device provided in an embodiment of the present application;

[0042] Figure 6 is a structural diagram of a tactile signal decoding and processing device provided in an embodiment of the present application;

[0043] Figure 7 is a structural diagram of a communication device provided in an embodiment of the present application;

[0044] Figure 8 It is a structural diagram of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0045] The following will be combined with the drawings in the embodiments of the present application to clearly describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, rather than all the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field belong to the scope of protection of this application.

[0046] The terms "first", "second", etc. of the present application are used to distinguish similar objects, and are not used to describe a specific order or sequence. It should be understood that the terms used in this way are interchangeable where appropriate, so that the embodiments of the present application can be implemented in an order other than those illustrated or described herein, and the objects distinguished by "first" and "second" are generally of one type, and the number of objects is not limited, for example, the first object can be one or more. In addition, "or" in the present application represents at least one of the connected objects. For example, "A or B" covers three schemes, namely, Scheme 1: including A but not including B; Scheme 2: including B but not including A; Scheme 3: including both A and B. The character " / " generally indicates that the objects associated with each other are in an "or" relationship.

[0047] The term "indication" in this application can be a direct indication (or explicit indication) or an indirect indication (or implicit indication). A direct indication can be understood as the sender explicitly informing the receiver of specific information, operations to be performed, or request results in the sent indication; an indirect indication can be understood as the receiver determining the corresponding information according to the indication sent by the sender, or making a judgment and determining the operation to be performed or the request result according to the judgment result.

[0048] The encoding and decoding end corresponding to the tactile signal encoding and decoding method in the embodiment of the present application can be a terminal, which can also be called a terminal device or a user terminal (User Equipment, UE). The terminal can be a mobile phone, a tablet computer (Tablet Personal Computer), a laptop computer (Laptop Computer) or a notebook computer, a personal digital assistant (Personal Digital Assistant, PDA), a handheld computer, a netbook, an ultra-mobile personal computer (ultra-mobile personal computer, UMPC), a mobile Internet device (Mobile Internet Device, MID), a wearable device (Wearable Device) or a vehicle-mounted device (VUE), a pedestrian terminal (PUE) and other terminal-side devices, and the wearable device includes: a smart watch, a bracelet, a headset, glasses, etc. It should be noted that the specific type of the terminal is not limited in the embodiment of the present application.

[0049] For ease of understanding, some contents involved in the embodiments of the present application are described below:

[0050] As a unique sensory channel of the human body, touch can effectively obtain complex information that is difficult to be perceived by other forms of perception such as vision or hearing. Tactile information refers to the human body's perception of shape, position, surface texture, hardness, roughness and temperature of objects, etc. It is mainly divided into two categories: tactile information based on muscle movement perception (hereinafter referred to as kinesthetic information) and tactile information based on skin texture perception (hereinafter referred to as texture information). The surface texture, friction, temperature, etc. of objects perceived by the mechanical stimulation receptors on the skin are all texture information. After being collected and texture encoded by the hardware system, the texture signal is reconstructed through a specific tactile reproduction device to transmit the combination of vibration or stimulation pulses perceived by the receptor to the user. For example, the new tactile feedback display screen experiences texture touch by sliding fingers on the touch screen; the vibration wave tactile feedback disc adds vibration tactile perception to the existing virtual reality game audio-visual senses; Google adds a tactile game controller to the game platform, etc. The development of these tactile reconstruction systems is inseparable from texture coding technology, which is an important basis for the development of these devices.

[0051] Texture coding methods are mainly divided into three categories: coding methods based on statistics; coding methods based on perceptual models (Weber's theorem); and methods based on hybrid perceptual coding. Among them, statistical texture coding uses quantization and prediction models to reduce data redundancy. Coding methods based on perceptual models achieve data compression by setting difference thresholds (discrimination sensitivity). Hybrid perceptual coding uses the absolute threshold of perception and masking phenomena to extract the necessary attributes of the input signal to achieve perceptual compression. The perceptual vibrotactile signal compression algorithm based on sparse linear prediction (PVC-SLP) uses the accelerated sensitivity function (ASF) to construct a tactile sensitivity model and is currently selected as part of the IEEE P1918.1.1 tactile codec standard.

[0052] The tactile signal encoding method provided by the embodiment of the present application is described in detail below through some embodiments and their application scenarios in combination with the accompanying drawings.

[0053] Step 101, obtaining at least one of a key frame sequence and a first signal corresponding to each tactile signal in multiple tactile signals, wherein the key frame sequence is obtained based on a second signal, the first signal is obtained based on a target residual signal and a third signal, the target residual signal is obtained based on the second signal and the key frame sequence, the second signal and the third signal are obtained based on low-pass filtering of the tactile signal, and the frequency of the second signal is less than the frequency of the third signal;

[0054] In the embodiment of the present application, each tactile signal has a corresponding key frame sequence and a first signal. The second signal can be understood as a low-frequency signal component of the tactile signal, and the third signal can be understood as a high-frequency signal component of the tactile signal.

[0055] Optionally, in some embodiments, multiple spatially adjacent tactile signals and tactile spatial information may be first obtained, wherein the spatial information includes but is not limited to the following information: body region information, position information within the body region, and relative position information of each signal source; and then the key frame sequence and the first signal corresponding to each tactile signal may be obtained by the following process:

[0056] Performing low-pass filtering on the multi-channel tactile signals to separate the low-frequency signal components and high-frequency signal components that are easily perceived by the human body, thereby obtaining the second signal and the third signal;

[0057] For each second signal, taking each signal extreme value as a key frame, and obtaining a key frame sequence corresponding to each second tactile signal;

[0058] Obtaining a reconstructed low-frequency signal by interpolation reconstruction, and calculating a residual between the reconstructed low-frequency signal and a corresponding second signal to obtain a target residual signal;

[0059] The target residual signal is added to the corresponding third signal, so that the first signal can be obtained, that is, a high-frequency signal with a low-frequency residual is obtained.

[0060] Step 102: Execute a target operation; wherein the target operation includes at least one of the following:

[0061] Performing a first masking process on the key frame sequence based on a first masking model, and encoding the signal after the first masking process to obtain a first coded sequence;

[0062] The first signal is subjected to a second masking process based on a second masking model, and the signal subjected to the second masking process is encoded to obtain a second encoding sequence.

[0063] In the embodiment of the present application, the masking method can be selected as needed: for example, only the key frame sequence can be masked, only the first signal can be masked, or both the key frame sequence and the first signal can be masked. It should be understood that when the key frame sequence and the first signal are not masked, it can be understood that conventional encoding processing is not performed on the masked object.

[0064] Optionally, the above-mentioned first masking model includes but is not limited to a spatiotemporal joint masking effect model applicable to low-frequency signals. The above-mentioned second masking model includes but is not limited to a spatiotemporal joint masking effect model applicable to high-frequency signals. The spatiotemporal joint masking effect model represents the masking effect of the main signal on the surrounding secondary signals under the action of main signals of different frequencies, which is expressed as a masking threshold coefficient. Among them, the amplitude of the main signal is multiplied by the masking threshold coefficient and the masking threshold matrix can be obtained through corresponding assignment operations. When the amplitude of the secondary signal adjacent to the main signal in the space is lower than the masking threshold, it means that the main signal has a masking effect on the secondary signal, and people cannot feel or can hardly feel the secondary signal at this time under the influence of the main signal.

[0065] In an embodiment of the present application, at least one of a key frame sequence and a first signal corresponding to each tactile signal in a plurality of tactile signals is obtained, wherein the key frame sequence is obtained based on a second signal, the first signal is obtained based on a target residual signal and a third signal, the target residual signal is obtained based on the second signal and the key frame sequence, the second signal and the third signal are obtained based on low-pass filtering of the tactile signal, and the frequency of the second signal is less than the frequency of the third signal; a target operation is performed; wherein the target operation includes at least one of the following: performing a first masking process on the key frame sequence based on a first masking model, and encoding the signal after the first masking process to obtain a first coding sequence; performing a second masking process on the first signal based on a second masking model, and encoding the signal after the second masking process to obtain a second coding sequence. In this way, since at least one of the key frame sequence and the first signal is masked, signal redundancy can be removed, thereby improving the efficiency of tactile signal compression.

[0066] Optionally, in some embodiments, performing a first masking process on the key frame sequence based on a first masking model to obtain a first coded sequence includes:

[0067] Determining a primary key frame sequence and a secondary key frame sequence in the key frame sequences corresponding to the multiple tactile signals;

[0068] Determine the first occlusion model according to the spatial position information corresponding to the primary key frame sequence and the spatial position information corresponding to the secondary key frame sequence;

[0069] Performing a first masking process on the secondary key frame sequence according to the first masking model to obtain a target key frame sequence, wherein the target key frame sequence includes the primary key frame sequence and the masked secondary key frame sequence;

[0070] The target key frame sequence is encoded to obtain a first encoded sequence.

[0071] In the embodiment of the present application, the first coding sequence can be referred to as a low-frequency coding sequence. The primary key frame sequence can be understood as a key frame sequence corresponding to a tactile signal of a tactile sensitive point, or can be understood as a key frame sequence corresponding to a tactile signal with a larger signal strength, and the secondary key frame sequence is a key frame sequence other than the primary key frame sequence in a plurality of key frame sequences corresponding to a plurality of tactile signals. In other words, in the embodiment of the present application, the primary key frame sequence satisfies at least one of the following:

[0072] The main key frame sequence is a key frame sequence corresponding to the tactile signal of the tactile sensitive point;

[0073] The main key frame sequence is a key frame sequence corresponding to a tactile signal having a signal strength greater than or equal to a preset strength threshold.

[0074] Optionally, the method for determining the main key frame sequence may include the following method:

[0075] 1. When the signal strengths are roughly the same, the main key frame sequence is determined based on whether the position of the tactile signal is a tactile sensitive point. For example, the key frame sequence corresponding to the tactile signal of the tactile sensitive point is used as the main key frame sequence. The tactile sensitive point can be obtained through subjective testing or defined based on specific equipment or specific parts.

[0076] 2. When the signal strength has a large interpolation value, the primary and secondary key frame sequences can be defined according to the strength of the signal. For example, a specified time interval can be determined first, and the key frames contained in the time interval can be interpolated to obtain the restored signal.

[0077] The restored signals of each channel are integrated according to factors such as amplitude and power, and are sorted in descending order according to the integration results. Several key frame sequences are selected according to the compression requirements and defined as the main key frame sequences.

[0078] It should be understood that different spatial position information corresponds to different masking models, and the corresponding first masking model can be selected for masking processing based on the position information of the key frame sequence. For example, the face area corresponds to one masking model, and the finger area corresponds to another masking model.

[0079] Optionally, the number of the main key frame sequences may be one or more, and each main key frame sequence is a key frame sequence corresponding to one tactile signal.

[0080] Optionally, performing the first masking process on the secondary key frame according to the first masking model may include the following process:

[0081] According to the occlusion threshold and the number of occlusion points, the key frames in the secondary key frame sequence whose distance range corresponding to the number of occlusion points of the key frames in the primary key frame sequence is smaller than the occlusion threshold are deleted.

[0082] Optionally, the target key frame sequence can be understood as a masked key frame sequence, and binary encoding can be used when encoding the target key frame sequence. The encoding length can be set according to actual needs, for example, the encoding length can be 8, 16 or 32.

[0083] Optionally, in some embodiments, performing a first masking process on the secondary key frame sequence according to the first masking model to obtain a target key frame sequence includes:

[0084] Inputting the frequency of the main key frame sequence into the first masking model to obtain a first masking threshold coefficient;

[0085] Multiplying the amplitude of the main key frame sequence by a first masking threshold coefficient to obtain a first masking threshold matrix;

[0086] A first masking process is performed on the secondary key frame sequence based on the first masking threshold matrix to obtain a target key frame sequence.

[0087] In an embodiment of the present application, the first masking processing of the sub-key frame sequence based on the first masking threshold matrix can be based on the comparison of the amplitude of each key frame in the sub-key frame sequence with the masking threshold of the corresponding position of the key frame in the first masking threshold matrix. When the amplitude of each key frame is less than the masking threshold of the corresponding position of the key frame in the first masking threshold matrix, the amplitude of the key frame is set to 0 or the sub-key frame is deleted (the key frame can be understood as a redundant signal at this time). That is to say, the first masking processing includes: when the amplitude of the target sub-key frame in the sub-key frame sequence is less than or equal to the masking threshold corresponding to the target sub-key frame in the first masking threshold matrix, the amplitude of the target sub-key frame is set to 0 or the target sub-key frame is deleted. Among them, the masking threshold of a position in a first masking threshold matrix corresponds to an interval range position, for example, the masking threshold of position 300 (assuming that the 300th signal frame is the primary key frame, position 300 is the position of the 300th signal frame in the first masking threshold matrix) corresponds to position 300 (the 301st signal frame in the secondary signal sequence) to position 328 (the 301st signal frame in the secondary signal sequence), that is, the signal frames corresponding to positions 301 to 328 contain the masking threshold of the secondary key frames corresponding to position 300.

[0088] Optionally, in some embodiments, performing a second masking process on the first signal based on a second masking model, and encoding the signal after the second masking process to obtain a second coded sequence includes:

[0089] Perform block processing on each of the first signals to obtain at least one signal block, where each signal block corresponds to a time interval;

[0090] For each signal block in the time interval, determine a primary signal block and a secondary signal block;

[0091] determining the second masking model according to the spatial modal mask;

[0092] Performing a second masking process on the secondary signal block based on the second masking model to obtain a target signal block corresponding to each time interval, wherein the target signal block includes the primary signal block and the masked secondary signal block;

[0093] splicing the target signal blocks corresponding to all time intervals according to the correspondence between the signal blocks and the tactile signals to obtain multiple channels of signals to be encoded;

[0094] Performing encoding processing on the multiple signals to be encoded to obtain the second encoding sequence;

[0095] The spatial modal mask is determined based on the relative position of the primary signal block and the secondary signal block.

[0096] In the embodiment of the present application, each tactile signal corresponds to a first signal, and the specific block length can be set according to actual needs, and the length of the block will not directly affect the compression effect of the tactile signal, but the length of the block will affect the second masking process, thereby indirectly affecting the compression effect. Therefore, the block length can be understood as a hyperparameter, which can be set according to actual conditions such as the processing performance of the tactile processing device and the compression effect requirements. For example, in some embodiments, the block length can be 32, 64, 128 or 512, etc. It should be noted that, under the premise of meeting the compression fidelity and device processing capacity requirements, the length can be selected as a larger value as possible to improve the compression rate of the tactile signal.

[0097] Optionally, when performing block processing to obtain at least two signal blocks, each signal in each signal block is a partial signal in one first signal. For example, assuming that the first signal includes 1024 frames of signals and the length of the block is 512, the block processing includes two signal blocks, wherein the first signal block includes the 1st frame signal to the 512th frame signal, and the second signal block includes the 513th frame signal to the 1024th frame signal.

[0098] It should be understood that the first signals of different paths have the same time interval when they are processed in blocks, that is, a signal block of each first signal is included in a certain time interval. Optionally, in an embodiment of the present application, the main signal block in each time interval can be determined according to an agreed algorithm, and the number of main signal blocks corresponding to a time interval can be one or more, which is not further limited here. Among them, the main signal block should be a signal with a larger strength index such as amplitude in the current time interval or a signal that the human body is more sensitive to. Due to the existence of the main signal in the main signal block and the retention of human tactile perception, the main signal in the main signal block produces a spatial masking effect on the secondary signals in other relatively weaker secondary signal blocks at adjacent positions in the surrounding space within a certain period of time. The spatial masking effect makes it difficult for the human body to tactilely perceive these masked secondary signals, and the existence of these secondary signals has a low significance for reproducing the tactile signals that the human body can perceive, which can be called redundant tactile information. Removing redundant tactile information has little effect on the fidelity of the signal, but it can significantly improve the compression performance because a large amount of redundant information is removed.

[0099] Optionally, in the embodiment of the present application, the signals in the main signal block may be referred to as main signals, and the signals in the secondary signal block may be referred to as secondary signals.

[0100] Optionally, the above agreed algorithm can be set according to actual needs. Some possible solutions are described below:

[0101] 1. When the signal strengths are roughly the same, the main signal block is determined based on whether the position of the tactile signal is a tactile sensitive point. The input signal corresponding to the tactile signal of the tactile sensitive point (i.e., the signal block of the first signal) is used as the main signal block. The tactile sensitive point can be obtained through subjective testing or defined based on specific equipment or specific parts.

[0102] 2. When the signal strength has a large interpolation value, the primary and secondary signal blocks can be defined according to the strength of the signal. For all input signals (i.e., the signal block of the first signal), the current multi-channel input block signals are integrated according to factors such as amplitude and power, and the integration results are sorted in descending order. According to the compression requirements, several signal blocks are selected and defined as the primary signal blocks.

[0103] Optionally, it is usually difficult to test the masking effect of the main signal block at all frequencies in subjective testing, and only the main signal blocks of several controlling frequency values ​​are selected for spatial masking effect testing. Therefore, when the spatiotemporal joint masking effect model is obtained by subjective testing, the second masking threshold coefficient of the main signal block masking effect at any frequency needs to be obtained through an interpolation function.

[0104] It should be noted that in the embodiment of the present application, the second masking processing process can be executed for a time interval each time (the second masking processing process includes: first determining the main signal block and the secondary signal block, then determining the second masking model, and finally performing the second masking processing), and then the target signal block corresponding to each time interval is obtained by cyclically executing the above-mentioned second masking processing process.

[0105] Optionally, in some embodiments, one of the main signal blocks includes K main signals, K is a positive integer, and performing the second masking process on the secondary signal block based on the second masking model to obtain a target signal block corresponding to each time interval includes:

[0106] Inputting the characteristic frequency of the main signal block into the second masking model to obtain a second masking threshold coefficient;

[0107] Multiplying the amplitude of the main signal block by the second masking threshold coefficient to obtain a second masking threshold matrix;

[0108] Performing value assignment processing on the second masking threshold matrix based on the K main signals to obtain a third masking threshold matrix;

[0109] Performing a second masking process on the secondary signal block based on the third masking threshold matrix to obtain the target signal block;

[0110] Among them, the assignment processing satisfies: when the K main signals include at least one unprocessed main signal, the assignment processing is performed; when the assignment processing is performed for the Pth time, the masking thresholds of the consecutive n second positions located after the first position in the second masking threshold matrix are assigned as the masking thresholds of the first position, the first position is adjacent to the n second positions, the first position is the position corresponding to the main signal with the largest amplitude among the main signals that have not been processed when the assignment processing was performed for the previous P-1 times, and the main signals corresponding to the first position and the second position are the main signals processed when the assignment processing is performed for the Pth time, and n and P are both positive integers.

[0111] In the embodiment of the present application, each main signal block corresponds to a second masking threshold matrix. When there are multiple main signal blocks, the same processing is performed for each main signal block, which will not be described in detail here. Take a main signal block as an example for explanation: when performing the first assignment processing, the K main signals can be sorted first to obtain the main signal with the largest amplitude among the K main signals, and the main signal with the largest amplitude among the K main signals can be determined. The first position corresponding to the main signal with the largest amplitude in the second masking threshold matrix is ​​determined, and then the masking threshold amplitude of the consecutive n second positions after the first position in the second masking threshold matrix is ​​used as the masking threshold of the first position, and then the main signal corresponding to the first position and the main signals corresponding to the consecutive n second positions are marked as processed main signals. When performing the second assignment process, the Q main signals (i.e., the main signals that have not been processed among the K main signals) can be sorted first to obtain the main signal with the largest amplitude among the Q main signals, and the first position corresponding to the main signal with the largest amplitude among the Q main signals in the second masking threshold matrix is ​​determined, and then the masking threshold amplitudes of the consecutive n second positions after the first position in the second masking threshold matrix are used as the masking thresholds of the first position, and then the main signal corresponding to the first position and the main signals corresponding to the consecutive n second positions are marked as processed main signals. This cycle is performed until all main signals are processed.

[0112] Optionally, the unprocessed main signal may be understood as a main signal among the K main signals except the main signal corresponding to the first position and the main signal corresponding to the second position.

[0113] For example, taking the block length equal to 1024 and n=128 as an example, assuming that the position corresponding to the main signal with the largest amplitude is determined to be 300 when performing the first assignment process, then the positions 301 to 428 in the second masking threshold matrix can be assigned based on the masking threshold of position 300. When performing the second assignment process, the main signal with the largest amplitude is found among the main signals corresponding to all other positions except positions 300 to 428, and then the corresponding positions in the second masking threshold matrix are assigned. For example, assuming that the position corresponding to the main signal with the largest amplitude is determined to be 200 when performing the second assignment process, then the positions 201 to 328 in the second masking threshold matrix can be assigned based on the masking threshold of position 200.

[0114] It should be noted that, in some embodiments, the position corresponding to the processed main signal may be excluded during the assignment. For example, in the second assignment process for the above embodiment, the position 201 to the position 299 in the second masking threshold matrix may be assigned based on the masking threshold of the position 200. It should be understood that the masking threshold of the position 300 during the first assignment process is larger than the masking threshold of the position 200 during the second assignment process (because the original main signal corresponding to the position 300 is larger than the original main signal corresponding to the position 200, and multiplying by the same threshold coefficient still means that the masking threshold of the position 300 is larger than the masking threshold of the position 200), so the assignment of the position 300 to the position 328 during the second assignment process is "covered" by the larger assignment during the first assignment process.

[0115] Optionally, in some embodiments, the second masking process includes at least one of the following:

[0116] When the amplitude of the first signal in the Lth secondary signal block is 0, the amplitude of the first signal is kept unchanged, and a first flag is added to the metadata, where the first flag is used to indicate that the first signal does not need to be masked and restored;

[0117] When the amplitude of the second signal in the Lth secondary signal block is not 0, the amplitude of the second signal is set to 0, and a second flag is added to the metadata, where the second flag is used to indicate that the second signal needs to be restored by masking;

[0118] Wherein, L is a positive integer.

[0119] It should be noted that, at the decoding end, the second signal to be restored can be determined based on the second flag (the amplitude of the second signal obtained by the decoding end is 0), and the amplitude of the second signal is replaced with the M-th main signal, thereby obtaining the second signal after masking and restoration. For example, the amplitude of a sub-signal in the Lth sub-signal block obtained by the decoding end is 0, and based on the second flag, it is determined that the sub-signal needs to be masked and restored. Assuming that the second masking threshold coefficient corresponding to the sub-signal is 0.5 and the corresponding proportional coefficient is 0.8, then at the decoding end, the sub-signal in the Lth sub-signal block can be replaced with a main signal waveform with an amplitude of 0.5*0.8=0.4 times the amplitude of the main signal.

[0120] Optionally, the above-mentioned proportional coefficient determination rule may include but is not limited to any of the following:

[0121] 1. Use the same scaling factor for all secondary signal blocks, determined by the ratio between the average amplitude of the masked secondary signal and its corresponding secondary average amplitude of the primary signal;

[0122] 2. A different proportional coefficient is used for each signal block, which is determined according to the ratio between the average amplitude of the masked secondary signal of each signal block and the average amplitude of the corresponding main signal block.

[0123] Optionally, after obtaining the high-frequency block signals after each channel is masked (i.e., the target signal blocks mentioned above), the signals can be combined to obtain new multi-channel high-frequency tactile signals (i.e., the multi-channel signals obtained after the above splicing). At this time, the multi-channel high-frequency tactile signals have been processed for redundancy based on the spatial masking effect and the principle of temporal retention of the masking effect. Compared with the first signal, this signal reduces a large number of tactile signals that are not perceived or difficult to be perceived by the human body due to the influence of the spatial masking effect, and basically ensures that the human body has a difference in tactile perception of the processed signal.

[0124] Optionally, in some embodiments, the method further comprises:

[0125] Performing a Fast Fourier Transform (FFT) operation on the main signal block to obtain a frequency spectrum of the main signal block;

[0126] The frequency component with the largest amplitude in the frequency spectrum of the main signal block is determined as the characteristic frequency of the main signal block.

[0127] Optionally, in some embodiments, the method further comprises:

[0128] Send metadata to the decoding end, where the metadata includes at least one of the following:

[0129] a position number of the main signal block and a spatial modal mask corresponding to the main signal block;

[0130] a model identifier of a second masking model used to perform a second masking process on the first signal;

[0131] A flag indicating whether the signal with an amplitude of 0 in the secondary signal block needs to be masked and restored;

[0132] The proportionality coefficient of the signal in the secondary signal block that needs to be masked and restored.

[0133] In the embodiment of the present application, the metadata is data describing data, mainly information describing data attributes, and is indispensable in signal encoding and decoding. Metadata also needs to be transmitted in the encoding and decoding of vibrotactile signals so that the decoding end can restore the original vibrotactile signals.

[0134] Optionally, in some embodiments, the Metadata may further include: body region information to which each signal belongs, position information within the body region, and relative position information between each signal. If the tactile signal is a vibrotactile signal, the Metadata may further include: sampling rate of the vibrotactile signal and other information.

[0135] In order to better understand this application, refer to the following Figure 2 The coding process in this application is described below. Figure 2 As shown, the encoding process for each tactile signal may include the following steps:

[0136] 21. Perform low-pass filtering on the tactile signal to obtain a second signal (low-frequency signal component) and a third signal (high-frequency signal component);

[0137] 22. Perform key frame extraction on the second signal to obtain a key frame sequence, perform key frame masking (i.e., first masking processing) on ​​the key frame sequence to obtain a target key frame sequence, and then perform lossless binary encoding on the target key frame sequence to obtain a first encoding sequence;

[0138] 23. Reconstruct the low-frequency signal based on the key frame sequence, calculate the residual between the reconstructed low-frequency signal and the original second signal to obtain a target residual signal, and then superimpose the target residual signal on the third signal to obtain the first signal (a high-frequency signal with a low-frequency residual);

[0139] 24. Perform block processing on the first signal, determine the main signal block based on the integrator, then determine the characteristic frequency of the main signal block, and determine the spatiotemporal joint masking effect model based on the characteristic frequency.

[0140] 25. Use the spatiotemporal joint masking effect model to perform spatiotemporal joint masking on the sub-signal blocks of the first signal, and then perform wavelet transform and binary compression coding.

[0141] 26. Perform signal combination on the coding sequences after compression encoding of multiple signals to obtain the final coding sequence.

[0142] Reference Figure 3 The present application further provides a tactile signal decoding method, which is applied to a decoding end, such as Figure 3 As shown, the tactile signal decoding method includes:

[0143] Step 301, decoding a second coding sequence to obtain a plurality of fourth signals;

[0144] Step 302, performing block processing on each of the fourth signals to obtain at least one signal block, each signal block corresponding to a time interval;

[0145] Step 303, determining the primary signal block and the secondary signal block corresponding to each time interval;

[0146] Step 304: for each of the time intervals, based on the primary signal block, mask and restore the secondary signal block to obtain a fifth signal, wherein the fifth signal includes the primary signal block and the masked and restored secondary signal block;

[0147] Step 305, obtaining a multi-channel decoded signal based on the fifth signal;

[0148] Among them, the second coding sequence is obtained based on the first signal corresponding to each tactile signal in the multiple tactile signals, the first signal is obtained based on the target residual signal and the third signal, the target residual signal is obtained based on the second signal, the second signal and the third signal are obtained based on low-pass filtering of the tactile signal, and the frequency of the second signal is less than the frequency of the third signal.

[0149] Optionally, in some embodiments, the method further comprises:

[0150] Decoding a first coded sequence to obtain a key frame sequence, where the first coded sequence is obtained based on the second signal;

[0151] Performing interpolation processing on the key frame sequence to obtain a sixth signal;

[0152] Wherein, obtaining a multi-channel decoded signal based on the fifth signal includes: performing superposition processing on the fifth signal and the sixth signal to obtain a multi-channel decoded signal.

[0153] In the embodiment of the present application, the fourth signal may be understood as a high-frequency signal component with a low-frequency residual. Specifically, decoding the second coding sequence includes binary decoding and inverse wavelet transforming the second coding sequence to obtain the fourth signal.

[0154] Optionally, the above-mentioned superposition processing may include performing an addition operation.

[0155] Optionally, in some embodiments, for each of the time intervals, the secondary signal block is masked and restored based on the primary signal block to obtain a fifth signal block.

[0156] For each of the time intervals, the secondary signal block is masked and restored according to the second masking threshold coefficient corresponding to the secondary signal block, the proportional coefficient corresponding to the secondary signal block, and the amplitude of the main signal block to obtain the fifth signal.

[0157] Optionally, in some embodiments, the shielding restoration includes:

[0158] The secondary signal that needs to be masked and restored in the secondary signal block is replaced with M times the target main signal, where the target main signal is the main signal in the main signal block used to mask the secondary signal, wherein M is determined based on the second masking threshold coefficient corresponding to the second signal and the proportional coefficient corresponding to the second signal.

[0159] In the embodiment of the present application, the value range of the above M is 0 to 1.

[0160] Optionally, in some embodiments, the method further comprises:

[0161] Receive metadata, the metadata comprising at least one of the following:

[0162] a position number of the main signal block and a spatial modal mask corresponding to the main signal block;

[0163] a model identifier of a second masking model used to perform a second masking process on the first signal;

[0164] A flag indicating whether the signal with an amplitude of 0 in the secondary signal block needs to be masked and restored;

[0165] The proportionality coefficient of the signal in the secondary signal block that needs to be masked and restored.

[0166] In an embodiment of the present application, whether recovery is required (i.e., whether masking restoration is required) can be determined based on a flag bit in the metadata. When recovery is required, the corresponding secondary signal block can be masked and restored based on the corresponding second masking threshold coefficient, the corresponding proportional coefficient and the amplitude of the main signal block.

[0167] Optionally, in some embodiments, the Metadata may further include: body region information to which each signal belongs, position information within the body region, and relative position information between each signal. If the tactile signal is a vibrotactile signal, the Metadata may further include: sampling rate of the vibrotactile signal and other information.

[0168] It should be noted that after obtaining the above-mentioned multi-channel decoded signals, the multi-channel decoded signals are matched to the body area and the position within the body area according to the position information in the Metadata. The main signal and the secondary signal should also be matched to the corresponding position respectively. The main signal is very important for reproducing the vibration tactile signal, and the reproduction of the main signal should be ensured first. Specifically, the matching process may include the following:

[0169] 1. Match the body area to which each signal belongs.

[0170] 2. Match the positions of several signals belonging to the same body region within the body region.

[0171] 3. Add priority marks to each signal belonging to the main signal. The signals with priority marks are processed first in the subsequent steps to ensure the reproduction quality of the vibrotactile signal.

[0172] After obtaining the matching results, each signal is transmitted to the vibration tactile reproduction device at each position of the human body corresponding to the signal based on the matching results. Finally, each vibration tactile reproduction device receives the signal corresponding to the part where it is located transmitted by the decoder. After the device verifies whether the signal matches its own position, the vibration tactile signal reproduction is completed.

[0173] In order to better understand this application, refer to the following Figure 4 The decoding process in this application is described. Figure 4 As shown, the decoding process for each tactile signal may include the following steps:

[0174] 41. Divide the signal into blocks to obtain a first coding sequence and a second coding sequence corresponding to each tactile signal;

[0175] 42. Perform lossless binary decoding on the first coding sequence to obtain a key frame sequence, and perform interpolation processing on the key frame sequence to obtain a sixth signal (i.e., a low-frequency signal component);

[0176] 43. Perform binary compression decoding, wavelet transform and masked signal restoration processing on the second coded sequence to obtain a fifth signal;

[0177] 44. Add the fourth signal and the fifth signal to obtain a decoded signal;

[0178] 45. Combine multiple decoded signals to obtain a final decoded signal.

[0179] The tactile signal encoding and processing method provided in the embodiment of the present application may be executed by a tactile signal encoding and processing device. In the embodiment of the present application, the tactile signal encoding and processing device executing the tactile signal encoding and processing method is taken as an example to illustrate the tactile signal encoding and processing device provided in the embodiment of the present application.

[0180] Reference Figure 5 The present application also provides a tactile signal encoding and processing device, which is applied to an encoding end, such as Figure 5 As shown, the tactile signal encoding and processing device 500 includes:

[0181] an acquisition module 501, configured to acquire at least one of a key frame sequence and a first signal corresponding to each tactile signal in a plurality of tactile signals, wherein the key frame sequence is obtained based on a second signal, the first signal is obtained based on a target residual signal and a third signal, the target residual signal is obtained based on the second signal and the key frame sequence, the second signal and the third signal are obtained based on low-pass filtering the tactile signal, and a frequency of the second signal is less than a frequency of the third signal;

[0182] The execution module 502 is used to execute a target operation; wherein the target operation includes at least one of the following:

[0183] Performing a first masking process on the key frame sequence based on a first masking model, and encoding the signal after the first masking process to obtain a first coded sequence;

[0184] The first signal is subjected to a second masking process based on a second masking model, and the signal subjected to the second masking process is encoded to obtain a second encoding sequence.

[0185] Optionally, the execution module 502 is specifically configured to perform the following operations:

[0186] Determining a primary key frame sequence and a secondary key frame sequence in the key frame sequences corresponding to the multiple tactile signals;

[0187] Determine the first occlusion model according to the spatial position information corresponding to the primary key frame sequence and the spatial position information corresponding to the secondary key frame sequence;

[0188] Performing a first masking process on the secondary key frame sequence according to the first masking model to obtain a target key frame sequence, wherein the target key frame sequence includes the primary key frame sequence and the masked secondary key frame sequence;

[0189] The target key frame sequence is encoded to obtain a first encoded sequence.

[0190] Optionally, the execution module 502 is specifically configured to perform the following operations:

[0191] Inputting the frequency of the main key frame sequence into the first masking model to obtain a first masking threshold coefficient;

[0192] Multiplying the amplitude of the reconstructed signal obtained by reconstructing the main key frame sequence by the first masking threshold coefficient to obtain a first masking threshold matrix;

[0193] A first masking process is performed on the secondary key frame sequence based on the first masking threshold matrix to obtain a target key frame sequence.

[0194] Optionally, the main key frame sequence satisfies at least one of the following:

[0195] The main key frame sequence is a key frame sequence corresponding to the tactile signal of the tactile sensitive point;

[0196] The main key frame sequence is a key frame sequence corresponding to a tactile signal having a signal strength greater than or equal to a preset strength threshold.

[0197] Optionally, the execution module 502 is specifically configured to perform the following operations:

[0198] Perform block processing on each of the first signals to obtain at least one signal block, where each signal block corresponds to a time interval;

[0199] For each signal block in the time interval, determine a primary signal block and a secondary signal block;

[0200] determining the second masking model according to the spatial modal mask;

[0201] Performing a second masking process on the secondary signal block based on the second masking model to obtain a target signal block corresponding to each time interval, wherein the target signal block includes the primary signal block and the masked secondary signal block;

[0202] splicing the target signal blocks corresponding to all time intervals according to the correspondence between the signal blocks and the tactile signals to obtain multiple channels of signals to be encoded;

[0203] Performing encoding processing on the multiple signals to be encoded to obtain the second encoding sequence;

[0204] The spatial modal mask is determined based on the relative position of the primary signal block and the secondary signal block.

[0205] Optionally, one main signal block includes K main signals, where K is a positive integer, and the execution module 502 is specifically configured to perform the following operations:

[0206] Inputting the characteristic frequency of the main signal block into the second masking model to obtain a second masking threshold coefficient;

[0207] Multiplying the amplitude of the main signal block by the second masking threshold coefficient to obtain a second masking threshold matrix;

[0208] Performing value assignment processing on the second masking threshold matrix based on the K main signals to obtain a third masking threshold matrix;

[0209] Performing a second masking process on the secondary signal block based on the third masking threshold matrix to obtain the target signal block;

[0210] Among them, the assignment processing satisfies: when the K main signals include at least one unprocessed main signal, the assignment processing is performed; when the assignment processing is performed for the Pth time, the masking thresholds of the consecutive n second positions located after the first position in the second masking threshold matrix are assigned as the masking thresholds of the first position, the first position is adjacent to the n second positions, the first position is the position corresponding to the main signal with the largest amplitude among the main signals that have not been processed when the assignment processing was performed for the previous P-1 times, and the main signals corresponding to the first position and the second position are the main signals processed when the assignment processing is performed for the Pth time, and n and P are both positive integers.

[0211] Optionally, the second masking process includes at least one of the following:

[0212] When the amplitude of the first signal in the Lth secondary signal block is 0, the amplitude of the first signal is kept unchanged, and a first flag is added to the metadata, where the first flag is used to indicate that the first signal does not need to be masked and restored;

[0213] When the amplitude of the second signal in the Lth secondary signal block is not 0, the amplitude of the second signal is set to 0, and a second flag is added to the metadata, where the second flag is used to indicate that the second signal needs to be restored by masking;

[0214] Wherein, L is a positive integer.

[0215] Optionally, the tactile signal encoding and processing device 500 further includes:

[0216] A transform module, used for performing a fast Fourier transform (FFT) operation on the main signal block to obtain a frequency spectrum of the main signal block;

[0217] The second determination module is further configured to determine the frequency component with the largest amplitude in the frequency spectrum of the main signal block as the characteristic frequency of the main signal block.

[0218] Optionally, the tactile signal encoding and processing device 500 further includes:

[0219] The sending module is used to send metadata to the decoding end, and the metadata includes at least one of the following:

[0220] a position number of the main signal block and a spatial modal mask corresponding to the main signal block;

[0221] a model identifier of a second masking model used to perform a second masking process on the first signal;

[0222] A flag indicating whether the signal with an amplitude of 0 in the secondary signal block needs to be masked and restored;

[0223] The proportionality coefficient of the signal in the secondary signal block that needs to be masked and restored.

[0224] The tactile signal decoding processing method provided in the embodiment of the present application may be executed by a tactile signal decoding processing device. In the embodiment of the present application, the tactile signal decoding processing device executing the tactile signal decoding processing method is taken as an example to illustrate the tactile signal decoding processing device provided in the embodiment of the present application.

[0225] Reference Figure 6 The present application also provides a tactile signal decoding and processing device, which is applied to a decoding end, such as Figure 6 As shown, the tactile signal decoding and processing device 600 includes:

[0226] A decoding module 601, configured to decode the second coding sequence to obtain multiple fourth signals;

[0227] Block processing 602, used to perform block processing on each of the fourth signals to obtain at least one signal block, each signal block corresponding to a time interval;

[0228] A determination module 603, configured to determine a primary signal block and a secondary signal block corresponding to each time interval;

[0229] A restoration module 604 is configured to perform masking restoration on the secondary signal block based on the primary signal block for each of the time intervals to obtain a fifth signal, wherein the fifth signal includes the primary signal block and the masked and restored secondary signal block;

[0230] A processing module 605 is used to obtain a multi-channel decoded signal based on the fifth signal;

[0231] Among them, the second coding sequence is obtained based on the first signal corresponding to each tactile signal in the multiple tactile signals, the first signal is obtained based on the target residual signal and the third signal, the target residual signal is obtained based on the second signal, the second signal and the third signal are obtained based on low-pass filtering of the tactile signal, and the frequency of the second signal is less than the frequency of the third signal.

[0232] Optionally, the restoration module 604 is specifically used to: for each of the time intervals, perform masked restoration on the secondary signal block according to the second masking threshold coefficient corresponding to the secondary signal block, the proportional coefficient corresponding to the secondary signal block and the amplitude of the main signal block to obtain the fifth signal.

[0233] Optionally, the shielding restoration includes:

[0234] The secondary signal that needs to be masked and restored in the secondary signal block is replaced with M times the target main signal, where the target main signal is the main signal in the main signal block used to mask the secondary signal, wherein M is determined based on the second masking threshold coefficient corresponding to the second signal and the proportional coefficient corresponding to the second signal.

[0235] Optionally, the tactile signal decoding and processing device 600 further includes:

[0236] The receiving module 601 is used to receive metadata, where the metadata includes at least one of the following:

[0237] a position number of the main signal block and a spatial modal mask corresponding to the main signal block;

[0238] a model identifier of a second masking model used to perform a second masking process on the first signal;

[0239] A flag indicating whether the signal with an amplitude of 0 in the secondary signal block needs to be masked and restored;

[0240] The proportionality coefficient of the signal in the secondary signal block that needs to be masked and restored.

[0241] Optionally, the decoding module 601 is further configured to decode a first coding sequence to obtain a key frame sequence, where the first coding sequence is obtained based on the second signal; and perform interpolation processing on the key frame sequence to obtain a sixth signal;

[0242] The processing module 605 is specifically configured to perform superposition processing on the fifth signal and the sixth signal to obtain a multi-channel decoded signal.

[0243] The tactile signal encoding processing device or the tactile signal decoding processing device in the embodiment of the present application can 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 can be a terminal, or it can be other devices other than a terminal. Exemplarily, the terminal can include but is not limited to the types of terminals 11 listed above, and other devices can be servers, network attached storage (NAS), etc., which are not specifically limited in the embodiment of the present application.

[0244] The tactile signal encoding and processing device and the tactile signal decoding and processing device provided in the embodiments of the present application can achieve Figures 1 to 4 The various processes implemented by the method embodiment and achieving the same technical effect are not described here to avoid repetition.

[0245] like Figure 7As shown, the embodiment of the present application also provides a communication device 700, including a processor 701 and a memory 702, and the memory 702 stores programs or instructions that can be run on the processor 701. For example, when the communication device 700 is an encoding end device, the program or instruction is executed by the processor 701 to implement the various steps of the above-mentioned tactile signal encoding and processing method embodiment, and can achieve the same technical effect. When the communication device 700 is a decoding end device, the program or instruction is executed by the processor 701 to implement the various steps of the above-mentioned tactile signal decoding and processing method embodiment, and can achieve the same technical effect. To avoid repetition, it will not be repeated here. Optionally, the above-mentioned memory can further store a spatiotemporal joint shielding effect model.

[0246] The embodiment of the present application also provides an electronic device, including a processor and a communication interface, wherein the communication interface is coupled to the processor, and the processor is used to run a program or instruction to implement the following Figures 1 to 4 The steps in the method embodiment are shown. The electronic device embodiment corresponds to the above method embodiment, and each implementation process and implementation method of the above method embodiment can be applied to the electronic device embodiment and can achieve the same technical effect. Specifically, Figure 8 A schematic diagram of the hardware structure of an electronic device to implement an embodiment of the present application.

[0247] The electronic device 800 includes but is not limited to: a radio frequency unit 801, a network module 802, an output unit 803, an input unit 804, a sensor 805, a display unit 806, a user input unit 807, an interface unit 808, a memory 809 and at least some of the components of a processor 810.

[0248] Those skilled in the art will appreciate that the electronic device 800 may also include a power source (such as a battery) for supplying power to each component, and the power source may be logically connected to the processor 810 through a power management system, thereby implementing functions such as managing charging, discharging, and power consumption through the power management system. Figure 8 The electronic device structure shown in the figure does not constitute a limitation on the electronic device. The electronic device may include more or fewer components than shown in the figure, or combine certain components, or arrange the components differently, which will not be described in detail here.

[0249] It should be understood that in the embodiment of the present application, the input unit 804 may include a tactile signal acquisition sensor and a sensor host computer for collecting, processing, and converting sensor information. The display unit 806 may include a display panel 8061, and the display panel 8061 may be configured in the form of a liquid crystal display, an organic light emitting diode, etc. The user input unit 807 includes a touch panel 8071 and at least one of other input devices 8072. The touch panel 8071 is also called a touch screen. The touch panel 8071 may include two parts: a touch detection device and a touch controller. Other input devices 8072 may include, but are not limited to, a physical keyboard, function keys (such as volume control keys, switch keys, etc.), a trackball, a mouse, and a joystick, which will not be repeated here.

[0250] In the embodiment of the present application, after receiving downlink data from the network side device, the radio frequency unit 801 can transmit the data to the processor 810 for processing; in addition, the radio frequency unit 801 can send uplink data to the network side device. Generally, the radio frequency unit 801 includes but is not limited to an antenna, an amplifier, a transceiver, a coupler, a low noise amplifier, a duplexer, etc.

[0251] The memory 809 can be used to store software programs or instructions and various data (for example, data such as a spatiotemporal joint masking effect model and tactile signals). The memory 809 may mainly include a first storage area for storing programs or instructions and a second storage area for storing data, wherein the first storage area may store an operating system, an application program or instruction required for at least one function (such as a sound playback function, an image playback function, etc.). In addition, the memory 809 may include a volatile memory or a non-volatile memory. 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), a static random access memory (SRAM), a dynamic random access memory (DRAM), a synchronous dynamic random access memory (SDRAM), a double data rate synchronous dynamic random access memory (DDRSDRAM), an enhanced synchronous dynamic random access memory (ESDRAM), a synchronous link dynamic random access memory (SLDRAM) and a direct memory bus random access memory (DRRAM). The memory 809 in the embodiment of the present application includes but is not limited to these and any other suitable types of memory.

[0252] The processor 810 may include one or more processing units; optionally, the processor 810 integrates an application processor and a modem processor, wherein the application processor mainly processes operations related to an operating system, a user interface, and application programs, and the modem processor mainly processes wireless communication signals, such as a baseband processor. It is understandable that the modem processor may not be integrated into the processor 810.

[0253] Wherein, when the electronic device is an encoding end, the processor 810 is used to obtain at least one of a key frame sequence and a first signal corresponding to each tactile signal in multiple tactile signals, wherein the key frame sequence is obtained based on the second signal, the first signal is obtained based on a target residual signal and a third signal, the target residual signal is obtained based on the second signal and the key frame sequence, the second signal and the third signal are obtained based on low-pass filtering of the tactile signal, and the frequency of the second signal is less than the frequency of the third signal; perform a target operation; wherein the target operation includes at least one of the following: performing a first masking process on the key frame sequence based on a first masking model, and encoding the signal after the first masking process to obtain a first coding sequence; performing a second masking process on the first signal based on a second masking model, and encoding the signal after the second masking process to obtain a second coding sequence;

[0254] When the electronic device is a decoding end, the processor 810 is used to decode the second coding sequence to obtain multiple fourth signals; perform block processing on each of the fourth signals to obtain at least one signal block, each signal block corresponds to a time interval; determine the main signal block and the secondary signal block corresponding to each time interval; for each of the time intervals, based on the main signal block, mask and restore the secondary signal block to obtain a fifth signal, the fifth signal including the main signal block and the masked and restored secondary signal block; based on the fifth signal, obtain multiple decoded signals; wherein, the second coding sequence is obtained based on the first signal corresponding to each tactile signal in the multiple tactile signals, the first signal is obtained based on the target residual signal and the third signal, the target residual signal is obtained based on the second signal, the second signal and the third signal are obtained based on low-pass filtering of the tactile signal, and the frequency of the second signal is less than the frequency of the third signal.

[0255] It can be understood that the implementation process of each implementation method mentioned in this embodiment can refer to the relevant description of the above-mentioned method embodiment, and achieve the same or corresponding technical effect. To avoid repetition, it will not be repeated here.

[0256] The embodiment of the present application also provides a readable storage medium, on which a program or instruction is stored. When the program or instruction is executed by a processor, each process of the above-mentioned tactile signal encoding processing method embodiment is implemented, or each process of the above-mentioned tactile signal decoding processing method embodiment is implemented, and the same technical effect can be achieved. To avoid repetition, it is not repeated here. Optionally, the above-mentioned readable storage medium can further store a spatiotemporal joint shielding effect model.

[0257] The processor is a processor in the electronic device described in the above embodiment. The readable storage medium includes a computer readable storage medium, such as a computer read-only memory ROM, a random access memory RAM, a magnetic disk or an optical disk. In some examples, the readable storage medium may be a non-transient readable storage medium.

[0258] An embodiment of the present application further provides a chip, which includes a processor and a communication interface, wherein the communication interface is coupled to the processor, and the processor is used to run programs or instructions to implement the various processes of the above-mentioned tactile signal encoding processing method embodiment, or to implement the various processes of the above-mentioned tactile signal decoding processing method embodiment, and can achieve the same technical effect. To avoid repetition, it will not be repeated here.

[0259] It should be understood that the chip mentioned in the embodiments of the present application can also be called a system-level chip, a system chip, a chip system or a system-on-chip chip, etc.

[0260] An embodiment of the present application further provides a computer program / program product, which is stored in a storage medium, and is executed by at least one processor to implement the various processes of the above-mentioned tactile signal encoding processing method embodiment, or to implement the various processes of the above-mentioned tactile signal decoding processing method embodiment, and can achieve the same technical effect. To avoid repetition, it will not be repeated here.

[0261] An embodiment of the present application also provides a tactile signal encoding and decoding system, including: an encoding end device and a decoding end device, the terminal can be used to execute the steps of the tactile signal encoding processing method as described above, and the network side device can be used to execute the steps of the tactile signal decoding processing method as described above.

[0262] It should be noted that, in this article, the terms "comprise", "include" or any other variant thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, an element defined by the sentence "comprises one..." does not exclude the presence of other identical elements in the process, method, article or device including the element. In addition, it should be pointed out that the scope of the method and device in the embodiment 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 reverse order according to the functions involved, for example, the described method may be performed in an order different from that described, and various steps may also be added, omitted or combined. In addition, the features described with reference to certain examples may be combined in other examples.

[0263] Through the description of the above implementation methods, those skilled in the art can clearly understand that the above-mentioned embodiment methods can be implemented by means of a computer software product plus a necessary general hardware platform, and of course, can also be implemented by hardware. The computer software product is stored in a storage medium (such as ROM, RAM, disk, CD, etc.), including several instructions to enable a terminal or a network-side device to execute the methods described in each embodiment of the present application.

[0264] The embodiments of the present application are described above in conjunction with the accompanying drawings, but the present application is not limited to the above-mentioned specific implementation methods. The above-mentioned specific implementation methods are merely illustrative and not restrictive. Under the guidance of the present application, ordinary technicians in this field can also make many forms of implementation methods without departing from the purpose of the present application and the scope of protection of the claims, and these implementation methods are all within the protection of the present application.

Claims

1. A tactile signal encoding and processing method, applied to an encoding end, It is characterized in that include: Acquire at least one of a key frame sequence and a first signal corresponding to each tactile signal in multiple tactile signals, wherein the key frame sequence is obtained based on the second signal, the first signal is obtained based on a target residual signal and a third signal, the target residual signal is obtained based on the second signal and the key frame sequence, the second signal and the third signal are obtained based on low-pass filtering the tactile signal, and a frequency of the second signal is less than a frequency of the third signal; Execute a target operation; wherein the target operation includes at least one of the following: Performing a first masking process on the key frame sequence based on a first masking model, and encoding the signal after the first masking process to obtain a first coded sequence; The first signal is subjected to a second masking process based on a second masking model, and the signal subjected to the second masking process is encoded to obtain a second encoding sequence.

2. The method according to claim 1, It is characterized in that The performing a first masking process on the key frame sequence based on the first masking model to obtain a first coding sequence comprises: Determining a primary key frame sequence and a secondary key frame sequence in the key frame sequences corresponding to the multiple tactile signals; Determine the first occlusion model according to the spatial position information corresponding to the primary key frame sequence and the spatial position information corresponding to the secondary key frame sequence; Performing a first masking process on the secondary key frame sequence according to the first masking model to obtain a target key frame sequence, wherein the target key frame sequence includes the primary key frame sequence and the masked secondary key frame sequence; The target key frame sequence is encoded to obtain a first encoded sequence.

3. The method according to claim 2, It is characterized in that The performing a first masking process on the secondary key frame sequence according to the first masking model to obtain a target key frame sequence comprises: Inputting the frequency of the main key frame sequence into the first masking model to obtain a first masking threshold coefficient; Multiplying the amplitude of the main key frame sequence by a first masking threshold coefficient to obtain a first masking threshold matrix; A first masking process is performed on the secondary key frame sequence based on the first masking threshold matrix to obtain a target key frame sequence.

4. The method according to claim 2, It is characterized in that The main key frame sequence satisfies at least one of the following: The main key frame sequence is a key frame sequence corresponding to the tactile signal of the tactile sensitive point; The main key frame sequence is a key frame sequence corresponding to a tactile signal having a signal strength greater than or equal to a preset strength threshold.

5. The method according to any one of claims 1 to 4, It is characterized in that The performing a second masking process on the first signal based on a second masking model, and encoding the signal after the second masking process to obtain a second coded sequence comprises: Perform block processing on each of the first signals to obtain at least one signal block, where each signal block corresponds to a time interval; For each signal block in the time interval, determine a primary signal block and a secondary signal block; determining the second masking model according to the spatial modal mask; Performing a second masking process on the secondary signal block based on the second masking model to obtain a target signal block corresponding to each time interval, wherein the target signal block includes the primary signal block and the masked secondary signal block; splicing the target signal blocks corresponding to all time intervals according to the correspondence between the signal blocks and the tactile signals to obtain multiple channels of signals to be encoded; Performing encoding processing on the multiple signals to be encoded to obtain the second encoding sequence; The spatial modal mask is determined based on the relative position of the primary signal block and the secondary signal block.

6. The method according to claim 5, It is characterized in that One of the main signal blocks includes K main signals, where K is a positive integer. The performing of the second masking process on the secondary signal block based on the second masking model to obtain a target signal block corresponding to each time interval includes: Inputting the characteristic frequency of the main signal block into the second masking model to obtain a second masking threshold coefficient; Multiplying the amplitude of the main signal block by the second masking threshold coefficient to obtain a second masking threshold matrix; Performing value assignment processing on the second masking threshold matrix based on the K main signals to obtain a third masking threshold matrix; Performing a second masking process on the secondary signal block based on the third masking threshold matrix to obtain the target signal block; Among them, the assignment processing satisfies: when the K main signals include at least one unprocessed main signal, the assignment processing is performed; when the assignment processing is performed for the Pth time, the masking thresholds of the consecutive n second positions located after the first position in the second masking threshold matrix are assigned as the masking thresholds of the first position, the first position is adjacent to the n second positions, the first position is the position corresponding to the main signal with the largest amplitude among the main signals that have not been processed when the assignment processing was performed for the previous P-1 times, and the main signals corresponding to the first position and the second position are the main signals processed when the assignment processing is performed for the Pth time, and n and P are both positive integers.

7. The method according to claim 6, It is characterized in that The second masking process includes at least one of the following: When the amplitude of the first signal in the Lth secondary signal block is 0, the amplitude of the first signal is kept unchanged, and a first flag is added to the metadata, where the first flag is used to indicate that the first signal does not need to be masked and restored; When the amplitude of the second signal in the Lth secondary signal block is not 0, the amplitude of the second signal is set to 0, and a second flag is added to the metadata, where the second flag is used to indicate that the second signal needs to be restored by masking; Wherein, L is a positive integer.

8. The method according to claim 6, It is characterized in that The method further comprises: Performing a fast Fourier transform (FFT) operation on the main signal block to obtain a frequency spectrum of the main signal block; The frequency component with the largest amplitude in the frequency spectrum of the main signal block is determined as the characteristic frequency of the main signal block.

9. The method according to any one of claims 5 to 8, It is characterized in that The method further comprises: Send metadata to the decoding end, where the metadata includes at least one of the following: a position number of the main signal block and a spatial modal mask corresponding to the main signal block; a model identifier of a second masking model used to perform a second masking process on the first signal; A flag indicating whether the signal with an amplitude of 0 in the secondary signal block needs to be masked and restored; The proportionality coefficient of the signal in the secondary signal block that needs to be masked and restored.

10. A tactile signal decoding processing method, applied to a decoding end, It is characterized in that include: Decoding the second coding sequence to obtain multiple fourth signals; Perform block processing on each of the fourth signals to obtain at least one signal block, where each signal block corresponds to a time interval; Determine a primary signal block and a secondary signal block corresponding to each time interval; For each of the time intervals, masking and restoring the secondary signal block based on the primary signal block to obtain a fifth signal, wherein the fifth signal includes the primary signal block and the masked and restored secondary signal block; Based on the fifth signal, obtaining a multi-channel decoded signal; Among them, the second coding sequence is obtained based on the first signal corresponding to each tactile signal in the multiple tactile signals, the first signal is obtained based on the target residual signal and the third signal, the target residual signal is obtained based on the second signal, the second signal and the third signal are obtained based on low-pass filtering of the tactile signal, and the frequency of the second signal is less than the frequency of the third signal.

11. The method according to claim 10, It is characterized in that For each of the time intervals, masking and restoring the secondary signal block based on the primary signal block to obtain the fifth signal includes: For each of the time intervals, the secondary signal block is masked and restored according to the second masking threshold coefficient corresponding to the secondary signal block, the proportional coefficient corresponding to the secondary signal block, and the amplitude of the main signal block to obtain the fifth signal.

12. The method according to claim 11, It is characterized in that The mask restoration comprises: The secondary signal that needs to be masked and restored in the secondary signal block is replaced with M times the target main signal, where the target main signal is the main signal in the main signal block used to mask the secondary signal, wherein M is determined based on the second masking threshold coefficient corresponding to the second signal and the proportional coefficient corresponding to the second signal.

13. The method according to any one of claims 10 to 12, It is characterized in that The method further comprises: Receive metadata, the metadata comprising at least one of the following: a position number of the main signal block and a spatial modal mask corresponding to the main signal block; a model identifier of a second masking model used to perform a second masking process on the first signal; A flag indicating whether the signal with an amplitude of 0 in the secondary signal block needs to be masked and restored; The proportionality coefficient of the signal in the secondary signal block that needs to be masked and restored.

14. The method according to any one of claims 10 to 13, It is characterized in that The method further comprises: Decoding a first coded sequence to obtain a key frame sequence, where the first coded sequence is obtained based on the second signal; Performing interpolation processing on the key frame sequence to obtain a sixth signal; Wherein, obtaining a multi-channel decoded signal based on the fifth signal includes: performing superposition processing on the fifth signal and the sixth signal to obtain a multi-channel decoded signal.

15. A tactile signal encoding and processing device, applied to an encoding end, It is characterized in that include: an acquisition module, configured to acquire at least one of a key frame sequence and a first signal corresponding to each tactile signal in multiple tactile signals, wherein the key frame sequence is obtained based on the second signal, the first signal is obtained based on a target residual signal and a third signal, the target residual signal is obtained based on the second signal and the key frame sequence, the second signal and the third signal are obtained based on low-pass filtering of the tactile signal, and a frequency of the second signal is less than a frequency of the third signal; An execution module is used to execute a target operation; wherein the target operation includes at least one of the following: Performing a first masking process on the key frame sequence based on a first masking model, and encoding the signal after the first masking process to obtain a first coded sequence; The first signal is subjected to a second masking process based on a second masking model, and the signal subjected to the second masking process is encoded to obtain a second encoding sequence.

16. A tactile signal decoding and processing device, applied to a decoding end, It is characterized in that include: A decoding module, used for decoding the second coding sequence to obtain multiple fourth signals; Block processing, used for performing block processing on each of the fourth signals to obtain at least one signal block, each signal block corresponding to a time interval; A first determination module, used to determine a primary signal block and a secondary signal block corresponding to each time interval; A restoration module, configured to perform masking restoration on the secondary signal block based on the primary signal block for each of the time intervals to obtain a fifth signal, wherein the fifth signal includes the primary signal block and the masked and restored secondary signal block; A processing module, configured to obtain a multi-channel decoded signal based on the fifth signal; Among them, the second coding sequence is obtained based on the first signal corresponding to each tactile signal in the multiple tactile signals, the first signal is obtained based on the target residual signal and the third signal, the target residual signal is obtained based on the second signal, the second signal and the third signal are obtained based on low-pass filtering of the tactile signal, and the frequency of the second signal is less than the frequency of the third signal.

17. An electronic device, It is characterized in that The method comprises a processor and a memory, wherein the memory stores a program or instruction that can be run on the processor, and when the program or instruction is executed by the processor, the steps of the tactile signal encoding and processing method as described in any one of claims 1 to 9 are implemented, or when the program or instruction is executed by the processor, the steps of the tactile signal decoding and processing method as described in any one of claims 10 to 14 are implemented.

18. A readable storage medium, It is characterized in that The readable storage medium stores a program or instruction, and when the program or instruction is executed by the processor, the steps of the tactile signal encoding processing method as described in any one of claims 1 to 9 are implemented, or the steps of the tactile signal decoding processing method as described in any one of claims 10 to 14 are implemented.

Citation Information

Patent Citations

  • Capacitive sensing array device and electronic equipment using same

    CN105094477A

  • Optimization for host based touch processing

    CN106030475A

  • Encoding / decoding apparatuses and methods for encoding / decoding vibrotactile signals

    CN111757127A

  • Decoding device, decoding method, and program

    CN112534723A

  • Decoding device, decoding method, and program

    US20210359703A1

Cited By

  • Haptic signal processing method and apparatus, and device

    WO2026086664A1