CN106254238A - A kind of data transmission method, Centralized Controller and communicator - Google Patents

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

Info

Publication number
CN106254238A
CN106254238A CN201610871797.1A CN201610871797A CN106254238A CN 106254238 A CN106254238 A CN 106254238A CN 201610871797 A CN201610871797 A CN 201610871797A CN 106254238 A CN106254238 A CN 106254238A
Authority
CN
China
Prior art keywords
packet
communicator
data
path
transmission 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.)
Granted
Application number
CN201610871797.1A
Other languages
Chinese (zh)
Other versions
CN106254238B (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 the method for a kind of data transmission, including: RX path builds request;Ask according to described path construction, build at least first, second two quick transmission path between described communicator and other end communicator;To at least first, second two quick transmission path described in described communicator and the transmission of other end communicator.The present invention is by building at least first, second two quick transmission path, described first, second liang of quick transmission path is added to the first packet and the second packet carrying identical content by communicator and other end communicator respectively, accordingly even when some loss of data that quickly transmission path is destroyed in transmitting procedure or transmitted, also can be processed by the data that other quick transmission path come, resend without communicator, this ensure that correctness and real-time that data transmit.

Description

A kind of data transmission method, Centralized Controller and communicator
Technical field
Embodiment of the present invention relates to the communications field, particularly relates to a kind of data transmission method, Centralized Controller and leads to T unit.
Background technology
Software defined network (Software Defined Network, SDN), is Emulex network one new network wound New architecture, is a kind of implementation of network virtualization, and its core technology thought is by by network equipment chain of command and data surface Separate, it is achieved thereby that the flexible control of network traffics, make network become more intelligent as pipeline.Current SDN net All of IP packet is carried out concentrating router-level topology to be selected according to Centralized Controller by the face of forwarding equipment by network by Centralized Controller again IP packet is carried out forwarding until IP packet is transferred to destination by the path selected.Communicator and other end communicator Between transmitting procedure in be that single IP bag is transmitted, if packet is interfered and may result in data in transmitting procedure Inaccurate, it 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 lead to T unit, by building some quick transmission paths transmit identical data, communicator according to the packet received it Middle arrival the earliest and correct transmission data process, this ensure that data do not result in loss in transmitting procedure Or be disturbed and damage.
For solving above-mentioned technical problem, the technical scheme that embodiment of the present invention uses is: provide a kind of data to pass Defeated method, including: RX path builds request, and wherein, communicator and other end communicator are carried in path construction request Mark;Ask according to path construction, build between communicator and other end communicator at least first, second two quickly Transmission path;At least first, second two quick transmission path is sent to communicator and other end communicator, so that communication When carrying out data transmission between device and other end communicator, respectively first, second liang of quick transmission path is added to taking With in the first packet of identical content and the second packet, and make the forwarding face equipment in net according to the first packet and Quickly transmission path entrained by two packets forwards.
Wherein, first quickly quickly transmission path, transmission path and second be except communicator and other end communicator it The path that other node outer differs completely.
For solving above-mentioned technical problem, another technical scheme that embodiment of the present invention uses is: provide a kind of data The method of transmission, including: communicator receives at least first, second two quick transmission path, first, second two quick biographies Defeated path is communicator to the path of other end communicator;When communicator sends number to be passed to other end communicator According to time, communicator, according to data to be transferred, generates the first packet and the second packet, wherein, the first packet and the second number Identical data to be transferred is carried according to Bao Jun;Quickly transmit path to add first to the first packet, and, quick by second Transmission path is added to the second packet;Send respectively and carry first packet in the first quick transmission path and carry Second the second packet quickly transmitting path, so that the forwarding face equipment in Wang is according to the first quickly transmission path forwarding first Packet, and forward the second packet according to the second quick transmission path.
Wherein, communicator generates the first packet and the second packet step includes: replicates data to be transferred, generates to be passed The copy of data;Data to be transferred is packaged into the first packet, the copy of data is packaged into the second packet.
For solving above-mentioned technical problem, another technical scheme that embodiment of the present invention uses is: provide a kind of data The method of transmission, receives, including: communicator, the packet arrived the earliest in the first packet and the second packet, wherein, the One packet is by the first quick transmission path, and the second packet is by the second quick transmission path, first Packet and the second packet carry identical data to be transferred;Communicator judges in the first packet and the second packet the earliest Whether the packet arrived is correct packet;If correct, then the packet arrived the earliest resolved and obtain data Content;Abandon the packet received the latest among the first packet and the second packet.
Wherein, data transmission method also includes: if the packet arrived the earliest is incorrect, then abandon the number received the earliest Data error signal is sent according to Bao Bingxiang Centralized Controller and other end communicator;Judge the first packet and the second packet In the packet that receives the latest whether be correct packet;If correct, the packet received the latest is resolved and obtains Data content;If incorrect, then abandon the packet received the latest and send number to Centralized Controller and other end communicator According to rub-out signal.
For solving above-mentioned technical problem, embodiment of the present invention uses a kind of Centralized Controller, including: accept module, use Building request in RX path, wherein, communicator and the mark of other end communicator are carried in path construction request;Build mould Block, for asking according to path construction, builds between communicator and other end communicator at least first, second two quickly Transmission path;Sending module, for sending at least first, second two quick transmission to communicator and other end communicator Path, during so that carrying out data transmission between communicator and other end communicator, respectively by first, second liang of quick transmission Path is added in the first packet and the second packet carrying identical content, and makes forwarding face equipment in net according to the Quickly transmission path entrained by one packet and the second packet forwards.
For solving above-mentioned technical problem, embodiment of the present invention uses a kind of communicator, including: receiver module, it is used for Communicator receives at least first, second two quick transmission path, and first, second two quick transmission paths are communication dress Put the path to other end communicator;Generation module, for sending data to be transferred when communicator to other end communicator Time, communicator, according to data to be transferred, generates the first packet and the second packet, wherein, the first packet and the second data Bao Jun carries identical data to be transferred;Add module, add to the first packet for quickly transmitting path by first, with And, quickly transmit path by second and add to the second packet;Sending module, carries first for transmission respectively and quickly transmits First packet in path and carry the second the second packet quickly transmitting path, so that the forwarding face equipment root in Wang Quickly transmit path according to first and forward the first packet, and forward the second packet according to the second quick transmission path.
Wherein, generation module includes: copied cells, is used for replicating data to be transferred, generates the copy of data to be transferred;Encapsulation is single Unit, for data to be transferred is packaged into the first packet, is packaged into the second packet by the copy of data.
For solving above-mentioned technical problem, embodiment of the present invention also uses a kind of communicator, including: receiver module, use The packet arrived the earliest in communicator receives the first packet and the second packet, wherein, described first packet is By the first quick transmission path, described second packet is by the second quick transmission path, described first number Identical data to be transferred is carried according to bag and the second packet;First judge module, for communicator judge the first packet and Whether the packet reached the earliest in the second packet is correct packet;First parsing module, if for the first packet Correct with the packet arrived the earliest in the second packet, then the packet arrived the earliest is resolved and obtains in data Hold;First discard module, for abandoning the packet received the latest among the first packet and the second packet.
Wherein, communicator also includes: the second discard module, if the packet for arriving the earliest is incorrect, then abandons The packet that receives the earliest also sends data error signal to Centralized Controller and other end communicator;Second judges mould Block, for judging whether the packet received the latest in the first packet and the second packet is correct packet;Second solves Analysis module, if for correct, resolving the packet received the latest and obtain data content;3rd discard module, uses If in incorrect, then abandon the packet received the latest and send error in data letter to Centralized Controller and other end communicator Number.
Embodiment of the present invention provides the benefit that: be different from the situation of prior art, and the present invention is by building at least the One, the second two quick transmission paths, when carrying out data transmission between communicator and other end communicator, respectively by described First, second liang of quick transmission path is added to the first packet and the second packet carrying identical content, is so Make some loss of data that quickly transmission path is destroyed in transmitting procedure or transmitted, it is possible to quickly transmitted by other The data that path transmission comes process, it is not necessary to communicator resends, this ensure that correctness that data transmit and Real-time.
Accompanying drawing explanation
Fig. 1 is the schematic diagram of the transmission path embodiment of a kind of data transmission method of the present invention;
Fig. 2 is the flow chart of the first embodiment of a kind of data transmission method of the present invention;
Fig. 3 is the flow chart of the second embodiment of a kind of data transmission method of the present invention;
Fig. 4 is the refinement flow chart of the second embodiment of a kind of data transmission method of the present invention;
Fig. 5 is the flow chart of the 3rd embodiment of a kind of data transmission method of the present invention;
Fig. 6 is the flow chart of the 4th embodiment of a kind of data transmission method of the present invention;
Fig. 7 is the schematic diagram of the first embodiment of a kind of Centralized Controller of the present invention;
Fig. 8 is carried out the schematic diagram of the second embodiment of the Centralized Controller of data transmission method of the present invention;
Fig. 9 is the schematic diagram of the first embodiment of a kind of communicator of the present invention;
Figure 10 is carried out the schematic diagram of the first embodiment of the communicator of data of the present invention transmission;
Figure 11 is the schematic diagram of the second embodiment of a kind of communicator of the present invention;
Figure 12 is carried out the schematic diagram of the second embodiment of the communicator of data of the present invention transmission.
Detailed description of the invention
Refering to Fig. 1, data transmission system 100 includes: Centralized Controller 101, local terminal communicator 102, opposite end communication dress Put 104 and some forwarding faces equipment 103.Setting up build path at local terminal communicator 102 to opposite end communicator 104 transmission please When asking, path construction request first arrives Centralized Controller 101, and it is that quickly transmission is set up in request that Centralized Controller 101 identifies this The request in path, asks according to described path construction, builds between described local terminal communicator 102 and opposite end communicator 104 Article at least first, second two, quick transmission path, it should be noted that path construction request can be that local terminal communicator is issued The IP bag of opposite end communicator, has local terminal communicator and the mark of opposite end communicator in IP bag, Centralized Controller receives After IP bag, built by the mark identifying local terminal communicator and opposite end communicator and quickly transmit path.
It should be noted that, quickly transmission path, the first quick transmission path and second can be that Centralized Controller is to local terminal Two different transmission paths from local terminal communicator 102 to opposite end communicator 104 that communicator 102 sends;Also may be used Be Centralized Controller to opposite end T unit 104 send from two of opposite end communicator 104 to local terminal communicator 102 not Same transmission path;Lead to from two different transmission paths of local terminal communicator 102 to opposite end communicator 104 with from opposite end Two different transmission paths of T unit 104 to local terminal communicator 102 correspondence can overlap each other and identical can also separate Different.It addition, the face equipment that forwards that the face of forwarding equipment 103 can be physics can also be virtual forwarding face equipment, such as, empty Intend switch device, and the virtual face equipment 103 that forwards of two or more shown in figure can be in the forwarding of same physics In the equipment of face.
Centralized Controller 101 is after building first, second two quick transmission paths, and Centralized Controller 101 is to this End communicator 102 and opposite end communicator 104 send described at least first, second two quick transmission path.Local terminal communicates Device 102 receive described in behind at least first, second two quick transmission path, if local terminal communicator 102 needs to opposite end When communicator 104 sends data, local terminal communicator 102 is by first, second two quick transmission paths to the other end originally End communicator 104 transmits identical content, in opposite end communicator 104 is received by first, second two quick transmission paths Hold, accordingly even when some is quickly destroyed or loss of data in transmission path in transmitting procedure, it is possible to quick by other The data that transmission path comes process, it is not necessary to local terminal communicator resends, and this ensure that what data were transmitted Reliability and real-time.Certainly, in other alternate embodiment, Centralized Controller 101 is building first, second two quickly After transmission path, only in local terminal communicator 102 and opposite end communicator 104, a transmission these first, second two is fast Speed transmission path, when receiving the communicator in these first, second two quick transmission paths by first, second two quickly When the transmission path communicator to opposite end sends packet, the communicator of opposite end according to first carried in packet, the Article 2 two, packet is replied in quick transmission path.
Concrete, opposite end communicator 104 is receiving first respectively from described first, second two quick transmission paths When packet and the second packet, first the packet arrived the earliest among the first packet and the second packet is sentenced Disconnected, it may be judged whether to be correct packet, if correct, this packet processed, and abandons the first packet and second The packet received the latest among packet;Packet as arrived the earliest is incorrect, abandons this packet and to described collection Middle controller and described other end communicator send data error signal, connect the latest in the first packet and the second packet The packet received judges.By the data received are judged, opposite end communicator 104 can be made to avoid repeating to process, Reception and correct packet at first are processed, it is ensured that the real-time of data transmission simultaneously.
It should be noted that local terminal communicator 102 or opposite end communicator 104 are the transmission of following one data of the present invention Communicator in first embodiment of the second embodiment of method and a kind of communicator of the present invention;Opposite end communicator 104 or local terminal communicator 102 is the 3rd embodiment of a kind of data transmission method of the following present invention and one of the present invention is led to Communicator in second embodiment of T unit.
In the present embodiment, by building at least first, second two quick transmission path, local terminal communicator and opposite end When carrying out data transmission between communicator, respectively described first, second liang of quick transmission path is added identical to carrying In first packet of content and the second packet, accordingly even when some is quickly destroyed in transmission path in transmitting procedure Or the loss of data of transmission, it is possible to the data come by other quick transmission path are processed, it is not necessary to local terminal communication Device resends, and this ensure that correctness and real-time that data transmit.
Referring to the flow chart that Fig. 2, Fig. 2 are the first embodiments of a kind of data transmission method of the present invention, data are transmitted Method includes:
Step 201: RX path builds request, and wherein, communicator is carried in the request of described path construction and the other end leads to The mark of T unit;
Communicator is by the two ends communicated with other end communicator, and the mark of communicator is the mark of communicator Note, the mark of other end communicator is the labelling of other end communicator, and communicator and other end communicator Mark is respectively provided with uniqueness.Labelling can be ID or IP address.What deserves to be explained is, path construction request can be communication dress Put the IP bag issuing other end communicator, in IP bag, have communicator and the mark of other end communicator, Centralized Controller After receiving IP bag, built by the mark identifying communicator and other end communicator and quickly transmit path.
Step 202: ask according to described path construction, builds between described communicator and other end communicator at least Article first, second two, quick transmission path;
There are several to forward face equipment between communicator and other end communicator, therefore, transmit road end to end Footpath is not unique, and in each quickly transmission path, in addition to communicator and other end communicator, other forwarding faces set For differing completely, certainly, in other alternate embodiments, each quickly transmits in path except communicator and the other end lead to Other outside T unit forward face equipment can part identical.Because the concentration routing table in Centralized Controller describes Each forwards the routing iinformation in face, so building quickly transmission path is to build according to the concentration routing table in Centralized Controller, If it should be understood that communicator and other end communicator be not when same territory, when building quickly transmission path, It is that two concentration routing tables according to communicator and two Centralized Controllers in territory, other end communicator place build, its The quickly transmission path of middle structure is the most a plurality of and differs, when communicator and other end communicator are in same territory Time, directly the concentration routing table of the Centralized Controller on this territory builds.
Further, the quickly transmission path that Centralized Controller builds is a plurality of, in the present embodiment with first, second Quickly transmission path is only used to explain the implementation of data transmission, and the most quickly transmission path is to construct many Bar, it addition, first quickly quickly transmission path, transmission path and second can be Centralized Controller to communicator send from Communicator is to two different transmission paths of other end communicator;Can also be that Centralized Controller is to other end T unit Send from two of other end communicator to communicator different transmission paths;Fill from communicator to other end communication Two the different transmission paths transmitting paths different with two from other end communicator to communicator put can be right Should overlap each other and identical can also separate difference.
Step 203: at least first, second two quick biography described in described communicator and the transmission of other end communicator Defeated path during so that carrying out data transmission between communicator and other end communicator, respectively by described first, second liang fast Speed transmission path is added to the first packet and the second packet carrying identical content, and makes the forwarding face equipment in net Forward according to the quickly transmission path entrained by the first packet and the second packet;
Described first quickly quickly transmission path, transmission path and second be except communicator and other end communicator it The path that other node outer differs completely, so quickly transmission path, the described first quick transmission path and second is the most only Standing, therefore, the first packet and the second packet are the most unaffected.
What deserves to be explained is, in the embodiment of the present invention, the executive agent of the data transmission method that step 201-203 provides can To be Centralized Controller.
In embodiments of the present invention, by build at least first, second two quick transmission path, communicator and another When carrying out data transmission between end communicator, respectively described first, second liang of quick transmission path is added to carrying phase With in the first packet of content and the second packet, accordingly even when some quickly transmission path in transmitting procedure by broken Loss of data that is bad or that transmit, it is possible to the data come by other quick transmission path are processed, it is not necessary to communication dress Put and resend, this ensure that the correctness that data are transmitted.
Referring to the flow chart that Fig. 3, Fig. 3 are the second embodiments of a kind of data transmission method of the present invention, data are transmitted Method includes:
Step 301: communicator receives at least first, second two quick transmission path, described first, second two fast Speed transmission path is communicator to the path of other end communicator;
Communicator can be the source initiating path construction request, it is also possible to is the opposite end corresponding with source, works as communication When device is source, communicator to Centralized Controller send path construction request, Centralized Controller according to concentrate routing table with And communicator in path construction request and the mark of other end communicator carry out building and quickly transmit path, communicator Receive at least first, second two quick transmission path that Centralized Controller sends;When communicator is opposite end, communicator Directly receive at least first, second two quick transmission path that Centralized Controller sends;Or communicator receives source and leads to T unit sends over packet, according to described in the quick transmission path extraction of first, second two carried in packet first, Article the second two, quick transmission path reply packet.Certainly, in other alternate embodiments, path construction request can also be by Other equipment outside source and opposite end is initiated.Or, path construction request is the IP bag of transmission between source and opposite end, Quickly transmission path is to build according to the IP bag of transmission between source and opposite end.
Step 302: when described communicator to other end communicator send data to be transferred time, described communicator according to Data to be transferred, generates the first packet and the second packet, and wherein, described first packet and the second packet all carry identical Data to be transferred;
Will not obscure after the first packet and the second packet to make other end communicator receive, can be to respectively In individual packet, data to be transferred is packaged numbering, conveniently receives and screens, such as: data to be transferred inside the first packet Numbered A, if the data to be transferred that the second packet carries is identical, the volume of data to be transferred copy inside the second packet Number it is A1.
Step 303: quickly transmit path by described first and add to described first packet, and, by described second Quickly transmission path is added to described second packet;
Between communicator and other end communicator, the forwarding face equipment in net is according to the first packet and the second data Quickly transmission path in bag forwards.
Step 304: send respectively and carry first quick first packet in transmission path and to carry second quick Second packet in transmission path, so that the forwarding face equipment in Wang quickly transmits path according to first forwards described first data Bag, and described second packet of path forwarding is quickly transmitted according to second;
Owing to quickly transmission path is a plurality of, and transmitting identical data, other end communicator receives data Time, can process according to the data arrived at first and be correct so that in some transmission path, transmit data go out During existing mistake, the transmission data in another transmission path can be directly used to process, very convenient.Concrete, identical number According to processing mode refer to Fig. 4, step 302 includes:
Step 3021: replicate described data to be transferred, generates the copy of described data to be transferred;
Data before transmitting the data, are first replicated many parts by communicator, and can be identified each number evidence, So that other end communicator will not be obscured, such as: the numbering of described data may be configured as A, the numbering of copy can be A1, A2 Etc., certainly, data content will not be had any impact by these numberings, has only been merely the effect distinguished.
Step 3022: described data to be transferred is packaged into the first packet, is packaged into the second number by the copy of described data According to bag;
According to default encapsulation algorithm, being packaged the first packet and the second packet, encapsulation algorithm is logarithm The most identical according to encapsulation format, do not interfere with the content entrained by the first packet and the second packet.
Further, in transmitting procedure, between communicator and other end communicator, the forwarding face equipment in net can Directly forward according to the quickly transmission path in packet, it is not necessary in net forwarding face equipment when forwarding this packet all to Centralized Controller request forwards route, significantly reduces the load of Centralized Controller, what deserves to be explained is: because data are to replicate Many parts, quickly transmission path is also to construct a plurality of, so the packet of encapsulation is also multiple, is here with first The saying of packet and the second packet illustrates, and is not intended to be limited in any.
What deserves to be explained is, in the embodiment of the present invention, the executive agent of the data transmission method that step 301-304 provides can To be communicator.
In embodiments of the present invention, communicator is by fast by least first, second two to packet and packet copy Speed transmission path is transmitted, accordingly even when some packet is destroyed in transmitting procedure, other end communicator is also Other packets can be processed, it is ensured that the correctness of data transmission.
Referring to the flow chart of the 3rd embodiment that Fig. 5, Fig. 5 are a kind of data transmission method of the present invention, data are transmitted Method includes:
Step 401: communicator receives the packet arrived the earliest in the first packet and the second packet, wherein, institute Stating the first packet is by the first quick transmission path, and described second packet is quickly to transmit path to pass by second Defeated, described first packet and the second packet carry identical data to be transferred;
Other end communicator is when described communicator sends packet, fast by least first, second two respectively The packet that speed transmission path content is identical, in brief, a packet is respectively by least first, second two quickly Transmission path sends twice to described communicator, but described communicator is from least first, second two quick transmission road Footpath receives data can dividing of sequencing.
Step 402: described communicator judges the packet arrived the earliest in described first packet and the second packet Whether it is correct packet;
Verify the first packet and the most correct mode of the second packet can have multiple, such as: at the first packet Check code is set with in the second packet, verifies the first packet by check code and the second packet is the most correct, or, logical Cross and judge whether the first packet and the second packet comprise head and the tail package identification and judge that the first packet and the second packet are No correctly.
Step 403: if correct, then the packet arrived the earliest resolved and obtain data content;
The packet arrived the earliest is used, it is not necessary to wait other packet copies, which save many time Between, it is ensured that the real-time of data transmission, such as: car terminals connects multiple adjacent 5g wireless base stations, therefore networks from car There is many transmission paths to car terminals in platform, sends multiple ip bag copies along mulitpath, and purpose terminal is with the fastest speed Degree receives correct ip bag, particularly can guarantee that highly reliable data transmission when community switching at a high speed.
Step 404: abandon the packet received the latest among described first packet and the second packet;
Further, if the packet received the earliest is incorrect, then represent the packet that there is damage in packet, please Refering to Fig. 6, data transmission method also includes:
Step 405: if the packet arrived the earliest is incorrect, then abandon described in the packet that receives the earliest;
Step 406: judge whether the packet received the latest in described first packet and the second packet is correct Packet;The first packet is just received and number that the second packet receives the latest time the packet that arrives the earliest is incorrect According to bag.
Step 407: if correct, then the described packet received the latest resolved and obtains data content;
Step 408: if incorrect, then abandon described in the packet that receives the latest and to described Centralized Controller and described separately One end communicator sends data error signal;
If the packet received the latest is the most incorrect, then illustrate that all of quick transmission path is all deposited during forwarding In exception, after described Centralized Controller and described other end communicator send packet error signal, Centralized Controller Then checking the face of forwarding equipment, after checking abnormal forwarding face rebuilding quickly transmission path, new is fast Speed transmission no longer comprises abnormal forward node in path, and after building, new quickly transmission path is sent out by Centralized Controller again Deliver to other end communicator and communicator.
What deserves to be explained is, in the embodiment of the present invention, the executive agent of the data transmission method that step 401-408 provides can To be communicator.
In embodiments of the present invention, communicator receives other end communicator by least first, second two soon Speed transmits the first packet and the second packet that path sends over, by judging the correctness of packet, to receiving the earliest And correct packet processes, this ensure that correctness and the real-time of data.
Refer to the schematic diagram that Fig. 7, Fig. 7 are the first embodiments of a kind of Centralized Controller of the present invention, Centralized Controller 500 include: accept module 501, build module 502 and sending module 503.Accepting module 501, building for RX path please Asking, wherein, communicator and the mark of other end communicator are carried in the request of described path construction;Build module 502, for root Ask according to described path construction, build between described communicator and other end communicator at least first, second two quickly Transmission path;Sending module 503, for described in described communicator and the transmission of other end communicator at least first, second Article two, quick transmission path, during so that carrying out data transmission between communicator and other end communicator, respectively by described One, second liang of quick transmission path is added to the first packet and the second packet carrying identical content, and in making net The face equipment of forwarding forward according to the quickly transmission path entrained by the first packet and the second packet.
In embodiments of the present invention, by building some quick transmission paths, communicator is by packet and packet Copy is quickly transmitted, so that other end communicator arrives according among the packet received in transmission path by these Early and correct transmission data process, accordingly even when some packet is destroyed in transmitting procedure, it is possible to Other packets are processed, it is not necessary to communicator resends, this ensure that correctness and real-time that data transmit.
Refer to the signal of the first embodiment that Fig. 8, Fig. 8 are carried out the Centralized Controller of data transmission method of the present invention Figure, Centralized Controller 800 includes: processor 801, memorizer 803, communication adapter 802 and bus.Processor 801, memorizer 803, communication adapter 802 and bus connect.In Fig. 8 as a example by being connected by bus.
Memorizer 803, 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 transmitted such as the data in the embodiment of the present application is corresponding Programmed instruction/module (accept module 501, build module 502 and sending module 503).Processor 801 is stored in by operation Non-volatile software program, instruction and module in memorizer 803, thus perform the application of various functions and the number of server According to process, i.e. realize the processing method of said method embodiment data transmission.Memorizer 803 can include storing program area and depositing Storage data field, wherein, storage program area can store the application program required for operating system, at least one function;Storage data District can store the data etc. that the use of the processing means according to data transmission is created.Additionally, memorizer 903 can include at a high speed Random access memory, it is also possible to include nonvolatile memory, for example, at least one disk memory, flush memory device or Other non-volatile solid state memory parts.In certain embodiments, memorizer 803 optional include long-range relative to processor 801 The memorizer arranged, these remote memories can be connected to the processing means of data transmission by network.The reality of above-mentioned network Example includes but not limited to the Internet, intranet, LAN, mobile radio communication and combinations thereof.
One or more module stores is in described memorizer 803, when by one or more processor During 801 execution, perform the processing method that the data in above-mentioned any means embodiment are transmitted.
In embodiments of the present invention, by building some quick transmission paths, communicator is by packet and packet Copy is quickly transmitted, so that other end communicator arrives according among the packet received in transmission path by these Early and correct transmission data process, accordingly even when some packet is destroyed in transmitting procedure, it is possible to Other packets are processed, it is not necessary to communicator resends, this ensure that correctness and real-time that data transmit.
Referring to the schematic diagram that Fig. 9, Fig. 9 are the first embodiments of a kind of communicator of the present invention, communicator 600 wraps Include: receiver module 601, generation module 602, interpolation module 603 and sending module 604.Receiver module 601, for communicator Receiving at least first, second two quick transmission path, described first, second two quick transmission paths are communicator extremely The path of other end communicator;Generation module 602, for sending number to be passed when described communicator to other end communicator According to time, described communicator, according to data to be transferred, generates the first packet and the second packet, wherein, described first packet Identical data to be transferred is all carried with the second packet;Add module 603, add extremely for quickly transmitting path by described first In described first packet, and, quickly transmit path by described second and add to described second packet;Sending module 604, For send respectively carry first quickly first packet in transmission path and carry second quickly transmission path the Two packets, so that the forwarding face equipment in Wang is according to the first described first packet of quick transmission path forwarding, and according to Second quickly transmits path forwards described second packet.
Concrete, generation module 602 includes: copied cells 6021 and encapsulation unit 6022.Copied cells 6021, for multiple Make described data to be transferred, generate the copy of described data to be transferred;Encapsulation unit 6022, for being packaged into the by described data to be transferred One packet, is packaged into the second packet by the copy of described data.
In embodiments of the present invention, communicator is by fast by least first, second two to packet and packet copy Speed transmission path is transmitted, accordingly even when some packet is destroyed in transmitting procedure, other end communicator is also Other packets can be processed, it is ensured that the correctness of data transmission and real-time.
Refer to the schematic diagram that Figure 10, Figure 10 perform the first embodiment of the communicator that data of the present invention are transmitted, logical T unit 900 includes: processor 901, memorizer 903, communication adapter 902 and bus.Processor 901, memorizer 903, logical Letter adapter 902 and bus connect.In Figure 10 as a example by being connected by bus.
Memorizer 903, 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 transmitted such as the data in the embodiment of the present application is corresponding Programmed instruction/module (receiver module 601, generation module 602, add module 603 and sending module 604).Processor 901 leads to Cross and run non-volatile software program, instruction and the module being stored in memorizer 903, thus perform the various merits of server Can apply and data process, i.e. realize the processing method of said method embodiment data transmission.Memorizer 903 can include depositing Storage program area and storage data field, wherein, storage program area can store the application journey required for operating system, at least one function Sequence;Storage data field can store the data etc. that the use of the processing means according to data transmission is created.Additionally, memorizer 903 High-speed random access memory can be included, it is also possible to include nonvolatile memory, for example, at least one disk memory, Flush memory device or other non-volatile solid state memory parts.In certain embodiments, memorizer 903 is optional includes relative to place The memorizer that reason device 901 is remotely located, these remote memories can be connected to the processing means of data transmission by network.On The example stating network includes but not limited to the Internet, intranet, LAN, mobile radio communication and combinations thereof.
One or more module stores is in described memorizer 903, when by one or more processor During 901 execution, perform the processing method that the data in above-mentioned any means embodiment are transmitted.
In embodiments of the present invention, communicator is by fast by least first, second two to packet and packet copy Speed transmission path is transmitted, accordingly even when some packet is destroyed in transmitting procedure, other end communicator is also Other packets can be processed, it is ensured that the correctness of data transmission and real-time.
Refer to the schematic diagram that Figure 11, Figure 11 are the second embodiments of a kind of communicator of the present invention, communicator 700 Including: receiver module the 701, first judge module the 702, first parsing module the 703, first discard module the 704, second discard module 705, the second judge module the 706, second parsing module 707 and the 3rd discard module 708.Receiver module 701, for communicator Receiving the packet arrived the earliest in the first packet and the second packet, wherein, described first packet is fast by first Speed transmission path, described second packet is by the second quick transmission path, described first packet and second Packet carries identical data to be transferred;First judge module 702, for described communicator judge described first packet and Whether the packet arrived the earliest in the second packet is correct packet;First parsing module 703, if for described first The packet arrived the earliest in packet and the second packet is correct, then resolve the packet arrived the earliest and obtain number According to content;First discard module 704, for abandoning the data received the latest among described first packet and the second packet Bag;Second discard module 705, if incorrect for the packet that arrives the earliest, then abandon described in the packet that receives the earliest And send data error signal to described Centralized Controller and described other end communicator;Second judge module 706, is used for sentencing Whether the packet received the latest in disconnected described first packet and the second packet is correct packet;Second parsing module 707, if for correct, the described packet received the latest being resolved and obtains data content;3rd discard module 708, If for incorrect, then abandon described in the packet that receives the latest to described Centralized Controller and described other end communicator Send data error signal.
In embodiments of the present invention, communicator receives other end communicator by least first, second two soon Speed transmits the first packet and the second packet that path sends over, by judging the correctness of packet, to receiving the earliest And correct packet processes, this ensure that correctness and the real-time of data.
Refer to the schematic diagram that Figure 12, Figure 12 perform the second embodiment of the communicator that data of the present invention are transmitted, logical T unit includes: processor 1001, memorizer 1003, communication adapter 1002 and bus.Processor 1001, memorizer 1003, Communication adapter 1002 and bus connect.In Figure 12 as a example by being connected by bus.
Memorizer 1003, 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 transmitted such as the data in the embodiment of the present application is corresponding Programmed instruction/module (receiver module the 701, first judge module the 702, first parsing module the 703, first discard module 704, Second discard module the 705, second judge module the 706, second parsing module 707 and the 3rd discard module 708).Processor 1001 Non-volatile software program, instruction and the module being stored in memorizer 1003 by operation, thus perform each of server Plant function application and data process, i.e. realize the processing method of said method embodiment data transmission.Memorizer 1003 is permissible Including storage program area and storage data field, wherein, storage program area can store required for operating system, at least one function Application program;Storage data field can store the data etc. that the use of the processing means according to data transmission is created.Additionally, storage Device 1003 can include high-speed random access memory, it is also possible to includes nonvolatile memory, and for example, at least one disk is deposited Memory device, flush memory device or other non-volatile solid state memory parts.In certain embodiments, memorizer 1003 is optional includes The memorizer remotely located relative to processor 1001, these remote memories can be connected to the place of data transmission by network Reason device.The example of above-mentioned network includes but not limited to the Internet, intranet, LAN, mobile radio communication and combinations thereof.
One or more module stores is in described memorizer 1003, when by one or more processor During 1001 execution, perform the processing method that the data in above-mentioned any means embodiment are transmitted.
In embodiments of the present invention, communicator receives other end communicator by least first, second two soon Speed transmits the first packet and the second packet that path sends over, by judging the correctness of packet, to receiving the earliest And correct packet processes, this ensure that correctness and the real-time of data.
The foregoing is only embodiments of the present invention, not thereby limit the scope of the claims of the present invention, every utilization is originally Equivalent structure or equivalence flow process that description of the invention and accompanying drawing content are made convert, or are directly or indirectly used in what other were correlated with Technical field, is the most in like manner included in the scope of patent protection of the present invention.

Claims (11)

1. the method for a data transmission, it is characterised in that including:
RX path builds request, and wherein, one end communicator and other end communicator are carried in the request of described path construction Mark;
Ask according to described path construction, build between described one end communicator and other end communicator at least the first, Article 2 two, quick transmission path;
To at least first, second two quick transmission path described in described one end communicator and the transmission of other end communicator, During so that carrying out data transmission between one end communicator and other end communicator, respectively by described first, second liang quickly Transmission path is added to the first packet and the second packet carrying identical content, and makes the forwarding face equipment root in net Forward according to the quickly transmission path entrained by the first packet and the second packet.
The method of data the most according to claim 1 transmission, it is characterised in that
Quickly transmission path, described first quick transmission path and second is except described one end communicator and the described other end lead to The path that outside T unit, other node differs completely.
3. the method for a data transmission, it is characterised in that including:
Communicator receives at least first, second two quick transmission path, and described first, second two quick transmission paths are equal Path for described communicator to other end communicator;
When described communicator sends data to be transferred to other end communicator, described communicator is according to data to be transferred, raw Becoming the first packet and the second packet, wherein, described first packet and the second packet all carry identical data to be transferred;
Quickly transmit path to add described first to described first packet, and, quickly transmit path by described second Add to described second packet;
Send respectively carry first quickly first packet in transmission path and carry second quickly transmission path the Two packets, so that the forwarding face equipment in Wang is according to the first described first packet of quick transmission path forwarding, and according to Second quickly transmits path forwards described second packet.
The method of data the most according to claim 3 transmission, it is characterised in that described communicator generates the first packet Include with the second packet step:
Replicate described data to be transferred, generate the copy of described data to be transferred;
Described data to be transferred is packaged into the first packet, the copy of described data is packaged into the second packet.
5. the method for a data transmission, it is characterised in that including:
Communicator receives the packet arrived the earliest in the first packet and the second packet, wherein, described first packet Being by the first quick transmission path, described second packet is by the second quick transmission path, described first Packet and the second packet carry identical data to be transferred;
Described communicator judges whether the packet arrived the earliest in described first packet and the second packet is correct Packet;
If correct, then the packet arrived the earliest resolved and obtain data content;
Abandon the packet received the latest among described first packet and the second packet.
The method of data the most according to claim 5 transmission, it is characterised in that described method also includes:
If the packet arrived the earliest is incorrect, then abandon described in the packet that receives the earliest and to described Centralized Controller and Described other end communicator sends data error signal;
Judge whether the packet received the latest in described first packet and the second packet is correct packet;
If correct, then the described packet received the latest resolved and obtains data content;
If incorrect, then abandon described in the packet that receives the latest to described Centralized Controller and described other end communicator Send data error signal.
7. a Centralized Controller, it is characterised in that including:
Accepting module, build request for RX path, wherein, communicator is carried in the request of described path construction and the other end leads to The mark of T unit;
Build module, for asking according to described path construction, build between described communicator and other end communicator extremely Few first, second two quick transmission paths;
Sending module, for described in described communicator and the transmission of other end communicator at least first, second two quickly Transmission path, during so that carrying out data transmission between communicator and other end communicator, respectively by described first, second liang Quickly transmission path is added to the first packet and the second packet carrying identical content, and makes the forwarding face in net set Forward for according to the quickly transmission path entrained by the first packet and the second packet.
8. a communicator, it is characterised in that including:
Receiver module, at least first, second two quick transmission path of communicator reception, described first, second two Quickly transmission path is communicator to the path of other end communicator;
Generation module, is used for when described communicator sends data to be transferred to other end communicator, described communicator root According to data to be transferred, generating the first packet and the second packet, wherein, described first packet and the second packet all carry phase Same data to be transferred;
Add module, add to described first packet for quickly transmitting path by described first, and, by described second Quickly transmission path is added to described second packet;
Sending module, carries first quick first packet in transmission path and to carry second quick for sending respectively Second packet in transmission path, so that the forwarding face equipment in Wang quickly transmits path according to first forwards described first data Bag, and described second packet of path forwarding is quickly transmitted according to second.
Communicator the most according to claim 8, it is characterised in that described generation module includes:
Copied cells, is used for replicating described data to be transferred, generates the copy of described data to be transferred;
Encapsulation unit, for described data to be transferred is packaged into the first packet, is packaged into the second number by the copy of described data According to bag.
10. a communicator, it is characterised in that including:
Receiver module, receives the packet arrived the earliest in the first packet and the second packet, wherein, institute for communicator Stating the first packet is by the first quick transmission path, and described second packet is quickly to transmit path to pass by second Defeated, described first packet and the second packet carry identical data to be transferred;
First judge module, judges the number arrived the earliest in described first packet and the second packet for described communicator Whether it is correct packet according to bag;
First parsing module, if the packet arrived the earliest in described first packet and the second packet is correct, the most right The packet arrived the earliest carries out resolving and obtaining data content;
First discard module, for abandoning the packet received the latest among described first packet and the second packet.
11. communicators according to claim 10, it is characterised in that described communicator also includes:
Second discard module, if incorrect for the packet that arrives the earliest, then abandon described in the packet that receives the earliest also Data error signal is sent to described Centralized Controller and described other end communicator;
Second judge module, for judging whether the packet received the latest in described first packet and the second packet is just True packet;
Second parsing module, if for correct, resolving the described packet received the latest and obtain data content;
3rd discard module, if for incorrect, then abandon described in the packet that receives the latest and to described Centralized Controller and Described other end communicator sends data error signal.
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 true CN106254238A (en) 2016-12-21
CN106254238B 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)

