CN105681370B - File synchronisation method, server and client - Google Patents

File synchronisation method, server and client Download PDF

Info

Publication number
CN105681370B
CN105681370B CN201410654637.2A CN201410654637A CN105681370B CN 105681370 B CN105681370 B CN 105681370B CN 201410654637 A CN201410654637 A CN 201410654637A CN 105681370 B CN105681370 B CN 105681370B
Authority
CN
China
Prior art keywords
network
file
server
information
client
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201410654637.2A
Other languages
Chinese (zh)
Other versions
CN105681370A (en
Inventor
吴俊宗
林智明
吴海洋
任亚博
关义春
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Tencent Technology Chengdu Co Ltd
Original Assignee
Tencent Technology Chengdu 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 Tencent Technology Chengdu Co Ltd filed Critical Tencent Technology Chengdu Co Ltd
Priority to CN201410654637.2A priority Critical patent/CN105681370B/en
Publication of CN105681370A publication Critical patent/CN105681370A/en
Application granted granted Critical
Publication of CN105681370B publication Critical patent/CN105681370B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The invention discloses a kind of file synchronisation method, server and clients, belong to Internet technical field.Method includes: the first seed file that destination server is provided according to source server, the synchronous specified file in first network;Destination server generates the first link information and second seed file, the first link information includes the partial information and second network information of specified file according to specified file;First link information is sent to each client in the second network by destination server, and each client in the second network is made to download second seed file according to the first link information, according to second seed file, the synchronous specified file in the second network.First link information is sent to each client by destination server of the present invention, client downloads second seed file according to the second link information, and according to seed file, the synchronous specified file in the second network, so as to avoid across a network synchronous documents, the consumption of Internet resources is reduced.

Description

File synchronisation method, server and client
Technical field
The present invention relates to Internet technical field, in particular to a kind of file synchronisation method, server and client.
Background technique
With the development of internet technology, in order to which the shared of file resource is better achieved, more and more users pass through Local area network synchronous documents resource.P2P (Peer to Peer, peer-to-peer network) is because network cost is low, network configuration is simple, is convenient for dimension The advantages that shield, becomes most common a kind of networking mode in local area network.
Based on P2P network, the relevant technologies are main to pass through BitTornado Library's in synchronous documents BitTorrent large scale deployment scheme murder is realized.Its main synchronizing process is as follows:
The first step, source server generate seed file, wherein carry in seed file to be synchronized according to file to be synchronized The file fragmentation information of file, resource downloading information, link information etc., the file fragmentation information of file to be synchronized includes to be synchronized The filename of file, total cryptographic Hash of file to be synchronized, fragment rule, cryptographic Hash of each fragment data etc., resource downloading letter Breath includes the information etc. for currently downloading the destination server of file to be synchronized, and link information includes the address of source server Deng;
The seed file of generation is sent to each destination server by second step, source server;
Third step, each destination server downloading seed file are connected to according to the link information in seed file by each A destination server and source server composition first network in, based on HTTP (Hypertext Transfer Protocol, Hypertext transfer protocol) agreement and resource downloading information and the file information in seed file, the synchronous documents from first network;
4th step, destination server generates new seed file according to synchronous file, and new seed file is sent To each client under it, wherein carry the file information of file to be synchronized in novel species subfile, resource downloading information, connect Connect information etc.;
5th step, the new seed file of each client downloads are connected to according to the link information in new seed file By destination server and its under each groups of clients at the second network in, each client be based on http protocol and kind Ziwen Resource downloading information and the file information in part, the synchronous documents from the whole network being made of first network and multiple second networks.
In the implementation of the present invention, inventor find the relevant technologies the prior art has at least the following problems:
The relevant technologies are when carrying out file synchronization, since each client can be from first network and multiple second network structures At the whole network in synchronous documents, and will cause biggish network flow consumption across the second Network Synchronization resource, therefore, related skill Art resource consumption in synchronous documents is larger.
Summary of the invention
In order to solve the problems, such as the relevant technologies, the embodiment of the invention provides a kind of file synchronisation method, server and visitors Family end.The technical solution is as follows:
In a first aspect, providing a kind of file synchronisation method, which comprises
The first seed file that destination server is provided according to source server, synchronous specified file, institute in first network It states first network to be made of multiple destination servers and source server, first seed file includes whole letters of specified file Breath and first network information;
The destination server generates the first link information and second seed file according to the specified file, and described the One link information includes the partial information and second network information of the specified file, and the second seed file includes the finger Determine all information and first network information of file, second network is made of destination server and multiple client;
First link information is sent to each client in second network by the destination server, makes institute The each client stated in the second network downloads the second seed file according to first link information, according to described second Seed file synchronizes the specified file in second network.
Second aspect provides a kind of file synchronisation method, which comprises
Client receives the first link information that destination server is sent, and first link information is the destination service Device is generated according to specified file, and first link information includes the partial information and second network information of the specified file, Second network is made of the destination server and multiple client;
The client downloads second seed file, institute according to first link information from the destination server It states second seed file and is generated by the destination server according to the specified file, the second seed file includes the finger Determine all information and second network information of file;
The client synchronizes the specified file in second network according to the second seed file.
The third aspect provides a kind of server, the server, comprising:
Synchronization module, the first seed file for being provided according to source server, the synchronous specified file in first network, The first network is made of multiple destination servers and source server, and first seed file includes the whole of specified file Information and first network information;
Generation module, for according to the specified file, generating the first link information and second seed file, described first Link information includes the partial information and second network information of the specified file, and the second seed file includes described specified The all information of file and second network information, second network are made of the destination server and multiple client;
Sending module, each client for being sent to first link information in second network, makes institute The each client stated in the second network downloads the second seed file according to first link information, according to described second Seed file synchronizes the specified file in second network.
Fourth aspect, provides a kind of client, and the client includes:
Receiving module, for receiving the first link information of destination server transmission, first link information is described Destination server is generated according to specified file, and first link information includes the partial information and the second net of the specified file Network information, second network are made of the destination server and multiple client;
Download module, for downloading second seed file from the destination server according to first link information, The second seed file is generated by the destination server according to the specified file, and the second seed file includes described The all information of specified file and second network information;
Synchronization module, for synchronizing the specified file in second network according to the second seed file.
Technical solution provided in an embodiment of the present invention has the benefit that
The first seed file that destination server is provided according to source server, by multiple destination servers and source server Synchronous specified file in the first network of composition, and according to specified file, the first link information and second seed file are generated, it should The second network for including the partial information of specified file in first link information and being made of destination server and multiple client First link information is sent to each client in the second network by information, and client is according to the first link information downloading the Two seed files, and then according to second seed file, the synchronous specified file in the second network.Since client is only in the second net Synchronous documents in network do not arrive synchronous documents in other IDC, avoid network resource consumption caused by across a network synchronous documents, Reduce resource consumption when synchronous documents.
Detailed description of the invention
To describe the technical solutions in the embodiments of the present invention more clearly, make required in being described below to embodiment Attached drawing is briefly described, it should be apparent that, drawings in the following description are only some embodiments of the invention, for For those of ordinary skill in the art, without creative efforts, it can also be obtained according to these attached drawings other Attached drawing.
Fig. 1 is the schematic diagram of the implementation environment for the file synchronisation method that one embodiment of the invention provides;
Fig. 2 be another embodiment of the present invention provides a kind of file synchronisation method flow chart;
Fig. 3 be another embodiment of the present invention provides a kind of file synchronisation method flow chart;
Fig. 4 be another embodiment of the present invention provides a kind of file synchronisation method flow chart;
Fig. 5 be another embodiment of the present invention provides the second network of one kind schematic diagram;
Fig. 6 be another embodiment of the present invention provides a kind of server structural schematic diagram;
Fig. 7 is a kind of structural schematic diagram for client that another embodiment of the present invention provides;
Fig. 8 be another embodiment of the present invention provides a kind of file synchronization device block diagram;
Fig. 9 be another embodiment of the present invention provides a kind of terminal structural schematic diagram.
Specific embodiment
To make the object, technical solutions and advantages of the present invention clearer, below in conjunction with attached drawing to embodiment party of the present invention Formula is described in further detail.
Referring to FIG. 1, the implementation environment schematic diagram of file synchronisation method provided by the embodiment of the present invention please be show.It should Implementation environment be file syn chronizing system architecture diagram, as shown in Figure 1, file syn chronizing system by source server, multiple IDC (Internet Data Center, Internet data center) composition: IDC-A, IDC-B, IDC-C, IDC-D and IDC- E.Source server is the server for being synchronized complete file resource, is taken comprising an independent tracker server and seeder Business device.Each IDC includes a destination server and multiple client as an independent Autonomous Domain.Destination server is Be synchronized partial document resource or do not synchronize the server of any file resource, by an independent tracker server and Seeder server composition.The tracker server of source server accesses the first net for the destination server in each IDC Network, the first network are made of source server and each IDC;The seeder of source server is for storing file resource to be synchronized And the seed file that source server generates.The tracker server of destination server is for client's termination each in the same IDC Enter the second network, second network by each IDC destination server and each groups of clients at destination server For storing, destination server synchronizes the file resource to get off to seeder server from source server and destination server generates Seed file.
When progress file resource is synchronous, the destination server in first network in each IDC passes through source server Tracker server is connected to first network, and then the synchronous documents in first network, and deposits the file resource to get off is synchronized Storage is in the seeder server of itself.Later, the seeder server of destination server connects under oneself affiliated IDC Tracker server provides file resource for the synchronous documents resource client in need end in this IDC.
In addition, the status of the same server is not in the first network being made of source and target server It is unalterable.For example, in the first network being made of server A, server B, server C, server D and server E, Server A possesses complete file resource a, and server D possesses complete file resource b, when the synchronous documents in first network When resource a, server A is source server, and server B, server C, server D and server E are destination server;When In one network when synchronous documents resource b, server D is source server, and server A, server B, server C and server D are Destination server.
Destination server in above-mentioned source server and each IDC is communicated in first network using udp protocol, Destination server and each client in IDC are communicated in the second network using udp protocol.
In conjunction with above-mentioned implementation environment shown in FIG. 1, the embodiment of the invention provides a kind of file synchronisation methods, referring to fig. 2, Method flow provided in this embodiment includes:
201, the first seed file that destination server is provided according to source server synchronizes specified text in first network Part, first network are made of multiple destination servers and source server, and the first seed file includes all information of specified file And first network information.
202, destination server generates the first link information and second seed file, the first link letter according to specified file Breath includes the partial information and second network information of specified file, and second seed file includes all information and the of specified file Two network informations, the second network are made of destination server and multiple client.
203, the first link information is sent to each client in the second network by destination server, is made in the second network Each client second seed file is downloaded according to the first link information, it is same in the second network according to second seed file Walk specified file.
Method provided in an embodiment of the present invention, the first seed file that destination server is provided according to source server, by Multiple destination servers and synchronous specified file in the first network that source server forms, and according to specified file, generate first Link information and second seed file, partial information in first link information comprising specified file and by destination server and Second network information of multiple client composition, is sent to each client in the second network, client for the first link information Second seed file is downloaded according to the first link information in end, and then according to second seed file, synchronizes in the second network specified File.Due to client only synchronous documents in the second network, synchronous documents in other networks are not arrived, it is same to avoid across a network Network resource consumption caused by step file reduces resource consumption when synchronous documents.
Optionally, the first seed file that destination server is provided according to source server, synchronizes specified in first network File, comprising:
In the synchronizing process to any of specified file fragment data, judge that the first synchronous duration of fragment data is It is no more than the first preset duration;
If the first synchronous duration is more than the first preset duration, and the first synchronous number of attempt reaches the first preset times, then The server currently synchronized is switched into other servers in first network and continues to execute synchronizing process.
Optionally, this method further include:
Destination server receives the second link information that source server is sent, according to the second link information from source server The first seed file is downloaded, the second link information includes the partial information and first network information of specified file;Or,
Destination server receives the first seed file that other servers in first network are sent.
Optionally, it is communicated between destination server and source server and each client using udp protocol.
All the above alternatives can form alternative embodiment of the invention using any combination, herein no longer It repeats one by one.
The file synchronisation method in conjunction with described in above-mentioned implementation environment shown in FIG. 1 and Fig. 2, referring to Fig. 3, the embodiment of the present invention A kind of file synchronisation method is provided, method flow provided in this embodiment includes:
301, client receives the first link information that destination server is sent, and the first link information is destination server root It is generated according to specified file, the first link information includes the partial information and second network information of specified file, and the second network is by mesh Mark server and multiple client composition.
302, client downloads second seed file, second of Ziwen according to the first link information from destination server Part is generated by destination server according to specified file, and second seed file includes all information and the second network letter of specified file Breath.
303, client is according to second seed file, the synchronous specified file in the second network.
Method provided in an embodiment of the present invention, client receives the first link information, and is downloaded according to the first link information Second seed file, and then according to second seed file, the synchronous specified file in the second network.Since client is only second Synchronous documents in network do not arrive synchronous documents in other networks, avoid Internet resources caused by across a network synchronous documents and disappear Consumption, reduces resource consumption when synchronous documents.
Optionally, client is according to second seed file, the synchronous specified file in the second network, comprising:
In the synchronizing process to any of specified file fragment data, judge that the second synchronous duration of fragment data is It is no more than the second preset duration;
If the second synchronous duration is more than the second preset duration, and the second synchronous number of attempt reaches the second preset times, then The destination server currently synchronized or client are switched to other destination servers or client in the second network to continue Execute synchronizing process.
Optionally, it is communicated between client and destination server using udp protocol.
All the above alternatives can form alternative embodiment of the invention using any combination, herein no longer It repeats one by one.
File synchronisation method described in implementation environment and Fig. 2 or Fig. 3 as shown in connection with fig. 1, the embodiment of the invention provides A kind of file synchronisation method, referring to fig. 4, method flow provided in this embodiment includes:
401, the first seed file that destination server is provided according to source server synchronizes specified text in first network Part.
Wherein, including at least all information of specified file and first network information etc. in the first seed file.In this reality It applies in example, specified file is to need synchronous file, and all information of specified file includes the size of specified file, specified file Fragment rule, the total characteristic value of specified file, each fragment data of specified file and the characteristic value of each fragment data etc., The present embodiment does not make specific limit to all information of specified file.First network information include source server IP address, The IP address etc. of each destination server.
Since the information for including in the first seed file is the key that destination server synchronizes specified file, in mesh Before marking server sync specified file, need first to obtain the first seed file.The first Ziwen is obtained about destination server The mode of part, including but not limited to the following two kinds mode:
First way, destination server obtain the first seed file from source server.
Currently used method can be used in complete file resource based on storage, source server, such as raw using BT software At the second link information and the first seed file.In the present embodiment, the second link information is typically small, usual tens words Section only includes specified file cryptographic Hash, source server address, may be connected to the first net according to the second link information destination server In network, the first seed file is much larger than the second link information.Be unfavorable for Internet communication, for improve seed file propagation rate, Second link information can be sent to each target clothes after generating the second link information and the first seed file by source server Business device, so as to be connected to after destination server receives the second link information that source server is sent according to the second link information First network, and then the first subfile is downloaded from source server.
The second way, destination server obtain the first seed file from other servers in first network.
After other servers in first network get the first seed file from source server, destination server The first seed file that can be got from the server of other in first network.
After getting the first seed file, the first seed file that destination server is provided according to source server, In In first network when synchronous specified file, including but not limited to: in the synchronizing process to any of specified file fragment data In, judge the first synchronous duration of fragment data whether more than the first preset duration;If the first synchronous duration is more than first default Duration, and the first synchronous number of attempt reaches the first preset times, then the server currently synchronized is switched to the first net Other servers continue to execute synchronizing process in network.
Wherein, the first synchronous duration can be connected to the Connection Time on current sync server for destination server, The downloading duration of fragment data can be downloaded from the server currently synchronized for destination server.First preset duration can Think 1 second, 2 seconds, 3 seconds etc., the present embodiment does not make specific limit to the first preset duration.First preset times be 2 times, 3 times, 4 is inferior, and the present embodiment does not equally make specific limit to the first preset times.
In the synchronizing process to any of specified file fragment data, when to any of specified file fragment data The first synchronous duration be less than the first preset duration, illustrating can be fully synchronized by the fragment data in this synchronizing process Get off, can directly synchronize the fragment data at this time.When the first synchronous duration to any of specified file fragment data is more than First preset duration, illustrates that Network status is bad, destination server synchronizes the speed of the fragment data from current server Relatively slow, synchronizing process takes a long time, and needs to judge whether the first synchronous number of attempt reaches the first preset times at this time, if first Synchronous number of attempt is not up to the first preset times, can continue to attempt to synchronize the fragment data on current server at this time; If the first synchronous number of attempt has reached the first preset times, the server currently synchronized can be switched in first network Other servers continue to execute synchronizing process.For example, setting server in first network as server A, server B, service Device C, server D and server E, the first preset duration are 2 seconds, and the first preset times are 3 times, the server currently synchronized For server A, if the first of synchronous fragment data is 1 second a length of when synchronous, due to first synchronous duration 1 second it is default less than first when It is 2 seconds long, it can get off at this time by the fragment data is fully synchronized;If the first of synchronous fragment data is 3 seconds a length of when synchronous, first is same Walking number of attempt is 2 times, then continues to synchronize the fragment data on server;If the synchronous duration of the first of synchronous fragment data It is 3 seconds, the first synchronous number of attempt is 4 times, then can switch to and synchronize the fragment data on server D.
It should be noted that the process of above-mentioned synchronous specified file is only synchronized with a fragment data to specified file is Example is illustrated, for specified file other fragment datas synchronizing process referring to synchronizing to said one fragment data Journey, details are not described herein again.In to specified file synchronizing process, for any one fragment data in specified file, if first Synchronous duration is more than the first preset duration, and the first synchronous number of attempt is more than the first preset times, requires to carry out current Synchronous server switches to other servers in first network and continues to execute synchronizing process.
For the ease of subsequently through continuing in the process using specified file, when synchronized out of first network specified file it Afterwards, specified file is also stored in seeder server by destination server.
402, destination server generates the first link information and second seed file according to specified file.
Wherein, the first link information includes partial information and second network information of specified file etc., and the present embodiment is not right First link information makees specific limit.The partial information of specified file includes the fragment of the size of specified file, specified file Rule, the total characteristic value of specified file, each fragment data of specified file and the characteristic value of each fragment data etc., this implementation Example does not make specific limit to the partial information of specified file.Second seed file includes all information and second of specified file Network information etc., the second network are the P2P network being made of destination server and multiple client.
About destination server according to specified file, the mode of the first link information and second seed file is generated, including But it is not limited to: Software Create is generated using seed file, the present embodiment does not limit this specifically.
Since the first link information and second seed file will continue to apply in subsequent client synchronous documents, Destination server is according to specified file, after generating the first link information and second seed file, the first chain that will additionally generate Information and the storage of second seed file are connect into the seeder server of destination server.
403, the first link information is sent to each client in the second network by destination server.
Resource consumption in order to realize the shared of file resource, while when reducing synchronous documents, destination server is according to finger Determine file, after generating the first link information, each client for being also sent to the first link information in the second network.
First link information is sent to the mode of each client in the second network about destination server, including but Be not limited to: the first link information is sent in the second network by destination server by the way of cable network or wireless network Each client etc..
404, when the first link information for receiving destination server transmission, client is according to the first link information, from target Second seed file is downloaded on server.
In order to save Internet resources, in the present embodiment, the moment is not in connection to each client in the second network State is only receiving link information, and when opening link information, just may be connected in the second network.
Since specified file and second seed file are stored in the seeder server of destination server, when even It is connected to after the second network, each client can download second of Ziwen from the seeder server of destination server Part.
405, client is according to second seed file, the synchronous specified file in the second network.
Specifically, client is according to second seed file, the synchronous specified file in the second network, including but not limited to:
In the synchronizing process to any of specified file fragment data, judge that the second synchronous duration of fragment data is It is no more than the second preset duration;
If the second synchronous duration is more than the second preset duration, and the second synchronous number of attempt reaches the second preset times, then The destination server currently synchronized or client are switched to other destination servers or client in the second network to continue Execute synchronizing process.
Wherein, the second synchronous duration can be connected to the Connection Time currently synchronized in equipment for client, can also Think client from the downloading duration for currently synchronizing downloading fragment data in equipment.Second preset duration can be 2 seconds, 3 Second, 3 seconds etc., the present embodiment do not make specific limit to the second preset duration.Second preset times are 3 times, 6 times, it is 8 inferior, this Embodiment does not equally make specific limit to the second preset times.
In order to improve the synchronizing speed to specified file, method provided in this embodiment is to any of specified file point Before sheet data synchronizes, the second preset duration will be also set.When same to the second of any of specified file fragment data Step duration has been less than the second preset duration, illustrates in this synchronizing process to get off the fragment data is fully synchronized, The fragment data can be directly synchronized at this time.When the second synchronous duration to any of specified file fragment data has been more than second Preset duration illustrates that Network status is bad, and the speed that destination server synchronizes the fragment data from current server is slower, together Step process takes a long time, and needs to judge whether the second synchronous number of attempt reaches the second preset times at this time, if second synchronizes and taste Examination number is not up to the second preset times, can continue to attempt to synchronize the fragment data on original equipment at this time;If first is synchronous Number of attempt has reached the first preset times, the destination server currently synchronized or client can be switched to second at this time Other destination servers or client continue to execute synchronizing process in network, e.g., if the equipment that current sync synchronizes is mesh Server is marked, then destination server can be switched to other clients in the second network and continue to synchronize the fragment data;If current Synchronizing the equipment synchronized is client, then destination server can be switched to other clients in the second network and continue to synchronize The fragment data switches the client currently synchronized if other clients, which do not have, needs synchronous fragment data Continue to synchronize the fragment data on to the destination server in the second network.
For client according to second seed file, the process of synchronous specified file in the second network below will be with Fig. 5 For be described in detail.
Fig. 5 is the second network being made of a destination server and multiple client (peer), destination server by Tracker server and seeder server composition.When each client in the second network passes through destination server Tracker server is connected to after the second network, and each client obtains from the seeder server of destination server Two seed files, and according to second seed file in the second network synchronize specified file each fragment data.In the second net In network when each fragment data of synchronous specified file, client can synchronize specified from the seeder server of destination server The fragment data of file can also also synchronize the fragment data of specified file from other clients.Certainly, in order to improve synchronization Speed reduces the resource consumption of destination server, when a client synchronizes to get off from server and specifies text in the second network After the fragment data of part, other clients can preferentially synchronize the fragment data of specified file from the client.
It should be noted that the resource consumption of P2P network is different when due to being communicated using different agreements. When being communicated using http protocol, since the head character of http protocol is more, the information content for needing to carry is larger, therefore, Network resource consumption is larger.And in the present embodiment, no matter communication or target clothes between source and target server It is communicated between business device and client all using udp protocol.After being communicated using udp protocol, not only reduces Internet resources and disappear Consumption, greatly increases the connection number between client.
Method provided in an embodiment of the present invention, the first seed file that destination server is provided according to source server, by Multiple destination servers and synchronous specified file in the first network that source server forms, and according to specified file, generate first Link information and second seed file, comprising specified file information, destination server address and by mesh in first link information Mark second network information of server and multiple client composition, each visitor the first link information being sent in the second network Family end, client download second seed file according to the first link information, and then according to second seed file, in the second network Synchronous specified file.Due to client only synchronous documents in the second network, synchronous documents in other networks are not arrived, are avoided Network resource consumption caused by across a network synchronous documents reduces resource consumption when synchronous documents.In addition, destination server and Communicated between client by udp protocol, not only reduce network resource consumption, and substantially increase client it Between connection number, improve the trace ability of the tracker server of destination server, effectively improve the expansion of file resource The rate of dissipating, improves no-load speed.
Referring to Fig. 6, the embodiment of the invention provides a kind of server, which is destination server, which uses The file synchronisation method described in the above-mentioned Fig. 2 to embodiment shown in Fig. 4 of execution, the server include:
Synchronization module 601, the first seed file for being provided according to source server synchronize specified text in first network Part, first network are made of multiple destination servers and source server, and the first seed file includes all information of specified file And first network information;
Generation module 602, for generating the first link information and second seed file, the first link according to specified file Information includes the partial information and second network information of specified file, second seed file include specified file all information and Second network information, the second network are made of destination server and multiple client;
Sending module 603 makes the second network for the first link information to be sent to each client in the second network Interior each client downloads second seed file according to the first link information, according to second seed file, in the second network Synchronous specified file.
Optionally, synchronization module 601, comprising:
Judging unit, for judging fragment data in the synchronizing process to any of specified file fragment data Whether the first synchronous duration is more than the first preset duration;
Switch unit, if being more than the first preset duration for the first synchronous duration, and the first synchronization number of attempt reaches the One preset times, then switch to other servers in first network for the server currently synchronized and continue to execute and synchronized Journey.
Optionally, the server further include:
Receiving module is serviced according to the second link information from source for receiving the second link information of source server transmission The first subfile is downloaded on device, the second link information includes the partial information and first network information of specified file;Or, being used for Receive the first seed file that other servers in first network are sent.
Optionally, destination server is communicated with source server and each client using udp protocol.
Server provided in an embodiment of the present invention, the first seed file that destination server is provided according to source server, In By multiple destination servers and synchronous specified file in the first network that source server forms, and according to specified file, the is generated One link information and second seed file, partial information in first link information comprising specified file and by destination server With second network information of multiple client composition, the first link information is sent to each client in the second network, visitor Second seed file is downloaded according to the first link information in family end, and then according to second seed file, synchronizes and refer in the second network Determine file.Due to client only synchronous documents in the second network, synchronous documents in other networks are not arrived, across a network is avoided Network resource consumption caused by synchronous documents reduces resource consumption when synchronous documents.
Referring to Fig. 7, the embodiment of the invention provides a kind of client, the client is for executing shown in above-mentioned Fig. 2 to Fig. 4 Embodiment described in file synchronisation method, which includes:
Receiving module 701, for receiving the first link information of destination server transmission, the first link information is target clothes Business device is generated according to specified file, and the first link information includes the partial information and second network information of specified file, the second net Network is made of destination server and multiple client;
Download module 702 downloads second seed text for client according to the first link information from destination server Part, second seed file are generated by destination server according to specified file, and second seed file includes whole letters of specified file Breath and second network information;
Synchronization module 703, for client according to second seed file, the synchronous specified file in the second network.
Optionally, synchronization module 703, comprising:
Judging unit, for judging fragment data in the synchronizing process to any of specified file fragment data Whether the second synchronous duration is more than the second preset duration;
Switch unit, for being more than the second preset duration when the second synchronous duration, and second synchronizes number of attempt and reaches the When two preset times, the destination server currently synchronized or client are switched into other destination servers in the second network Or client continues to execute synchronizing process.
Optionally, client is communicated with destination server using udp protocol.
Client provided in an embodiment of the present invention, the first link information sent by receiving destination server, according to the One link information downloads second seed file, and then according to second seed file, the synchronous specified file in the second network.Due to Client only synchronous documents in the second network, do not arrive synchronous documents in other networks, avoid across a network synchronous documents and make At network resource consumption, reduce resource consumption when synchronous documents.
Fig. 8 is a kind of block diagram of device 800 for file synchronization shown according to an exemplary embodiment.For example, dress Setting 800 may be provided as a destination server.Referring to Fig. 8, it further comprises one that device 800, which includes processing component 822, Or multiple processors, and the memory resource as representated by memory 832, it can be by the execution of processing component 822 for storing Instruction, such as application program.The application program stored in memory 832 may include that one or more each is right The module of Ying Yuyi group instruction.In addition, processing component 822 is configured as executing instruction, to execute above-mentioned file synchronisation method, This method comprises:
According to the first seed file that source server provides, the synchronous specified file in first network, first network is by more A destination server and source server composition, the first seed file includes all information and first network information of specified file;
According to specified file, generates the first link information and second seed file, the first link information include specified file Partial information and second network information, second seed file includes all information and second network information of specified file, Two networks are made of destination server and multiple client;
First link information is sent to each client in the second network, makes each client root in the second network Second seed file is downloaded according to the first link information, according to second seed file, the synchronous specified file in the second network.
Optionally, the first seed file that destination server is provided according to source server, synchronizes specified in first network File, comprising:
In the synchronizing process to any of specified file fragment data, judge that the first synchronous duration of fragment data is It is no more than the first preset duration;
If the first synchronous duration is more than the first preset duration, and the first synchronous number of attempt reaches the first preset times, then The server currently synchronized is switched into other servers in first network and continues to execute synchronizing process.
Optionally, this method further include:
Destination server receives the second link information that source server is sent, according to the second link information from source server The first seed file is downloaded, the second link information includes the partial information and first network information of specified file;Or,
Destination server receives the first seed file that other servers in first network are sent.
Optionally, destination server is communicated with source server and each client using udp protocol.
Device provided in an embodiment of the present invention, the first seed file that destination server is provided according to source server, by Multiple destination servers and synchronous specified file in the first network that source server forms, and according to specified file, generate first Link information and second seed file, partial information in first link information comprising specified file and by destination server and Second network information of multiple client composition, is sent to each client in the second network, client for the first link information Second seed file is downloaded according to the first link information in end, and then according to second seed file, synchronizes in the second network specified File.Due to client only synchronous documents in the second network, synchronous documents in other networks are not arrived, it is same to avoid across a network Network resource consumption caused by step file reduces resource consumption when synchronous documents.
Referring to Fig. 9, it illustrates the structural schematic diagram of terminal involved in the embodiment of the present invention, which can be used for reality The file synchronisation method provided in above-described embodiment is provided.Specifically:
Terminal 900 may include RF (Radio Frequency, radio frequency) circuit 110, include one or more meter The memory 120 of calculation machine readable storage medium storing program for executing, input unit 130, display unit 140, sensor 150, voicefrequency circuit 160, WiFi (Wireless Fidelity, Wireless Fidelity) module 170, the processing for including one or more than one processing core The components such as device 180 and power supply 190.It will be understood by those skilled in the art that terminal structure shown in Fig. 9 is not constituted pair The restriction of terminal may include perhaps combining certain components or different component cloth than illustrating more or fewer components It sets.Wherein:
RF circuit 110 can be used for receiving and sending messages or communication process in, signal sends and receivees, particularly, by base station After downlink information receives, one or the processing of more than one processor 180 are transferred to;In addition, the data for being related to uplink are sent to Base station.In general, RF circuit 110 includes but is not limited to antenna, at least one amplifier, tuner, one or more oscillators, uses Family identity module (SIM) card, transceiver, coupler, LNA (Low Noise Amplifier, low-noise amplifier), duplex Device etc..In addition, RF circuit 110 can also be communicated with network and other equipment by wireless communication.The wireless communication can make With any communication standard or agreement, and including but not limited to GSM (Global System of Mobile communication, entirely Ball mobile communcations system), GPRS (General Packet Radio Service, general packet radio service), CDMA (Code Division Multiple Access, CDMA), WCDMA (Wideband Code Division Multiple Access, wideband code division multiple access), LTE (Long Term Evolution, long term evolution), Email, SMS (Short Messaging Service, short message service) etc..
Memory 120 can be used for storing software program and module, and processor 180 is stored in memory 120 by operation Software program and module, thereby executing various function application and data processing.Memory 120 can mainly include storage journey Sequence area and storage data area, wherein storing program area can the (ratio of application program needed for storage program area, at least one function Such as sound-playing function, image player function) etc.;Storage data area, which can be stored, uses created number according to terminal 900 According to (such as audio data, phone directory etc.) etc..In addition, memory 120 may include high-speed random access memory, can also wrap Include nonvolatile memory, a for example, at least disk memory, flush memory device or other volatile solid-state parts. Correspondingly, memory 120 can also include Memory Controller, to provide processor 180 and input unit 130 to memory 120 access.
Input unit 130 can be used for receiving the number or character information of input, and generate and user setting and function Control related keyboard, mouse, operating stick, optics or trackball signal input.Specifically, input unit 130 may include touching Sensitive surfaces 131 and other input equipments 132.Touch sensitive surface 131, also referred to as touch display screen or Trackpad are collected and are used Family on it or nearby touch operation (such as user using any suitable object or attachment such as finger, stylus in touch-sensitive table Operation on face 131 or near touch sensitive surface 131), and corresponding attachment device is driven according to preset formula.It is optional , touch sensitive surface 131 may include both touch detecting apparatus and touch controller.Wherein, touch detecting apparatus detection is used The touch orientation at family, and touch operation bring signal is detected, transmit a signal to touch controller;Touch controller is from touch Touch information is received in detection device, and is converted into contact coordinate, then gives processor 180, and can receive processor 180 The order sent simultaneously is executed.Furthermore, it is possible to using multiple types such as resistance-type, condenser type, infrared ray and surface acoustic waves Realize touch sensitive surface 131.In addition to touch sensitive surface 131, input unit 130 can also include other input equipments 132.Specifically, Other input equipments 132 can include but is not limited to physical keyboard, function key (such as volume control button, switch key etc.), One of trace ball, mouse, operating stick etc. are a variety of.
Display unit 140 can be used for showing information input by user or the information and terminal 900 that are supplied to user Various graphical user interface, these graphical user interface can be made of figure, text, icon, video and any combination thereof. Display unit 140 may include display panel 141, optionally, can use LCD (Liquid Crystal Display, liquid crystal Show device), the forms such as OLED (Organic Light-Emitting Diode, Organic Light Emitting Diode) configure display panel 141.Further, touch sensitive surface 131 can cover display panel 141, when touch sensitive surface 131 detects touching on it or nearby After touching operation, processor 180 is sent to determine the type of touch event, is followed by subsequent processing device 180 according to the type of touch event Corresponding visual output is provided on display panel 141.Although touch sensitive surface 131 and display panel 141 are conducts in Fig. 9 Two independent components realize input and input function, but in some embodiments it is possible to by touch sensitive surface 131 and display Panel 141 is integrated and realizes and outputs and inputs function.
Terminal 900 may also include at least one sensor 150, such as optical sensor, motion sensor and other sensings Device.Specifically, optical sensor may include ambient light sensor and proximity sensor, wherein ambient light sensor can be according to environment The light and shade of light adjusts the brightness of display panel 141, and proximity sensor can close display when terminal 900 is moved in one's ear Panel 141 and/or backlight.As a kind of motion sensor, gravity accelerometer can detect in all directions (generally Three axis) acceleration size, can detect that size and the direction of gravity when static, can be used to identify mobile phone posture application (ratio Such as horizontal/vertical screen switching, dependent game, magnetometer pose calibrating), Vibration identification correlation function (such as pedometer, tap);Extremely In other sensors such as gyroscope, barometer, hygrometer, thermometer, the infrared sensors that terminal 900 can also configure, herein It repeats no more.
Voicefrequency circuit 160, loudspeaker 161, microphone 162 can provide the audio interface between user and terminal 900.Audio Electric signal after the audio data received conversion can be transferred to loudspeaker 161, be converted to sound by loudspeaker 161 by circuit 160 Sound signal output;On the other hand, the voice signal of collection is converted to electric signal by microphone 162, after being received by voicefrequency circuit 160 Audio data is converted to, then by after the processing of audio data output processor 180, such as another end is sent to through RF circuit 110 End, or audio data is exported to memory 120 to be further processed.Voicefrequency circuit 160 is also possible that earphone jack, To provide the communication of peripheral hardware earphone Yu terminal 900.
WiFi belongs to short range wireless transmission technology, and terminal 900 can help user's transceiver electronics by WiFi module 170 Mail, browsing webpage and access streaming video etc., it provides wireless broadband internet access for user.Although Fig. 9 is shown WiFi module 170, but it is understood that, and it is not belonging to must be configured into for terminal 900, it can according to need completely Do not change in the range of the essence of invention and omits.
Processor 180 is the control centre of terminal 900, utilizes each portion of various interfaces and connection whole mobile phone Point, by running or execute the software program and/or module that are stored in memory 120, and calls and be stored in memory 120 Interior data execute the various functions and processing data of terminal 900, to carry out integral monitoring to mobile phone.Optionally, processor 180 may include one or more processing cores;Optionally, processor 180 can integrate application processor and modem processor, Wherein, the main processing operation system of application processor, user interface and application program etc., modem processor mainly handles nothing Line communication.It is understood that above-mentioned modem processor can not also be integrated into processor 180.
Terminal 900 further includes the power supply 190 (such as battery) powered to all parts, it is preferred that power supply can pass through electricity Management system and processor 180 are logically contiguous, to realize management charging, electric discharge and power consumption by power-supply management system The functions such as management.Power supply 190 can also include one or more direct current or AC power source, recharging system, power supply event Hinder the random components such as detection circuit, power adapter or inverter, power supply status indicator.
Although being not shown, terminal 900 can also include camera, bluetooth module etc., and details are not described herein.Specifically in this reality It applies in example, the display unit of terminal 900 is touch-screen display, and terminal 900 further includes having memory and one or one Above program, one of them perhaps more than one program be stored in memory and be configured to by one or one with Upper processor executes.The one or more programs include instructions for performing the following operations:
The first link information that destination server is sent is received, the first link information is destination server according to specified file Generate, the first link information includes the partial information and second network information of specified file, the second network by destination server and Multiple client composition;
According to the first link information, second seed file is downloaded from destination server, second seed file is taken by target Business device is generated according to specified file, and second seed file includes all information and second network information of specified file;
According to second seed file, the synchronous specified file in the second network.
Assuming that above-mentioned is the first possible embodiment, then provided based on the first possible embodiment Second of possible embodiment in, in the memory of terminal, also include instructions for performing the following operations:
According to second seed file, the synchronous specified file in the second network, comprising:
In the synchronizing process to any of specified file fragment data, judge that the second synchronous duration of fragment data is It is no more than the second preset duration;
If the second synchronous duration is more than the second preset duration, and the second synchronous number of attempt reaches the second preset times, then The destination server currently synchronized or client are switched to other destination servers or client in the second network to continue Execute synchronizing process.
The third the possible implementation then provided based on the first possible implementation, client and mesh It is communicated between mark server using udp protocol.
Terminal provided in an embodiment of the present invention receives the first link information that destination server is sent, root by client Second seed file is downloaded according to the first link information, and then according to second seed file, the synchronous specified file in the second network. Due to client only synchronous documents in the second network, synchronous documents in other networks are not arrived, across a network is avoided and synchronizes text Network resource consumption caused by part reduces resource consumption when synchronous documents.
The embodiment of the invention also provides a kind of computer readable storage medium, which be can be Computer readable storage medium included in memory in above-described embodiment;It is also possible to individualism, eventually without supplying Computer readable storage medium in end.The computer-readable recording medium storage has one or more than one program, this one A or more than one program is used to execute file synchronisation method by one or more than one processor, this method comprises:
The first link information that destination server is sent is received, the first link information is destination server according to specified file Generate, the first link information includes the partial information and second network information of specified file, the second network by destination server and Multiple client composition;
According to the first link information, second seed file is downloaded from destination server, second seed file is taken by target Business device is generated according to specified file, and second seed file includes all information and second network information of specified file;
According to second seed file, the synchronous specified file in the second network.
Assuming that above-mentioned is the first possible embodiment, then provided based on the first possible embodiment Second of possible embodiment in, in the memory of terminal, also include instructions for performing the following operations:
According to second seed file, the synchronous specified file in the second network, comprising:
In the synchronizing process to any of specified file fragment data, judge that the second synchronous duration of fragment data is It is no more than the second preset duration;
If the second synchronous duration is more than the second preset duration, and the second synchronous number of attempt reaches the second preset times, then The destination server currently synchronized or client are switched to other destination servers or client in the second network to continue Execute synchronizing process.
The third the possible implementation then provided based on the first possible implementation, client and mesh It is communicated between mark server using udp protocol.
Computer readable storage medium provided in an embodiment of the present invention receives that destination server is sent by client One link information downloads second seed file according to the first link information, and then according to second seed file, in the second network Synchronous specified file.Due to client only synchronous documents in the second network, synchronous documents in other networks are not arrived, are avoided Network resource consumption caused by across a network synchronous documents reduces resource consumption when synchronous documents.
A kind of graphical user interface is provided in the embodiment of the present invention, which is used in file synchronization terminal On, this document synchronous terminal include touch-screen display, memory and for executing one or more than one program one A or more than one processor;The graphical user interface includes:
The first link information that destination server is sent is received, the first link information is destination server according to specified file Generate, the first link information includes the partial information and second network information of specified file, the second network by destination server and Multiple client composition;
According to the first link information, second seed file is downloaded from destination server, second seed file is taken by target Business device is generated according to specified file, and second seed file includes all information and second network information of specified file;
According to second seed file, the synchronous specified file in the second network.
Graphical user interface provided in an embodiment of the present invention receives the first link that destination server is sent by client Information downloads second seed file according to the first link information, and then according to second seed file, synchronizes and refer in the second network Determine file.Due to client only synchronous documents in the second network, synchronous documents in other networks are not arrived, across a network is avoided Network resource consumption caused by synchronous documents reduces resource consumption when synchronous documents.
It should be understood that server provided by the above embodiment, client be in synchronous documents, only with above-mentioned each function The division progress of module can according to need and for example, in practical application by above-mentioned function distribution by different function moulds Block is completed, i.e., the internal structure of server and client side is divided into different functional modules, to complete whole described above Or partial function.In addition, server provided by the above embodiment, client and file synchronisation method embodiment belong to same structure Think, specific implementation process is detailed in embodiment of the method, and which is not described herein again.
Those of ordinary skill in the art will appreciate that realizing that all or part of the steps of above-described embodiment can pass through hardware It completes, relevant hardware can also be instructed to complete by program, the program can store in a kind of computer-readable In storage medium, storage medium mentioned above can be read-only memory, disk or CD etc..
The foregoing is merely presently preferred embodiments of the present invention, is not intended to limit the invention, it is all in spirit of the invention and Within principle, any modification, equivalent replacement, improvement and so on be should all be included in the protection scope of the present invention.

Claims (14)

1. a kind of file synchronisation method, which is characterized in that the described method includes:
The first seed file that destination server is provided according to source server, the synchronous specified file in first network, described the One network is made of multiple destination servers and source server, first seed file include specified file all information and First network information;
The destination server generates the first link information and second seed file, first chain according to the specified file The partial information and second network information that information includes the specified file are connect, the second seed file includes the specified text The all information of part and second network information, second network are made of destination server and multiple client;
First link information is sent to each client in second network by the destination server, makes described Each client in two networks downloads the second seed file according to first link information, according to the second seed File synchronizes the specified file in second network.
2. the method according to claim 1, wherein the destination server provided according to source server first Seed file, the synchronous specified file in first network, comprising:
In the synchronizing process to any of specified file fragment data, when judging that the first of the fragment data is synchronous Whether length is more than the first preset duration;
If the described first synchronous duration is more than the first preset duration, and the first synchronous number of attempt reaches the first preset times, then The server currently synchronized is switched into other servers in the first network and continues to execute synchronizing process.
3. the method according to claim 1, wherein the method also includes:
The destination server receives the second link information that the source server is sent, according to second link information from institute It states and downloads the first subfile on source server, second link information includes the partial information and first of the specified file The network information;Or,
The destination server receives the first seed file of the transmission of other servers in the first network.
4. according to claim 1 to method described in any claim in 3, which is characterized in that the destination server and institute It states and is communicated between source server and each client using User Datagram Protocol udp protocol.
5. a kind of file synchronisation method, which is characterized in that the described method includes:
Client receives the first link information that destination server is sent, and first link information is the destination server root It is generated according to specified file, first link information includes the partial information and second network information of the specified file, described Second network is made of the destination server and multiple client;
The client downloads second seed file according to first link information from the destination server, and described the Two seed files are generated by the destination server according to the specified file, and the second seed file includes the specified text The all information of part and second network information;
The client synchronizes the specified file in second network according to the second seed file.
6. according to the method described in claim 5, it is characterized in that, the client according to the second seed file, in institute It states and synchronizes the specified file in the second network, comprising:
In the synchronizing process to any of specified file fragment data, when judging that the second of the fragment data is synchronous Whether length is more than the second preset duration;
If the described second synchronous duration is more than the second preset duration, and the second synchronous number of attempt reaches the second preset times, then The destination server currently synchronized or client are switched into other destination servers or client in second network Continue to execute synchronizing process.
7. method according to claim 5 or 6, which is characterized in that use number of users between client and destination server It is communicated according to datagram protocol udp protocol.
8. a kind of server, which is characterized in that the server includes:
Synchronization module, the first seed file for being provided according to source server, synchronous specified file, described in first network First network is made of multiple destination servers and source server, and first seed file includes all information of specified file And first network information;
Generation module, for generating the first link information and second seed file, first link according to the specified file Information includes the partial information and second network information of the specified file, and the second seed file includes the specified file All information and second network information, second network is made of destination server and multiple client;
Sending module, each client for being sent to first link information in second network make described Each client in two networks downloads the second seed file according to first link information, according to the second seed File synchronizes the specified file in second network.
9. server according to claim 8, which is characterized in that the synchronization module, comprising:
Judging unit, in the synchronizing process to any of specified file fragment data, judging the fragment number According to the first synchronous duration whether more than the first preset duration;
Switch unit, if being more than the first preset duration for the described first synchronous duration, and the first synchronization number of attempt reaches the The server currently synchronized is then switched to other servers in the first network and continues to execute synchronization by one preset times Process.
10. server according to claim 8, which is characterized in that the server further include:
Receiving module, the second link information sent for receiving the source server, according to second link information from institute It states and downloads the first subfile on source server, second link information includes the partial information and first of the specified file The network information;Or, the first seed file sent for receiving other servers in the first network.
11. the server according to any claim in claim 8 to 10, which is characterized in that destination server and source It is communicated between server and each client using User Datagram Protocol udp protocol.
12. a kind of client, which is characterized in that the client includes:
Receiving module, for receiving the first link information of destination server transmission, first link information is the target Server is generated according to specified file, and first link information includes the partial information and the second network letter of the specified file Breath, second network are made of the destination server and multiple client;
Download module, it is described for according to first link information, downloading second seed file from the destination server Second seed file is generated by the destination server according to the specified file, and the second seed file includes described specified The all information of file and second network information;
Synchronization module, for synchronizing the specified file in second network according to the second seed file.
13. client according to claim 12, which is characterized in that the synchronization module, comprising:
Judging unit, in the synchronizing process to any of specified file fragment data, judging the fragment number According to the second synchronous duration whether more than the second preset duration;
Switch unit, for being more than the second preset duration when the described second synchronous duration, and the second synchronization number of attempt reaches the When two preset times, the equipment currently synchronized is switched into other equipment in second network continues to execute and synchronized Journey.
14. client according to claim 12 or 13, which is characterized in that using use between client and destination server User data datagram protocol udp protocol is communicated.
CN201410654637.2A 2014-11-17 2014-11-17 File synchronisation method, server and client Active CN105681370B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410654637.2A CN105681370B (en) 2014-11-17 2014-11-17 File synchronisation method, server and client

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410654637.2A CN105681370B (en) 2014-11-17 2014-11-17 File synchronisation method, server and client

Publications (2)

Publication Number Publication Date
CN105681370A CN105681370A (en) 2016-06-15
CN105681370B true CN105681370B (en) 2019-11-15

Family

ID=56944533

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410654637.2A Active CN105681370B (en) 2014-11-17 2014-11-17 File synchronisation method, server and client

Country Status (1)

Country Link
CN (1) CN105681370B (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106657413B (en) * 2017-02-28 2019-08-06 腾讯科技(深圳)有限公司 Document transmission method, device and system
CN108965362B (en) * 2017-05-19 2023-03-24 腾讯科技(深圳)有限公司 Data processing method, server and storage medium
CN108156257B (en) * 2018-01-17 2021-01-08 北京奇艺世纪科技有限公司 Information pushing method and device
CN111343274A (en) * 2020-02-28 2020-06-26 国铁吉讯科技有限公司 Data synchronization interaction method

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101841558A (en) * 2010-03-23 2010-09-22 中国科学院计算技术研究所 Method and system for downloading resource in P2SP network
CN103716349A (en) * 2012-09-29 2014-04-09 西门子公司 Medical image file transmission system, medical image file transmission method and server
CN104123341A (en) * 2014-06-26 2014-10-29 小米科技有限责任公司 Method and device for downloading file and route device

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20140280604A1 (en) * 2013-03-15 2014-09-18 Yavuz Ahiska Adaptive distributed application streaming

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101841558A (en) * 2010-03-23 2010-09-22 中国科学院计算技术研究所 Method and system for downloading resource in P2SP network
CN103716349A (en) * 2012-09-29 2014-04-09 西门子公司 Medical image file transmission system, medical image file transmission method and server
CN104123341A (en) * 2014-06-26 2014-10-29 小米科技有限责任公司 Method and device for downloading file and route device

Also Published As

Publication number Publication date
CN105681370A (en) 2016-06-15

Similar Documents

Publication Publication Date Title
CN110582017B (en) Video playing method, device, terminal and storage medium
CN106454404B (en) A kind of methods, devices and systems playing live video
CN105430424B (en) A kind of methods, devices and systems of net cast
CN103905885B (en) Net cast method and device
CN104639672B (en) The method and apparatus for carrying out domain name mapping
CN104618217B (en) Share method, terminal, server and the system of resource
CN106412093B (en) A kind of method for uploading of data, apparatus and system
CN104978176B (en) Application programming interfaces call method, device and computer readable storage medium
WO2017202348A1 (en) Video playing method and device, and computer storage medium
WO2016150270A1 (en) Method and apparatus for processing group session message
CN105183296B (en) interactive interface display method and device
CN104142868B (en) Establish the method and device of connection
CN104838661B (en) Flow-medium transmission method and system and user equipment and server
CN106791955B (en) A kind of method and system of determining live streaming duration
CN104238893B (en) A kind of method and apparatus that video preview picture is shown
CN106488296B (en) A kind of method and apparatus showing video barrage
CN104967608B (en) Play method, mobile terminal and the fixed terminal of multimedia file
US20140378176A1 (en) Method, apparatus and system for short message-based information push and mobile client supporting the same
CN106448714B (en) A kind of synchronous broadcast method of playback equipment, apparatus and system
CN105530239B (en) Multi-medium data acquisition methods and device
CN107977272A (en) The method and device of application operation
CN105681370B (en) File synchronisation method, server and client
WO2014206138A1 (en) Webpage data update method, apparatus and terminal device
CN104093053A (en) Video file playing method, devices and system
CN106504303B (en) A kind of method and apparatus playing frame animation

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant