CN106557706B - Date storage method, device and mobile terminal - Google Patents

Date storage method, device and mobile terminal Download PDF

Info

Publication number
CN106557706B
CN106557706B CN201611089070.4A CN201611089070A CN106557706B CN 106557706 B CN106557706 B CN 106557706B CN 201611089070 A CN201611089070 A CN 201611089070A CN 106557706 B CN106557706 B CN 106557706B
Authority
CN
China
Prior art keywords
stored
file
data
mark
target fragment
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
CN201611089070.4A
Other languages
Chinese (zh)
Other versions
CN106557706A (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.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp 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 Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN201611089070.4A priority Critical patent/CN106557706B/en
Publication of CN106557706A publication Critical patent/CN106557706A/en
Application granted granted Critical
Publication of CN106557706B publication Critical patent/CN106557706B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/60Protecting data
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/60Protecting data
    • G06F21/604Tools 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 is comprising steps of be divided into multiple initial segments for data to be stored with predetermined partitioning algorithm;Mark and file format is respectively set to obtain multiple target fragments in the multiple initial segment;The multiple target fragment is retained separately at least two store paths;It saves the mark of each target fragment and corresponds to store path.The present invention is by using being divided into multiple segments for data to be stored and saved respectively to different store paths, so that illegal user is difficult to get all segments of the data to be stored to crack out the data to be stored, thus promote the safety of end message.

Description

Date storage method, device and mobile terminal
Technical field
The present invention relates to the communications fields, more particularly to a kind of date storage method, device and mobile terminal.
Background technique
With the development of terminal technology, user is higher and higher to the degree of dependence of the terminals such as smart phone, 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, short messages.
On the other hand, due to the portability of terminal, user usually carries terminal.And user's portable terminal When, there is a situation where storage equipment (such as storage card) loss in loss or terminal to happen occasionally for terminal.Once terminal or Storage device losses in terminal, the information of user's storage is easy to be known by other people, so that user privacy information be caused to reveal.
The information that current terminal can not store user effectively protects, and influences the information security of mobile terminal Property.
Summary of the invention
The embodiment of the present invention provides a kind of date storage method, device and mobile terminal, and the letter of mobile terminal can be improved Cease safety.
The embodiment of the present invention provides a kind of date storage method, comprising the following steps:
Data to be stored is divided into multiple initial segments with predetermined partitioning algorithm;
Mark and file format is respectively set to obtain multiple target fragments in the multiple initial segment;
The multiple target fragment is retained separately at least two store paths;
It saves the mark of each target fragment and corresponds to store path.
The embodiment of the present invention provides a kind of data storage device, comprising:
Divide module, for data to be stored to be divided into multiple initial segments with predetermined partitioning algorithm;
Setup module, for mark and file format to be respectively set to obtain multiple targets in the multiple initial segment Segment;
First memory module, for being retained separately the multiple target fragment at least two store paths;
Second memory module, for saving the mark of each target fragment and corresponding to store path.
The embodiment of the present invention provides a kind of mobile terminal, comprising:
It is stored with the memory of executable program code;
The processor coupled with the memory;
The processor calls the executable program code stored in the memory, execute as claim 1 to The described in any item date storage methods of claim 5.
The embodiment of the present invention, which is used, is divided into multiple initial segments for data to be stored with predetermined partitioning algorithm;It will be described more Mark and file format is respectively set to obtain multiple target fragments in a initial segment;The multiple target fragment is separately protected It deposits at least two store paths;It saves the mark of each target fragment and corresponds to store path, to realize important The preservation of data, since wherein data to be stored is divided into multiple segments and is saved respectively to different store paths by use, Beneficial effect with the safety for improving the data saved.
Detailed description of the invention
Fig. 1 is a kind of flow chart of the date storage method in one embodiment of the present invention.
Fig. 2 is another flow chart of the date storage method in one embodiment of the present invention.
Fig. 3 is a kind of scene figure of the date storage method in one embodiment of the present invention.
Fig. 4 is another scene figure of the date storage method in one embodiment of the present invention.
Fig. 5 is another scene figure of the date storage method in one embodiment of the present invention.
Fig. 6 is another flow chart of the date storage method in one embodiment of the present invention.
Fig. 7 is another flow chart of the date storage method in one embodiment of the present invention.
Fig. 8 is the structure chart of the data storage device in one embodiment of the present invention.
Fig. 9 is the structure chart of the mobile terminal in one embodiment of the present invention.
Specific embodiment
Schema is please referred to, wherein identical component symbol represents identical component, the principle of the present invention is to implement one It is illustrated in computing environment appropriate.The following description be based on illustrated by the specific embodiment of the invention, should not be by It is considered as the limitation present invention other specific embodiments not detailed herein.
In the following description, specific embodiments of the present invention will refer to the operation as performed by one or multi-section computer The step of and symbol illustrate, unless otherwise stating clearly.Therefore, these steps and operation be will appreciate that, mentioned for several times wherein having It include by representing with the computer disposal list of the electronic signal of the data in a structuring pattern to be executed by computer Member is manipulated.At this manipulation transforms data or the position being maintained in the memory system of the computer, it can match again Set or in addition change in a manner familiar to those skilled in the art the running of the computer.The maintained data knot of the data Structure is the provider location of the memory, has the specific feature as defined in the data format.But the principle of the invention is with above-mentioned Text illustrates, is not represented as a kind of limitation, those skilled in the art will appreciate that plurality of step as described below and Operation also may be implemented in hardware.
In an embodiment of the present invention, which is mainly used in the mobile terminals such as mobile phone, IPAD.With Method and device involved in lower will be described from the angle of mobile terminal, which specifically can integrate Such as tablet computer, in the terminals such as mobile phone.
Fig. 1 to Fig. 5 is please referred to, Fig. 1 is a kind of flow chart of the date storage method in the embodiment of the present invention, is mainly answered For in mobile terminal, method includes the following steps:
S101, data to be stored is divided by multiple initial segments with predetermined partitioning algorithm.
In step S101, which is typically all with the presentation of the format of text file or picture file , in order to improve the confidentiality of data, which generally can be first converted into the binary file of binary form, so The binary file is split again afterwards.Therefore, when it is implemented, step S101 includes following sub-step:
S1011, data to be stored is converted into binary file;It, will when detecting a certain data fit predetermined condition It 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 by multiple initial segments with predetermined partitioning algorithm.For example, can should Binary file is divided into six initial segments of A, B, C, D, E and F.
S102, mark and file format is respectively set in the multiple initial segment to obtain multiple target fragments.
May include following sub-step when implementing step S102 in step S102:
S1021, mark is respectively set to the multiple initial segment, wherein the mark of each initial segment is all different. When implementation, to multiple initial segment plus mark to distinguish each initial segment, A, B, C, D, E and the F six initial Segment mark-on is respectively six initial segments of A1, B2, C3, D4, E5 and F6 after knowing, which can be added in filename, The predetermined position in file can be added in.
S1022, file format is set to the initial segment after setting mark, to obtain multiple target fragments.Wherein, this is more At least two target fragments in a target fragment have different file formats.When it is implemented, multiple target fragment File format can be all different, such as six initial segments are respectively set to PDF format, doc format, JPG format, DWG Format, DXF format and MP3 format, 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 not identical, such as six initial segments are respectively set to PDF Format, doc format, JPG format, PDF format, doc format, JPG format.The setting initial segment referred in the present embodiment File format refers to the suffix name of modification file, and does not modify the intensional data for being included in this document.
It is to be appreciated that the lattice file format of multiple initial segment can also be first set when implementing step S102, Then know to each initial segment mark-on, to obtain target fragment.
S103, the multiple target fragment is retained separately at least two store paths.In step s 103, road is stored Then the selection of diameter can be stored multiple 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 several store paths are preset, Then multiple target fragments are stored separately to several store paths.It should be understood that in the present embodiment, can also use Store path is chosen according to the feature of target fragment, preferably to hide each target fragment.Therefore, step S103 can To include following sub-step:
S1031, the store path that corresponding number is chosen according to the species number of the file format of multiple target fragments.Wherein, Each file format corresponds to a store path, and the storage region which is directed toward mainly is stored with this kind of file format File.For example, multiple target fragment is respectively A1.PDF, B2.doc, C3.JPG, D4.DWG, E5.DXF and F6.MP3, Therefore wherein a total of 6 kinds of file formats choose 6 store paths AA, BB, CC, DD, EE, FF.
The most of file or All Files stored in the corresponding storage region of store path AA is all pdf document, is deposited The most of file or All Files stored in the corresponding storage region of storage path BB is all doc file, and store path CC is corresponding Storage region in most of file for storing or All Files be all JPG file, in the corresponding storage region of store path DD The most of file or All Files of storage are all DWG file, the major part stored in the corresponding storage region of store path EE File or All Files are all DXF files.The most of file or all texts stored in the corresponding storage region of store path FF Part is all mp3 file.
S1032, each target fragment is stored to store path corresponding with its file format.When it is implemented, The citing in step S1031 is connect, the corresponding file of A1.PDF is stored into storage region corresponding to store path AA;By B2.doc Corresponding file stores storage region corresponding to store path BB;The corresponding file of C3.doc is stored to CC pairs of store path The storage region answered;The corresponding file of D4.doc is stored into storage region corresponding to store path DD;E5.doc is corresponding File stores storage region corresponding to store path EE;The corresponding file of F6.doc is stored to store path FF is corresponding and is deposited Storage area domain.
S104, the mark for saving each target fragment and corresponding store path.
In step S104, when it is implemented, will first establish identifying and corresponding store path for multiple target fragment Then mapping table saves the mapping table, when the mapping table is for file after the user query storage into It is about to multiple target fragment combination and reverts to original data to be stored.
When user wants to check the data saved through the above way, step is got according to the data name to be checked The multiple target fragments established in S104 identify and the mapping table of corresponding store path.Then according to the mapping table In each target fragment mark and store path, obtain multiple target fragment.Get multiple target fragment it Afterwards, using combinational algorithm corresponding with predetermined partitioning algorithm, multiple target fragment is combined, and removes mark therein Know, to obtain the data to be checked.
From the foregoing, it will be observed that the embodiment of the present invention, which is used, is divided into multiple initial sheets for data to be stored with predetermined partitioning algorithm Section;Mark and file format is respectively set to obtain multiple target fragments in the multiple initial segment;By the multiple mesh Standard film section is retained separately at least two store paths;It saves the mark of each target fragment and corresponds to store path, To realize the preservation of significant data, since wherein data to be stored is divided into multiple segments and is saved respectively to difference by use Store path, have improve save data safety beneficial effect.
Fig. 6 and Fig. 7 are please referred to, Fig. 6 is another flow chart of the date storage method in the embodiment of the present invention, main Apply in mobile terminal, method includes the following steps:
S201, acquisition algorithm selection instruction.
In step S201, when mobile terminal detects that significant data needs to improve the safety saved, such as examine It measures and has updated what bank's card number and password or scale were seen compared with the inconvenience such as greatly photo by other people in mobile terminal When data, acquisition algorithm selection instruction, algorithms selection instruction is mainly used for select partitioning algorithm, in subsequent step Data segmentation.In the specific implementation process, automatic generating calculation acquisition instruction can be used, can also be inputted according to user Biological characteristic letter, such as finger print information or acoustic information generate corresponding algorithm acquisition instruction.
S202, corresponding predetermined partitioning algorithm is obtained according to algorithms selection instruction.
In step S202, which can be also possible to dynamic change with a fixed partitioning algorithm 's.For example, when user's input be finger print information when, mobile terminal using X algorithm as partitioning algorithm, it is corresponding, rear When continuous user reads the data, needs to input corresponding finger print information and come so that mobile terminal selects Y corresponding with the X algorithm to calculate Method come combine segmentation after data.When user's input be acoustic information when, move terminal using M algorithm as partitioning algorithm, It is corresponding, when subsequent user reads the data, needs to input corresponding finger print information and come so that mobile terminal selection is calculated with the M The corresponding N algorithm of method come combine segmentation after data.
S203, data to be stored is divided by multiple initial segments with predetermined partitioning algorithm.
In step S203, which is typically all with the presentation of the format of text file or picture file , in order to improve the confidentiality of data, which generally can be first converted into the binary file of binary form, so The binary file is split again afterwards.Such as image data, the picture is first converted into binary form.Therefore, specifically When implementation, step S203 includes following sub-step:
S2031, data to be stored is converted into binary file;It, will when detecting a certain data fit predetermined condition It 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 by multiple initial segments with predetermined partitioning algorithm.For example, can should Binary file is divided into six initial segments of A, B, C, D, E and F.
S204, mark and file format is respectively set in the multiple initial segment to obtain multiple target fragments.
May include following sub-step when implementing step S204 in step S204:
S2041, mark is respectively set to the multiple initial segment, wherein the mark of each initial segment is all different. When implementation, to multiple initial segment plus mark to distinguish each initial segment, A, B, C, D, E and the F six initial Segment mark-on is respectively six initial segments of A1, B2, C3, D4, E5 and F6 after knowing, which can be added in filename, The predetermined position in file can be added in.
S2042, file format is set to the initial segment after setting mark, to obtain multiple target fragments.Wherein, this is more At least two target fragments in a target fragment have different file formats.When it is implemented, multiple target fragment File format can be all different, such as six initial segments are respectively set to PDF format, doc format, JPG format, DWG Format, DXF format and MP3 format, 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 not identical, such as six initial segments are respectively set to PDF Format, doc format, JPG format, PDF format, doc format, JPG format.The setting initial segment referred in the present embodiment File format refers to the suffix name of modification file, and does not modify the intensional data for being included in this document.
It is to be appreciated that the lattice file format of multiple initial segment can also be first set when implementing step S204, Then know to each initial segment mark-on, to obtain target fragment.
S205, the multiple target fragment is retained separately at least two store paths.
In step S205, the selection of store path, which can use, randomly selects several store paths, then that this is more A target fragment is stored to several store paths, wherein each store path is at least stored with a target fragment.When So, several store paths can also be preset, then multiple target fragments are stored separately to several store paths.It can be with Understand, it in the present embodiment, can also be using according to the feature of target fragment choosing store path, with preferably will be each Target fragment is hidden.Therefore, step S205 may include following sub-step:
S2051, the store path that corresponding number is chosen according to the species number of the file format of multiple target fragments.Wherein, Each file format corresponds to a store path, and the storage region which is directed toward mainly is stored with this kind of file format File.For example, multiple target fragment is respectively A1.PDF, B2.doc, C3.JPG, D4.DWG, E5.DXF and F6.MP3, Therefore wherein a total of 6 kinds of file formats choose 6 store paths AA, BB, CC, DD, EE, FF.Store path AA is corresponding Storage region in most of file for storing or All Files be all pdf document, in the corresponding storage region of store path BB The most of file or All Files of storage are all doc file, the major part stored in the corresponding storage region of store path CC File or All Files are all JPG files, the most of file or all texts stored in the corresponding storage region of store path DD Part is all DWG file, and the most of file or All Files stored in the corresponding storage region of store path EE is all DXF text Part.The most of file or All Files stored in the corresponding storage region of store path FF is all mp3 file.
S2052, each target fragment is stored to store path corresponding with its file format.When it is implemented, The citing in step S1031 is connect, the corresponding file of A1.PDF is stored into storage region corresponding to store path AA;By B2.doc Corresponding file stores storage region corresponding to store path BB;The corresponding file of C3.doc is stored to CC pairs of store path The storage region answered;The corresponding file of D4.doc is stored into storage region corresponding to store path DD;E5.doc is corresponding File stores storage region corresponding to store path EE;The corresponding file of F6.doc is stored to store path FF is corresponding and is deposited Storage area domain.
S206, the mark for saving each target fragment and corresponding store path.
In step S206, when it is implemented, will first establish identifying and corresponding store path for multiple target fragment Then mapping table saves the mapping table, when the mapping table is for file after the user query storage into It is about to multiple target fragment combination and reverts to original data to be stored.Also, since selection uses dynamic in step S202 Partitioning algorithm is selected to be split data, therefore, in step S206, on the basis of saving mapping table, it is also necessary to Save the algorithm mark of partitioning algorithm.
From the foregoing, it will be observed that the embodiment of the present invention, which is used, is divided into multiple initial sheets for data to be stored with predetermined partitioning algorithm Section;Mark and file format is respectively set to obtain multiple target fragments in the multiple initial segment;By the multiple mesh Standard film section is retained separately at least two store paths;It saves the mark of each target fragment and corresponds to store path, To realize the preservation of significant data, since wherein data to be stored is divided into multiple segments and is saved respectively to difference by use Store path, have improve save data safety beneficial effect.
Fig. 8 is please referred to, Fig. 8 is a kind of structure chart of the data storage device 300 in the embodiment of the present invention, is mainly used In mobile terminal, which includes: to obtain module 301, selecting module 302, segmentation module 303, setting mould Block 304, the first memory module 305 and the second memory module 306.
Wherein, it obtains module 301 and is used for acquisition algorithm selection instruction.When mobile terminal detects that significant data needs to improve When the safety of preservation, such as detects and have updated bank's card number and password or the biggish photo of scale etc. in mobile terminal When the data that inconvenience is seen by other people, 301 acquisition algorithm selection instruction of module is obtained.Algorithms selection instruction is mainly used for Partitioning algorithm is selected, for the data segmentation in subsequent processing.In the specific implementation process, it can use and automatically generate calculation Method acquisition instruction, can also according to user input biological characteristic believe, such as finger print information or acoustic information it is corresponding to generate Algorithm acquisition instruction.
Wherein, which is used to obtain corresponding predetermined partitioning algorithm according to algorithms selection instruction.This is pre- Dynamic change can be also possible to a fixed partitioning algorithm by determining partitioning algorithm.For example, work as user's input is fingerprint letter When breath, mobile terminal using X algorithm as partitioning algorithm, it is corresponding, when subsequent user reads the data, need to input pair The finger print information answered comes so that mobile terminal selects Y algorithm corresponding with the X algorithm to combine the data after segmentation.When user is defeated When what is entered is acoustic information, terminal is moved using M algorithm as partitioning algorithm, it is corresponding, when subsequent user reads the data, It needs to input corresponding finger print information to come so that mobile terminal selects N algorithm corresponding with the M algorithm to combine the number after segmentation According to.
Wherein, which is used to that data to be stored to be divided into multiple initial segments with predetermined partitioning algorithm.It should Data to be stored is typically all to be presented with the format of text file or picture file, in order to improve the confidentiality of data, one As the data to be stored can be first converted into the binary file of binary form, then the binary file is divided again It cuts.Such as image data, the picture is first converted into binary form.Therefore, which may include converting unit 3031 and cutting unit 3032.
The converting unit 3031 is used to data to be stored being converted into binary file.
The cutting unit 3032 is used to that the binary file to be divided into multiple initial segments with predetermined partitioning algorithm.Example Such as, which can be divided into six initial segments of A, B, C, D, E and F.
Wherein, which is used to multiple initial segments mark and file format is respectively set more to obtain A target fragment.The setup module 304 includes the first setting unit 3041 and the second setting unit 3042.
First setting unit 3041 is used to that mark to be respectively set to the multiple initial segment, wherein each described initial The mark of segment is all different.When implementation, the first setting unit 3041 distinguishes this plus mark respectively to multiple initial segment A initial segment is respectively A1, B2, C3, D4, E5 and F6 six after six initial segment mark-ons knowledges of A, B, C, D, E and the F Initial segment, the mark can be added in filename, can also be added in the predetermined position in file.
Second setting unit 3042 is used to that file format to be arranged to the initial segment after setting mark, to obtain multiple targets Segment;Wherein, at least two target fragments in the multiple target fragment have different file formats.Wherein, multiple At least two target fragments in target fragment have different file formats.When it is implemented, the text of multiple target fragment Part format can be all different, such as six initial segments are respectively set to PDF format, doc format, JPG format, DWG lattice Formula, DXF format and MP3 format, 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 not identical, such as six initial segments are respectively set to PDF lattice Formula, doc format, JPG format, PDF format, doc format, JPG format.The text of the setting initial segment referred in the present embodiment Part format refers to the suffix name of modification file, and does not modify the intensional data for being included in this document.
It is to be appreciated that the lattice file format of multiple initial segment can also be first arranged in the setup module, then giving Each initial segment mark-on is known, to obtain target fragment.
Wherein, which is used to save the mark of each target fragment and corresponds to store path. When first memory module 305 chooses store path, it can use and randomly select several store paths, it then will be multiple 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 several store paths, then be stored separately multiple target fragments several to this Store path.It should be understood that in the present embodiment, can also use and store path is chosen according to the feature of target fragment, Preferably each target fragment to be hidden.
First memory module 305 includes acquiring unit 3051 and storage unit 3052.Wherein, the acquiring unit 3051 The store path of corresponding number is chosen for the species number according to the file formats of multiple target fragments.Wherein, each file Format corresponds to a store path, and the storage region which is directed toward mainly is stored with the file of this kind of file format.Example Such as, multiple target fragment is respectively A1.PDF, B2.doc, C3.JPG, D4.DWG, E5.DXF and F6.MP3, wherein in total There are 6 kinds of file formats, therefore, chooses 6 store paths AA, BB, CC, DD, EE, FF.The corresponding memory block store path AA The most of file or All Files stored in domain is all pdf document, is stored in the corresponding storage region of store path BB big Partial document or All Files are all doc file, the most of file stored in the corresponding storage region of store path CC or institute File is all JPG file, and the most of file or All Files stored in the corresponding storage region of store path DD is all DWG File, the most of file or All Files stored in the corresponding storage region of store path EE is all DXF file.Store path The most of file or All Files stored in the corresponding storage region of FF is all mp3 file.
Storage unit 3052 is for storing each target fragment to store path corresponding with its file format.Example Such as, the corresponding file of A1.PDF is stored storage region corresponding to store path AA by storage unit 3052;B2.doc is corresponding File store storage region corresponding to store path BB;The corresponding file of C3.doc is stored corresponding to store path CC Storage region;The corresponding file of D4.doc is stored into storage region corresponding to store path DD;By the corresponding file of E5.doc Store storage region corresponding to store path EE;The corresponding file of F6.doc is stored into memory block corresponding to store path FF Domain.
Second memory module 306 is used to save the mark of each target fragment and corresponds to store path.Specifically When implementation, which will first establish identifying and the mapping relations of corresponding store path for multiple target fragment Then table saves the mapping table, which is used to carry out when the file after the user query storage this is more A 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 segmentation module A initial segment;Mark and file format is respectively set to obtain multiple target patch in the multiple initial segment by setup module Section;The multiple target fragment is retained separately at least two store paths by the first memory module;Second memory module saves The mark of each target fragment and corresponding store path;To realize the safe preservation storage of significant data, due to wherein Using data to be stored is divided into multiple segments and is saved respectively to different store paths, has and improve the data saved The beneficial effect of safety.
Fig. 9 is please referred to, Fig. 9 is the structure chart of the mobile terminal in one embodiment of the invention.The mobile terminal may include Radio frequency (RF, Radio Frequency) circuit 401, the storage for including one or more computer readable storage medium Device 402, input unit 403, display unit 404, sensor 405, voicefrequency circuit 406, Wireless Fidelity (WiFi, Wireless Fidelity) module 407, the components such as processor 408 for including one or more than one processing core.Those skilled in the art Member it is appreciated that terminal structure not structure paired terminal shown in Fig. 9 restriction, may include more more or fewer than illustrating Component perhaps combines certain components or different component layouts.Wherein:
RF circuit 401 can be used for receiving and sending messages or communication process in, signal sends and receivees, particularly, by base station After downlink information receives, one or the processing of more than one processor 408 are transferred to.
Input unit 403 can be used for receiving the number or character information of input, and generate and user setting and function Control related keyboard, mouse, operating stick, optics or trackball signal input.
Display unit 404 can be used for showing information input by user or be supplied to user information and terminal it is various Graphical user interface, these graphical user interface can be made of figure, text, icon, video and any combination thereof.
Voicefrequency circuit 406, loudspeaker, microphone can provide the audio interface between user and terminal.Voicefrequency circuit 406 can By the electric signal after the audio data received conversion, it is transferred to loudspeaker, voice signal output is converted to by loudspeaker;It is another The voice signal of collection is converted to electric signal by aspect, microphone, is converted to audio data after being received by voicefrequency circuit 406, then After the processing of audio data output processor 408, it is sent to such as another terminal through RF circuit 401, or by audio data Output is further processed to memory 402.
WiFi belongs to short range wireless transmission technology, and terminal can help user's transceiver electronics postal by WiFi module 407 Part, browsing webpage and access streaming video etc., it provides wireless broadband internet access for user.Although Fig. 9 is shown WiFi module 407, but it is understood that, and it is not belonging to must be configured into for mobile terminal, it can according to need completely Do not change in the range of the essence of invention and omits.
Memory 402 can be used for storing software program and module, and processor 408 is stored in memory 402 by operation Software program and module, thereby executing various function application and data processing.Memory 402 is stored with executable program Code.
The coupling of 408 balance reservoir of processor, processor 408 call the executable program code stored in the memory, Execute the date storage method in above-described embodiment.To realize following functions:
Data to be stored is divided into multiple initial segments with predetermined partitioning algorithm;
Mark and file format is respectively set to obtain multiple target fragments in the multiple initial segment;
The multiple target fragment is retained separately at least two store paths;
It saves the mark of each target fragment and corresponds to store path.
From the foregoing, it will be observed that the embodiment of the present invention, which is used, is divided into multiple initial sheets for data to be stored with predetermined partitioning algorithm Section;Mark and file format is respectively set to obtain multiple target fragments in the multiple initial segment;By the multiple mesh Standard film section is retained separately at least two store paths;It saves the mark of each target fragment and corresponds to store path, To realize the preservation of significant data, since wherein data to be stored is divided into multiple segments and is saved respectively to difference by use Store path, have improve save data safety beneficial effect.
There is provided herein the various operations of embodiment.In one embodiment, one or more operations can be with structure At the computer-readable instruction stored on one or more computer-readable mediums, will make to succeed in one's scheme when being executed by electronic equipment It calculates equipment and executes the operation.Describing the sequences of some or all of operations, to should not be construed as to imply that these operations necessarily suitable Sequence is relevant.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 exist in each embodiment provided in this article.
Moreover, 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 other aspect or design it is more advantageous.On the contrary, the use purport of word " preferred " Concept is being proposed in specific ways.Term "or" as used in this application is intended to mean the "or" for including and non-excluded "or".That is, unless specified otherwise or clear from the context, " X uses 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 uses A or B " is met in aforementioned any example.
Moreover, although the disclosure, this field skill has shown and described relative to one or more implementations Art personnel will be appreciated that equivalent variations and modification based on the reading and understanding to the specification and drawings.The disclosure include it is all this The modifications and variations of sample, and be limited only by the scope of the following claims.In particular, to by said modules (such as element, Resource etc.) the various functions that execute, term for describing such components is intended to correspond to the specified function for executing the component The random component (unless otherwise instructed) of energy (such as it is functionally of equal value), even if illustrated herein with execution in structure The disclosure exemplary implementations in function open structure it is not equivalent.In addition, although the special characteristic of the disclosure Through being disclosed relative to the only one in several implementations, but this feature can with such as can be to given or specific application For be expectation and one or more other features combinations of other advantageous implementations.Moreover, with regard to term " includes ", " tool Have ", " containing " or its deformation be used in specific embodiments or claims for, such term be intended to with term The similar mode of "comprising" includes.
Each functional unit in the embodiment of the present invention can integrate in a processing module, be also possible to each unit list It is solely physically present, can also be integrated in two or more units in a module.Above-mentioned integrated module can both use Formal implementation of hardware can also be realized in the form of software function module.If the integrated module is with software function The form of module is realized and when sold or used as an independent product, also can store in computer-readable storage Jie In matter.Storage medium mentioned above can be read-only memory, disk or CD etc..Above-mentioned each device or system, can be with Execute the method in correlation method embodiment.
In conclusion although the present invention has been disclosed above in the preferred embodiment, but above preferred embodiment is not to limit The system present invention, those skilled in the art can make various changes and profit without departing from the spirit and scope of the present invention Decorations, therefore protection scope of the present invention subjects to the scope of the claims.

Claims (8)

1. a kind of date storage method, which comprises the following steps:
When mobile terminal detects that significant data needs to improve the safety saved, obtained according to the biological characteristic letter that user inputs Algorithms selection is taken to instruct;
Corresponding predetermined partitioning algorithm is obtained according to algorithms selection instruction, the predetermined partitioning algorithm is dynamic change;
When detecting data fit predetermined condition, the data to be stored for needing special storage is set it to, with predetermined segmentation Data to be stored is divided into multiple initial segments by algorithm;
Mark is respectively set to the multiple initial segment, the predetermined position that the mark is added in file is each described initial The mark of segment is all different, and file format is arranged to the initial segment after setting mark, this is more to obtain multiple target fragments At least two target fragments in a target fragment have different file formats;
The multiple target fragment is retained separately at least two store paths;
It saves the mark of each target fragment and corresponds to store path.
2. date storage method according to claim 1, which is characterized in that it is described will number be stored with predetermined partitioning algorithm Include: according to the step of being divided into multiple initial segments
Data to be stored is converted into binary file;
The binary file is divided into multiple initial segments with predetermined partitioning algorithm.
3. date storage method according to claim 1, which is characterized in that described separately to protect the multiple target fragment It deposits to the step of at least two store paths and includes:
The store path of corresponding 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.
4. a kind of data storage device characterized by comprising
Module is obtained, for being inputted according to user when mobile terminal detects that significant data needs to improve the safety saved Biological characteristic believe acquisition algorithm selection instruction;
Selecting module, for obtaining corresponding predetermined partitioning algorithm, the predetermined partitioning algorithm according to algorithms selection instruction It is dynamic change;
Divide module, for when detecting data fit predetermined condition, setting it to the number to be stored for needing special storage According to data to be stored is divided into multiple initial segments with predetermined partitioning algorithm;
Setup module, it is described to identify the predetermined position being added in file for mark to be respectively set to the multiple initial segment, The mark of each initial segment is all different, and file format is arranged to the initial segment after setting mark, multiple to obtain At least two target fragments in the multiple target fragment of target fragment have different file formats;
First memory module, for being retained separately the multiple target fragment at least two store paths;
Second memory module, for saving the mark of each target fragment and corresponding to store path.
5. data storage device according to claim 4, which is characterized in that the segmentation module includes:
Converting unit, for data to be stored to be converted into binary file;
Cutting unit, for the binary file to be divided into multiple initial segments with predetermined partitioning algorithm.
6. data storage device according to claim 4, which is characterized in that first memory module includes:
Acquiring unit chooses the store path of corresponding number for the species number according to the file formats of multiple target fragments;
Storage unit, for storing each target fragment to store path corresponding with its file format.
7. a kind of mobile terminal characterized by comprising
It is stored with the memory of executable program code;
The processor coupled with the memory;
The processor calls the executable program code stored in the memory, executes such as claim 1 to right It is required that 3 described in any item date storage methods.
8. a kind of computer readable storage medium, is stored with computer program, which is characterized in that the computer program makes Computer executes method as described in any one of claims 1 to 3.
CN201611089070.4A 2016-11-30 2016-11-30 Date storage method, device and mobile terminal Active CN106557706B (en)

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 CN106557706A (en) 2017-04-05
CN106557706B true 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)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
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
CN109543463B (en) * 2018-10-11 2023-12-22 平安科技(深圳)有限公司 Data security access method, device, computer equipment and storage medium
CN113378202B (en) * 2021-06-29 2022-05-03 湖南盈聚信息技术有限公司 Multi-dimensional data security storage system based on big data

