Haptic effect data compression and encryption method, system and related device

The method addresses memory size and security issues in haptic feedback by compressing and encrypting haptic data, achieving reduced storage and secure playback.

JP2024547227AActive Publication Date: 2024-12-27AAC ACOUSTIC TECH (SHANGHAI) CO LTD
View PDF 6 Cites 0 Cited by

Patent Information

Application Number
JP2023532291
Authority / Receiving Office
JP · JP
Patent Type
Applications
Current Assignee / Owner
Priority Date
2022-12-08
Filing Date
2022-12-30
Publication Date
2024-12-27
Estimated Expiration
2042-12-30

AI Technical Summary

Technical Problem

Existing haptic feedback technologies face issues of increasing memory size requirements and data security risks due to large storage needs and user-readable storage of haptic effect data.

Method used

A method involving data compression and encryption of haptic effect data, utilizing preset methods for downsampling and upsampling, and encryption with secret keys to reduce storage size and enhance security.

Benefits of technology

The method effectively reduces storage space and ensures data security by compressing and encrypting haptic effect data, while maintaining playback quality and effect.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 2024547227000001_ABST
    Figure 2024547227000001_ABST
Patent Text Reader

Abstract

The present invention provides methods, systems, and related devices for compressing and encrypting haptic effect data. [Solution] The method includes: obtaining haptic effect data, compressing the haptic effect data according to a preset compression method, encrypting the haptic effect data according to a preset encryption method, obtaining haptic memory data, decrypting the haptic memory data according to a preset decoding method, decompressing the haptic memory data according to a preset decompression method, obtaining haptic feedback data, performing digital-to-analog conversion on the haptic feedback data, and inputting the data into a brake unit to play the haptic effect.Compared with the prior art, the present invention uses encryption and compression methods from data acquisition to playback, respectively, so that storage space can be saved when storing haptic effect data, and the playback effect can be ensured by restoring the data to the original data when playing back, and at the same time, encryption processing is performed using an encryption algorithm when storing, so that the security of the original haptic effect data can be ensured during the storage process.
Need to check novelty before this filing date? Find Prior Art

Description

[Technical field]

[0001] The present invention relates to methods for processing haptic effect data, and more particularly to methods, systems and related devices for compressing and encrypting haptic effect data. [Background technology]

[0002] With the development of consumer electronics technology, brake-based haptic feedback solutions, mainly vibration motors, voice coil motors, etc., have been widely applied in various consumer electronic devices, such as mobile phones, tablets, etc.

[0003] In the prior art, various haptic effect data are stored as digital signals in the digital side of the haptic feedback solution, and when a haptic effect is required, the system retrieves the digital signal and converts it into an analog signal through a digital-to-analog conversion device to drive the brakes to apply the haptic feedback effect. Among them, there are two ways to generate haptic effect data: One is to store pre-designed effect data in memory, such as the PC's hard disk or a RAM unit in a chip, and call it directly from the interface when needed. This method is usually called RAM mode. The other is to generate the necessary haptic effect data in real time through a digital signal processing link, which is usually called RTP mode.

[0004] However, whether in RAM mode or RTP mode, two problems are inevitable in the process of storing and generating haptic effect data, and with the rapid development of haptic feedback technology, these two problems become more and more prominent. The first problem is that the memory size occupied by the haptic effect data becomes larger and larger as the number of pre-defined effect files increases. The second problem is that data security is an issue because the original haptic effect data is stored in user-readable disk or RAM space.

[0005] Therefore, in order to solve the above problems, it is necessary to provide a new method for processing haptic effect data. Summary of the Invention [Problem to be solved by the invention]

[0006] SUMMARY OF THE PRESENT EMBODIMENT An object of the present invention is to provide a method for processing haptic effect data that can reduce the storage size and encryption requirements of haptic effect data. [Means for solving the problem]

[0007] In order to solve the above technical problems, in a first aspect, the present invention provides a method for compressing and encrypting haptic effect data, the method comprising: Obtaining haptic effect data; The haptic effect data is compressed by a preset compression method, and then encrypted by a preset encryption method to obtain haptic storage data, and the preset compression method is to downsample the haptic effect data at a preset compression frequency; Decoding the haptic memory data by a preset decoding method, and then decompressing the data by a preset decompression method to obtain haptic feedback data, the preset decompression method being to upsample the haptic memory data at a preset playback frequency; and performing digital-to-analog conversion on the haptic feedback data and inputting the data to a brake unit to reproduce a haptic effect.

