CN106254238B - A kind of data transmission method, Centralized Controller and communication device - Google Patents

A kind of data transmission method, Centralized Controller and communication device Download PDF

Info

Publication number
CN106254238B
CN106254238B CN201610871797.1A CN201610871797A CN106254238B CN 106254238 B CN106254238 B CN 106254238B CN 201610871797 A CN201610871797 A CN 201610871797A CN 106254238 B CN106254238 B CN 106254238B
Authority
CN
China
Prior art keywords
communication device
data packet
data
transmission path
path
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.)
Expired - Fee Related
Application number
CN201610871797.1A
Other languages
Chinese (zh)
Other versions
CN106254238A (en
Inventor
胡汉强
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Individual
Original Assignee
Individual
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Individual filed Critical Individual
Priority to CN201610871797.1A priority Critical patent/CN106254238B/en
Publication of CN106254238A publication Critical patent/CN106254238A/en
Priority to PCT/CN2017/096657 priority patent/WO2018095075A1/en
Application granted granted Critical
Publication of CN106254238B publication Critical patent/CN106254238B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/24Multipath

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

Embodiment of the present invention discloses a kind of method of data transmission, includes: RX path building request;It is requested according to the path construction, constructs between the communication device and other end communication device at least the first, second two quick transmission paths;At least the first, second two quick transmission paths are sent to the communication device and other end communication device.The present invention passes through building at least the first, second two quick transmission paths, described first, second liang quick transmission path is added in the first data packet and the second data packet for carrying identical content by communication device and other end communication device respectively, accordingly even when the loss of data that some quick transmission path is destroyed or transmitted in transmission process, the data that can also be come by other quick transmission paths are handled, it is retransmitted without communication device, this ensure that the correctness and real-time of data transmission.

Description

A kind of data transmission method, Centralized Controller and communication device
Technical field
Embodiment of the present invention is related to the communications field, more particularly to a kind of data transmission method, Centralized Controller and leads to T unit.
Background technique
Software defined network (Software Defined Network, SDN) is a kind of new network wound of Emulex network New architecture, is a kind of implementation of network virtualization, and core technology thought is by by network equipment control plane and data surface It separates, to realize the flexible control of network flow, network is made to become more intelligent as pipeline.Current SDN net Network carries out all IP data packets by Centralized Controller router-level topology is concentrated to be selected by forwarding surface equipment according to Centralized Controller again The path selected is forwarded until IP data packet is transferred to destination IP data packet.Communication device and other end communication device Between transmission process in be that single IP packet is transmitted, if data packet is interfered and will lead to data in transmission process Inaccuracy is unfavorable for the transmission of data.
Summary of the invention
Embodiment of the present invention is mainly solving the technical problems that provide a kind of data transmission method, Centralized Controller and logical T unit several quick transmission paths and transmits identical data by building, communication device according to the data packet received it It is middle to reach earliest and correctly transmission data are handled, this ensure that data not will cause loss in transmission process Or it is disturbed and damages.
In order to solve the above technical problems, the technical solution that embodiment of the present invention uses is: providing a kind of data biography Defeated method, comprising: RX path building request, wherein path construction request carries communication device and other end communication device Mark;It is requested according to path construction, constructs between communication device and other end communication device at least the first, second two quickly Transmission path;At least the first, second two quick transmission paths are sent to communication device and other end communication device, so that communication When carrying out data transmission between device and other end communication device, first, second liang of quick transmission path is added to takes respectively In the first data packet and the second data packet with identical content, and make the forwarding surface equipment in net according to the first data packet and the Quick transmission path entrained by two data packets is forwarded.
Wherein, the first quick transmission path and the second quick transmission path be except communication device and other end communication device it The outer completely different path of other nodes.
In order to solve the above technical problems, another technical solution that embodiment of the present invention uses is: providing a kind of data The method of transmission, comprising: communication device receives at least the first, second two quick transmission paths, and the first, second two quickly pass Defeated path is communication device to the path of other end communication device;When communication device sends number to be passed to other end communication device According to when, communication device generates the first data packet and the second data packet according to data to be transferred, wherein the first data packet and the second number Identical data to be transferred is carried according to packet;First quick transmission path is added in the first data packet, and, quickly by second Transmission path is added to the second data packet;It sends respectively and carries the first data packet of the first quick transmission path and carry Second data packet of the second quick transmission path, so that the forwarding surface equipment in net is according to the first quick transmission path forwarding first Data packet, and the second data packet is forwarded according to the second quick transmission path.
Wherein, communication device generates the first data packet and the second data packet step includes: duplication data to be transferred, generates to be passed The copy of data;Data to be transferred is packaged into the first data packet, the copy of data is packaged into the second data packet.
In order to solve the above technical problems, another technical solution that embodiment of the present invention uses is: providing a kind of data The method of transmission, comprising: communication device receives the data packet reached earliest in the first data packet and the second data packet, wherein the One data packet is by the first quick transmission path, and the second data packet is by the second quick transmission path first Data packet and the second data packet carry identical data to be transferred;Communication device judges in the first data packet and the second data packet earliest Whether the data packet of arrival is correct data packet;If correct, the data packet reached earliest is parsed and obtains data Content;Abandon the data packet received the latest among the first data packet and the second data packet.
Wherein, data transmission method further include: if the data packet reached earliest is incorrect, abandon the number received earliest Data error signal is sent according to Bao Bingxiang Centralized Controller and other end communication device;Judge the first data packet and the second data packet In the latest received data packet whether be correct data packet;Received data packet the latest is parsed and obtained if correct Data content;If incorrect, abandon received data packet the latest and send number to Centralized Controller and other end communication device According to error signal.
In order to solve the above technical problems, embodiment of the present invention uses a kind of Centralized Controller, comprising: receiving module is used It constructs and requests in RX path, wherein path construction request carries the mark of communication device and other end communication device;Construct mould Block constructs between communication device and other end communication device at least the first, second two quickly for requesting according to path construction Transmission path;Sending module, for sending at least the first, second two quickly transmission to communication device and other end communication device Path, when so as to carry out data transmission between communication device and other end communication device, respectively by first, second liang of quickly transmission Path is added in the first data packet and the second data packet for carrying identical content, and makes the forwarding surface equipment in net according to the Quick transmission path entrained by one data packet and the second data packet is forwarded.
In order to solve the above technical problems, embodiment of the present invention uses a kind of communication device, comprising: receiving module is used for Communication device receives at least the first, second two quick transmission paths, the first, second two quickly transmission path be communication dress It sets to the path of other end communication device;Generation module, for sending data to be transferred to other end communication device when communication device When, communication device generates the first data packet and the second data packet, wherein the first data packet and the second data according to data to be transferred Packet carries identical data to be transferred;Adding module, for the first quick transmission path to be added in the first data packet, with And the second quick transmission path is added to the second data packet;Sending module carries the first quickly transmission for sending respectively First data packet in path and the second data packet for carrying the second quick transmission path, so that the forwarding surface equipment root in net The first data packet is forwarded according to the first quick transmission path, and the second data packet is forwarded according to the second quick transmission path.
Wherein, generation module includes: copied cells, for replicating data to be transferred, generates the copy of data to be transferred;Encapsulation is single The copy of data is packaged into the second data packet for data to be transferred to be packaged into the first data packet by member.
In order to solve the above technical problems, embodiment of the present invention also uses a kind of communication device, comprising: receiving module is used The data packet reached earliest in the first data packet and the second data packet is received in communication device, wherein first data packet is By the first quick transmission path, second data packet is by the second quick transmission path, first number Identical data to be transferred is carried according to packet and the second data packet;First judgment module, for communication device judge the first data packet with Whether the data packet reached earliest in the second data packet is correct data packet;First parsing module, if being used for the first data packet It is correct with the data packet that is reached earliest in the second data packet, then the data packet reached earliest is parsed and is obtained in data Hold;First discard module, for abandoning the data packet received the latest among the first data packet and the second data packet.
Wherein, communication device further include: the second discard module abandons if the data packet for reaching earliest is incorrect The data packet that receives earliest simultaneously sends data error signal to Centralized Controller and other end communication device;Second judges mould Block, for judging whether received data packet is correct data packet the latest in the first data packet and the second data packet;Second solution Module is analysed, for being parsed if correct to the data packet received the latest and obtaining data content;Third discard module is used If abandoning received data packet the latest in incorrect and sending error in data letter to Centralized Controller and other end communication device Number.
The beneficial effect of embodiment of the present invention is: being in contrast to the prior art, the present invention passes through building at least the One, the second two quick transmission paths respectively will be described when carrying out data transmission between communication device and other end communication device First, second liang of quick transmission path is added in the first data packet and the second data packet for carrying identical content, so i.e. The loss of data for making some quick transmission path be destroyed or be transmitted in transmission process can also quickly be transmitted by other The data that path transmission comes are handled, without communication device retransmit, this ensure that data transmission correctness and Real-time.
Detailed description of the invention
Fig. 1 is a kind of schematic diagram of the transmission path embodiment of data transmission method of the present invention;
Fig. 2 is a kind of flow chart of the first embodiment of data transmission method of the present invention;
Fig. 3 is a kind of flow chart of the second embodiment of data transmission method of the present invention;
Fig. 4 is a kind of refined flow chart of the second embodiment of data transmission method of the present invention;
Fig. 5 is a kind of flow chart of the third embodiment of data transmission method of the present invention;
Fig. 6 is a kind of flow chart of 4th embodiment of data transmission method of the present invention;
Fig. 7 is a kind of schematic diagram of the first embodiment of Centralized Controller of the present invention;
Fig. 8 is the schematic diagram for executing the second embodiment of Centralized Controller of data transmission method of the present invention;
Fig. 9 is a kind of schematic diagram of the first embodiment of communication device of the present invention;
Figure 10 is the schematic diagram for executing the first embodiment of communication device of data transmission of the present invention;
Figure 11 is a kind of schematic diagram of the second embodiment of communication device of the present invention;
Figure 12 is the schematic diagram for executing the second embodiment of communication device of data transmission of the present invention.
Specific embodiment
Refering to fig. 1, data transmission system includes: Centralized Controller 101, local terminal communication device 102, opposite end communication device 104 and several forwarding surface equipment 103.Build path request is established to the transmission of opposite end communication device 104 in local terminal communication device 102 When, path construction request first reaches Centralized Controller 101, and Centralized Controller 101 identifies that this is that quickly transmission road is established in request The request of diameter is requested according to the path construction, is constructed between the local terminal communication device 102 and opposite end communication device 104 extremely Few the first, second two quick transmission paths are issued pair it should be noted that path construction request can be local terminal communication device The IP packet of communication device is held, there is the mark of local terminal communication device and opposite end communication device in IP packet, Centralized Controller receives IP Bao Hou constructs quick transmission path by the mark of identification local terminal communication device and opposite end communication device.
It should be noted that the first quick transmission path and the second quick transmission path can be Centralized Controller to local terminal Communication device 102 send slave local terminal communication device 102 to opposite end communication device 104 two different transmission paths;It can also Be two from opposite end communication device 104 to local terminal communication device 102 being sent to opposite end T unit 104 of Centralized Controller not Same transmission path;Two different transmission paths from local terminal communication device 102 to opposite end communication device 104 and logical from opposite end Two different transmission paths of T unit 104 to local terminal communication device 102, which can correspond to, to overlap each other identical or separates It is different.In addition, the forwarding surface equipment that forwarding surface equipment 103 can be physics is also possible to virtual forwarding surface equipment, for example, empty Quasi- switch device, and two or more virtual forwarding surface equipment 103 shown in figure can be in the forwarding of the same physics In the equipment of face.
Centralized Controller 101 is building the first, second two quickly after transmission path, Centralized Controller 101 to this End communication device 102 and opposite end communication device 104 send at least the first, second two quick transmission paths.Local terminal communication Device 102 receives described at least the first, second two quickly after transmission path, if local terminal communication device 102 is needed to opposite end When communication device 104 sends data, local terminal communication device 102 by the first, second two quickly transmission path to other end sheet End communication device 104 transmits identical content, and opposite end communication device 104 is by the first, second two in quickly transmission path receives Hold, accordingly even when some quick transmission path is destroyed in transmission process or loss of data, it can also be by other quickly The data that transmission path comes are handled, and are retransmitted without local terminal communication device, this ensure that data transmission Reliability and real-time.Certainly, in other alternate embodiments, Centralized Controller 101 is building the first, second two quickly After transmission path, only into local terminal communication device 102 and opposite end communication device 104 one send this first, second two it is fast Fast transmission path, when receiving the communication device of this first, second two quick transmission paths by the first, second two quickly When transmission path sends data packet to the communication device of opposite end, the communication device of opposite end is according to first carried in data packet, the 2 two quick transmission paths reply data packet.
Specifically, opposite end communication device 104 is receiving first from described the first, second two quickly transmission path respectively When data packet and the second data packet, the data packet reached earliest among the first data packet and the second data packet is sentenced first It is disconnected, judge whether to be correct data packet, this data packet is handled if correct, and abandons the first data packet and second The data packet received the latest among data packet;If the data packet reached earliest is incorrect, this data packet is abandoned and to the collection Middle controller and the other end communication device send data error signal, to connecing the latest in the first data packet and the second data packet The data packet of receipts is judged.By judging received data, opposite end communication device 104 can be made to avoid reprocessing, Simultaneously at first receive and correctly data packet handle, ensure that data transmission real-time.
It should be noted that local terminal communication device 102 or opposite end communication device 104 are a kind of data transmission of following present invention Communication device in the second embodiment and a kind of first embodiment of communication device of the present invention of method;Opposite end communication device 104 or local terminal communication device 102 be a kind of following data transmission methods of the present invention third embodiment and the present invention it is a kind of logical Communication device in the second embodiment of T unit.
In the present embodiment, by constructing at least the first, second two quick transmission paths, local terminal communication device and opposite ends When carrying out data transmission between communication device, described first, second liang quick transmission path is added to respectively carry it is identical In the first data packet and the second data packet of content, accordingly even when some quick transmission path is destroyed in transmission process Or the loss of data of transmission, the data that can also be come by other quick transmission paths are handled, and are communicated without local terminal Device retransmits, this ensure that the correctness and real-time of data transmission.
Referring to Fig. 2, Fig. 2 is a kind of flow chart of the first embodiment of data transmission method of the present invention, data transmission Method includes:
Step 201: RX path building request, wherein the path construction request carries communication device and the other end is logical The mark of T unit;
Communication device and other end communication device are the both ends communicated, and the mark of communication device is the mark of communication device Note, the mark of other end communication device are the labels of other end communication device, and communication device and other end communication device Mark all has uniqueness.Label can be ID or IP address.It is worth noting that path construction request can be communication dress The IP packet for issuing other end communication device is set, there is the mark of communication device and other end communication device, Centralized Controller in IP packet After receiving IP packet, quick transmission path is constructed by the mark of identification communication device and other end communication device.
Step 202: being requested, constructed between the communication device and other end communication device at least according to the path construction The first, second two quick transmission paths;
There are several forwarding surface equipment therefore to transmit road end to end between communication device and other end communication device Diameter be it is not unique, other forwarding surfaces are set other than communication device and other end communication device in each quick transmission path It is standby completely not identical, certainly, in other alternate embodiments, in addition to communication device and the other end are logical in each quick transmission path Other forwarding surface equipment except T unit be can part it is identical.Because the concentration routing table in Centralized Controller describes The routing iinformation of each forwarding surface, so constructing quick transmission path is constructed according to the concentration routing table in Centralized Controller, It should be understood that if communication device and other end communication device not at the same domain, when constructing quick transmission path, It is to be constructed according to two concentration routing tables of two Centralized Controllers in domain where communication device and other end communication device, The quick transmission path of middle building be also it is a plurality of and different, when communication device and other end communication device are in the same domain When, what the concentration routing table of the directly Centralized Controller on the domain constructed.
Further, the quick transmission path of Centralized Controller building is a plurality of, in the present embodiment with first, second For quick transmission path just for the sake of the implementation of explanation data transmission, actually quick transmission path is to construct many Item, in addition, the first quick transmission path and the second quick transmission path can be that Centralized Controller sends to communication device from Communication device to other end communication device two different transmission paths;It is also possible to Centralized Controller to other end T unit Send slave other end communication device to communication device two different transmission paths;Dress is communicated from communication device to the other end Two different transmission paths setting and can be right to the two of communication device different transmission paths from other end communication device Should overlap each other it is identical can also separate difference.
Step 203: sending described at least the first, second two to the communication device and other end communication device and quickly pass Defeated path, it is fast by described first, second liang respectively when so as to carry out data transmission between communication device and other end communication device Fast transmission path is added in the first data packet and the second data packet for carrying identical content, and makes the forwarding surface equipment in net It is forwarded according to quick transmission path entrained by the first data packet and the second data packet;
The first quick transmission path and the second quick transmission path be except communication device and other end communication device it The outer completely different path of other nodes, so the first quick transmission path and the second quick transmission path are mutually solely Vertical, therefore, the first data packet and the second data packet are mutually unaffected.
It is worth noting that the executing subject for the data transmission method that step 201-203 is provided in the embodiment of the present invention can To be Centralized Controller.
In embodiments of the present invention, by constructing at least the first, second two quick transmission paths, communication device and another When carrying out data transmission between the communication device of end, described first, second liang quick transmission path is added to carries phase respectively With in the first data packet and the second data packet of content, accordingly even when some quick transmission path is in transmission process by broken Bad or transmission loss of data, the data that can also be come by other quick transmission paths are handled, without communicating dress Retransmission is set, this ensure that the correctness of data transmission.
Referring to Fig. 3, Fig. 3 is a kind of flow chart of the second embodiment of data transmission method of the present invention, data transmission Method includes:
Step 301: communication device receives at least the first, second two quick transmission paths, and described the first, second two fast Fast transmission path is communication device to the path of other end communication device;
Communication device can be the source for initiating path construction request, is also possible to opposite end corresponding with source, works as communication When device is source, communication device to Centralized Controller transmitting path construct request, Centralized Controller according to concentrate routing table with And the mark of the communication device and other end communication device in path construction request carries out constructing quick transmission path, communication device Receive at least the first, second two quick transmission paths that Centralized Controller is sent;When communication device is opposite end, communication device Directly receive at least the first, second two quick transmission paths that Centralized Controller is sent;Or communication device receives source and leads to T unit sends over data packet, according to the first, second two carried in data packet quickly transmission path extract described first, The second two quickly transmission path and are replied data packet.Certainly, in other alternate embodiments, path construction request can also be by What the other equipment except source and opposite end were initiated.Or path construction requests the IP packet transmitted between source and opposite end, Quick transmission path is constructed according to the IP packet transmitted between source and opposite end.
Step 302: when the communication device to other end communication device send data to be transferred when, the communication device according to Data to be transferred generates the first data packet and the second data packet, wherein first data packet and the second data packet carry identical Data to be transferred;
It will not obscure after the first data packet and the second data packet to receive other end communication device, it can be to each Data to be transferred is packaged number in a data packet, conveniently receives and is screened, such as: data to be transferred inside the first data packet Number be A, if the data to be transferred that the second data packet carries is identical, the volume of data to be transferred copy inside the second data packet Number be A1.
Step 303: the described first quick transmission path is added in first data packet, and, by described second Quick transmission path is added to second data packet;
Forwarding surface equipment between communication device and other end communication device in net is according to the first data packet and the second data Quick transmission path in packet is forwarded.
Step 304: sending respectively and carry the first data packet of the first quick transmission path and carry second quickly Second data packet of transmission path, so that the forwarding surface equipment in net forwards first data according to the first quick transmission path Packet, and second data packet is forwarded according to the second quick transmission path;
Since quick transmission path is a plurality of, and identical data are transmitted, other end communication device receives data When, it can go out according to reaching at first and being that correct data are handled so that transmitting data in some transmission path When existing mistake, can directly it be handled using the transmission data in another transmission path, it is very convenient.Specifically, identical number According to processing mode referring to Fig. 4, step 302 includes:
Step 3021: replicating the data to be transferred, generate the copy of the data to be transferred;
Data before transmitting the data, are first replicated more parts, and can be identified to each part of data by communication device, So that other end communication device will not be obscured, and such as: the number of the data may be configured as A, and the number of copy can be A1, A2 Etc., certainly, these numbers will not have any impact to data content, only be merely to have play a part of to distinguish.
Step 3022: the data to be transferred being packaged into the first data packet, the copy of the data is packaged into the second number According to packet;
According to preset encapsulation algorithm, the first data packet and the second data packet are packaged, encapsulation algorithm is logarithm It is less identical according to encapsulation format, it will not influence content entrained by the first data packet and the second data packet.
Further, in transmission process, the forwarding surface equipment between communication device and other end communication device in net can Directly be forwarded according to the quick transmission path in data packet, without net in forwarding surface equipment when forwarding the data packet to Centralized Controller request forwarding routing, significantly reduces the load of Centralized Controller, it is worth noting that: because data are duplications More parts, quick transmission path be also construct it is a plurality of, so the data packet of encapsulation be also it is multiple, herein only with first The saying of data packet and the second data packet is illustrated, and is not intended to be limited in any.
It is worth noting that the executing subject for the data transmission method that step 301-304 is provided in the embodiment of the present invention can To be communication device.
In embodiments of the present invention, communication device is fast by least the first, second two by data packet and data packet copy Fast transmission path is transmitted, accordingly even when some data packet is destroyed in transmission process, other end communication device Other data packets can be handled, ensure that the correctness of data transmission.
Referring to Fig. 5, Fig. 5 is a kind of flow chart of the third embodiment of data transmission method of the present invention, data transmission Method includes:
Step 401: communication device receives the data packet reached earliest in the first data packet and the second data packet, wherein institute Stating the first data packet is by the first quick transmission path, and second data packet is passed by the second quick transmission path Defeated, first data packet and the second data packet carry identical data to be transferred;
It is fast by least the first, second two respectively when other end communication device sends data packet to the communication device The identical data packet of fast transmission path content, in brief, a data packet pass through at least the first, second two quickly respectively Transmission path is sent twice to the communication device, but the communication device is from least the first, second two quick transmission roads Diameter, which receives data, can sequencing.
Step 402: the communication device judges the data packet reached earliest in first data packet and the second data packet It whether is correct data packet;
Verify the first data packet and the whether correct mode of the second data packet can there are many, such as: in the first data packet Check code is set in the second data packet, it is whether correct by verification the first data packet of code check and the second data packet, alternatively, logical It crosses and judges whether the first data packet and the second data packet include that head and the tail package identification judges the first data packet and the second data packet is It is no correct.
Step 403: if correct, the data packet reached earliest being parsed and obtains data content;
The data packet reached earliest is carried out using without waiting for other data packet copies, when saving many in this way Between, it ensure that the real-time of data transmission, such as: car terminals connect multiple adjacent wireless base stations 5g, therefore from car networking There are a plurality of transmission paths to car terminals for platform, send multiple ip packet copies along mulitpath, purpose terminal is with most fast speed Degree receives correct ip packet, especially can guarantee highly reliable data transmission in the cell switching of high speed.
Step 404: abandoning the data packet received the latest among first data packet and the second data packet;
Further, if received data packet is incorrect earliest, the data packet that there is damage in data packet is represented, is asked Refering to Fig. 6, data transmission method further include:
Step 405: if the data packet reached earliest is incorrect, abandoning the data packet received earliest;
Step 406: judging whether received data packet is correct the latest in first data packet and the second data packet Data packet;The number that the first data packet and the second data packet receive the latest is just received when the data packet reached earliest is incorrect According to packet.
Step 407: if correct, the data packet received the latest being parsed and obtains data content;
Step 408: if incorrect, abandoning the data packet received the latest and to the Centralized Controller and described another One end communication device sends data error signal;
If received data packet is all incorrect the latest, illustrate that all quick transmission paths during forwarding are all deposited In exception, after sending packet error signal to the Centralized Controller and the other end communication device, Centralized Controller Then forwarding surface equipment is checked, checks that abnormal forwarding surface later rebuilds quick transmission path, new is fast No longer comprising abnormal forward node in fast transmission path, Centralized Controller again sends out new quick transmission path after building It send to other end communication device and communication device.
It is worth noting that the executing subject for the data transmission method that step 401-408 is provided in the embodiment of the present invention can To be communication device.
In embodiments of the present invention, it is fast by least the first, second two to receive other end communication device for communication device The first data packet and the second data packet that fast transmission path sends over are received by judging the correctness of data packet to earliest And correctly data packet is handled, this ensure that the correctness and real-time of data.
Referring to Fig. 7, Fig. 7 is a kind of schematic diagram of the first embodiment of Centralized Controller of the present invention, Centralized Controller 500 include: receiving module 501, building module 502 and sending module 503.Receiving module 501 is asked for RX path building It asks, wherein the path construction request carries the mark of communication device and other end communication device;Module 502 is constructed, root is used for It is requested according to the path construction, constructs between the communication device and other end communication device at least the first, second two quickly Transmission path;Sending module 503, for sending described at least first, second to the communication device and other end communication device Two quick transmission paths, when so as to carry out data transmission between communication device and other end communication device, respectively by described One, second liang of quick transmission path is added in the first data packet and the second data packet for carrying identical content, and is made in net Forwarding surface equipment quick transmission path according to entrained by the first data packet and the second data packet be forwarded.
In embodiments of the present invention, by constructing several quick transmission paths, communication device is by data packet and data packet Copy is transmitted by these quick transmission paths, so that other end communication device among the data packet received according to reaching most It is early and correctly transmission data are handled, accordingly even when some data packet is destroyed in transmission process, it can also Other data packets are handled, are retransmitted without communication device, this ensure that the correctness and real-time of data transmission.
Referring to Fig. 8, Fig. 8 is the signal for executing the first embodiment of Centralized Controller of data transmission method of the present invention Figure, Centralized Controller 800 includes: processor 801, memory 802, communication adapter 803 and bus.Processor 801, memory 802, communication adapter 803 is connected with bus.In Fig. 8 for being connected by bus.
Memory 802 is used as a kind of non-volatile computer readable storage medium storing program for executing, can be used for storing non-volatile software journey Sequence, non-volatile computer executable program and module, the processing method as the data in the embodiment of the present application are transmitted are corresponding Program instruction/module (receiving module 501, building module 502 and sending module 503).Processor 801 is stored in by operation Non-volatile software program, instruction and module in memory 802, thereby executing the various function application and number of server According to processing, the i.e. processing method of realization above method embodiment data transmission.Memory 802 may include storing program area and deposit Store up data field, wherein storing program area can application program required for storage program area, at least one function;Storing data Area, which can be stored, uses created data etc. according to the processing unit of data transmission.In addition, memory 802 may include high speed Random access memory, can also include nonvolatile memory, a for example, at least disk memory, flush memory device or Other non-volatile solid state memory parts.In some embodiments, it includes long-range relative to processor 801 that memory 802 is optional The memory of setting, these remote memories can be by being connected to the network the processing unit transmitted to data.The reality of above-mentioned network Example includes but is not limited to internet, intranet, local area network, mobile radio communication and combinations thereof.
One or more of modules are stored in the memory 802, when by one or more of processors When 801 execution, the processing method of the data transmission in above-mentioned any means embodiment is executed.
In embodiments of the present invention, by constructing several quick transmission paths, communication device is by data packet and data packet Copy is transmitted by these quick transmission paths, so that other end communication device among the data packet received according to reaching most It is early and correctly transmission data are handled, accordingly even when some data packet is destroyed in transmission process, it can also Other data packets are handled, are retransmitted without communication device, this ensure that the correctness and real-time of data transmission.
Referring to Fig. 9, Fig. 9 is a kind of schematic diagram of the first embodiment of communication device of the present invention, communication device 600 is wrapped It includes: receiving module 601, generation module 602, adding module 603 and sending module 604.Receiving module 601 is used for communication device Receive at least the first, second two quick transmission paths, described the first, second two quickly transmission path be communication device extremely The path of other end communication device;Generation module 602, for sending number to be passed to other end communication device when the communication device According to when, the communication device generates the first data packet and the second data packet, wherein first data packet according to data to be transferred Identical data to be transferred is carried with the second data packet;Adding module 603, for the described first quick transmission path to be added to In first data packet, and, the described second quick transmission path is added to second data packet;Sending module 604, For sending carry the first data packet of the first quick transmission path and carry the second quick transmission path respectively Two data packets, so that forwarding surface equipment in net forwards first data packet according to the first quick transmission path, and according to Second quick transmission path forwards second data packet.
Specifically, generation module 602 includes: copied cells 6021 and encapsulation unit 6022.Copied cells 6021, for multiple The data to be transferred is made, the copy of the data to be transferred is generated;Encapsulation unit 6022, for the data to be transferred to be packaged into The copy of the data is packaged into the second data packet by one data packet.
In embodiments of the present invention, communication device is fast by least the first, second two by data packet and data packet copy Fast transmission path is transmitted, accordingly even when some data packet is destroyed in transmission process, other end communication device Other data packets can be handled, ensure that the correctness and real-time of data transmission.
Referring to Fig. 10, Figure 10 executes the schematic diagram of the first embodiment of the communication device of data transmission of the present invention, lead to T unit 900 includes: processor 901, memory 902, communication adapter 903 and bus.Processor 901, leads to memory 902 Letter adapter 903 is connected with bus.In Figure 10 for being connected by bus.
Memory 902 is used as a kind of non-volatile computer readable storage medium storing program for executing, can be used for storing non-volatile software journey Sequence, non-volatile computer executable program and module, the processing method as the data in the embodiment of the present application are transmitted are corresponding Program instruction/module (receiving module 601, generation module 602, adding module 603 and sending module 604).Processor 901 is logical Non-volatile software program, instruction and module that operation is stored in memory 902 are crossed, thereby executing the various function of server It can apply and data processing, i.e. the processing method of realization above method embodiment data transmission.Memory 902 may include depositing Store up program area and storage data area, wherein storing program area can apply journey required for storage program area, at least one function Sequence;Storage data area, which can be stored, uses created data etc. according to the processing unit of data transmission.In addition, memory 902 May include high-speed random access memory, can also include nonvolatile memory, a for example, at least disk memory, Flush memory device or other non-volatile solid state memory parts.In some embodiments, it includes relative to place that memory 902 is optional The remotely located memory of device 901 is managed, these remote memories can be by being connected to the network the processing unit transmitted to data.On The example for stating network includes but is not limited to internet, intranet, local area network, mobile radio communication and combinations thereof.
One or more of modules are stored in the memory 902, when by one or more of processors When 901 execution, the processing method of the data transmission in above-mentioned any means embodiment is executed.
In embodiments of the present invention, communication device is fast by least the first, second two by data packet and data packet copy Fast transmission path is transmitted, accordingly even when some data packet is destroyed in transmission process, other end communication device Other data packets can be handled, ensure that the correctness and real-time of data transmission.
Figure 11 is please referred to, Figure 11 is a kind of schematic diagram of the second embodiment of communication device of the present invention, communication device 700 It include: receiving module 701, first judgment module 702, the first parsing module 703, the first discard module 704, the second discard module 705, the second judgment module 706, the second parsing module 707 and third discard module 708.Receiving module 701 is used for communication device Receive the data packet reached earliest in the first data packet and the second data packet, wherein first data packet is fast by first Fast transmission path, second data packet are by the second quick transmission path, first data packet and second Data packet carries identical data to be transferred;First judgment module 702, for the communication device judge first data packet with Whether the data packet reached earliest in the second data packet is correct data packet;First parsing module 703, if being used for described first The data packet reached earliest in data packet and the second data packet is correct, then is parsed to the data packet reached earliest and obtain number According to content;First discard module 704, for abandoning the data received the latest among first data packet and the second data packet Packet;Second discard module 705 abandons the data packet received earliest if the data packet for reaching earliest is incorrect And data error signal is sent to the Centralized Controller and the other end communication device;Second judgment module 706, for sentencing Whether received data packet is correct data packet the latest in first data packet and the second data packet of breaking;Second parsing module 707, for being parsed if correct to the data packet received the latest and obtaining data content;Third discard module 708, If abandoning the data packet received the latest and to the Centralized Controller and the other end communication device for incorrect Send data error signal.
In embodiments of the present invention, it is fast by least the first, second two to receive other end communication device for communication device The first data packet and the second data packet that fast transmission path sends over are received by judging the correctness of data packet to earliest And correctly data packet is handled, this ensure that the correctness and real-time of data.
Figure 12 is please referred to, Figure 12 executes the schematic diagram of the second embodiment of the communication device of data transmission of the present invention, leads to T unit 1000 includes: processor 1001, memory 1002, communication adapter 1003 and bus.Processor 1001, memory 1002, communication adapter 1003 is connected with bus.In Figure 12 for being connected by bus.
Memory 1002 is used as a kind of non-volatile computer readable storage medium storing program for executing, can be used for storing non-volatile software journey Sequence, non-volatile computer executable program and module, the processing method as the data in the embodiment of the present application are transmitted are corresponding Program instruction/module (receiving module 701, first judgment module 702, the first parsing module 703, the first discard module 704, Second discard module 705, the second judgment module 706, the second parsing module 707 and third discard module 708).Processor 1001 By running the non-volatile software program, instruction and the module that are stored in memory 1002, thereby executing each of server Kind functional application and data processing, the i.e. processing method of realization above method embodiment data transmission.Memory 1002 can be with Including storing program area and storage data area, wherein storing program area can be required for storage program area, at least one function Application program;Storage data area, which can be stored, uses created data etc. according to the processing unit of data transmission.In addition, storage Device 1002 may include high-speed random access memory, can also include nonvolatile memory, and a for example, at least disk is deposited Memory device, flush memory device or other non-volatile solid state memory parts.In some embodiments, memory 1002 is optional includes The memory remotely located relative to processor 1001, these remote memories can be by being connected to the network the place transmitted to data Manage device.The example of above-mentioned network includes but is not limited to internet, intranet, local area network, mobile radio communication and combinations thereof.
One or more of modules are stored in the memory 1002, when by one or more of processors When 1001 execution, the processing method of the data transmission in above-mentioned any means embodiment is executed.
In embodiments of the present invention, it is fast by least the first, second two to receive other end communication device for communication device The first data packet and the second data packet that fast transmission path sends over are received by judging the correctness of data packet to earliest And correctly data packet is handled, this ensure that the correctness and real-time of data.
Mode the above is only the implementation of the present invention is not intended to limit the scope of the invention, all to utilize this Equivalent structure or equivalent flow shift made by description of the invention and accompanying drawing content, it is relevant to be applied directly or indirectly in other Technical field is included within the scope of the present invention.

Claims (7)

1. a kind of method of data transmission characterized by comprising
RX path building request, wherein path construction request carries one end communication device and other end communication device Mark;
It is requested, is constructed at least first between one end communication device and other end communication device, the according to the path construction 2 two quick transmission paths;
At least the first, second two quick transmission paths are sent to one end communication device and other end communication device, It is fast by described the first, second two respectively when so as to carry out data transmission between one end communication device and other end communication device Fast transmission path is added in the first data packet and the second data packet for carrying identical content, and makes the forwarding surface equipment in net It is forwarded according to quick transmission path entrained by the first data packet and the second data packet.
2. the method for data transmission according to claim 1, which is characterized in that
The first quick transmission path and the second quick transmission path are except one end communication device and the other end are logical The completely different path of other nodes except T unit.
3. a kind of method of data transmission characterized by comprising
Communication device receives at least the first, second two quick transmission paths that Centralized Controller is sent, and described first, second liang The quick transmission path of item is the communication device to the path of other end communication device;
When the communication device sends data to be transferred to other end communication device, the communication device is raw according to data to be transferred At the first data packet and the second data packet, wherein first data packet and the second data packet carry identical data to be transferred;
Described first quick transmission path is added in first data packet, and, by the described second quick transmission path It is added to second data packet;
The first data packet for carrying the first quick transmission path and carry the second quick transmission path the is sent respectively Two data packets, so that forwarding surface equipment in net forwards first data packet according to the first quick transmission path, and according to Second quick transmission path forwards second data packet.
4. the method for data transmission according to claim 3, which is characterized in that the communication device generates the first data packet Include: with the second data packet step
The data to be transferred is replicated, the copy of the data to be transferred is generated;
The data to be transferred is packaged into the first data packet, the copy of the data to be transferred is packaged into the second data packet.
5. a kind of Centralized Controller characterized by comprising
Receiving module, for RX path building request, wherein the path construction request carries communication device and the other end is logical The mark of T unit;
Module is constructed, for being requested according to the path construction, is constructed between the communication device and other end communication device extremely Few the first, second two quick transmission paths;
Sending module, for sending described at least the first, second two quickly to the communication device and other end communication device Transmission path, when so as to carry out data transmission between communication device and other end communication device, respectively by described first, second liang The quick transmission path of item is added in the first data packet and the second data packet for carrying identical content, and makes the forwarding surface in net Equipment quick transmission path according to entrained by the first data packet and the second data packet is forwarded.
6. a kind of communication device characterized by comprising
Receiving module, for receiving at least the first, second two quick transmission paths of Centralized Controller transmission, described first, The second two quickly transmission path be communication device to the path of other end communication device;
Generation module is used for when the communication device sends data to be transferred to other end communication device, raw according to data to be transferred At the first data packet and the second data packet, wherein first data packet and the second data packet carry identical data to be transferred;
Adding module, for the described first quick transmission path to be added in first data packet, and, by described second Quick transmission path is added to second data packet;
Sending module, for send respectively carry the first data packet of the first quick transmission path and carry second quickly Second data packet of transmission path, so that the forwarding surface equipment in net forwards first data according to the first quick transmission path Packet, and second data packet is forwarded according to the second quick transmission path.
7. communication device according to claim 6, which is characterized in that the generation module includes:
Copied cells generate the copy of the data to be transferred for replicating the data to be transferred;
The copy of the data to be transferred is packaged into for the data to be transferred to be packaged into the first data packet by encapsulation unit Two data packets.
CN201610871797.1A 2016-09-29 2016-09-29 A kind of data transmission method, Centralized Controller and communication device Expired - Fee Related CN106254238B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201610871797.1A CN106254238B (en) 2016-09-29 2016-09-29 A kind of data transmission method, Centralized Controller and communication device
PCT/CN2017/096657 WO2018095075A1 (en) 2016-09-29 2017-08-09 Data transmission method, centralised controller, and communication device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610871797.1A CN106254238B (en) 2016-09-29 2016-09-29 A kind of data transmission method, Centralized Controller and communication device

Publications (2)

Publication Number Publication Date
CN106254238A CN106254238A (en) 2016-12-21
CN106254238B true CN106254238B (en) 2018-12-28

Family

ID=57611283

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610871797.1A Expired - Fee Related CN106254238B (en) 2016-09-29 2016-09-29 A kind of data transmission method, Centralized Controller and communication device

Country Status (2)

Country Link
CN (1) CN106254238B (en)
WO (1) WO2018095075A1 (en)

Families Citing this family (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2018024053A1 (en) * 2016-08-04 2018-02-08 胡汉强 Data transmission method, centralized controller, forwarding plane apparatus, and communication device
CN106254238B (en) * 2016-09-29 2018-12-28 胡汉强 A kind of data transmission method, Centralized Controller and communication device
CN110351024B (en) * 2018-04-04 2021-06-15 华为技术有限公司 Data transmission method and device
CN108809549B (en) * 2018-04-23 2021-08-10 维沃移动通信有限公司 Data transmission method and equipment
CN108965392B (en) * 2018-06-15 2021-07-27 武汉斑马快跑科技有限公司 Method, system and equipment for receiving server push data
CN110139078A (en) * 2019-05-28 2019-08-16 深圳市安赛通科技有限公司 More net isomery synergistic effect algorithms
CN110445882A (en) 2019-09-19 2019-11-12 腾讯科技(深圳)有限公司 Communication connecting method, device, computer equipment and storage medium
CN114222253A (en) * 2021-11-24 2022-03-22 杭州三汇软件有限公司 Network decision method and device for dual-network main operation terminal

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102118434A (en) * 2010-12-28 2011-07-06 华为技术有限公司 Data packet transmission method and device
CN104852847A (en) * 2015-04-07 2015-08-19 胡汉强 Data transmission method, control plane equipment and forwarding plane equipment

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8879384B2 (en) * 2009-09-14 2014-11-04 Alcatel Lucent Fast upstream source failure detection
US9930712B2 (en) * 2012-05-15 2018-03-27 Qualcomm Incorporated Limiting failure rate by serving through multiple channels
US9461923B2 (en) * 2013-12-06 2016-10-04 Algoblu Holdings Limited Performance-based routing in software-defined network (SDN)
CN105656814B (en) * 2016-02-03 2019-01-01 浪潮(北京)电子信息产业有限公司 A kind of SDN network repeater system and method
CN106254238B (en) * 2016-09-29 2018-12-28 胡汉强 A kind of data transmission method, Centralized Controller and communication device

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102118434A (en) * 2010-12-28 2011-07-06 华为技术有限公司 Data packet transmission method and device
CN104852847A (en) * 2015-04-07 2015-08-19 胡汉强 Data transmission method, control plane equipment and forwarding plane equipment

Also Published As

Publication number Publication date
CN106254238A (en) 2016-12-21
WO2018095075A1 (en) 2018-05-31

Similar Documents

Publication Publication Date Title
CN106254238B (en) A kind of data transmission method, Centralized Controller and communication device
JP5859669B2 (en) Packet ordering based on delivery route changes in communication networks
CN105191215B (en) The method and apparatus that data plane for bi-directional service chain learns
CN104378291B (en) Method and communication equipment for the information transmission for carrying out redundancy in industrial communication network
WO2019165775A1 (en) Local area network equipment searching method and searching system
US20210075711A1 (en) Cluster wide packet tracing
CN102119510A (en) A multi-path network
CN106603420B (en) It is a kind of in real time and failure tolerance network-on-chip router
CN106254242A (en) A kind of data transmission method, Centralized Controller, forwarding face equipment and local terminal communicator
US9614749B2 (en) Data processing system and method for changing a transmission table
CN107113198A (en) Ethernet interface module
CN103001868A (en) Method and device used for synchronous ARP (Address Resolution Protocol) list item of virtual router redundancy protocol backup set
WO2014000698A1 (en) Ip layer-based network topology identification method and device
JP2020017953A (en) Method for efficient retransmissions in multi-hop control networks
CN104866399B (en) UM-BUS bus run Failure Detection Controller and detection method
CN105871512B (en) A kind of data transmission method and device
US8854949B2 (en) Network relay device and network relay method
CN108965027A (en) A kind of CES service nondestructive transfer approach
CN110071860B (en) Robot communication method, robot communication system and robot
WO2015031120A1 (en) Wireless networking with flexibly-ordered relayers
CN109995678A (en) Message transmitting method and device
CN112312355B (en) Arrow-borne Ethernet communication method and communication system
CN103595629A (en) Rapid gateway switching method and device for hosts in IRDP (ICMP Router Discovery Protocol) network
CN114338265B (en) Program downloading system and method based on TTP/C bus
CN113291355B (en) Communication method and system for ultra-high speed train traction driving equipment

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20181228