Citations (5)

* Cited by examiner, † Cited by third party
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

Patent Citations (5)

* Cited by examiner, † Cited by third party
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

Also Published As

Publication number Publication date
CN106557706A (en) 2017-04-05

Similar Documents

Publication Publication Date Title
US10680978B2 (en) Generating recommended responses based on historical message data
US9449175B2 (en) Method and apparatus for analyzing and detecting malicious software
US20170366967A1 (en) Method and browser for browsing web page, and storage medium
KR101497386B1 (en) Encryption using real-world objects
US20170249934A1 (en) Electronic device and method for operating the same
CN106557706B (en) Date storage method, device and mobile terminal
JP2013510368A (en) Text filtering method and system
EP2758912B1 (en) Methods and apparatus for progressive pattern matching in a mobile environment
WO2013086179A1 (en) System and method for detecting malware in documents
CN103366745A (en) Method for protecting terminal equipment based on speech recognition and terminal equipment
CN104660688A (en) Method and device for acquiring login information
CN108268438B (en) Page content extraction method and device and client
CN103076955A (en) Method, device and terminal for adjusting characters of application
CN109145589B (en) Application program acquisition method and device
CN104750665B (en) The treating method and apparatus of text information
KR102357620B1 (en) Chatbot integration agent platform system and service method thereof
CN109871685B (en) RTF file analysis method and device
US20230275840A1 (en) Traffic control in a communication network
CN109450853B (en) Malicious website determination method and device, terminal and server
CN116055067B (en) Weak password detection method, device, electronic equipment and medium
CN109657469B (en) Script detection method and device
CN115795544A (en) File security attribute storage method and related device
CN104809753A (en) File treatment method
KR20120114505A (en) A generation system of mobile contents tags and method thereof
KR101862178B1 (en) Method for customized posting and server implementing the same

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