[0008] In a second aspect, the present invention provides another method for compressing and encrypting haptic effect data, the method comprising: Obtaining haptic effect data; The haptic effect data is compressed by a preset compression method, and then encrypted by a preset encryption method to obtain haptic storage data, and the preset compression method is to compress the haptic effect data of the original frequency by source coding; Decoding the haptic memory data according to a preset decoding method, and then decompressing the haptic memory data according to a preset decompression method to obtain haptic feedback data, and the preset decompression method is to restore the haptic memory data to the original frequency; and performing digital-to-analog conversion on the haptic feedback data and inputting the data to a brake unit to reproduce a haptic effect.

[0009] Preferably, the preset encryption method encrypts the haptic effect data with a preset secret key, and the preset decryption method decrypts the haptic memory data with the preset secret key.

[0010] In a third aspect, the present invention further provides a haptic effect data compression and encryption system, the haptic effect data compression and encryption system comprising: a data acquisition module for acquiring haptic effect data; a compression and encryption module for compressing the haptic effect data according to a preset compression method and encrypting the haptic effect data according to a preset encryption method to obtain haptic memory data, the preset compression method being to downsample the haptic effect data at a preset compression frequency; a decompression and decoding module for decoding the haptic memory data according to a preset decoding method, and decompressing the haptic memory data according to a preset decompression method to obtain haptic feedback data, the preset decompression method being to upsample the haptic memory data at a preset playback frequency; and a haptic effect reproduction module for performing digital-to-analog conversion on the haptic feedback data and inputting the data to a brake unit to reproduce the haptic effect.

[0011] In a fourth aspect, the present invention further provides another haptic effect data compression and encryption system, the haptic effect data compression and encryption system comprising: a data acquisition module for acquiring haptic effect data; a compression and encryption module for compressing the haptic effect data according to a preset compression method and encrypting the haptic effect data according to a preset encryption method to obtain haptic memory data, the preset compression method being for compressing the haptic effect data of an original frequency according to source coding; a decompression and decoding module for decoding the haptic memory data according to a preset decoding method, and decompressing the same according to a preset decompression method to obtain haptic feedback data, the preset decompression method being to restore the haptic memory data to the original frequency; and a haptic effect reproduction module for performing digital-to-analog conversion on the haptic feedback data and inputting the data to a brake unit to reproduce the haptic effect.

[0012] In a fifth aspect, the present invention further provides a computer apparatus including a memory, a processor, and a computer program stored in the memory and executable on the processor, the computer apparatus implementing the steps of the haptic effect data compression and encryption method described in any one of the above claims when the processor executes the computer program.

[0013] In a sixth aspect, the present invention further provides a computer-readable storage medium having a computer program stored thereon, the computer program implementing the steps of the haptic effect data compression and encryption method described in any one of the above claims when executed by a processor. Effect of the Invention

[0014] Compared with the prior art, the haptic effect data compression and encryption method of the present invention uses encryption and compression methods from data acquisition to playback, so that storage space can be saved when storing haptic effect data, and the original data can be restored when playing back to ensure the playback effect. At the same time, the encryption algorithm is used to perform encryption processing when storing, so that the security of the original haptic effect data can be ensured during the storage process. [Brief description of the drawings]

[0015] In order to more clearly describe the technical solutions in the embodiments of the present invention, the following briefly describes the drawings that need to be used in the description of the embodiments. Obviously, the drawings in the following description are only some embodiments of the present invention, and those skilled in the art can also obtain other drawings based on these drawings without creative labor. [Figure 1] FIG. 1 is a flow chart of a haptic effect data compression and encryption method provided by an embodiment of the present invention. [Diagram 2]FIG. 2 is a flow chart of another haptic effect data compression and encryption method provided by an embodiment of the present invention. [Diagram 3] FIG. 3 is a diagram illustrating the configuration of a haptic effect data compression and encryption system provided by an embodiment of the present invention. [Figure 4] FIG. 4 is a diagram illustrating the configuration of a computer device provided by an embodiment of the present invention. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

