CN106330525A - Data transmission method and system - Google Patents
Data transmission method and system Download PDFInfo
- Publication number
- CN106330525A CN106330525A CN201510386300.2A CN201510386300A CN106330525A CN 106330525 A CN106330525 A CN 106330525A CN 201510386300 A CN201510386300 A CN 201510386300A CN 106330525 A CN106330525 A CN 106330525A
- Authority
- CN
- China
- Prior art keywords
- transferring equipment
- transmitting terminal
- receiving terminal
- auxiliary
- data message
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L41/00—Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
- H04L41/06—Management of faults, events, alarms or notifications
- H04L41/0654—Management of faults, events, alarms or notifications using network fault recovery
- H04L41/0668—Management of faults, events, alarms or notifications using network fault recovery by dynamic selection of recovery network elements, e.g. replacement by the most appropriate element after failure
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L47/00—Traffic control in data switching networks
- H04L47/10—Flow control; Congestion control
- H04L47/12—Avoiding congestion; Recovering from congestion
- H04L47/125—Avoiding congestion; Recovering from congestion by balancing the load, e.g. traffic engineering
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
The embodiment of the invention provides a data transmission method and system. The method executed by a sending end comprises the following steps: judging whether a target transfer device is in a normal state in response to a sending instruction of data information, wherein the target transfer device is a transfer device in a transfer device set connected with the sending end; if the target transfer device is in an abnormal state, determining an auxiliary transfer device in the transfer device set, and sending the data information to the auxiliary transfer device; and receiving response information sent by the auxiliary transfer device, wherein the response information is information that is generated by a receiving end according to the data information and is sent to the auxiliary transfer device according to a target transmission link, and the target transmission link is a data transmission link that is determined by the auxiliary transfer device after analyzing the data information. By adoption of the data transmission method and system provided by the invention, the problem that the sending end and the receiving end cannot carry out data transmission because of network link faults can be solved.
Description
Technical field
The application relates to communication technical field, particularly relates to data transmission method and system.
Background technology
At present, need in network communications data are transmitted.Under normal circumstances, data transmission procedure tool
There are transmitting terminal and receiving terminal, and, transmitting terminal is directly connected by network linking with receiving terminal.Concrete number
According to transmitting procedure can be: transmitting terminal sends data message by network linking to receiving terminal, receiving terminal to
Transmitting terminal feedback response information, realizes data transmission with this.
Such as: the client of application is installed in terminal, is provided with server at far-end.In order to realize application
Function, client (transmitting terminal) need carry out data transmission with server (receiving terminal).
Owing to only having a network linking between transmitting terminal and receiving terminal, i.e. between transmitting terminal and receiving terminal
Only there is a data transmission channel.When network linking between transmitting terminal and receiving terminal breaks down,
The data transmission channel between client and server, namely data transmission channel can be destroyed, thus cause
Cannot be carried out data transmission between client and server, and then cause application cannot realize data transmission.
Summary of the invention
This application provides data transmission method and system, a plurality of number is set between transmitting terminal and receiving terminal
According to transmission channel.When a data transmission channel breaks down wherein, the transmission of other data can be used instead
Passage, thus maintain the data between transmitting terminal and receiving terminal to transmit, thus solve because of network linking fault
The problem that cannot be carried out data transmission between the transmitting terminal and the receiving terminal that cause.
To achieve these goals, this application provides techniques below means:
A kind of data transmission method, is applied to the transmitting terminal of data transmission system, including:
Transmission in response to data message instructs, it is judged that whether target transferring equipment is in normal condition;Its
In, described target transferring equipment is the transferring equipment that the transferring equipment being connected with transmitting terminal is concentrated;Institute
State transferring equipment concentration and include at least two transferring equipment;
If described target transferring equipment is in abnormality, concentrates in described transferring equipment and determine in auxiliary
After turning equipment, described data message is sent to described auxiliary transferring equipment;
Receive the response message that described auxiliary transferring equipment sends;Wherein, described response message is receiving terminal
That generate according to described data message and according to target transmission link send to the letter of described auxiliary transferring equipment
Breath;Described object transmission link is to count determined by after described auxiliary transferring equipment resolves described data message
According to transmission link.
Preferably, described concentration in transferring equipment determines auxiliary transferring equipment process, including:
Concentrate in described transferring equipment, select a transferring equipment being in normal condition, be defined as described
Auxiliary transferring equipment.
Preferably, also include:
In the case of judging that described target transferring equipment is in normal condition, send described data message extremely
Described target transferring equipment;Receive the response message that described target transferring equipment sends;Wherein, described sound
Answering information is that described receiving terminal generates according to described data message, and sends to described target transferring equipment
Information.
Preferably, described data message includes:
The address date of described transmitting terminal, target data and the address date of described receiving terminal;Or,
The address date of described transmitting terminal, target data, the address date of described receiving terminal and described target
The address date of transferring equipment.
Preferably, described data transmission system be client, the gateway pond being connected with described client and
In the case of the server being connected with described gateway pond, the corresponding described client of the most described transmitting terminal, described
The corresponding described server of receiving terminal, the corresponding described gateway pond of described transferring equipment collection, wherein, a transfer
The corresponding gateway of equipment.
Preferably, it is client, the client gateways being connected with client in described data transmission system,
In the case of the gateway pond being connected with described client gateways and the server being connected with described gateway pond, then
The corresponding described client gateways of described transmitting terminal, the corresponding described server of described receiving terminal, described transfer sets
Standby Ji Duiyingwangguanchi, wherein, a corresponding gateway of transferring equipment.
Preferably, also include:
Before sending instruction in response to data, receive the data message that described client sends;
After receiving the response message that described auxiliary transferring equipment sends, described response message is sent extremely
Described client.
A kind of data transmission method, is applied to the auxiliary transferring equipment of data transmission system, described method bag
Include:
Resolve data message, determine and data message is sent the object transmission link to receiving terminal;Wherein,
Described data message is, transmitting terminal instructs in response to the transmission of data message, is judging and described transmission
The target transferring equipment that end connects is in abnormality, and determines auxiliary transferring equipment in transferring equipment concentration
After, send to described auxiliary transferring equipment;Described target transferring equipment is the transfer being connected with transmitting terminal
The transferring equipment that equipment is concentrated;Wherein, described transferring equipment is concentrated and is included at least two transferring equipment;
In the case of determining and all setting up communication linkage with described transmitting terminal and receiving terminal, pass by described target
Described data message is sent to described receiving terminal by transmission link;
Receive the response message that described receiving terminal sends;Wherein, described response message is that described receiving terminal depends on
Generate according to described data message, and send to described auxiliary transferring equipment by described object transmission link
Information;
Described response message is sent to described transmitting terminal.
Preferably, described parsing data message, determine and described data message is sent the target to receiving terminal
Transmission link, including:
Resolve described data message, determine the data content that data message is comprised;
In the case of described data content comprises the address date of described target transferring equipment, by described auxiliary
Help transferring equipment, described target transferring equipment and the data transmission channel constructed by described receiving terminal, determine
For described object transmission link;
In the case of described data content does not comprises the address date of target transferring equipment, by described auxiliary
Data transmission channel constructed by transferring equipment and described receiving terminal, is defined as described object transmission link.
Preferably, described data message includes: the address date of described transmitting terminal, target data and institute
State the address date of receiving terminal;The most described determine all set up the process of communication linkage with transmitting terminal and receiving terminal,
Including:
Verify whether to store the address date of address date and the described receiving terminal comprising described transmitting terminal
Communication linkage;
The most then by that stored, comprise address date and the address of described receiving terminal of described transmitting terminal
The communication linkage of data, the communication linkage being defined as between transmitting terminal and receiving terminal;
If it is not, then set up the communication linkage between transmitting terminal and receiving terminal.
Preferably, the communication linkage between described foundation and transmitting terminal and receiving terminal, including:
The address date of described transmitting terminal and the request of the address date of described auxiliary transferring equipment will be included
Instruction, sends to described receiving terminal;
Receive the communication linkage that described receiving terminal sends;Wherein, described communication linkage is described receiving terminal wound
Build and send to described auxiliary transferring equipment, and, described communication linkage includes described transmitting terminal
Address date, the address date of described receiving terminal and the address date of described auxiliary transferring equipment;
Store described communication linkage.
A kind of data transmission method, is applied to the receiving terminal of data transmission system, and described method includes:
Receive data message;Wherein, described data message is, it is true that auxiliary transferring equipment resolves data message
Fixed described data message sends the object transmission link to receiving terminal, and, determining and transmitting terminal and reception
In the case of end all sets up communication linkage, send to described receiving terminal by described object transmission link;Institute
The described data message stated in auxiliary transferring equipment is, transmitting terminal instructs in response to the transmission of data message,
Judging that the target transferring equipment being connected with described transmitting terminal is in abnormality, and setting in described transfer
After standby concentration determines auxiliary transferring equipment, send to described auxiliary transferring equipment;Wherein, described target
Transferring equipment is the transferring equipment that the transferring equipment being connected with transmitting terminal is concentrated;Wherein, described transfer
Equipment is concentrated and is included at least two transferring equipment;
Response message is generated according to described data message;
According to described object transmission link, described response message is sent to described auxiliary transferring equipment;Wherein,
Described response message is the information that described auxiliary transferring equipment is forwarded to described transmitting terminal.
Preferably, also include:
Receive the address date including described transmitting terminal and described auxiliary that described auxiliary transferring equipment sends
The request instruction of the address date of transferring equipment;
Create described transmitting terminal, communication chain between described auxiliary transferring equipment and the three of described receiving terminal
Connect;
By the communication linkage between described transmitting terminal, described auxiliary transferring equipment and described receiving terminal three,
Send to described auxiliary transferring equipment.
Preferably, create described transmitting terminal, described auxiliary transferring equipment and described receiving terminal three it
Between communication linkage before, also include:
In the case of the existing communication linkage corresponding with the address date of described transmitting terminal, it may be judged whether only
Support the corresponding communication linkage of a transmitting terminal;
If only supporting the corresponding communication linkage of a transmitting terminal, then delete existing and described transmitting terminal
The communication linkage that address date is corresponding.
A kind of data transmission system, including: transmitting terminal, transferring equipment collection and receiving terminal;Wherein, described
Transferring equipment is concentrated and is comprised at least two transferring equipment, and, one end of each transferring equipment and described transmission
End is connected, and the other end is connected with described receiving terminal;
Described transmitting terminal is used for, and the transmission in response to data message instructs, it is judged that whether target transferring equipment
It is in normal condition;If described target transferring equipment is in abnormality, concentrate in described transferring equipment
After determining auxiliary transferring equipment, described data message is sent to the auxiliary transfer being connected with described transmitting terminal
Equipment;And receive the response message that described auxiliary transferring equipment sends;Wherein, described target transferring equipment
The transferring equipment concentrated for the transferring equipment being connected with transmitting terminal;Described transferring equipment concentrate include to
Few two transferring equipment;
Described auxiliary transferring equipment is used for, and resolves data message, determines and sends described data message to connecing
The object transmission link of receiving end;The situation of communication linkage is all set up with described transmitting terminal and receiving terminal determining
Under, by described object transmission link, described data message is sent to described receiving terminal;Receive described reception
The response message that end sends;Described response message is sent to described transmitting terminal;
Described receiving terminal is used for, and receives data message;Response message is generated according to described data message;Press
According to described object transmission link, described response message is sent to described auxiliary transferring equipment.
Preferably, described transmitting terminal specifically for, concentrating with described transferring equipment, selecting one and be in
The transferring equipment of normal condition, is defined as described auxiliary transferring equipment;Wherein, described transferring equipment is concentrated
Including at least two transferring equipment.
Preferred described transmitting terminal is additionally operable to, and is judging that described target transferring equipment is in the feelings of normal condition
Under condition, send described data message to described target transferring equipment;
Described target transfer set auxiliary for, described data message is sent to described receiving terminal;And receive
The response message that described receiving terminal sends;
Described receiving terminal is used for, and receives data message, generates response message according to described data message;And
Described response message is sent to described target transferring equipment.
Preferred described transmitting terminal correspondence client, described receiving terminal corresponding server, described transferring equipment
Ji Duiyingwangguanchi, wherein, a corresponding gateway of transferring equipment.
Preferably, described transmitting terminal is client gateways, described receiving terminal corresponding server, described transfer
Equipment Ji Duiyingwangguanchi, wherein, a corresponding gateway of transferring equipment.
Preferably, also include: with described client gateways connected client;
Described client gateways is additionally operable to, and before sending instruction in response to data, receives described client
The data message sent;After receiving the response message that described auxiliary transferring equipment sends, by described sound
Information is answered to send to described client.
The application has the advantages that
The embodiment of the present application is provided with transferring equipment collection between transmitting terminal and receiving terminal, transferring equipment with
Communication linkage between transmitting terminal and receiving terminal, is equivalent to the data transmission between transmitting terminal and receiving terminal
Passage.Transferring equipment is concentrated and is included at least two transferring equipment, so, between transmitting terminal and receiving terminal
Just there are at least two data transmission channels.The data transmission being currently in use between transmitting terminal and server
When passage (communication linkage built by target transferring equipment) breaks down, then can select other data
Transmission channel (communication linkage that auxiliary transferring equipment builds) continues between transmitting terminal and receiving terminal
Data transmission.Therefore, the application can maintain the data between transmitting terminal and receiving terminal to transmit, thus
The problem solving to cannot be carried out data transmission between transmitting terminal and the receiving terminal caused because of network linking fault.
Accompanying drawing explanation
In order to be illustrated more clearly that the embodiment of the present application or technical scheme of the prior art, below will be to reality
Execute the required accompanying drawing used in example or description of the prior art to be briefly described, it should be apparent that below,
Accompanying drawing in description is only some embodiments of the application, for those of ordinary skill in the art,
On the premise of not paying creative work, it is also possible to obtain other accompanying drawing according to these accompanying drawings.
Fig. 1 is the structural representation of data transmission system disclosed in the embodiment of the present application;
Fig. 2 is the flow chart of transmitting terminal in data transmission method disclosed in the embodiment of the present application;
Fig. 3 is the flow chart assisting transferring equipment in data transmission method disclosed in the embodiment of the present application;
Fig. 4 is the flow chart of receiving terminal in data transmission method disclosed in the embodiment of the present application;
Fig. 5 is the flow process that in data transmission method disclosed in the embodiment of the present application, receiving terminal sets up communication linkage
Figure;
Fig. 6 is the structural representation of data transmission system scene embodiment one disclosed in the embodiment of the present application;
Fig. 7 is the structural representation that data transmission system scene disclosed in the embodiment of the present application implements;
Fig. 8 is the flow chart of data transmission method scene embodiment one disclosed in the embodiment of the present application;
Fig. 9 is the flow chart of data transmission method scene embodiment two disclosed in the embodiment of the present application;
Figure 10 is the flow chart of data transmission method scene embodiment three disclosed in the embodiment of the present application;
Figure 11 is the flow chart of data transmission method scene embodiment four disclosed in the embodiment of the present application.
Detailed description of the invention
Below in conjunction with the accompanying drawing in the embodiment of the present application, the technical scheme in the embodiment of the present application is carried out
Clearly and completely describe, it is clear that described embodiment is only some embodiments of the present application, and
It is not all, of embodiment.Based on the embodiment in the application, those of ordinary skill in the art are not doing
Go out the every other embodiment obtained under creative work premise, broadly fall into the scope of the application protection.
Before introducing the embodiment of the present application, first introduce data transmission system, to facilitate art technology
Personnel are easier to understand the application scenarios of the embodiment of the present application.As it is shown in figure 1, described data transmission system
Including: transmitting terminal 100, the transferring equipment collection 200 being connected with transmitting terminal 100, with transferring equipment collection 200
The receiving terminal 300 being connected;Transferring equipment is concentrated and is comprised at least two transferring equipment, specifically can use transfer
Equipment 1, transferring equipment 2 ... transferring equipment N represents, N is the natural number more than 1.
Communication linkage between each transferring equipment and transmitting terminal 100 and receiving terminal 300, is all equivalent to one
Data transmission channel.Concentrate due to transferring equipment provided herein and at least there are two transferring equipment,
So, the application at least has between transmitting terminal 100 and receiving terminal 300 two data transmission channels.
The communication linkage communicated with receiving terminal 300 when transmitting terminal 100 goes wrong, it is impossible to continue dimension
After holding the data transmission between transmitting terminal 100 and receiving terminal 300, it is also possible to continue to use other communication chain
Connect as the data transmission channel between transmitting terminal 100 and receiving terminal 300, maintain transmitting terminal 100 with this
And the data transmission between receiving terminal 300.
When transmitting terminal 100 carries out data transmission with receiving terminal 300, transmitting terminal 100 can be verified and receive
Whether there is data transmission channel between end 300, it is assumed that nothing between transmitting terminal 100 and receiving terminal 300
In the case of data transmission channel, transmitting terminal 100 can be concentrated in transferring equipment and determine that one is in normal
State transferring equipment, as target transferring equipment.It is then possible to set up transmitting terminal 100 by receiving terminal 300,
Communication linkage between target transferring equipment and receiving terminal 300 three.Hereafter, transmitting terminal 100 just can profit
Carry out data transmission with receiving terminal 300 by target transferring equipment.
Based on above-mentioned data transmission system, as in figure 2 it is shown, this application provides a kind of data transmission method
Embodiment one, the present embodiment is applied to the transmitting terminal of data transmission system.Described method specifically include with
Lower step S201~S205:
Step S201: the transmission in response to data message instructs, it is judged that whether target transferring equipment is just in
Often state.Wherein, described target transferring equipment is and sends the transfer that the transferring equipment being connected is concentrated
Equipment;Described transferring equipment is concentrated and is included at least two transferring equipment.If target transferring equipment is in normally
State, then enter step S205;If target transferring equipment is in abnormality, then enter step S202.
In the case of the built vertical communication linkage of transmitting terminal, target transferring equipment and receiving terminal three, represent
There is between transmitting terminal and receiving terminal a data transmission channel.Transmitting terminal can use data with existing to pass
Defeated passage, sends data message to receiving terminal.
During transmitting terminal utilizes target transferring equipment and receiving terminal to carry out data transmission, due to multiple
Reason, may cause target transferring equipment cannot carry out data transmission with transmitting terminal.Such as, owing to sending
Holding may be doped with attacking data in the data message that receiving terminal sends, when carrying the number attacking data
When it is believed that breath transmission to target transferring equipment, attack data and target transferring equipment can be caused expendable
Injury, this may cause cannot proper communication between target transferring equipment and transmitting terminal.Or, transmitting terminal
And the physical link between target transferring equipment goes wrong, cause between transmitting terminal and target transferring equipment
Cannot proper communication.Or, the hardware device of target transferring equipment itself breaks down, and causes target
Transferring equipment cannot normally use, and then cause cannot proper communication between transmitting terminal and target transferring equipment.
Owing to target transferring equipment may occur cannot carrying out data transmission problem with transmitting terminal at any time, so,
Utilizing target transferring equipment before receiving terminal sends data message at transmitting terminal, can verify in target
Turn the most whether equipment is in normal condition.If target transferring equipment is in normal condition, then it represents that target
Transferring equipment can be with transmitting terminal proper communication, if target transferring equipment is in abnormality, then it represents that mesh
Mark transferring equipment cannot be with transmitting terminal proper communication.
Wherein, verify whether target transferring equipment is in the process of normal condition and can be: transmitting terminal is to mesh
Mark transferring equipment sends the instruction keeping communication linkage.Can be just between target transferring equipment and transmitting terminal
During normal open letter, target transferring equipment can send a feedback signal to transmitting terminal.If transmitting terminal receives
Feedback signal, then it represents that target transferring equipment is in normal condition, and, target transferring equipment and transmitting terminal
Between can keep communication linkage.Between target transferring equipment and transmitting terminal cannot proper communication time,
Target transferring equipment cannot send feedback signal to transmitting terminal.If transmitting terminal cannot receive at the appointed time
The feedback signal sent to target transferring equipment, then it represents that target transferring equipment is in abnormality, and,
Communication linkage cannot be kept between target transferring equipment and transmitting terminal.
As shown in the above, when transmitting terminal between the data message that receiving terminal sends doped with attack number
According to time, in the case of being not provided with transferring equipment between transmitting terminal and receiving terminal, receiving terminal is directly as attacking
Hit the target of attack of data, in fact it could happen that receiving terminal is hacked data and hits and paralyse, and then cause receiving
The problem that end cannot provide service.
Transferring equipment it is provided with in this application, transmitting terminal the attack number sent between transmitting terminal and receiving terminal
According to arriving first at transferring equipment, can direct aggression transferring equipment rather than direct aggression so attacking data
Receiving terminal.Receiving terminal is avoided directly to be hacked data institute so the transferring equipment that the application provides can have
The advantage attacked.
Step S202: after described transferring equipment is concentrated and determined auxiliary transferring equipment, by described data message
It is sent to described auxiliary transferring equipment.
After target transferring equipment is in abnormality, then it represents that nothing between target transferring equipment and transmitting terminal
Method keeps communication linkage;This data transmission channel i.e. has broken down and cannot be continuing with.In order to maintain
Data transmission between transmitting terminal and receiving terminal, now, transmitting terminal can be concentrated the most true in transferring equipment
A fixed transferring equipment being in normal condition, the instead auxiliary transferring equipment of target transferring equipment.
In subsequent process, transmitting terminal can utilize and carry out data transmission between auxiliary transferring equipment and receiving terminal.
This step determines the process of the transferring equipment of a normal condition, Ke Yiwei:
Transmitting terminal concentrates all transferring equipment (at this point it is possible to not comprising target transferring equipment) to transferring equipment
Send request communication instruction.For a transferring equipment, if transferring equipment is in normal condition, then
Send a feedback signal to transmitting terminal, if transferring equipment is in abnormality, then will not send out to transmitting terminal
Send feedback signal.Therefore, if transmitting terminal can receive the feedback signal that transferring equipment sends, then it represents that
This transferring equipment is in normal condition;If transmitting terminal at the appointed time, does not receives transferring equipment and sends
Feedback signal, then it represents that this transferring equipment is in abnormality.
Additionally, transmitting terminal can also record each transferring equipment sends the time of feedback signal, if in one
Turn equipment and send the time of feedback signal the most early, then it represents that this transferring equipment response speed is the fastest, Jin Erbiao
Showing and load less in this transferring equipment, the resource of transferring equipment is the most sufficient.Otherwise, if a transfer sets
Preparation send time of feedback signal the most late, then it represents that this transferring equipment response speed is the slowest, and then represent should
Loading more in transferring equipment, the resource of transferring equipment is the most nervous.
It is understood that the transferring equipment that response speed the is the fastest (transfer that i.e. Internet resources are more sufficient
Equipment), the data message that transmitting terminal sends can be processed faster.The transferring equipment that response speed is the slowest
(transferring equipment that i.e. Internet resources are more nervous), it is impossible to process the data letter that transmitting terminal sends faster
Breath.
In theory, transmitting terminal can select in one or more transferring equipment being in normal condition at random
Select a transferring equipment as auxiliary transferring equipment.But, randomly choosing auxiliary transferring equipment possibly cannot
Process the data message of current transmitting terminal faster, in order to comparatively fast process the data message of transmitting terminal, send out
Sending end can be using the fastest transferring equipment of Response to selection as auxiliary transferring equipment.
The fastest transferring equipment of transmitting terminal Response to selection as auxiliary transferring equipment, do so
Advantage is, quickly can process the data message of transmitting terminal, thus obtain receiving terminal faster
Response.Additionally, the speed of transferring equipment response speed and himself load are inversely proportional to, Response to selection
Fastest transferring equipment, sets up communication linkage with transmitting terminal;I.e. select transferring equipment pond loads
Few transferring equipment and transmitting terminal are set up communication linkage rather than select and are loaded more in transferring equipment pond
Transferring equipment sets up communication linkage.So that each transferring equipment all bears the task of carry load.Institute
With, this step can be implemented in the purpose of equally loaded in transferring equipment pond.
Certainly, the transferring equipment that Response to selection is fastest in multiple transferring equipment is as in auxiliary
Turn equipment, be the implementation of a kind of optimum.It is understood that transmitting terminal can be with Response to selection speed
The transferring equipment stood out, as auxiliary transferring equipment.So can also realize load balancing
Purpose.
More than for this step determines the process of auxiliary transferring equipment, it is described below being in abnormality
The processing procedure of target transferring equipment.For being in abnormality target transferring equipment, can send
Warning message, to point out technical staff self to break down, it is impossible to carry out proper communication with transmitting terminal.Skill
Target transferring equipment, after checking the source of failure and solving fault, is resetted by art personnel, and again by target
Transferring equipment is positioned over transferring equipment and concentrates, and uses when setting up communication linkage for follow-up and other transmitting terminals.
Transmitting terminal is after determining auxiliary transferring equipment, and sets up communication chain determining with auxiliary transferring equipment
In the case of connecing, just can send data message to auxiliary transferring equipment.And utilized by auxiliary transferring equipment
Data message determines object transmission link, and according to target data message is sent to receiving terminal by transmission link.
Step S203: receive the response message that described auxiliary transferring equipment sends;Wherein, described response letter
Breath generates according to described data message for described receiving terminal, and according to target transmission link sends to described auxiliary
Help the information of transferring equipment;Described object transmission link is that described auxiliary transferring equipment resolves described data letter
Data transmission link determined by after breath.
Receiving terminal, after receiving data message, can generate response message according to data message.Then, will
Response message according to target transmission link sends to assisting transferring equipment, and response is believed by auxiliary transferring equipment
Breath sends to transmitting terminal, and transmitting terminal just can receive the response message that server sends.
Step S204: send data message to described target transferring equipment.
Turn equipment in the target when being not in abnormality, be then continuing with original communication link, to mesh
Mark transferring equipment sends data message, and is sent to receiving terminal by target transferring equipment.
Step S205: receive the response message that described target transferring equipment sends.
Receiving terminal, after receiving data message, can generate response message according to data message.Then, will
Response message sends to target transferring equipment, and is sent response message to transmitting terminal by target transferring equipment,
Transmitting terminal just can receive the response message that server sends.
Process shown in Fig. 2 is a data transmission procedure between transmitting terminal and receiving terminal, it is possible to understand that
It is, when transmitting terminal and receiving terminal proceed data transmission, the process shown in Fig. 2 to be repeated.
In the data transmission system that the present embodiment one is applied, transmitting terminal can be client, transferring equipment
Integrating can be as gateway pond, and receiving terminal can be server.Gateway pond comprises at least two gateway, and one
The corresponding gateway of transferring equipment.Under this application scenarios, embodiment one can realize client and service
Data transmission between device.
The manner can realize the data transmission between client and server, however it is necessary that existing visitor
Family end improves, so that client is applicable to the embodiment one that the application provides.Owing to needs are to client
End is reconstructed, and therefore the manner is unfavorable for the enforcement of the present embodiment.
It is thus provided that another way, the data transmission system that the present embodiment one is applied in the manner
In, transmitting terminal can be client gateways, and transferring equipment integrates can be as gateway pond, and receiving terminal can be service
Device.Gateway pond comprises at least two gateway, and a corresponding gateway of transferring equipment.In this application
Under scene, embodiment one can realize the data transmission between client gateways and server.
In order to realize the data transmission between client and server, in the embodiment of notebook data transmission method
In one, transmitting terminal (client gateways), before sending instruction in response to data, can receive described visitor
The data message that family end sends;And after receiving the response message that described auxiliary transferring equipment sends, will
Described response message sends to described client, thus realizes the data transmission between client and server.
The improvement of related to client in the manner, all implements, for client in client gateways
For, it is not necessary to change original execution process, such that it is able to accomplish client in the case of immovable,
Implement the application, and then promote the enforcement of the application.
Fig. 2 show the embodiment one of the data transmission method that transmitting terminal performs, and auxiliary transfer is described below
The embodiment of the data transmission method that equipment performs.As it is shown on figure 3, the data transmission provided for the application
Embodiment of the method two, specifically includes step S301~304:
Step S301: resolve data message, determines and data message is sent the object transmission chain to receiving terminal
Road.Wherein, described data message is, transmitting terminal instructs in response to the transmission of data message, is judging
The target transferring equipment being connected with described transmitting terminal is in abnormality, and determines auxiliary in transferring equipment concentration
After helping transferring equipment, send to described auxiliary transferring equipment;Described target transferring equipment is and transmitting terminal
The transferring equipment that the transferring equipment being connected is concentrated;Wherein, described transferring equipment is concentrated and is included at least two
Individual transferring equipment.
At the step S203 transmitting terminal shown in Fig. 2 after ancillary gateway sends data message, assist transfer
Equipment then can receive data message.Data message has two kinds of forms: the first form, data packets
Include the address date of described transmitting terminal, target data and the address date of described receiving terminal;The second shape
Formula, data message includes the address date of described transmitting terminal, target data, the number of addresses of described receiving terminal
According to the address date with described target transferring equipment.The difference of two kinds of forms is in the second way also to wrap
Address date containing target transferring equipment.
The multi-form of data message, in that case it can be decided that auxiliary transferring equipment sends data message to receiving terminal
Implementation.With the first form of data message corresponding the first transmission link is described below, and,
The second form corresponding the second transmission link with data message.
The first transmission link: auxiliary transferring equipment-receiving terminal.
In the first form of data message, do not comprise the address information of target transferring equipment, represent and send
End is intended to directly be sent data message to receiving terminal by auxiliary transferring equipment.
The second transmission link: auxiliary transferring equipment-target transferring equipment-receiving terminal.
In the second form of data message, comprise the address information of target transferring equipment, represent transmitting terminal
Wish to send to target transferring equipment data message, then sent to receiving terminal by target transferring equipment.
Auxiliary transferring equipment, after receiving data message, resolves data message thus obtains data message
Data content, thus check the address date whether comprising target transferring equipment in data message.
If data content comprises the address date of target transferring equipment, then it represents that data message is the first
Form, then should be sent data message to receiving by the first transmission link corresponding with the first form
End, so determining that the first transmission link is object transmission link.
If data message comprises the address date of target transferring equipment, then it represents that data message is the second
Form, then should be sent data message to receiving by the second transmission link corresponding with the second form
End, so determining that the second transmission link is object transmission link.
Step S302: in the case of determining and all setting up communication linkage with described transmitting terminal and receiving terminal, press
Described data message is sent to described receiving terminal by described object transmission link.
In auxiliary transferring equipment, storage has the communication between that set up and transmitting terminal and receiving terminal by self
Link.Wherein, communication linkage comprises the address date of the transmitting terminal corresponding with this communication linkage, auxiliary
The address date of transferring equipment and the address date of receiving terminal.Such as, transmitting terminal A is set by auxiliary transfer
For setting up communication linkage with receiving terminal, then can store this communication linkage in auxiliary transferring equipment, and, this leads to
Letter link comprises the address date of transmitting terminal A, the address date of auxiliary transferring equipment and the ground of receiving terminal
Location data.
Transmitting terminal, auxiliary transferring equipment and receiving terminal between set up have communication linkage in the case of, ability
Enough carry out data transmission between transmitting terminal and receiving terminal.Therefore, auxiliary transferring equipment is obtaining data letter
After breath, verify whether to store the address date comprising described transmitting terminal and the number of addresses of described receiving terminal
According to communication linkage.
The detailed process of checking can be first to extract the address date of transmitting terminal in data message;So
After, the address date of transmitting terminal is made a look up, if can look in the memory space of auxiliary transferring equipment
Find the address date of transmitting terminal, then it represents that auxiliary transferring equipment sets up communication linkage with transmitting terminal.This
Time, can directly use existing communication linkage, it is not necessary to repeat and set up communication linkage.If auxiliary
Help in the memory space of transferring equipment, do not find the address date of transmitting terminal, then it represents that auxiliary transfer sets
For not setting up communication linkage with transmitting terminal.
At this point it is possible to set up transmitting terminal, assist the communication linkage between transferring equipment and receiving terminal, specifically
Process can be:
Auxiliary transferring equipment sends the request instruction established the link, the request wherein established the link to receiving terminal
Instruction comprises address date and the address date of transmitting terminal of auxiliary transferring equipment.Then, by receiving terminal
Set up the transmitting terminal corresponding with the address date of transmitting terminal, corresponding with the address date of auxiliary transferring equipment
Communication linkage is set up between auxiliary transferring equipment and receiving terminal three.
Auxiliary transferring equipment receives and is sent, by receiving terminal, the instruction that communication linkage has been set up, and auxiliary transfer sets
Standby after receiving this instruction, just learn transmitting terminal, have built up between auxiliary transferring equipment and receiving terminal logical
Letter link.Hereafter, this communication linkage just can be used to carry out data transmission between transmitting terminal and receiving terminal.
Follow-up this communication linkage that is continuing with, auxiliary transferring equipment can store this communication linkage.
This communication linkage can also be sent to transmitting terminal by auxiliary transferring equipment, and also stored this communication by transmitting terminal
Link, in order to transmitting terminal, when carrying out data transmission with receiving terminal next time, can be continuing with this communication chain
Connect.
In the case of determining and all setting up communication linkage with described transmitting terminal and receiving terminal, assist transferring equipment
Just can determine object transmission link by step S302, described data message is sent to described receiving terminal.
Step S303: receive the response message that described receiving terminal sends;Wherein, described response message is institute
State what receiving terminal generated according to described data message, and send to described auxiliary by described object transmission link
The information of transferring equipment.
After auxiliary transferring equipment transmission data message to receiving terminal, receiving terminal can be according to data message
Generate response message, it is possible to according to target transmission link sends to assisting transferring equipment.
In the case of object transmission link is the first transmission link (auxiliary transferring equipment-receiving terminal),
Response message is sent directly to assist transferring equipment by receiving terminal.
When object transmission link is the (auxiliary transferring equipment-target transferring equipment-reception of the second transmission link
End) in the case of, response message is sent to target transferring equipment by receiving terminal, and by target transferring equipment
Send to assisting transferring equipment.
Step S304: described response message is sent to described transmitting terminal.
Response message, after obtaining response message, just can be sent to transmitting terminal by auxiliary transferring equipment.
Transmitting terminal just can obtain the response message corresponding with data message.Thus complete transmitting terminal and receiving terminal it
Between a data transfer.
Data transmission method that receiving terminal perform is described below.As shown in Figure 4, real for data transmission method
Execute example three, specifically include step S401~S403:
Step S401: receive data message;Wherein, described data message is, auxiliary transferring equipment resolves
Data message determines that described data message sends the object transmission link to receiving terminal, and, determining and sending out
In the case of sending end and receiving terminal all set up communication linkage, connect as described in described object transmission link sends extremely
Receiving end;Described data message in described auxiliary transferring equipment is that transmitting terminal is in response to data message
Send instruction, judging that the target transferring equipment being connected with described transmitting terminal is in abnormality, and
Described transferring equipment is concentrated after determining auxiliary transferring equipment, sends to described auxiliary transferring equipment;Wherein,
Described target transferring equipment is the transferring equipment that the transferring equipment being connected with transmitting terminal is concentrated;Wherein,
Described transferring equipment is concentrated and is included at least two transferring equipment.
Receiving terminal can receive data message, and this data message is sent by ancillary gateway according to target transmission link
To receiving terminal.Wherein, when object transmission link is the first transmission link, receiving terminal receives by auxiliary
Help the data message that transfer gateway sends;When object transmission link is the second transmission link, receiving terminal
Receive the data message sent by target transfer gateway.
Step S402: generate response message according to described data message.
Receiving terminal is after obtaining data message, just according to original programming, raw according to data message
Become corresponding response message.
Step S403: send described response message to described auxiliary transferring equipment according to object transmission link;
Wherein, described response message is the information that described auxiliary transferring equipment is forwarded to described transmitting terminal.
In the case of object transmission link is the first transmission link (auxiliary transferring equipment-receiving terminal),
Response message is sent directly to assist transferring equipment by receiving terminal.
When object transmission link is the (auxiliary transferring equipment-target transferring equipment-reception of the second transmission link
End) in the case of, response message is sent to target transferring equipment by receiving terminal, and by target transferring equipment
Send to assisting transferring equipment.
Additionally, receiving terminal can perform to create the process of communication linkage.As it is shown in figure 5, include step
S501~S505:
Step S501: receive the request instruction established the link that described auxiliary transferring equipment sends;Wherein,
The described request instruction established the link includes the address date of described transmitting terminal and described auxiliary transferring equipment
Address date.
If auxiliary transferring equipment does not finds the logical of the address date that comprises transmitting terminal in self memory space
Letter link, then it represents that transmitting terminal, auxiliary transferring equipment and receiving terminal between not there is communication linkage.Now,
Auxiliary transferring equipment sends to receiving terminal and includes the address date of described transmitting terminal and described auxiliary transfer sets
The request instruction of standby address date.
Receiving terminal receives address date and the number of addresses of described auxiliary transferring equipment including described transmitting terminal
According to establish the link request instruction.
Step S502: in the case of the existing communication linkage corresponding with the address date of described transmitting terminal,
Judge whether only to support the corresponding communication linkage of a transmitting terminal;The most then enter step S503, no
Then enter step S504.
Receiving terminal can store the communication linkage set up, at transmitting terminal, target transferring equipment and receiving terminal
In the case of setting up communication linkage, in receiving terminal, storage has the address date comprising transmitting terminal, target transfer
The address date of equipment and a communication linkage of the address date of receiving terminal.
When receiving terminal receive auxiliary transferring equipment send establish the link request in the case of, if receiving terminal
Allow the request established the link of auxiliary transferring equipment, then corresponding two data of a transmitting terminal can be made to pass
(communication linkage corresponding with target transferring equipment, with the auxiliary corresponding communication of transferring equipment for defeated passage
Link).Therefore, receiving terminal allow auxiliary transferring equipment establish the link request before, it is judged that self
The most only support the corresponding communication linkage of a transmitting terminal, the most then enter step S503;If it is not,
Then represent that receiving terminal can support two and above communication linkage, can enter step S504 and directly set up
Communication linkage.
Step S503: if only supporting the corresponding communication linkage of a transmitting terminal, then delete existing and institute
State the communication linkage that the address date of transmitting terminal is corresponding.
Generally, receiving terminal allows the corresponding communication linkage of a transmitting terminal, so now having two
Plant processing mode, first kind of way: the communication linkage being continuing with comprising target transferring equipment (has been built
Vertical communication linkage);The second way: disconnect the communication linkage comprising target transferring equipment and (deleted
The communication linkage set up), use the communication linkage (using newly-built link) comprising auxiliary transferring equipment.
In this implementation, comprise the logical of auxiliary transferring equipment to make to use between transmitting terminal and receiving terminal
Letter link (using newly-built link), now, receiving terminal can delete the communication chain corresponding with intended gateway
Connect.But, this kind of implementation can cause at transmitting terminal while change transferring equipment, receiving terminal
(receiving terminal needs to delete original communication linkage, and adopts new communication chain to be also required to carry out software change
Connect, or, change software program so that receiving terminal allows a transmitting terminal corresponding two and above communication chain
Connect), cause the enforcement being unfavorable for the present embodiment.
Step S504: create described transmitting terminal, described auxiliary transferring equipment and described receiving terminal three it
Between communication linkage.
Server is receiving the request of establishing the link, by the client corresponding with the address date of transmitting terminal,
Communication is set up between auxiliary transferring equipment and the receiving terminal three corresponding with the address date of auxiliary transferring equipment
Link.And self storing this communication linkage;This communication linkage comprises the address date of transmitting terminal, auxiliary
Help the address date of transferring equipment and the address date of receiving terminal.
Step S505: by between described transmitting terminal, described auxiliary transferring equipment and described receiving terminal three
Communication linkage, sends to described auxiliary transferring equipment.
By the process shown in Fig. 5, it is apparent that, when object transmission link is the first chain
In the case of road (auxiliary transferring equipment-receiving terminal), receiving terminal needs to set up with auxiliary transferring equipment to communicate
Link, needs receiving terminal to carry out the change of software program.This is unfavorable for the embodiment of the present embodiment.
When object transmission link is the (auxiliary transferring equipment-target transferring equipment-reception of the second transmission link
End) in the case of, receiving terminal can be continuing with existing communication linkage (with leading to of target transferring equipment
Letter link), without re-establishing communication linkage (with the communication linkage of auxiliary transferring equipment);So,
For receiving terminal, the change of software program can be carried out when implementing the application.
Be can be seen that, by above-mentioned technology contents, the data transmission method that the application provides, there is following useful effect
Really:
First, in the embodiment of the present application, between transmitting terminal and receiving terminal, it is provided with at least two transfer sets
Standby, be equivalent between transmitting terminal and receiving terminal, be provided with at least two data transmission channel.Work as transmitting terminal
And after a data transmission channel occurs extremely between receiving terminal, other data transmission channels can be used instead,
Such that it is able to continue to data transmission between transmitting terminal and receiving terminal, thus solve because of network linking fault
The problem that cannot be carried out data transmission between the transmitting terminal and the receiving terminal that cause.
Second, after increasing transferring equipment between transmitting terminal and receiving terminal so that the attack number of transmitting terminal
According to direct aggression transferring equipment rather than direct aggression receiving terminal.Such that it is able to be prevented effectively from receiving terminal quilt
Attack data to be attacked, farthest maintain the properly functioning of receiving terminal.
3rd, between multiple transferring equipment equilibrium assignment load, such that it is able to realize multiple transmitting terminal it
Between load balancing.I.e., it is possible to solve to run in a transferring equipment data message of multiple transmitting terminal,
And cause this transferring equipment crash issue.
5th, using the second data transmission channel (transmitting terminal-auxiliary transferring equipment-target transferring equipment
-receiving terminal) carry out data transmission between transmitting terminal and receiving terminal in the case of, receiving terminal can change
Become priginal soft program, such that it is able to accomplish that transmitting terminal is changed the purpose of transferring equipment unaware by receiving terminal,
Such that it is able to reduce the amendment to server.
5th, when transmitting terminal is client, and transferring equipment is gateway, and, receiving terminal is the feelings of server
Under condition, the application increases client gateways on the client, so that need to become on the client
Program more is carried in client gateways execution, such that it is able to avoid client is carried out modification of program,
Reach client to change unaware purpose.
As it is shown in figure 1, the application provides a kind of data transmission system, including: transmitting terminal 100, transfer sets
Standby collection 200 and receiving terminal 300;Wherein, described transferring equipment is concentrated and is comprised at least two transferring equipment, and,
One end of each transferring equipment is connected with described transmitting terminal 100, and the other end is connected with described receiving terminal 300.
Described transmitting terminal 100 is used for, and the transmission in response to data message instructs, it is judged that target transferring equipment
Whether it is in normal condition;If described target transferring equipment is in abnormality, in described transferring equipment
After concentration determines auxiliary transferring equipment, described data message is sent to the auxiliary being connected with described transmitting terminal
Transferring equipment;And receive the response message that described auxiliary transferring equipment sends;Wherein, described target transfer
Equipment is the transferring equipment that the transferring equipment being connected with transmitting terminal is concentrated;Described transferring equipment concentrates bag
Include at least two transferring equipment.
Determine auxiliary transferring equipment time, described transmitting terminal 100 specifically for, with described transmitting terminal phase
Transferring equipment even is concentrated, and selects a transferring equipment being in normal condition, is defined as in described auxiliary
Turn equipment;Wherein, described transferring equipment is concentrated and is included at least two transferring equipment.
Described auxiliary transferring equipment is used for, and resolves data message, determines and sends described data message to connecing
The object transmission link of receiving end;The situation of communication linkage is all set up with described transmitting terminal and receiving terminal determining
Under, by described object transmission link, described data message is sent to described receiving terminal;Receive described reception
The response message that end sends;Described response message is sent to described transmitting terminal.
Described receiving terminal 300 is used for, and receives data message;Response message is generated according to described data message;
According to described object transmission link, described response message is sent to described auxiliary transferring equipment.
Additionally, described transmitting terminal 100 is additionally operable to, judging that described target transferring equipment is in normal condition
In the case of, send described data message to described target transferring equipment.
Described target transferring equipment is used for, and resolves data message, determines and sends described data message to connecing
The object transmission link of receiving end;The situation of communication linkage is all set up with described transmitting terminal and receiving terminal determining
Under, by described object transmission link, described data message is sent to described receiving terminal;Receive described reception
The response message that end sends;Described response message is sent to described transmitting terminal.
Described receiving terminal 300 is used for, and receives data message;Response message is generated according to described data message;
According to described object transmission link, described response message is sent to described auxiliary transferring equipment.
The execution process of native system is described in detail in Fig. 2, Fig. 3, Fig. 4 and Fig. 5, refers to
State the specific descriptions in step, do not repeat them here.
As shown in Figure 6, this application provides a kind of scene embodiment one of data transmission system, wherein,
Described transmitting terminal 100 is client, and described receiving terminal 300 is server, and described transferring equipment integrates as net
Guan Chi, wherein, a transferring equipment is a transferring equipment.In the case of this, auxiliary transferring equipment is corresponding
Ancillary gateway, target transferring equipment correspondence intended gateway.
As it is shown in fig. 7, this application provides a kind of scene embodiment two of data transmission system, wherein,
Described transmitting terminal is client gateways, and described receiving terminal is server, and described transferring equipment integrates as gateway pond,
Wherein, a transferring equipment is a gateway.Now, data transmission system also includes: with described client
End gateway connected client.In the case of this, assist transferring equipment correspondence ancillary gateway, target transferring equipment
Corresponding intended gateway.
On the basis of the scene embodiment shown in Fig. 6, the field of the data transmission method that the application provides again
Scape embodiment one.The purpose of this enforcement is after determining auxiliary transferring equipment (ancillary gateway), real
Existing data transmission between client and server.
As shown in Figure 8, for using the first data transmission link to pass between a client and a server
Defeated process.The present embodiment specifically includes step S801~S805:
Step S801: client judges whether ancillary gateway is in normal condition.If being in normal condition,
Then enter step S802.
Step S802: client sends data message to ancillary gateway.
Step S803: ancillary gateway sends information to server.
Step S804: server sends the response message corresponding with data message to ancillary gateway.
Step S805: response message is sent to client by ancillary gateway.
The detailed process of the present embodiment is described in detail in Fig. 2, Fig. 3, Fig. 4 and Fig. 5, at this
Only illustrating the transmission direction of data, particular content repeats no more.
On the basis of the scene embodiment shown in Fig. 6, the field of the data transmission method that the application provides again
Scape embodiment two.The purpose of this enforcement is after determining auxiliary transferring equipment (ancillary gateway), real
Existing data transmission between client and server.
As it is shown in figure 9, for using the second data transmission link to pass between a client and a server
Defeated process.The present embodiment specifically includes step S901~S907:
Step S901: client judges whether ancillary gateway is in normal condition.If being in normal condition,
Then enter step S902.
Step S902: client sends data message to ancillary gateway;Wherein data message can comprise
The address information of intended gateway.
Step S903: ancillary gateway sends data message to intended gateway.
Step S904: intended gateway sends data message to server.
Step S905: server sends the response message corresponding with data message to intended gateway.
Step S906: intended gateway sends response message to ancillary gateway.
Step S907: ancillary gateway sends response message to client.
The detailed process of the present embodiment is described in detail in Fig. 2, Fig. 3, Fig. 4 and Fig. 5, at this
Only illustrating the transmission direction of data, particular content repeats no more.
On the basis of the scene embodiment shown in Fig. 7, the field of the data transmission method that the application provides again
Scape embodiment three.The purpose of this enforcement is after determining auxiliary transferring equipment (ancillary gateway), real
Existing data transmission between client and server.
As shown in Figure 10, for using the first data transmission link to pass between a client and a server
Defeated process.The present embodiment specifically includes step S1001~S1007:
Step S1001: client sends data message to client gateways.
Step S1002: client gateways judges whether ancillary gateway is in normal condition.If being in normal shape
State, then enter step S1003.
Step S1003: client gateways sends data message to ancillary gateway;
Step S1004: ancillary gateway sends information to server.
Step S1005: server sends the response message corresponding with data message to ancillary gateway.
Step S1006: response message is sent to client gateways by ancillary gateway.
Step S1007: response message is sent to client by client gateways.
The detailed process of this step is described in detail in Fig. 2, Fig. 3, Fig. 4 and Fig. 5, at this
Representing data transfer direction, particular content repeats no more.
On the basis of the scene embodiment shown in Fig. 7, the field of the data transmission method that the application provides again
Scape embodiment four.The purpose of this enforcement is after determining auxiliary transferring equipment (ancillary gateway), real
Existing data transmission between client and server.
As shown in figure 11, for using the second data transmission link to pass between a client and a server
Defeated process.The present embodiment specifically includes step S1101~S1109:
Step S1101: client sends data message to client gateways.
Step S1102: client gateways judges whether ancillary gateway is in normal condition.If being in normal shape
State, then enter step S1102.
Step S1103: client gateways sends data message to ancillary gateway;Wherein, can in data message
To comprise the address information of intended gateway.
Step S1104: ancillary gateway sends data message to intended gateway.
Step S1105: intended gateway sends data message to server.
Step S1106: server sends the response message corresponding with data message to intended gateway.
Step S1107: response message is sent to ancillary gateway by intended gateway.
Step S1108: response message is sent to client gateways by ancillary gateway.
Step S1109: response message is sent to client by client gateways.
The detailed process of this step is described in detail in Fig. 2, Fig. 3, Fig. 4 and Fig. 5, at this only
Illustrating the transmission direction of data, particular content repeats no more.
By the process of Fig. 8, Fig. 9, Figure 10 or Figure 11, it is possible to achieve between client and server
Data are transmitted.Each gateway can a corresponding data transmission channel, between client and server
After one data transmission channel occurs extremely, other data transmission channel can be selected, such that it is able to continue
Maintain data transmission between transmitting terminal and receiving terminal, and then solve the transmitting terminal caused because of network linking fault
And the problem that cannot be carried out data transmission between receiving terminal.
If the function described in embodiment method realizes and as independent product using the form of SFU software functional unit
When product are sold or use, a calculating device-readable can be stored in and take in storage medium.Based on such
Understanding, part or the part of this technical scheme that prior art is contributed by the embodiment of the present application are permissible
Embodying with the form of software product, this software product is stored in a storage medium, including some
Instruction with so that one calculating equipment (can be personal computer, receiving terminal, mobile computing device or
Person's network equipment etc.) perform all or part of step of method described in each embodiment of the application.And it is aforementioned
Storage medium include: USB flash disk, portable hard drive, read only memory (ROM, Read-Only Memory),
Random access memory (RAM, Random Access Memory), magnetic disc or CD etc. are various can
To store the medium of program code.
In this specification, each embodiment uses the mode gone forward one by one to describe, and each embodiment stresses
Being the difference with other embodiments, between each embodiment, same or similar part sees mutually.
Described above to the disclosed embodiments, makes professional and technical personnel in the field be capable of or uses
The application.Multiple amendment to these embodiments will be aobvious and easy for those skilled in the art
See, generic principles defined herein can in the case of without departing from spirit herein or scope,
Realize in other embodiments.Therefore, the application is not intended to be limited to the embodiments shown herein,
And it is to fit to the widest scope consistent with principles disclosed herein and features of novelty.
Claims (20)
1. a data transmission method, it is characterised in that be applied to the transmitting terminal of data transmission system, bag
Include:
Transmission in response to data message instructs, it is judged that whether target transferring equipment is in normal condition;Its
In, described target transferring equipment is the transferring equipment that the transferring equipment being connected with transmitting terminal is concentrated;Institute
State transferring equipment concentration and include at least two transferring equipment;
If described target transferring equipment is in abnormality, concentrates in described transferring equipment and determine in auxiliary
After turning equipment, described data message is sent to described auxiliary transferring equipment;
Receive the response message that described auxiliary transferring equipment sends;Wherein, described response message is receiving terminal
That generate according to described data message and according to target transmission link send to the letter of described auxiliary transferring equipment
Breath;Described object transmission link is to count determined by after described auxiliary transferring equipment resolves described data message
According to transmission link.
2. the method for claim 1, it is characterised in that described transferring equipment concentrate determine auxiliary
Help transferring equipment process, including:
Concentrate in described transferring equipment, select a transferring equipment being in normal condition, be defined as described
Auxiliary transferring equipment.
3. the method for claim 1, it is characterised in that also include:
In the case of judging that described target transferring equipment is in normal condition, send described data message extremely
Described target transferring equipment;Receive the response message that described target transferring equipment sends;Wherein, described sound
Answering information is that described receiving terminal generates according to described data message, and sends to described target transferring equipment
Information.
4. the method as described in any one of claim 1-3, it is characterised in that described data message includes:
The address date of described transmitting terminal, target data and the address date of described receiving terminal;Or,
The address date of described transmitting terminal, target data, the address date of described receiving terminal and described target
The address date of transferring equipment.
5. the method as described in any one of claim 1-3, it is characterised in that at described data transmission system
System is client, the gateway pond being connected with described client and the feelings of server being connected with described gateway pond
Under condition, the corresponding described client of the most described transmitting terminal, the corresponding described server of described receiving terminal, described in
Turn the corresponding described gateway pond of equipment collection, wherein, a corresponding gateway of transferring equipment.
6. the method as described in any one of claim 1-3, it is characterised in that at described data transmission system
System is client, the client gateways that is connected with client, the gateway pond being connected with described client gateways
And in the case of the server being connected with described gateway pond, the corresponding described client gateways of the most described transmitting terminal,
The corresponding described server of described receiving terminal, described transferring equipment Ji Duiyingwangguanchi, wherein, a transfer
The corresponding gateway of equipment.
7. method as claimed in claim 6, it is characterised in that also include:
Before sending instruction in response to data, receive the data message that described client sends;
After receiving the response message that described auxiliary transferring equipment sends, described response message is sent extremely
Described client.
8. a data transmission method, it is characterised in that the auxiliary transfer being applied to data transmission system sets
Standby, described method includes:
Resolve data message, determine and data message is sent the object transmission link to receiving terminal;Wherein,
Described data message is, transmitting terminal instructs in response to the transmission of data message, is judging and described transmission
The target transferring equipment that end connects is in abnormality, and determines auxiliary transferring equipment in transferring equipment concentration
After, send to described auxiliary transferring equipment;Described target transferring equipment is the transfer being connected with transmitting terminal
The transferring equipment that equipment is concentrated;Wherein, described transferring equipment is concentrated and is included at least two transferring equipment;
In the case of determining and all setting up communication linkage with described transmitting terminal and receiving terminal, pass by described target
Described data message is sent to described receiving terminal by transmission link;
Receive the response message that described receiving terminal sends;Wherein, described response message is that described receiving terminal depends on
Generate according to described data message, and send to described auxiliary transferring equipment by described object transmission link
Information;
Described response message is sent to described transmitting terminal.
9. method as claimed in claim 8, it is characterised in that described parsing data message, determine by
Described data message sends the object transmission link to receiving terminal, including:
Resolve described data message, determine the data content that data message is comprised;
In the case of described data content comprises the address date of described target transferring equipment, by described auxiliary
Help transferring equipment, described target transferring equipment and the data transmission channel constructed by described receiving terminal, determine
For described object transmission link;
In the case of described data content does not comprises the address date of target transferring equipment, by described auxiliary
Data transmission channel constructed by transferring equipment and described receiving terminal, is defined as described object transmission link.
10. method as claimed in claim 8, it is characterised in that described data message includes: described
The address date of transmitting terminal, target data and the address date of described receiving terminal;The most described determine with send out
Sending end and receiving terminal all set up the process of communication linkage, including:
Verify whether to store the address date of address date and the described receiving terminal comprising described transmitting terminal
Communication linkage;
The most then by that stored, comprise address date and the address of described receiving terminal of described transmitting terminal
The communication linkage of data, the communication linkage being defined as between transmitting terminal and receiving terminal;
If it is not, then set up the communication linkage between transmitting terminal and receiving terminal.
11. methods as claimed in claim 10, it is characterised in that described foundation and transmitting terminal and reception
Communication linkage between end, including:
The address date of described transmitting terminal and the request of the address date of described auxiliary transferring equipment will be included
Instruction, sends to described receiving terminal;
Receive the communication linkage that described receiving terminal sends;Wherein, described communication linkage is described receiving terminal wound
Build and send to described auxiliary transferring equipment, and, described communication linkage includes described transmitting terminal
Address date, the address date of described receiving terminal and the address date of described auxiliary transferring equipment;
Store described communication linkage.
12. 1 kinds of data transmission methods, it is characterised in that be applied to the receiving terminal of data transmission system,
Described method includes:
Receive data message;Wherein, described data message is, it is true that auxiliary transferring equipment resolves data message
Fixed described data message sends the object transmission link to receiving terminal, and, determining and transmitting terminal and reception
In the case of end all sets up communication linkage, send to described receiving terminal by described object transmission link;Institute
The described data message stated in auxiliary transferring equipment is, transmitting terminal instructs in response to the transmission of data message,
Judging that the target transferring equipment being connected with described transmitting terminal is in abnormality, and setting in described transfer
After standby concentration determines auxiliary transferring equipment, send to described auxiliary transferring equipment;Wherein, described target
Transferring equipment is the transferring equipment that the transferring equipment being connected with transmitting terminal is concentrated;Wherein, described transfer
Equipment is concentrated and is included at least two transferring equipment;
Response message is generated according to described data message;
According to described object transmission link, described response message is sent to described auxiliary transferring equipment;Wherein,
Described response message is the information that described auxiliary transferring equipment is forwarded to described transmitting terminal.
13. methods as claimed in claim 12, it is characterised in that also include:
Receive the address date including described transmitting terminal and described auxiliary that described auxiliary transferring equipment sends
The request instruction of the address date of transferring equipment;
Create described transmitting terminal, communication chain between described auxiliary transferring equipment and the three of described receiving terminal
Connect;
By the communication linkage between described transmitting terminal, described auxiliary transferring equipment and described receiving terminal three,
Send to described auxiliary transferring equipment.
14. methods as claimed in claim 13, it is characterised in that creating described transmitting terminal, described
Before communication linkage between auxiliary transferring equipment and the three of described receiving terminal, also include:
In the case of the existing communication linkage corresponding with the address date of described transmitting terminal, it may be judged whether only
Support the corresponding communication linkage of a transmitting terminal;
If only supporting the corresponding communication linkage of a transmitting terminal, then delete existing and described transmitting terminal
The communication linkage that address date is corresponding.
15. 1 kinds of data transmission systems, it is characterised in that including: transmitting terminal, transferring equipment collection and connecing
Receiving end;Wherein, described transferring equipment is concentrated and is comprised at least two transferring equipment, and, each transferring equipment
One end be connected with described transmitting terminal, the other end is connected with described receiving terminal;
Described transmitting terminal is used for, and the transmission in response to data message instructs, it is judged that whether target transferring equipment
It is in normal condition;If described target transferring equipment is in abnormality, concentrate in described transferring equipment
After determining auxiliary transferring equipment, described data message is sent to the auxiliary transfer being connected with described transmitting terminal
Equipment;And receive the response message that described auxiliary transferring equipment sends;Wherein, described target transferring equipment
The transferring equipment concentrated for the transferring equipment being connected with transmitting terminal;Described transferring equipment concentrate include to
Few two transferring equipment;
Described auxiliary transferring equipment is used for, and resolves data message, determines and sends described data message to connecing
The object transmission link of receiving end;The situation of communication linkage is all set up with described transmitting terminal and receiving terminal determining
Under, by described object transmission link, described data message is sent to described receiving terminal;Receive described reception
The response message that end sends;Described response message is sent to described transmitting terminal;
Described receiving terminal is used for, and receives data message;Response message is generated according to described data message;Press
According to described object transmission link, described response message is sent to described auxiliary transferring equipment.
16. systems as claimed in claim 15, it is characterised in that described transmitting terminal specifically for,
Concentrate with described transferring equipment, select a transferring equipment being in normal condition, be defined as described auxiliary
Transferring equipment;Wherein, described transferring equipment is concentrated and is included at least two transferring equipment.
17. systems as claimed in claim 14, it is characterised in that
Described transmitting terminal is additionally operable to, in the case of judging that described target transferring equipment is in normal condition,
Send described data message to described target transferring equipment;
Described target transfer set auxiliary for, described data message is sent to described receiving terminal;And receive
The response message that described receiving terminal sends;
Described receiving terminal is used for, and receives data message, generates response message according to described data message;And
Described response message is sent to described target transferring equipment.
18. systems as described in claim 15-17, it is characterised in that
Described transmitting terminal correspondence client, described receiving terminal corresponding server, described transferring equipment collection is corresponding
Gateway pond, wherein, a corresponding gateway of transferring equipment.
19. systems as described in claim 15-17, it is characterised in that described transmitting terminal is client net
Close, described receiving terminal corresponding server, described transferring equipment Ji Duiyingwangguanchi, wherein, a transfer
The corresponding gateway of equipment.
20. systems as claimed in claim 19, it is characterised in that also include: with described client net
Close connected client;
Described client gateways is additionally operable to, and before sending instruction in response to data, receives described client
The data message sent;After receiving the response message that described auxiliary transferring equipment sends, by described sound
Information is answered to send to described client.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510386300.2A CN106330525A (en) | 2015-06-30 | 2015-06-30 | Data transmission method and system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510386300.2A CN106330525A (en) | 2015-06-30 | 2015-06-30 | Data transmission method and system |
Publications (1)
Publication Number | Publication Date |
---|---|
CN106330525A true CN106330525A (en) | 2017-01-11 |
Family
ID=57728054
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510386300.2A Pending CN106330525A (en) | 2015-06-30 | 2015-06-30 | Data transmission method and system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106330525A (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107635254A (en) * | 2017-09-22 | 2018-01-26 | 新华三技术有限公司 | A kind of data transmission method and device |
CN110392423A (en) * | 2019-06-28 | 2019-10-29 | 西安万像电子科技有限公司 | Data transmission method, system and equipment |
CN111669322A (en) * | 2017-07-20 | 2020-09-15 | 深圳市盛路物联通讯技术有限公司 | Relay bridging method and gateway |
Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101022348A (en) * | 2007-02-07 | 2007-08-22 | 华为技术有限公司 | Method, system and equipment for realizing on-line charge metering |
CN101489245A (en) * | 2008-12-31 | 2009-07-22 | 华为技术有限公司 | Network disaster tolerance method, terminal and call session control function entity |
CN102197692A (en) * | 2008-10-28 | 2011-09-21 | 艾可慕株式会社 | Relay system, relay device and synchronization method |
WO2012141835A2 (en) * | 2011-04-13 | 2012-10-18 | Siemens Energy, Inc. | Method and system for programming and implementing automated fault isolation and restoration using sequential logic |
CN103052115A (en) * | 2011-10-17 | 2013-04-17 | 中国移动通信集团公司 | Data transmission method, mobile terminal, relay aggregator and related system |
CN103067956A (en) * | 2013-01-22 | 2013-04-24 | 迈普通信技术股份有限公司 | Internet Protocol Security (IPSec) tunnel backing up and switching method and equipment in 3rd generation telecommunication (3G) network |
CN103634224A (en) * | 2012-08-22 | 2014-03-12 | 深圳市腾讯计算机系统有限公司 | Method and system for transmitting data in network |
CN104202791A (en) * | 2014-09-03 | 2014-12-10 | 创业软件股份有限公司 | Method for selecting relay node during community health care sign data wireless transmission |
-
2015
- 2015-06-30 CN CN201510386300.2A patent/CN106330525A/en active Pending
Patent Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101022348A (en) * | 2007-02-07 | 2007-08-22 | 华为技术有限公司 | Method, system and equipment for realizing on-line charge metering |
CN102197692A (en) * | 2008-10-28 | 2011-09-21 | 艾可慕株式会社 | Relay system, relay device and synchronization method |
CN101489245A (en) * | 2008-12-31 | 2009-07-22 | 华为技术有限公司 | Network disaster tolerance method, terminal and call session control function entity |
WO2012141835A2 (en) * | 2011-04-13 | 2012-10-18 | Siemens Energy, Inc. | Method and system for programming and implementing automated fault isolation and restoration using sequential logic |
CN103052115A (en) * | 2011-10-17 | 2013-04-17 | 中国移动通信集团公司 | Data transmission method, mobile terminal, relay aggregator and related system |
CN103634224A (en) * | 2012-08-22 | 2014-03-12 | 深圳市腾讯计算机系统有限公司 | Method and system for transmitting data in network |
CN103067956A (en) * | 2013-01-22 | 2013-04-24 | 迈普通信技术股份有限公司 | Internet Protocol Security (IPSec) tunnel backing up and switching method and equipment in 3rd generation telecommunication (3G) network |
CN104202791A (en) * | 2014-09-03 | 2014-12-10 | 创业软件股份有限公司 | Method for selecting relay node during community health care sign data wireless transmission |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111669322A (en) * | 2017-07-20 | 2020-09-15 | 深圳市盛路物联通讯技术有限公司 | Relay bridging method and gateway |
CN111669322B (en) * | 2017-07-20 | 2022-04-22 | 深圳市盛路物联通讯技术有限公司 | Relay bridging method and gateway |
CN107635254A (en) * | 2017-09-22 | 2018-01-26 | 新华三技术有限公司 | A kind of data transmission method and device |
CN110392423A (en) * | 2019-06-28 | 2019-10-29 | 西安万像电子科技有限公司 | Data transmission method, system and equipment |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US8819698B2 (en) | Cross-platform web-based native device feature access | |
CN101582833B (en) | Method and device for processing spoofed IP data packet | |
US10491628B2 (en) | Attack observation apparatus and attack observation method | |
US20170163478A1 (en) | Method,electronic device and system for updating client configuration in key-value pair database | |
CN105915650B (en) | Load-balancing method and device | |
US20150237027A1 (en) | Apparatus, method and system for context-aware security control in cloud environment | |
CN103931162B (en) | The method and the network equipment of processing business | |
CN106790221A (en) | A kind of safe ipsec protocol encryption method of internet protocol and the network equipment | |
US20180159902A1 (en) | Access to data on a remote device | |
CN107666473A (en) | The method and controller of a kind of attack detecting | |
CN106330525A (en) | Data transmission method and system | |
US20180048491A1 (en) | Overlay Switch | |
CN107682470A (en) | The method and device of public network IP availability in a kind of detection nat address pool | |
CN110365657A (en) | Remote assistance method, device and readable storage medium storing program for executing | |
CN105978859A (en) | Message processing method and message processing device | |
CN104981275A (en) | Generic peer messaging between media platforms | |
CN112152880A (en) | Link health detection method and device | |
CN105681265A (en) | Unilateral transmission control protocol acceleration method and device | |
CN115225349A (en) | Honeypot flow processing method and device, electronic equipment and storage medium | |
US9154519B1 (en) | System and method for antivirus checking of objects from a plurality of virtual machines | |
CN111225038B (en) | Server access method and device | |
CN107046546A (en) | A kind of network safety control method and device | |
CN103856489A (en) | Achieving method and device for preventing replay attack | |
CN108259416A (en) | Detect the method and relevant device of malicious web pages | |
CN105610639A (en) | Total log grabbing method and device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20170111 |
|
RJ01 | Rejection of invention patent application after publication |