CN105376165A - UDP multicast method, system, sending device, and receiving device - Google Patents

UDP multicast method, system, sending device, and receiving device Download PDF

Info

Publication number
CN105376165A
CN105376165A CN201510664937.3A CN201510664937A CN105376165A CN 105376165 A CN105376165 A CN 105376165A CN 201510664937 A CN201510664937 A CN 201510664937A CN 105376165 A CN105376165 A CN 105376165A
Authority
CN
China
Prior art keywords
message
burst
sent
dispensing device
sequence number
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
CN201510664937.3A
Other languages
Chinese (zh)
Other versions
CN105376165B (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.)
Jin Zheng Science And Technology Co Ltd Of Shenzhen
Original Assignee
Jin Zheng Science And Technology Co Ltd Of Shenzhen
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 Jin Zheng Science And Technology Co Ltd Of Shenzhen filed Critical Jin Zheng Science And Technology Co Ltd Of Shenzhen
Priority to CN201510664937.3A priority Critical patent/CN105376165B/en
Publication of CN105376165A publication Critical patent/CN105376165A/en
Application granted granted Critical
Publication of CN105376165B publication Critical patent/CN105376165B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L69/00Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
    • H04L69/16Implementation or adaptation of Internet protocol [IP], of transmission control protocol [TCP] or of user datagram protocol [UDP]
    • H04L69/164Adaptation or special uses of UDP protocol
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/16Multipoint routing

Abstract

The invention belongs to the technical field of communication and provides a UDP multicast method, system, sending device, and receiving device. The UDP multicast method comprises steps that a sending device acquires a message to be sent and allocates a message serial number to the message to be sent; the sending device divides the message to be sent into multiple message fragments and allocates fragment serial numbers to the message fragments; the sending device sends the message fragments to the receiving device, wherein the message fragments carry the unique identifier of the sending device, the message serial number, and the fragment serial numbers; the receiving device establishes a secondary buffer cache and caches the message fragments in the secondary buffer cache; and the receiving device extracts all message fragments corresponding to any one message serial number from the secondary buffer cache after receiving the message fragments corresponding to the any one message serial number. The method achieves high-efficient data packet loss detection, deals with disordered data packets, reduces time complexity, and improves UDP multicast reliability and stability.

Description