[0016] The following will clearly and completely describe the technical solutions in the embodiments of the present invention in combination with the drawings in the embodiments of the present invention. Obviously, the described embodiments are only some of the embodiments of the present invention, and are not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative labor are all within the scope of protection of the present invention. Example 1

[0017] Please refer to FIG. 1, which is a flowchart of a haptic effect data compression and encryption method provided by an embodiment of the present invention. Specifically, the method includes the following steps:

[0018] S1: Acquire haptic effect data.

[0019] For example, in the embodiment of the present invention, the haptic effect data may be obtained by collecting the haptic effect data from the environment through a sound recording device, or by editing the haptic effect data with computer software. The present invention does not particularly limit the method of obtaining the haptic effect data.

[0020] S2: Compressing the haptic effect data by a preset compression method, and encrypting it by a preset encryption method to obtain haptic memory data, wherein the preset compression method downsamples the haptic effect data at a preset compression frequency.

[0021] S3: Decode the tactile memory data by a predetermined decoding method, and then decompress it by a predetermined decompression method to obtain tactile feedback data, and the predetermined decompression method upsamples the tactile memory data at a predetermined playback frequency.

[0022] Specifically, the preset compression frequency and the preset playback frequency vary according to the data speed. For example, in one embodiment, since the frequency range of the haptic feedback of the human body is within 500 Hz, the frequency range of most of the haptic feedback data does not exceed this 500 Hz, but in order to improve the feedback quality of the haptic effect while playing the haptic effect, it is usually required not to generate extra noise. Since the human ear is sensitive to noise of about 5 kHz to 8 kHz, when playing the haptic feedback data, the playback speed is usually increased to 24 kHz to 96 kHz. In an embodiment of the present invention, in order to compress the storage space of the haptic effect data, a low-speed digital signal such as 4 kHz is used in step S2, but a high-speed digital signal such as 48 kHz is used when decompressing in step S3.

[0023] Preferably, the preset encryption method encrypts the haptic effect data with a preset secret key, and the preset decryption method decrypts the haptic memory data with the preset secret key.

[0024] Specifically, for pre-stored or generated haptic feedback data, in terms of security requirements, it is necessary to encrypt the haptic feedback data in some way. In practical implementation of the embodiment of the present invention, a number of existing encryption algorithms may be adopted to balance between encryption complexity and security. Preferably, if the execution entities of steps S1, S2 and steps S3, S4 are not the same, the pre-set secret key needs to be synchronized from the encryption side to the decryption side to complete the decryption operation before decompressing and playing the haptic feedback signal.

[0025] S4: The haptic feedback data is subjected to digital-to-analog conversion and input to a brake unit to reproduce the haptic effect.

[0026] Compared with the prior art, the haptic effect data compression and encryption method of the present invention uses encryption and compression methods from data acquisition to playback, so that storage space can be saved when storing haptic effect data, and the original data can be restored when playing back, ensuring the playback effect. At the same time, the encryption algorithm is used to perform encryption processing when storing, so that the security of the original haptic effect data can be ensured during the storage process. Example 2

[0027] Please refer to FIG. 2, which is a flowchart of another haptic effect data compression and encryption method provided by an embodiment of the present invention, specifically, the method includes the following steps:

[0028] S1: Acquire haptic effect data.

[0029] S2: Compress the haptic effect data according to a preset compression method, and then encrypt it according to a preset encryption method to obtain haptic memory data, and the preset compression method is to compress the haptic effect data of the original frequency by source coding.

[0030] S3: Decode the tactile memory data according to a preset decoding method, and then decompress it according to a preset decompression method to obtain tactile feedback data, and the preset decompression method is to restore the tactile memory data to the original frequency.

[0031] Specifically, the source coding compression method is based on the characteristics of randomness and low frequency of data, and there is always a lot of redundant information in the data. In an embodiment of the present invention, in step S2, the redundant frequency in the haptic effect data is coded and compressed by source coding, and in step S3, the compressed part of the data is restored by source coding to obtain the haptic feedback data with the original frequency, thereby ensuring the quality of the haptic feedback.