Cited By (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
WO2018095075A1 (en) * 2016-09-29 2018-05-31 胡汉强 Data transmission method, centralised controller, and communication device
CN108809549A (en) * 2018-04-23 2018-11-13 维沃移动通信有限公司 A kind of method and apparatus of transmission data
CN108965392A (en) * 2018-06-15 2018-12-07 武汉斑马快跑科技有限公司 Method of reseptance, system and the equipment of 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
CN110351024B (en) * 2018-04-04 2021-06-15 华为技术有限公司 Data transmission method and device
CN114222253A (en) * 2021-11-24 2022-03-22 杭州三汇软件有限公司 Network decision method and device for dual-network main operation terminal

Citations (3)

* 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
US20150163152A1 (en) * 2013-12-06 2015-06-11 Algoblu Holdings Limited Performance-based routing in software-defined network (sdn)
CN104852847A (en) * 2015-04-07 2015-08-19 胡汉强 Data transmission method, control plane equipment and forwarding plane equipment

Family Cites Families (4)

* 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
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 (3)

* 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
US20150163152A1 (en) * 2013-12-06 2015-06-11 Algoblu Holdings Limited Performance-based routing in software-defined network (sdn)
CN104852847A (en) * 2015-04-07 2015-08-19 胡汉强 Data transmission method, control plane equipment and forwarding plane equipment

Cited By (11)

* 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
WO2018095075A1 (en) * 2016-09-29 2018-05-31 胡汉强 Data transmission method, centralised controller, and communication device
CN110351024B (en) * 2018-04-04 2021-06-15 华为技术有限公司 Data transmission method and device
US11425600B2 (en) 2018-04-04 2022-08-23 Huawei Technologies Co., Ltd. Wireless backhaul data transmission method and apparatus
CN108809549A (en) * 2018-04-23 2018-11-13 维沃移动通信有限公司 A kind of method and apparatus of transmission data
CN108965392A (en) * 2018-06-15 2018-12-07 武汉斑马快跑科技有限公司 Method of reseptance, system and the equipment of 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
WO2021052175A1 (en) * 2019-09-19 2021-03-25 腾讯科技(深圳)有限公司 Communication connection method and apparatus, and computer device and storage medium
US11750417B2 (en) 2019-09-19 2023-09-05 Tencent Technology (Shenzhen) Company Limited Method for establishing communication connection
CN114222253A (en) * 2021-11-24 2022-03-22 杭州三汇软件有限公司 Network decision method and device for dual-network main operation terminal

Also Published As

Publication number Publication date
WO2018095075A1 (en) 2018-05-31
CN106254238B (en) 2018-12-28

Similar Documents

Publication Publication Date Title
CN106254238A (en) A kind of data transmission method, Centralized Controller and communicator
KR102471512B1 (en) Method for forwarding messages and network device
CN104378291B (en) Method and communication equipment for the information transmission for carrying out redundancy in industrial communication network
JP6269250B2 (en) Data transfer control device, data transfer control method, and program
CN104702468B (en) Determine the method, apparatus and system of transmission path
CN102119510A (en) A multi-path network
CN104426731A (en) A method and device for computing a spanning tree
CN106254242A (en) A kind of data transmission method, Centralized Controller, forwarding face equipment and local terminal communicator
CN107113198A (en) Ethernet interface module
JP6868958B2 (en) Packet transmission program, information processing device, and failure detection method
US9614749B2 (en) Data processing system and method for changing a transmission table
US20090006650A1 (en) Communication device, communication method, communication interface, and program product
CN103716420A (en) Automatic station address obtaining method of Modbus ASCII slave station and slave station
CN103856578A (en) Automatic slave station address acquisition method through Modbus RTU and slave station
CN116418647A (en) Method, device and equipment for receiving and transmitting network management information
KR102271639B1 (en) Method and device for modular orientation of AVB streams
CN108322391A (en) Data transferring method based on flow table
CN104767665A (en) Ring communication network master station redundancy method, device and system
CN107005593A (en) Method and control device for being transmitted safety-relevant data in the motor vehicle by means of ethernet standard
CN110071860A (en) Robot communication method, robot communication system and robot
CN105531955B (en) Utilize the Wireless Networking of flexibly orderly repeater
AU2020310454C1 (en) Method and data network for communicating data content, in particular in an elevator system
JP6586374B2 (en) COMMUNICATION DEVICE, ROUTE MANAGEMENT SERVER, COMMUNICATION METHOD, AND VIRTUAL PORT ALLOCATION METHOD
CN104506440A (en) Data package transmitting method and routing list correcting method for router
US11258637B2 (en) Method for operating TSN-enabled network coupling elements

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

Granted publication date: 20181228

CF01 Termination of patent right due to non-payment of annual fee