UDP method of multicasting, system, dispensing device and receiving system
Technical field
The invention belongs to communication technical field, particularly relate to UDP method of multicasting, system, dispensing device and receiving system.
Background technology
In prior art, the transport layer in most of operating system all adopts TCP (TransmissionControlProtocol, transmission control protocol), to realize reliable point-to-point communication.When needing to realize the reliable communication between one group of process, the implementation in most application layer sets up the point to point connect between each process communicated with it for each process, and obviously, the communication mode of this process group consumes a large amount of bandwidth, and efficiency is lower.In prior art, UDP (UserDatagramProtocol, User Datagram Protoco (UDP)), although multicast can multicast between implementation process group, can not ensure reliable transfer of data.In addition, UDP package is subject to the restriction of data length, and existing UDP multicast does not belong to stream transmission.
Communication between process group is applied very extensive in a distributed system, and the group communication of efficient low delay is very important in the real-time systems such as banking software system.Such as, in banking software system, group communication is usually used in transmitting real-time data, as market data and transaction data etc.Realizing in process of the present invention, inventor finds that in prior art, at least there are the following problems: the reliability of existing UDP multicast mode is lower.
Summary of the invention
Given this, embodiments provide a kind of UDP method of multicasting, system, dispensing device and receiving system, with the problem that the reliability solving existing UDP multicast mode is lower.
First aspect, embodiments provides a kind of UDP method of multicasting, comprising:
Dispensing device obtains message to be sent, and is described message assignment messages sequence number to be sent;
Described message to be sent is divided into multiple message burst by described dispensing device, and is that each message burst distributes slicing sequence number;
Described message burst is sent to receiving system by described dispensing device, and described message burst carries the unique identifier of described dispensing device, described message SN and described slicing sequence number;
L2 cache district set up by described receiving system, and carries out buffer memory by described L2 cache district to described message burst;
When all described message burst that described receiving system message SN described in any one is corresponding finishes receiving, from described L2 cache district, extract all described message burst that described message SN is corresponding.
Second aspect, embodiments provides a kind of UDP multi-cast system, comprising:
Dispensing device and receiving system;
Described dispensing device, for obtaining message to be sent, for described message assignment messages sequence number to be sent, described message to be sent is divided into multiple message burst, for each message burst distributes slicing sequence number, and described message burst is sent to described receiving system, described message burst carries the unique identifier of described dispensing device, described message SN and described slicing sequence number;
Described receiving system, for setting up L2 cache district, by described L2 cache district, buffer memory is carried out to described message burst, and all described message burst that message SN is corresponding described in any one is when finishing receiving, from described L2 cache district, extract all described message burst that described message SN is corresponding.
The third aspect, embodiments provides a kind of dispensing device of UDP multicast, comprising:
Message SN allocation units for obtaining message to be sent, and are described message assignment messages sequence number to be sent;
Slicing sequence allocation units for described message to be sent is divided into multiple message burst, and are that each message burst distributes slicing sequence number;
Transmitting element, for described message burst is sent to receiving system, to make described receiving system carry out buffer memory by L2 cache district to described message burst, described message burst carries the unique identifier of described dispensing device, described message SN and described slicing sequence number.
Fourth aspect, embodiments provides a kind of receiving system of UDP multicast, comprising:
Buffer unit, for setting up L2 cache district, and by described L2 cache district, buffer memory being carried out to the message burst that dispensing device sends, described message burst carries message SN corresponding to the unique identifier of described dispensing device, described message burst and slicing sequence number;
Extraction unit, when finishing receiving for all described message burst that message SN described in any one is corresponding, extracts all described message burst that described message SN is corresponding from described L2 cache district.
The beneficial effect that the embodiment of the present invention compared with prior art exists is: the embodiment of the present invention is by adopting the two-stage sequence number of message SN and slicing sequence number, and adopt L2 cache district at receiving terminal, achieve the detecting of efficient data packetloss, and the abnormal conditions that energy handle packet is out of order, ensure the orderly propelling movement of message, thus achieve reliable UDP multicast; By adopting L2 cache district, reduce the time complexity of receiving terminal process when there are the abnormal conditions such as packet loss is out of order; By carrying the unique identifier of dispensing device in message burst, achieve multiple sending end and send data of the same race simultaneously, receiving terminal can carry out duplicate removal according to two-stage sequence number to the data of multiple transmitting terminal, thus carry out fault-tolerant when the process exception of certain transmitting terminal goes offline, improve the stability of UDP multicast.
Accompanying drawing explanation
In order to be illustrated more clearly in the technical scheme in the embodiment of the present invention, be briefly described to the accompanying drawing used required in embodiment or description of the prior art below, apparently, accompanying drawing in the following describes is only some embodiments of the present invention, for those of ordinary skill in the art, under the prerequisite not paying creative work, other accompanying drawing can also be obtained according to these accompanying drawings.
Fig. 1 is the system architecture diagram of the UDP multi-cast system that the embodiment of the present invention provides;
Fig. 2 is the realization flow figure of the UDP method of multicasting that the embodiment of the present invention provides;
Fig. 3 is the schematic diagram of message SN and slicing sequence number in the UDP method of multicasting that provides of the embodiment of the present invention;
Fig. 4 is the schematic diagram of message slot and burst slot in the UDP method of multicasting that provides of the embodiment of the present invention;
Fig. 5 is the structured flowchart of the dispensing device of the UDP multicast that the embodiment of the present invention provides;
Fig. 6 is the structured flowchart of the receiving system of the UDP multicast that the embodiment of the present invention provides.
Embodiment
In order to make object of the present invention, technical scheme and advantage clearly understand, below in conjunction with drawings and Examples, the present invention is further elaborated.Should be appreciated that specific embodiment described herein only in order to explain the present invention, be not intended to limit the present invention.
Fig. 1 shows the system architecture diagram of the UDP multi-cast system that the embodiment of the present invention provides, and for convenience of explanation, illustrate only the part relevant to the embodiment of the present invention.
With reference to Fig. 1, this UDP multi-cast system comprises:
Dispensing device 11 and receiving system 12.
It should be noted that, this UDP multi-cast system can comprise multiple dispensing device 11 and multiple receiving system 12.
Described dispensing device 11, for obtaining message to be sent, for described message assignment messages sequence number to be sent, described message to be sent is divided into multiple message burst, for each message burst distributes slicing sequence number, and described message burst is sent to described receiving system 12, described message burst carries the unique identifier of described dispensing device 11, described message SN and described slicing sequence number;
Described receiving system 12, for setting up L2 cache district, by described L2 cache district, buffer memory is carried out to described message burst, and all described message burst that message SN is corresponding described in any one is when finishing receiving, from described L2 cache district, extract all described message burst that described message SN is corresponding.
Preferably, described L2 cache district comprises first order buffer area and second level buffer area, any one array of described first order buffer area is for storing all described slicing sequence number corresponding to message SN described in any one, and any one array of described second level buffer area is for storing number corresponding described message burst of slicing sequence described in any one.
Preferably, described dispensing device 11 specifically for:
Obtain message to be sent, and be described message assignment messages sequence number to be sent according to caller information.
Preferably, described receiving system 12 also for:
During the described message burst receive time-out that message SN is corresponding described in any one, send repeat requests corresponding to described message SN to described dispensing device 11.
The embodiment of the present invention is by adopting the two-stage sequence number of message SN and slicing sequence number, and adopt L2 cache district at receiving terminal, achieve the detecting of efficient data packetloss, and the abnormal conditions that energy handle packet is out of order, ensure the orderly propelling movement of message, thus achieve reliable UDP multicast; By adopting L2 cache district, reduce the time complexity of receiving terminal process when there are the abnormal conditions such as packet loss is out of order; By carrying the unique identifier of dispensing device in message burst, achieve multiple sending end and send data of the same race simultaneously, receiving terminal can carry out duplicate removal according to two-stage sequence number to the data of multiple transmitting terminal, thus carry out fault-tolerant when the process exception of certain transmitting terminal goes offline, improve the stability of UDP multicast.
Fig. 2 shows the realization flow figure of the UDP method of multicasting that the embodiment of the present invention provides, and details are as follows:
In step s 201, dispensing device obtains message to be sent, and is message assignment messages sequence number to be sent.
Preferably, described dispensing device obtains message to be sent, and is specially for described message assignment messages sequence number to be sent:
Dispensing device obtains message to be sent, and is described message assignment messages sequence number to be sent according to caller information.
In embodiments of the present invention, adopt the mode of message SN and slicing sequence two-stage sequence number, wherein, message SN is directly exposed to skin, be associated with caller, can unify with the message numbering of caller application layer, thus support the data packetloss detecting of the message SN of any range and recover.
In step S202, message to be sent is divided into multiple message burst by dispensing device, and is that each message burst distributes slicing sequence number.
Fig. 3 shows the schematic diagram of message SN and slicing sequence in the UDP method of multicasting that the embodiment of the present invention provides number.With reference to Fig. 3, each message SN corresponds to multiple slicing sequence number, and namely message SN and slicing sequence number are the relations of one-to-many, and each message SN corresponds to multiple message burst.Such as, message SN is n, and corresponding slicing sequence number comprises 0 to m.
In step S203, message burst is sent to receiving system by dispensing device, and message burst carries the unique identifier of dispensing device, message SN and slicing sequence number.
Dispensing device sends all message bursts corresponding to a certain message SN successively according to the sequencing of the slicing sequence number of message burst.
Here, by carrying the unique identifier of dispensing device in message burst, thus when multiple dispensing device sends data of the same race simultaneously, receiving system can carry out duplicate removal according to two-stage sequence number to the data of multiple dispensing device, thus carry out fault-tolerant when the process exception of certain dispensing device goes offline or makes mistakes, improve the stability of UDP multicast.In addition, when receiving system application data retransmission, receiving system, according to the essential information of dispensing device, is applied for one of them dispensing device in multiple dispensing device by the mode of polling dispatching (Round-RobinScheduling), is served the effect that load is shared.
In step S204, L2 cache district set up by receiving system, and carries out buffer memory by L2 cache district to message burst.
In embodiments of the present invention, L2 cache district set up by receiving system, buffer memory is carried out for the bias data advanced to the sequence number received, to ensure order, continuity that packet pushes, thus according to message SN, buffer memory is carried out to advanced message burst when abnormal conditions such as the out of order jumping bag of network generation data or packet losses, after the message burst lacked is received or passes through to retransmit recovery, push to upper strata in the lump.
Preferably, described L2 cache district comprises first order buffer area and second level buffer area, any one array of described first order buffer area is for storing all described slicing sequence number corresponding to message SN described in any one, and any one array of described second level buffer area is for storing number corresponding described message burst of slicing sequence described in any one.
Alternatively, L2 cache district is specially secondary cycle buffer area, and first order buffer area is first order circular buffer district, and the second season, buffer area was circular buffer district, the second level.
Fig. 4 shows the schematic diagram of message slot and burst slot in the UDP method of multicasting that the embodiment of the present invention provides.With reference to Fig. 4, burst slot carry is under message slot, and such as, message slot comprises message slot n, message slot n+1 and message slot n+2 etc., and the burst slot that message slot n is corresponding comprises burst slot 0, burst slot 1 and burst slot 2.First order buffer area comprises message slot n, message slot n+1 and message slot n+2 etc., and each message slot is respectively used to store all slicing sequence number corresponding to any one message SN; Second level buffer area comprises burst slot 0, burst slot 1 and burst slot 2, and each burst slot is respectively used to storage message burst.It should be noted that, the maximum message slot count of first order buffer area is the length of first order sliding window, the maximum burst slot count of second level buffer area is the length of second level sliding window, the length of first order sliding window and the length of second level sliding window pre-configured.By adopting L2 cache district, when there is packet loss, jumping the situations such as bag, the message burst advanced to sequence number carries out buffer memory, first by message SN position by offset manner localization message slot in first order buffer area, again by the position of burst slot in slicing sequence positioning second stage buffer area, pending data retransmits and recovers continuously, and the data of the mode offset by array to buffer memory are conducted interviews, extract and remove.
The time complexity of receiving terminal process time in embodiments of the present invention, by adopting L2 cache district to greatly reduce the abnormal conditions such as packet loss is out of order occur.When the message burst that buffer memory is advanced, the time complexity adopting L2 cache district is O (1); Carry out buffer memory according to balanced binary tree to advanced message burst, then time complexity is O (log (N)).When retransmitting recovery, suppose that the quantity of the message burst of continuous buffer memory is m, then the time complexity adopting L2 cache district is O (m); Take out continuous print m message burst according to the disposable order traversal of balanced binary tree, then time complexity is O (m × log (N)).
In step S205, receiving system, when all message bursts that any one message SN is corresponding finish receiving, extracts all message bursts that message SN is corresponding from L2 cache district.
Preferably, described UDP method of multicasting also comprises:
During described message burst receive time-out corresponding to described receiving system message SN described in any one, send repeat requests corresponding to described message SN to described dispensing device.
Alternatively, during described message burst receive time-out corresponding to described receiving system message SN described in any one, send repeat requests corresponding to described message SN to described dispensing device to be specially: receiving system, when the message burst receive time-out that any one message SN is corresponding, generates repeat requests; The rise time point of receiving system record this repeat requests; Receiving system this repeat requests rise time point and on once send repeat requests time point between interval greater than the first preset value time, send this repeat requests to dispensing device; Receiving system this repeat requests rise time point and on once send repeat requests time point between the time interval be less than or equal to the first preset value time, ignore this repeat requests.Wherein, the first preset value is pre-configured by receiving system.
It should be noted that, in the process of UDP multicast, if have extra receiving system to start to add, then according to the initial message sequence number that receiving system starts, re-transmission recovery is carried out automatically to a large amount of missing datas that dispensing device has sent, to the real time data that the dispensing device received is sent in recovery process, be considered as bias data according to message SN and slicing sequence number and carry out sliding window caching.If real time data exceeds the length of sliding window, directly abandon.
Should be understood that in embodiments of the present invention, the size of the sequence number of above-mentioned each process does not also mean that the priority of execution sequence, and the execution sequence of each process should be determined with its function and internal logic, and should not form any restriction to the implementation process of the embodiment of the present invention.
The embodiment of the present invention is by adopting the two-stage sequence number of message SN and slicing sequence number, and adopt L2 cache district at receiving terminal, achieve the detecting of efficient data packetloss, and the abnormal conditions that energy handle packet is out of order, ensure the orderly propelling movement of message, thus achieve reliable UDP multicast; By adopting L2 cache district, reduce the time complexity of receiving terminal process when there are the abnormal conditions such as packet loss is out of order; By carrying the unique identifier of dispensing device in message burst, achieve multiple sending end and send data of the same race simultaneously, receiving terminal can carry out duplicate removal according to two-stage sequence number to the data of multiple transmitting terminal, thus carry out fault-tolerant when the process exception of certain transmitting terminal goes offline, improve the stability of UDP multicast.
Fig. 5 shows the structured flowchart of the dispensing device of the UDP multicast that the embodiment of the present invention provides, and the dispensing device of this UDP multicast can be the dispensing device 11 in Fig. 1.For convenience of explanation, illustrate only the part relevant to the embodiment of the present invention.
With reference to Fig. 5, the dispensing device of this UDP multicast comprises:
Message SN allocation units 51 for obtaining message to be sent, and are described message assignment messages sequence number to be sent;
Slicing sequence allocation units 52 for described message to be sent is divided into multiple message burst, and are that each message burst distributes slicing sequence number;
Transmitting element 53, for described message burst is sent to receiving system, to make described receiving system carry out buffer memory by L2 cache district to described message burst, described message burst carries the unique identifier of described dispensing device, described message SN and described slicing sequence number.
The embodiment of the present invention is by adopting the two-stage sequence number of message SN and slicing sequence number, and adopt L2 cache district at receiving terminal, achieve the detecting of efficient data packetloss, and the abnormal conditions that energy handle packet is out of order, ensure the orderly propelling movement of message, thus achieve reliable UDP multicast; By adopting L2 cache district, reduce the time complexity of receiving terminal process when there are the abnormal conditions such as packet loss is out of order; By carrying the unique identifier of dispensing device in message burst, achieve multiple sending end and send data of the same race simultaneously, receiving terminal can carry out duplicate removal according to two-stage sequence number to the data of multiple transmitting terminal, thus carry out fault-tolerant when the process exception of certain transmitting terminal goes offline, improve the stability of UDP multicast.
Fig. 6 shows the structured flowchart of the receiving system of the UDP multicast that the embodiment of the present invention provides, and the receiving system of this UDP multicast can be the receiving system 12 in Fig. 1.For convenience of explanation, illustrate only the part relevant to the embodiment of the present invention.
With reference to Fig. 6, the receiving system of this UDP multicast comprises:
Buffer unit 61, for setting up L2 cache district, and by described L2 cache district, buffer memory being carried out to the message burst that dispensing device sends, described message burst carries message SN corresponding to the unique identifier of described dispensing device, described message burst and slicing sequence number;
Extraction unit 62, when finishing receiving for all described message burst that message SN described in any one is corresponding, extracts all described message burst that described message SN is corresponding from described L2 cache district.
The embodiment of the present invention is by adopting the two-stage sequence number of message SN and slicing sequence number, and adopt L2 cache district at receiving terminal, achieve the detecting of efficient data packetloss, and the abnormal conditions that energy handle packet is out of order, ensure the orderly propelling movement of message, thus achieve reliable UDP multicast; By adopting L2 cache district, reduce the time complexity of receiving terminal process when there are the abnormal conditions such as packet loss is out of order; By carrying the unique identifier of dispensing device in message burst, achieve multiple sending end and send data of the same race simultaneously, receiving terminal can carry out duplicate removal according to two-stage sequence number to the data of multiple transmitting terminal, thus carry out fault-tolerant when the process exception of certain transmitting terminal goes offline, improve the stability of UDP multicast.
Those of ordinary skill in the art can recognize, in conjunction with unit and the algorithm steps of each example of embodiment disclosed herein description, can realize with the combination of electronic hardware or computer software and electronic hardware.These functions perform with hardware or software mode actually, depend on application-specific and the design constraint of technical scheme.Professional and technical personnel can use distinct methods to realize described function to each specifically should being used for, but this realization should not thought and exceeds scope of the present invention.
Those skilled in the art can be well understood to, and for convenience and simplicity of description, the specific works process of the system of foregoing description, device and unit, with reference to the corresponding process in preceding method embodiment, can not repeat them here.
In several embodiments that the application provides, should be understood that disclosed system, apparatus and method can realize by another way.Such as, device embodiment described above is only schematic, such as, the division of described unit, be only a kind of logic function to divide, actual can have other dividing mode when realizing, such as multiple unit or assembly can in conjunction with or another system can be integrated into, or some features can be ignored, or do not perform.Another point, shown or discussed coupling each other or direct-coupling or communication connection can be by some interfaces, and the indirect coupling of device or unit or communication connection can be electrical, machinery or other form.
The described unit illustrated as separating component or can may not be and physically separates, and the parts as unit display can be or may not be physical location, namely can be positioned at a place, or also can be distributed in multiple network element.Some or all of unit wherein can be selected according to the actual needs to realize the object of the present embodiment scheme.
In addition, each functional unit in each embodiment of the present invention can be integrated in a processing unit, also can be that the independent physics of unit exists, also can two or more unit in a unit integrated.
If described function using the form of SFU software functional unit realize and as independently production marketing or use time, can be stored in a computer read/write memory medium.Based on such understanding, the part of the part that technical scheme of the present invention contributes to prior art in essence in other words or this technical scheme can embody with the form of software product, this computer software product is stored in a storage medium, comprising some instructions in order to make a computer equipment (can be personal computer, server, or the network equipment etc.) perform all or part of step of method described in each embodiment of the present invention.And aforesaid storage medium comprises: USB flash disk, portable hard drive, read-only memory (ROM, Read-OnlyMemory), random access memory (RAM, RandomAccessMemory), magnetic disc or CD etc. various can be program code stored medium.
The above; be only the specific embodiment of the present invention, but protection scope of the present invention is not limited thereto, is anyly familiar with those skilled in the art in the technical scope that the present invention discloses; change can be expected easily or replace, all should be encompassed within protection scope of the present invention.Therefore, protection scope of the present invention should described be as the criterion with the protection range of claim.

