CN105809066A - Encrypted data storage method and terminal - Google Patents

Encrypted data storage method and terminal Download PDF

Info

Publication number
CN105809066A
CN105809066A CN201410848321.7A CN201410848321A CN105809066A CN 105809066 A CN105809066 A CN 105809066A CN 201410848321 A CN201410848321 A CN 201410848321A CN 105809066 A CN105809066 A CN 105809066A
Authority
CN
China
Prior art keywords
predetermined number
storage
limit value
value random
storage address
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201410848321.7A
Other languages
Chinese (zh)
Other versions
CN105809066B (en
Inventor
韦泽垠
杨福军
江中央
周文杰
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen TCL New Technology Co Ltd
Shenzhen TCL Digital Technology Co Ltd
Original Assignee
Shenzhen TCL New Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shenzhen TCL New Technology Co Ltd filed Critical Shenzhen TCL New Technology Co Ltd
Priority to CN201410848321.7A priority Critical patent/CN105809066B/en
Publication of CN105809066A publication Critical patent/CN105809066A/en
Application granted granted Critical
Publication of CN105809066B publication Critical patent/CN105809066B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The invention discloses an encrypted data storage method. The method comprises the following steps of receiving an original simulation signal and making a calculation according to the original simulation signal to generate a preset number of limiting value random numbers; according to the preset number of the limiting value random numbers, obtaining a corresponding preset number of storage addresses in a terminal and generating a storage address mapping table; and partitioning encrypted data required to be stored into a preset number of encrypted data partitions according to a preset number of partitions and correspondingly storing the encrypted data partitions into the preset number of the storage addresses based on the storage address mapping table. The invention furthermore discloses an encrypted data storage terminal. According to the method and terminal, the security of encrypted data storage is greatly improved.

Description

Add storage method and the terminal of ciphertext data
Technical field
The present invention relates to TV technology, particularly relate to a kind of storage method adding ciphertext data and terminal.
Background technology
Along with intelligent terminal's such as TV etc. is constantly to intellectuality, web development, intelligent terminal has allowed user freely to install required software, browser is used to carry out network browsing and use the service etc. in high in the clouds, these application scenarios need intelligent terminal externally provide various access and control interface, the data input and output making intelligent terminal become to enrich very much and complicated, and the existence of Outside Access and control interface makes intelligent terminal there is the possibility by malicious access and attack, especially increasing user uses Net silver on intelligent terminal, comprise the software of individual privacy function, so, intelligent terminal can produce relevant to user profile add ciphertext data, intelligent terminal needs carry out safe storage to adding ciphertext data, to prevent the ciphertext data that adds of storage from by malicious access and stealing.
Existing it be usually and directly the whole ciphertext data that adds stored to terminal memory in pre-set one section continuation address adding the method that ciphertext data stores, so, easily after cracking this pre-set address, directly obtaining the whole ciphertext data that adds, safety is not high.
Foregoing is only used for assisting understanding technical scheme, does not represent and admits that foregoing is prior art.
Summary of the invention
Present invention is primarily targeted at a kind of storage method adding ciphertext data of offer and terminal, it is intended to improve the safety adding ciphertext data storage.
For achieving the above object, a kind of storage method adding ciphertext data provided by the invention, said method comprising the steps of:
Receive original analog, and calculate the limit value random number generating predetermined number according to described original analog;
Limit value random number according to predetermined number obtains the storage address of the predetermined number of correspondence in the terminal, and generates a storage address mapping table;
The ciphertext data that adds needing storage is carried out the encryption deblocking of cutting generation predetermined number by the number of predetermined number, based on described storage address mapping table by storage corresponding for described encryption deblocking to the storage address of predetermined number.
Preferably, described reception original analog, and calculate, according to described original analog, the step of limit value random number generating predetermined number and include:
The intensity of the original analog that detecting receives;
The original analog reaching preset strength is sampled;
Some original analog that sampling is obtained carry out discrete Fourier transform, obtain a raw digital signal;
Judge that the raw digital signal obtained is whether in the theoretical range set, if the raw digital signal obtained is in the theoretical range set, described raw digital signal is calculated based on chaos algorithm as random factor, generates the limit value random number of predetermined number.
Preferably, the described limit value random number according to predetermined number obtains the storage address of the predetermined number of correspondence in the terminal, and the step generating a storage address mapping table includes:
The storage address that the value that obtains this limit value random number in the physical address of terminal memory according to each limit value random number is corresponding, and the storage address mapping table that the limit value random number that generates predetermined number is corresponding.
Preferably, described will need storage add ciphertext data by the number of predetermined number carry out cutting generate predetermined number encryption deblocking step include:
The ciphertext data that adds needing storage is cut into the equal portions of predetermined number, and each equal portions encrypt deblocking as one.
Preferably, the described limit value random number according to predetermined number obtains the storage address of predetermined number of correspondence in the terminal, and also includes after generating the step of a storage address mapping table:
Utilize the AES preset that described storage address mapping table is encrypted and is stored.
Additionally, for achieving the above object, the present invention also provides for a kind of storage and adds the terminal of ciphertext data, and described terminal includes:
Computing module, is used for receiving original analog, and calculates the limit value random number generating predetermined number according to described original analog;
Acquisition module, for obtaining the storage address of the predetermined number of correspondence in the terminal according to the limit value random number of predetermined number, and generates a storage address mapping table;
Cutting memory module, for the ciphertext data that adds needing storage is carried out the encryption deblocking of cutting generation predetermined number by the number of predetermined number, based on described storage address mapping table by storage corresponding for described encryption deblocking to the storage address of predetermined number.
Preferably, described computing module specifically for:
The intensity of the original analog that detecting receives;The original analog reaching preset strength is sampled;Some original analog that sampling is obtained carry out discrete Fourier transform, obtain a raw digital signal;Judge that the raw digital signal obtained is whether in the theoretical range set, if the raw digital signal obtained is in the theoretical range set, described raw digital signal is calculated based on chaos algorithm as random factor, generates the limit value random number of predetermined number.
Preferably, described acquisition module is additionally operable to:
The storage address that the value that obtains this limit value random number in the physical address of terminal memory according to each limit value random number is corresponding, and the storage address mapping table that the limit value random number that generates predetermined number is corresponding.
Preferably, described cutting memory module is additionally operable to:
The ciphertext data that adds needing storage is cut into the equal portions of predetermined number, and each equal portions encrypt deblocking as one.
Preferably, described terminal also includes:
Encrypting module, for utilizing default AES that described storage address mapping table is encrypted and is stored.
A kind of storage method adding ciphertext data of present invention proposition and terminal, utilize original analog to generate the limit value random number of predetermined number, obtain the storage address of correspondence according to the limit value random number generated in the terminal, and the ciphertext data that adds needing storage is carried out storage corresponding after cutting in multiple storage addresses.Owing to original analog has natural chaos randomness, the limit value random number generated hence with original analog cannot be reversed and cracks, and, it is cut into many parts by ciphertext data will be added, every a store accordingly to storage address corresponding to different limit value randoms number, even if certain a encryption data is stolen, also cannot get and whole add ciphertext data, greatly improve the safety adding ciphertext data storage.
Accompanying drawing explanation
Fig. 1 is the schematic flow sheet that the present invention adds the storage method first embodiment of ciphertext data;
Fig. 2 is the schematic flow sheet that the present invention adds storage method second embodiment of ciphertext data;
Fig. 3 is the high-level schematic functional block diagram that the present invention stores the terminal first embodiment adding ciphertext data;
Fig. 4 is the high-level schematic functional block diagram that the present invention stores terminal the second embodiment adding ciphertext data.
The realization of the object of the invention, functional characteristics and advantage will in conjunction with the embodiments, are described further with reference to accompanying drawing.
Detailed description of the invention
Should be appreciated that specific embodiment described herein is only in order to explain the present invention, is not intended to limit the present invention.
The present invention provides a kind of storage method adding ciphertext data.
It is the schematic flow sheet that the present invention adds the storage method first embodiment of ciphertext data with reference to Fig. 1, Fig. 1.
In the first embodiment, this storage method adding ciphertext data includes:
Step S10, receives original analog, and calculates the limit value random number generating predetermined number according to described original analog;
In the present embodiment, terminal receives original analog, this original analog both can be the natural analogue signal produced by electric field, magnetic field etc. in nature, it can also be the original analogue signal that processes such as the non-filtered that sent by signal source, this analogue signal has natural chaotic property and randomness, even the analogue signal that same signal source different time sends also is different.Based on chaos algorithm, the original analog of the Stochastic Chaos that terminal receives is calculated, the limit value random number of predetermined number can be generated.It should be noted that the parameter in chaos algorithm calculating process can be set by the present embodiment, to ensure that the value of the limit value random number of predetermined number ultimately generated is in the scope needed.
Step S20, obtains the storage address of the predetermined number of correspondence in the terminal, and generates a storage address mapping table according to the limit value random number of predetermined number;
After getting the limit value random number of predetermined number, obtain a storage address of correspondence in the terminal according to each limit value random number, wherein, in the present embodiment, this storage address both can be real physical address in terminal memory, it is also possible to be the virtual memory address of terminal, in this no limit.At this, it is that the physical address in terminal memory illustrates for this storage address, in advance the parameter in chaos algorithm calculating process can be set, to ensure that the value of the limit value random number of predetermined number ultimately generated is in terminal memory in the scope of all physical address, a storage address corresponding with the value of this limit value random number can be obtained in the physical address of terminal memory according to the value of each limit value random number generated, so, owing to each limit value random number is all randomly generated, therefore, the storage address of the equal number that the limit value random number according to predetermined number obtains also is all random, rather than continuous print address.Limit value random number according to predetermined number and the corresponding relation generation one storage address mapping table of the storage address of equal number, comprise each limit value random number and store the corresponding relation of address with it in this storage address mapping table.
Step S30, it would be desirable to the ciphertext data that adds of storage carries out the encryption deblocking of cutting generation predetermined number by the number of predetermined number, based on described storage address mapping table by storage corresponding for described encryption deblocking to the storage address of predetermined number.
The ciphertext data that adds needing storage is carried out cutting, cutting can be carried out by the number of the predetermined number identical with limit value random number, generate the encryption deblocking of predetermined number.In one embodiment, in order to cutting is convenient, the ciphertext data that adds needing storage can be cut into the equal portions of predetermined number, each equal portions encrypt deblocking as one, so, it is not necessary to consider the size adding ciphertext data, only need to be carried out decile according to predetermined number, simpler, quick.In another embodiment, both the ciphertext data that adds needing storage can be cut into the number of predetermined number at random, the size random assortment of every a encryption deblocking, the size of multiple different encryption deblocking can also be preset, ciphertext data will be added by the size of the multiple different encryption deblockings set and carry out cutting, so, the size of different encryption deblocking set in advance can be needed to carry out cutting to adding ciphertext data according to user, more flexibly.
By need storage add ciphertext data by the number of predetermined number carry out cutting generate predetermined number encryption deblocking after, store the corresponding relation of address with it based on limit value random number each in described storage address mapping table, by in storage address corresponding for each encryption data block storage to each limit value random number, complete to add the storage of ciphertext data.
The present embodiment utilizes original analog to generate the limit value random number of predetermined number, obtain the storage address of correspondence according to the limit value random number generated in the terminal, and the ciphertext data that adds needing storage is carried out storage corresponding after cutting in multiple storage addresses.Owing to original analog has natural chaos randomness, the limit value random number generated hence with original analog cannot be reversed and cracks, and, it is cut into many parts by ciphertext data will be added, every a store accordingly to storage address corresponding to different limit value randoms number, even if certain a encryption data is stolen, also cannot get and whole add ciphertext data, greatly improve the safety adding ciphertext data storage.
Further, in other embodiments, above-mentioned steps S10 may include that
The intensity of the original analog that detecting receives;At this, specifically illustrate for TV with this terminal, certainly, also do not limit this terminal as other kinds of terminal.First, utilize the analog video modem of TV to detect the intensity of the original analog of television reception.When detecting the intensity of original analog of reception and reaching to generate the preset strength needed for the chaos data needed, by the tuner of TV, original analog being sampled, sampling number can be set in advance.
After the original analog reaching preset strength is set the sampling of number of times, some original analog that sampling obtains can be carried out discrete Fourier transform, obtain a raw digital signal;Judge that the raw digital signal obtained is whether in the theoretical range set, if the raw digital signal obtained is not in the theoretical range set, then terminates this flow process, do not carry out next step operation;If the raw digital signal obtained is in the theoretical range set, then further this raw digital signal is calculated based on chaos algorithm as random factor, generates the limit value random number of predetermined number.
Owing to original analog has carried out intensity detection, the sampling of set point number and judges the raw digital signal obtained the whether operation such as in the theoretical range set, therefore, can guarantee that and calculate the value of the limit value random number generated according to raw digital signal in the scope needed by chaos algorithm, provide satisfactory limit value random number for subsequent operation.
In order to ensure that the value of the limit value random number of the predetermined number ultimately generated is in terminal memory in the scope of all physical address, a theoretical value can be set according to the value range of physical address all in terminal memory, when raw digital signal is in the theoretical value set, calculates, based on described raw digital signal, the value of limit value random number obtained and can ensure in terminal memory in the scope of all physical address.
Such as, to ensure that the value of the limit value random number of predetermined number ultimately generated is in the scope needed, during the theory signal that raw digital signal is 128 needed, first can when sampling to original analog circulating sampling 5 times, obtain 5 groups of original analog, again 5 groups of original analog are carried out discrete Fourier transform, obtain the raw digital signal of 128, judge that the raw digital signal obtained is whether in the theoretical range set, if the raw digital signal obtained is in the theoretical range set, then further this raw digital signal is calculated as random factor based on chaos algorithm, specifically, the step obtaining random factor required in chaos algorithm according to this raw digital signal can carry out as follows:
key = Σ x = 5 ∫ T 1 T 0 faes ( DATA )
Wherein, key is the final random factor calculating and obtaining, and DATA is the raw digital signal in the theoretical range set.The limit value random number generating predetermined number can be calculated based on random factor key.Owing to random factor key is calculated according to the raw digital signal DATA in the theoretical range set, therefore can guarantee that the value of the limit value random number ultimately generated is in the scope needed.
As in figure 2 it is shown, second embodiment of the invention proposes a kind of storage method adding ciphertext data, on the basis of above-mentioned first embodiment, also include after above-mentioned steps S20:
Step S40, utilizes the AES preset that described storage address mapping table is encrypted and is stored.
The present embodiment and above-mentioned first embodiment are distinctive in that, the present embodiment also includes the operation utilizing the AES preset that described storage address mapping table is encrypted and is stored.
In the present embodiment after generating storage address mapping table, further, utilize the AES preset that described storage address mapping table is encrypted and is stored, wherein, the AES preset can be Advanced Encryption Standard (AdvancedEncryptionStandard, it is called for short AES) algorithm, certainly, also it is not limited to other kinds of AES.After utilizing aes algorithm that described storage address mapping table is encrypted and is stored, in when adding ciphertext data of acquisition storage, need first the storage address mapping table after aes algorithm is encrypted to be decrypted, then from the storage address mapping table after deciphering, each encryption deblocking is taken out in storage address corresponding to each limit value random number, then is combined each encryption deblocking of taking-up just getting and finally complete adds ciphertext data.In the present embodiment after described storage address mapping table is encrypted, in obtaining the process adding ciphertext data, need to carry out the deciphering of storage address mapping table, take out each encryption deblocking, be combined the operation such as splicing and just can get finally complete adding ciphertext data, improve the safety adding ciphertext data storage further., store after described storage address mapping table is encrypted meanwhile, can call for subsequent operation needs to obtain when this adds ciphertext data, convenient.
It should be noted that step S40 both can between step S20 and S30 in the present embodiment, it is also possible to after step S30, in this no limit, Fig. 2 only illustrates between step S20 and S30 for step S40.
The present invention further provides a kind of storage and add the terminal of ciphertext data.
It is the high-level schematic functional block diagram that the present invention stores the terminal first embodiment adding ciphertext data with reference to Fig. 3, Fig. 3.
In the first embodiment, this storage adds the terminal of ciphertext data and includes:
Computing module 01, is used for receiving original analog, and calculates the limit value random number generating predetermined number according to described original analog;
Acquisition module 02, for obtaining the storage address of the predetermined number of correspondence in the terminal according to the limit value random number of predetermined number, and generates a storage address mapping table;
Cutting memory module 03, for the ciphertext data that adds needing storage is carried out the encryption deblocking of cutting generation predetermined number by the number of predetermined number, based on described storage address mapping table by storage corresponding for described encryption deblocking to the storage address of predetermined number.
In the present embodiment, terminal receives original analog, this original analog both can be the natural analogue signal produced by electric field, magnetic field etc. in nature, it can also be the original analogue signal that processes such as the non-filtered that sent by signal source, this analogue signal has natural chaotic property and randomness, even the analogue signal that same signal source different time sends also is different.Based on chaos algorithm, the original analog of the Stochastic Chaos that terminal receives is calculated, the limit value random number of predetermined number can be generated.It should be noted that the parameter in chaos algorithm calculating process can be set by the present embodiment, to ensure that the value of the limit value random number of predetermined number ultimately generated is in the scope needed.
After getting the limit value random number of predetermined number, obtain a storage address of correspondence in the terminal according to each limit value random number, wherein, in the present embodiment, this storage address both can be real physical address in terminal memory, it is also possible to be the virtual memory address of terminal, in this no limit.At this, it is that the physical address in terminal memory illustrates for this storage address, in advance the parameter in chaos algorithm calculating process can be set, to ensure that the value of the limit value random number of predetermined number ultimately generated is in terminal memory in the scope of all physical address, a storage address corresponding with the value of this limit value random number can be obtained in the physical address of terminal memory according to the value of each limit value random number generated, so, owing to each limit value random number is all randomly generated, therefore, the storage address of the equal number that the limit value random number according to predetermined number obtains also is all random, rather than continuous print address.Limit value random number according to predetermined number and the corresponding relation generation one storage address mapping table of the storage address of equal number, comprise each limit value random number and store the corresponding relation of address with it in this storage address mapping table.
The ciphertext data that adds needing storage is carried out cutting, cutting can be carried out by the number of the predetermined number identical with limit value random number, generate the encryption deblocking of predetermined number.In one embodiment, in order to cutting is convenient, the ciphertext data that adds needing storage can be cut into the equal portions of predetermined number, each equal portions encrypt deblocking as one, so, it is not necessary to consider the size adding ciphertext data, only need to be carried out decile according to predetermined number, simpler, quick.In another embodiment, both the ciphertext data that adds needing storage can be cut into the number of predetermined number at random, the size random assortment of every a encryption deblocking, the size of multiple different encryption deblocking can also be preset, ciphertext data will be added by the size of the multiple different encryption deblockings set and carry out cutting, so, the size of different encryption deblocking set in advance can be needed to carry out cutting to adding ciphertext data according to user, more flexibly.
By need storage add ciphertext data by the number of predetermined number carry out cutting generate predetermined number encryption deblocking after, store the corresponding relation of address with it based on limit value random number each in described storage address mapping table, by in storage address corresponding for each encryption data block storage to each limit value random number, complete to add the storage of ciphertext data.
The present embodiment utilizes original analog to generate the limit value random number of predetermined number, obtain the storage address of correspondence according to the limit value random number generated in the terminal, and the ciphertext data that adds needing storage is carried out storage corresponding after cutting in multiple storage addresses.Owing to original analog has natural chaos randomness, the limit value random number generated hence with original analog cannot be reversed and cracks, and, it is cut into many parts by ciphertext data will be added, every a store accordingly to storage address corresponding to different limit value randoms number, even if certain a encryption data is stolen, also cannot get and whole add ciphertext data, greatly improve the safety adding ciphertext data storage.
Further, in other embodiments, above-mentioned computing module 01 specifically may be used for:
The intensity of the original analog that detecting receives;At this, specifically illustrate for TV with this terminal, certainly, also do not limit this terminal as other kinds of terminal.First, utilize the analog video modem of TV to detect the intensity of the original analog of television reception.When detecting the intensity of original analog of reception and reaching to generate the preset strength needed for the chaos data needed, by the tuner of TV, original analog being sampled, sampling number can be set in advance.
After the original analog reaching preset strength is set the sampling of number of times, some original analog that sampling obtains can be carried out discrete Fourier transform, obtain a raw digital signal;Judge that the raw digital signal obtained is whether in the theoretical range set, if the raw digital signal obtained is not in the theoretical range set, then terminates this flow process, do not carry out next step operation;If the raw digital signal obtained is in the theoretical range set, then further this raw digital signal is calculated based on chaos algorithm as random factor, generates the limit value random number of predetermined number.
Owing to original analog has carried out intensity detection, the sampling of set point number and judges the raw digital signal obtained the whether operation such as in the theoretical range set, therefore, can guarantee that and calculate the value of the limit value random number generated according to raw digital signal in the scope needed by chaos algorithm, provide satisfactory limit value random number for subsequent operation.
In order to ensure that the value of the limit value random number of the predetermined number ultimately generated is in terminal memory in the scope of all physical address, a theoretical value can be set according to the value range of physical address all in terminal memory, when raw digital signal is in the theoretical value set, calculates, based on described raw digital signal, the value of limit value random number obtained and can ensure in terminal memory in the scope of all physical address.
Such as, to ensure that the value of the limit value random number of predetermined number ultimately generated is in the scope needed, during the theory signal that raw digital signal is 128 needed, first can when sampling to original analog circulating sampling 5 times, obtain 5 groups of original analog, again 5 groups of original analog are carried out discrete Fourier transform, obtain the raw digital signal of 128, judge that the raw digital signal obtained is whether in the theoretical range set, if the raw digital signal obtained is in the theoretical range set, then further this raw digital signal is calculated as random factor based on chaos algorithm, specifically, the step obtaining random factor required in chaos algorithm according to this raw digital signal can carry out as follows:
key = Σ x = 5 ∫ T 1 T 0 faes ( DATA )
Wherein, key is the final random factor calculating and obtaining, and DATA is the raw digital signal in the theoretical range set.The limit value random number generating predetermined number can be calculated based on random factor key.Owing to random factor key is calculated according to the raw digital signal DATA in the theoretical range set, therefore can guarantee that the value of the limit value random number ultimately generated is in the scope needed.
As shown in Figure 4, second embodiment of the invention proposes a kind of storage and adds the terminal of ciphertext data, on the basis of above-mentioned first embodiment, also includes:
Encrypting module 04, for utilizing default AES that described storage address mapping table is encrypted and is stored.
The present embodiment and above-mentioned first embodiment are distinctive in that, the present embodiment also includes the operation utilizing the AES preset that described storage address mapping table is encrypted and is stored.
In the present embodiment after generating storage address mapping table, further, utilize the AES preset that described storage address mapping table is encrypted and is stored, wherein, the AES preset can be Advanced Encryption Standard (AdvancedEncryptionStandard, it is called for short AES) algorithm, certainly, also it is not limited to other kinds of AES.After utilizing aes algorithm that described storage address mapping table is encrypted and is stored, in when adding ciphertext data of acquisition storage, need first the storage address mapping table after aes algorithm is encrypted to be decrypted, then from the storage address mapping table after deciphering, each encryption deblocking is taken out in storage address corresponding to each limit value random number, then is combined each encryption deblocking of taking-up just getting and finally complete adds ciphertext data.In the present embodiment after described storage address mapping table is encrypted, in obtaining the process adding ciphertext data, need to carry out the deciphering of storage address mapping table, take out each encryption deblocking, be combined the operation such as splicing and just can get finally complete adding ciphertext data, improve the safety adding ciphertext data storage further., store after described storage address mapping table is encrypted meanwhile, can call for subsequent operation needs to obtain when this adds ciphertext data, convenient.
The invention described above embodiment sequence number, just to describing, does not represent the quality of embodiment.Through the above description of the embodiments, those skilled in the art is it can be understood that can add the mode of required general hardware platform by software to above-described embodiment method and realize, hardware can certainly be passed through, but in a lot of situation, the former is embodiment more preferably.Based on such understanding, the part that prior art is contributed by technical scheme substantially in other words can embody with the form of software product, this computer software product is stored in a storage medium (such as ROM/RAM, magnetic disc, CD), including some instructions with so that a station terminal equipment (can be mobile phone, computer, server, or the network equipment etc.) perform the method described in each embodiment of the present invention.
These are only the preferred embodiments of the present invention; not thereby the scope of the claims of the present invention is limited; every equivalent structure utilizing description of the present invention and accompanying drawing content to make or equivalence flow process conversion; or directly or indirectly it is used in other relevant technical fields, all in like manner include in the scope of patent protection of the present invention.

Claims (10)

1. the storage method adding ciphertext data, it is characterised in that said method comprising the steps of:
Receive original analog, and calculate the limit value random number generating predetermined number according to described original analog;
Limit value random number according to predetermined number obtains the storage address of the predetermined number of correspondence in the terminal, and generates a storage address mapping table;
The ciphertext data that adds needing storage is carried out the encryption deblocking of cutting generation predetermined number by the number of predetermined number, based on described storage address mapping table by storage corresponding for described encryption deblocking to the storage address of predetermined number.
2. add the storage method of ciphertext data as claimed in claim 1, it is characterised in that described reception original analog, and the step according to the limit value random number of described original analog calculating generation predetermined number include:
The intensity of the original analog that detecting receives;
The original analog reaching preset strength is sampled;
Some original analog that sampling is obtained carry out discrete Fourier transform, obtain a raw digital signal;
Judge that the raw digital signal obtained is whether in the theoretical range set, if the raw digital signal obtained is in the theoretical range set, described raw digital signal is calculated based on chaos algorithm as random factor, generates the limit value random number of predetermined number.
3. add the storage method of ciphertext data as claimed in claim 1, it is characterised in that the described limit value random number according to predetermined number obtains the storage address of the predetermined number of correspondence in the terminal, and the step generating a storage address mapping table include:
The storage address that the value that obtains this limit value random number in the physical address of terminal memory according to each limit value random number is corresponding, and the storage address mapping table that the limit value random number that generates predetermined number is corresponding.
4. add the storage method of ciphertext data as claimed in claim 1, it is characterised in that described will need storage add ciphertext data by the number of predetermined number carry out cutting generate predetermined number encryption deblocking step include:
The ciphertext data that adds needing storage is cut into the equal portions of predetermined number, and each equal portions encrypt deblocking as one.
5. the storage method adding ciphertext data as described in any one in Claims 1-4, it is characterized in that, the described limit value random number according to predetermined number obtains the storage address of predetermined number of correspondence in the terminal, and also includes after generating the step of a storage address mapping table:
Utilize the AES preset that described storage address mapping table is encrypted and is stored.
6. a storage adds the terminal of ciphertext data, it is characterised in that described terminal includes:
Computing module, is used for receiving original analog, and calculates the limit value random number generating predetermined number according to described original analog;
Acquisition module, for obtaining the storage address of the predetermined number of correspondence in the terminal according to the limit value random number of predetermined number, and generates a storage address mapping table;
Cutting memory module, for the ciphertext data that adds needing storage is carried out the encryption deblocking of cutting generation predetermined number by the number of predetermined number, based on described storage address mapping table by storage corresponding for described encryption deblocking to the storage address of predetermined number.
7. terminal as claimed in claim 6, it is characterised in that described computing module specifically for:
The intensity of the original analog that detecting receives;The original analog reaching preset strength is sampled;Some original analog that sampling is obtained carry out discrete Fourier transform, obtain a raw digital signal;Judge that the raw digital signal obtained is whether in the theoretical range set, if the raw digital signal obtained is in the theoretical range set, described raw digital signal is calculated based on chaos algorithm as random factor, generates the limit value random number of predetermined number.
8. terminal as claimed in claim 6, it is characterised in that described acquisition module is additionally operable to:
The storage address that the value that obtains this limit value random number in the physical address of terminal memory according to each limit value random number is corresponding, and the storage address mapping table that the limit value random number that generates predetermined number is corresponding.
9. terminal as claimed in claim 6, it is characterised in that described cutting memory module is additionally operable to:
The ciphertext data that adds needing storage is cut into the equal portions of predetermined number, and each equal portions encrypt deblocking as one.
10. the terminal as described in any one in claim 6 to 9, it is characterised in that also include:
Encrypting module, for utilizing default AES that described storage address mapping table is encrypted and is stored.
CN201410848321.7A 2014-12-29 2014-12-29 The storage method and terminal of encryption data Active CN105809066B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410848321.7A CN105809066B (en) 2014-12-29 2014-12-29 The storage method and terminal of encryption data

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410848321.7A CN105809066B (en) 2014-12-29 2014-12-29 The storage method and terminal of encryption data

Publications (2)

Publication Number Publication Date
CN105809066A true CN105809066A (en) 2016-07-27
CN105809066B CN105809066B (en) 2019-02-01

Family

ID=56420941

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410848321.7A Active CN105809066B (en) 2014-12-29 2014-12-29 The storage method and terminal of encryption data

Country Status (1)

Country Link
CN (1) CN105809066B (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106990938A (en) * 2017-06-12 2017-07-28 迈普通信技术股份有限公司 Random number acquisition methods, device and electronic equipment
CN109325354A (en) * 2017-07-31 2019-02-12 阿里巴巴集团控股有限公司 Storage, processing and the read method of data, data storage device and system
WO2019120038A1 (en) * 2017-12-18 2019-06-27 北京三快在线科技有限公司 Encrypted storage of data
CN110263554A (en) * 2019-05-14 2019-09-20 深圳市亿联智能有限公司 A kind of low computing capability equipment storage encryption method
CN110391914A (en) * 2019-09-18 2019-10-29 尤尼泰克(嘉兴)信息技术有限公司 A kind of file acquisition method and equipment, two-dimensional code generation method based on two dimensional code

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050099867A1 (en) * 2002-02-20 2005-05-12 Cedric Groux Method for storing data blocks in a memory
CN1928842A (en) * 2005-09-07 2007-03-14 创惟科技股份有限公司 Method for protecting enciphered data in high private non-sequential hidden block memory for large data memory device
CN102609238A (en) * 2012-02-13 2012-07-25 中国科学院苏州纳米技术与纳米仿生研究所 Random number generating system and random number generating method
CN102637122A (en) * 2011-09-14 2012-08-15 中国科学院空间科学与应用研究中心 Method and system for generating truly random numbers based on parity of physical noises
CN102693398A (en) * 2012-05-09 2012-09-26 深圳大学 Data encryption method and system
CN103049243A (en) * 2012-12-17 2013-04-17 深圳国微技术有限公司 Method and device for generating true random numbers

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050099867A1 (en) * 2002-02-20 2005-05-12 Cedric Groux Method for storing data blocks in a memory
CN1928842A (en) * 2005-09-07 2007-03-14 创惟科技股份有限公司 Method for protecting enciphered data in high private non-sequential hidden block memory for large data memory device
CN102637122A (en) * 2011-09-14 2012-08-15 中国科学院空间科学与应用研究中心 Method and system for generating truly random numbers based on parity of physical noises
CN102609238A (en) * 2012-02-13 2012-07-25 中国科学院苏州纳米技术与纳米仿生研究所 Random number generating system and random number generating method
CN102693398A (en) * 2012-05-09 2012-09-26 深圳大学 Data encryption method and system
CN103049243A (en) * 2012-12-17 2013-04-17 深圳国微技术有限公司 Method and device for generating true random numbers

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106990938A (en) * 2017-06-12 2017-07-28 迈普通信技术股份有限公司 Random number acquisition methods, device and electronic equipment
CN109325354A (en) * 2017-07-31 2019-02-12 阿里巴巴集团控股有限公司 Storage, processing and the read method of data, data storage device and system
WO2019120038A1 (en) * 2017-12-18 2019-06-27 北京三快在线科技有限公司 Encrypted storage of data
US11321471B2 (en) 2017-12-18 2022-05-03 Beijing Sankuai Online Technology Co., Ltd Encrypted storage of data
CN110263554A (en) * 2019-05-14 2019-09-20 深圳市亿联智能有限公司 A kind of low computing capability equipment storage encryption method
CN110391914A (en) * 2019-09-18 2019-10-29 尤尼泰克(嘉兴)信息技术有限公司 A kind of file acquisition method and equipment, two-dimensional code generation method based on two dimensional code

Also Published As

Publication number Publication date
CN105809066B (en) 2019-02-01

Similar Documents

Publication Publication Date Title
CN109510703B (en) Data encryption and decryption method and device
Xu et al. Image encryption based on synchronization of fractional chaotic systems
CN105809066A (en) Encrypted data storage method and terminal
US20160373249A1 (en) Encryption method and encryption device
CN105577379A (en) Information processing method and apparatus thereof
CN109728914B (en) Digital signature verification method, system, device and computer readable storage medium
CN107786331B (en) Data processing method, device, system and computer readable storage medium
CN104052742A (en) Internet of things communication protocol capable of being encrypted dynamically
EP3337088A1 (en) Data encryption method, decryption method, apparatus, and system
US20170364691A1 (en) Method and System for Controlling Encryption of Information and Analyzing Information as well as Terminal
CN112291190A (en) Identity authentication method, terminal and server
CN110401527B (en) Data encryption and decryption method and device and storage medium
RU2014151365A (en) RANDOM NUMBER GENERATOR AND FLOW CIPHER
CN103731258A (en) Method and device for generating secret key
CN110708164B (en) Control method and device for Internet of things equipment, storage medium and electronic device
CN110505054B (en) Data processing method, device and equipment based on dynamic white box
CN111753318A (en) Multi-party security calculation method, device and system for private data
CN107707562B (en) Method and device for encrypting and decrypting algorithm of asymmetric dynamic token
US20180123789A1 (en) Apparatus and method for generating a key in a programmable hardware module
CN115022102A (en) Transmission line monitoring data transmission method and device, computer equipment and storage medium
CN110069241A (en) Acquisition methods, device, client device and the server of pseudo random number
Xu et al. A selective image encryption algorithm based on hyper-chaos
CN111901097A (en) White box implementation method and device, electronic equipment and computer storage medium
CN107968793B (en) Method, device and storage medium for downloading white box key
KR102045843B1 (en) Method and apparatus for block encryption algorithm

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant