Method for compressing and encrypting haptic effect data, system, and related devices
AssigneeAAC Acoustic Technologies (Shanghai) Co., Ltd.
InventorZheng Xiang
Life of this patent
Estimating the term…
Abstract
A method for compressing and encrypting haptic effect data, a system, and related devices are provided. Compared with related technologies, in the method for compressing and encrypting the haptic effect data of the disclosure, the encryption and compression manners are respectively adopted for processing from the data obtaining stage to the playing stage, so that the storage space of the haptic effect data is saved when the data is stored, and the original data can be restored when the data is played, thus ensuring the playing effect. In addition, the encryption algorithm is used for data encryption during storage, which can ensure the security of the original haptic effect data during storage.
Claims9
A method for compressing and encrypting haptic effect data, comprising:
- obtaining haptic effect data;
- compressing the haptic effect data according to a preset compression manner and encrypting haptic effect data subjected to compressing according to a preset encryption manner to obtain haptic storage data, wherein the preset compression manner is to perform down-sampling on the haptic effect data according to a preset compression frequency;
- decrypting the haptic storage data according to a preset decryption manner and decompressing haptic storage data subjected to decrypting according to a preset decompression manner to obtain haptic feedback data, wherein the preset decompression manner is to perform up-sampling on the haptic storage data according to a preset playback frequency;
- and
- performing digital-analog (DA) conversion on the haptic feedback data, and inputting data subjected to DA conversion into a braking unit for playing of haptic effect.
A method for compressing and encrypting haptic effect data, comprising:
- obtaining haptic effect data;
- compressing the haptic effect data according to a preset compression manner and encrypting haptic effect data subjected to compressing according to a preset encryption manner to obtain haptic storage data, wherein the preset compression manner is to compress the haptic effect data whose frequency is an original frequency according to source coding;
- decrypting the haptic storage data according to a preset decryption manner and decompressing haptic storage data subjected to decrypting according to a preset decompression manner to obtain haptic feedback data, wherein the preset decompression manner is to restore the haptic storage data to the original frequency;
- and
- performing digital-analog (DA) conversion on the haptic feedback data, and inputting data subjected to DA conversion into a braking unit for playing of haptic effect.
A computer device, comprising:
- a memory;
- and
- a processor, wherein the memory is used for storing a computer program and the computer program is executable on the processor, and the computer program, when executed by the processor, cause the processor to perform:
- obtaining haptic effect data;
- compressing the haptic effect data according to a preset compression manner and encrypting haptic effect data subjected to compressing according to a preset encryption manner to obtain haptic storage data, wherein the preset compression manner is to perform down-sampling on the haptic effect data according to a preset compression frequency;
- decrypting the haptic storage data according to a preset decryption manner and decompressing haptic storage data subjected to decrypting according to a preset decompression manner to obtain haptic feedback data, wherein the preset decompression manner is to perform up-sampling on the haptic storage data according to a preset playback frequency;
- and
- performing digital-analog (DA) conversion on the haptic feedback data, and inputting data subjected to DA conversion into a braking unit for playing of haptic effect.
Dependencies are inferred from the claim text.