Claims (10)

1. a UDP method of multicasting, is characterized in that, comprising:
Dispensing device obtains message to be sent, and is described message assignment messages sequence number to be sent;
Described message to be sent is divided into multiple message burst by described dispensing device, and is that each message burst distributes slicing sequence number;
Described message burst is sent to receiving system by described dispensing device, and described message burst carries the unique identifier of described dispensing device, described message SN and described slicing sequence number;
L2 cache district set up by described receiving system, and carries out buffer memory by described L2 cache district to described message burst;
When all described message burst that described receiving system message SN described in any one is corresponding finishes receiving, from described L2 cache district, extract all described message burst that described message SN is corresponding.
2. UDP method of multicasting as claimed in claim 1, it is characterized in that, described L2 cache district comprises first order buffer area and second level buffer area, any one array of described first order buffer area is for storing all described slicing sequence number corresponding to message SN described in any one, and any one array of described second level buffer area is for storing number corresponding described message burst of slicing sequence described in any one.
3. UDP method of multicasting as claimed in claim 1, it is characterized in that, described dispensing device obtains message to be sent, and is specially for described message assignment messages sequence number to be sent:
Dispensing device obtains message to be sent, and is described message assignment messages sequence number to be sent according to caller information.
4. UDP method of multicasting as claimed in claim 1, it is characterized in that, described UDP method of multicasting also comprises:
During described message burst receive time-out corresponding to described receiving system message SN described in any one, send repeat requests corresponding to described message SN to described dispensing device.
5. a UDP multi-cast system, is characterized in that, comprising:
Dispensing device and receiving system;
Described dispensing device, for obtaining message to be sent, for described message assignment messages sequence number to be sent, described message to be sent is divided into multiple message burst, for each message burst distributes slicing sequence number, and described message burst is sent to described receiving system, described message burst carries the unique identifier of described dispensing device, described message SN and described slicing sequence number;
Described receiving system, for setting up L2 cache district, by described L2 cache district, buffer memory is carried out to described message burst, and all described message burst that message SN is corresponding described in any one is when finishing receiving, from described L2 cache district, extract all described message burst that described message SN is corresponding.
6. UDP multi-cast system as claimed in claim 5, it is characterized in that, described L2 cache district comprises first order buffer area and second level buffer area, any one array of described first order buffer area is for storing all described slicing sequence number corresponding to message SN described in any one, and any one array of described second level buffer area is for storing number corresponding described message burst of slicing sequence described in any one.
7. UDP multi-cast system as claimed in claim 5, is characterized in that, described dispensing device specifically for:
Obtain message to be sent, and be described message assignment messages sequence number to be sent according to caller information.
8. UDP multi-cast system as claimed in claim 5, is characterized in that, described receiving system also for:
During the described message burst receive time-out that message SN is corresponding described in any one, send repeat requests corresponding to described message SN to described dispensing device.
9. a dispensing device for UDP multicast, is characterized in that, comprising:
Message SN allocation units for obtaining message to be sent, and are described message assignment messages sequence number to be sent;
Slicing sequence allocation units for described message to be sent is divided into multiple message burst, and are that each message burst distributes slicing sequence number;
Transmitting element, for described message burst is sent to receiving system, to make described receiving system carry out buffer memory by L2 cache district to described message burst, described message burst carries the unique identifier of described dispensing device, described message SN and described slicing sequence number.
10. a receiving system for UDP multicast, is characterized in that, comprising:
Buffer unit, for setting up L2 cache district, and by described L2 cache district, buffer memory being carried out to the message burst that dispensing device sends, described message burst carries message SN corresponding to the unique identifier of described dispensing device, described message burst and slicing sequence number;
Extraction unit, when finishing receiving for all described message burst that message SN described in any one is corresponding, extracts all described message burst that described message SN is corresponding from described L2 cache district.
CN201510664937.3A 2015-10-15 2015-10-15 UDP method of multicasting, system, sending device and reception device Active CN105376165B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510664937.3A CN105376165B (en) 2015-10-15 2015-10-15 UDP method of multicasting, system, sending device and reception device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510664937.3A CN105376165B (en) 2015-10-15 2015-10-15 UDP method of multicasting, system, sending device and reception device

