CN105809066B - The storage method and terminal of encryption data - Google Patents

The storage method and terminal of encryption data Download PDF

Info

Publication number
CN105809066B
CN105809066B CN201410848321.7A CN201410848321A CN105809066B CN 105809066 B CN105809066 B CN 105809066B CN 201410848321 A CN201410848321 A CN 201410848321A CN 105809066 B CN105809066 B CN 105809066B
Authority
CN
China
Prior art keywords
encryption data
preset quantity
limit value
random number
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.)
Active
Application number
CN201410848321.7A
Other languages
Chinese (zh)
Other versions
CN105809066A (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
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 a kind of storage methods of encryption data, comprising the following steps: receives original analog, and calculates the limit value random number for generating preset quantity according to the original analog;It obtains the storage address of corresponding preset quantity in the terminal according to the limit value random number of preset quantity, and generates a storage address mapping table;The encryption data that stores will be needed to carry out the encryption data piecemeal that cutting generates preset quantity by the number of preset quantity, based on the storage address mapping table by the corresponding storage of the encryption data piecemeal into the storage address of preset quantity.The invention also discloses a kind of terminals for storing encryption data.The present invention greatly improves the safety of encryption data storage.

Description

The storage method and terminal of encryption data
Technical field
The present invention relates to TV technology more particularly to the storage methods and terminal of a kind of encryption data.
Background technique
As intelligent terminal such as TV etc. is constantly to intelligent, web development, intelligent terminal has allowed user free Required software is installed, web browsing is carried out using browser and uses the service in cloud etc., these application scenarios need intelligence Terminal externally provides various access and control interface so that the data input and output of intelligent terminal become it is very rich and Complexity, and the presence of Outside Access and control interface has intelligent terminal by the possibility of malicious access and attack, especially More and more users use Internetbank, the software comprising individual privacy function on intelligent terminal, in this way, the meeting on intelligent terminal Encryption data relevant to user information is generated, needs to carry out encryption data the storage of safety, on intelligent terminal to prevent The encryption data of storage is by malicious access and steals.
The existing method stored to encryption data is usually directly to store entire encryption data to terminal storage In device in one section of pre-set continuation address, in this way, being easy after cracking the pre-set address, directly acquire whole A encryption data, safety be not high.
Above content is only used to facilitate the understanding of the technical scheme, and is not represented and is recognized that above content is existing skill Art.
Summary of the invention
The main purpose of the present invention is to provide a kind of storage method of encryption data and terminals, it is intended to improve encryption data The safety of storage.
To achieve the above object, the storage method of a kind of encryption data provided by the invention, the method includes following steps It is rapid:
Original analog is received, and calculates the limit value random number for generating preset quantity according to the original analog;
It obtains the storage address of corresponding preset quantity in the terminal according to the limit value random number of preset quantity, and generates one Storage address mapping table;
The encryption data for needing to store is subjected to the encryption data point that cutting generates preset quantity by the number of preset quantity Block, based on the storage address mapping table by the encryption data piecemeal it is corresponding storage into the storage address of preset quantity.
Preferably, the reception original analog, and calculated according to the original analog and generate preset quantity The step of limit value random number includes:
Detect the intensity of received original analog;
The original analog for reaching preset strength is sampled;
Discrete Fourier transform is carried out to several original analogs that sampling obtains, obtains a raw digital signal;
The raw digital signal obtained is judged whether in the theoretical range of setting, if the raw digital signal obtained exists In the theoretical range of setting, the raw digital signal is based on chaos algorithm as random factor and is calculated, generated pre- If the limit value random number of quantity.
Preferably, the limit value random number according to preset quantity is with obtaining the storage of corresponding preset quantity in the terminal Location, and the step of generating a storage address mapping table includes:
The value that the limit value random number is obtained in the physical address of terminal memory according to each limit value random number is corresponding One storage address, and the corresponding storage address mapping table of limit value random number for generating preset quantity.
Preferably, described that the encryption data for needing to store is subjected to cutting generation preset quantity by the number of preset quantity The step of encryption data piecemeal includes:
The equal portions that the encryption data stored will be needed to be cut into preset quantity, each equal portions are as an encryption data piecemeal.
Preferably, the limit value random number according to preset quantity is with obtaining the storage of corresponding preset quantity in the terminal Location, and after the step of generating a storage address mapping table further include:
The storage address mapping table is encrypted and stored using preset Encryption Algorithm.
In addition, to achieve the above object, the present invention also provides a kind of terminal for storing encryption data, the terminal includes:
Computing module for receiving original analog, and calculates according to the original analog and generates preset quantity Limit value random number;
Module is obtained, obtains the storage of corresponding preset quantity in the terminal for the limit value random number according to preset quantity Address, and generate a storage address mapping table;
Cutting memory module, the encryption data for that will need to store carry out cutting generation by the number of preset quantity and preset The corresponding storage of the encryption data piecemeal is arrived present count based on the storage address mapping table by the encryption data piecemeal of quantity In the storage address of amount.
Preferably, the computing module is specifically used for:
Detect the intensity of received original analog;The original analog for reaching preset strength is sampled;It is right It samples obtained several original analogs and carries out discrete Fourier transform, obtain a raw digital signal;Judge the original obtained Beginning digital signal whether in the theoretical range of setting, if obtain raw digital signal in the theoretical range of setting, The raw digital signal is based on chaos algorithm as random factor to calculate, generates the limit value random number of preset quantity.
Preferably, the acquisition module is also used to:
The value that the limit value random number is obtained in the physical address of terminal memory according to each limit value random number is corresponding One storage address, and the corresponding storage address mapping table of limit value random number for generating preset quantity.
Preferably, the cutting memory module is also used to:
The equal portions that the encryption data stored will be needed to be cut into preset quantity, each equal portions are as an encryption data piecemeal.
Preferably, the terminal further include:
Encrypting module, for the storage address mapping table to be encrypted and stored using preset Encryption Algorithm.
The storage method and terminal of a kind of encryption data proposed by the present invention, generate present count using original analog The limit value random number of amount obtains corresponding storage address according to the limit value random number of generation in the terminal, and needs are stored Corresponding storage is into multiple storage address after encryption data carries out cutting.Due to original analog have natural chaos with Machine, therefore can not be reversed and be cracked using the limit value random number that original analog generates, moreover, by the way that encryption data is cut It is divided into more parts, every portion is stored into the corresponding storage address of different limit value random numbers accordingly, even if certain a encryption data It is stolen, can not also get entire encryption data, greatly improve the safety of encryption data storage.
Detailed description of the invention
Fig. 1 is the flow diagram of the storage method first embodiment of encryption data of the present invention;
Fig. 2 is the flow diagram of the storage method second embodiment of encryption data of the present invention;
Fig. 3 is the functional block diagram of the terminal first embodiment of present invention storage encryption data;
Fig. 4 is the functional block diagram of the terminal second embodiment of present invention storage encryption data.
The embodiments will be further described with reference to the accompanying drawings for the realization, the function and the advantages of the object of the present invention.
Specific embodiment
It should be appreciated that the specific embodiments described herein are merely illustrative of the present invention, it is not intended to limit the present invention.
The present invention provides a kind of storage method of encryption data.
Referring to Fig.1, Fig. 1 is the flow diagram of the storage method first embodiment of encryption data of the present invention.
In the first embodiment, the storage method of the encryption data includes:
Step S10 receives original analog, and calculates the limit value for generating preset quantity according to the original analog Random number;
In the present embodiment, terminal receives original analog, the original analog either by electric field in nature, The natural analog signal of the generations such as magnetic field is also possible to the non-filtered original simulation letter for waiting processing issued by signal source Number, which has natural chaotic property and randomness, even the analog signal that same signal source different time issues It is also different.It is calculated, is produced pre- based on original analog of the chaos algorithm to the received Stochastic Chaos of terminal If the limit value random number of quantity.It should be noted that can be set to the parameter in chaos algorithm calculating process in the present embodiment Fixed, the value of the limit value random number of the preset quantity ultimately generated with guarantee is in the range of needs.
Step S20 obtains the storage address of corresponding preset quantity according to the limit value random number of preset quantity in the terminal, And generate a storage address mapping table;
After getting the limit value random number of preset quantity, corresponding one is obtained in the terminal according to each limit value random number and is deposited Store up address, wherein in the present embodiment, which is also possible to either true physical address in terminal memory The virtual memory address of terminal, is not limited thereto.Here, by taking the storage address is the physical address in terminal memory as an example It is illustrated, the parameter in chaos algorithm calculating process can be set in advance, to guarantee the preset quantity ultimately generated The value of limit value random number, can be according to each limit value random number of generation in terminal memory in the range of all physical address Value a storage address corresponding with the value of the limit value random number is obtained in the physical address of terminal memory, in this way, due to What each limit value random number was all randomly generated, therefore, the identical quantity obtained according to the limit value random number of preset quantity is deposited Storage address is also all random, rather than continuous address.According to the limit value random number of preset quantity and the storage of identical quantity The corresponding relationship of address generates a storage address mapping table, deposits comprising each limit value random number with it in the storage address mapping table Store up the corresponding relationship of address.
The encryption data for needing to store is carried out cutting by the number of preset quantity and generates adding for preset quantity by step S30 The storage of preset quantity is arrived in the corresponding storage of the encryption data piecemeal based on the storage address mapping table by ciphertext data piecemeal In address.
The encryption data for needing to store is subjected to cutting, can be carried out by the number of preset quantity identical with limit value random number Cutting generates the encryption data piecemeal of preset quantity.In one embodiment, in order to which cutting is convenient, needs can be stored Encryption data is cut into the equal portions of preset quantity, and each equal portions are as an encryption data piecemeal, in this way, without considering encryption data Size, only equal part need to be carried out according to preset quantity, it is simpler, quick.In another embodiment, both may be used The encryption data for needing to store to be cut into the number of preset quantity at random, the size of every portion encryption data piecemeal is divided at random Match, the size of multiple and different encryption data piecemeals can also be preset, by multiple and different encryption data piecemeals of setting Size encryption data is subjected to cutting, in this way, the size of preset different encryption data piecemeal can be needed according to user Cutting is carried out to encryption data, it is more flexible.
The encryption data for needing to store is subjected to the encryption data point that cutting generates preset quantity by the number of preset quantity After block, based on the corresponding relationship of each limit value random number and its storage address in the storage address mapping table, by each encryption Data block storage completes the storage of encryption data into the corresponding storage address of each limit value random number.
The limit value random number for generating preset quantity in the present embodiment using original analog, according to the limit value of generation with Machine number obtains corresponding storage address in the terminal, and stores corresponding after the encryption data progress cutting for needing to store to more In a storage address.Since original analog has natural chaos randomness, generated using original analog Limit value random number can not be reversed and crack, moreover, every portion is stored to difference accordingly by the way that encryption data is cut into more parts In the corresponding storage address of limit value random number, even if certain a encryption data is stolen, entire encryption data can not be also got, Greatly improve the safety of encryption data storage.
Further, in other embodiments, above-mentioned steps S10 may include:
Detect the intensity of received original analog;Here, be specifically illustrated using the terminal as TV, certainly, The terminal is not limited as other kinds of terminal yet.Firstly, the analog video modem using TV connects to detect TV The intensity of the original analog of receipts.The chaos number needed can be generated when the intensity for detecting received original analog reaches When according to required preset strength, original analog is sampled by the tuner of TV, sampling number can carry out in advance Setting.
The original analog for reaching preset strength is carried out after setting the sampling of number, several originals that sampling can be obtained Beginning analog signal carries out discrete Fourier transform, obtains a raw digital signal;Judge obtain raw digital signal whether In the theoretical range of setting, if the raw digital signal obtained terminates this process not in the theoretical range of setting, It is operated without next step;If the raw digital signal obtained is in the theoretical range of setting, further that this is original Digital signal is based on chaos algorithm as random factor and is calculated, and generates the limit value random number of preset quantity.
Since original analog has carried out the raw digital signal of intensity detection, the sampling for setting number and judgement acquisition Whether therefore the equal operation in the theoretical range of setting can guarantee to be calculated according to raw digital signal by chaos algorithm and give birth to At limit value random number value in the range of needs, provide satisfactory limit value random number for subsequent operation.
In order to guarantee the preset quantity ultimately generated limit value random number value in terminal memory all physical address In the range of, a theoretical value can be set according to the value range of physical address all in terminal memory, when raw digital signal exists When in the theoretical value of setting, the value for calculating the limit value random number obtained based on the raw digital signal be can guarantee in terminal storage In device in the range of all physical address.
For example, the value of the limit value random number to guarantee the preset quantity ultimately generated needs in the range of needs When raw digital signal is one 128 theory signals, first can in sampling to original analog circulating sampling 5 times, It obtains 5 groups of original analogs, then discrete Fourier transforms is carried out to 5 groups of original analogs, obtain one 128 original Digital signal judges the raw digital signal obtained whether in the theoretical range of setting, if the raw digital signal obtained In the theoretical range of setting, then further the raw digital signal is carried out as random factor by chaos algorithm based on Calculate, specifically, according to the raw digital signal obtain chaos algorithm needed for random factor the step of can as follows into Row:
Wherein, key is the final random factor for calculating and obtaining, and DATA is the original number in the theoretical range of setting Word signal.The limit value random number for generating preset quantity can be calculated based on random factor key.Since random factor key is basis What the raw digital signal DATA in the theoretical range of setting was calculated, therefore can guarantee that the limit value ultimately generated is random Several values are in the range of needs.
As shown in Fig. 2, second embodiment of the invention proposes a kind of storage method of encryption data, in above-mentioned first embodiment On the basis of, after above-mentioned steps S20 further include:
The storage address mapping table is encrypted and is stored using preset Encryption Algorithm by step S40.
The present embodiment and the difference of above-mentioned first embodiment are that the present embodiment further includes utilizing preset Encryption Algorithm will The operation that the storage address mapping table is encrypted and stored.
In the present embodiment after generating storage address mapping table, further, deposited using preset Encryption Algorithm by described Storage address mapping table is encrypted and is stored, wherein preset Encryption Algorithm can be Advanced Encryption Standard (Advanced Encryption Standard, abbreviation AES) algorithm is also not limited to other kinds of Encryption Algorithm certainly.It is calculated using AES After method is encrypted and stored to the storage address mapping table, when obtaining the encryption data of storage, need first to calculate through AES The encrypted storage address mapping table of method is decrypted, then each limit value random number from the storage address mapping table after decryption Corresponding storage address takes out each encryption data piecemeal, then each encryption data piecemeal of taking-up is combined and could be obtained To final complete encryption data.In the present embodiment after encrypting to the storage address mapping table, number is encrypted obtaining During, the behaviour such as the decryption for carrying out storage address mapping table is needed, each encryption data piecemeal is taken out, is combined splicing Work can just get final complete encryption data, further improve the safety of encryption data storage.Meanwhile it will be described It is stored, is called when can be for being needed in subsequent operation and obtaining the encryption data, more after the encryption of storage address mapping table It is convenient.
It should be noted that step S40 both can be between step S20 and S30 in the present embodiment, it can also be in step It after S30, is not limited thereto, is only illustrated so that step S40 is between step S20 and S30 as an example in Fig. 2.
The present invention further provides a kind of terminals for storing encryption data.
Referring to the functional block diagram for the terminal first embodiment that Fig. 3, Fig. 3 are present invention storage encryption data.
In the first embodiment, the terminal of the storage encryption data includes:
Computing module 01 for receiving original analog, and calculates according to the original analog and generates present count The limit value random number of amount;
Module 02 is obtained, for obtaining depositing for corresponding preset quantity in the terminal according to the limit value random number of preset quantity Address is stored up, and generates a storage address mapping table;
Cutting memory module 03, the encryption data for that will need to store carry out cutting by the number of preset quantity and generate in advance If the encryption data piecemeal of quantity, the corresponding storage of the encryption data piecemeal is arrived based on the storage address mapping table and is preset In the storage address of quantity.
In the present embodiment, terminal receives original analog, the original analog either by electric field in nature, The natural analog signal of the generations such as magnetic field is also possible to the non-filtered original simulation letter for waiting processing issued by signal source Number, which has natural chaotic property and randomness, even the analog signal that same signal source different time issues It is also different.It is calculated, is produced pre- based on original analog of the chaos algorithm to the received Stochastic Chaos of terminal If the limit value random number of quantity.It should be noted that can be set to the parameter in chaos algorithm calculating process in the present embodiment Fixed, the value of the limit value random number of the preset quantity ultimately generated with guarantee is in the range of needs.
After getting the limit value random number of preset quantity, corresponding one is obtained in the terminal according to each limit value random number and is deposited Store up address, wherein in the present embodiment, which is also possible to either true physical address in terminal memory The virtual memory address of terminal, is not limited thereto.Here, by taking the storage address is the physical address in terminal memory as an example It is illustrated, the parameter in chaos algorithm calculating process can be set in advance, to guarantee the preset quantity ultimately generated The value of limit value random number, can be according to each limit value random number of generation in terminal memory in the range of all physical address Value a storage address corresponding with the value of the limit value random number is obtained in the physical address of terminal memory, in this way, due to What each limit value random number was all randomly generated, therefore, the identical quantity obtained according to the limit value random number of preset quantity is deposited Storage address is also all random, rather than continuous address.According to the limit value random number of preset quantity and the storage of identical quantity The corresponding relationship of address generates a storage address mapping table, deposits comprising each limit value random number with it in the storage address mapping table Store up the corresponding relationship of address.
The encryption data for needing to store is subjected to cutting, can be carried out by the number of preset quantity identical with limit value random number Cutting generates the encryption data piecemeal of preset quantity.In one embodiment, in order to which cutting is convenient, needs can be stored Encryption data is cut into the equal portions of preset quantity, and each equal portions are as an encryption data piecemeal, in this way, without considering encryption data Size, only equal part need to be carried out according to preset quantity, it is simpler, quick.In another embodiment, both may be used The encryption data for needing to store to be cut into the number of preset quantity at random, the size of every portion encryption data piecemeal is divided at random Match, the size of multiple and different encryption data piecemeals can also be preset, by multiple and different encryption data piecemeals of setting Size encryption data is subjected to cutting, in this way, the size of preset different encryption data piecemeal can be needed according to user Cutting is carried out to encryption data, it is more flexible.
The encryption data for needing to store is subjected to the encryption data point that cutting generates preset quantity by the number of preset quantity After block, based on the corresponding relationship of each limit value random number and its storage address in the storage address mapping table, by each encryption Data block storage completes the storage of encryption data into the corresponding storage address of each limit value random number.
The limit value random number for generating preset quantity in the present embodiment using original analog, according to the limit value of generation with Machine number obtains corresponding storage address in the terminal, and stores corresponding after the encryption data progress cutting for needing to store to more In a storage address.Since original analog has natural chaos randomness, generated using original analog Limit value random number can not be reversed and crack, moreover, every portion is stored to difference accordingly by the way that encryption data is cut into more parts In the corresponding storage address of limit value random number, even if certain a encryption data is stolen, entire encryption data can not be also got, Greatly improve the safety of encryption data storage.
Further, in other embodiments, above-mentioned computing module 01 specifically can be used for:
Detect the intensity of received original analog;Here, be specifically illustrated using the terminal as TV, certainly, The terminal is not limited as other kinds of terminal yet.Firstly, the analog video modem using TV connects to detect TV The intensity of the original analog of receipts.The chaos number needed can be generated when the intensity for detecting received original analog reaches When according to required preset strength, original analog is sampled by the tuner of TV, sampling number can carry out in advance Setting.
The original analog for reaching preset strength is carried out after setting the sampling of number, several originals that sampling can be obtained Beginning analog signal carries out discrete Fourier transform, obtains a raw digital signal;Judge obtain raw digital signal whether In the theoretical range of setting, if the raw digital signal obtained terminates this process not in the theoretical range of setting, It is operated without next step;If the raw digital signal obtained is in the theoretical range of setting, further that this is original Digital signal is based on chaos algorithm as random factor and is calculated, and generates the limit value random number of preset quantity.
Since original analog has carried out the raw digital signal of intensity detection, the sampling for setting number and judgement acquisition Whether therefore the equal operation in the theoretical range of setting can guarantee to be calculated according to raw digital signal by chaos algorithm and give birth to At limit value random number value in the range of needs, provide satisfactory limit value random number for subsequent operation.
In order to guarantee the preset quantity ultimately generated limit value random number value in terminal memory all physical address In the range of, a theoretical value can be set according to the value range of physical address all in terminal memory, when raw digital signal exists When in the theoretical value of setting, the value for calculating the limit value random number obtained based on the raw digital signal be can guarantee in terminal storage In device in the range of all physical address.
For example, the value of the limit value random number to guarantee the preset quantity ultimately generated needs in the range of needs When raw digital signal is one 128 theory signals, first can in sampling to original analog circulating sampling 5 times, It obtains 5 groups of original analogs, then discrete Fourier transforms is carried out to 5 groups of original analogs, obtain one 128 original Digital signal judges the raw digital signal obtained whether in the theoretical range of setting, if the raw digital signal obtained In the theoretical range of setting, then further the raw digital signal is carried out as random factor by chaos algorithm based on Calculate, specifically, according to the raw digital signal obtain chaos algorithm needed for random factor the step of can as follows into Row:
Wherein, key is the final random factor for calculating and obtaining, and DATA is the original number in the theoretical range of setting Word signal.The limit value random number for generating preset quantity can be calculated based on random factor key.Since random factor key is basis What the raw digital signal DATA in the theoretical range of setting was calculated, therefore can guarantee that the limit value ultimately generated is random Several values are in the range of needs.
As shown in figure 4, second embodiment of the invention proposes a kind of terminal for storing encryption data, in above-mentioned first embodiment On the basis of, further includes:
Encrypting module 04, for the storage address mapping table to be encrypted and stored using preset Encryption Algorithm.
The present embodiment and the difference of above-mentioned first embodiment are that the present embodiment further includes utilizing preset Encryption Algorithm will The operation that the storage address mapping table is encrypted and stored.
In the present embodiment after generating storage address mapping table, further, deposited using preset Encryption Algorithm by described Storage address mapping table is encrypted and is stored, wherein preset Encryption Algorithm can be Advanced Encryption Standard (Advanced Encryption Standard, abbreviation AES) algorithm is also not limited to other kinds of Encryption Algorithm certainly.It is calculated using AES After method is encrypted and stored to the storage address mapping table, when obtaining the encryption data of storage, need first to calculate through AES The encrypted storage address mapping table of method is decrypted, then each limit value random number from the storage address mapping table after decryption Corresponding storage address takes out each encryption data piecemeal, then each encryption data piecemeal of taking-up is combined and could be obtained To final complete encryption data.In the present embodiment after encrypting to the storage address mapping table, number is encrypted obtaining During, the behaviour such as the decryption for carrying out storage address mapping table is needed, each encryption data piecemeal is taken out, is combined splicing Work can just get final complete encryption data, further improve the safety of encryption data storage.Meanwhile it will be described It is stored, is called when can be for being needed in subsequent operation and obtaining the encryption data, more after the encryption of storage address mapping table It is convenient.
The serial number of the above embodiments of the invention is only for description, does not represent the advantages or disadvantages of the embodiments.Pass through above embodiment party The description of formula, it is required general that those skilled in the art can be understood that above-described embodiment method can add by software The mode of hardware platform is realized, naturally it is also possible to which by hardware, but in many cases, the former is more preferably embodiment.It is based on Such understanding, substantially the part that contributes to existing technology can be with software product in other words for technical solution of the present invention Form embody, which is stored in a storage medium (such as ROM/RAM, magnetic disk, CD), including Some instructions are used so that a terminal device (can be mobile phone, computer, server or the network equipment etc.) executes this hair Method described in bright each embodiment.
The above is only a preferred embodiment of the present invention, is not intended to limit the scope of the invention, all to utilize this hair Equivalent structure or equivalent flow shift made by bright specification and accompanying drawing content is applied directly or indirectly in other relevant skills Art field, is included within the scope of the present invention.

Claims (8)

1. a kind of storage method of encryption data, which is characterized in that the described method comprises the following steps:
Original analog is received, and calculates the limit value random number for generating preset quantity according to the original analog;
It obtains the storage address of corresponding preset quantity in the terminal according to the limit value random number of preset quantity, and generates a storage Address mapping table;
The encryption data for needing to store is subjected to the encryption data piecemeal that cutting generates preset quantity, base by the number of preset quantity In the storage address that the encryption data piecemeal is accordingly stored preset quantity by the storage address mapping table;
Wherein, the reception original analog, and according to the original analog calculate generate preset quantity limit value with The step of machine number includes:
Detect the intensity of received original analog;
The original analog for reaching preset strength is sampled;
Discrete Fourier transform is carried out to several original analogs that sampling obtains, obtains a raw digital signal;
The raw digital signal obtained is judged whether in the theoretical range of setting, if the raw digital signal obtained is being set Theoretical range in, using the raw digital signal as random factor be based on chaos algorithm calculate, generate present count The limit value random number of amount;
The formula that the raw digital signal is calculated as random factor based on chaos algorithm are as follows:
Wherein, key is the final random factor for calculating and obtaining, and DATA is the original figure letter in the theoretical range of setting Number.
2. the storage method of encryption data as described in claim 1, which is characterized in that the limit value according to preset quantity with Machine number obtains the storage address of corresponding preset quantity in the terminal, and the step of generating a storage address mapping table includes:
It is deposited according to the value corresponding one that each limit value random number obtains the limit value random number in the physical address of terminal memory Store up address, and the corresponding storage address mapping table of limit value random number for generating preset quantity.
3. the storage method of encryption data as described in claim 1, which is characterized in that the encryption data for storing needs Carrying out the step of cutting generates the encryption data piecemeal of preset quantity by the number of preset quantity includes:
The equal portions that the encryption data stored will be needed to be cut into preset quantity, each equal portions are as an encryption data piecemeal.
4. the storage method of the encryption data as described in any one of claims 1 to 3, which is characterized in that the basis is pre- If the limit value random number of quantity obtains the storage address of corresponding preset quantity in the terminal, and generates a storage address mapping table The step of after further include:
The storage address mapping table is encrypted and stored using preset Encryption Algorithm.
5. a kind of terminal for storing encryption data, which is characterized in that the terminal includes:
Computing module for receiving original analog, and calculates the limit for generating preset quantity according to the original analog It is worth random number;
Module is obtained, with obtaining the storage of corresponding preset quantity in the terminal for the limit value random number according to preset quantity Location, and generate a storage address mapping table;
Cutting memory module, the encryption data for that will need to store carry out cutting by the number of preset quantity and generate preset quantity Encryption data piecemeal, the encryption data piecemeal is accordingly stored by preset quantity based on the storage address mapping table In storage address;
Wherein, the computing module is specifically used for:
Detect the intensity of received original analog;The original analog for reaching preset strength is sampled;To sampling Obtained several original analogs carry out discrete Fourier transform, obtain a raw digital signal;Judge the original number obtained Word signal whether in the theoretical range of setting, if obtain raw digital signal in the theoretical range of setting, by institute Raw digital signal is stated as random factor to be calculated based on chaos algorithm, the limit value random number of preset quantity is generated;
The formula that the raw digital signal is calculated as random factor based on chaos algorithm are as follows:
Wherein, key is the final random factor for calculating and obtaining, and DATA is the original figure letter in the theoretical range of setting Number.
6. terminal as claimed in claim 5, which is characterized in that the acquisition module is also used to:
It is deposited according to the value corresponding one that each limit value random number obtains the limit value random number in the physical address of terminal memory Store up address, and the corresponding storage address mapping table of limit value random number for generating preset quantity.
7. terminal as claimed in claim 5, which is characterized in that the cutting memory module is also used to:
The equal portions that the encryption data stored will be needed to be cut into preset quantity, each equal portions are as an encryption data piecemeal.
8. the terminal as described in any one of claim 5 to 7, which is characterized in that further include:
Encrypting module, for the storage address mapping table to be encrypted and stored using preset Encryption Algorithm.
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 CN105809066A (en) 2016-07-27
CN105809066B true 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)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106990938B (en) * 2017-06-12 2020-04-03 迈普通信技术股份有限公司 Random number acquisition method and device and electronic equipment
CN109325354B (en) * 2017-07-31 2022-06-28 阿里云计算有限公司 Data storage, processing and reading method, data storage device and system
CA3086236A1 (en) * 2017-12-18 2019-06-27 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
CN110391914B (en) * 2019-09-18 2019-12-31 尤尼泰克(嘉兴)信息技术有限公司 File acquisition method and equipment based on two-dimensional code and two-dimensional code generation method

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
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

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI259366B (en) * 2002-02-20 2006-08-01 Nagracard Sa Data block storing method in a memory

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
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

