CN104766026A - Terminal - Google Patents

Terminal Download PDF

Info

Publication number
CN104766026A
CN104766026A CN201510134428.XA CN201510134428A CN104766026A CN 104766026 A CN104766026 A CN 104766026A CN 201510134428 A CN201510134428 A CN 201510134428A CN 104766026 A CN104766026 A CN 104766026A
Authority
CN
China
Prior art keywords
file
file destination
target data
unit
mark
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.)
Pending
Application number
CN201510134428.XA
Other languages
Chinese (zh)
Inventor
李海林
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen Jinli Communication Equipment Co Ltd
Original Assignee
Shenzhen Jinli Communication Equipment Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shenzhen Jinli Communication Equipment Co Ltd filed Critical Shenzhen Jinli Communication Equipment Co Ltd
Priority to CN201510134428.XA priority Critical patent/CN104766026A/en
Publication of CN104766026A publication Critical patent/CN104766026A/en
Pending legal-status Critical Current

Links

Abstract

The invention discloses a terminal. In the terminal, a receiving unit is used for receiving a reading instruction aiming at target data, and the reading instruction comprises a target data identifier and a target file identifier of the target file where the target data is; an inquiry unit is used for inquiring a target chained file corresponding to the target file identifier in a corresponding list of the pre-stored file identifier and the chained file, and the target chained file takes chained address information of the target file; an analytical unit is used for analyzing the target chained file and acquiring the chained address information of the target file; a judgment unit is used for judging whether a judgment instruction further comprises preset decryption information including the target data; and the reading unit is used for reading the target data corresponding to the target data identifier in the target file according to the chained address information when the judgment result of the judgment unit is yes. Visually, the safety of the target data can be improved by implementing the embodiment of the terminal.

Description