Publications (2)

Publication Number Publication Date
CN105376165A true CN105376165A (en) 2016-03-02
CN105376165B CN105376165B (en) 2019-02-22

Family

ID=55377984

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510664937.3A Active CN105376165B (en) 2015-10-15 2015-10-15 UDP method of multicasting, system, sending device and reception device

Country Status (1)

Country Link
CN (1) CN105376165B (en)

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107229660A (en) * 2016-03-25 2017-10-03 阿里巴巴集团控股有限公司 A kind of method and apparatus of data deduplication
CN108075820A (en) * 2016-11-18 2018-05-25 杭州优能通信系统有限公司 A kind of method for improving broadcasting-satellite channel fragment data transmission reliability
CN108155999A (en) * 2017-12-27 2018-06-12 罗建平 The intelligent UDP Multicast Files dissemination system and method for machine contracting system are mended with TCP
CN108234327A (en) * 2016-12-13 2018-06-29 英业达科技有限公司 Data transmission system, data receiver method and data transmission method
CN109474642A (en) * 2019-01-08 2019-03-15 郑州云海信息技术有限公司 Based on Ethernet udp protocol data transmission method, apparatus, equipment and medium
CN110049120A (en) * 2019-04-12 2019-07-23 海能达通信股份有限公司 Multimedia file transmission method, system, core net and device
CN113032295A (en) * 2021-02-25 2021-06-25 西安电子科技大学 Data packet second-level caching method, system and application
CN113573159A (en) * 2021-06-11 2021-10-29 中国大恒(集团)有限公司北京图像视觉技术分公司 Method and system for improving transmission stability of gigabit network industrial camera
US11516698B2 (en) 2019-05-02 2022-11-29 Nokia Technologies Oy Sending a duplicate of an original data packet to a target device in a network

