CN106557706A - Date storage method, device and mobile terminal - Google Patents
Date storage method, device and mobile terminal Download PDFInfo
- Publication number
- CN106557706A CN106557706A CN201611089070.4A CN201611089070A CN106557706A CN 106557706 A CN106557706 A CN 106557706A CN 201611089070 A CN201611089070 A CN 201611089070A CN 106557706 A CN106557706 A CN 106557706A
- Authority
- CN
- China
- Prior art keywords
- stored
- mark
- file
- data
- store path
- 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
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F21/00—Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
- G06F21/60—Protecting data
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F21/00—Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
- G06F21/60—Protecting data
- G06F21/604—Tools and structures for managing or administering access control systems
Abstract
The present invention provides a kind of date storage method, device and mobile terminal.The date storage method includes step:Data to be stored are divided into by multiple initial segments with predetermined partitioning algorithm;The plurality of initial segment is respectively provided with into mark and file format to obtain multiple target fragments;The plurality of target fragment is retained separately at least two store paths;Preserve the mark and correspondence store path of each target fragment.The present invention be divided into multiple fragments by data to be stored and preserved to different store paths respectively by adopting, so that disabled user is difficult to all fragments for getting the data to be stored so as to crack out the data to be stored, so as to lift the safety of end message.
Description
Technical field
The present invention relates to the communications field, more particularly to a kind of date storage method, device and mobile terminal.
Background technology
With the development of terminal technology, degree of dependence more and more higher of the user to terminals such as smart mobile phones, terminal
Memory space is also increasing.User can store various information in the terminal.For example, user can store sound in the terminal
The multimedia messages such as pleasure, video, can be with privacy informations such as memory communicating record, notes.
On the other hand, due to the portability of terminal, terminal is generally carried with by user.And user's portable terminal
When, the situation that the storage device (such as storage card) in terminal generation loss or terminal is lost happens occasionally.Once terminal or
Storage device in terminal is lost, and the information of user's storage is easily known by other people, so as to cause user privacy information to reveal.
Current terminal cannot be effectively protected to the information of user's storage, affect the information security of mobile terminal
Property.
The content of the invention
The embodiment of the present invention provides a kind of date storage method, device and mobile terminal, can improve the letter of mobile terminal
Breath safety.
The embodiment of the present invention provides a kind of date storage method, comprises the following steps:
Data to be stored are divided into by multiple initial segments with predetermined partitioning algorithm;
The plurality of initial segment is respectively provided with into mark and file format to obtain multiple target fragments;
The plurality of target fragment is retained separately at least two store paths;
Preserve the mark and correspondence store path of each target fragment.
The embodiment of the present invention provides a kind of data storage device, including:
Segmentation module, for data to be stored are divided into multiple initial segments with predetermined partitioning algorithm;
Setup module, for the plurality of initial segment is respectively provided with mark and file format to obtain multiple targets
Fragment;
First memory module, for the plurality of target fragment is retained separately at least two store paths;
Second memory module, for preserving the mark and correspondence store path of each target fragment.
The embodiment of the present invention provides a kind of mobile terminal, including:
Be stored with the memorizer of executable program code;
The processor coupled with the memorizer;
The executable program code that the processor is stored in calling the memorizer, perform as claim 1 to
Date storage method described in any one of claim 5..
The embodiment of the present invention adopts and data to be stored is divided into multiple initial segments with predetermined partitioning algorithm;Will be described many
Individual initial segment is respectively provided with mark and file format to obtain multiple target fragments;The plurality of target fragment is separately protected
Deposit at least two store paths;The mark and correspondence store path of each target fragment are preserved, it is important so as to realize
The preservation of data, be divided into multiple fragments by data to be stored and preserved to different store paths respectively due to wherein adopting,
Beneficial effect with the safety for improving the data for preserving.
Description of the drawings
A kind of flow charts of the Fig. 1 for the date storage method in one embodiment of the present invention.
Another kind of flow charts of the Fig. 2 for the date storage method in one embodiment of the present invention.
A kind of scene graph of the Fig. 3 for the date storage method in one embodiment of the present invention.
Another kind of scene graph of the Fig. 4 for the date storage method in one embodiment of the present invention.
Another scene graph of Fig. 5 for the date storage method in one embodiment of the present invention.
Another flow chart of Fig. 6 for the date storage method in one embodiment of the present invention.
Another flow chart of Fig. 7 for the date storage method in one embodiment of the present invention.
Structure charts of the Fig. 8 for the data storage device in one embodiment of the present invention.
Structure charts of the Fig. 9 for the mobile terminal in one embodiment of the present invention.
Specific embodiment
Schema is refer to, wherein identical element numbers represent identical component, and the principle of the present invention is to be implemented in one
Illustrate in appropriate computing environment.The following description is that, based on the illustrated specific embodiment of the invention, which should not be by
It is considered as and limits the present invention other specific embodiments not detailed herein.
In the following description, specific embodiment of the invention will be with reference to the operation by performed by or multi-section computer
The step of and symbol illustrating, unless otherwise stating clearly.Therefore, which will appreciate that these steps and operation, wherein have carrying for several times
To be performed by computer, include by representing with the computer disposal list of the electronic signal of the data in a structuring pattern
Unit is manipulated.At this manipulation transforms data or the position that is maintained in the memory system of the computer, which can be matched somebody with somebody again
Put or in addition in a manner familiar to those skilled in the art changing the running of the computer.The data knot maintained by the data
Provider location of the structure for the internal memory, which has by particular characteristics defined in the data form.But, the principle of the invention is with above-mentioned
Illustrating, which is not represented as a kind of restriction to word, those skilled in the art will appreciate that the plurality of step of described below and
Operation is also may be implemented in the middle of hardware.
In an embodiment of the present invention, the date storage method is mainly used in the mobile terminals such as mobile phone, IPAD.With
Lower involved method and device will be described from the angle of mobile terminal, and the data storage device can specifically be integrated in
In the terminals such as panel computer, mobile phone.
Refer to Fig. 1 to Fig. 5, Fig. 1 is a kind of flow chart of the date storage method in the embodiment of the present invention, and which mainly should
For, in mobile terminal, the method is comprised the following steps:
S101, data to be stored are divided into by multiple initial segments with predetermined partitioning algorithm.
In step S101, the data to be stored are typically all to be presented with the form of text or picture file
, in order to improve the confidentiality of data, typically can first by the data conversion to be stored into binary form binary file, so
Again the binary file is split afterwards.Therefore, when being embodied as, step S101 includes following sub-step:
S1011, by data conversion to be stored into binary file;When a certain data fit predetermined condition is detected, will
Which is set as the data to be stored for needing special storage.For example, the data such as Bank Account Number and password, privacy photo.
S1012, the binary file is divided into by multiple initial segments with predetermined partitioning algorithm.For example, will can be somebody's turn to do
Binary file is divided into six initial segments of A, B, C, D, E and F.
S102, by the plurality of initial segment be respectively provided with mark and file format to obtain multiple target fragments.
In step S102, when implementing step S102, following sub-step can be included:
S1021, mark is respectively provided with to the plurality of initial segment, the mark of each of which initial segment is differed.
During enforcement, to the plurality of initial segment plus mark to distinguish each initial segment, A, B, C, D, E and the F six is initial
Fragment mark-on is respectively six initial segments of A1, B2, C3, D4, E5 and F6 after knowing, and the mark can be added in filename,
The precalculated position that can be added in file.
S1022, to arrange mark after initial segment arrange file format, to obtain multiple target fragments.Wherein, this is more
At least two target fragments in individual target fragment have different file formats.When being embodied as, the plurality of target fragment
File format can be differed, and for example six initial segments are respectively set to PDF, doc forms, JPG forms, DWG
Form, DXF forms and MP3 format, its filename are embodied as A1.PDF, B2.doc, C3.JPG, D4.DWG, E5.DXF
And F6.MP3;It is of course also possible to a part of identical, a part is differed, and for example six initial segments are respectively set to PDF
Form, doc forms, JPG forms, PDF, doc forms, JPG forms.The setting initial segment for referring in the present embodiment
File format refers to the suffix name for changing file, and does not change the intensional data included in this document.
It is to be appreciated that when step S102 is implemented, the lattice file form of the plurality of initial segment first can also be set,
Then know to each initial segment mark-on, so as to obtain target fragment.
S103, the plurality of target fragment is retained separately at least two store paths.In step s 103, store road
Then the selection in footpath can be stored the plurality of target fragment to several storages using several store paths are randomly selected
Path, wherein, each store path is at least stored with a target fragment.It is of course also possible to some store paths are preset,
Then multiple target fragments are stored separately to some store paths.It should be understood that in the present embodiment, can also adopt
Store path is chosen according to the feature of target fragment, preferably to hide each target fragment.Therefore, step S103 can
With including following sub-step:
S1031, the store path that correspondence number is chosen according to the species number of the file format of multiple target fragments.Wherein,
Each file format one store path of correspondence, the memory area that the store path is pointed to mainly are stored with this kind of file format
File.For example, the plurality of target fragment is respectively A1.PDF, B2.doc, C3.JPG, D4.DWG, E5.DXF and F6.MP3,
Wherein a total of 6 kinds of file formats, therefore, choose 6 store paths AA, BB, CC, DD, EE, FF.
The most of file or All Files stored in the corresponding memory areas of store path AA is all pdf document, is deposited
The most of file or All Files stored in the corresponding memory areas of storage path BB is all doc files, and store path CC is correspondingly
Memory area in most of file for storing or All Files be all JPG files, in the corresponding memory areas of store path DD
Most of file of storage or All Files are all DWG files, the major part stored in the corresponding memory areas of store path EE
File or All Files are all DXF files.The most of file stored in the corresponding memory areas of store path FF or all texts
Part is all mp3 file.
S1032, each target fragment is stored to store path corresponding with its file format.When being embodied as,
The citing in step S1031 is connect, A1.PDF corresponding file is stored into memory area corresponding to store path AA;By B2.doc
Corresponding file stores memory area corresponding to store path BB;C3.doc corresponding file is stored to store path CC pair
The memory area answered;D4.doc corresponding file is stored into memory area corresponding to store path DD;E5.doc is corresponding
File stores memory area corresponding to store path EE;F6.doc corresponding file is stored to store path FF is corresponding and is deposited
Storage area domain.
S104, the mark for preserving each target fragment and correspondence store path.
In step S104, when being embodied as, the mark and corresponding store path of the plurality of target fragment will be first set up
Mapping table, then preserves the mapping table, enters when the mapping table is for file after user inquires about the storage
It is about to the plurality of target fragment combination and reverts to original data to be stored.
When user wants to check the data that this preserves by the way, step is got according to data name to be checked
The mark of the multiple target fragments set up in S104 and the mapping table of corresponding store path.Then according to the mapping table
In each target fragment mark and store path, obtain the plurality of target fragment.Get the plurality of target fragment it
Afterwards, the combinational algorithm corresponding with predetermined partitioning algorithm is adopted, the plurality of target fragment is combined, and removes mark therein
Know, so as to obtain data to be checked.
From the foregoing, it will be observed that the embodiment of the present invention is adopted is divided into multiple initial sheets by data to be stored with predetermined partitioning algorithm
Section;The plurality of initial segment is respectively provided with into mark and file format to obtain multiple target fragments;By the plurality of mesh
Tap section is retained separately at least two store paths;The mark and correspondence store path of each target fragment are preserved,
So as to realize the preservation of significant data, data to be stored are divided into multiple fragments and is preserved to difference respectively due to wherein being adopted
Store path, with improve preserve data safety beneficial effect.
Refer to Fig. 6 and Fig. 7, Fig. 6 be the date storage method in the embodiment of the present invention another kind of flow chart, which is main
Apply in mobile terminal, the method is comprised the following steps:
S201, acquisition algorithm selection instruction.
In step S201, when mobile terminal detects significant data needs to improve the safety for preserving, for example, examine
Bank's card number and password or yardstick are have updated in measuring mobile terminal, and more greatly the inconvenience such as photo is seen by other people
During data, acquisition algorithm selection instruction, the algorithms selection instruction are mainly used in selecting partitioning algorithm, in subsequent step
Data segmentation.In specific implementation process, instruction can be obtained using automatic generating calculation, it is also possible to according to user input
Biological characteristic believes, such as finger print information or acoustic information obtain instruction generating corresponding algorithm.
S202, corresponding predetermined partitioning algorithm is obtained according to algorithms selection instruction.
In step S202, the predetermined partitioning algorithm can be with a fixed partitioning algorithm, or dynamic change
's.For example, when user input be finger print information when, mobile terminal is used as partitioning algorithm using X algorithms, corresponding, rear
When continuous user reads the data, need to be input into corresponding finger print information to cause mobile terminal to select Y corresponding with the X algorithms to calculate
Method come combine segmentation after data.When user input be acoustic information when, dynamic terminal is used as partitioning algorithm using M algorithms,
It is corresponding, when subsequent user reads the data, need to be input into corresponding finger print information to cause mobile terminal to select to calculate with the M
The corresponding N algorithms of method come combine segmentation after data.
S203, data to be stored are divided into by multiple initial segments with predetermined partitioning algorithm.
In step S203, the data to be stored are typically all to be presented with the form of text or picture file
, in order to improve the confidentiality of data, typically can first by the data conversion to be stored into binary form binary file, so
Again the binary file is split afterwards.The picture is first converted into binary form by such as image data.Therefore, specifically
During enforcement, step S203 includes following sub-step:
S2031, by data conversion to be stored into binary file;When a certain data fit predetermined condition is detected, will
Which is set as the data to be stored for needing special storage.For example, the data such as Bank Account Number and password, privacy photo.
S2032, the binary file is divided into by multiple initial segments with predetermined partitioning algorithm.For example, will can be somebody's turn to do
Binary file is divided into six initial segments of A, B, C, D, E and F.
S204, by the plurality of initial segment be respectively provided with mark and file format to obtain multiple target fragments.
In step S204, when implementing step S204, following sub-step can be included:
S2041, mark is respectively provided with to the plurality of initial segment, the mark of each of which initial segment is differed.
During enforcement, to the plurality of initial segment plus mark to distinguish each initial segment, A, B, C, D, E and the F six is initial
Fragment mark-on is respectively six initial segments of A1, B2, C3, D4, E5 and F6 after knowing, and the mark can be added in filename,
The precalculated position that can be added in file.
S2042, to arrange mark after initial segment arrange file format, to obtain multiple target fragments.Wherein, this is more
At least two target fragments in individual target fragment have different file formats.When being embodied as, the plurality of target fragment
File format can be differed, and for example six initial segments are respectively set to PDF, doc forms, JPG forms, DWG
Form, DXF forms and MP3 format, its filename are embodied as A1.PDF, B2.doc, C3.JPG, D4.DWG, E5.DXF
And F6.MP3;It is of course also possible to a part of identical, a part is differed, and for example six initial segments are respectively set to PDF
Form, doc forms, JPG forms, PDF, doc forms, JPG forms.The setting initial segment for referring in the present embodiment
File format refers to the suffix name for changing file, and does not change the intensional data included in this document.
It is to be appreciated that when step S204 is implemented, the lattice file form of the plurality of initial segment first can also be set,
Then know to each initial segment mark-on, so as to obtain target fragment.
S205, the plurality of target fragment is retained separately at least two store paths.
In step S205, the selection of store path can be then more by this using several store paths are randomly selected
Individual target fragment is stored to several store paths, wherein, each store path is at least stored with a target fragment.When
So, it is also possible to preset some store paths, then multiple target fragments are stored separately to some store paths.Can be with
Understand, in the present embodiment, store path can also be chosen using the feature according to target fragment, with preferably by each
Target fragment is hidden.Therefore, step S205 can include following sub-step:
S2051, the store path that correspondence number is chosen according to the species number of the file format of multiple target fragments.Wherein,
Each file format one store path of correspondence, the memory area that the store path is pointed to mainly are stored with this kind of file format
File.For example, the plurality of target fragment is respectively A1.PDF, B2.doc, C3.JPG, D4.DWG, E5.DXF and F6.MP3,
Wherein a total of 6 kinds of file formats, therefore, choose 6 store paths AA, BB, CC, DD, EE, FF.Store path AA correspondences
Memory area in most of file for storing or All Files be all pdf document, in the corresponding memory areas of store path BB
Most of file of storage or All Files are all doc files, the major part stored in the corresponding memory areas of store path CC
File or All Files are all JPG files, the most of file stored in the corresponding memory areas of store path DD or all texts
Part is all DWG file, and the most of file or All Files stored in the corresponding memory areas of store path EE is all DXF literary
Part.The most of file or All Files stored in the corresponding memory areas of store path FF is all mp3 file.
S2052, each target fragment is stored to store path corresponding with its file format.When being embodied as,
The citing in step S1031 is connect, A1.PDF corresponding file is stored into memory area corresponding to store path AA;By B2.doc
Corresponding file stores memory area corresponding to store path BB;C3.doc corresponding file is stored to store path CC pair
The memory area answered;D4.doc corresponding file is stored into memory area corresponding to store path DD;E5.doc is corresponding
File stores memory area corresponding to store path EE;F6.doc corresponding file is stored to store path FF is corresponding and is deposited
Storage area domain.
S206, the mark for preserving each target fragment and correspondence store path.
In step S206, when being embodied as, the mark and corresponding store path of the plurality of target fragment will be first set up
Mapping table, then preserves the mapping table, enters when the mapping table is for file after user inquires about the storage
It is about to the plurality of target fragment combination and reverts to original data to be stored.Also, due to selecting using dynamic in step S202
Select partitioning algorithm to carry out partition data, therefore, in step S206, on the basis of mapping table is preserved, in addition it is also necessary to
Preserve the algorithm mark of partitioning algorithm.
From the foregoing, it will be observed that the embodiment of the present invention is adopted is divided into multiple initial sheets by data to be stored with predetermined partitioning algorithm
Section;The plurality of initial segment is respectively provided with into mark and file format to obtain multiple target fragments;By the plurality of mesh
Tap section is retained separately at least two store paths;The mark and correspondence store path of each target fragment are preserved,
So as to realize the preservation of significant data, data to be stored are divided into multiple fragments and is preserved to difference respectively due to wherein being adopted
Store path, with improve preserve data safety beneficial effect.
Refer to Fig. 8, Fig. 8 is a kind of structure chart of the data storage device 300 in the embodiment of the present invention, and which mainly uses
In mobile terminal, the data storage device 300 includes:Acquisition module 301, selecting module 302, segmentation module 303, setting mould
Block 304, the first memory module 305 and the second memory module 306.
Wherein, acquisition module 301 is used for acquisition algorithm selection instruction.Need to improve when mobile terminal detects significant data
During the safety of preservation, such as in detecting mobile terminal, have updated larger photo of bank's card number and password or yardstick etc.
During the data that inconvenience is seen by other people, 301 acquisition algorithm selection instruction of acquisition module.The algorithms selection instruction is mainly used in
To select partitioning algorithm, split for the data in subsequent treatment.In specific implementation process, can adopt and automatically generate calculation
Method obtains instruction, it is also possible to believe that such as finger print information or acoustic information are corresponding to generate according to the biological characteristic of user input
Algorithm obtains instruction.
Wherein, the selecting module 302 is for according to the corresponding predetermined partitioning algorithm of algorithms selection instruction acquisition.This is pre-
Determining partitioning algorithm can be with a fixed partitioning algorithm, or dynamic change.For example, when user input be fingerprint letter
During breath, mobile terminal is used as partitioning algorithm using X algorithms, corresponding, when subsequent user reads the data, needs input right
The finger print information answered combines the data after segmentation to cause mobile terminal selection Y algorithms corresponding with the X algorithms.When user it is defeated
Enter be acoustic information when, dynamic terminal is used as partitioning algorithm using M algorithms, corresponding, when subsequent user reads the data,
Need to be input into corresponding finger print information come so that mobile terminal selects N algorithms corresponding with the M algorithms to combine the number after segmentation
According to.
Wherein, the segmentation module 303 is for being divided into multiple initial segments by data to be stored with predetermined partitioning algorithm.Should
Data to be stored are typically all to be presented with the form of text or picture file, in order to improve the confidentiality of data, one
As then again the binary file can be carried out point first by the data conversion to be stored into the binary file of binary form
Cut.The picture is first converted into binary form by such as image data.Therefore, the segmentation module 303 can include converting unit
3031 and cutting unit 3032.
The converting unit 3031 for by data conversion to be stored into binary file.
The cutting unit 3032 is for being divided into multiple initial segments by the binary file with predetermined partitioning algorithm.Example
Such as, the binary file can be divided into six initial segments of A, B, C, D, E and F.
Wherein, the setup module 304 for by multiple initial segments be respectively provided with mark and file format it is many to obtain
Individual target fragment.The setup module 304 includes the first setting unit 3041 and the second setting unit 3042.
First setting unit 3041 is for being respectively provided with mark to the plurality of initial segment, initial described in each of which
The mark of fragment is differed.During enforcement, the first setting unit 3041 is each to distinguish this plus mark to the plurality of initial segment
Individual initial segment, six initial segment mark-ons of A, B, C, D, E and the F are respectively A1, B2, C3, D4, E5 and F6 six after knowing
Initial segment, the mark can be added in filename, it is also possible to the precalculated position being added in file.
Second setting unit 3042 is used to arrange file format to the initial segment arranged after mark, to obtain multiple targets
Fragment;Wherein, at least two target fragments in the plurality of target fragment have different file formats.Wherein, it is the plurality of
At least two target fragments in target fragment have different file formats.When being embodied as, the text of the plurality of target fragment
Part form can be differed, and for example six initial segments are respectively set to PDF, doc forms, JPG forms, DWG lattice
Formula, DXF forms and MP3 format, its filename be embodied as A1.PDF, B2.doc, C3.JPG, D4.DWG, E5.DXF with
And F6.MP3;It is of course also possible to a part of identical, a part is differed, and for example six initial segments are respectively set to PDF lattice
Formula, doc forms, JPG forms, PDF, doc forms, JPG forms.The text of the setting initial segment for referring in the present embodiment
Part form refers to the suffix name for changing file, and does not change the intensional data included in this document.
It is to be appreciated that the setup module can also first arrange the lattice file form of the plurality of initial segment, then giving
Each initial segment mark-on is known, so as to obtain target fragment.
Wherein, first memory module 305 is used for the mark for preserving each target fragment and correspondence store path.
When first memory module 305 chooses store path, several store paths can be randomly selected adopting, then will be the plurality of
Target fragment is stored to several store paths, wherein, each store path is at least stored with a target fragment.Certainly,
First memory module 305 can also preset some store paths, then be stored separately multiple target fragments some to this
Store path.It should be understood that in the present embodiment, store path can also be chosen using the feature according to target fragment,
So that preferably each target fragment to be hidden.
First memory module 305 includes acquiring unit 3051 and memory element 3052.Wherein, the acquiring unit 3051
Species number for the file format according to multiple target fragments chooses the store path of correspondence number.Wherein, each file
Form one store path of correspondence, the memory area that the store path is pointed to mainly are stored with the file of this kind of file format.Example
Such as, the plurality of target fragment is respectively A1.PDF, B2.doc, C3.JPG, D4.DWG, E5.DXF and F6.MP3, wherein altogether
There are 6 kinds of file formats, therefore, choose 6 store paths AA, BB, CC, DD, EE, FF.The corresponding memory blocks of store path AA
The most of file stored in domain or All Files are all pdf documents, and what is stored in the corresponding memory areas of store path BB is big
Partial document or All Files are all doc files, the most of file stored in the corresponding memory areas of store path CC or institute
There is file to be all JPG files, the most of file or All Files stored in the corresponding memory areas of store path DD is all DWG
File, the most of file or All Files stored in the corresponding memory areas of store path EE is all DXF files.Store path
The most of file or All Files stored in the corresponding memory areas of FF is all mp3 file.
Memory element 3052 is for each target fragment is stored to store path corresponding with its file format.Example
Such as, A1.PDF corresponding file is stored memory area corresponding to store path AA by memory element 3052;By B2.doc correspondences
File store memory area corresponding to store path BB;C3.doc corresponding file is stored into corresponding to store path CC
Memory area;D4.doc corresponding file is stored into memory area corresponding to store path DD;By E5.doc corresponding file
Store memory area corresponding to store path EE;F6.doc corresponding file is stored into memory block corresponding to store path FF
Domain.
Second memory module 306 is used for the mark for preserving each target fragment and correspondence store path.Specifically
During enforcement, second memory module 306 will first set up the mark of the plurality of target fragment and the mapping relations of corresponding store path
Table, then preserves the mapping table, enters to be about to this many when the mapping table is for file after user inquires about the storage
Individual target fragment combination reverts to original data to be stored.
From the foregoing, it will be observed that the embodiment of the present invention is more to be divided into data to be stored with predetermined partitioning algorithm by splitting module
Individual initial segment;The plurality of initial segment is respectively provided with mark and file format to obtain multiple target patch by setup module
Section;First memory module is retained separately the plurality of target fragment at least two store paths;Second memory module is preserved
The mark and correspondence store path of each target fragment;So as to the safe storage for realizing significant data is stored up, due to wherein
Using data to be stored being divided into multiple fragments and being preserved to different store paths respectively, with the data for improving preservation
The beneficial effect of safety.
Refer to Fig. 9, Fig. 9 is the structure chart of the mobile terminal in one embodiment of the invention.The mobile terminal can include
Radio frequency (RF, Radio Frequency) circuit 401, the storage for including one or more computer-readable recording mediums
Device 402, input block 403, display unit 404, sensor 405, voicefrequency circuit 406, Wireless Fidelity (WiFi, Wireless
Fidelity) module 407, include the parts such as the processor 408 of or more than one processing core.People in the art
Member it is appreciated that in Fig. 9 the terminal structure that illustrates not structure paired terminal restriction, can include more more or less of than illustrating
Part, or some parts are combined, or different part arrangements.Wherein:
RF circuits 401 can be used to receiving and sending messages or communication process in, the reception and transmission of signal, especially, by base station
After downlink information is received, transfer to one or more than one processor 408 is processed.
Input block 403 can be used for the numeral or character information of receives input, and produce and user's setting and function
The relevant keyboard of control, mouse, action bars, optics or trace ball signal input.
Display unit 404 can be used for show by user input information or be supplied to user information and terminal it is various
Graphical user interface, these graphical user interface can be made up of figure, text, icon, video and its combination in any.
Voicefrequency circuit 406, speaker, microphone can provide the audio interface between user and terminal.Voicefrequency circuit 406 can
The signal of telecommunication after the voice data for receiving is changed, is transferred to speaker, is converted to acoustical signal output by speaker;It is another
The acoustical signal of collection is converted to the signal of telecommunication by aspect, microphone, and voice data is converted to after being received by voicefrequency circuit 406, then
After voice data output processor 408 is processed, Jing RF circuits 401 being sent to such as another terminal, or by voice data
Export to memorizer 402 further to process.
WiFi belongs to short range wireless transmission technology, and terminal can help user's transceiver electronicses postal by WiFi module 407
Part, browse webpage and access streaming video etc., it has provided the user wireless broadband internet and has accessed.Although Fig. 9 shows
WiFi module 407, but it is understood that, which is simultaneously not belonging to must be configured into for mobile terminal, can exist as needed completely
Omit in the scope of the essence for not changing invention.
Memorizer 402 can be used to store software program and module, and processor 408 is stored in memorizer 402 by operation
Software program and module, so as to perform various function application and data processing.Memorizer 402 is stored with executable program
Code.
408 balance reservoir of processor is coupled, the executable program code that processor 408 is stored in calling the memorizer,
Perform the date storage method in above-described embodiment.So as to realize following functions:
Data to be stored are divided into by multiple initial segments with predetermined partitioning algorithm;
The plurality of initial segment is respectively provided with into mark and file format to obtain multiple target fragments;
The plurality of target fragment is retained separately at least two store paths;
Preserve the mark and correspondence store path of each target fragment.
From the foregoing, it will be observed that the embodiment of the present invention is adopted is divided into multiple initial sheets by data to be stored with predetermined partitioning algorithm
Section;The plurality of initial segment is respectively provided with into mark and file format to obtain multiple target fragments;By the plurality of mesh
Tap section is retained separately at least two store paths;The mark and correspondence store path of each target fragment are preserved,
So as to realize the preservation of significant data, data to be stored are divided into multiple fragments and is preserved to difference respectively due to wherein being adopted
Store path, with improve preserve data safety beneficial effect.
There is provided herein the various operations of embodiment.In one embodiment, one or more described operations can be with structure
The computer-readable instruction stored on one or more computer-readable mediums, which will make to succeed in one's scheme when being performed by electronic equipment
Calculation equipment performs the operation.Describing the order of some or all of operations, to should not be construed as to imply that these operations necessarily suitable
Sequence correlation.It will be appreciated by those skilled in the art that the alternative sequence of the benefit with this specification.Furthermore, it is to be understood that
Not all operation must be present in each embodiment provided in this article.
And, word " preferred " used herein means serving as example, example or illustration.Feng Wen is described as " preferably
" any aspect or design be not necessarily to be construed as than in terms of other or design it is more favourable.Conversely, the use purport of word " preferred "
Concept is being proposed in a concrete fashion.As used in this application term "or" is intended to mean the "or" for including and non-excluded
"or".I.e., unless otherwise or clear from the context, " X is using A or B " means that nature includes any one of arrangement.
That is, if X uses A;X uses B;Or X uses A and B both, then " X is using A or B " is met in aforementioned any example.
And, although illustrating and describing the disclosure, this area skill relative to one or more implementations
Art personnel are based on the reading to the specification and drawings and understand it will be appreciated that equivalent variations and modification.The disclosure include it is all this
The modification of sample and modification, and be limited only by the scope of the following claims.Particularly with by said modules (such as element,
Resource etc.) various functions that perform, the term for describing such component is intended to corresponding to the specified work(for performing the component
The random component (unless otherwise instructed) of energy (for example which is functionally of equal value), even if illustrated herein with execution in structure
The disclosure exemplary implementations in the open structure of function be not equal to.Although additionally, the special characteristic of the disclosure is
Jing is disclosed relative to the only one in some implementations, but this feature can be to given or application-specific with such as
For be expect and other favourable implementations one or more other combinations of features.And, with regard to term " including ", " tool
Have ", " containing " or its deformation be used in specific embodiment or claim for, such term be intended to with term
The similar mode of "comprising" includes.
During each functional unit in the embodiment of the present invention can be integrated in a processing module, or unit list
Solely it is physically present, it is also possible to which two or more units are integrated in a module.Above-mentioned integrated module can both be adopted
The form of hardware is realized, it would however also be possible to employ the form of software function module is realized.If the integrated module is with software function
The form of module is realized and as when independent production marketing or use, it is also possible to is stored in an embodied on computer readable storage and is situated between
In matter.Storage medium mentioned above can be read only memory, disk or CD etc..Above-mentioned each device or system, can be with
Perform the method in correlation method embodiment.
In sum, although the present invention it is disclosed above with preferred embodiment, but above preferred embodiment and be not used to limit
The system present invention, one of ordinary skill in the art without departing from the spirit and scope of the present invention, can make various changes and profit
Adorn, therefore protection scope of the present invention is defined by the scope that claim is defined.
Claims (11)
1. a kind of date storage method, it is characterised in that comprise the following steps:
Data to be stored are divided into by multiple initial segments with predetermined partitioning algorithm;
The plurality of initial segment is respectively provided with into mark and file format to obtain multiple target fragments;
The plurality of target fragment is retained separately at least two store paths;
Preserve the mark and correspondence store path of each target fragment.
2. date storage method according to claim 1, it is characterised in that it is described with predetermined partitioning algorithm by number to be stored
Include according to the step of being divided into multiple initial segments:
By data conversion to be stored into binary file;
The binary file is divided into by multiple initial segments with predetermined partitioning algorithm.
3. date storage method according to claim 1, it is characterised in that it is described with predetermined partitioning algorithm by number to be stored
According to also including before the step of being divided into multiple initial segments:
Acquisition algorithm selection instruction;
Corresponding predetermined partitioning algorithm is obtained according to algorithms selection instruction.
4. date storage method according to claim 1, it is characterised in that described that the plurality of initial segment is set respectively
The step of mark and file format are put to obtain multiple target fragments includes:
Mark is respectively provided with to the plurality of initial segment, the mark of initial segment is differed described in each of which;
File format is set to the initial segment arranged after mark, to obtain multiple target fragments;Wherein, the plurality of target patch
At least two target fragments in section have different file formats.
5. date storage method according to claim 4, it is characterised in that described that the plurality of target fragment is separately protected
The step of depositing at least two store paths includes:
The store path of correspondence number is chosen according to the species number of the file format of multiple target fragments;
Each target fragment is stored to store path corresponding with its file format.
6. a kind of data storage device, it is characterised in that include:
Segmentation module, for data to be stored are divided into multiple initial segments with predetermined partitioning algorithm;
Setup module, for the plurality of initial segment is respectively provided with mark and file format to obtain multiple target patch
Section;
First memory module, for the plurality of target fragment is retained separately at least two store paths;
Second memory module, for preserving the mark and correspondence store path of each target fragment.
7. data storage device according to claim 6, it is characterised in that the segmentation module includes:
Converting unit, for by data conversion to be stored into binary file;
Cutting unit, for the binary file is divided into multiple initial segments with predetermined partitioning algorithm.
8. data storage device according to claim 6, it is characterised in that also include:
Acquisition module, for acquisition algorithm selection instruction;
Selecting module, for obtaining corresponding predetermined partitioning algorithm according to algorithms selection instruction.
9. data storage device according to claim 6, it is characterised in that the setup module includes:
First setting unit, for being respectively provided with mark to the plurality of initial segment, the mark of initial segment described in each of which
Knowledge is differed;
Second setting unit, for arranging file format to the initial segment arranged after mark, to obtain multiple target fragments;Its
In, at least two target fragments in the plurality of target fragment have different file formats.
10. data storage device according to claim 6, it is characterised in that first memory module includes:
Acquiring unit, the species number for the file format according to multiple target fragments choose the store path of correspondence number;
Memory element, for each target fragment is stored to store path corresponding with its file format.
11. a kind of mobile terminals, it is characterised in that include:
Be stored with the memorizer of executable program code;
The processor coupled with the memorizer;
The executable program code that the processor is stored in calling the memorizer, performs if claim 1 is to right
Require the date storage method described in 5 any one.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201611089070.4A CN106557706B (en) | 2016-11-30 | 2016-11-30 | Date storage method, device and mobile terminal |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201611089070.4A CN106557706B (en) | 2016-11-30 | 2016-11-30 | Date storage method, device and mobile terminal |
Publications (2)
Publication Number | Publication Date |
---|---|
CN106557706A true CN106557706A (en) | 2017-04-05 |
CN106557706B CN106557706B (en) | 2019-09-13 |
Family
ID=58445497
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201611089070.4A Active CN106557706B (en) | 2016-11-30 | 2016-11-30 | Date storage method, device and mobile terminal |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106557706B (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107977581A (en) * | 2017-11-06 | 2018-05-01 | 北京明华联盟科技有限公司 | Data processing method, device and computer-readable recording medium |
CN109543463A (en) * | 2018-10-11 | 2019-03-29 | 平安科技(深圳)有限公司 | Data Access Security method, apparatus, computer equipment and storage medium |
CN113378202A (en) * | 2021-06-29 | 2021-09-10 | 湖南盈聚信息技术有限公司 | Multi-dimensional data security storage system based on big data |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102801784A (en) * | 2012-07-03 | 2012-11-28 | 华为技术有限公司 | Distributed type data storing method and equipment |
CN103729470A (en) * | 2014-01-20 | 2014-04-16 | 刘强 | Secure storage method based on different cloud storage ends |
CN104809753A (en) * | 2015-04-03 | 2015-07-29 | 深圳市金立通信设备有限公司 | File treatment method |
CN105100146A (en) * | 2014-05-07 | 2015-11-25 | 腾讯科技(深圳)有限公司 | Data storage method, device and system |
CN106101291A (en) * | 2016-08-26 | 2016-11-09 | 苏州蓝海彤翔系统科技有限公司 | A kind of transmit the method for file, system, server and client |
-
2016
- 2016-11-30 CN CN201611089070.4A patent/CN106557706B/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102801784A (en) * | 2012-07-03 | 2012-11-28 | 华为技术有限公司 | Distributed type data storing method and equipment |
CN103729470A (en) * | 2014-01-20 | 2014-04-16 | 刘强 | Secure storage method based on different cloud storage ends |
CN105100146A (en) * | 2014-05-07 | 2015-11-25 | 腾讯科技(深圳)有限公司 | Data storage method, device and system |
CN104809753A (en) * | 2015-04-03 | 2015-07-29 | 深圳市金立通信设备有限公司 | File treatment method |
CN106101291A (en) * | 2016-08-26 | 2016-11-09 | 苏州蓝海彤翔系统科技有限公司 | A kind of transmit the method for file, system, server and client |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107977581A (en) * | 2017-11-06 | 2018-05-01 | 北京明华联盟科技有限公司 | Data processing method, device and computer-readable recording medium |
CN109543463A (en) * | 2018-10-11 | 2019-03-29 | 平安科技(深圳)有限公司 | Data Access Security method, apparatus, computer equipment and storage medium |
CN109543463B (en) * | 2018-10-11 | 2023-12-22 | 平安科技(深圳)有限公司 | Data security access method, device, computer equipment and storage medium |
CN113378202A (en) * | 2021-06-29 | 2021-09-10 | 湖南盈聚信息技术有限公司 | Multi-dimensional data security storage system based on big data |
CN113378202B (en) * | 2021-06-29 | 2022-05-03 | 湖南盈聚信息技术有限公司 | Multi-dimensional data security storage system based on big data |
Also Published As
Publication number | Publication date |
---|---|
CN106557706B (en) | 2019-09-13 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN102713904B (en) | The method and apparatus utilizing scalable data structure | |
KR101497386B1 (en) | Encryption using real-world objects | |
US9130972B2 (en) | Systems and methods for efficient detection of fingerprinted data and information | |
CN107609186A (en) | Information processing method and device, terminal device and computer-readable recording medium | |
CN103885987B (en) | A kind of music recommends method and system | |
EP2753026A1 (en) | Method, apparatus and storage medium for adding friends in social network | |
CN103617267B (en) | Socialized extension search method, device and system | |
CN101287214A (en) | Method and system for acquiring information by mobile terminal and applying the same | |
US9141588B2 (en) | Communication using handwritten input | |
CN107657045A (en) | Information collection method, mobile terminal and computer-readable recording medium | |
CN107391587A (en) | Link is shared and access method, server, terminal and computer-readable storage medium | |
CN106557706A (en) | Date storage method, device and mobile terminal | |
CN114973351B (en) | Face recognition method, device, equipment and storage medium | |
CN112035728B (en) | Cross-modal retrieval method and device and readable storage medium | |
CN113079123A (en) | Malicious website detection method and device and electronic equipment | |
CN105408894A (en) | Method and device for determining user identity category | |
CN107483698A (en) | A kind of contact management method, mobile terminal and storage medium | |
US9544252B2 (en) | Compressing and decompressing electronic messages in message threads | |
CN109871685B (en) | RTF file analysis method and device | |
CN106778295A (en) | File storage, display methods, device and terminal | |
CN109981755A (en) | Image-recognizing method, device and electronic equipment | |
CN101673172A (en) | Data synergism method and mobile communication terminal | |
Wiśniewska-Grabarczyk | The censorship review in the Polish People’s Republic as cryptotext | |
CN107870985A (en) | A kind of method, server and computer-readable recording medium for retrieving information | |
CN107145488A (en) | The method and apparatus of data item is chosen in a kind of record results page |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
CB02 | Change of applicant information |
Address after: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18 Applicant after: OPPO Guangdong Mobile Communications Co., Ltd. Address before: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18 Applicant before: Guangdong OPPO Mobile Communications Co., Ltd. |
|
CB02 | Change of applicant information | ||
GR01 | Patent grant | ||
GR01 | Patent grant |