CN107273473A - A kind of file memory method and device, file extraction method and device - Google Patents

A kind of file memory method and device, file extraction method and device Download PDF

Info

Publication number
CN107273473A
CN107273473A CN201710428906.7A CN201710428906A CN107273473A CN 107273473 A CN107273473 A CN 107273473A CN 201710428906 A CN201710428906 A CN 201710428906A CN 107273473 A CN107273473 A CN 107273473A
Authority
CN
China
Prior art keywords
equipment
information
corresponding relation
packet
file
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
CN201710428906.7A
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.)
Vivo Mobile Communication Co Ltd
Original Assignee
Vivo Mobile Communication 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 Vivo Mobile Communication Co Ltd filed Critical Vivo Mobile Communication Co Ltd
Priority to CN201710428906.7A priority Critical patent/CN107273473A/en
Publication of CN107273473A publication Critical patent/CN107273473A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/10File systems; File servers
    • G06F16/13File access structures, e.g. distributed indices
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/10File systems; File servers
    • G06F16/17Details of further file system functions
    • G06F16/176Support for shared access to files; File sharing support
    • 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/62Protecting access to data via a platform, e.g. using keys or access control rules
    • G06F21/6209Protecting access to data via a platform, e.g. using keys or access control rules to a single file or object, e.g. in a secure envelope, encrypted and accessed using a key, or with access control rules appended to the object itself

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • Data Mining & Analysis (AREA)
  • Databases & Information Systems (AREA)
  • General Health & Medical Sciences (AREA)
  • Computer Hardware Design (AREA)
  • Computer Security & Cryptography (AREA)
  • Software Systems (AREA)
  • Health & Medical Sciences (AREA)
  • Bioethics (AREA)
  • Storage Device Security (AREA)

Abstract

The embodiment of the present invention discloses a kind of file memory method and device, file extraction method and device, and storage method includes:First equipment determines the second equipment of at least one for shared storage file destination in file-sharing stores network;First equipment is split to file destination, generates multiple packets;Packet corresponding with each second equipment is sent to each self-corresponding second equipment and stored by the first equipment;Wherein, packet carries segmentation information;Segmentation information includes:First configured information;First configured information is that the first equipment is generated according to the device identification of the equipment for storing the packet and the file identification of file destination.The embodiment of the present invention by by file division to be stored into many parts, every part is stored on different devices and is uniquely indicated using device identification with file identification, realize that file is stored, it is adaptable to the higher scene of security, prevent that data are compromised or steal.

Description