Citations (16)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101026478A (en) * 2007-02-02 2007-08-29 华为技术有限公司 Network device internal node reliable multicast method, system and device
CN101159520A (en) * 2007-10-29 2008-04-09 中兴通讯股份有限公司 Data transmission method
CN101262321A (en) * 2008-02-03 2008-09-10 杭州华三通信技术有限公司 Media data processing method, coding device and media platform
CN101286945A (en) * 2008-05-22 2008-10-15 北京星网锐捷网络技术有限公司 Method and apparatus for processing of data fragmentation
US7554917B1 (en) * 2004-06-28 2009-06-30 Francis Tieu TCP retransmission and exception processing in high speed, low memory hardware devices
CN101645927A (en) * 2009-09-02 2010-02-10 中兴通讯股份有限公司 System, method and server for slicing media files
CN101656639A (en) * 2009-08-27 2010-02-24 华为技术有限公司 Empty identifying method, device and receiving equipment for MLPPP link
CN101662461A (en) * 2008-08-27 2010-03-03 华为技术有限公司 Method, device and system for recombining multilink protocol fragment data
CN101727465A (en) * 2008-11-03 2010-06-09 中国移动通信集团公司 Methods for establishing and inquiring index of distributed column storage database, device and system thereof
CN101795236A (en) * 2010-03-31 2010-08-04 成都市华为赛门铁克科技有限公司 Report sequence preservation method and device
CN101917472A (en) * 2010-08-12 2010-12-15 北京星网锐捷网络技术有限公司 Method, device and equipment for recombining multi-link messages
CN101945129A (en) * 2010-09-10 2011-01-12 北京易视腾科技有限公司 P2P (Peer to Peer) stream media live-broadcast low-delay transmission method and system thereof
CN102355342A (en) * 2011-10-19 2012-02-15 山东中创软件工程股份有限公司 Method for sending and receiving message and device
CN102571635A (en) * 2012-01-18 2012-07-11 浪潮(北京)电子信息产业有限公司 Message transmission method and equipment
CN102685000A (en) * 2012-04-24 2012-09-19 中兴通讯股份有限公司 Method, device and system for realizing synchronization of serial numbers of MP (Multilink Protocol) fragments
CN104065643A (en) * 2014-05-07 2014-09-24 上海文广互动电视有限公司 Method and system of multimedia network transmission based on tree logic