[0032] S4: The haptic feedback data is subjected to digital-to-analog conversion and input to a brake unit to reproduce the haptic effect. Example 3

[0033] In an embodiment of the present invention, a haptic effect data compression and encryption system 200 is further provided. Referring to FIG. 3, FIG. 3 is a diagram showing the configuration of the haptic effect data compression and encryption system 200 provided by an embodiment of the present invention. The haptic effect data compression and encryption system 200 includes: a data acquisition module 201 for acquiring haptic effect data; a compression and encryption module 202 for compressing the haptic effect data according to a preset compression method and encrypting the haptic effect data according to a preset encryption method to obtain haptic storage data, the preset compression method being to downsample the haptic effect data at a preset compression frequency; a decompression and decoding module 203 for decoding the haptic memory data according to a preset decoding method, and decompressing the haptic memory data according to a preset decompression method to obtain haptic feedback data, the preset decompression method being to upsample the haptic memory data at a preset playback frequency; and a haptic effect reproduction module 204 for performing digital-to-analog conversion on the haptic feedback data and inputting the data to a brake unit to reproduce the haptic effect. Example 4

[0034] In another possible embodiment, the compression methods used in the compression and encryption module 202 and the decompression and decryption module 203 are different.

[0035] The compression and encryption module 202 is used to compress the haptic effect data according to a preset compression method, and then encrypt it according to a preset encryption method to obtain haptic storage data, where the preset compression method is to compress the haptic effect data of the original frequency through source coding.

[0036] The decompression and decoding module 203 is used to decode the tactile memory data according to a preset decoding method, and then decompress it according to a preset decompression method to obtain tactile feedback data, where the preset decompression method is to restore the tactile memory data to the original frequency.

[0037] The haptic effect data compression and encryption system 200 can implement the steps of the haptic effect data compression and encryption method in the above embodiment, and can achieve the same technical effects, specifically, please refer to the description of the above embodiment, and there is no need to repeat the description here. Example 5

[0038] In an embodiment of the present invention, there is further provided a computer device 300. Referring to Fig. 4, Fig. 4 is a diagram showing the configuration of a computer device provided by an embodiment of the present invention, the computer device 300 includes a memory 302, a processor 301, and a computer program stored in the memory 302 and executable on the processor 301.

[0039] The processor 301 calls the computer program stored in the memory 302 to execute the steps in the haptic effect data compression and encryption method provided by the embodiment of the present invention, which specifically includes the following steps with reference to Figures 1 and 2:

[0040] S1: Acquire haptic effect data.

[0041] S2: Compressing the haptic effect data by a preset compression method, and encrypting it by a preset encryption method to obtain haptic memory data, wherein the preset compression method downsamples the haptic effect data at a preset compression frequency.

[0042] S3: Decode the tactile memory data by a predetermined decoding method, and then decompress it by a predetermined decompression method to obtain tactile feedback data, and the predetermined decompression method upsamples the tactile memory data at a predetermined playback frequency.

[0043] Preferably, the preset encryption method encrypts the haptic effect data with a preset secret key, and the preset decryption method decrypts the haptic memory data with the preset secret key.

[0044] S4: The haptic feedback data is subjected to digital-to-analog conversion and input to a brake unit to reproduce a haptic effect; or

[0045] S1: Acquire haptic effect data.

[0046] S2: Compress the haptic effect data according to a preset compression method, and then encrypt it according to a preset encryption method to obtain haptic memory data, and the preset compression method is to compress the haptic effect data of the original frequency by source coding.

[0047] S3: Decode the tactile memory data according to a preset decoding method, and then decompress it according to a preset decompression method to obtain tactile feedback data, and the preset decompression method is to restore the tactile memory data to the original frequency.

[0048] S4: The haptic feedback data is subjected to digital-to-analog conversion and input to a brake unit to reproduce the haptic effect.

[0049] The computer device 300 provided by the embodiment of the present invention can realize each step of the haptic effect data compression and encryption method as in the above embodiment, and can achieve the same technical effects, in particular, please refer to the description of the above embodiment, and there is no need to repeat the description here. Example 6