A kind of file memory method and device, file extraction method and device
Technical field
The present embodiments relate to technical field of memory, and in particular to a kind of file memory method and device, file are extracted Method and device.
Background technology
With continuing to develop for electronic technology, smart machine is increasingly popularized, and information sharing is more and more frequent, the guarantor of data Close property and security requirement also more and more higher.
In existing file storage technology, the significant data such as private file or classified document is all stored in the magnetic of the machine Disk or Cloud Server, may be compromised or be stolen, and for needing the higher scene of security, prior art can not be protected Demonstrate,prove data safety.
Therefore, need a kind of data storage technology of offer badly, it is adaptable to the higher scene of security, prevent data compromised Or steal.
The content of the invention
In view of the above problems, the embodiment of the present invention propose overcome above mentioned problem a kind of file memory method and device, File extraction method and device.
In a first aspect, the embodiment of the present invention proposes a kind of file memory method, including:
First equipment determines at least one second for shared storage file destination in file-sharing stores network Equipment;
First equipment is split to the file destination, generates multiple packets;
Packet corresponding with each second equipment is sent to each self-corresponding second equipment and deposited by first equipment Storage;
Wherein, the packet carries segmentation information;The segmentation information includes:First configured information;Described first Configured information is device identification and the file destination of first equipment according to the equipment for storing the packet File identification generation.
Second aspect, the embodiment of the present invention also proposes a kind of file extraction method, including:
3rd equipment is after the request for extracting file destination is received, and each equipment stored to file-sharing in network is distinguished Send first and extract request;Corresponding all first configured informations of the file destination are carried in the first extraction request;
3rd equipment receives the extraction response of each 4th equipment feedback;4th equipment is to receive described first Extract the equipment that any one first configured information is locally stored in request and determination;The extraction response carries verification letter Breath;The check information is verification of the 4th equipment based on the corresponding packet generation of the first configured information being locally stored Information;
3rd equipment is verified to each check information, after each check information is verified successfully, to each 4th equipment Send second and extract request;The first configured information that each 4th equipment is locally stored is carried in the second extraction request;
3rd equipment receives the corresponding packet of the first configured information being locally stored of each 4th equipment feedback;
3rd equipment generates the file destination based on each packet received.
The third aspect, the embodiment of the present invention also proposes a kind of file extraction method, including:
3rd equipment is after the request for extracting file destination is received, and each equipment stored to file-sharing in network is distinguished Send and extract request;Described extract in request carries corresponding all first configured informations of the file destination;
3rd equipment receives the packet of each 4th equipment feedback;4th equipment please to receive the extraction Seek and determine the equipment that any one first configured information is locally stored;
The segmentation information that 3rd equipment is carried to each packet is verified, after each segmentation information is verified successfully, Based on each packet received, the file destination is generated;Wherein, the segmentation information includes the first configured information.
Fourth aspect, the embodiment of the present invention also proposes a kind of file storage device, including:
Determining unit, for determined in storing network in file-sharing for shared storage file destination at least one Second equipment;
Generation unit, for splitting to the file destination, generates multiple packets;
First transmitting element, for packet corresponding with each second equipment to be sent to each self-corresponding second equipment and enters Row storage;
Wherein, the packet carries segmentation information;The segmentation information includes:First configured information;Described first Configured information is device identification and the file destination of first equipment according to the equipment for storing the packet File identification generation.
5th aspect, the embodiment of the present invention also proposes a kind of file extraction element, including:
First transmitting element, for after the request for extracting file destination is received, being stored to file-sharing in network Each equipment sends the first extraction request respectively;The file destination corresponding all first is carried in the first extraction request Configured information;
First receiving unit, the extraction response for receiving each 4th equipment feedback;4th equipment is receives State the equipment that any one first configured information is locally stored in the first extraction request and determination;The extraction response is carried Check information;The check information is the 4th equipment based on the corresponding packet generation of the first configured information being locally stored Check information;
First processing units, for being verified to each check information, after each check information is verified successfully, to each 4th Equipment sends second and extracts request;The first instruction letter that each 4th equipment is locally stored is carried in the second extraction request Breath;
Second receiving unit, the corresponding data of the first configured information being locally stored for receiving each 4th equipment feedback Bag;
Generation unit, for each packet received based on second receiving unit, generates the file destination.
6th aspect, the embodiment of the present invention also proposes a kind of file extraction element, including:
Second transmitting element, for after the request for extracting file destination is received, being stored to file-sharing in network Each equipment sends extraction request respectively;Described extract carries the corresponding all first instructions letters of the file destination in request Breath;
3rd receiving unit, the packet for receiving each 4th equipment feedback;4th equipment is described to receive Extract the equipment that any one first configured information is locally stored in request and determination;
Second processing unit, for being verified to the segmentation information that each packet is carried, is verified into each segmentation information After work(, based on each packet received, the file destination is generated;Wherein, the segmentation information includes the first configured information.
The embodiment of the present invention propose file memory method and device, by by file division to be stored into many parts, often Part is stored on different devices and uniquely indicated using device identification with file identification, realizes that file is stored, it is adaptable to The higher scene of security, prevents that data are compromised or steal.
The embodiment of the present invention propose file memory method and device on the basis of, the embodiment of the present invention it is further proposed that File extraction method and device, are verified to the configured information generated based on device identification with file identification, it is determined that being stored with Each equipment of file fragmentation, so that based on the corresponding segmentation sequence number of file fragmentation, each file fragmentation to be synthesized to text to be extracted Part, realizes that file is extracted, it is adaptable to the higher scene of security, prevents that data are compromised or steal.
Brief description of the drawings
In order to illustrate the technical solution of the embodiments of the present invention more clearly, below will be in embodiment or description of the prior art The required accompanying drawing used is briefly described, it should be apparent that, drawings in the following description are only some realities of the present invention Example is applied, for those of ordinary skill in the art, without having to pay creative labor, can also be attached according to these Figure obtains other accompanying drawings.
Fig. 1 is a kind of file memory method flow chart provided in an embodiment of the present invention;
Fig. 2 is another file memory method flow chart provided in an embodiment of the present invention;
Fig. 3 is another file memory method flow chart provided in an embodiment of the present invention;
Fig. 4 is a kind of file extraction method flow chart provided in an embodiment of the present invention;
Fig. 5 is another file extraction method flow chart provided in an embodiment of the present invention;
Fig. 6 is a kind of file storage device block diagram provided in an embodiment of the present invention;
Fig. 7 is a kind of file extraction element block diagram provided in an embodiment of the present invention;
Fig. 8 is another file extraction element block diagram provided in an embodiment of the present invention;
Fig. 9 is a kind of structural representation of file storage device provided in an embodiment of the present invention;
Figure 10 is a kind of structural representation of file extraction element provided in an embodiment of the present invention;
Figure 11 is another file extraction element structural representation provided in an embodiment of the present invention.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is carried out clear, complete Site preparation is described, it is clear that described embodiment is a part of embodiment of the invention, rather than whole embodiments.Based on this hair Embodiment in bright, the every other implementation that those of ordinary skill in the art are obtained under the premise of creative work is not made Example, belongs to the scope of protection of the invention.
It should be noted that herein, the relational terms of such as " first " and " second " or the like are used merely to phase Same title makes a distinction, rather than implies the relation or order between these titles.
File memory method first embodiment
The present embodiment discloses a kind of file memory method, as shown in Figure 1, it may include following steps 101~103:
101st, the first equipment determined in file-sharing stores network for shared storage file destination at least one Second equipment.
In the present embodiment, shared storage network is for example including near field LAN, non-near field LAN and/or non-local net. Near-field communication (Near Field Communication, NFC) is also known as wireless near field communication, be a kind of short-range high frequency without Line communication technology, it is allowed to carry out contactless Point-to-Point Data interaction between equipment in the case of close to each other.
In the present embodiment, near field LAN for example can create AP focuses by an equipment, and other equipment adds the AP LAN formed by focus, in another example the direct-connected GO of WIFI can be created by an equipment, (Group Owner, group is all Person), other equipment is added to LAN formed by the GO as GC (Group Client, organize client), in another example can be with Pass through the LAN that closely connected mode is formed such as bluetooth, infrared.
In the present embodiment, the first equipment is that file-sharing stores the equipment that storage file destination request is received in network, It can be seen that, any equipment for receiving storage file destination request is the first equipment in file-sharing storage network.
In the present embodiment, chosen in each equipment that the second equipment is included by the first equipment from file-sharing storage network, choosing Rule is taken to pre-set, such as the second equipment stores in network for file-sharing and sets up setting for trusted relationships with the first equipment Standby, trusted relationships are, for example, " good friend ".
In the present embodiment, if the first equipment using itself as the equipment of shared storage file destination, the first equipment can be with Second equipment is chosen, multiple second equipment can also be chosen;If the first equipment does not regard itself as shared storage target text The equipment of part, then the first equipment should choose multiple second equipment.
102nd, first equipment is split to the file destination, generates multiple packets.
In the present embodiment, the number of the packet of generation is the number of the equipment of the shared storage file destination.
In the present embodiment, the packet carries segmentation information;The segmentation information includes:First configured information;Institute It is device identification and the target of first equipment according to the equipment for storing the packet to state the first configured information The file identification generation of file.It can be seen that, the first configured information is provided simultaneously with file destination information and facility information, can uniquely refer to Show the equipment of shared storage file destination, the equipment that the first configured information can also be interpreted as to the shared storage file destination ID.
In the present embodiment, when equipment is mobile phone, the first configured information can be the cryptographic Hash plus mobile phone of addition time IMEI (International Mobile Equipment Identity, International Mobile Equipment Identity code) adds file destination again File identification code.
In the present embodiment, file destination can averagely be split, that is, the data content that the packet that generates is carried it is big It is small identical;File destination can be subjected to irregular fractionated, that is, the data content that the packet that generates is carried it is of different sizes.
103rd, packet corresponding with each second equipment is sent to each self-corresponding second equipment and entered by first equipment Row storage.
It can be seen that, for different file destinations, the first equipment can select the second different equipment, can also select identical The second equipment, when selecting the second equipment of identical, the first configured information that the first equipment distributes to second equipment is different, Namely first equipment distribute to second equipment ID it is different, different ID indicate different file destinations.
It can be seen that, the file memory method that the embodiment of the present invention is proposed, by by file division to be stored into many parts, every part Store on different devices and uniquely indicated using device identification with file identification, realize that file is stored, it is adaptable to pacify The higher scene of full property, prevents that data are compromised or steal.
File memory method second embodiment
The present embodiment discloses a kind of file memory method, as shown in Figure 2, it may include following steps 201~203:
201st, the first equipment determined in file-sharing stores network for shared storage file destination at least one Second equipment.
202nd, first equipment is split to the file destination, generates multiple packets.
In the present embodiment, the packet carries segmentation information;The segmentation information includes:First configured information and Two configured informations;First configured information is device identification of first equipment according to the equipment for storing the packet And the file identification generation of the file destination;Second configured information is used for the data content for indicating that packet is carried Segmentation sequence number.
203rd, packet corresponding with each second equipment is sent to each self-corresponding second equipment and entered by first equipment Row storage.
Difference with first embodiment is:In the present embodiment, segmentation information not only includes the first configured information, in addition to Second configured information, the segmentation sequence number for indicating the data content that packet is carried.The data content that packet is carried can be managed The data content corresponding to any file fragmentation in the multiple file fragmentations for solving to obtain after splitting file destination.
In the present embodiment, segmentation sequence number is used to refer to the segmentation order of the data content of packet carrying, and the present embodiment is not The specific representation of segmentation sequence number is limited, for example, can be numeral, letter or custom order numbering.
In the present embodiment, step 201 and 203 identical with step 101 in first embodiment and 103, the present embodiment is no longer gone to live in the household of one's in-laws on getting married State.
File memory method 3rd embodiment
The present embodiment discloses a kind of file memory method, including two schemes:First scheme and alternative plan, are illustrated It is as follows:
First scheme, on the basis of first embodiment, file memory method disclosed in the present embodiment is also included in Fig. 1 not The following steps 104 shown:
104th, first equipment stores the first corresponding relation and the second corresponding relation;
Wherein, first corresponding relation is the file destination and the corresponding relation of each first configured information;Described Two corresponding relations are the corresponding relation of each first configured information and each second configured information;Second configured information is used to indicate The segmentation sequence number for the data content that packet is carried.
In the present embodiment, the first corresponding relation can be regarded as the corresponding relation of file destination and each ID, the second corresponding relation It can be regarded as each ID and the corresponding relation of each segmentation sequence number.
In the present embodiment, the first equipment is easy to follow-up to mesh by storing the first corresponding relation and the second corresponding relation Mark the recovery of file.
In the present embodiment, the first corresponding relation and the second corresponding relation of storage can be encrypted for the first equipment, protect Demonstrate,prove security.
Alternative plan, on the basis of second embodiment, file memory method disclosed in the present embodiment is also included in Fig. 2 not The following steps 204 shown:
204th, first equipment stores the first corresponding relation and the second corresponding relation;
Wherein, first corresponding relation is the file destination and the corresponding relation of each first configured information;Described Two corresponding relations are the corresponding relation of each first configured information and each second configured information;Second configured information is used to indicate The segmentation sequence number for the data content that packet is carried.
In the present embodiment, step 204 is identical with the step 104 in first scheme, repeats no more.
File memory method fourth embodiment
The present embodiment discloses a kind of file memory method, on the basis of second embodiment, file disclosed in the present embodiment Storage method also includes the following steps 204 ' not shown in Fig. 2:
204 ', first equipment stores the first corresponding relation;
Wherein, first corresponding relation is the file destination and the corresponding relation of each first configured information.
Difference with 3rd embodiment alternative plan is:In the present embodiment, the first equipment only stores the first corresponding relation, The corresponding relation of file destination and each ID is only stored, without storing the second corresponding relation, i.e., each ID and each segmentation sequence is not stored Number corresponding relation, reason step 202 shown in Figure 2, the packet generated in step 202 carries segmentation information;Segmentation Information includes:First configured information and the second configured information;First configured information is interpreted as ID, and the second configured information is interpreted as point Cut sequence number, it is seen then that ID and the corresponding relation of segmentation sequence number have been contained in packet, the first equipment is recovering file destination When, the segmentation information carried based on packet, you can synthesis file destination, therefore, in the present embodiment, the first equipment only stores the One corresponding relation.
In the present embodiment, the first corresponding relation of storage can be encrypted for the first equipment, it is ensured that security.
The embodiment of file memory method the 5th
The present embodiment discloses a kind of file memory method, on the basis of second embodiment, file disclosed in the present embodiment Storage method also includes the following steps 205 not shown in Fig. 2:
205th, first equipment stores the first corresponding relation and the 3rd corresponding relation;
Wherein, first corresponding relation is the file destination and the corresponding relation of each first configured information;Described Three corresponding relations are each first configured information and the corresponding relation of the identification information of each packet;The identification information of the packet The identification information generated for first equipment based on the packet.
It should be noted that numeral 205 is only step mark, without other indicative functions, it will be understood by those skilled in the art that Step 204 is not present before step 205.
In the present embodiment, the identification information of packet is, for example, MD5 values, and the 3rd corresponding relation can be regarded as each ID and each The corresponding relation of MD5 values.
In the present embodiment, because the packet generated in step 202 carries segmentation information;Segmentation information includes:First Configured information and the second configured information;First configured information is interpreted as ID, and the second configured information is interpreted as splitting sequence number, it is seen then that ID and the corresponding relation of segmentation sequence number are contained in packet, therefore, in the present embodiment, the first equipment only stores first pair It should be related to, the second corresponding relation not stored.
In the present embodiment, the first equipment is easy to follow-up to target by storing the first corresponding relation and the 3rd corresponding relation The recovery of file.
In the present embodiment, the first corresponding relation and the 3rd corresponding relation of storage can be encrypted for the first equipment, protect Demonstrate,prove security.
File memory method sixth embodiment
The present embodiment discloses a kind of file memory method, on the basis of first embodiment, file disclosed in the present embodiment Storage method also includes the following steps 105 not shown in Fig. 1:
105th, first equipment stores the first corresponding relation, the second corresponding relation and the 3rd corresponding relation;
Wherein, first corresponding relation is the file destination and the corresponding relation of each first configured information;Described Two corresponding relations are the corresponding relation of each first configured information and each second configured information;Second configured information is used to indicate The segmentation sequence number for the data content that packet is carried;3rd corresponding relation is each first configured information and the mark of each packet Know the corresponding relation of information;The identification information of the packet is the mark letter that first equipment is generated based on the packet Breath.
It should be noted that numeral 105 is only step mark, without other indicative functions, it will be understood by those skilled in the art that Step 104 is not present before step 105.
In the present embodiment, because the packet generated in step 201 carries segmentation information;Segmentation information only includes first Configured information;First configured information is interpreted as ID, therefore, in the present embodiment, and the first equipment must store the first correspondence pass simultaneously System and the second corresponding relation, otherwise can not recover file destination.
The embodiment of file memory method the 7th
Respectively on the basis of 3rd embodiment, fourth embodiment, the 5th embodiment and sixth embodiment, the present embodiment is public The file memory method opened also includes:All corresponding relations of storage are sent to each second equipment and stored by the first equipment.
In the present embodiment, the second equipment can be encrypted in the corresponding relation that storage is received, and different second set It is standby to be encrypted using different AESs, further to improve security.
It can be seen that, in the present embodiment, carried out because all corresponding relations of storage are sent to each second equipment by the first equipment Storage, therefore, the equipment for recovering file destination can be any appliance in the first equipment and each second equipment, and for the 3rd Embodiment, fourth embodiment, the 5th embodiment and sixth embodiment, are only capable of recovering file destination by the first equipment.
It can be seen that, in the present embodiment, the first equipment is carried out by the way that all corresponding relations of storage are sent into each second equipment Storage so that each second equipment also has the basis for recovering file destination, adds the flexibility of file destination recovery.
The embodiment of file memory method the 8th
The present embodiment discloses a kind of file memory method, as shown in Figure 3, it may include following steps 301~303:
301st, the first equipment determined in file-sharing stores network for shared storage file destination at least one Second equipment.
302nd, first equipment is split to the file destination, generates multiple packets.
In the present embodiment, the packet carries segmentation information and data encryption information.
In the present embodiment, the segmentation information includes the first configured information;Or the segmentation information includes first and indicated Information and the second configured information;First configured information is first equipment according to the equipment for storing the packet The file identification generation of device identification and the file destination;Second configured information is used to indicate what packet was carried The segmentation sequence number of data content.
303rd, packet corresponding with each second equipment is sent to each self-corresponding second equipment and entered by first equipment Row storage.
Difference with first embodiment and second embodiment is:In the present embodiment, packet not only carries segmentation letter Breath, also carries data encryption information.
In the present embodiment, data encryption information is, for example, AES, and data encryption information is the data that packet is carried The encryption information of content.
In the present embodiment, the data encryption information that different pieces of information bag is carried can be with identical, can also be different.
In the present embodiment, step 301 and 303 identical with step 101 in first embodiment and 103, the present embodiment is no longer gone to live in the household of one's in-laws on getting married State.
The embodiment of file memory method the 9th
The present embodiment discloses a kind of file memory method, including two schemes:First scheme and alternative plan, are illustrated It is as follows:
First scheme, segmentation information includes the basis of the first configured information and the second configured information in the 8th embodiment On, file memory method disclosed in the present embodiment also includes the following steps 304 not shown in Fig. 3:
304th, first equipment stores the first corresponding relation and the 4th corresponding relation;
Wherein, first corresponding relation is the file destination and the corresponding relation of each first configured information;Described Four corresponding relations are the corresponding relation between each segmentation information and each data encryption information.
Alternative plan, on the basis of segmentation information only includes the first configured information in the 8th embodiment, the present embodiment is public The file memory method opened also includes the following steps 304 ' not shown in Fig. 3:
304 ', first equipment stores the first corresponding relation, the second corresponding relation and the 4th corresponding relation.
Wherein, second corresponding relation is the corresponding relation of each first configured information and each second configured information;It is described Second configured information is used for the segmentation sequence number for indicating the data content that packet is carried.
The embodiment of file memory method the tenth
The present embodiment discloses a kind of file memory method, including two schemes:First scheme and alternative plan, are illustrated It is as follows:
First scheme, segmentation information includes the basis of the first configured information and the second configured information in the 8th embodiment On, file memory method disclosed in the present embodiment also includes the following steps 305 not shown in Fig. 3:
305th, first equipment stores the first corresponding relation and the 3rd corresponding relation;
Wherein, first corresponding relation is the file destination and the corresponding relation of each first configured information;Described Three corresponding relations are each first configured information and the corresponding relation of the identification information of each packet;The identification information of the packet The identification information generated for first equipment based on the packet.
It should be noted that numeral 305 is only step mark, without other indicative functions, it will be understood by those skilled in the art that Step 304 is not present before step 305.
Difference with the 5th embodiment is that packet also carries data encryption information in first scheme.
Alternative plan, on the basis of segmentation information only includes the first configured information in the 8th embodiment, the present embodiment is public The file memory method opened also includes the following steps 305 ' not shown in Fig. 3:
305 ', first equipment stores the first corresponding relation, the second corresponding relation and the 3rd corresponding relation.
Wherein, second corresponding relation is the corresponding relation of each first configured information and each second configured information;It is described Second configured information is used for the segmentation sequence number for indicating the data content that packet is carried.
It should be noted that numeral 305 ' is only step mark, without other indicative functions, it will be understood by those skilled in the art that Step 305 ' step 304 is not present before '.
Difference with sixth embodiment is that packet also carries data encryption information in alternative plan.
The embodiment of file memory method the 11st
On the basis of the 9th embodiment, file memory method also includes disclosed in the present embodiment:First equipment will be described First corresponding relation and the 4th corresponding relation are sent to each second equipment and stored.
It can be seen that, in the present embodiment, because first corresponding relation and the 4th corresponding relation are sent to by the first equipment Each second equipment is stored, therefore, and the equipment for recovering file destination can be any in the first equipment and each second equipment Equipment, and for the 9th embodiment, be only capable of recovering file destination by the first equipment.
It can be seen that, in the present embodiment, first corresponding relation and the 4th corresponding relation are sent to each by the first equipment Two equipment are stored so that each second equipment also has the basis for recovering file destination, add the spirit of file destination recovery Activity.
The embodiment of file memory method the 12nd
On the basis of the tenth embodiment, file memory method also includes disclosed in the present embodiment:First equipment will be described First corresponding relation, the second corresponding relation and the 3rd corresponding relation are sent to each second equipment and stored.
It can be seen that, in the present embodiment, because the first equipment is by first corresponding relation, the second corresponding relation and the 3rd pair It should be related to that being sent to each second equipment is stored, therefore, the equipment for recovering file destination can be the first equipment and each second Any appliance in equipment, and for the tenth embodiment, be only capable of recovering file destination by the first equipment.
It can be seen that, in the present embodiment, the first equipment closes first corresponding relation, the second corresponding relation and the 3rd correspondence System is sent to each second equipment and stored so that each second equipment also has the basis for recovering file destination, adds target The flexibility of file access pattern.
The embodiment of file memory method the 13rd
The present embodiment discloses a kind of file memory method, on the basis of first embodiment, in the present embodiment, and packet is also The 3rd configured information is carried, the 3rd configured information is used to indicate the corresponding file name suffix letter of the storage packet Breath.
In the present embodiment, because packet carries the 3rd configured information, for indicating that the storage packet is corresponding File name suffix information, therefore, packet can be stored into the filename and described by receiving the equipment of packet The file of file name suffix.The equipment of data storage bag can be judged based on the file name suffix storage packet whether The corresponding packet of file fragmentation split for some file destination.
In the present embodiment, because packet carries the 3rd configured information so that packet possesses the ability of migration, storage The equipment of packet can copy packet on miscellaneous equipment to, and other equipment also can recognize that the packet is some target text The corresponding packet of file fragmentation that part is split, while the segmentation information that the packet is carried also is can recognize that, after being beneficial to The recovery of continuous file destination.
It should be noted that in the embodiment of file memory method the 7th, the 11st embodiment and the 12nd embodiment, first Equipment is that all corresponding relations of storage are sent into the second equipment to be stored so that each second equipment, which has, recovers target The basis of file, in order to further increase the flexibility for recovering file destination, the first equipment can be by all corresponding relations of storage It is sent to all devices in file-sharing storage network so that any appliance can recover target in file-sharing storage network File.
File extraction method first embodiment
The present embodiment discloses a kind of file extraction method, as shown in Figure 4, it may include following steps 401 to 405:
401st, the 3rd equipment stores each equipment in network after the request for extracting file destination is received to file-sharing First is sent respectively extracts request;The file destination corresponding all first is carried in the first extraction request and indicates letter Breath.
In the present embodiment, file destination (such as file memory method 3rd embodiment to the is recovered according to fixing equipment Six embodiments, the 9th embodiment, the tenth embodiment), then the 3rd equipment is the first equipment;Recover mesh according to not fixing equipment File (such as embodiment of file memory method the 7th, the 11st embodiment and the 12nd embodiment) is marked, then the 3rd equipment can be with For any appliance in all second equipment, or any appliance in file-sharing storage network.
In the present embodiment, the first configured information is device identification of first equipment according to the equipment for storing the packet And the file identification generation of the file destination, first equipment is to receive the equipment for storing the file destination.
In the present embodiment, the 3rd equipment is also the equipment in file-sharing storage network, to file-sharing described in step 401 Storage network in each equipment send respectively the first extraction request, be specially to file-sharing store network in except the 3rd equipment it Each equipment of remaining outer sends the first extraction request respectively.
In the present embodiment, the 3rd equipment needs to search from each corresponding relation being locally stored and determine the file destination Corresponding all first configured informations.
402nd, the 3rd equipment receives the extraction response of each 4th equipment feedback;4th equipment is described to receive First extracts the equipment that any one first configured information is locally stored in request and determination;The extraction response carries school Test information;The check information is the 4th equipment based on the corresponding packet generation of the first configured information being locally stored Check information.
403rd, the 3rd equipment is verified to each check information, after each check information is verified successfully, to each 4th Equipment sends second and extracts request;The first instruction letter that each 4th equipment is locally stored is carried in the second extraction request Breath.
In the present embodiment, due to check information be the 4th equipment based on the corresponding data of the first configured information being locally stored The check information of generation is wrapped, therefore, check information can be regarded as the information generated based on the first configured information, and the 3rd equipment is to each Check information is verified, equivalent to being verified based on the first configured information that device identification is generated with file identification.
404th, the 3rd equipment receives the corresponding data of the first configured information being locally stored of each 4th equipment feedback Bag.
405th, the 3rd equipment generates the file destination based on each packet received.
It can be seen that, the present embodiment proposes file extraction method, and the 3rd equipment stores respectively setting in network to file-sharing first Preparation send the first extraction to ask, and corresponding all first configured informations of file destination are carried in the first extraction request, so that The equipment feedback check information for any one the first configured information that must be stored with;Then the 3rd equipment is verified to check information, After verifying successfully, the second extraction request is sent to successful corresponding device is verified, carries and is verified successfully in the second extraction request Corresponding device storage the first configured information so that the equipment feeds back the corresponding packet of the first configured information;Last Three equipment and then each packet generation file destination based on feedback, are saved in distinct device, i.e., because file destination is divided Make there is an equipment to be broken into, also file destination will not be caused to be resumed and extract, it is adaptable to the higher scene of security, prevent Only data are compromised or steal.
File extraction method second embodiment
The present embodiment discloses a kind of file extraction method, on the basis of file extraction method first embodiment, this implementation In the disclosed file extraction method of example, described first extracts request is closed for the 3rd equipment based on the first correspondence being locally stored The extraction request of system's generation;First corresponding relation is the file destination and the corresponding relation of each first configured information.
It can be seen that, the present embodiment is defined to the 3rd equipment, limits the equipment of extractable file destination to be stored with the The equipment of one corresponding relation, if the equipment for not storing the first corresponding relation receives the request for extracting file destination, the equipment The prompt message that refusal is extracted should be provided.
File extraction method 3rd embodiment
The present embodiment discloses a kind of file extraction method, including two schemes:First scheme and alternative plan, are illustrated It is as follows:
First scheme, on the basis of file extraction method first embodiment, file extraction method disclosed in the present embodiment In, the check information includes the first configured information;
The 3rd equipment is verified to each check information described in step 403, including:
Whether the first configured information that the 3rd equipment judges the check information and included is the file destination correspondence The first configured information;If so, then verifying successfully.
Alternative plan, on the basis of file extraction method second embodiment, file extraction method disclosed in the present embodiment In, the check information includes the first configured information;
The 3rd equipment is verified to each check information described in step 403, including:
Whether the first configured information that the 3rd equipment judges the check information and included is the file destination correspondence The first configured information;If so, then verifying successfully.
It can be seen that, first scheme is a kind of file extraction method for file memory method 3rd embodiment, alternative plan It is a kind of file extraction method for file memory method fourth embodiment, two schemes have in common that check information only Including the first configured information, difference is, packet is only carried including the first configured information, i.e. ID in first scheme, and the Packet carries the first configured information and the second configured information, i.e. ID and segmentation sequence number in two schemes.
Two schemes disclosed in the present embodiment, by being verified to the first configured information, it may be determined that the file destination that is stored with point Each equipment of piece, and then file destination burst is obtained from each equipment for the file destination burst that is stored with, and based on file destination point Piece synthesizes file destination.
File extraction method fourth embodiment
The present embodiment discloses a kind of file extraction method, and based on file extraction method 3rd embodiment, the present embodiment is disclosed File extraction method, the 3rd equipment described in step 405 generates the file destination based on each packet received, including Step A1 and A2 not shown in Fig. 4:
A1, second corresponding relation of the 3rd equipment based on storage, determine the data content that each packet is carried Segmentation sequence number;Wherein, second corresponding relation is the corresponding relation of each first configured information and each second configured information;Institute State the segmentation sequence number that the second configured information is used to indicate the data content that packet is carried.
The segmentation sequence number for the data content that A2, the 3rd equipment are carried based on each packet, by each data The data content that bag is carried is combined into the file destination.
It can be seen that, the present embodiment is a kind of file extraction method for file memory method 3rd embodiment, the present embodiment In, no matter whether packet carries the second configured information, that is, split the 3rd equipment in sequence number, the present embodiment and store the second correspondence Relation, i.e., each ID and the corresponding relation of each segmentation sequence number, to prevent the segmentation sequence number that packet is carried from causing due to interference error The problem of file destination can not being synthesized.
The embodiment of file extraction method the 5th
The present embodiment discloses a kind of file extraction method, and based on file extraction method 3rd embodiment, the present embodiment is disclosed File extraction method, each packet also carries the second configured information;Second configured information is used to indicate data Wrap the segmentation sequence number of the data content carried;3rd equipment described in step 405 generates the mesh based on each packet received Mark file, including step B1 and B2 not shown in Fig. 4:
The second configured information that B1, the 3rd equipment are carried based on each packet, determines that each packet is taken The segmentation sequence number of the data content of band.
The segmentation sequence number for the data content that B2, the 3rd equipment are carried based on each packet, by each data The data content that bag is carried is combined into the file destination.
It can be seen that, the present embodiment is a kind of file extraction method for file memory method fourth embodiment, the present embodiment In, because packet carries the second configured information, that is, splitting the 3rd equipment in sequence number, the present embodiment can be without second pair of storage It should be related to, i.e., each ID and the corresponding relation of each segmentation sequence number, the second corresponding relation belong to redundancy for the present embodiment, 3rd equipment need not search the second corresponding relation, be directly based upon the second configured information that each packet is carried, quick to determine respectively The segmentation sequence number for the data content that packet is carried, and then improve synthesis file destination speed.
File extraction method sixth embodiment
The present embodiment discloses a kind of file extraction method, in the base of file extraction method first embodiment or second embodiment On plinth, in file extraction method disclosed in the present embodiment, the check information includes the first configured information and the second instruction letter Breath;Second configured information is used for the segmentation sequence number for indicating the data content that packet is carried;
The 3rd equipment is verified to each check information described in step 403, including:
3rd equipment judges the first finger indicated in the second corresponding relation of storage with the presence or absence of the check information Show the corresponding relation of information and the second configured information;If in the presence of verifying successfully;Wherein, second corresponding relation is each The corresponding relation of first configured information and each second configured information.
It can be seen that, the present embodiment is a kind of file extraction method for file memory method 3rd embodiment alternative plan, In the present embodiment, the 3rd equipment is stored with the second corresponding relation, i.e., each ID and the corresponding relation of each segmentation sequence number, to prevent data The segmentation sequence number carried is wrapped due to the problem of interference error leads to not synthesis file destination.
The embodiment of file extraction method the 7th
The present embodiment discloses a kind of file extraction method, and based on file extraction method sixth embodiment, the present embodiment is disclosed File extraction method, the 3rd equipment described in step 405 generates the file destination based on each packet received, including Step C1 and C2 not shown in Fig. 4:
C1, the 3rd equipment are based on second corresponding relation, determine the data content that each packet is carried Split sequence number;
The segmentation sequence number for the data content that C2, the 3rd equipment are carried based on each packet, by each data The data content that bag is carried is combined into the file destination.
It can be seen that, the present embodiment is a kind of file extraction method for file memory method 3rd embodiment alternative plan, In the present embodiment, second corresponding relation of the 3rd equipment based on storage, i.e., each ID with it is each segmentation sequence number corresponding relation, it is determined that respectively The segmentation sequence number for the data content that packet is carried, it is ensured that the order of file destination burst synthesis is correct.
The embodiment of file extraction method the 8th
The present embodiment discloses a kind of file extraction method, and the present embodiment discloses a kind of file extraction method, including two kinds of sides Case:First scheme and alternative plan, are described as follows:
First scheme, on the basis of file extraction method first embodiment, file extraction method disclosed in the present embodiment In, the check information includes:The identification information of first configured information and packet;
The 3rd equipment is verified to each check information described in step 403, including:
3rd equipment judges the first finger indicated in the 3rd corresponding relation of storage with the presence or absence of the check information Show the corresponding relation of the identification information of information and packet;If in the presence of verifying successfully;Wherein, the 3rd corresponding relation For each first configured information and the corresponding relation of the identification information of each packet.
Alternative plan, on the basis of file extraction method second embodiment, file extraction method disclosed in the present embodiment In, the check information includes:The identification information of first configured information and packet;
The 3rd equipment is verified to each check information described in step 403, including:
3rd equipment judges the first finger indicated in the 3rd corresponding relation of storage with the presence or absence of the check information Show the corresponding relation of the identification information of information and packet;If in the presence of verifying successfully;Wherein, the 3rd corresponding relation For each first configured information and the corresponding relation of the identification information of each packet.
It can be seen that, first scheme is a kind of file extraction method for the embodiment of file memory method the 5th, alternative plan It is a kind of file extraction method for file memory method sixth embodiment, two schemes have in common that check information bag The identification information of the first configured information and packet is included, difference is, packet carries first and indicates letter in first scheme Breath and the second configured information, i.e. ID and segmentation sequence number, and packet only carries the first configured information, i.e. ID in alternative plan.
The embodiment of file extraction method the 9th
The present embodiment discloses a kind of file extraction method, on the basis of the embodiment of file extraction method the 8th, this implementation The disclosed file extraction method of example, each packet carries the second configured information, and second configured information is used to indicate The segmentation sequence number for the data content that packet is carried;3rd equipment described in step 405 generates institute based on each packet received State file destination, including step D1 and D2 not shown in Fig. 4:Including:
The second configured information that D1, the 3rd equipment are carried based on each packet, determines that each packet is taken The segmentation sequence number of the data content of band;
The segmentation sequence number for the data content that D2, the 3rd equipment are carried based on each packet, by each data The data content that bag is carried is combined into the file destination.
It can be seen that, the present embodiment is a kind of file extraction method for the embodiment of file memory method the 5th, the present embodiment In, because packet carries the second configured information, that is, splitting the 3rd equipment in sequence number, the present embodiment can be without second pair of storage It should be related to, i.e., each ID and the corresponding relation of each segmentation sequence number, the second corresponding relation belong to redundancy for the present embodiment, 3rd equipment need not search the second corresponding relation, be directly based upon the second configured information that each packet is carried, quick to determine respectively The segmentation sequence number for the data content that packet is carried, and then improve synthesis file destination speed.
The embodiment of file extraction method the tenth
The present embodiment discloses a kind of file extraction method, on the basis of the embodiment of file extraction method the 8th, the present embodiment Disclosed file extraction method, the 3rd equipment described in step 405 generates the file destination based on each packet received, Including the step E1 and E2 not shown in Fig. 4:
E1, second corresponding relation of the 3rd equipment based on storage, determine the data content that each packet is carried Segmentation sequence number;Wherein, second corresponding relation is the corresponding relation of each first configured information and each second configured information;Institute State the segmentation sequence number that the second configured information is used to indicate the data content that packet is carried;
The segmentation sequence number for the data content that E2, the 3rd equipment are carried based on each packet, by each data The data content that bag is carried is combined into the file destination.
It can be seen that, the present embodiment is a kind of file extraction method for file memory method sixth embodiment, the present embodiment In, because packet does not carry the second configured information, that is, split sequence number, therefore, the 3rd equipment need to store the second corresponding relation, i.e., Each ID and the corresponding relation of each segmentation sequence number, the 3rd equipment are searched the second corresponding relation, determined in the data that each packet is carried The segmentation sequence number of appearance, it is ensured that the order of file destination burst synthesis is correct.
The embodiment of file extraction method the 11st
The present embodiment discloses a kind of file extraction method, in the base of file extraction method first embodiment or second embodiment On plinth, in file extraction method disclosed in the present embodiment, the check information includes:Segmentation information and data encryption information; The segmentation information includes the first configured information;
The 3rd equipment is verified to each check information described in step 403, including:
3rd equipment judges the segmentation letter indicated in the 4th corresponding relation of storage with the presence or absence of the check information Corresponding relation between breath and data encryption information;If in the presence of verifying successfully;Wherein, the 4th corresponding relation is each The corresponding relation of segmentation information and each data encryption information.
It can be seen that, the present embodiment is a kind of file extraction method for the embodiment of file memory method the 9th, the present embodiment Middle segmentation information includes the first configured information, i.e. ID, and the 4th corresponding relation is each ID and each data encryption information corresponding relation, Check information includes segmentation information and data encryption information, i.e. ID and data encryption information, illustrates to carry number in packet According to encryption information, therefore, what the data encryption information carried in availability data bag was carried to deserved decipherment algorithm to packet Data content is decrypted, and obtains file destination burst.
The embodiment of file extraction method the 12nd
The present embodiment discloses a kind of file extraction method, on the basis of the embodiment of file extraction method the 11st, this reality File extraction method disclosed in example is applied, each packet also carries data encryption information;3rd equipment base described in step 405 In each packet received, the file destination, including step F1 and F2 not shown in Fig. 4 are generated:
F1, second corresponding relation of the 3rd equipment based on storage, determine the data content that each packet is carried Segmentation sequence number;Wherein, second corresponding relation is the corresponding relation of each first configured information and each second configured information;Institute State the segmentation sequence number that the second configured information is used to indicate the data content that packet is carried;
The segmentation sequence number and each data for the data content that F2, the 3rd equipment are carried based on each packet The data encryption information carried is wrapped, the data content that each packet is carried is combined into the file destination.
In the present embodiment, because the 3rd equipment is stored with the second corresponding relation, i.e., each ID and each the corresponding of segmentation sequence number are closed System, therefore, the segmentation information that packet is carried may include the first configured information, may also comprise the first configured information and second and indicate Information.That is, no matter whether the segmentation information that packet is carried includes in the second configured information, the present embodiment, the 3rd equipment is equal Store the second corresponding relation, i.e., each ID and the corresponding relation of each segmentation sequence number, with prevent the segmentation sequence number that segmentation information includes by The problem of interference error leads to not synthesis file destination.
The embodiment of file extraction method the 13rd
The present embodiment discloses a kind of file extraction method, on the basis of the embodiment of file extraction method the 11st, this reality File extraction method disclosed in example is applied, the segmentation information also includes the second configured information;Second configured information is used to refer to Show the segmentation sequence number for the data content that packet is carried;Each packet also carries the data encryption information;Step 405 3rd equipment generates the file destination based on each packet received, including step G1 not shown in Fig. 4 and G2:
The second configured information in the segmentation information that G1, the 3rd equipment are carried based on each packet, determines institute State the segmentation sequence number for the data content that each packet is carried;
The segmentation sequence number and each data for the data content that G2, the 3rd equipment are carried based on each packet The data encryption information carried is wrapped, the data content that each packet is carried is combined into the file destination.
In the present embodiment, because the segmentation information that packet is carried includes the first configured information and the second configured information, because The 3rd equipment can be without storing the second corresponding relation, i.e., each ID and the corresponding relation of each segmentation sequence number, second in this present embodiment Corresponding relation belongs to redundancy for the present embodiment, and the 3rd equipment need not search the second corresponding relation, be directly based upon The second configured information that each packet is carried, quickly determines the segmentation sequence number for the data content that each packet is carried, and then improves Synthesis file destination speed.
The embodiment of file extraction method the 14th
The present embodiment discloses a kind of file extraction method, in the base of file extraction method first embodiment or second embodiment On plinth, in file extraction method disclosed in the present embodiment, the check information includes:The mark of first configured information and packet Know information;The packet carries data encryption information;
The 3rd equipment is verified to each check information described in step 403, including:
3rd equipment judges the first finger indicated in the 3rd corresponding relation of storage with the presence or absence of the check information Show the corresponding relation of the identification information of information and packet;If in the presence of verifying successfully;Wherein, the 3rd corresponding relation For each first configured information and the corresponding relation of the identification information of each packet.
The present embodiment is a kind of file extraction method for the embodiment of file memory method the tenth, and the 3rd equipment is deposited in advance Store up the 3rd corresponding relation, i.e., each ID and the corresponding relation of each MD5 values.Each packet carries the first configured information, the second instruction letter Breath and data encryption information, or each packet carry the first configured information and data encryption information.
The embodiment of file extraction method the 15th
The present embodiment discloses a kind of file extraction method, on the basis of the embodiment of file extraction method the 14th, this reality Apply in file extraction method disclosed in example, the 3rd equipment described in step 405 generates the target based on each packet received File, including step H1 and H2 not shown in Fig. 4:
H1, second corresponding relation of the 3rd equipment based on storage, determine the data content that each packet is carried Segmentation sequence number;Wherein, second corresponding relation is the corresponding relation of each first configured information and each second configured information;Institute State the segmentation sequence number that the second configured information is used to indicate the data content that packet is carried;
The segmentation sequence number and each data for the data content that H2, the 3rd equipment are carried based on each packet The data encryption information carried is wrapped, the data content that each packet is carried is combined into the file destination.
The present embodiment is a kind of file extraction method for the embodiment alternative plan of file memory method the tenth.
The embodiment of file extraction method the 16th
The present embodiment discloses a kind of file extraction method, on the basis of the embodiment of file extraction method the 14th, this reality Apply in file extraction method disclosed in example, each data also carry the second configured information;Second configured information is used for Indicate the segmentation sequence number for the data content that packet is carried;
3rd equipment generates the file destination based on each packet received, including:
The second configured information that 3rd equipment is carried based on each packet, determines what each packet was carried The segmentation sequence number of data content;
The segmentation sequence number and each packet for the data content that 3rd equipment is carried based on each packet The data encryption information of carrying, the data content that each packet is carried is combined into the file destination.
The present embodiment is a kind of file extraction method for the embodiment of file memory method the tenth.
The embodiment of file extraction method the 17th
The present embodiment discloses a kind of file extraction method, as shown in Figure 5, it may include following steps 501 to 503:
501st, the 3rd equipment stores each equipment in network after the request for extracting file destination is received to file-sharing Send respectively and extract request;Described extract in request carries corresponding all first configured informations of the file destination.
In the present embodiment, step 501 is identical with the step 401 of file extraction method first embodiment, and specific descriptions can join See file extraction method first embodiment, the present embodiment is repeated no more.
502nd, the 3rd equipment receives the packet of each 4th equipment feedback;4th equipment is carried described in receiving The equipment for taking request and determination that any one first configured information is locally stored.
In the present embodiment, each 4th equipment receive it is described extract request and determining be locally stored any one described the During one configured information, the corresponding packet of the first configured information is directly sent to the 3rd equipment.
503rd, the segmentation information that the 3rd equipment is carried to each packet is verified, and is verified successfully in each segmentation information Afterwards, based on each packet received, the file destination is generated;Wherein, the segmentation information includes the first configured information.
In the present embodiment, the first configured information is device identification of first equipment according to the equipment for storing the packet And the file identification generation of the file destination, first equipment is to receive the equipment for storing the file destination.
It can be seen that, the present embodiment proposes file extraction method, to the configured information generated based on device identification and file identification Verified, it is determined that each equipment for the file fragmentation that is stored with, so that based on the corresponding segmentation sequence number of file fragmentation, by each file point Piece synthesizes file to be extracted, realize file extract, it is adaptable to the higher scene of security, prevent data compromised or Steal.
The embodiment of file extraction method the 18th
The present embodiment discloses a kind of file extraction method, on the basis of the embodiment of file extraction method the 17th, this reality Apply in file extraction method disclosed in example, described extract asks to be the 3rd equipment based on the first corresponding relation being locally stored The extraction request of generation;First corresponding relation is the file destination and the corresponding relation of each first configured information.
It can be seen that, the present embodiment is defined to the 3rd equipment, limits the equipment of extractable file destination to be stored with the The equipment of one corresponding relation, if the equipment for not storing the first corresponding relation receives the request for extracting file destination, the equipment The prompt message that refusal is extracted should be provided.
The embodiment of file extraction method the 19th
The present embodiment discloses a kind of file extraction method, in the embodiment of file extraction method the 17th or the 18th embodiment On the basis of, in file extraction method disclosed in the present embodiment, the segmentation that the 3rd equipment described in step 503 is carried to each packet Information is verified, including:
Whether the first configured information that the 3rd equipment judges the segmentation information and included is the file destination correspondence The first configured information;If so, then verifying successfully.
It can be seen that, the present embodiment is a kind of file extraction side for file memory method 3rd embodiment and fourth embodiment Method, by being verified to the first configured information, it may be determined that each equipment for the file destination burst that is stored with, so that it is literary from the target that is stored with Each equipment of part burst obtains file destination burst, and synthesizes file destination based on file destination burst.
The embodiment of file extraction method the 20th
The present embodiment discloses a kind of file extraction method, on the basis of the embodiment of file extraction method the 19th, this reality Apply in file extraction method disclosed in example, based on each packet received described in step 503, generate the file destination, bag Include K1 and K2:
K1, second corresponding relation of the 3rd equipment based on storage, determine the data content that each packet is carried Segmentation sequence number;Wherein, second corresponding relation is the corresponding relation of each first configured information and each second configured information;Institute State the segmentation sequence number that the second configured information is used to indicate the data content that packet is carried;
The segmentation sequence number for the data content that K2, the 3rd equipment are carried based on each packet, by each data The data content that bag is carried is combined into the file destination.
The present embodiment is a kind of file extraction method for file memory method 3rd embodiment.
The embodiment of file extraction method the 21st
The present embodiment discloses a kind of file extraction method, on the basis of the embodiment of file extraction method the 19th, this reality Apply in file extraction method disclosed in example, the segmentation information also includes:Second configured information;Second configured information is used for Indicate the segmentation sequence number for the data content that packet is carried;
Based on each packet received described in step 503, the file destination, including L1 and L2 are generated:
The second configured information in the segmentation information that L1, the 3rd equipment are carried based on each packet, determines institute State the segmentation sequence number for the data content that each packet is carried;
The segmentation sequence number for the data content that L2, the 3rd equipment are carried based on each packet, by each data The data content that bag is carried is combined into the file destination.
The present embodiment is a kind of file extraction method for file memory method fourth embodiment.
The embodiment of file extraction method the 22nd
The present embodiment discloses a kind of file extraction method, in the embodiment of file extraction method the 17th or the 18th embodiment On the basis of, in file extraction method disclosed in the present embodiment, the segmentation information also includes:Second configured information;Described Two configured informations are used for the segmentation sequence number for indicating the data content that packet is carried;
The segmentation information that 3rd equipment described in step 503 is carried to each packet is verified, including:
3rd equipment judges the first finger indicated in the second corresponding relation of storage with the presence or absence of the segmentation information Show the corresponding relation of information and the second configured information;If in the presence of verifying successfully;Wherein, second corresponding relation is each The corresponding relation of first configured information and each second configured information.
The present embodiment is a kind of file extraction method for file memory method 3rd embodiment alternative plan.
The embodiment of file extraction method the 23rd
The present embodiment discloses a kind of file extraction method, on the basis of the embodiment of file extraction method the 22nd, this In file extraction method disclosed in embodiment, based on each packet received described in step 503, the file destination is generated, Including M1 and M2:
M1, the 3rd equipment are based on second corresponding relation, determine the data content that each packet is carried Split sequence number;
The segmentation sequence number for the data content that M2, the 3rd equipment are carried based on each packet, by each data The data content that bag is carried is combined into the file destination.
The present embodiment is a kind of file extraction method for file memory method 3rd embodiment alternative plan.
The embodiment of file extraction method the 24th
The present embodiment discloses a kind of file extraction method, in the embodiment of file extraction method the 17th or the 18th embodiment On the basis of, in file extraction method disclosed in the present embodiment, each packet also carries data encryption information.
The segmentation information that 3rd equipment described in step 503 is carried to each packet is verified, including:
3rd equipment judges the segmentation letter carried in the 4th corresponding relation of storage with the presence or absence of each packet Corresponding relation between breath and data encryption information;If in the presence of verifying successfully;Wherein, the 4th corresponding relation is each The corresponding relation of segmentation information and each data encryption information.
The present embodiment is a kind of file extraction method for the embodiment of file memory method the 9th.
The embodiment of file extraction method the 25th
The present embodiment discloses a kind of file extraction method, on the basis of the embodiment of file extraction method the 24th, this In file extraction method disclosed in embodiment, based on each packet received described in step 503, the file destination is generated, Including N1 and N2:
Second corresponding relation of 3rd equipment based on storage, determines point for the data content that each packet is carried Cut sequence number;Wherein, second corresponding relation is the corresponding relation of each first configured information and each second configured information;Described Two configured informations are used for the segmentation sequence number for indicating the data content that packet is carried;
The segmentation sequence number and each packet for the data content that 3rd equipment is carried based on each packet The data encryption information of carrying, the data content that each packet is carried is combined into the file destination.
The present embodiment is a kind of file extraction method for the embodiment of file memory method the 9th.In the present embodiment, point Cutting information includes the first configured information, or segmentation information includes the first configured information and the second configured information.
The embodiment of file extraction method the 26th
The present embodiment discloses a kind of file extraction method, on the basis of the embodiment of file extraction method the 24th, this In file extraction method disclosed in embodiment, the segmentation information also includes the second configured information;Second configured information is used In the segmentation sequence number for indicating the data content that packet is carried;
3rd equipment described in step 503 generates the file destination, including P1 and P2 based on each packet received:
The second configured information in the segmentation information that P1, the 3rd equipment are carried based on each packet, determines institute State the segmentation sequence number for the data content that each packet is carried;
The segmentation sequence number and each data for the data content that P2, the 3rd equipment are carried based on each packet The data encryption information carried is wrapped, the data content that each packet is carried is combined into the file destination.
Fig. 6 shows a kind of file storage device provided in an embodiment of the present invention, it may include with lower unit:Determining unit 61st, the transmitting element 63 of generation unit 62 and first, each unit is described as follows:
Determining unit 61, for determined in storing network in file-sharing for shared storage file destination at least one The second equipment;
Generation unit 62, for splitting to the file destination, generates multiple packets;
First transmitting element 63, for packet corresponding with each second equipment to be sent into each self-corresponding second equipment Stored;
Wherein, the packet carries segmentation information;The segmentation information includes:First configured information;Described first Configured information is device identification and the file destination of first equipment according to the equipment for storing the packet File identification generation.
The file storage device that the present embodiment is provided can realize file memory method first embodiment to the 13rd implementation Each process of example, to avoid repeating, is repeated no more here.
Fig. 7 has gone out a kind of file extraction element provided in an embodiment of the present invention, it may include with lower unit:First transmitting element 71st, the first receiving unit 72, first processing units 73, the second receiving unit 74 and generation unit 75, each unit illustrate as Under:
First transmitting element 71, for after the request for extracting file destination is received, being stored to file-sharing in network Each equipment send respectively the first extraction request;Described first extracts the file destination corresponding all the is carried in request One configured information;
First receiving unit 72, the extraction response for receiving each 4th equipment feedback;4th equipment is to receive Described first extracts the equipment that any one first configured information is locally stored in request and determination;It is described to extract response carrying There is check information;The check information is the 4th equipment based on the corresponding packet life of the first configured information being locally stored Into check information;
First processing units 73, for being verified to each check information, after each check information is verified successfully, Xiang Ge Four equipment send second and extract request;The first instruction letter that each 4th equipment is locally stored is carried in the second extraction request Breath;
Second receiving unit 74, the corresponding number of the first configured information being locally stored for receiving each 4th equipment feedback According to bag;
Generation unit 75, for each packet received based on second receiving unit, generates the file destination.
The file extraction element that the present embodiment is provided can realize file extraction method first embodiment to the 16th implementation Each process of example, to avoid repeating, is repeated no more here.
Fig. 8 has gone out a kind of file extraction element provided in an embodiment of the present invention, it may include with lower unit:Second transmitting element 81st, the 3rd receiving unit 82 and second processing unit 83, each unit are described as follows:
Second transmitting element 81, for after the request for extracting file destination is received, being stored to file-sharing in network Each equipment send respectively extraction request;Described extract carries the corresponding all first instructions letters of the file destination in request Breath;
3rd receiving unit 82, the packet for receiving each 4th equipment feedback;4th equipment is receives State the equipment extracted request and determine that any one first configured information is locally stored;
Second processing unit 83, for being verified to the segmentation information that each packet is carried, in the verification of each segmentation information After success, based on each packet received, the file destination is generated;Wherein, the segmentation information includes the first instruction letter Breath.
The file extraction element that the present embodiment is provided can realize the embodiment of file extraction method the 17th to the 26th Each process of embodiment, to avoid repeating, is repeated no more here.
A kind of computer program product is also disclosed in the embodiment of the present invention, and the computer program product is non-temporary including being stored in Computer program on state computer-readable recording medium, the computer program includes programmed instruction, when described program instruction When being computer-executed, computer is able to carry out file memory method first embodiment to each process of the 13rd embodiment, For example including:
The second equipment of at least one for shared storage file destination is determined in file-sharing stores network;
The file destination is split, multiple packets are generated;
Packet corresponding with each second equipment is sent to each self-corresponding second equipment and stored;
Wherein, the packet carries segmentation information;The segmentation information includes:First configured information;Described first Configured information is the file identification generation according to the device identification and the file destination for being used for the equipment for storing the packet 's.
The embodiment of the present invention also proposes a kind of non-transient computer readable storage medium storing program for executing, and the non-transient computer is readable to deposit Storage media stores computer instruction, and the computer instruction makes the computer perform file memory method first embodiment to the Each process of 13 embodiments, for example including:
The second equipment of at least one for shared storage file destination is determined in file-sharing stores network;
The file destination is split, multiple packets are generated;
Packet corresponding with each second equipment is sent to each self-corresponding second equipment and stored;
Wherein, the packet carries segmentation information;The segmentation information includes:First configured information;Described first Configured information is the file identification generation according to the device identification and the file destination for being used for the equipment for storing the packet 's.
Fig. 9 is the block diagram of the file storage device of another embodiment of the present invention.File storage device 900 shown in Fig. 9 Including:At least one processor 901, memory 902, at least one network interface 904 and other users interface 903.File is deposited Each component in storage device 900 is coupled by bus system 905.It is understood that bus system 905 is used to realize these Connection communication between component.Bus system 905 is in addition to including data/address bus, in addition to power bus, controlling bus and shape State signal bus.But for the sake of clear explanation, various buses are all designated as bus system 905 in fig .9.
Wherein, user interface 903 can include display, keyboard or pointing device (for example, mouse, trace ball (trackball), touch-sensitive plate or touch-screen etc..
It is appreciated that the memory 902 in the embodiment of the present invention can be volatile memory or nonvolatile memory, Or may include both volatibility and nonvolatile memory.Wherein, nonvolatile memory can be read-only storage (Read- OnlyMemory, ROM), programmable read only memory (ProgrammableROM, PROM), Erasable Programmable Read Only Memory EPROM (ErasablePROM, EPROM), Electrically Erasable Read Only Memory (ElectricallyEPROM, EEPROM) dodge Deposit.Volatile memory can be random access memory (RandomAccessMemory, RAM), and it is used as outside slow at a high speed Deposit.By exemplary but be not restricted explanation, the RAM of many forms can use, such as static RAM (StaticRAM, SRAM), dynamic random access memory (DynamicRAM, DRAM), Synchronous Dynamic Random Access Memory (SynchronousDRAM, SDRAM), double data speed synchronous dynamic RAM (DoubleDataRate SDRAM, DDRSDRAM), enhanced Synchronous Dynamic Random Access Memory (Enhanced SDRAM, ESDRAM), synchronized links Dynamic random access memory (SynchlinkDRAM, SLDRAM) and direct rambus random access memory (DirectRambusRAM, DRRAM).The memory 902 of system and method described herein be intended to including but not limited to these and The memory of any other suitable type.
In some embodiments, memory 902 stores following element, can perform unit or data structure, or Their subset of person, or their superset:Operating system 9021 and application program 9022.
Wherein, operating system 9021, comprising various system programs, such as ccf layer, core library layer, driving layer, are used for Realize various basic businesses and handle hardware based task.Application program 9022, includes various application programs, such as media Player (MediaPlayer), browser (Browser) etc., for realizing various applied business.Realize embodiment of the present invention side The program of method may be embodied in application program 9022.
In embodiments of the present invention, by calling program or the instruction of the storage of memory 902, specifically, can be application The program stored in program 9022 or instruction, processor 901 are used to perform file memory method first embodiment to the 13rd in fact Apply each process of example, for example including:
The second equipment of at least one for shared storage file destination is determined in file-sharing stores network;
The file destination is split, multiple packets are generated;
Packet corresponding with each second equipment is sent to each self-corresponding second equipment and stored;
Wherein, the packet carries segmentation information;The segmentation information includes:First configured information;Described first Configured information is the file identification generation according to the device identification and the file destination for being used for the equipment for storing the packet 's.
The method that the embodiments of the present invention are disclosed can apply in processor 901, or be realized by processor 901. Processor 901 is probably a kind of IC chip, the disposal ability with signal.In implementation process, the above method it is each Step can be completed by the integrated logic circuit of the hardware in processor 901 or the instruction of software form.Above-mentioned processing Device 901 can be general processor, digital signal processor (DigitalSignalProcessor, DSP), application specific integrated circuit (ApplicationSpecific IntegratedCircuit, ASIC), ready-made programmable gate array (FieldProgrammableGateArray, FPGA) or other PLDs, discrete gate or transistor logic Device, discrete hardware components.It can realize or perform disclosed each method, step and the box in the embodiment of the present invention Figure.General processor can be microprocessor or the processor can also be any conventional processor etc..With reference to the present invention The step of method disclosed in embodiment, can be embodied directly in hardware decoding processor and perform completion, or use decoding processor In hardware and software unit combination perform completion.Software unit can be located at random access memory, and flash memory, read-only storage can In the ripe storage medium in this area such as program read-only memory or electrically erasable programmable memory, register.The storage Medium is located at memory 902, and processor 901 reads the information in memory 902, and the step of the above method is completed with reference to its hardware Suddenly.
It is understood that embodiments described herein can with hardware, software, firmware, middleware, microcode or its Combine to realize.Realized for hardware, processing unit can be realized in one or more application specific integrated circuits (ApplicationSpecificIntegratedCircuits, ASIC), digital signal processor (DigitalSignalProcessing, DSP), digital signal processing appts (DSPDevice, DSPD), programmable logic device (ProgrammableLogicDevice, PLD), field programmable gate array (Field-ProgrammableGateArray, FPGA), general processor, controller, microcontroller, microprocessor, other electronics lists for performing herein described function In member or its combination.
Realized for software, the techniques described herein can be realized by performing the unit of function described herein.Software generation Code is storable in memory and by computing device.Memory can be realized within a processor or outside processor.
A kind of computer program product is also disclosed in the embodiment of the present invention, and the computer program product is non-temporary including being stored in Computer program on state computer-readable recording medium, the computer program includes programmed instruction, when described program instruction When being computer-executed, computer is able to carry out file extraction method first embodiment to each process of the 16th embodiment, For example including:
After the request for extracting file destination is received, store each equipment in network to file-sharing and send first respectively Extract request;Corresponding all first configured informations of the file destination are carried in the first extraction request;
Receive the extraction response of each 4th equipment feedback;4th equipment extracts request and true to receive described first Surely the equipment of any one first configured information is locally stored;The extraction response carries check information;The verification Information is check information of the 4th equipment based on the corresponding packet generation of the first configured information being locally stored;
Each check information is verified, after each check information is verified successfully, second is sent to each 4th equipment and extracts Request;The first configured information that each 4th equipment is locally stored is carried in the second extraction request;
Receive the corresponding packet of the first configured information being locally stored of each 4th equipment feedback;
Based on each packet received, the file destination is generated.
The embodiment of the present invention also proposes a kind of non-transient computer readable storage medium storing program for executing, and the non-transient computer is readable to deposit Storage media stores computer instruction, and the computer instruction makes the computer perform file extraction method first embodiment to the Each process of 16 embodiments, for example including:
After the request for extracting file destination is received, store each equipment in network to file-sharing and send first respectively Extract request;Corresponding all first configured informations of the file destination are carried in the first extraction request;
Receive the extraction response of each 4th equipment feedback;4th equipment extracts request and true to receive described first Surely the equipment of any one first configured information is locally stored;The extraction response carries check information;The verification Information is check information of the 4th equipment based on the corresponding packet generation of the first configured information being locally stored;
Each check information is verified, after each check information is verified successfully, second is sent to each 4th equipment and extracts Request;The first configured information that each 4th equipment is locally stored is carried in the second extraction request;
Receive the corresponding packet of the first configured information being locally stored of each 4th equipment feedback;
Based on each packet received, the file destination is generated.
Figure 10 is the block diagram of the file extraction element of another embodiment of the present invention.File extraction element shown in Figure 10 1000 include:At least one processor 1001, memory 1002, at least one network interface 1004 and other users interface 1003.Each component in file extraction element 1000 is coupled by bus system 1005.It is understood that bus system 1005 are used to realize the connection communication between these components.Bus system 1005 is in addition to including data/address bus, in addition to power supply Bus, controlling bus and status signal bus in addition.But for the sake of clear explanation, various buses are all designated as bus in Fig. 10 System 1005.
In some embodiments, memory 1002 stores following element, can perform unit or data structure, or Their subset of person, or their superset:Operating system 10021 and application program 10022.
Wherein, operating system 10021, comprising various system programs, such as ccf layer, core library layer, driving layer, are used for Realize various basic businesses and handle hardware based task.Application program 10022, includes various application programs, such as matchmaker Body player (MediaPlayer), browser (Browser) etc., for realizing various applied business.Realize the embodiment of the present invention The program of method may be embodied in application program 10022.
In embodiments of the present invention, by calling program or the instruction of the storage of memory 1002, specifically, can be application The program stored in program 10022 or instruction, processor 1001 are used to perform file extraction method first embodiment to the 16th Each process of embodiment, for example including:
After the request for extracting file destination is received, store each equipment in network to file-sharing and send first respectively Extract request;Corresponding all first configured informations of the file destination are carried in the first extraction request;
Receive the extraction response of each 4th equipment feedback;4th equipment extracts request and true to receive described first Surely the equipment of any one first configured information is locally stored;The extraction response carries check information;The verification Information is check information of the 4th equipment based on the corresponding packet generation of the first configured information being locally stored;
Each check information is verified, after each check information is verified successfully, second is sent to each 4th equipment and extracts Request;The first configured information that each 4th equipment is locally stored is carried in the second extraction request;
Receive the corresponding packet of the first configured information being locally stored of each 4th equipment feedback;
Based on each packet received, the file destination is generated.
Each part illustrates the embodiment that can be found in shown in Fig. 9 in the present embodiment, and the present embodiment repeats no more.
A kind of computer program product is also disclosed in the embodiment of the present invention, and the computer program product is non-temporary including being stored in Computer program on state computer-readable recording medium, the computer program includes programmed instruction, when described program instruction When being computer-executed, computer is able to carry out the embodiment of file extraction method the 17th to each mistake of the 26th embodiment Journey, for example including:
After the request for extracting file destination is received, store each equipment in network to file-sharing and send extraction respectively Request;Described extract in request carries corresponding all first configured informations of the file destination;
Receive the packet of each 4th equipment feedback;4th equipment is asked and determined locally to receive described extract The equipment for any one first configured information that is stored with;
The segmentation information that each packet is carried is verified, after each segmentation information is verified successfully, based on what is received Each packet, generates the file destination;Wherein, the segmentation information includes the first configured information.
The embodiment of the present invention also proposes a kind of non-transient computer readable storage medium storing program for executing, and the non-transient computer is readable to deposit Storage media stores computer instruction, and the computer instruction makes the computer perform the embodiment of file extraction method the 17th extremely Each process of 26th embodiment, for example including:
After the request for extracting file destination is received, store each equipment in network to file-sharing and send extraction respectively Request;Described extract in request carries corresponding all first configured informations of the file destination;
Receive the packet of each 4th equipment feedback;4th equipment is asked and determined locally to receive described extract The equipment for any one first configured information that is stored with;
The segmentation information that each packet is carried is verified, after each segmentation information is verified successfully, based on what is received Each packet, generates the file destination;Wherein, the segmentation information includes the first configured information.
Figure 11 is the block diagram of the file extraction element of another embodiment of the present invention.File extraction element shown in Figure 11 1100 include:At least one processor 1101, memory 1102, at least one network interface 1104 and other users interface 1103.Each component in file extraction element 1100 is coupled by bus system 1105.It is understood that bus system 1105 are used to realize the connection communication between these components.Bus system 1105 is in addition to including data/address bus, in addition to power supply Bus, controlling bus and status signal bus in addition.But for the sake of clear explanation, various buses are all designated as bus in fig. 11 System 1105.
In some embodiments, memory 1102 stores following element, can perform unit or data structure, or Their subset of person, or their superset:Operating system 11021 and application program 11022.
Wherein, operating system 11021, comprising various system programs, such as ccf layer, core library layer, driving layer, are used for Realize various basic businesses and handle hardware based task.Application program 11022, includes various application programs, such as matchmaker Body player (MediaPlayer), browser (Browser) etc., for realizing various applied business.Realize the embodiment of the present invention The program of method may be embodied in application program 11022.
In embodiments of the present invention, by calling program or the instruction of the storage of memory 1102, specifically, can be application The program stored in program 11022 or instruction, processor 1101 are used to perform the embodiment of file extraction method the 17th to second Each process of 16 embodiments, for example including:
After the request for extracting file destination is received, store each equipment in network to file-sharing and send extraction respectively Request;Described extract in request carries corresponding all first configured informations of the file destination;
Receive the packet of each 4th equipment feedback;4th equipment is asked and determined locally to receive described extract The equipment for any one first configured information that is stored with;
The segmentation information that each packet is carried is verified, after each segmentation information is verified successfully, based on what is received Each packet, generates the file destination;Wherein, the segmentation information includes the first configured information.
Each part illustrates the embodiment that can be found in shown in Fig. 9 in the present embodiment, and the present embodiment repeats no more.
The embodiment of the invention discloses:
A1, a kind of file storage device, including:
Determining unit, for determined in storing network in file-sharing for shared storage file destination at least one Second equipment;
Generation unit, for splitting to the file destination, generates multiple packets;
First transmitting element, for packet corresponding with each second equipment to be sent to each self-corresponding second equipment and enters Row storage;
Wherein, the packet carries segmentation information;The segmentation information includes:First configured information;Described first Configured information is device identification and the file destination of first equipment according to the equipment for storing the packet File identification generation.
A2, the device according to a1, the segmentation information also include:Second configured information;Second configured information Segmentation sequence number for indicating the data content that packet is carried.
A3, the device according to claim a1 or a2, described device also include:
Memory cell, for storing the first corresponding relation and the second corresponding relation;
Wherein, first corresponding relation is the file destination and the corresponding relation of each first configured information;Described Two corresponding relations are the corresponding relation of each first configured information and each second configured information;Second configured information is used to indicate The segmentation sequence number for the data content that packet is carried.
A4, the device according to claim a2, described device also include:
Memory cell, for storing the first corresponding relation;
Wherein, first corresponding relation is the file destination and the corresponding relation of each first configured information.
A5, the device according to claim a2, described device also include:
Memory cell, for storing the first corresponding relation and the 3rd corresponding relation;
Wherein, first corresponding relation is the file destination and the corresponding relation of each first configured information;Described Three corresponding relations are each first configured information and the corresponding relation of the identification information of each packet;The identification information of the packet The identification information generated for first equipment based on the packet.
A6, the device according to claim a1, described device also include:
Memory cell, for storing the first corresponding relation, the second corresponding relation and the 3rd corresponding relation;
Wherein, first corresponding relation is the file destination and the corresponding relation of each first configured information;Described Two corresponding relations are the corresponding relation of each first configured information and each second configured information;Second configured information is used to indicate The segmentation sequence number for the data content that packet is carried;3rd corresponding relation is each first configured information and the mark of each packet Know the corresponding relation of information;The identification information of the packet is the mark letter that first equipment is generated based on the packet Breath.
A7, the device according to claim a4 to any one of a6, described device also include:
Second transmitting element, all corresponding relations for the memory cell to be stored are sent to each second equipment and carried out Storage.
A8, the device according to claim a1 or a2, the packet also carry data encryption information.
A9, the device according to claim a8, described device also include:
Memory cell, for storing the first corresponding relation and the 4th corresponding relation;
Wherein, first corresponding relation is the file destination and the corresponding relation of each first configured information;Described Four corresponding relations are the corresponding relation between each segmentation information and each data encryption information;
If the segmentation information only includes the first configured information, the memory cell is additionally operable to the correspondence of storage second and closed System, second corresponding relation is the corresponding relation of each first configured information and each second configured information;Described second indicates letter Cease the segmentation sequence number for indicating the data content that packet is carried.
A10, the device according to claim a8, described device also include:
Memory cell, for storing the first corresponding relation and the 3rd corresponding relation;
Wherein, first corresponding relation is the file destination and the corresponding relation of each first configured information;Described Three corresponding relations are each first configured information and the corresponding relation of the identification information of each packet;The identification information of the packet The identification information generated for first equipment based on the packet;
If the segmentation information only includes the first configured information, the memory cell is additionally operable to the correspondence of storage second and closed System;Second corresponding relation is the corresponding relation of each first configured information and each second configured information;Described second indicates letter Cease the segmentation sequence number for indicating the data content that packet is carried.
A11, the device according to claim a9, described device also include:
3rd transmitting element, enters for first corresponding relation and the 4th corresponding relation to be sent into each second equipment Row storage.
A12, the device according to claim a10, described device also include:
4th transmitting element, for first corresponding relation, the second corresponding relation and the 3rd corresponding relation to be sent Stored to each second equipment.
B1, a kind of file extraction element, including:
First transmitting element, for after the request for extracting file destination is received, being stored to file-sharing in network Each equipment sends the first extraction request respectively;The file destination corresponding all first is carried in the first extraction request Configured information;
First receiving unit, the extraction response for receiving each 4th equipment feedback;4th equipment is receives State the equipment that any one first configured information is locally stored in the first extraction request and determination;The extraction response is carried Check information;The check information is the 4th equipment based on the corresponding packet generation of the first configured information being locally stored Check information;
First processing units, for being verified to each check information, after each check information is verified successfully, to each 4th Equipment sends second and extracts request;The first instruction letter that each 4th equipment is locally stored is carried in the second extraction request Breath;
Second receiving unit, the corresponding data of the first configured information being locally stored for receiving each 4th equipment feedback Bag;
Generation unit, for each packet received based on second receiving unit, generates the file destination.
B2, the device according to claim b1, described first extracts request is based on this for first transmitting element The extraction request of the first corresponding relation generation of ground storage;First corresponding relation is that the file destination is indicated with each first The corresponding relation of information.
B3, the device according to claim b1 or b2, the check information include the first configured information;
The first processing units are verified to each check information, including:
Whether the first configured information that the first processing units judge the check information and included is the file destination Corresponding first configured information;If so, then verifying successfully.
B4, the device according to claim b1 or b2, the check information include the first configured information and second Configured information;Second configured information is used for the segmentation sequence number for indicating the data content that packet is carried;
The first processing units are verified to each check information, including:
The first processing units judge the indicated in the second corresponding relation of storage with the presence or absence of the check information The corresponding relation of one configured information and the second configured information;If in the presence of verifying successfully;Wherein, second corresponding relation For the corresponding relation of each first configured information and each second configured information.
B5, the device according to claim b1 or b2, the check information include:First configured information and data The identification information of bag;
The first processing units are verified to each check information, including:
The first processing units judge the indicated in the 3rd corresponding relation of storage with the presence or absence of the check information The corresponding relation of the identification information of one configured information and packet;If in the presence of verifying successfully;Wherein, the 3rd correspondence Relation is each first configured information and the corresponding relation of the identification information of each packet.
B6, the device according to claim b1 or b2, the check information include:Segmentation information and data encryption Information;The segmentation information includes the first configured information;
The first processing units are verified to each check information, including:
The first processing units judge point indicated in the 4th corresponding relation of storage with the presence or absence of the check information Cut the corresponding relation between information and data encryption information;If in the presence of verifying successfully;Wherein, the 4th corresponding relation For the corresponding relation between each segmentation information and each data encryption information.
B7, the device according to claim b1 or b2, the check information include:First configured information and data The identification information of bag;The packet carries data encryption information;
The first processing units are verified to each check information, including:
The first processing units judge the indicated in the 3rd corresponding relation of storage with the presence or absence of the check information The corresponding relation of the identification information of one configured information and packet;If in the presence of verifying successfully;Wherein, the 3rd correspondence Relation is each first configured information and the corresponding relation of the identification information of each packet.
C1, a kind of file extraction element, including:
Second transmitting element, for after the request for extracting file destination is received, being stored to file-sharing in network Each equipment sends extraction request respectively;Described extract carries the corresponding all first instructions letters of the file destination in request Breath;
3rd receiving unit, the packet for receiving each 4th equipment feedback;4th equipment is described to receive Extract the equipment that any one first configured information is locally stored in request and determination;
Second processing unit, for being verified to the segmentation information that each packet is carried, is verified into each segmentation information After work(, based on each packet received, the file destination is generated;Wherein, the segmentation information includes the first configured information.
C2, the device according to claim c1, the extraction request are based on locally depositing for second transmitting element The extraction request of the first corresponding relation generation of storage;First corresponding relation is the file destination and each first configured information Corresponding relation.
C3, the device according to claim c1 or c2, the segmentation that the second processing unit is carried to each packet Information is verified, including:
Whether the first configured information that segmentation information described in the second processing unit judges includes is the file destination Corresponding first configured information;If so, then verifying successfully.
C4, the device according to claim c1 or c2, the segmentation information also include:Second configured information;It is described Second configured information is used for the segmentation sequence number for indicating the data content that packet is carried;
The segmentation information that the second processing unit is carried to each packet is verified, including:
The indicated in second corresponding relation of second processing unit judges storage with the presence or absence of the segmentation information The corresponding relation of one configured information and the second configured information;If in the presence of verifying successfully;Wherein, second corresponding relation For the corresponding relation of each first configured information and each second configured information.
C5, the device according to claim c1 or c2, each packet also carry data encryption information;
The segmentation information that the second processing unit is carried to each packet is verified, including:
Point carried in 4th corresponding relation of the second processing unit judges storage with the presence or absence of each packet Cut the corresponding relation between information and data encryption information;If in the presence of verifying successfully;Wherein, the 4th corresponding relation For the corresponding relation of each segmentation information and each data encryption information.
Those of ordinary skill in the art are it is to be appreciated that the list of each example described with reference to the embodiments described herein Member and algorithm steps, can be realized with the combination of electronic hardware or computer software and electronic hardware.These functions are actually Performed with hardware or software mode, depending on the application-specific and design constraint of technical scheme.Professional and technical personnel Described function can be realized using distinct methods to each specific application, but this realization is it is not considered that exceed The scope of the present invention.
It is apparent to those skilled in the art that, for convenience and simplicity of description, the system of foregoing description, The specific work process of device and unit, may be referred to the corresponding process in preceding method embodiment, will not be repeated here.
In embodiment provided herein, it should be understood that disclosed apparatus and method, others can be passed through Mode is realized.For example, device embodiment described above is only schematical, for example, the division of the unit, is only A kind of division of logic function, can there is other dividing mode when actually realizing, such as multiple units or component can combine or Person is desirably integrated into another system, or some features can be ignored, or does not perform.Another, shown or discussed is mutual Between coupling or direct-coupling or communication connection can be the INDIRECT COUPLING or communication link of device or unit by some interfaces Connect, can be electrical, machinery or other forms.
The unit illustrated as separating component can be or may not be it is physically separate, it is aobvious as unit The part shown can be or may not be physical location, you can with positioned at a place, or can also be distributed to multiple On NE.Some or all of unit therein can be selected to realize the mesh of this embodiment scheme according to the actual needs 's.
In addition, each functional unit in each embodiment of the invention can be integrated in a processing unit, can also That unit is individually physically present, can also two or more units it is integrated in a unit.
If the function is realized using in the form of SFU software functional unit and is used as independent production marketing or in use, can be with It is stored in a computer read/write memory medium.Understood based on such, the technical scheme of the embodiment of the present invention is substantially The part contributed in other words to prior art or the part of the technical scheme can be embodied in the form of software product Come, the computer software product is stored in a storage medium, including some instructions are make it that a computer equipment (can To be personal computer, server, or network equipment etc.) perform all or part of each embodiment methods described of the invention Step.And foregoing storage medium includes:USB flash disk, mobile hard disk, ROM, RAM, magnetic disc or CD etc. are various can be with storage program The medium of code.
The foregoing is only a specific embodiment of the invention, but protection scope of the present invention is not limited thereto, any Those familiar with the art the invention discloses technical scope in, change or replacement can be readily occurred in, should all be contained Cover within protection scope of the present invention.Therefore, protection scope of the present invention should be defined by scope of the claims.

Claims (27)

1. a kind of file memory method, it is characterised in that including:
First equipment determines the second equipment of at least one for shared storage file destination in file-sharing stores network;
First equipment is split to the file destination, generates multiple packets;
Packet corresponding with each second equipment is sent to each self-corresponding second equipment and stored by first equipment;
Wherein, the packet carries segmentation information;The segmentation information includes:First configured information;Described first indicates Information is device identification and the file of the file destination of first equipment according to the equipment for storing the packet Mark generation.
2. according to the method described in claim 1, it is characterised in that the segmentation information also includes:Second configured information;It is described Second configured information is used for the segmentation sequence number for indicating the data content that packet is carried.
3. method according to claim 1 or 2, it is characterised in that methods described also includes:
First equipment stores the first corresponding relation and the second corresponding relation;
Wherein, first corresponding relation is the file destination and the corresponding relation of each first configured information;Described second pair The corresponding relation for each first configured information and each second configured information should be related to;Second configured information is used to indicate data Wrap the segmentation sequence number of the data content carried.
4. method according to claim 2, it is characterised in that methods described also includes:
First equipment stores the first corresponding relation;
Wherein, first corresponding relation is the file destination and the corresponding relation of each first configured information.
5. method according to claim 2, it is characterised in that methods described also includes:
First equipment stores the first corresponding relation and the 3rd corresponding relation;
Wherein, first corresponding relation is the file destination and the corresponding relation of each first configured information;Described 3rd pair The corresponding relation of the identification information for each first configured information Yu each packet should be related to;The identification information of the packet is institute State the identification information that the first equipment is generated based on the packet.
6. according to the method described in claim 1, it is characterised in that methods described also includes:
First equipment stores the first corresponding relation, the second corresponding relation and the 3rd corresponding relation;
Wherein, first corresponding relation is the file destination and the corresponding relation of each first configured information;Described second pair The corresponding relation for each first configured information and each second configured information should be related to;Second configured information is used to indicate data Wrap the segmentation sequence number of the data content carried;3rd corresponding relation is that each first configured information and the mark of each packet are believed The corresponding relation of breath;The identification information of the packet is the identification information that first equipment is generated based on the packet.
7. the method according to any one of claim 4 to 6, it is characterised in that methods described also includes:
All corresponding relations of storage are sent to each second equipment and stored by first equipment.
8. method according to claim 1 or 2, it is characterised in that the packet also carries data encryption information.
9. method according to claim 8, it is characterised in that methods described also includes:
First equipment stores the first corresponding relation and the 4th corresponding relation;
Wherein, first corresponding relation is the file destination and the corresponding relation of each first configured information;Described 4th pair The corresponding relation for each segmentation information and each data encryption information should be related to;
If the segmentation information only includes the first configured information, first equipment also stores the second corresponding relation, described the Two corresponding relations are the corresponding relation of each first configured information and each second configured information;Second configured information is used to indicate The segmentation sequence number for the data content that packet is carried.
10. method according to claim 8, it is characterised in that methods described also includes:
First equipment stores the first corresponding relation and the 3rd corresponding relation;
Wherein, first corresponding relation is the file destination and the corresponding relation of each first configured information;Described 3rd pair The corresponding relation of the identification information for each first configured information Yu each packet should be related to;The identification information of the packet is institute State the identification information that the first equipment is generated based on the packet;
If the segmentation information only includes the first configured information, first equipment also stores the second corresponding relation;Described Two corresponding relations are the corresponding relation of each first configured information and each second configured information;Second configured information is used to indicate The segmentation sequence number for the data content that packet is carried.
11. method according to claim 9, it is characterised in that methods described also includes:
First corresponding relation and the 4th corresponding relation are sent to each second equipment and stored by first equipment.
12. method according to claim 10, it is characterised in that methods described also includes:
First corresponding relation, the second corresponding relation and the 3rd corresponding relation are sent to each second and set by first equipment It is standby to be stored.
13. a kind of file extraction method, it is characterised in that including:
3rd equipment stores each equipment in network after the request for extracting file destination is received, to file-sharing and sent respectively First extracts request;Corresponding all first configured informations of the file destination are carried in the first extraction request;
3rd equipment receives the extraction response of each 4th equipment feedback;4th equipment is extracted to receive described first The equipment that any one first configured information is locally stored in request and determination;The extraction response carries check information; The check information is verification letter of the 4th equipment based on the corresponding packet generation of the first configured information being locally stored Breath;
3rd equipment is verified to each check information, after each check information is verified successfully, is sent to each 4th equipment Second extracts request;The first configured information that each 4th equipment is locally stored is carried in the second extraction request;
3rd equipment receives the corresponding packet of the first configured information being locally stored of each 4th equipment feedback;
3rd equipment generates the file destination based on each packet received.
14. method according to claim 13, it is characterised in that described first extracts request is based on for the 3rd equipment The extraction request for the first corresponding relation generation being locally stored;First corresponding relation is that the file destination refers to each first Show the corresponding relation of information.
15. the method according to claim 13 or 14, it is characterised in that the check information includes the first configured information;
3rd equipment is verified to each check information, including:
Whether the first configured information that the 3rd equipment judges the check information and included is the file destination corresponding One configured information;If so, then verifying successfully.
16. the method according to claim 13 or 14, it is characterised in that the check information include the first configured information with And second configured information;Second configured information is used for the segmentation sequence number for indicating the data content that packet is carried;
3rd equipment is verified to each check information, including:
3rd equipment judges the first instruction letter indicated in the second corresponding relation of storage with the presence or absence of the check information The corresponding relation of breath and the second configured information;If in the presence of verifying successfully;Wherein, second corresponding relation is each first The corresponding relation of configured information and each second configured information.
17. the method according to claim 13 or 14, it is characterised in that the check information includes:First configured information And the identification information of packet;
3rd equipment is verified to each check information, including:
3rd equipment judges the first instruction letter indicated in the 3rd corresponding relation of storage with the presence or absence of the check information The corresponding relation of the identification information of breath and packet;If in the presence of verifying successfully;Wherein, the 3rd corresponding relation is each First configured information and the corresponding relation of the identification information of each packet.
18. the method according to claim 13 or 14, it is characterised in that the check information includes:Segmentation information and Data encryption information;The segmentation information includes the first configured information;
3rd equipment is verified to each check information, including:
3rd equipment judge the segmentation information that is indicated in the 4th corresponding relation of storage with the presence or absence of the check information with And the corresponding relation between data encryption information;If in the presence of verifying successfully;Wherein, the 4th corresponding relation is each segmentation The corresponding relation of information and each data encryption information.
19. the method according to claim 13 or 14, it is characterised in that the check information includes:First configured information And the identification information of packet;The packet carries data encryption information;
3rd equipment is verified to each check information, including:
3rd equipment judges the first instruction letter indicated in the 3rd corresponding relation of storage with the presence or absence of the check information The corresponding relation of the identification information of breath and packet;If in the presence of verifying successfully;Wherein, the 3rd corresponding relation is each First configured information and the corresponding relation of the identification information of each packet.
20. a kind of file extraction method, it is characterised in that including:
3rd equipment stores each equipment in network after the request for extracting file destination is received, to file-sharing and sent respectively Extract request;Described extract in request carries corresponding all first configured informations of the file destination;
3rd equipment receives the packet of each 4th equipment feedback;4th equipment for receive it is described extract request and It is determined that the equipment of any one first configured information is locally stored;
The segmentation information that 3rd equipment is carried to each packet is verified, and after each segmentation information is verified successfully, is based on Each packet received, generates the file destination;Wherein, the segmentation information includes the first configured information.
21. method according to claim 20, it is characterised in that the extraction request is based on local for the 3rd equipment The extraction request of the first corresponding relation generation of storage;First corresponding relation is that the file destination indicates to believe with each first The corresponding relation of breath.
22. the method according to claim 20 or 21, it is characterised in that the 3rd equipment is divided each packet carrying Information is cut to be verified, including:
Whether the first configured information that the 3rd equipment judges the segmentation information and included is the file destination corresponding One configured information;If so, then verifying successfully.
23. the method according to claim 20 or 21, it is characterised in that the segmentation information also includes:Second indicates letter Breath;Second configured information is used for the segmentation sequence number for indicating the data content that packet is carried;
The segmentation information that 3rd equipment is carried to each packet is verified, including:
3rd equipment judges the first instruction letter indicated in the second corresponding relation of storage with the presence or absence of the segmentation information The corresponding relation of breath and the second configured information;If in the presence of verifying successfully;Wherein, second corresponding relation is each first The corresponding relation of configured information and each second configured information.
24. the method according to claim 20 or 21, it is characterised in that each packet also carries data encryption letter Breath;
The segmentation information that 3rd equipment is carried to each packet is verified, including:
3rd equipment judge the segmentation information that is carried in the 4th corresponding relation of storage with the presence or absence of each packet with And the corresponding relation between data encryption information;If in the presence of verifying successfully;Wherein, the 4th corresponding relation is each segmentation The corresponding relation of information and each data encryption information.
25. a kind of file storage device, it is characterised in that including:
Determining unit, for determining at least one second for shared storage file destination in storing network in file-sharing Equipment;
Generation unit, for splitting to the file destination, generates multiple packets;
First transmitting element, for packet corresponding with each second equipment to be sent to each self-corresponding second equipment and deposited Storage;
Wherein, the packet carries segmentation information;The segmentation information includes:First configured information;Described first indicates Information is device identification and the file identification of the file destination of first equipment according to the equipment for storing the packet Generation.
26. a kind of file extraction element, it is characterised in that including:
First transmitting element, for after the request for extracting file destination is received, respectively setting in network to be stored to file-sharing Back-up does not send the first extraction request;The file destination corresponding all first is carried in the first extraction request to indicate Information;
First receiving unit, the extraction response for receiving each 4th equipment feedback;4th equipment is receives described the One extracts the equipment that any one first configured information is locally stored in request and determination;The extraction response carries verification Information;The check information is school of the 4th equipment based on the corresponding packet generation of the first configured information being locally stored Test information;
First processing units, for being verified to each check information, after each check information is verified successfully, to each 4th equipment Send second and extract request;The first configured information that each 4th equipment is locally stored is carried in the second extraction request;
Second receiving unit, the corresponding packet of the first configured information being locally stored for receiving each 4th equipment feedback;
Generation unit, for each packet received based on second receiving unit, generates the file destination.
27. a kind of file extraction element, it is characterised in that including:
Second transmitting element, for after the request for extracting file destination is received, respectively setting in network to be stored to file-sharing Back-up does not send extraction request;Described extract in request carries corresponding all first configured informations of the file destination;
3rd receiving unit, the packet for receiving each 4th equipment feedback;4th equipment is to receive the extraction The equipment that any one first configured information is locally stored in request and determination;
Second processing unit, for being verified to the segmentation information that each packet is carried, after each segmentation information is verified successfully, Based on each packet received, the file destination is generated;Wherein, the segmentation information includes the first configured information.
CN201710428906.7A 2017-06-08 2017-06-08 A kind of file memory method and device, file extraction method and device Pending CN107273473A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710428906.7A CN107273473A (en) 2017-06-08 2017-06-08 A kind of file memory method and device, file extraction method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710428906.7A CN107273473A (en) 2017-06-08 2017-06-08 A kind of file memory method and device, file extraction method and device

Publications (1)

Publication Number Publication Date
CN107273473A true CN107273473A (en) 2017-10-20

Family

ID=60067371

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710428906.7A Pending CN107273473A (en) 2017-06-08 2017-06-08 A kind of file memory method and device, file extraction method and device

Country Status (1)

Country Link
CN (1) CN107273473A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109408463A (en) * 2018-09-21 2019-03-01 深圳市九洲电器有限公司 Distributive file storage method and device, node server
CN110795745A (en) * 2019-10-14 2020-02-14 山东药品食品职业学院 Information storage and transmission system based on server and method thereof

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101610287A (en) * 2009-06-16 2009-12-23 浙江大学 A kind of load-balancing method that is applied to distributed mass memory system
CN102833294A (en) * 2011-06-17 2012-12-19 阿里巴巴集团控股有限公司 File processing method and system based on cloud storage, and server cluster system
CN106484877A (en) * 2016-10-14 2017-03-08 东北大学 A kind of document retrieval system based on HDFS
US20170118013A1 (en) * 2015-10-27 2017-04-27 International Business Machines Corporation Anonymous Peer Storage

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101610287A (en) * 2009-06-16 2009-12-23 浙江大学 A kind of load-balancing method that is applied to distributed mass memory system
CN102833294A (en) * 2011-06-17 2012-12-19 阿里巴巴集团控股有限公司 File processing method and system based on cloud storage, and server cluster system
US20170118013A1 (en) * 2015-10-27 2017-04-27 International Business Machines Corporation Anonymous Peer Storage
CN106484877A (en) * 2016-10-14 2017-03-08 东北大学 A kind of document retrieval system based on HDFS

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109408463A (en) * 2018-09-21 2019-03-01 深圳市九洲电器有限公司 Distributive file storage method and device, node server
CN109408463B (en) * 2018-09-21 2020-12-08 深圳市九洲电器有限公司 File distributed storage method and device and node server
CN110795745A (en) * 2019-10-14 2020-02-14 山东药品食品职业学院 Information storage and transmission system based on server and method thereof

Similar Documents

Publication Publication Date Title
US20210027289A1 (en) Asset transaction method, storage medium, and computer device
CN1748191B (en) System and method of owner control of electronic devices
CN106161359A (en) The method and device of certification user, the method and device of registration wearable device
CN102469453B (en) Security certificate method
CN105117635B (en) A kind of safety system and method for local data
US9461995B2 (en) Terminal, network locking and network unlocking method for same, and storage medium
CN105144670A (en) Wireless networking-enabled personal identification system
CN104715187A (en) Method and apparatus used for authenticating nodes of electronic communication system
EP2689598A1 (en) Interrogating an authentication device
CN102930435A (en) Authentication method and system for mobile payment
JP2022518061A (en) Methods, Computer Program Products, and Equipment for Transferring Ownership of Digital Assets
CN107347049A (en) A kind of account method for authenticating and server
CN102571823A (en) Remote security protection method for data of flash disk
CN109428722A (en) A kind of content delivery method and device
WO2013189330A2 (en) Data backup and recovery method and system for mobile terminal
CN107273473A (en) A kind of file memory method and device, file extraction method and device
Taghiloo et al. Mobile based secure digital wallet for peer to peer payment system
CN103605939B (en) Method, device and system for writing personal data in financial IC card
US20240078551A1 (en) Blockchain-based user element authorization methods and apparatuses
US11823175B2 (en) Intelligent card unlock
CN102368773B (en) Access control method of mobile memory, mobile memory and system
CN109388923B (en) Program execution method and device
CN104284333A (en) Mobile terminal personal data encryption backing-up, recovering and synchronizing controlling method and device
CN101350985A (en) Method for backup of SIM card information, mobile terminal and system
CN105427102A (en) Financial IC card based authentication method and corresponding device and system

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
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20171020