Patent Citations (16)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7554917B1 (en) * 2004-06-28 2009-06-30 Francis Tieu TCP retransmission and exception processing in high speed, low memory hardware devices
CN101026478A (en) * 2007-02-02 2007-08-29 华为技术有限公司 Network device internal node reliable multicast method, system and device
CN101159520A (en) * 2007-10-29 2008-04-09 中兴通讯股份有限公司 Data transmission method
CN101262321A (en) * 2008-02-03 2008-09-10 杭州华三通信技术有限公司 Media data processing method, coding device and media platform
CN101286945A (en) * 2008-05-22 2008-10-15 北京星网锐捷网络技术有限公司 Method and apparatus for processing of data fragmentation
CN101662461A (en) * 2008-08-27 2010-03-03 华为技术有限公司 Method, device and system for recombining multilink protocol fragment data
CN101727465A (en) * 2008-11-03 2010-06-09 中国移动通信集团公司 Methods for establishing and inquiring index of distributed column storage database, device and system thereof
CN101656639A (en) * 2009-08-27 2010-02-24 华为技术有限公司 Empty identifying method, device and receiving equipment for MLPPP link
CN101645927A (en) * 2009-09-02 2010-02-10 中兴通讯股份有限公司 System, method and server for slicing media files
CN101795236A (en) * 2010-03-31 2010-08-04 成都市华为赛门铁克科技有限公司 Report sequence preservation method and device
CN101917472A (en) * 2010-08-12 2010-12-15 北京星网锐捷网络技术有限公司 Method, device and equipment for recombining multi-link messages
CN101945129A (en) * 2010-09-10 2011-01-12 北京易视腾科技有限公司 P2P (Peer to Peer) stream media live-broadcast low-delay transmission method and system thereof
CN102355342A (en) * 2011-10-19 2012-02-15 山东中创软件工程股份有限公司 Method for sending and receiving message and device
CN102571635A (en) * 2012-01-18 2012-07-11 浪潮(北京)电子信息产业有限公司 Message transmission method and equipment
CN102685000A (en) * 2012-04-24 2012-09-19 中兴通讯股份有限公司 Method, device and system for realizing synchronization of serial numbers of MP (Multilink Protocol) fragments
CN104065643A (en) * 2014-05-07 2014-09-24 上海文广互动电视有限公司 Method and system of multimedia network transmission based on tree logic

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107229660A (en) * 2016-03-25 2017-10-03 阿里巴巴集团控股有限公司 A kind of method and apparatus of data deduplication
CN108075820A (en) * 2016-11-18 2018-05-25 杭州优能通信系统有限公司 A kind of method for improving broadcasting-satellite channel fragment data transmission reliability
CN108234327A (en) * 2016-12-13 2018-06-29 英业达科技有限公司 Data transmission system, data receiver method and data transmission method
CN108155999A (en) * 2017-12-27 2018-06-12 罗建平 The intelligent UDP Multicast Files dissemination system and method for machine contracting system are mended with TCP
CN108155999B (en) * 2017-12-27 2020-08-07 乐自科技(南京)有限公司 Intelligent UDP multicast file distribution system and method with TCP (transmission control protocol) packet supplementing mechanism
CN109474642A (en) * 2019-01-08 2019-03-15 郑州云海信息技术有限公司 Based on Ethernet udp protocol data transmission method, apparatus, equipment and medium
CN110049120A (en) * 2019-04-12 2019-07-23 海能达通信股份有限公司 Multimedia file transmission method, system, core net and device
US11516698B2 (en) 2019-05-02 2022-11-29 Nokia Technologies Oy Sending a duplicate of an original data packet to a target device in a network
CN113032295A (en) * 2021-02-25 2021-06-25 西安电子科技大学 Data packet second-level caching method, system and application
CN113573159A (en) * 2021-06-11 2021-10-29 中国大恒(集团)有限公司北京图像视觉技术分公司 Method and system for improving transmission stability of gigabit network industrial camera

Also Published As

Publication number Publication date
CN105376165B (en) 2019-02-22

Similar Documents

Publication Publication Date Title
CN105376165A (en) UDP multicast method, system, sending device, and receiving device
CN101010880B (en) Method for reliably transmitting data, device and network, and real time data transmission system
CN104092719B (en) Document transmission method, device and distributed cluster file system
CN101552652A (en) A document transmission method and transmission device
CN104933114A (en) Mass log management cloud platform
CN102118434A (en) Data packet transmission method and device
CN103220206A (en) Message sending method and device and message receiving method and device
CN101594308B (en) Method and system for transmitting message
CN110460412A (en) Method and RDMA network interface card for data transmission
CN105824846A (en) Data migration method and device
CN103188059A (en) Method, device and system for data packet retransmission in quick path interconnect system
CN103141050A (en) Data packet retransmission method and node in quick path interconnect system
CN104065465B (en) A kind of method of message retransmission, request end, responder and system
CN104679596A (en) Message processing method and system for improving concurrence performance of server-side
CN105162727B (en) A kind of method for realizing quick peer-to-peer communications in DSFA systems based on VxWorks system
CN105933453A (en) Data transmission method and system
CN101771718A (en) Clipboard synchronous method and system
US20220294566A1 (en) Dynamic management of packet loss
CN104917590A (en) Error correction method for channel coding
CN105354110A (en) Cloud server data backup method and apparatus
CN105095502A (en) Log collection method of cluster storage system
CN107809302A (en) File metadata redundant transmission, method of reseptance and system under a kind of unreliable link
US7100078B1 (en) Method and apparatus for restoration of lost blocks in a multicast data transmission
CN106648984A (en) Data backup method and device
CN104429009B (en) Method for transmitting data packets in the case of bidirectional transmission of data packets

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