A kind of terminal
Technical field
The present invention relates to electronic technology field, be specifically related to a kind of terminal.
Background technology
Along with the universal of intelligent mobile terminal equipment and development, the data volume of mobile terminal process is also increasing, and user is also increasing to the demand of terminal storage space.Existing mobile terminal device memory device is divided into two parts usually, Part I is internal memory, for a part of data that security requirement in storage system, user data and application program is higher, Part II is external memory, as TF card (Trans-flash Card), SD card (Secure Digital Memory Card), memory stick etc., for store picture data, another part data that in video data and application program, security requirement is not high.Because internal storage space size is limited, the higher partial data of security requirement leaves external memory safety in and often can not get ensureing.
Summary of the invention
The embodiment of the invention discloses a kind of terminal, the security of target data can be improved.
The embodiment of the invention discloses a kind of terminal, comprising:
Receiving element, for receiving the reading command for target data, described reading command comprises the file destination mark of target data mark and described target data place file destination;
Query unit, for from the file identification of pre-stored and the corresponding lists of chained file, inquire about the Object linking file that described file destination mark is corresponding, described Object linking file carries the link address information of described file destination;
Resolution unit, for resolving described Object linking file, obtains the link address information of described file destination;
Whether judging unit, also comprise for judging the default decryption information reading described target data in described reading command;
Reading unit, for when described judging unit judged result is for being, then according to the link address information of described file destination, reads the described target data that described target data mark is corresponding from described file destination.
In the terminal of the embodiment of the present invention, receiving element receives the reading command for target data, and reading command comprises the file destination mark of target data mark and described target data place file destination; Query unit from the file identification of pre-stored and the corresponding lists of chained file, the Object linking file that query aim file identification is corresponding, Object linking file carries the link address information of file destination; Resolution unit resolves Object linking file, obtains the link address information of file destination; Judging unit judges whether also comprise the default decryption information reading target data in reading command; Reading unit when judging unit judged result is for being, then according to the link address information of file destination, reads the target data that target data mark is corresponding from file destination.Visible, implement the security that the embodiment of the present invention can improve target data.Add default decryption information in the reading command for target data, the security of target data can be improved.
Accompanying drawing explanation
In order to be illustrated more clearly in embodiment of the present invention technical scheme, below the accompanying drawing used required in describing embodiment is briefly described, apparently, accompanying drawing in the following describes is some embodiments of the present invention, for those of ordinary skill in the art, under the prerequisite not paying creative work, other accompanying drawing can also be obtained according to these accompanying drawings.
Fig. 1 is the schematic flow sheet of a kind of data access method disclosed in the embodiment of the present invention;
Fig. 2 is the schematic flow sheet of another kind of data access method disclosed in the embodiment of the present invention;
Fig. 3 is the structural representation of a kind of terminal disclosed in the embodiment of the present invention;
Fig. 4 is the structural representation of another kind of terminal disclosed in the embodiment of the present invention;
Fig. 5 is the structural representation of the embodiment of the present invention another terminal disclosed.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, be clearly and completely described the technical scheme in the embodiment of the present invention, obviously, described embodiment is only the present invention's part embodiment, instead of whole embodiments.Based on the embodiment in the present invention, those of ordinary skill in the art, not making the every other embodiment obtained under creative work prerequisite, belong to the scope of protection of the invention.
The embodiment of the invention discloses a kind of terminal, by target data being placed in external storage space, thus can internal storage space be discharged.Below be described in detail respectively.
Refer to Fig. 1, Fig. 1 is the schematic flow sheet of a kind of data access method disclosed in the embodiment of the present invention.As shown in Figure 1, this data access method can comprise the following steps:
S101, receives the reading command for target data, and reading command comprises the file destination mark of target data mark and target data place file destination.
In the embodiment of the present invention, the reading command received for target data can be the reading command for target data that response user inputs, and also can be the reading command for target data that response terminal automatic reception system sends.Target data mark can be the data type of target data, data creation time, data preserve address, size of data etc., can determine the target data needing to read according to target data mark.The file destination mark of target data place file destination can be the file destination mark of the file destination that target data is deposited, identify according to this file destination, navigate to this file destination, the target data according to target data identifies, and reads the target data of needs from this file destination.
S102, from the file identification of pre-stored and the corresponding lists of chained file, the Object linking file that query aim file identification is corresponding, Object linking file carries the link address information of file destination.
In the embodiment of the present invention, file destination mark can be relation one to one with Object linking file, and the Object linking file that query aim file identification is corresponding can determine Object linking file according to file destination mark with the one-to-one relationship of Object linking file.The link address information that Object linking file carries file destination is used for localizing objects file, and this link address information can be the address information that file destination stores.Object linking file takies very little storage space, can create a lot of chained files in internal storage space.
S103, resolves Object linking file, obtains the link address information of file destination.
In the embodiment of the present invention, resolve Object linking file, obtain the link address information of file destination, the link address information of the file destination carried by chained file, obtain the link address information of file destination.
S104, judges whether also comprise the default decryption information reading target data in reading command, if the determination result is YES, then performs step S105, if judged result is no, then performs step S106.
S105, according to the link address information of file destination, reads the target data that target data mark is corresponding from file destination.
In the embodiment of the present invention, according to the link address information of file destination, from file destination, read the target data that target data mark is corresponding.According to the link address information of file destination, localizing objects file, in file destination, according to the corresponding target data of target data identifier lookup, thus obtains target data corresponding to target data mark.File destination takies larger storage space, can leave external memory in, and chained file takies very little storage space, can leave internal memory in.By taking the chained file of very little storage space in internal storage space, the data realized taking in external storage space in the larger file destination of storage space conduct interviews.
S106, abandons reading command, and refusal reads target data.
In the method described by Fig. 1, terminal can receive the reading command for target data, and this reading command comprises the file destination mark of target data mark and target data place file destination; From the file identification of pre-stored and the corresponding lists of chained file, the Object linking file that query aim file identification is corresponding, Object linking file carries the link address information of file destination; Resolve Object linking file, obtain the link address information of file destination; Judge in reading command, whether also to comprise the default decryption information reading target data; Comprise the default decryption information reading target data if judge, then according to the link address information of file destination, from file destination, read the target data that target data mark is corresponding; Do not comprise the default decryption information reading target data if judge in reading command, then abandon reading command, refusal reads target data.Add default decryption information in the reading command for target data, the security of target data can be improved.
Refer to Fig. 2, Fig. 2 is the schematic flow sheet of a kind of data access method disclosed in the embodiment of the present invention.As shown in Figure 2, this data access method can comprise the following steps:
S201, judges whether to meet the pre-conditioned of establishment file destination.
In the embodiment of the present invention, judge whether that meeting the pre-conditioned of establishment file destination can be the pre-conditioned of the whether satisfied establishment file destination of size of the pre-conditioned of the whether satisfied establishment file destination of size of the storage space judging internal memory and the storage space judging external memory.
In the embodiment of the present invention, whether terminal judges meets establishment the pre-conditioned of file destination can comprise the following steps:
11) the current size taking the storage space of internal memory is obtained;
12) judge that whether the current size taking the storage space of internal memory is more than the first predetermined threshold value;
13) if the current size taking the storage space of described internal memory is more than the first predetermined threshold value, judge that whether the current size taking the storage space of external memory is more than the second predetermined threshold value;
14) if the current size taking the storage space of described external memory is no more than the second predetermined threshold value, then determine to meet the pre-conditioned of establishment file destination.
In the embodiment of the present invention, when terminal needs to create file destination, first obtain the current size taking the storage space of internal memory, secondly judge that whether the current size taking the storage space of internal memory is more than the first predetermined threshold value, this first predetermined threshold value can set according to the size of internal storage space automatically for system, also can arrange for user individual, for example, if the size of the storage space of internal memory is 1,000 million (1000MB), it is 800MB that system can arrange the first predetermined threshold value, also can be set to 700MB, 500MB, 300MB even 100MB according to user individual, the size of the storage space of described internal memory is taken more than the first predetermined threshold value if current, again judge that whether the current size taking the storage space of external memory is more than the second predetermined threshold value, this second predetermined threshold value can set according to the size of external storage space automatically for system, also can arrange for user individual, for example, if the size of the storage space of external memory is 8 gigabits (8000MB), it is 7000MB that system can arrange the first predetermined threshold value, also 7500MB can be set to according to user individual, 6500MB, 6000MB, 5000MB etc.If the size taking the storage space of described external memory current is no more than the second predetermined threshold value, then determine to meet to create the pre-conditioned of file destination.When the memory space inadequate of internal memory, system running speed can be caused slack-off, even can crash, affect Consumer's Experience, the embodiment of the present invention is by taking the chained file of very little storage space in internal storage space, realize conducting interviews to the data taken in external storage space in the larger file destination of storage space, effectively can discharge internal storage space, thus improve system response speed.
In the embodiment of the present invention, whether terminal judges meets establishment the pre-conditioned of file destination can also comprise the following steps:
21) if the current size taking the storage space of internal memory is no more than the first predetermined threshold value, then determine not meet the pre-conditioned of establishment file destination.
In the embodiment of the present invention, whether terminal judges meets establishment the pre-conditioned of file destination can also comprise the following steps:
31) if the current size taking the storage space of external memory is more than the second predetermined threshold value, then determine not meet and create the pre-conditioned of file destination.
S202, if meet, creates the file destination comprising target data, for file destination distributes file destination mark.
In the embodiment of the present invention, create the file destination comprising target data, for file destination distributes file destination mark.Wherein, when creating file destination, target data is write this file destination, and identify for this file destination distributes file destination.
In the embodiment of the present invention, terminal creates the file destination comprising target data and can comprise the following steps:
41) file destination is created, for file destination distributes file destination mark;
42) receive the write instruction comprising target data, write instruction comprises the file destination mark of file destination;
43) target data is write file destination;
44) for target data distributes target data mark.
In the embodiment of the present invention, when terminal determine to meet create file destination pre-conditioned time, first create file destination, and identify for file destination distributes file destination; Secondly receive the write instruction comprising target data, write instruction comprises the file destination mark of file destination; Again target data is write file destination; Finally for target data distributes target data mark.
Wherein, target data is write file destination and specifically can comprise by terminal:
51) predetermined encryption information is utilized to encrypt target data;
52) by the target data write file destination after encryption.
In the embodiment of the present invention, when utilizing predetermined encryption information to encrypt target data, first target data is encrypted through certain algorithm (as AES, MD5 etc.), here AES refers to the Advanced Encryption Standard in cryptography, and MD5 refers to the Message-Digest Algorithm 5 in cryptography; Then by the target data write file destination after encryption.After target data is encrypted, effectively can prevent target data from being revealed, ensure that privacy and the security of target data.
S203, leaves file destination in external memory.
S204, generate Object linking file, Object linking file carries the link address information of file destination; Wherein, the link address information of file destination is the storage address information of file destination in external memory.
In the embodiment of the present invention, generating Object linking file is generate according to the address information of file destination, and wherein, the link address information of file destination is the storage address information of file destination in external memory.
S205, leaves Object linking file in internal memory.
S206, sets up the corresponding relation of file destination mark and Object linking file.
In the embodiment of the present invention, when establishment file destination, for file destination distributes file destination mark and after generating Object linking file, set up the corresponding relation of file destination mark and Object linking file, this corresponding relation can be the one-to-one relationship of file destination mark and Object linking file, and this corresponding relation leaves in the corresponding lists of file identification and chained file.
S207, is added into file destination mark in the corresponding lists of file identification and chained file with the corresponding relation of Object linking file.
In the embodiment of the present invention, the corresponding lists of file identification and chained file can leave internal memory in.
S208, receives the reading command for target data, and reading command comprises the file destination mark of target data mark and target data place file destination.
S209, from the file identification of pre-stored and the corresponding lists of chained file, the Object linking file that query aim file identification is corresponding, Object linking file carries the link address information of file destination.
S210, resolves Object linking file, obtains the link address information of file destination.
S211, judges whether also comprise the default decryption information reading target data in reading command.
S212, comprises the default decryption information reading target data if judge, then according to the link address information of file destination, read the target data that target data mark is corresponding from file destination.
In the method described by Fig. 2, terminal can judge whether to meet and create the pre-conditioned of file destination; If meet, create the file destination comprising target data, for file destination distributes file destination mark; Leave file destination in external memory; Generate Object linking file, Object linking file carries the link address information of file destination; Wherein, the link address information of file destination is the storage address information of file destination in external memory; Leave Object linking file in internal memory; Set up the corresponding relation of file destination mark and Object linking file; File destination mark is added in the corresponding lists of file identification and chained file with the corresponding relation of Object linking file; Receive the reading command for target data, this reading command comprises the file destination mark of target data mark and target data place file destination; From the file identification of pre-stored and the corresponding lists of chained file, the Object linking file that query aim file identification is corresponding, Object linking file carries the link address information of file destination; Resolve Object linking file, obtain the link address information of file destination; Judge in reading command, whether also to comprise the default decryption information reading target data; Comprise the default decryption information reading target data if judge, then according to the link address information of file destination, from file destination, read the target data that target data mark is corresponding.Add default decryption information in the reading command for target data, the security of target data can be improved.
Refer to Fig. 3, Fig. 3 is the structural representation of a kind of terminal disclosed in the embodiment of the present invention, and wherein, the terminal shown in Fig. 3 can comprise receiving element 301, query unit 302, resolution unit 303 and judging unit 304, reading unit 305 and discarding unit 306.
Receiving element 301, for receiving the reading command for target data, reading command comprises the file destination mark of target data mark and target data place file destination.
In the embodiment of the present invention, the reading command that receiving element 301 receives for target data can be the reading command for target data that response user inputs, and also can be the reading command for target data that response terminal automatic reception system sends.Target data mark can be the data type of target data, data creation time, data preserve address, size of data etc., can determine the target data needing to read according to target data mark.The file destination mark of target data place file destination can be the file destination mark of the file destination that target data is deposited, identify according to this file destination, navigate to this file destination, the target data according to target data identifies, and reads the target data of needs from this file destination.
Query unit 302, for from the file identification of pre-stored and the corresponding lists of chained file, the Object linking file that query aim file identification is corresponding, Object linking file carries the link address information of file destination.
In the embodiment of the present invention, file destination mark can be relation one to one with Object linking file, and the Object linking file that query unit 302 query aim file identification is corresponding can determine Object linking file according to file destination mark with the one-to-one relationship of Object linking file.The link address information that Object linking file carries file destination is used for localizing objects file, and this link address information can be the address information that file destination stores.Object linking file takies very little storage space, can create a lot of chained files in internal storage space.
Resolution unit 303, for resolving Object linking file, obtains the link address information of file destination.
In the embodiment of the present invention, resolution unit 303 resolves Object linking file, obtains the link address information of file destination, the link address information of the file destination carried by chained file, obtains the link address information of file destination.
Whether judging unit 304, also comprise for judging the default decryption information reading target data in reading command.
In the embodiment of the present invention, judging unit 304 judges whether also comprise the default decryption information reading target data in reading command, if comprise, according to the link address information of file destination, can read the target data that target data mark is corresponding from file destination.If do not comprise, can abandon reading command, refusal reads target data, by judging whether comprise the default decryption information reading target data in reading command, can improve the security of target data.
Reading unit 305, for when judging unit judged result is for being, then according to the link address information of file destination, reads the target data that target data mark is corresponding from file destination.
In the embodiment of the present invention, reading unit 305, according to the link address information of file destination, reads the target data that target data mark is corresponding from file destination.According to the link address information of file destination, localizing objects file, in file destination, according to the corresponding target data of target data identifier lookup, thus obtains target data corresponding to target data mark.File destination takies larger storage space, can leave external memory in, and chained file takies very little storage space, can leave internal memory in.By taking the chained file of very little storage space in internal storage space, the data realized taking in external storage space in the larger file destination of storage space conduct interviews.
Discarding unit 306, during for being no when judging unit judged result, abandons reading command, and refusal reads target data.
In the terminal described by Fig. 3, receiving element 301 can receive the reading command for target data, and this reading command comprises the file destination mark of target data mark and target data place file destination; Query unit 302 from the file identification of pre-stored and the corresponding lists of chained file, the Object linking file that query aim file identification is corresponding, Object linking file carries the link address information of file destination; Resolution unit 303 resolves Object linking file, obtains the link address information of file destination; Judging unit 304 judges whether also comprise the default decryption information reading target data in reading command; When judging unit 304 judged result is for being, reading unit 305 link address information according to file destination, read the target data that target data mark is corresponding from file destination; When judging unit judged result is no, discarding unit 306 abandons reading command, and refusal reads target data.Add default decryption information in the reading command for target data, the security of target data can be improved.
See also Fig. 4, Fig. 4 is the structural representation of another kind of terminal disclosed in the embodiment of the present invention.Wherein, the terminal shown in Fig. 4 is that terminal is as shown in Figure 3 optimized and obtains.Compared with the terminal shown in Fig. 3, terminal shown in Fig. 4, except the receiving element 301 comprised shown in Fig. 3, query unit 302, resolution unit 303 and judging unit 304 and reading unit 305, can also comprise the first judging unit 307, creating unit 308, first storage unit 309, generation unit 310, second storage unit 311, set up unit 312 and adding device 313.
First judging unit 307, before receiving the reading command for target data at receiving element, judges whether to meet the pre-conditioned of establishment file destination.
In the embodiment of the present invention, the first judging unit 307 judges whether that meeting the pre-conditioned of establishment file destination can be the pre-conditioned of the whether satisfied establishment file destination of size of the pre-conditioned of the whether satisfied establishment file destination of size of the storage space judging internal memory and the storage space judging external memory.
In the terminal shown in Fig. 4, the first judging unit 307 can comprise with lower unit:
First acquiring unit 3701, for obtaining the current size taking the storage space of internal memory.
Second judging unit 3702, for judging that whether the current size taking the storage space of internal memory is more than the first predetermined threshold value.
3rd judging unit 3703, for when the second judging unit judged result is for being, judges that whether the current size taking the storage space of external memory is more than the second predetermined threshold value.
Determining unit 3704, if be no more than the second predetermined threshold value for the current size taking the storage space of external memory, then determines to meet the pre-conditioned of establishment file destination.
In the embodiment of the present invention, when terminal needs to create file destination, the first acquiring unit 3701 obtains the current size taking the storage space of internal memory, second judging unit 3702 judges that whether the current size taking the storage space of internal memory is more than the first predetermined threshold value, this first predetermined threshold value can set according to the size of internal storage space automatically for system, also can arrange for user individual, for example, if the size of the storage space of internal memory is 1,000 million (1000MB), it is 800MB that system can arrange the first predetermined threshold value, also can be set to 700MB, 500MB, 300MB even 100MB according to user individual, the size of the storage space of described internal memory is taken more than the first predetermined threshold value if current, 3rd judging unit 3703 judges that whether the current size taking the storage space of external memory is more than the second predetermined threshold value, this second predetermined threshold value can set according to the size of external storage space automatically for system, also can arrange for user individual, for example, if the size of the storage space of external memory is 8 gigabits (8000MB), it is 7000MB that system can arrange the first predetermined threshold value, also 7500MB can be set to according to user individual, 6500MB, 6000MB, 5000MB etc.If the size taking the storage space of described external memory current is no more than the second predetermined threshold value, and determining unit 3704 is determined to meet the pre-conditioned of establishment file destination.When the memory space inadequate of internal memory, system running speed can be caused slack-off, even can crash, affect Consumer's Experience, the embodiment of the present invention is by taking the chained file of very little storage space in internal storage space, realize conducting interviews to the data taken in external storage space in the larger file destination of storage space, effectively can discharge internal storage space, thus improve system response speed.
Creating unit 308, for when the first judging unit judged result is for being, creates the file destination comprising target data, for file destination distributes file destination mark.
In the terminal shown in Fig. 4, creating unit 308 can comprise with lower unit:
First creating unit 3801, for creating file destination, for file destination distributes file destination mark.
First receiving element 3802, for receiving the write instruction comprising target data, write instruction comprises the file destination mark of file destination.
Writing unit 3803, for writing file destination by target data.
Allocation units 3804, for distributing target data mark for target data.
In the embodiment of the present invention, when terminal determine to meet create file destination pre-conditioned time, the first creating unit 3801 creates file destination, and identifies for file destination distributes file destination; First receiving element 3802 receives the write instruction comprising target data, and write instruction comprises the file destination mark of file destination; Target data is write file destination by writing unit 3803; Allocation units 3804 distribute target data for target data and identify.
In the embodiment of the present invention, writing unit 3803 specifically can comprise ciphering unit and the first writing unit.Ciphering unit, encrypts target data for utilizing predetermined encryption information; First writing unit, for writing file destination by the target data after encryption.
When utilizing predetermined encryption information to encrypt target data, first target data encrypted through certain algorithm (as AES, MD5 etc.), AES here refers to the Advanced Encryption Standard in cryptography, and MD5 refers to the Message-Digest Algorithm 5 in cryptography; Then by the target data write file destination after encryption.Ciphering unit effectively can prevent target data from being revealed, ensure that privacy and the security of target data after target data being encrypted.
First storage unit 309, for leaving file destination in external memory.
Generation unit 310, for generating Object linking file, Object linking file carries the link address information of file destination; Wherein, the link address information of file destination is the storage address information of file destination in external memory.
In the embodiment of the present invention, it is generate according to the address information of file destination that generation unit 310 generates Object linking file, and wherein, the link address information of file destination is the storage address information of file destination in external memory.
Second storage unit 311, for leaving Object linking file in internal memory.
Set up unit 312, for setting up the corresponding relation of file destination mark and Object linking file;
In the embodiment of the present invention, creating unit 308 creates file destination, and distribute file destination mark and after generating Object linking file for file destination, set up the corresponding relation that unit 312 sets up file destination mark and Object linking file, this corresponding relation can be the one-to-one relationship of file destination mark and Object linking file, and this corresponding relation leaves in the corresponding lists of file identification and chained file.
Adding device 313, for being added into file destination mark in the corresponding lists of file identification and chained file with the corresponding relation of Object linking file.
In the embodiment of the present invention, the corresponding lists of file identification and chained file can leave internal memory in.
In the terminal described by Fig. 4, the first judging unit 307 can judge whether to meet and create the pre-conditioned of file destination; If meet, creating unit 308 creates the file destination comprising target data, for file destination distributes file destination mark; First storage unit 309 leaves file destination in external memory; Generation unit 310 generates Object linking file, and Object linking file carries the link address information of file destination; Wherein, the link address information of file destination is the storage address information of file destination in external memory; Second storage unit 311 leaves Object linking file in internal memory; Set up the corresponding relation that unit 312 sets up file destination mark and Object linking file; File destination mark is added in the corresponding lists of file identification and chained file with the corresponding relation of Object linking file by adding device 313; Receiving element 301 receives the reading command for target data, and this reading command comprises the file destination mark of target data mark and target data place file destination; Query unit 302 from the file identification of pre-stored and the corresponding lists of chained file, the Object linking file that query aim file identification is corresponding, Object linking file carries the link address information of file destination, and Object linking file leaves internal memory in; Resolution unit 303 resolves Object linking file, obtains the link address information of file destination; Judging unit 304 judges whether also comprise the default decryption information reading target data in reading command; Comprise the default decryption information reading target data if judge, reading unit 305 link address information according to file destination, from file destination, read the target data that target data mark is corresponding.Add default decryption information in the reading command for target data, the security of target data can be improved.
Refer to Fig. 5, Fig. 5 is the structural representation of the embodiment of the present invention another terminal disclosed, as shown in Figure 5, this terminal can comprise: at least one processor 410, such as CPU, storer 420, at least one communication bus 430, input media 440, output unit 450.Wherein, communication bus 430 is for realizing the communication connection between these assemblies.Storer 420 can be high-speed RAM storer, also can be non-labile storer (non-volatile memory), such as at least one magnetic disk memory.Storer 420 can also be optionally that at least one is positioned at the memory storage away from aforementioned processor 410.Wherein, processor 410 can composition graphs 3 and the terminal described by Fig. 4, stores batch processing code in storer 420, and processor 410 calls the program code stored in storer 420, for performing following operation:
Receive the reading command for target data by input media 440, reading command comprises the file destination mark of target data mark and target data place file destination.
From the file identification of pre-stored and the corresponding lists of chained file, the Object linking file that query aim file identification is corresponding, Object linking file carries the link address information of file destination;
Resolve Object linking file, obtain the link address information of file destination;
Judge in reading command, whether also to comprise the default decryption information reading target data;
Comprise the default decryption information reading target data if judge, then according to the link address information of file destination, from file destination, read target data corresponding to target data mark by output unit 450.
In the embodiment of the present invention, processor 410 calls the program code in storer 420, before receiving the reading command for target data, can also perform following operation:
Judge whether to meet and create the pre-conditioned of file destination;
If meet, create the file destination comprising target data, for file destination distributes file destination mark;
Leave file destination in external memory;
Generate Object linking file, Object linking file carries the link address information of file destination; Wherein, the link address information of file destination is the storage address information of file destination in external memory;
Leave Object linking file in internal memory;
Set up the corresponding relation of file destination mark and Object linking file;
File destination mark is added in the corresponding lists of file identification and chained file with the corresponding relation of Object linking file.
In the embodiment of the present invention, processor 410 calls the program code in storer 420, judges whether that meeting establishment the pre-conditioned of file destination can specifically comprise following operation:
Obtain the current size taking the storage space of internal memory;
Judge that whether the current size taking the storage space of internal memory is more than the first predetermined threshold value;
If the size taking the storage space of described internal memory current, more than the first predetermined threshold value, judges that whether the current size taking the storage space of external memory is more than the second predetermined threshold value;
If the size taking the storage space of described external memory current is no more than the second predetermined threshold value, then determine to meet to create the pre-conditioned of file destination.
In the embodiment of the present invention, processor 410 calls the program code in storer 420, judges whether that meeting establishment the pre-conditioned of file destination can also specifically comprise following operation:
If the size taking the storage space of internal memory current is no more than the first predetermined threshold value, then determine not meet to create the pre-conditioned of file destination;
If the size taking the storage space of external memory current more than the second predetermined threshold value, is then determined not meet the pre-conditioned of establishment file destination.
In the embodiment of the present invention, processor 410 calls the program code in storer 420, and creating the file destination comprising target data can specifically comprise following operation:
Create file destination, for file destination distributes file destination mark;
Receive the write instruction comprising target data, write instruction comprises the file destination mark of file destination;
Target data is write file destination;
For target data distributes target data mark.
Wherein target data is write file destination by processor, can be specially:
Predetermined encryption information is utilized to encrypt target data;
By the target data write file destination after encryption.
In the embodiment of the present invention, processor 410 calls the program code in storer 420, can also perform following operation:
Do not comprise the default decryption information reading target data if judge in reading command, then abandon reading command, refusal reads target data.
Concrete, the terminal introduced in the present embodiment can implement the part or all of flow process in the embodiment of the data access method that composition graphs 1 to Fig. 2 of the present invention introduces.
Step in embodiment of the present invention method can be carried out order according to actual needs and be adjusted, merges and delete.
Unit in embodiment of the present invention terminal or equipment or subelement can carry out merging, divide and deleting according to actual needs.
One of ordinary skill in the art will appreciate that all or part of step in the various methods of above-described embodiment can carry out the device-dependent hardware of command terminal by program to have come, this program can be stored in a computer-readable recording medium, storage medium can comprise: flash disk, ROM (read-only memory) (Read-OnlyMemory, ROM), random access device (Random Access Memory, RAM), disk or CD etc.
Be described in detail the embodiment of the invention discloses a kind of terminal above, apply specific case herein to set forth principle of the present invention and embodiment, the explanation of above embodiment just understands method of the present invention and core concept thereof for helping; Meanwhile, for one of ordinary skill in the art, according to thought of the present invention, all will change in specific embodiments and applications, in sum, this description should not be construed as limitation of the present invention.