[0050] In an embodiment of the present invention, a computer-readable storage medium is further provided, which stores a computer program, and when the computer program is executed by a processor, the computer program can realize each process and step in the haptic effect data compression and encryption method provided by the embodiment of the present invention, and achieve the same technical effects, which need not be described again here to avoid duplication.

[0051] The above is merely an embodiment of the present invention, and those skilled in the art may make improvements without departing from the creative idea of ​​the present invention, which all fall within the scope of protection of the present invention.

Claims

1. Obtaining haptic effect data; The haptic effect data is compressed by a preset compression method, and then encrypted by a preset encryption method to obtain haptic storage data, and the preset compression method is to downsample the haptic effect data at a preset compression frequency; Decoding the haptic memory data by a preset decoding method, and then decompressing the data by a preset decompression method to obtain haptic feedback data, the preset decompression method being to upsample the haptic memory data at a preset playback frequency; and performing digital-to-analog conversion on the haptic feedback data and inputting the data to a brake unit to play back a haptic effect. A method for compressing and encrypting haptic effect data, comprising:

2. Obtaining haptic effect data; The haptic effect data is compressed by a preset compression method, and then encrypted by a preset encryption method to obtain haptic storage data, and the preset compression method is to compress the haptic effect data of the original frequency by source coding; Decoding the haptic memory data according to a preset decoding method, and then decompressing the haptic memory data according to a preset decompression method to obtain haptic feedback data, and the preset decompression method is to restore the haptic memory data to the original frequency; and performing digital-to-analog conversion on the haptic feedback data and inputting the data to a brake unit to play back a haptic effect.

4. A method for compressing and encrypting haptic effect data, comprising:

3. the preset encryption method is to encrypt the haptic effect data by a preset secret key; The predetermined decryption method is to decrypt the tactile memory data by the predetermined secret key.

3. The method for compressing and encrypting haptic effect data according to claim 1 or 2.

4. a data acquisition module for acquiring haptic effect data; a compression and encryption module for compressing the haptic effect data according to a preset compression method and encrypting the haptic effect data according to a preset encryption method to obtain haptic memory data, the preset compression method being to downsample the haptic effect data at a preset compression frequency; a decompression and decoding module for decoding the haptic memory data according to a preset decoding method, and decompressing the haptic memory data according to a preset decompression method to obtain haptic feedback data, the preset decompression method being to upsample the haptic memory data at a preset playback frequency; and a haptic effect reproduction module for performing digital-to-analog conversion on the haptic feedback data and inputting the data to a brake unit to reproduce the haptic effect. A haptic effect data compression and encryption system comprising:

5. a data acquisition module for acquiring haptic effect data; a compression and encryption module for compressing the haptic effect data according to a preset compression method and encrypting the haptic effect data according to a preset encryption method to obtain haptic memory data, the preset compression method being for compressing the haptic effect data of an original frequency according to source coding; a decompression and decoding module for decoding the haptic memory data according to a preset decoding method, and decompressing the same according to a preset decompression method to obtain haptic feedback data, the preset decompression method being to restore the haptic memory data to the original frequency; and a haptic effect reproduction module for performing digital-to-analog conversion on the haptic feedback data and inputting the data to a brake unit to reproduce the haptic effect. A haptic effect data compression and encryption system comprising:

6. A method for compressing and encrypting haptic effect data comprising: a memory; a processor; and a computer program stored in the memory and executable on the processor, the method implementing the steps of the method for compressing and encrypting haptic effect data according to any one of claims 1 to 3 when the processor executes the computer program. A computer apparatus comprising:

7. 1. A computer-readable storage medium, comprising: The computer-readable storage medium stores a computer program, which, when executed by a processor, implements the steps of the haptic effect data compression and encryption method according to any one of claims 1 to 3. A computer-readable storage medium comprising:

Citation Information

Patent Citations

  • Remote ultrasonic diagnosis system with tactile feedback

    CN109288540A

  • Synchronization of haptic effect data in media transport streams

    JP2011501575A

  • Method and system for coding and streaming tactile sense data

    JP2014239430A

  • Browser-based cloud gaming

    JP2020501619A

  • Haptic surface compression

    US20130222311A1