Also Published As

Publication number Publication date
CN105809066A (en) 2016-07-27

Similar Documents

Publication Publication Date Title
CN105809066B (en) The storage method and terminal of encryption data
CN106599723B (en) File encryption method and device and file decryption method and device
CN103873454B (en) Authentication method and equipment
CN109740384A (en) Data based on block chain deposit card method and apparatus
CN106533665B (en) Mthods, systems and devices for storing website private key plaintext
CN106209739A (en) Cloud storage method and system
US20170364691A1 (en) Method and System for Controlling Encryption of Information and Analyzing Information as well as Terminal
CN105577379A (en) Information processing method and apparatus thereof
CN106650355B (en) Method and device for protecting function call
CN110266682B (en) Data encryption method and device, mobile terminal and decryption method
CN104023012B (en) The method, apparatus and system of service are called in cluster
US20170099144A1 (en) Embedded encryption platform comprising an algorithmically flexible multiple parameter encryption system
CN103731258A (en) Method and device for generating secret key
CN113542253B (en) Network flow detection method, device, equipment and medium
CN104219626B (en) A kind of identity authentication method and device
US10282539B2 (en) Authentication and secure communication with application extensions
CN104166821B (en) A kind of method and apparatus of data processing
US20110154015A1 (en) Method For Segmenting A Data File, Storing The File In A Separate Location, And Recreating The File
CN110221990B (en) Data storage method and device, storage medium and computer equipment
CN105306200B (en) The encryption method and device of network account password
CN109981551A (en) A kind of data transmission system based on block chain, method and relevant device
CN109391473A (en) A kind of method, apparatus and storage medium of Electronic Signature
CN113434474A (en) Flow auditing method, equipment and storage medium based on federal learning
CN105357665A (en) Encryption method for sensitive data of mobile phone and off-line decryption method based on same
CN116582267B (en) Data encryption system, method and device, storage medium and electronic equipment

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