Claims (9)

1. a terminal, is characterized in that, comprising:
Receiving element, for receiving the reading command for target data, described reading command comprises the file destination mark of target data mark and described target data place file destination;
Query unit, for from the file identification of pre-stored and the corresponding lists of chained file, inquire about the Object linking file that described file destination mark is corresponding, described Object linking file carries the link address information of described file destination;
Resolution unit, for resolving described Object linking file, obtains the link address information of described file destination;
Whether judging unit, also comprise for judging the default decryption information reading described target data in described reading command;
Reading unit, for when described judging unit judged result is for being, then according to the link address information of described file destination, reads the described target data that described target data mark is corresponding from described file destination.
2. terminal according to claim 1, is characterized in that, described terminal also comprises:
First judging unit, before receiving the reading command for target data at described receiving element, judges whether to meet the pre-conditioned of establishment file destination;
Creating unit, for when described first judging unit judged result is for being, creates the file destination comprising described target data, for described file destination distributes described file destination mark;
First storage unit, for leaving described file destination in external memory;
Generation unit, for generating Object linking file, described Object linking file carries the link address information of described file destination; Wherein, the link address information of described file destination is the storage address information of described file destination in described external memory;
Second storage unit, for leaving described Object linking file in internal memory;
Set up unit, for setting up the corresponding relation of described file destination mark and Object linking file;
Adding device, for being added into described file destination mark in the corresponding lists of described file identification and chained file with the corresponding relation of Object linking file.
3. terminal according to claim 2, is characterized in that, described creating unit comprises:
First creating unit, for creating described file destination, for described file destination distributes described file destination mark;
First receiving element, for receiving the write instruction comprising described target data, said write instruction comprises the described file destination mark of described file destination;
Writing unit, for writing described file destination by described target data;
Allocation units, for distributing described target data mark for described target data.
4. terminal according to claim 3, is characterized in that, said write unit comprises:
Ciphering unit, encrypts described target data for utilizing predetermined encryption information;
First writing unit, for writing described file destination by the described target data after encryption.
5. terminal according to claim 1, is characterized in that, described terminal also comprises:
Discarding unit, for when described judging unit judged result is no, abandons described reading command, and refusal reads described target data.
6. terminal according to claim 2, is characterized in that, described first judging unit comprises:
First acquiring unit, for obtaining the current size taking the storage space of described internal memory;
Second judging unit, for judging that whether the described current size taking the storage space of described internal memory is more than the first predetermined threshold value;
3rd judging unit, for when described second judging unit judged result is for being, judges that whether the current size taking the storage space of described external memory is more than the second predetermined threshold value;
Determining unit, if when being no more than the second predetermined threshold value for the current size taking the storage space of described external memory, then determines to meet the pre-conditioned of establishment file destination.
7. terminal according to claim 6, is characterized in that, described determining unit, also for when described second judging unit judged result is no, then determines not meet the pre-conditioned of establishment file destination.
8. terminal according to claim 6, is characterized in that, described determining unit, if also for the current size taking the storage space of described external memory more than the second predetermined threshold value time, then determine not meet and create the pre-conditioned of file destination.
9. terminal according to claim 2, is characterized in that, described terminal also comprises:
3rd storage unit, for leaving the corresponding lists of described file identification and chained file in described internal memory.
CN201510134428.XA 2015-03-25 2015-03-25 Terminal Pending CN104766026A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510134428.XA CN104766026A (en) 2015-03-25 2015-03-25 Terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510134428.XA CN104766026A (en) 2015-03-25 2015-03-25 Terminal

