CN106657413B - Document transmission method, device and system - Google Patents
Document transmission method, device and system Download PDFInfo
- Publication number
- CN106657413B CN106657413B CN201710113658.7A CN201710113658A CN106657413B CN 106657413 B CN106657413 B CN 106657413B CN 201710113658 A CN201710113658 A CN 201710113658A CN 106657413 B CN106657413 B CN 106657413B
- Authority
- CN
- China
- Prior art keywords
- server
- identification information
- agent
- service
- 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.)
- Active
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/06—Protocols specially adapted for file transfer, e.g. file transfer protocol [FTP]
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/10—Protocols in which an application is distributed across nodes in the network
- H04L67/1095—Replication or mirroring of data, e.g. scheduling or transport for data synchronisation between network nodes
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Information Transfer Between Computers (AREA)
Abstract
The application provides a kind of document transmission method, device and system, method is applied to control server cluster, it include: to instruct synchronous documents, first identification information of the first service server and the second identification information of the second service server are sent to first agent's server, triggering first agent's server determines file transmission type by the first identification information and the second identification information and synchronous documents instruction is issued to the first service server, so that file to be synchronized is reached second agent's server according to transmission path corresponding with file transmission type with preset protocol by the first service server;Download instruction and the second identification information are sent to second agent's server, second agent's server is triggered by download instruction and is issued to the second service server, so that the second service server downloads file to be synchronized from second agent's server with preset protocol.The application can be realized the orientation precise delivery of file to be synchronized, to effectively save flow and broadband resource.
Description
Technical field
The present invention relates to field of computer technology, and in particular to a kind of document transmission method, device and system.
Background technique
As some business internationalization processes Internet-based are accelerated, business also tends to diversification deployment, in addition to self-built
The deployment of domestic and international computer room, the environment such as domestic and international public cloud is increasingly becoming mainstream scheme.Under vast resources, globalization scene,
Across cloud resource management also brings very big challenge to O&M.Especially in the case where business network environment is complicated, selection is conventional
Structure on meet the file transmission scenario of typical C/S (Client/Server, client-server) structure, generally deposit
The problems such as transmission speed is slow, transmission is easily interrupted and transmission efficiency is low.
In current technology, there is also the schemes that file is transmitted by BitTorrent Sync, and the program is with P2P (Peer
To Peer, peer-to-peer network) mode transmits file, and transmission speed can get a promotion, and be not easy to interrupt.Wherein, BitTorrent
Sync is the synchronous applications software that BitTorrent company releases, and people is allowed to pass through BT (BitTorrent, bit stream) agreement
File synchronization is carried out between multiple spot (i.e. multiple devices).But the client deployment of BitTorrent Sync is in All hosts
On, the file in any one one file of BitTorrent Sync client synchronization, file, which can be defaulted, uses the side BT
Formula is synchronized in other all BitTorrent Sync clients.
Therefore, the scheme that file is transmitted by BitTorrent Sync, when will lead to each file synchronization, does not need this
The node of file can also participate in downloading this document, waste flow and broadband resource.
Summary of the invention
In view of this, the embodiment of the present invention provides a kind of document transmission method, device and system, text to be synchronized can be realized
The orientation precise delivery of part, to effectively save flow and broadband resource.
To achieve the above object, the embodiment of the present invention provides the following technical solutions:
A kind of document transmission method, applied to the control server cluster in document transmission system, file transmission system
System include service server, the proxy server being connected with the service server by Intranet and with the proxy server
The control server cluster being connected by public network or Intranet, which comprises
By the second identification of synchronous documents instruction, the first identification information of the first service server and the second service server
Information is sent to first agent's server, triggers first agent's server and is known by first identification information and described second
Other information determines file transmission type and synchronous documents instruction is issued to first service server, so that described the
One service server is reached file to be synchronized according to transmission path corresponding with the file transmission type with preset protocol
Second agent's server;The synchronous documents instruction includes the identification information of the file to be synchronized;First business service
Device is previously stored with the file to be synchronized;The preset protocol includes BT agreement;
Download instruction and second identification information are sent to second agent's server, trigger second agent's service
The download instruction is issued to second service server by device, so that second service server is with the preset protocol
The file to be synchronized is downloaded from second agent's server;The download instruction includes the identification information of file to be synchronized.
Preferably, first identification information and second identification information respectively include affiliated area and service identification letter
Breath, second identification by synchronous documents instruction, the first identification information of the first service server and the second service server
Information is sent to first agent's server, triggers first agent's server and is known by first identification information and described second
Other information determines file transmission type and synchronous documents instruction is issued to first service server, so that described the
One service server is reached file to be synchronized according to transmission path corresponding with the file transmission type with preset protocol
Second agent's server, comprising:
By the second identification of synchronous documents instruction, the first identification information of the first service server and the second service server
Information is sent to first agent's server, triggers first agent's server and determines that file transmits when meeting the first preset condition
Type is the first kind and synchronous documents instruction is issued to first service server, so that first business takes
File to be synchronized is reached first agent's server with preset protocol by business device;Wherein, the first kind is same business
File transmits in the same area, and first preset condition is the institute in first identification information and second identification information
Category region is identical and service identification information is identical;Second agent's server and first agent's server are the same generation Manage server;
It is described by download instruction and second identification information is sent to second agent's server, trigger the second agent
The download instruction is issued to second service server by server, so that second service server is with preset protocol
The file to be synchronized is downloaded from second agent's server, comprising:
Download instruction and second identification information are sent to first agent's server, trigger the first agent
The download instruction is issued to second service server by server, so that second service server is with preset protocol
The file to be synchronized is downloaded from first agent's server.
Preferably, first identification information and second identification information respectively include affiliated area and service identification letter
Breath, second identification by synchronous documents instruction, the first identification information of the first service server and the second service server
Information is sent to first agent's server, triggers first agent's server and is known by first identification information and described second
Other information determines file transmission type and synchronous documents instruction is issued to first service server, so that described the
One service server is reached file to be synchronized according to transmission path corresponding with the file transmission type with preset protocol
Second agent's server, comprising:
By the second identification of synchronous documents instruction, the first identification information of the first service server and the second service server
Information is sent to first agent's server, triggers first agent's server and determines that file transmits when meeting the second preset condition
Type is Second Type and synchronous documents instruction is issued to first service server, so that first business takes
File to be synchronized is reached second agent's server via the first forwarding server with preset protocol by business device;Wherein, described second
Type is the transregional domain file transmission of same business, and second preset condition is first identification information and second identification
Affiliated area in information is different and service identification information is identical;First forwarding server is that record has the second agent
Record has the second agent in first agent's server of server identification information or the control server cluster
Any control server of server identification information.
Preferably, first identification information and second identification information respectively include affiliated area and service identification letter
Breath, second identification by synchronous documents instruction, the first identification information of the first service server and the second service server
Information is sent to first agent's server, triggers first agent's server and is known by first identification information and described second
Other information determines file transmission type and synchronous documents instruction is issued to first service server, so that described the
One service server is reached file to be synchronized according to transmission path corresponding with the file transmission type with preset protocol
Second agent's server, comprising:
By the second identification of synchronous documents instruction, the first identification information of the first service server and the second service server
Information is sent to first agent's server, triggers first agent's server and determines that file transmits when meeting third preset condition
Type is third type and synchronous documents instruction is issued to first service server, so that first business takes
File to be synchronized is reached second agent's server via the second forwarding server with preset protocol by business device;Wherein, the third
Type is across service scripts transmission, and the third preset condition is in first identification information and second identification information
Service identification information is different;Second forwarding server is that record has the second agent to take in the control server cluster
Any control server for device identification information of being engaged in.
Preferably, further includes:
Real-time reception simultaneously stores the proxy server identification information that the corresponding proxy server of each business in each region is sent,
The proxy server identification information includes affiliated area, service identification information and IP address.
Preferably, further includes:
If continuing the proxy server identification information that preset time does not receive the transmission of third proxy server, deletion has been deposited
The proxy server identification information of the third proxy server of storage;The third proxy server is each business in each region
Any agent server in corresponding proxy server.
Preferably, the preset protocol further includes standby protocol, and the standby protocol includes TCP and/or UDP, then described
The priority that each agreement is enabled in preset protocol is followed successively by the BT agreement and standby protocol from high in the end.
A kind of file transfer means, applied to the control server cluster in document transmission system, file transmission system
System include service server, the proxy server being connected with the service server by Intranet and with the proxy server
The control server cluster being connected by public network or Intranet, described device include:
First sending module, for instructing synchronous documents, the first identification information and the second industry of the first service server
Second identification information of business server is sent to first agent's server, triggers first agent's server and is known by described first
Other information and second identification information determine file transmission type and synchronous documents instruction are issued to first industry
Business server, so that first service server is with preset protocol according to transmission corresponding with file transmission type road
File to be synchronized is reached second agent's server by diameter;The synchronous documents instruction includes that the identification of the file to be synchronized is believed
Breath;First service server is previously stored with the file to be synchronized;The preset protocol includes BT agreement;
Second sending module is touched for download instruction and second identification information to be sent to second agent's server
It sends out second agent's server described and the download instruction is issued to second service server, so that second business takes
Business device downloads the file to be synchronized from second agent's server with the preset protocol;The download instruction includes to same
The identification information of step file.
Preferably, first identification information and second identification information respectively include affiliated area and service identification letter
Breath, first sending module include:
First transmission unit, for instructing synchronous documents, the first identification information and the second industry of the first service server
Second identification information of business server is sent to first agent's server, triggers first agent's server and determines satisfaction first
File transmission type is the first kind and synchronous documents instruction is issued to first service server when preset condition,
So that file to be synchronized is reached first agent's server with preset protocol by first service server;Wherein, described
The first kind is file transmission in same business the same area, and first preset condition is first identification information and described
Affiliated area in second identification information is identical and service identification information is identical;Second agent's server and the first generation Reason server is the same proxy server;
Second sending module includes:
Second transmission unit is serviced for download instruction and second identification information to be sent to the first agent
Device triggers first agent's server for the download instruction and is issued to second service server, so that described second
Service server downloads the file to be synchronized from first agent's server with preset protocol.
Preferably, first identification information and second identification information respectively include affiliated area and service identification letter
Breath, first sending module include:
Third transmission unit, for instructing synchronous documents, the first identification information and the second industry of the first service server
Second identification information of business server is sent to first agent's server, triggers first agent's server and determines satisfaction second
File transmission type is Second Type and synchronous documents instruction is issued to first service server when preset condition,
So that file to be synchronized is reached second agent's clothes via the first forwarding server with preset protocol by first service server
Business device;Wherein, the Second Type is the transregional domain file transmission of same business, and second preset condition is first identification
Information is different with the affiliated area in second identification information and service identification information is identical;First forwarding server is
Record has in the first agent's server or the control server cluster of second agent's server identification information
Record has any control server of second agent's server identification information.
Preferably, first identification information and second identification information respectively include affiliated area and service identification letter
Breath, first sending module include:
4th transmission unit, for instructing synchronous documents, the first identification information and the second industry of the first service server
Second identification information of business server is sent to first agent's server, triggers first agent's server determination and meets third
File transmission type is third type and synchronous documents instruction is issued to first service server when preset condition,
So that file to be synchronized is reached second agent's clothes via the second forwarding server with preset protocol by first service server
Business device;Wherein, the third type is across service scripts transmission, and the third preset condition is first identification information and institute
The service identification information stated in the second identification information is different;Second forwarding server is to remember in the control server cluster
Record has any control server of second agent's server identification information.
Preferably, further includes:
Memory module for real-time reception and stores agency's clothes that the corresponding proxy server of each business in each region sends
Business device identification information, the proxy server identification information includes affiliated area, service identification information and IP address.
Preferably, further includes:
Update module, if not receiving the proxy server identification of third proxy server transmission for continuing preset time
Information deletes the proxy server identification information of the stored third proxy server of the memory module;The third
Proxy server is any agent server in the corresponding proxy server of business each in each region.
Preferably, the preset protocol further includes standby protocol, and the standby protocol includes TCP and/or UDP, then described
The priority that each agreement is enabled in preset protocol is followed successively by the BT agreement and standby protocol from high in the end.
A kind of document transmission system, comprising:
Service server, the proxy server being connected with the service server by Intranet, and with the agency
The control server cluster that server is connected by public network or Intranet;
It is described control server cluster be used for: by synchronous documents instruction, the first service server the first identification information and
Second identification information of the second service server is sent to first agent's server, triggers first agent's server by described
First identification information and second identification information determine file transmission type and are issued to synchronous documents instruction described
First service server, so that first service server is with preset protocol according to corresponding with the file transmission type
File to be synchronized is reached second agent's server by transmission path;The synchronous documents instruction includes the knowledge of the file to be synchronized
Other information;First service server is previously stored with the file to be synchronized;The preset protocol includes BT agreement;Will under
It carries instruction and second identification information is sent to second agent's server, trigger second agent's server for the downloading
Instruction is issued to second service server, so that second service server is with the preset protocol from the second generation
It manages server and downloads the file to be synchronized;The download instruction includes the identification information of file to be synchronized.
Preferably, the control server cluster includes:
Manage server zone sub-cluster;
The independent matched agency service of the control server zone sub-cluster and the control server zone sub-cluster
Device is connected;
It is connected between the control server zone sub-cluster by Intranet or public network.
Preferably, the control server cluster is also used to:
Real-time reception simultaneously stores the proxy server identification information that the corresponding proxy server of each business in each region is sent,
The proxy server identification information includes affiliated area, service identification information and IP address.
Preferably, the control server cluster is also used to:
If continuing the proxy server identification information that preset time does not receive the transmission of third proxy server, deletion has been deposited
The proxy server identification information of the third proxy server of storage;The third proxy server is each business in each region
Any agent server in corresponding proxy server.
Preferably, the preset protocol further includes standby protocol, and the standby protocol includes TCP and/or UDP, then described
The priority that each agreement is enabled in preset protocol is followed successively by the BT agreement and standby protocol from high in the end.
It can be seen via above technical scheme that compared with prior art, the present invention provides a kind of document transmission methods, dress
It sets and system.Technical solution provided by the invention, applied to the control server cluster in document transmission system, this document transmission
System include service server, the proxy server being connected with the service server by Intranet and with the agency service
The control server cluster that device is connected by public network or Intranet, specifically, control server cluster will synchronize text first
Second identification information of part instruction, the first identification information of the first service server and the second service server is sent to the first generation
Server is managed, first agent's server is triggered by first identification information and second identification information and determines that file passes
Synchronous documents instruction is simultaneously issued to first service server by defeated type, so that first service server is with pre-
If file to be synchronized is reached the second agent according to transmission path corresponding with the file transmission type and serviced by agreement
Device, wherein the synchronous documents instruction includes the identification information of the file to be synchronized, and first service server is deposited in advance
The file to be synchronized is contained, the preset protocol includes BT agreement, then sends out download instruction and second identification information
It send to second agent's server, triggers second agent's server for the download instruction and be issued to second business service
Device, so that second service server downloads the text to be synchronized from second agent's server with the preset protocol
Part;The download instruction includes the identification information of file to be synchronized.That is, technical solution provided by the invention, passes through pipe
The control for controlling server cluster, can be realized directional transmissions file to be synchronized, can extremely need file directional transmissions to be synchronized
Synchronize the position of the file to be synchronized, will not additional synchronization to other positions, to realize that the orientation of file to be synchronized is accurate
Transmission, can effectively save flow and broadband resource.
Detailed description of the invention
In order to more clearly explain the embodiment of the invention or the technical proposal in the existing technology, to embodiment or will show below
There is attached drawing needed in technical description to be briefly described, it should be apparent that, the accompanying drawings in the following description is only this
The embodiment of invention for those of ordinary skill in the art without creative efforts, can also basis
The attached drawing of offer obtains other attached drawings.
Fig. 1 is a kind of structure chart of document transmission system provided in an embodiment of the present invention;
Fig. 2 is the structure chart of another document transmission system provided in an embodiment of the present invention;
Fig. 3 is a kind of signaling process figure of document transmission method provided in an embodiment of the present invention;
Fig. 4 is another signaling process figure of document transmission method provided in an embodiment of the present invention;
Fig. 5 is another signaling process figure of document transmission method provided in an embodiment of the present invention;
Fig. 6 is the flow chart of document transmission method provided in an embodiment of the present invention;
Fig. 7 is the structural block diagram of file transfer means provided in an embodiment of the present invention;
Fig. 8 is the hardware block diagram that server is managed in control server cluster provided in an embodiment of the present invention.
Specific embodiment
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete
Site preparation description, it is clear that described embodiments are only a part of the embodiments of the present invention, instead of all the embodiments.It is based on
Embodiment in the present invention, it is obtained by those of ordinary skill in the art without making creative efforts every other
Embodiment shall fall within the protection scope of the present invention.
Fig. 1 is a kind of structure chart of document transmission system provided in an embodiment of the present invention, text provided in an embodiment of the present invention
Part transmission method can be carried out based on system shown in Figure 1, and referring to Fig.1, which may include: service server 11, with the industry
The proxy server 12 that business server 11 is connected by Intranet, and pass through public network or Intranet phase with the proxy server 12
The control server cluster 13 of connection;
The control server cluster 13 is used for: by synchronous documents instruction, the first identification information of the first service server
It is sent to first agent's server with the second identification information of the second service server, triggers first agent's server by institute
It states the first identification information and second identification information determines file transmission type and synchronous documents instruction is issued to institute
The first service server is stated, so that first service server is with preset protocol according to corresponding with the file transmission type
Transmission path file to be synchronized is reached into second agent's server;The synchronous documents instruction includes the text to be synchronized
The identification information of part;First service server is previously stored with the file to be synchronized;The preset protocol includes BT association
View;Download instruction and second identification information are sent to second agent's server, triggering second agent's server will
The download instruction is issued to second service server, so that second service server is with the preset protocol from institute
It states second agent's server and downloads the file to be synchronized;The download instruction includes the identification information of file to be synchronized.
Optionally, the service server 11 is the business clothes corresponding to specified services for deploying Agent (intelligent body)
Business device.Wherein, Agent (intelligent body) is the software entity for executing file download, upload and script task execution.Also
It is to say, file download, upload and the relevant operation of script task execution that the service server 11 executes, all by means of portion
The Agent on the service server 11 is affixed one's name to realize.
Optionally, BT File Server (BT file server) is deployed on the proxy server 12 wherein, BT
File Server is the software entity operated on the proxy server 12.Specifically, service server 11 is by text to be synchronized
Part is uploaded to the BT File Server of proxy server.Further, multiple BT can be disposed on the proxy server 12
File Server, this multiple BT File Server can constitute a small cluster, for realizing service High Availabitity.Optionally,
The proxy server 12 may include one or at least two physical machines, and a BT can be disposed in each physical machine
File Server, then, if the proxy server 12 includes at least two physical machines, the proxy server 12 just portion
At least two BT File Server are affixed one's name to.
Optionally, as shown in Figure 1, can in the service server of the different same business of regional deployment, and with the industry
The proxy server that business server matches;It is, of course, understood that the industry of multiple business can also be disposed in the same area
Business server, and the proxy server to match with service server;Wherein, the service server of different business is matched with not
More service servers, the service server of the same business of the same area can be set in same proxy server, same business
With same proxy server.
Optionally, control server cluster 13 may include one or more control servers, manages and disposes on server
There is BT File Server, for carrying out file transmitting, or internal different pipes with the BT File Server of proxy server
It controls and carries out file transmitting between the BT File Server on server.
It is more quick and reliable when carrying out file transmission control to make to manage server cluster, manage server cluster
13 may include the control server zone sub-cluster for being separately positioned on different zones, the control server zone sub-cluster packet
One or more control servers are included, for managing one or more service server;Certainly, the same area also can be set
Multiple control server zone sub-clusters, the present invention do not limit this.
Fig. 2 is the structure chart of another document transmission system provided in an embodiment of the present invention, and the embodiment of the present invention provides
Document transmission method may be based on system shown in Figure 2 progress, referring to Fig. 2, which may include: service server 11, with
The proxy server 12 that the service server 11 is connected by Intranet, and with the proxy server 12 by public network or
The control server cluster 13 that Intranet is connected;
Wherein, control server cluster 13 includes control server zone sub-cluster 131, manages server zone sub-cluster
It is connected between 131 by Intranet or public network.
Optionally, the corresponding control server zone sub-cluster 131 in a region, manages server zone sub-cluster
It is connected in a manner of preset between 131 by Intranet or public network, to realize different control server zone subsets
Information exchange between group 131.As shown in Fig. 2, optional, 1 control server zone sub-cluster 131 is independent responsible (matching)
The proxy server 12 in one region, i.e., the described control server zone sub-cluster 131 and the control server zone subset
Group 131 is independent, and matched proxy server 12 is connected, meanwhile, optionally, the general portion of control server zone sub-cluster 131
Administration is in be responsible for region, it is of course also possible to be deployed in other regions.For example, a-quadrant, B area, the region C and the region D in figure
It can be respectively continent region, Asia-Pacific region, America region and Europe Region;Pipe corresponding, that this four regions respectively connect
Control server zone sub-cluster 131 can be deployed in that a subregion (such as Shenzhen), (such as Hong Kong is especially administrative for b subregion respectively
Area), c subregion (such as U.S.) and d subregion (such as Germany), it should be noted that mode provided by Fig. 2 is only that one kind is shown
Example, based on mode provided by Fig. 2, those skilled in the art can be readily conceivable that other modes, this all should belong in these
The protection scope of invention.
It should be noted that if the same area is provided with multiple control server zone sub-clusters, then multiple control takes
Business device area subsets group cooperates with the proxy server for being responsible for (matching) region.
In embodiments of the present invention, control server cluster first by synchronous documents instruction, the first service server the
One identification information and the second identification information of the second service server are sent to first agent's server, trigger the first agent
Server is determined file transmission type by first identification information and second identification information and is referred to the synchronous documents
Order is issued to first service server, so that first service server is transmitted with preset protocol according to the file
File to be synchronized is reached second agent's server by the corresponding transmission path of type, wherein the synchronous documents instruction
Identification information including the file to be synchronized, first service server is previously stored with the file to be synchronized, described
Preset protocol includes BT agreement, and download instruction and second identification information are then sent to second agent's server, triggering
The download instruction is issued to second service server by second agent's server, so that second business service
Device downloads the file to be synchronized from second agent's server with the preset protocol;The download instruction includes to be synchronized
The identification information of file.That is, by managing the control of server cluster, can be realized orientation in the embodiment of the present invention
File to be synchronized is transmitted, can be by file directional transmissions to be synchronized to the position for needing synchronous (file to be synchronized), it will not
Additional synchronization is to other positions, to realize the orientation precise delivery of file to be synchronized, can effectively save flow and broadband money
Source.
In addition, the business of the control server cluster and lower layer on upper layer is arranged in proxy server in the embodiment of the present invention
Among server, is connected between proxy server and control server cluster by public network or Intranet, passed through with service server
Intranet connection keeps service operation more safe and reliable to make service server and be not exposed under public network environment.
Optionally, in the embodiment of the present invention, transport protocol when file transmission is carried out, i.e., the described preset protocol further includes standby
With agreement, the standby protocol include TCP (Transmission Control Protocol, transmission control protocol) and/or
UDP (User Datagram Protocol, User Datagram Protocol), then enable the priority of each agreement in the preset protocol
It is followed successively by BT agreement and standby protocol from high in the end.Wherein, if in the standby protocol including TCP and UDP, what the two enabled
Priority may be the same or different;If the priority that the two enables is identical, when enabling standby protocol, in optional the two
A kind of agreement carry out file transmission;If the priority that the two enables is different, when enabling standby protocol, according to priority from height
Sequence on earth, it is preferential to enable the high transport protocol of priority.It should be noted that technical solution provided in this embodiment, excellent
It first enables BT agreement and transmits file, when BT agreement transmission speed is lower than preset threshold, be just switched to standby protocol.
Optionally, the control server cluster 13 is also used to:
Real-time reception simultaneously stores the proxy server identification information that the corresponding proxy server of each business in each region is sent,
The proxy server identification information includes the proxy server affiliated area, service identification information and IP address.
Optionally, 13 real-time reception of control server cluster and the corresponding agency service of each business in each region is stored
The proxy server identification information that device is periodically sent.
Optionally, BT File Server is deployed on the proxy server 12, then the proxy server identification letter
Breath further includes the BT File Server port information, and further, the proxy server identification information is specially to dispose
The identification information of BT File Server on the proxy server 12, comprising: (proxy server) affiliated area, industry
Business identification information, (proxy server access) IP address and BT File Server port information.Specifically, if the agency
At least two BT File Server are deployed on server 12, and at least two BT File Server is deployed in not respectively
In same physical machine, then the corresponding public network of at least two BT File Server (identification information) or Intranet IP are
Different, corresponding affiliated area is identical, and corresponding service identification information is identical, and corresponding BT File
Server port information can be the same or different.
Specifically, 13 real-time reception of control server cluster and storing the corresponding agency service of each business in each region
The proxy server identification information that device is sent, so as to pass through the transmission path for converging and being calculated file.
Optionally, if control server cluster 13 includes control server zone sub-cluster 131, control server zone
It is connected between cluster 131 by Intranet or public network, then respectively manage 131 real-time reception of server zone sub-cluster and stores this pipe
Control server zone sub-cluster 131 matches the agency service that the corresponding proxy server of each business in (responsible) region is sent
Device identification information, then, each control server zone sub-cluster 131 just can obtain each business in each region by convergence and correspond to
Proxy server send proxy server identification information, just can based on these obtained information when needing to transmit file
Transmission path is enough calculated.
Optionally, the control server cluster 13 is also used to:
If continuing the proxy server identification information that preset time does not receive the transmission of third proxy server, deletion has been deposited
The proxy server identification information of the third proxy server of storage;The third proxy server is each business in each region
Any agent server in corresponding proxy server.
Optionally, if control server cluster 13 includes control server zone sub-cluster 131, control server zone
It is connected between cluster 131 by Intranet or public network, then, if any control server zone sub-cluster 131 continues preset time
This control server zone sub-cluster 131 is not received matches the agency that any agent server is sent in (responsible) region
Server identification information just deletes the proxy server identification information of the stored proxy server.
Optionally, the BT File Server managed in server cluster 13 point can be by specific embodiment
Turn BT File Server and control BT File Server, then managing server cluster 13 can receive in the following way simultaneously
Store the proxy server identification information that the corresponding proxy server of each business in each region is sent:
The BT File Server (calling business BT File Server in the following text) of proxy server (i.e. under service environment) is at least
The transfer BT File Server in server cluster is managed with one to be connected, and manages the transfer BT File of server cluster
The identification information of itself that Server real-time reception business BT File Server is periodically reported (such as every 5 seconds) is (including affiliated
Region, service identification information, IP address and business BT File Server port information), the public affairs in the identification information received
Net or Intranet IP (public network or Intranet IP of the proxy server access i.e. where business BT File Server) replace with oneself
IP, and be at least reported on a control BT File Server (it is optional, at least configure two control BT File
Server), and the storage of the identification information of the business BT File Server received into memory, do not have if continuing preset time
Have receive again it is corresponding report information (i.e. the identification information of business BT File Server), then the industry is deleted from memory
The identification information of business BT File Server;
It manages BT File Server and receives reporting from transfer BT File Server, also can receive to come from simultaneously
Business BT File Server's reports, and also the identification information of the business BT File Server received can be saved in memory
In, it corresponding report information if continuing preset time and not receiving again (i.e. the identification of business BT File Server is believed
Breath), then the identification information of business BT File Server is deleted from memory;
Wherein, control BT File Server can dispose multiple, the identification based on above-mentioned business BT File Server
The reporting schemes of information are not that each control BT File Server can directly store all business BT File
The identification information of Server, but all control BT File Server and all transfer BTFile Server carry out information remittance
After poly-, the identification information of all business BT File Server just can be obtained.It is understood that due to business BT
The identification information of File Server includes (proxy server) affiliated area, service identification information (i.e. traffic ID), IP address
It therefore, just can be true by the identification information of obtained business BT File Server with BT File Server port information
Determine the transmission path of service scripts, the i.e. link information of service scripts.
Optionally, according to the link information of service scripts, the forward rule of service scripts is as follows:
Business BT File Server only forwards the file of this business, if can not find mesh in the link information of oneself maintenance
Link is marked, then is forwarded to the transfer BT File Server of configuration (by the identification information of file and target service server);It can
Choosing, target service server disposition Agent, then the identification information of target service server is the identification letter of the Agent
Breath;Wherein, which refers to the service server that need to download file;
Transfer BT File Server in transfer BT File Server cluster receives file and target service server
Identification information when:
The identification information of file and target service server if it is business BT File Server forwarding, if being based on mesh
The identification information of mark service server can find the corresponding service link of junior, can find and target service server phase
File is then directly forwarded to the corresponding business BT File of the service link by matched business BT File Server
Server;If not finding, the identification information of file and target service server is forwarded to control BT File Server;
When control BT File Server receives the identification information of file and target service server, if in oneself
It deposits and finds service link information, be then forwarded directly to transfer BT File Server or business the BT File of next stage
Server.If can not find service link information, it is forwarded on other control BT FileServer;If entirely managing BT
When File Server cluster does not all find service link information, the directly identification of discarding file and target service server is believed
Breath;
When any transfer BT File Server receives the file and target service of control BT File Server forwarding
When the identification information of server, if finding the corresponding service link of junior, it is corresponding that file is forwarded to the service link
On business BT File Server;Identification information that is if it is not found, then abandoning file and target service server, without
The transmission of BT file.
Based on system shown in Figure 1, Fig. 3 shows a kind of signaling flow of document transmission method provided in an embodiment of the present invention
Journey, referring to Fig. 3, which may include:
Step S101, control server cluster sends synchronous documents instruction, the first business service to first agent's server
First identification information of device and the second identification information of the second service server;
Specifically, the synchronous documents instruction includes the information of file to be synchronized.
Optionally, first identification information includes affiliated area and service identification information, wherein due to first knowledge
Other information is the identification information of first service server, and therefore, the region in first identification information refers to institute
Region belonging to the first service server is stated, service identification information refers to the mark letter of business corresponding to the first service server
Breath.Optionally, second identification information be second service server identification information, including with the second service server
Corresponding affiliated area and service identification information respectively.
Step S102, synchronous documents instruction is issued to opposite with first identification information by first agent's server
First service server answered;
Optionally, first identification information further includes IP address of internal network, which refers to first business
The IP address of internal network of server.Specifically, first agent's server is by the first business service in first identification information
The IP address of internal network of device can lock the first service server, and synchronous documents instruction is issued to the first service server.
Step S103, file to be synchronized is uploaded to the first agent with preset protocol and serviced by the first service server
Device;
Specifically, synchronous documents instruction includes the identification information of the file to be synchronized, the first service server is by described
The identification information of file to be synchronized can determine the file to be synchronized.It is understood that the first service server is deposited in advance
Contain the file to be synchronized.
Specifically, the preset protocol includes BT agreement, correspondingly, being deployed with BT on first agent's server
File Server, that is to say, that file to be synchronized is uploaded to the first agent with BT agreement and serviced by the first service server
BT File Server on device.
Step S104, download instruction and second identification information are sent to first agent's service by control server cluster
Device;
Step S105, the download instruction is issued to corresponding with second identification information by first agent's server
Two service servers;
Optionally, second identification information further includes IP address of internal network, which refers to second business
The IP address of internal network of server.Specifically, first agent's server is by the second business service in second identification information
The IP address of internal network of device can lock the second service server, and the download instruction is issued to the second service server.
Specifically, the download instruction includes the identification information of the file to be downloaded.
Step S106, the second service server asks the downloading of the file to be downloaded to the transmission of first agent's server
It asks;
Specifically, the downloading request includes the identification information of the file to be downloaded.
Step S107, first agent's server is compared, and determines first identification information and second identification information
In affiliated area it is identical and when service identification information is identical, respond the downloading and request, with the preset protocol to the second industry
Business server sends the file to be downloaded;
Specifically, first agent's server is compared, determine in first identification information and second identification information
Affiliated area it is identical, and when service identification information in first identification information and second identification information is also identical,
It then can determine first service server and second service server be the same area and the industry for disposing identical services
Business server, therefore the corresponding proxy server of the two is (the i.e. described first agent's service of the same proxy server
Device), that is to say, that current transport-type is file transmission in same business the same area, is asked at this point, responding the downloading
It asks, the file to be downloaded is sent to the second service server with the preset protocol.
Specifically, the BT File Server on the first service server sends institute to the second service server with BT agreement
State file to be downloaded.
Optionally, first agent's server is compared, and is determined in first identification information and second identification information
Service identification information difference when, it is determined that the second service server deployment (operation) business be not first agent's server take
The business of business just belongs to across service scripts transmission at this time, and optionally, first agent's server ignores the second service server at this time
The downloading of transmission is requested, to avoid the trans-sectoral business transmission of file, guarantees the isolation and safety of business.
Optionally, which can also include:
If the second service server detects BT agreement speed of download lower than preset threshold, it is switched to standby protocol continuation
Download the file to be synchronized.
Optionally, the standby protocol includes TCP and/or UDP.It, can be with if the standby protocol includes TCP and UDP
Any one agreement being switched in the two, alternatively, being first switched to priority in the two according to preset priority orders
A kind of high agreement, such as TCP, if a kind of speed of download of the high agreement of priority still is below preset threshold in the two,
It is switched to the agreement that priority is low in the two again.
Specifically, being switched to spare when if the second service server detects BT agreement speed of download lower than preset threshold
Agreement continues to download the file to be synchronized, can shorten download time to a certain extent, and can be improved file download
Reliability, if encountering the problem of situations such as downloading is interrupted bring file download fails in BT agreement downloading process as reduced.
In practical business scene, can also there be the demand of the transregional domain file transmission of same business, for this purpose, the present invention is implemented
Example additionally provides another document transmission method.Fig. 4 shows the another of document transmission method provided in an embodiment of the present invention
Signaling process, referring to Fig. 4, which may include:
Step S201, control server cluster sends synchronous documents instruction, the first business service to first agent's server
First identification information of device and the second identification information of the second service server;
Specifically, the synchronous documents instruction includes the information of file to be synchronized.
Optionally, first identification information includes affiliated area and service identification information, wherein due to first knowledge
Other information is the identification information of first service server, and therefore, the region in first identification information refers to institute
Region belonging to the first service server is stated, service identification information refers to the mark letter of business corresponding to the first service server
Breath.Optionally, second identification information be second service server identification information, including with the second service server
Corresponding affiliated area and service identification information respectively.
Step S202, synchronous documents instruction is issued to opposite with first identification information by first agent's server
First service server answered;
Optionally, first identification information further includes IP address of internal network, which refers to first business
The IP address of internal network of server.Specifically, first agent's server is by the first business service in first identification information
The IP address of internal network of device can lock the first service server, and synchronous documents instruction is issued to the first service server.
Step S203, file to be synchronized is uploaded to the first agent with preset protocol and serviced by the first service server
Device;
Specifically, the preset protocol includes BT agreement, correspondingly, being deployed with BT on first agent's server
File Server, that is to say, that file to be synchronized is uploaded to the first agent with BT agreement and serviced by the first service server
BT File Server on device.
Step S204, first agent's server is compared, and determines first identification information and second identification information
In affiliated area it is different but when service identification information is identical, search whether to exist corresponding with second identification information the
Two proxy server identification informations;If so, step S205 is executed, if it is not, executing step S206~step S207;
Specifically, first agent's server is compared, determine in first identification information and second identification information
Affiliated area it is different, but when first identification information is identical with service identification information in second identification information, just
It can determine first service server and second service server be different zones but the business for disposing identical services
Server, i.e., current transport-type are the transregional domain file transmission of same business.Due to first service server and described
Second service server is located at different zones, and therefore, the corresponding proxy server of the two is not the same proxy server,
At this point, searching whether there is second agent's server identification information corresponding with second identification information.Specifically, described
(i.e. second agent takes for second identification information (i.e. the identification information of the second service server) and second agent's server identification information
The identification information of business device) it all include affiliated area and service identification information, and the affiliated area in the two should identical and business
Identification information should be identical, therefore, by the affiliated area and service identification information in second identification information, just can look into
It finds (in the configuration information of first agent's server storage) with the presence or absence of second agent's server identification information.
Optionally, first agent's server is compared, and is determined in first identification information and second identification information
Service identification information difference when, it is determined that the second service server deployment (operation) business be not first agent's server take
The business of business just belongs to across service scripts transmission at this time, and optionally, first agent's server can no longer carry out subsequent look at this time
The operation such as look for, executing process terminates, so that the trans-sectoral business of file be avoided to transmit, guarantees the isolation and safety of business.
Step S205, the file to be synchronized is sent to and the second agent by first agent's server with preset protocol
The corresponding second agent's server of server identification information;
Specifically, the file to be synchronized is sent to institute with BT agreement by the BT File Server of first agent's server
State the BT File Server of second agent's server.
Step S206, first agent's server is sent out the file to be synchronized and second identification information with preset protocol
It send to control server cluster;
Specifically, the BT File Server of first agent's server is with BT agreement by the file to be synchronized and described
Two identification informations are sent to the BT File Server on the control server cluster.
Specifically, if control server cluster includes multiple control server zone sub-clusters, then first agent services
The file to be synchronized and second identification information are sent to the affiliated area of first agent's server with preset protocol by device
The control server zone sub-cluster in domain.
Step S207, control server cluster is searched second agent's server corresponding with second identification information and is known
The file to be synchronized is sent to corresponding with second agent's server identification information with preset protocol by other information
Two proxy servers;
Specifically, receiving the BT of the file to be synchronized and second identification information on control server cluster
File Server is first searched in the configuration information of itself and is taken with the presence or absence of second agent corresponding with second identification information
Business device identification information;If it is present the file to be synchronized is directly sent to BT agreement by the BT File Server
The BT File Server of two proxy servers;If it does not exist, then the BT File Server will be described to same with BT agreement
Step file and second identification information are sent to other BT File Server on control server cluster, so that other BT
File Server is respectively searched in the configuration information of itself with the presence or absence of second agent corresponding with second identification information
Server identification information, until find second agent's server identification information, and with BT agreement by the text to be synchronized
Part is sent to the BT File Server of second agent's server.Certainly, if ultimately failing to enough find second agent's clothes
Business device identification information, can abandon the file to be synchronized and second identification information.
Optionally, if control server cluster includes multiple control server zone sub-clusters, each control server area
One or at least two BT File Server can be disposed in the sub-cluster of domain.
Step S208, download instruction and second identification information are sent to second agent's service by control server cluster
Device;
Step S209, the download instruction is issued to corresponding with second identification information by second agent's server
Two service servers;
Optionally, second identification information further includes IP address of internal network, which refers to second business
The IP address of internal network of server.Specifically, second agent's server is by the second business service in second identification information
The IP address of internal network of device can lock the second service server, and the download instruction is issued to the second service server.
Specifically, the download instruction includes the identification information of the file to be downloaded.
Step S210, the second service server asks the downloading of the file to be downloaded to the transmission of second agent's server
It asks;
Specifically, the downloading request includes the identification information of the file to be downloaded.
Step S211, second agent's server responds the downloading and requests, with the preset protocol to the second business
Server sends the file to be downloaded;
Specifically, the BT File Server on the second service server sends institute to the second service server with BT agreement
State file to be downloaded.
Optionally, which can also include:
If the second service server detects BT agreement speed of download lower than preset threshold, it is switched to standby protocol continuation
Download the file to be synchronized.
Optionally, the standby protocol includes TCP and/or UDP.It, can be with if the standby protocol includes TCP and UDP
Any one agreement being switched in the two, alternatively, being first switched to priority in the two according to preset priority orders
A kind of high agreement, such as TCP, if a kind of speed of download of the high agreement of priority still is below preset threshold in the two,
It is switched to the agreement that priority is low in the two again.
It should be noted that under normal circumstances, not passing text mutually between the server of service (including operation) different business
Part, it is intended to guarantee the isolation and safety of business, still, the but server of presence service (including operation) different business sometimes
Between inter-transmitting file demand, can require to have at this time system manager's qualification could the trans-sectoral business of startup file transmit.Below
The scheme of business transmission trans-sectoral to file of the embodiment of the present invention is illustrated.
Fig. 5 shows another signaling process of document transmission method provided in an embodiment of the present invention, referring to Fig. 5, the process
May include:
Step S301, control server cluster sends synchronous documents instruction, the first business service to first agent's server
First identification information of device and the second identification information of the second service server;
Specifically, the synchronous documents instruction includes the information of file to be synchronized.
Optionally, first identification information includes affiliated area and service identification information, wherein due to first knowledge
Other information is the identification information of first service server, and therefore, the region in first identification information refers to institute
Region belonging to the first service server is stated, service identification information refers to the mark letter of business corresponding to the first service server
Breath.Optionally, second identification information be second service server identification information, including with the second service server
Corresponding affiliated area and service identification information respectively.
Step S302, synchronous documents instruction is issued to opposite with first identification information by first agent's server
First service server answered;
Optionally, first identification information further includes IP address of internal network, which refers to first business
The IP address of internal network of server.Specifically, first agent's server is by the first business service in first identification information
The IP address of internal network of device can lock the first service server, and synchronous documents instruction is issued to the first service server.
Step S303, file to be synchronized is uploaded to the first agent with preset protocol and serviced by the first service server
Device;
Specifically, the preset protocol includes BT agreement, correspondingly, being deployed with BT on first agent's server
File Server, that is to say, that file to be synchronized is uploaded to the first agent with BT agreement and serviced by the first service server
BT File Server on device.
Step S304, first agent's server is compared, and determines first identification information and second identification information
In service identification information difference when, the file to be synchronized and second identification information are sent to by control with preset protocol
Server cluster;
Specifically, first agent's server is compared, determine in first identification information and second identification information
Service identification information difference when, just can determine first service server and second service server for deployment not
With the service server of business, i.e., current transport-type be across service scripts transmission, at this point, just with preset protocol will described in
Synchronous documents and second identification information are sent to control server cluster.
Specifically, the BT File Server of first agent's server is with BT agreement by the file to be synchronized and described
Two identification informations are sent to the BT File Server on the control server cluster.
Specifically, if control server cluster includes multiple control server zone sub-clusters, then first agent services
The file to be synchronized and second identification information are sent to the affiliated area of first agent's server with preset protocol by device
The control server zone sub-cluster in domain.
Step S305, control server cluster is searched second agent's server corresponding with second identification information and is known
The file to be synchronized is sent to corresponding with second agent's server identification information with preset protocol by other information
Two proxy servers;
Specifically, receiving the BT of the file to be synchronized and second identification information on control server cluster
File Server is first searched in the configuration information of itself and is taken with the presence or absence of second agent corresponding with second identification information
Business device identification information;If it is present the file to be synchronized is directly sent to BT agreement by the BT File Server
The BT File Server of two proxy servers;If it does not exist, then the BT File Server will be described to same with BT agreement
Step file and second identification information are sent to other BT File Server on control server cluster, so that other BT
File Server is respectively searched in the configuration information of itself with the presence or absence of second agent corresponding with second identification information
Server identification information, until find second agent's server identification information, and with BT agreement by the text to be synchronized
Part is sent to the BT File Server of second agent's server.Certainly, if ultimately failing to enough find second agent's clothes
Business device identification information, can abandon the file to be synchronized and second identification information.
Optionally, if control server cluster includes multiple control server zone sub-clusters, each control server area
One or at least two BT File Server can be disposed in the sub-cluster of domain.
Step S306, download instruction and second identification information are sent to second agent's service by control server cluster
Device;
Step S307, the download instruction is issued to corresponding with second identification information by second agent's server
Two service servers;
Optionally, second identification information further includes IP address of internal network, which refers to second business
The IP address of internal network of server.Specifically, second agent's server is by the second business service in second identification information
The IP address of internal network of device can lock the second service server, and the download instruction is issued to the second service server.
Specifically, the download instruction includes the identification information of the file to be downloaded.
Step S308, the second service server asks the downloading of the file to be downloaded to the transmission of second agent's server
It asks;
Specifically, the downloading request includes the identification information of the file to be downloaded.
Step S309, second agent's server responds the downloading and requests, with the preset protocol to the second business
Server sends the file to be downloaded;
Specifically, the BT File Server on the second service server sends institute to the second service server with BT agreement
State file to be downloaded.
Optionally, which can also include:
If the second service server detects BT agreement speed of download lower than preset threshold, it is switched to standby protocol continuation
Download the file to be synchronized.
Optionally, the standby protocol includes TCP and/or UDP.It, can be with if the standby protocol includes TCP and UDP
Any one agreement being switched in the two, alternatively, being first switched to priority in the two according to preset priority orders
A kind of high agreement, such as TCP, if a kind of speed of download of the high agreement of priority still is below preset threshold in the two,
It is switched to the agreement that priority is low in the two again.
Correspondingly, document transmission method provided by the invention can be such as Fig. 6 institute from the angle of control server cluster
Show, Fig. 6 shows the flow chart of document transmission method provided in an embodiment of the present invention, which can be applied to the embodiment of the present invention
Control server cluster in the document transmission system of offer, referring to Fig. 6, which may include:
Step S401, by synchronous documents instruction, the first identification information of the first service server and the second service server
The second identification information be sent to first agent's server, trigger first agent's server by first identification information and
Second identification information, which determines file transmission type and instructs the synchronous documents, is issued to first service server,
So that first service server will be to same according to transmission path corresponding with the file transmission type with preset protocol
Step file reaches second agent's server;
Specifically, the synchronous documents instruction includes the identification information of the file to be synchronized;First business service
Device is previously stored with the file to be synchronized;The preset protocol includes BT agreement.
Step S402, download instruction and second identification information are sent to second agent's server, trigger described the
The download instruction is issued to second service server by two proxy servers, so that second service server is with institute
It states preset protocol and downloads the file to be synchronized from second agent's server;
Specifically, the download instruction includes the identification information of file to be synchronized.
In embodiments of the present invention, control server cluster first by synchronous documents instruction, the first service server the
One identification information and the second identification information of the second service server are sent to first agent's server, trigger the first agent
Server is determined file transmission type by first identification information and second identification information and is referred to the synchronous documents
Order is issued to first service server, so that first service server is transmitted with preset protocol according to the file
File to be synchronized is reached second agent's server by the corresponding transmission path of type, wherein the synchronous documents instruction
Identification information including the file to be synchronized, first service server is previously stored with the file to be synchronized, described
Preset protocol includes BT agreement, and download instruction and second identification information are then sent to second agent's server, triggering
The download instruction is issued to second service server by second agent's server, so that second business service
Device downloads the file to be synchronized from second agent's server with the preset protocol;The download instruction includes to be synchronized
The identification information of file.That is, technical solution provided by the invention, by managing the control of server cluster, Neng Goushi
Existing directional transmissions file to be synchronized, can by file directional transmissions to be synchronized to the position for needing to synchronize the file to be synchronized,
Will not additional synchronization to other positions, to realize the orientation precise delivery of file to be synchronized, can effectively save flow and width
Band resource.
Optionally, another embodiment of the present invention provides document transmission method, first identification information and described second
Identification information respectively includes affiliated area and service identification information, and the step S401 includes:
By the second identification of synchronous documents instruction, the first identification information of the first service server and the second service server
Information is sent to first agent's server, triggers first agent's server and determines that file transmits when meeting the first preset condition
Type is the first kind and synchronous documents instruction is issued to first service server, so that first business takes
File to be synchronized is reached first agent's server with preset protocol by business device;
Specifically, the first kind is file transmission in same business the same area, first preset condition is institute
State that the first identification information is identical with the affiliated area in second identification information and service identification information is identical.
Correspondingly, the step S402 includes:
Download instruction and second identification information are sent to first agent's server, trigger the first agent
The download instruction is issued to second service server by server, so that second service server is with preset protocol
The file to be synchronized is downloaded from first agent's server.
It should be noted that due to corresponding to the same proxy server in same business the same area, at this point, described above
First agent's server and second agent's server are the same proxy server, i.e. the first service server and the second industry
Business server all passes through Intranet and is connected directly with first agent's server, therefore, on the basis of tallying with the actual situation, in order to just
In understanding, second agent's server in the step S401 and step S402 is replaced with into first agent's server.
Optionally, another embodiment of the present invention provides document transmission method, first identification information and described second
Identification information respectively includes affiliated area and service identification information, and the step S401 includes:
By the second identification of synchronous documents instruction, the first identification information of the first service server and the second service server
Information is sent to first agent's server, triggers first agent's server and determines that file transmits when meeting the second preset condition
Type is Second Type and synchronous documents instruction is issued to first service server, so that first business takes
File to be synchronized is reached second agent's server via the first forwarding server with preset protocol by business device;
Specifically, the Second Type is the transregional domain file transmission of same business, second preset condition is described the
One identification information is different with the affiliated area in second identification information and service identification information is identical;The first forwarding clothes
Business device is the first agent's server or the control server that record has second agent's server identification information
Record has any control server of second agent's server identification information in cluster.
Optionally, another embodiment of the present invention provides document transmission method, first identification information and described second
Identification information respectively includes affiliated area and service identification information, and the step S401 includes:
By the second identification of synchronous documents instruction, the first identification information of the first service server and the second service server
Information is sent to first agent's server, triggers first agent's server and determines that file transmits when meeting third preset condition
Type is third type and synchronous documents instruction is issued to first service server, so that first business takes
File to be synchronized is reached second agent's server via the second forwarding server with preset protocol by business device;
Specifically, the third type is across service scripts transmission, the third preset condition is the first identification letter
It ceases different with the service identification information in second identification information;Second forwarding server is the control server set
Record has any control server of second agent's server identification information in group.
Specifically, across service scripts transmission includes across service scripts transmission and trans-regional trans-sectoral business text in the same area
Part transmission.
Optionally, another embodiment of the present invention provides document transmission method, further includes:
Real-time reception simultaneously stores the proxy server identification information that the corresponding proxy server of each business in each region is sent,
The proxy server identification information includes affiliated area, service identification information and IP address.
Optionally, another embodiment of the present invention provides document transmission method, further includes:
If continuing the proxy server identification information that preset time does not receive the transmission of third proxy server, deletion has been deposited
The proxy server identification information of the third proxy server of storage;The third proxy server is each business in each region
Any agent server in corresponding proxy server.
Optionally, another embodiment of the present invention provides document transmission method, the preset protocol further includes standby protocol,
The standby protocol includes TCP and/or UDP, then the priority that each agreement is enabled in the preset protocol is followed successively by from high in the end
The BT agreement and standby protocol.
Game service (calling control server cluster in the following text as game control platform) is served to manage server cluster below,
Service server is the game service server for disposing game service, and proxy server provides link agent and BT file service is
Example, is introduced the application process of document transmission method provided in an embodiment of the present invention.
First game control platform by synchronous documents instruction, the first game service server the first identification information and second
Second identification information of game service server is sent to first agent's server;Wherein, the synchronous documents instruction includes institute
State the identification information of file to be synchronized;The first game service server is previously stored with the file to be synchronized;
Synchronous documents instruction is issued to corresponding with first identification information described by first agent's server
First game service server;First identification information includes the affiliated area and industry corresponding to the first game service server
Business identification information;
File to be synchronized is uploaded to first agent's server with BT agreement by the first game service server;
First agent's server compares the affiliated area in first identification information and second identification information respectively,
And the service identification information in first identification information and second identification information, determine transport-type;
If transport-type is file transmission in same business the same area, first agent's server is waited at the second business
Manage the downloading request that device is sent;
If transport-type is the transregional domain file transmission of same business, first agent's server searches whether to exist and described the
The corresponding second agent's server identification information of two identification informations;If it exists, first agent's server will be described with BT agreement
File to be synchronized is sent to second agent's server corresponding with second agent's server identification information;If not depositing
It is flat that the file to be synchronized and second identification information be sent to by game control with BT agreement in, first agent's server
Platform, game control platform searches second agent's server identification information corresponding with second identification information, with BT agreement
The file to be synchronized is sent to second agent's server corresponding with second agent's server identification information;
If transport-type is across service scripts transmission, with BT agreement by the file to be synchronized and second identification information
It is sent to game control platform, game control platform is searched second agent's server corresponding with second identification information and known
The file to be synchronized is sent to and second agent's server identification information corresponding second by other information with BT agreement
Proxy server;
Download instruction and second identification information are sent to second agent's server by game control platform;
The download instruction is issued to the second game industry corresponding with second identification information by second agent's server
Business server;
Second game service server sends the downloading to the file to be downloaded to second agent's server and requests;
Second agent's server responds the downloading request, sends institute to the second game service server with the BT agreement
State file to be downloaded;
If the second game service server detects BT agreement speed of download lower than preset threshold, it is switched to standby protocol
Continue to download the file to be synchronized.
Optionally, the standby protocol includes TCP and/or UDP.It, can be with if the standby protocol includes TCP and UDP
Any one agreement being switched in the two, alternatively, being first switched to priority in the two according to preset priority orders
A kind of high agreement, such as TCP, if a kind of speed of download of the high agreement of priority still is below preset threshold in the two,
It is switched to the agreement that priority is low in the two again.
As can be seen that it is to be synchronized to can be realized directional transmissions by the control of control server cluster for the embodiment of the present invention
File, can by file directional transmissions to be synchronized to the position for needing to synchronize the file to be synchronized, will not additional synchronization arrive it
His position can effectively save flow and broadband resource to realize the orientation precise delivery of file to be synchronized.
File transfer means provided in an embodiment of the present invention are introduced below, file transfer means described below can
Reference is corresponded to each other with flow content above.The module of file transfer means described below may be considered file transfer means
To realize directional transmissions file to be synchronized, the functional module framework of required setting.
Fig. 7 is the structural block diagram of file transfer means provided in an embodiment of the present invention.File provided in an embodiment of the present invention
Transmitting device is applied to control server cluster, and referring to Fig. 7, this document transmitting device may include:
First sending module 101, for instructing synchronous documents, the first identification information and second of the first service server
Second identification information of service server is sent to first agent's server, triggers first agent's server by described first
Identification information and second identification information determine file transmission type and synchronous documents instruction are issued to described first
Service server, so that first service server is with preset protocol according to transmission corresponding with the file transmission type
File to be synchronized is reached second agent's server by path;
Specifically, the synchronous documents instruction includes the identification information of the file to be synchronized;First business service
Device is previously stored with the file to be synchronized;The preset protocol includes BT agreement.
Second sending module 102, for download instruction and second identification information to be sent to second agent's server,
It triggers second agent's server and the download instruction is issued to second service server, so that second business
Server downloads the file to be synchronized from second agent's server with the preset protocol;
Specifically, the download instruction includes the identification information of file to be synchronized.
File transfer means provided in an embodiment of the present invention can be realized orientation by managing the control of server cluster
File to be synchronized is transmitted, can be by file directional transmissions to be synchronized to the position for needing to synchronize the file to be synchronized, it will not volume
Other positions are synchronized to outside, to realize the orientation precise delivery of file to be synchronized, can effectively save flow and broadband resource.
Optionally, another embodiment of the present invention provides file transfer means, first identification information and described second
Identification information respectively includes affiliated area and service identification information, and first sending module 101 includes:
First transmission unit, for instructing synchronous documents, the first identification information and the second industry of the first service server
Second identification information of business server is sent to first agent's server, triggers first agent's server and determines satisfaction first
File transmission type is the first kind and synchronous documents instruction is issued to first service server when preset condition,
So that file to be synchronized is reached first agent's server with preset protocol by first service server;Wherein, described
The first kind is file transmission in same business the same area, and first preset condition is first identification information and described
Affiliated area in second identification information is identical and service identification information is identical;
Correspondingly, second sending module 102 includes:
Second transmission unit is serviced for download instruction and second identification information to be sent to the first agent
Device triggers first agent's server for the download instruction and is issued to second service server, so that described second
Service server downloads the file to be synchronized from first agent's server with preset protocol.
Optionally, another embodiment of the present invention provides file transfer means, first identification information and described second
Identification information respectively includes affiliated area and service identification information, and first sending module 101 includes:
Third transmission unit, for instructing synchronous documents, the first identification information and the second industry of the first service server
Second identification information of business server is sent to first agent's server, triggers first agent's server and determines satisfaction second
File transmission type is Second Type and synchronous documents instruction is issued to first service server when preset condition,
So that file to be synchronized is reached second agent's clothes via the first forwarding server with preset protocol by first service server
Business device;Wherein, the Second Type is the transregional domain file transmission of same business, and second preset condition is first identification
Information is different with the affiliated area in second identification information and service identification information is identical;First forwarding server is
Record has in the first agent's server or the control server cluster of second agent's server identification information
Record has any control server of second agent's server identification information.
Optionally, another embodiment of the present invention provides file transfer means, first identification information and described second
Identification information respectively includes affiliated area and service identification information, and first sending module 101 includes:
4th transmission unit, for instructing synchronous documents, the first identification information and the second industry of the first service server
Second identification information of business server is sent to first agent's server, triggers first agent's server determination and meets third
File transmission type is third type and synchronous documents instruction is issued to first service server when preset condition,
So that file to be synchronized is reached second agent's clothes via the second forwarding server with preset protocol by first service server
Business device;Wherein, the third type is across service scripts transmission, and the third preset condition is first identification information and institute
The service identification information stated in the second identification information is different;Second forwarding server is to remember in the control server cluster
Record has any control server of second agent's server identification information.
Optionally, another embodiment of the present invention provides file transfer means, further includes:
Memory module for real-time reception and stores agency's clothes that the corresponding proxy server of each business in each region sends
Business device identification information, the proxy server identification information includes affiliated area, service identification information and IP address.
Optionally, another embodiment of the present invention provides file transfer means, further includes:
Update module, if not receiving the proxy server identification of third proxy server transmission for continuing preset time
Information deletes the proxy server identification information of the stored third proxy server of the memory module;The third
Proxy server is any agent server in the corresponding proxy server of business each in each region.
Optionally, another embodiment of the present invention provides file transfer means, the preset protocol further includes standby protocol,
The standby protocol includes TCP and/or UDP, then the priority that each agreement is enabled in the preset protocol is followed successively by from high in the end
The BT agreement and standby protocol.
Fig. 8 shows the hardware block diagram that server is managed in control server cluster, referring to Fig. 8, control server
It may include: processor 1, communication interface 2, memory 3 and communication bus 4;
Wherein processor 1, communication interface 2, memory 3 complete mutual communication by communication bus 4;
Processor 1, for executing program;
Memory 3, for storing program;
Program may include program code, and said program code includes computer operation instruction.
Processor 1 may be a central processor CPU or specific integrated circuit ASIC (Application
Specific Integrated Circuit), or be arranged to implement the integrated electricity of one or more of the embodiment of the present invention
Road.
Memory 3 may include high speed RAM memory, it is also possible to further include nonvolatile memory (non-volatile
Memory), a for example, at least magnetic disk storage.
Wherein, program can be specifically used for:
By the second identification of synchronous documents instruction, the first identification information of the first service server and the second service server
Information is sent to first agent's server, triggers first agent's server and is known by first identification information and described second
Other information determines file transmission type and synchronous documents instruction is issued to first service server, so that described the
One service server is reached file to be synchronized according to transmission path corresponding with the file transmission type with preset protocol
Second agent's server;The synchronous documents instruction includes the identification information of the file to be synchronized;First business
Server is previously stored with the file to be synchronized;The preset protocol includes BT agreement;
And/or download instruction and second identification information are sent to second agent's server, trigger the second generation
It manages server and the download instruction is issued to second service server, so that second service server is with described pre-
If agreement downloads the file to be synchronized from second agent's server;The download instruction includes the identification of file to be synchronized
Information.
It should be noted that being deployed in the control server zones of different zones since control server cluster may include
Sub-cluster, each manage in server zone sub-cluster includes at least one control server, and therefore, above-mentioned processor is specifically used for
The operation of execution can be not above-mentioned all operationss: can be one of operation, at least two processors is needed to assist at this time
Above-mentioned all operationss are realized with work;It is also possible to same processor and executes above-mentioned all operationss, such situation is generally corresponding
It is transmitted in file in the same area.
It can be seen via above technical scheme that compared with prior art, the present invention provides a kind of document transmission methods, dress
It sets and system.Technical solution provided by the invention, applied to the control server cluster in document transmission system, this document transmission
System include service server, the proxy server being connected with the service server by Intranet and with the agency service
The control server cluster that device is connected by public network or Intranet, specifically, control server cluster will synchronize text first
Second identification information of part instruction, the first identification information of the first service server and the second service server is sent to the first generation
Server is managed, first agent's server is triggered by first identification information and second identification information and determines that file passes
Synchronous documents instruction is simultaneously issued to first service server by defeated type, so that first service server is with pre-
If file to be synchronized is reached the second agent according to transmission path corresponding with the file transmission type and serviced by agreement
Device, wherein the synchronous documents instruction includes the identification information of the file to be synchronized, and first service server is deposited in advance
The file to be synchronized is contained, the preset protocol includes BT agreement, then sends out download instruction and second identification information
It send to second agent's server, triggers second agent's server for the download instruction and be issued to second business service
Device, so that second service server downloads the text to be synchronized from second agent's server with the preset protocol
Part;The download instruction includes the identification information of file to be synchronized.That is, technical solution provided by the invention, passes through pipe
The control for controlling server cluster, can be realized directional transmissions file to be synchronized, can extremely need file directional transmissions to be synchronized
Synchronize the position of the file to be synchronized, will not additional synchronization to other positions, to realize that the orientation of file to be synchronized is accurate
Transmission, can effectively save flow and broadband resource.
Finally, it is to be noted that, herein, relational terms such as first and second and the like be used merely to by
One entity or operation are distinguished with another entity or operation, without necessarily requiring or implying these entities or operation
Between there are any actual relationship or orders.Moreover, the terms "include", "comprise" or its any other variant meaning
Covering non-exclusive inclusion, so that the process, method, article or equipment for including a series of elements not only includes that
A little elements, but also including other elements that are not explicitly listed, or further include for this process, method, article or
The intrinsic element of equipment.In the absence of more restrictions, the element limited by sentence "including a ...", is not arranged
Except there is also other identical elements in the process, method, article or apparatus that includes the element.
Each embodiment in this specification is described in a progressive manner, the highlights of each of the examples are with other
The difference of embodiment, the same or similar parts in each embodiment may refer to each other.For device disclosed in embodiment
For, since it is corresponded to the methods disclosed in the examples, so being described relatively simple, related place is said referring to method part
It is bright.
Professional further appreciates that, unit described in conjunction with the examples disclosed in the embodiments of the present disclosure
And algorithm steps, can be realized with electronic hardware, computer software, or a combination of the two, in order to clearly demonstrate hardware and
The interchangeability of software generally describes each exemplary composition and step according to function in the above description.These
Function is implemented in hardware or software actually, the specific application and design constraint depending on technical solution.Profession
Technical staff can use different methods to achieve the described function each specific application, but this realization is not answered
Think beyond the scope of this invention.
The step of method described in conjunction with the examples disclosed in this document or algorithm, can directly be held with hardware, processor
The combination of capable software module or the two is implemented.Software module can be placed in random access memory (RAM), memory, read-only deposit
Reservoir (ROM), electrically programmable ROM, electrically erasable ROM, register, hard disk, moveable magnetic disc, CD-ROM or technology
In any other form of storage medium well known in field.
The foregoing description of the disclosed embodiments enables those skilled in the art to implement or use the present invention.
Various modifications to these embodiments will be readily apparent to those skilled in the art, as defined herein
General Principle can be realized in other embodiments without departing from the spirit or scope of the present invention.Therefore, of the invention
It is not intended to be limited to the embodiments shown herein, and is to fit to and the principles and novel features disclosed herein phase one
The widest scope of cause.
Claims (19)
1. a kind of document transmission method, which is characterized in that applied to the control server cluster in document transmission system, the text
Part Transmission system include service server, the proxy server being connected with the service server by Intranet and with the generation
The control server cluster that reason server is connected by public network or Intranet, which comprises
By synchronous documents instruction, the second identification information of the first identification information of the first service server and the second service server
It is sent to first agent's server, first agent's server is triggered and is believed by first identification information and second identification
It ceases and determines file transmission type and synchronous documents instruction is issued to first service server, so that first industry
File to be synchronized is reached second according to transmission path corresponding with the file transmission type with preset protocol by business server
Proxy server;The synchronous documents instruction includes the identification information of the file to be synchronized;First service server is pre-
First it is stored with the file to be synchronized;The preset protocol includes bit stream BT agreement;
Download instruction and second identification information are sent to second agent's server, triggering second agent's server will
The download instruction is issued to second service server, so that second service server is with the preset protocol from institute
It states second agent's server and downloads the file to be synchronized;The download instruction includes the identification information of file to be synchronized.
2. the method according to claim 1, wherein first identification information and second identification information are each
From include affiliated area and service identification information, it is described by synchronous documents instruction, the first service server the first identification information
It is sent to first agent's server with the second identification information of the second service server, triggers first agent's server by institute
It states the first identification information and second identification information determines file transmission type and synchronous documents instruction is issued to institute
The first service server is stated, so that first service server is with preset protocol according to corresponding with the file transmission type
Transmission path file to be synchronized is reached into second agent's server, comprising:
By synchronous documents instruction, the second identification information of the first identification information of the first service server and the second service server
It is sent to first agent's server, triggers file transmission type when first agent's server determines the first preset condition of satisfaction
It is issued to first service server for the first kind and by synchronous documents instruction, so that first service server
File to be synchronized is reached into first agent's server with preset protocol;Wherein, the first kind is that same business is same
File transmits in region, and first preset condition is the affiliated area in first identification information and second identification information
Domain is identical and service identification information is identical;Second agent's server and first agent's server are same agency clothes
Business device;
It is described by download instruction and second identification information is sent to second agent's server, trigger second agent's service
The download instruction is issued to second service server by device, so that second service server is with preset protocol from institute
It states second agent's server and downloads the file to be synchronized, comprising:
Download instruction and second identification information are sent to first agent's server, trigger first agent's service
The download instruction is issued to second service server by device, so that second service server is with preset protocol from institute
It states first agent's server and downloads the file to be synchronized.
3. the method according to claim 1, wherein first identification information and second identification information are each
From include affiliated area and service identification information, it is described by synchronous documents instruction, the first service server the first identification information
It is sent to first agent's server with the second identification information of the second service server, triggers first agent's server by institute
It states the first identification information and second identification information determines file transmission type and synchronous documents instruction is issued to institute
The first service server is stated, so that first service server is with preset protocol according to corresponding with the file transmission type
Transmission path file to be synchronized is reached into second agent's server, comprising:
By synchronous documents instruction, the second identification information of the first identification information of the first service server and the second service server
It is sent to first agent's server, triggers file transmission type when first agent's server determines the second preset condition of satisfaction
It is issued to first service server for Second Type and by synchronous documents instruction, so that first service server
File to be synchronized is reached into second agent's server via the first forwarding server with preset protocol;Wherein, the Second Type
For the transregional domain file transmission of same business, second preset condition is first identification information and second identification information
In affiliated area it is different and service identification information is identical;First forwarding server is that record has the second agent to service
Record has the second agent to service in first agent's server of device identification information or the control server cluster
Any control server of device identification information.
4. the method according to claim 1, wherein first identification information and second identification information are each
From include affiliated area and service identification information, it is described by synchronous documents instruction, the first service server the first identification information
It is sent to first agent's server with the second identification information of the second service server, triggers first agent's server by institute
It states the first identification information and second identification information determines file transmission type and synchronous documents instruction is issued to institute
The first service server is stated, so that first service server is with preset protocol according to corresponding with the file transmission type
Transmission path file to be synchronized is reached into second agent's server, comprising:
By synchronous documents instruction, the second identification information of the first identification information of the first service server and the second service server
It is sent to first agent's server, triggers file transmission type when first agent's server is determining to meet third preset condition
It is issued to first service server for third type and by synchronous documents instruction, so that first service server
File to be synchronized is reached into second agent's server via the second forwarding server with preset protocol;Wherein, the third type
To transmit across service scripts, the third preset condition is the business in first identification information and second identification information
Identification information is different;Second forwarding server is that record has second agent's server in the control server cluster
Any control server of identification information.
5. method according to claim 1, which is characterized in that further include:
Real-time reception simultaneously stores the proxy server identification information that the corresponding proxy server of each business in each region is sent, described
Proxy server identification information includes affiliated area, service identification information and IP address.
6. the method according to claim 5, which is characterized in that further include:
If continuing the proxy server identification information that preset time does not receive the transmission of third proxy server, delete stored
The proxy server identification information of the third proxy server;The third proxy server is that each business is corresponding in each region
Proxy server in any agent server.
7. described in any item methods according to claim 1~6, which is characterized in that the preset protocol further includes standby protocol,
The standby protocol includes transmission control protocol TCP and/or User Datagram Protocol UDP, then enables in the preset protocol each
The priority of agreement is followed successively by the bit stream BT agreement and standby protocol from high in the end.
8. a kind of file transfer means, which is characterized in that applied to the control server cluster in document transmission system, the text
Part Transmission system include service server, the proxy server being connected with the service server by Intranet and with the generation
The control server cluster that reason server is connected by public network or Intranet, described device include:
First sending module, for synchronous documents to be instructed, the first identification information of the first service server and the second business clothes
Second identification information of business device is sent to first agent's server, triggers first agent's server and is believed by first identification
Breath and second identification information determine file transmission type and synchronous documents instruction are issued to first business and take
Business device, so that first service server will according to transmission path corresponding with the file transmission type with preset protocol
File to be synchronized reaches second agent's server;The synchronous documents instruction includes the identification information of the file to be synchronized;Institute
It states the first service server and is previously stored with the file to be synchronized;The preset protocol includes bit stream BT agreement;
Second sending module triggers institute for download instruction and second identification information to be sent to second agent's server
It states second agent's server and the download instruction is issued to second service server, so that second service server
The file to be synchronized is downloaded from second agent's server with the preset protocol;The download instruction includes text to be synchronized
The identification information of part.
9. device according to claim 8, which is characterized in that first identification information and second identification information are each
From including affiliated area and service identification information, first sending module includes:
First transmission unit, for synchronous documents to be instructed, the first identification information of the first service server and the second business clothes
Second identification information of business device is sent to first agent's server, triggers first agent's server and determines that meeting first presets
File transmission type is the first kind and synchronous documents instruction is issued to first service server when condition, so that
File to be synchronized is reached first agent's server with preset protocol by first service server;Wherein, described first
Type is file transmission in same business the same area, and first preset condition is first identification information and described second
Affiliated area in identification information is identical and service identification information is identical;Second agent's server and the first agent take
Business device is the same proxy server;
Second sending module includes:
Second transmission unit is touched for download instruction and second identification information to be sent to first agent's server
It sends out first agent's server described and the download instruction is issued to second service server, so that second business takes
Business device downloads the file to be synchronized from first agent's server with preset protocol.
10. device according to claim 8, which is characterized in that first identification information and second identification information
It respectively include affiliated area and service identification information, first sending module includes:
Third transmission unit, for synchronous documents to be instructed, the first identification information of the first service server and the second business clothes
Second identification information of business device is sent to first agent's server, triggers first agent's server and determines that meeting second presets
File transmission type is Second Type and synchronous documents instruction is issued to first service server when condition, so that
File to be synchronized is reached second agent's server via the first forwarding server with preset protocol by first service server;
Wherein, the Second Type is the transregional domain file transmission of same business, and second preset condition is first identification information
It is different with the affiliated area in second identification information and service identification information is identical;First forwarding server is record
It is recorded in the first agent's server or the control server cluster for having second agent's server identification information
There is any control server of second agent's server identification information.
11. device according to claim 8, which is characterized in that first identification information and second identification information
It respectively include affiliated area and service identification information, first sending module includes:
4th transmission unit, for synchronous documents to be instructed, the first identification information of the first service server and the second business clothes
Second identification information of business device is sent to first agent's server, triggers first agent's server and determines that meeting third presets
File transmission type is third type and synchronous documents instruction is issued to first service server when condition, so that
File to be synchronized is reached second agent's server via the second forwarding server with preset protocol by first service server;
Wherein, the third type is across service scripts transmission, and the third preset condition is first identification information and described the
Service identification information in two identification informations is different;Second forwarding server is to record to have in the control server cluster
Any control server of second agent's server identification information.
12. device according to claim 8, which is characterized in that further include:
Memory module for real-time reception and stores the proxy server that the corresponding proxy server of each business in each region sends
Identification information, the proxy server identification information include affiliated area, service identification information and IP address.
13. device according to claim 12, which is characterized in that further include:
Update module, if not receiving the proxy server identification letter of third proxy server transmission for continuing preset time
Breath, deletes the proxy server identification information of the stored third proxy server of the memory module;The third generation
Server is managed as any agent server in the corresponding proxy server of business each in each region.
14. according to the described in any item devices of claim 8~13, which is characterized in that the preset protocol further includes spare association
View, the standby protocol includes transmission control protocol TCP and/or User Datagram Protocol UDP, then enables in the preset protocol
The priority of each agreement is followed successively by the bit stream BT agreement and standby protocol from high in the end.
15. a kind of document transmission system characterized by comprising
Service server, the proxy server being connected with the service server by Intranet, and with the agency service
The control server cluster that device is connected by public network or Intranet;
The control server cluster is used for: by synchronous documents instruction, the first identification information and second of the first service server
Second identification information of service server is sent to first agent's server, triggers first agent's server by described first
Identification information and second identification information determine file transmission type and synchronous documents instruction are issued to described first
Service server, so that first service server is with preset protocol according to transmission corresponding with the file transmission type
File to be synchronized is reached second agent's server by path;The synchronous documents instruction includes that the identification of the file to be synchronized is believed
Breath;First service server is previously stored with the file to be synchronized;The preset protocol includes bit stream BT agreement;It will
Download instruction and second identification information are sent to second agent's server, trigger second agent's server will be described under
It carries instruction and is issued to second service server, so that second service server is with the preset protocol from described second
Proxy server downloads the file to be synchronized;The download instruction includes the identification information of file to be synchronized.
16. system according to claim 15, which is characterized in that the control server cluster includes:
Manage server zone sub-cluster;
The independent matched proxy server phase of the control server zone sub-cluster and the control server zone sub-cluster
Connection;
It is connected between the control server zone sub-cluster by Intranet or public network.
17. system according to claim 15 or 16, which is characterized in that the control server cluster is also used to:
Real-time reception simultaneously stores the proxy server identification information that the corresponding proxy server of each business in each region is sent, described
Proxy server identification information includes affiliated area, service identification information and IP address.
18. system according to claim 17, which is characterized in that the control server cluster is also used to:
If continuing the proxy server identification information that preset time does not receive the transmission of third proxy server, delete stored
The proxy server identification information of the third proxy server;The third proxy server is that each business is corresponding in each region
Proxy server in any agent server.
19. system according to claim 15, which is characterized in that the preset protocol further includes standby protocol, described standby
Include transmission control protocol TCP and/or User Datagram Protocol UDP with agreement, then enables each agreement in the preset protocol
Priority is followed successively by the bit stream BT agreement and standby protocol from high in the end.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710113658.7A CN106657413B (en) | 2017-02-28 | 2017-02-28 | Document transmission method, device and system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710113658.7A CN106657413B (en) | 2017-02-28 | 2017-02-28 | Document transmission method, device and system |
Publications (2)
Publication Number | Publication Date |
---|---|
CN106657413A CN106657413A (en) | 2017-05-10 |
CN106657413B true CN106657413B (en) | 2019-08-06 |
Family
ID=58846593
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710113658.7A Active CN106657413B (en) | 2017-02-28 | 2017-02-28 | Document transmission method, device and system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106657413B (en) |
Families Citing this family (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109104465B (en) * | 2018-07-24 | 2020-06-23 | 威创集团股份有限公司 | Multi-party file transmission method and agent management system |
CN109543133A (en) * | 2018-11-29 | 2019-03-29 | 杭州涂鸦信息技术有限公司 | A kind of automation dissemination method, device, system, equipment and readable storage medium storing program for executing |
CN109922041A (en) * | 2019-01-18 | 2019-06-21 | 阿里巴巴集团控股有限公司 | A kind of file data access system, method and electronic equipment |
CN110196722B (en) * | 2019-05-07 | 2023-11-28 | 平安科技(深圳)有限公司 | Cloud host batch management method, system, equipment and storage medium |
CN110417860A (en) * | 2019-06-21 | 2019-11-05 | 深圳壹账通智能科技有限公司 | File transfer management method, apparatus, equipment and storage medium |
CN113992659B (en) * | 2021-10-28 | 2024-03-26 | 中国工商银行股份有限公司 | Cross-border streaming method, device and storage medium of business model |
CN114679429B (en) * | 2022-03-29 | 2023-02-03 | 深圳信息职业技术学院 | Service cross-region response method based on multi-cloud container platform |
CN117857239B (en) * | 2023-12-28 | 2024-07-19 | 广州视声智能股份有限公司 | Home data transmission method and system based on multi-protocol fusion |
Family Cites Families (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US8738778B2 (en) * | 2006-04-26 | 2014-05-27 | Bittorrent, Inc. | Peer-to-peer download and seed policy management |
CN102299961A (en) * | 2011-08-25 | 2011-12-28 | 邦讯技术股份有限公司 | Method for Femto equipment to realize sharing network resources and Femto equipment |
PL407778A1 (en) * | 2012-02-17 | 2014-12-22 | Tencent Technology (Shenzhen) Company Limited | Method, the terminal server and system for data collection |
CN104158891B (en) * | 2014-08-21 | 2016-02-03 | 腾讯科技(深圳)有限公司 | A kind of trans-regional data transmission method, device, system and server |
CN105681370B (en) * | 2014-11-17 | 2019-11-15 | 腾讯科技(成都)有限公司 | File synchronisation method, server and client |
-
2017
- 2017-02-28 CN CN201710113658.7A patent/CN106657413B/en active Active
Also Published As
Publication number | Publication date |
---|---|
CN106657413A (en) | 2017-05-10 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN106657413B (en) | Document transmission method, device and system | |
CN104023006B (en) | Multi-path transmission system and method based on application layer relaying | |
CN101410819B (en) | Reliable, high-throughput, high-performance transport and routing mechanism for arbitrary data flows | |
CN102065136B (en) | P2P (Peer-to-Peer) network safety data transmission method and system | |
EP2523422A1 (en) | Issuing method and system for configuration information | |
US8612604B2 (en) | System and method for server initiation beacon | |
JP4584998B2 (en) | Virtual private network configuration method and system | |
CN102057647A (en) | Maintenance of overlay networks | |
EP2939401B1 (en) | Method for guaranteeing service continuity in a telecommunication network and system thereof | |
EP1344118A2 (en) | A method and apparatus for discovering client proximity using multiple http redirects | |
US20150249599A1 (en) | Virtual cluster establishment method and network device | |
CN108028835A (en) | automatic configuration server and method | |
CN109314725A (en) | Local break-out in mobile IP network | |
CN104038427A (en) | Router renewing method and device | |
US10652310B2 (en) | Secure remote computer network | |
CN104618491B (en) | A kind of proxy server and data forwarding method | |
CN103138961B (en) | server control method, controlled server and central control server | |
CN112134744A (en) | Management method of nodes in distributed management system | |
KR20160002155A (en) | Method fof transmitting of contents based on sdn network and ccn network | |
US6826623B1 (en) | Detecting a dead gateway for subsequent non-TCP transmission by sending a first TCP packet and deleting an ARP entry associated with the gateway | |
US11757833B2 (en) | Network device interface for supporting centralized address pool management | |
EP2708011B1 (en) | System and method for content distribution internetworking | |
JP2006165879A (en) | Call control system, call control method and call control program | |
CN113612735A (en) | Secure storage system | |
CN109510882B (en) | Communication method and device between game clients, storage medium and electronic device |
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 | ||
GR01 | Patent grant | ||
GR01 | Patent grant |