Publications (1)

Publication Number Publication Date
CN104766026A true CN104766026A (en) 2015-07-08

Family

ID=53647845

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510134428.XA Pending CN104766026A (en) 2015-03-25 2015-03-25 Terminal

Country Status (1)

Country Link
CN (1) CN104766026A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108647280A (en) * 2018-05-03 2018-10-12 北京云中融信网络科技有限公司 A kind of method and apparatus of memory communicating information

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101779209A (en) * 2007-08-24 2010-07-14 国际商业机器公司 Be used for protecting the system and method for the content that is stored in memory device
US20110004755A1 (en) * 2009-07-02 2011-01-06 Sharp Kabushiki Kaisha User information providing system
CN101958838A (en) * 2010-10-14 2011-01-26 联动优势科技有限公司 Data access method and device
CN102541762A (en) * 2010-12-27 2012-07-04 北京国睿中数科技股份有限公司 Data protector for external memory and data protection method
CN103218572A (en) * 2012-01-23 2013-07-24 国际商业机器公司 Memory address translation-based data encryption/compression
CN104408044A (en) * 2014-10-23 2015-03-11 北京用友政务软件有限公司 File access method and system

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101779209A (en) * 2007-08-24 2010-07-14 国际商业机器公司 Be used for protecting the system and method for the content that is stored in memory device
US20110004755A1 (en) * 2009-07-02 2011-01-06 Sharp Kabushiki Kaisha User information providing system
CN101958838A (en) * 2010-10-14 2011-01-26 联动优势科技有限公司 Data access method and device
CN102541762A (en) * 2010-12-27 2012-07-04 北京国睿中数科技股份有限公司 Data protector for external memory and data protection method
CN103218572A (en) * 2012-01-23 2013-07-24 国际商业机器公司 Memory address translation-based data encryption/compression
CN104408044A (en) * 2014-10-23 2015-03-11 北京用友政务软件有限公司 File access method and system

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108647280A (en) * 2018-05-03 2018-10-12 北京云中融信网络科技有限公司 A kind of method and apparatus of memory communicating information

Similar Documents

Publication Publication Date Title
CN107801165B (en) Business short message pushing method and device, computer equipment and storage medium
US9769654B2 (en) Method of implementing a right over a content
US9967097B2 (en) Method and system for converting data in an electronic device
KR20190018869A (en) System and method for providing storage service based on block chain
CN105007577A (en) Virtual SIM card parameter management method, mobile terminal and server
CN107577538B (en) Container resource management method and system
CN103813353A (en) Method for sharing communication flows, control device and terminal
JP6923582B2 (en) Information processing equipment, information processing methods, and programs
CN107547675B (en) User equipment migration method and device
CN107872315B (en) Data processing method and intelligent terminal
CN104766027A (en) Data access method
CN104423928A (en) Data processing method, data processing device and terminal equipment
CN105049546A (en) Client terminal IP address allocation method through DHCP server and device thereof
CN104766026A (en) Terminal
CN111030978B (en) Malicious data acquisition method and device based on block chain and storage device
KR101714770B1 (en) ID Dynamic Allocating Method for CAN Communication System, and CAN Communication System
US20180314807A1 (en) File permission control method
CN113922972B (en) Data forwarding method and device based on MD5 identification code
CN104813607A (en) Electronic rendezvous-based two stage access control for private networks
KR101883397B1 (en) Apparatus and method for contents sharing based on the social trust
CN106657092B (en) Service processing method and device based on SS L/T L S
CN111638968B (en) Shared memory access authority setting method and device, electronic equipment and storage medium
CN105653467A (en) Storage space distribution method and apparatus
CN104270737A (en) Protection method and device for international mobile subscriber identification number (IMSI)
CN104935647A (en) File sharing method and apparatus

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
AD01 Patent right deemed abandoned

Effective date of abandoning: 20190215

AD01 Patent right deemed abandoned