CN103856445A - UDP-based voice data service data transmission method, device and system - Google Patents

UDP-based voice data service data transmission method, device and system Download PDF

Info

Publication number
CN103856445A
CN103856445A CN201210504545.7A CN201210504545A CN103856445A CN 103856445 A CN103856445 A CN 103856445A CN 201210504545 A CN201210504545 A CN 201210504545A CN 103856445 A CN103856445 A CN 103856445A
Authority
CN
China
Prior art keywords
data
udp
fifo
speech data
module
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
CN201210504545.7A
Other languages
Chinese (zh)
Other versions
CN103856445B (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.)
Beijing Bbef Science and Technology Co Ltd
Original Assignee
Beijing Bbef Science and Technology Co Ltd
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 Beijing Bbef Science and Technology Co Ltd filed Critical Beijing Bbef Science and Technology Co Ltd
Priority to CN201210504545.7A priority Critical patent/CN103856445B/en
Publication of CN103856445A publication Critical patent/CN103856445A/en
Application granted granted Critical
Publication of CN103856445B publication Critical patent/CN103856445B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The invention relates to a UDP-based voice data service data transmission method, device and system. The method comprises that: when data of the UDP-based voice data service needed to be received are monitored by a receiving end, the data are cached in a cache module, and a cache address pointer of the data is stored in a first FIFO; when the data are not monitored and the first FIFO is non-empty, the cache address pointer is read from the first FIFO, the corresponding data in the cache module are parsed according to the cache address pointer, and the cache address pointer of the processed data is stored in a second FIFO; and when the data are not monitored, the first FIFO is non-empty and the second FIFO is non-empty, the cache address pointer is read from the second FIFO, and the corresponding data in the cache module are cache-released according to the cache address pointer. Realization cost of the UDP-based voice data service data transmission is effectively reduced.

Description

Data transmission method, device and the system of the speech data business based on UDP
Technical field
The present invention relates to UDP message transmission technology, particularly relate to the data transmission system of the data sink of a kind of data transmission method of the speech data business based on UDP, speech data business based on UDP and the speech data business based on UDP.
Background technology
UDP(User Datagram Protocol, User Datagram Protoco (UDP)) be OSI(Open SystemInterconnect, open system interconnection) the connectionless transport layer protocol of one in reference model.
UDP is than TCP(Transmission Control Protocol, transmission control protocol) want simple, UDP does not only have current control (flow control) and the congestion control (congestion control) in TCP, confirm that datagram transmits the datagram that whether correctly receives and receive and the function such as sequentially whether puts upside down nor have, that is to say, UDP provides the simple insecure information transfer service towards affairs, only carries out the send and receive of datagram.
But simple just because of UDP, makes UDP have transmission speed faster than TCP.At present, a lot of real-time video speech network host-host protocols are all based on UDP, as RTP(Real-time Transport Protocol, RTP) and RTSP(Real Time Streaming Protocol, real time streaming transport protocol) etc.
At present, for speech data business is provided for specific user, speech data business based on UDP adopts clean culture or multicast mode conventionally, its transfer of data implementation is generally: transmitting terminal adopts clean culture or multicast mode to send the datagram based on UDP, and the dissection process module of receiving terminal is processed accordingly to the datagram receiving.
Inventor finds realizing in process of the present invention: because the data instantaneous transmission speed of the speech data business based on UDP is higher, therefore, hardware requirement to receiving terminal is higher, as receiving terminal need to adopt high speed processor etc., thereby make transfer of data to realize cost higher; In addition, can not ensure that the order of datagram receives due to UDP, therefore, the transfer of data implementation of the speech data business based on UDP is more single, thereby makes its flexibility poor.
Because the problem that the transfer of data implementation of the existing speech data business based on UDP exists, practical experience and the professional knowledge of the inventor based on being engaged in this type of product design manufacture and enriching for many years, and the utilization of cooperation scientific principle, actively research and innovation in addition, to founding a kind of data transmission method and system of the speech data business based on UDP, the problem that can overcome the transfer of data implementation existence of the existing speech data business based on UDP, makes it have more practicality.Through continuous research and design, and through repeatedly studying sample and improvement, finally create the present invention who has practical value.
Summary of the invention
Main purpose of the present invention is, overcome the problem of the transfer of data implementation existence of the existing speech data business based on UDP, and a kind of data transmission method, device and system of the new speech data business based on UDP be provided, technical problem to be solved is, reduce the speech data business based on UDP transfer of data realize cost.
Object of the present invention and solve its technical problem and can adopt following technical scheme to realize.
The data transmission method of a kind of speech data business based on UDP proposing according to the present invention, comprising: receiving terminal is intercepted the data of the speech data business that whether has needs reception; In the time listening to the data that need the speech data business receiving, receiving terminal executing data caching, the operation of described data buffer storage comprises: the data buffer storage of described speech data business, in cache module, and is stored to the buffer address pointer of described data in a FIFO; Do not listening to the data that need the speech data business receiving, and when a FIFO is non-NULL, receiving terminal executing data is processed operation, described data processing operation comprises: from a FIFO, read buffer address pointer, according to this buffer address pointer, the corresponding data of storing in described cache module is carried out to dissection process, and in the 2nd FIFO the buffer address pointer of storing and resolving data after treatment; Not listening to while needing the data, a FIFO of the speech data business receiving to be non-NULL for empty and the 2nd FIFO, receiving terminal is carried out buffer memory releasing operation, described buffer memory releasing operation comprises: from the 2nd FIFO, read buffer address pointer, and according to the buffer address pointer reading out, the corresponding data of storing in described cache module is carried out to buffer memory release and process from the 2nd FIFO; In above-mentioned data processing operation or described buffer memory releasing operation process, if receiving terminal listens to the data that need the speech data business receiving, interrupt current data and process operation or buffer memory releasing operation, and carry out described data buffer storage operation.
The data sink of a kind of speech data business based on UDP proposing according to the present invention, comprising: this device comprises: receiver module, dissection process module, buffer memory release module, a FIFO, the 2nd FIFO and cache module; Described receiver module, for in the time listening to the data that need the speech data business receiving, produce interrupt signal, by the data buffer storage of described speech data business in cache module, and in a FIFO, store the buffer address pointer of described data, wherein, described interrupt signal makes described dissection process module or buffer memory release module interrupt working as pre-treatment; Dissection process module, for do not listen to the data that need the speech data business receiving at receiver module, and when a FIFO is non-NULL, from a FIFO, read buffer address pointer, according to this buffer address pointer, the corresponding data of storing in described cache module is carried out to dissection process, and in the 2nd FIFO the buffer address pointer of storing and resolving data after treatment; Buffer memory release module, while needing the data of the speech data business receiving, a FIFO to be non-NULL for empty and the 2nd FIFO for not listening at receiver module, from the 2nd FIFO, read buffer address pointer, and according to the buffer address pointer reading out, the corresponding data of storing in described cache module is carried out to buffer memory release and process from the 2nd FIFO.
The data transmission system of a kind of speech data business based on UDP proposing according to the present invention, comprising: transmitting terminal and at least one receiving terminal; Described transmitting terminal sends the data of speech data business to described receiving terminal for the mode with clean culture or multicast; The data sink of the described receiving terminal speech data business based on UDP as above.
By technique scheme, the data transmission method of the speech data business based on UDP of the present invention, device and system at least have following advantages and beneficial effect: the present invention is by arranging cache module, the one FIFO and the 2nd FIFO, and receiving terminal is in the time receiving the data of the speech data business based on UDP, by this data buffer storage in cache module, and the buffer address pointer of these data is stored in a FIFO, like this, receiving terminal can be in the case of the data that do not need to receive, according to the buffer address pointer of storing in a FIFO, the corresponding data of storing in cache module is carried out to dissection process, by the buffer address pointer of data after treatment is stored in the 2nd FIFO, like this, receiving terminal can be in the case of not needing the data that receive and not needing the data of dissection process, according to the buffer address pointer of storing in the 2nd FIFO, the corresponding data of storing in cache module is carried out to buffer memory releasing operation, thereby receiving terminal can be in the situation that its hardware configuration be lower, the reception caching process, dissection process and the buffer memory that complete smoothly data discharge to be processed, and realizes the transfer of data of the speech data business based on UDP, thereby receiving terminal of the present invention can be realized transfer of data in the situation that adopting low speed processor, and the transfer of data that effectively reduces the speech data business based on UDP realizes cost, in addition, the present invention is by encapsulating the data of the speech data business based on UDP with the form of frame format, and frame number is set in frame head and/or wraps the fields such as sequence number, make the data that receiving terminal can receive it carry out correct sequence, thereby avoided the more single phenomenon of transfer of data implementation of the speech data business based on UDP, and then the flexibility that has improved the transfer of data implementation of the speech data business based on UDP.
In sum, the present invention has significant progress technically, and has significantly positive technique effect, is really a new and innovative, progressive, practical new design.
Above-mentioned explanation is only the general introduction of technical solution of the present invention, in order to better understand technological means of the present invention, and can be implemented according to the content of specification, and for above and other object of the present invention, feature and advantage can be become apparent, below especially exemplified by preferred embodiment, and coordinate Figure of description, be described in detail as follows.
Brief description of the drawings
Fig. 1 is the flow chart of the data transmission method of the speech data business based on UDP of the present invention;
Fig. 2 is the frame structure schematic diagram of FIP of the present invention;
Fig. 3 is the frame structure schematic diagram of UIP of the present invention;
Fig. 4 is that a FIP of the present invention is encapsulated in the schematic diagram in multiple UIP;
Fig. 5 is the data sink schematic diagram of the speech data business based on UDP of the present invention;
Fig. 6 is the data transmission system schematic diagram of the speech data business based on UDP of the present invention.
Embodiment
Technological means and effect of taking for reaching predetermined goal of the invention for further setting forth the present invention, below in conjunction with accompanying drawing and preferred embodiment, embodiment, structure, feature and the actual effect of data transmission method, device and system to the speech data business based on UDP proposing according to the present invention, be described in detail as follows.
The data transmission method of embodiment mono-, speech data business based on UDP, the method is realized by the receiving terminal in system, and the flow process of the method is as accompanying drawing 1.
S100, receiving terminal are intercepted the signal transmitting in network, and determine whether the data of the speech data business that needs its reception according to the result of intercepting.For example, receiving terminal judges whether its front n bit information listening to is predetermined value, and predetermined value defines the data that need the speech data of its reception business if, otherwise, determine the data that there is no its speech data business that need to receive.The present invention does not limit that receiving terminal is intercepted and the above-mentioned specific implementation that whether has the judgement that needs the data that receive.
The data of the speech data business based on UDP in the present invention can be not only the speech data of the speech data business based on UDP, can also be the control information of the speech data business based on UDP.
Receiving terminal is in the time listening to the data that need the speech data business receiving, to S110, i.e. receiving terminal executing data caching.
Receiving terminal needs the data of speech data business that receive not listening to, and in the situation that determining a FIFO and being non-NULL, to S120, receiving terminal executing data is processed operation.
Receiving terminal needs the data of speech data business that receive not listening to, and in the situation that to determine a FIFO being empty and the 2nd FIFO is non-NULL, to S130, receiving terminal is carried out buffer memory releasing operation.
In addition, receiving terminal is not listening to the data that need the speech data business receiving, and to determine a FIFO be empty and the 2nd FIFO also for empty in the situation that, receiving terminal only continues to intercept, and can not carry out above-mentioned data buffer storage operation, data processing operation and buffer memory releasing operation.
It should be noted that, the data of the speech data business based on UDP in the present invention can be the data that transmitting terminal sends with mode of unicast, can be also the data that transmitting terminal sends with multicast mode; And, the data of being somebody's turn to do the speech data business based on UDP can be the data of existing form, it is the form of the data message of the existing speech data business based on UDP, also can be: the form of the UDP interface bag that encapsulates with frame format (be UDP Interface Package, can referred to as UIP).
The UDP interface bag (UIP) of frame format of the present invention comprises: frame head (can be called UIP bag frame head) and frame (can be called UIP bag frame), and can include in frame head: sequence number, payload type, payload length and the CRC check code of UIP data structure version identifier field, UDP interface bag.When the payload carrying is the FIP of frame format, in the frame head of UIP, can also include FIP segment identification in the frame of UIP.
The version number of above-mentioned UIP data structure version identifier field for representing that the data structure of this UIP adopts, so that the upgrading of the data structure of UIP; The sequence number of above-mentioned UDP interface bag is for representing the serial number of this UIP; The type of the data that above-mentioned payload type carries for the payload that represents this UIP, controls data or speech data etc. in this way; Above-mentioned payload length is for representing the shared byte number of payload of this UIP; The position of the data that above-mentioned FIP segment identification carries for the payload that represents this UIP in a FIP is original position, or centre position, or end position; Above-mentioned CRC check code is for carrying out verification to aforementioned each field of FIP frame head.
The FIP of above-mentioned frame format comprises: frame head (can be called FIP bag frame head) and frame, and the frame head of FIP can include: FIP frame number field, traffic data type field, reservation bit field and Frame length field.The payload carrying in FIP frame is the speech data of speech data business or the control data of speech data business.
Above-mentioned FIP frame number field is for representing the serial number of FIP frame; The type of the data that above-mentioned traffic data type field is carried for the payload that represents FIP, as: data, time data or speech data etc. controlled; Above-mentioned reservation bit field can give over to subsequent expansion and use; Above-mentioned Frame length field is used for the total length of the frame of the frame that represents FIP.
The data of the speech data business based on UDP that receiving terminal receives can be for carrying the UIP of FIP, a concrete example, and first, the audio data stream that transmitting terminal sends needs is encapsulated as the FIP of frame format; Secondly, transmitting terminal judges whether the length of this FIP is greater than predetermined length (as 1024 bytes), in the time that the length of judging this FIP is greater than predetermined maximum, this FIP is carried out segment processing by transmitting terminal, by each segment encapsulation in the frame of a UIP, and arranging after the frame head of each UIP, send the plurality of UIP in the mode of clean culture or multicast to receiving terminal; Transmitting terminal, in the time that the length of judging this FIP is not more than predetermined maximum, can directly be encapsulated in this FIP in the frame of a UIP, and sends this UIP in the mode with clean culture or multicast after the frame of this UIP that arranges to receiving terminal.
A concrete example of above-mentioned FIP and UIP, as shown in Figures 2 to 4.
In Fig. 2, the length of the frame head of FIP (being the FIP bag frame head in Fig. 2) is 5 bytes and is regular length, but the length of the frame of FIP is variable, and this frame is for voice-bearer data or control data.The 0th byte of the frame head of FIP is FIP frame number field (being the frame number in Fig. 2), the 1st byte of the frame head of FIP is divided into two parts, high 4 bits are traffic data type, and low 4 bits are for retaining position, and the 2-4 byte of the frame head of FIP is Frame length field.
In Fig. 3, the length of the frame head of UIP (being the UIP bag frame head in Fig. 3) is 7 bytes and is regular length, and the length of the frame of UIP is variable, and the frame of UIP is mainly used in carrying FIP.The frame head of UIP the 0th byte is UIP data structure version identifier field (being the version number in Fig. 3), and the 1st byte is the sequence number (being the bag sequence number in Fig. 3) of UDP interface bag; The 2nd byte is divided into two parts, high 6 bits are payload type, low 2 bits are FIP segment identification (being the segment identification in Fig. 3), as 00 expression FIP data sectional starts (being original position), 01 represents FIP data sectional (being centre position) continuously, and 10 represent that FIP data sectional finishes (being end position); 3-4 byte is payload length byte; 5-6 byte is CRC check code (being the CRC inspection in Fig. 3).
In Fig. 4, a FIP is divided into three segmentations, and first segmentation comprises the frame head of FIP and the start-up portion of speech data, and second segmentation comprises the mid portion of the speech data of FIP, and the 3rd segmentation comprises the latter end of the speech data of FIP.Three segmentations are carried by the frame of three UIP.
The data buffer storage of the speech data business that S110, receiving terminal are received in cache module (as internal memory), and in a FIFO buffer address pointer of these data of memory buffers.
Concrete, the size of cache module can arrange according to the maximum length of actual network transfer speeds and UIP, for example, the size of the cache module of receiving terminal can be N × L, wherein, and the degree of depth that N is cache module, L is the maximum length of UIP, and the value of N is relevant with network transmission speed.In addition, the degree of depth of a FIFO also can be set to N, and the width of a FIFO can be set to the length of buffer address pointer.
S120, receiving terminal read buffer address pointer from a FIFO, and the data of this pointed of storing in cache module are carried out to dissection process according to this buffer address pointer, and the buffer address pointer of receiving terminal storing and resolving data after treatment in the 2nd FIFO.
Concrete, the degree of depth of the 2nd FIFO can be set to above-mentioned N, and the width of the 2nd FIFO can be set to the length of buffer address pointer.The dissection process here can be processed operation for decoding and packet sequencing etc., and the present invention does not limit the specific implementation of dissection process.
S130, receiving terminal read buffer address pointer from the 2nd FIFO, and the buffer address pointer reading out from the 2nd FIFO according to it carries out buffer memory release processing to the corresponding data of this pointed of storing in cache module.
It should be noted that for above-mentioned S120 and S130, receiving terminal is processed in the process of operation or buffer memory releasing operation at executing data, once receiving terminal listens to the data that need the speech data business receiving, receiving terminal interrupts its current data processing operation of carrying out or buffer memory releasing operation (as interrupted the current operation of carrying out in the mode of interrupt signal) immediately, and executing data caching (being S110) immediately.
The data sink of embodiment bis-, speech data business based on UDP.This device is arranged at receiving terminal, and the structure of this device as shown in Figure 5.
This device shown in Fig. 5 comprises: receiver module 10, dissection process module 20, buffer memory release module 30, a FIFO40, the 2nd FIFO50 and cache module 60.This device can adopt based on Embedded microcontroller platform and realize, as this platform adopts the integrated embedded structure with FLASH, SRAM and MAC, thereby make receiving terminal possess simple in structure and low cost and other advantages, and the treatment mechanism of the double-FIFO of this device can make receiving terminal realize transfer of data based on low speed processor in the situation that, that has reduced transfer of data realizes cost and system power dissipation.
Receiver module 10 is all connected with dissection process module 20, buffer memory release module 30, a FIFO40 and cache module 60.
Receiver module 10 is mainly used in, in the time listening to the data that need the speech data business receiving, producing interrupt signal, so that dissection process module 20 or buffer memory release module 30 are interrupted current processing immediately; And receiver module 10 in cache module 60, and is stored by these data the data buffer storage of the speech data business of its reception corresponding buffer address pointer and is stored in a FIFO40 in cache module 60.
The data that receiver module 10 receives can be the data that transmitting terminal sends with mode of unicast or multicast mode, and the concrete structure of data is as the description in above-described embodiment one, is not repeated.
Dissection process module 20 is all connected with receiver module 10, a FIFO40, the 2nd FIFO50 and cache module 60.
Dissection process module 20 is mainly used in not listening at receiver module 10 data that need the speech data business receiving, and when a FIFO40 is non-NULL, from a FIFO40, read buffer address pointer, and carry out dissection process according to the corresponding data of storage in this buffer address pointer reading cache module 60 pointed, and in the 2nd FIFO50 the buffer address pointer of storing and resolving data after treatment.In addition, dissection process module 20 is in the situation that receiver module 10 produces interrupt signal, if dissection process module 20 is being carried out dissection process, dissection process module 20 should stop this dissection process operation immediately, so that receiver module 10 can be carried out caching process operation normally.
Buffer memory release module 30 is all connected with receiver module 10, a FIFO40, the 2nd FIFO50 and cache module 60.
Buffer memory release module 30 is mainly used in not listening to while needing the data, a FIFO40 of the speech data business receiving to be non-NULL for empty and the 2nd FIFO50 at receiver module 10, buffer memory release module 30 reads buffer address pointer from the 2nd FIFO50, and the corresponding data of storage in the buffer address pointer reading out from the 2nd FIFO50 according to it cache module 60 pointed carries out buffer memory and discharges and process.In addition, buffer memory release module 30 is in the situation that receiver module 10 produces interrupt signal, if carrying out buffer memory, buffer memory release module 30 discharges processing, buffer memory release module 30 should stop this buffer memory release processing operation immediately, so that receiver module 10 can be carried out caching process operation normally.
The data transmission system of embodiment tri-, speech data business based on UDP.
This system comprises: transmitting terminal and at least one receiving terminal.In the situation that system comprises multiple receiving terminal, this system as shown in Figure 6.
System in Fig. 6 comprises N(N>1) individual receiving terminal (is receiving terminal 1, receiving terminal 2, receiving terminal 3 ... receiving terminal N), transmitting terminal is connected with each receiving terminal by Ethernet, and transmitting terminal can pass through multicast address (as 239.0.0.0 to 239.255.255.255) to receiving terminal 1, receiving terminal 2, receiving terminal 3 ... receiving terminal N sends the data of the speech data business based on UDP.
When the data that send to receiving terminal at transmitting terminal are the data of frame packing forms, transmitting terminal can comprise: the first package module, the second package module and sending module.
The first package module is connected with the second package module.The audio data stream that the first package module is mainly used in that needs are sent is encapsulated as the FIP of frame format.The concrete form of FIP, as the description in above-described embodiment one, is not repeated.
The second package module is all connected with the first package module and sending module.The second package module is mainly used in the time that the length of a FIP is greater than predetermined maximum, by FIP segmentation packaged above-mentioned the first package module, and be encapsulated in multiple UIP, otherwise the second package module is directly encapsulated in the packaged FIP of above-mentioned the first package module in a UIP.The second package module is exported its packaged UIP.The concrete form of the UIP here, as the description in above-described embodiment one, is not repeated.
Sending module is connected with the second package module.Sending module is mainly used in sending to one or more receiving terminal in the mode of clean culture or multicast the UIP of the second package module output.
The data sink that is provided with the speech data business based on UDP in receiving terminal, this device, as the description in above-described embodiment two, is not repeated.
The above is only preferred embodiment of the present invention, not the present invention is done to any pro forma restriction, although the present invention discloses as above with preferred embodiment, but not in order to limit technology of the present invention, any those skilled in the art are not departing within the scope of technical solution of the present invention, when can utilizing the technology contents of above-mentioned announcement to make a little change or being modified to the equivalent embodiment of equivalent variations, in every case be the content that does not depart from technical solution of the present invention, any simple modification of above embodiment being done according to technical spirit of the present invention, equivalent variations and modification, all still belong in the scope of technical solution of the present invention.

Claims (10)

1. a data transmission method for the speech data business based on UDP, is characterized in that, comprising:
Receiving terminal intercepts whether there are the data that need the speech data business receiving;
In the time listening to the data that need the speech data business receiving, receiving terminal executing data caching, the operation of described data buffer storage comprises: the data buffer storage of described speech data business, in cache module, and is stored to the buffer address pointer of described data in a FIFO;
Do not listening to the data that need the speech data business receiving, and when a FIFO is non-NULL, receiving terminal executing data is processed operation, described data processing operation comprises: from a FIFO, read buffer address pointer, according to this buffer address pointer, the corresponding data of storing in described cache module is carried out to dissection process, and in the 2nd FIFO the buffer address pointer of storing and resolving data after treatment;
Not listening to while needing the data, a FIFO of the speech data business receiving to be non-NULL for empty and the 2nd FIFO, receiving terminal is carried out buffer memory releasing operation, described buffer memory releasing operation comprises: from the 2nd FIFO, read buffer address pointer, and according to the buffer address pointer reading out, the corresponding data of storing in described cache module is carried out to buffer memory release and process from the 2nd FIFO;
In above-mentioned data processing operation or described buffer memory releasing operation process, if receiving terminal listens to the data that need the speech data business receiving, interrupt current data and process operation or buffer memory releasing operation, and carry out described data buffer storage operation.
2. the data transmission method of the speech data business based on UDP as claimed in claim 1, is characterized in that, the data of described speech data business are: the UDP interface bag encapsulating with frame format.
3. the data transmission method of the speech data business based on UDP as claimed in claim 2, is characterized in that, described method also comprises:
The audio data stream that transmitting terminal sends needs is encapsulated as the frame interface bag FIP of frame format;
In the time that the length of a FIP is greater than predetermined maximum, transmitting terminal by described FIP segment encapsulation in multiple UDP interface bags;
In the time that the length of a FIP is not more than predetermined maximum, transmitting terminal is directly encapsulated in described FIP in a UDP interface bag.
4. the data transmission method of the speech data business based on UDP as claimed in claim 3, is characterized in that, the frame head of described FIP comprises: FIP frame number field, traffic data type field, reservation bit field and Frame length field.
5. the data transmission method of the speech data business based on UDP as claimed in claim 3, it is characterized in that, the frame head of described UDP interface bag comprises: sequence number, payload type, FIP segment identification, payload length and the CRC check code of data structure version identifier field, UDP interface bag.
6. the data transmission method of the speech data business based on UDP as described in arbitrary claim in claim 1 to 5, is characterized in that, the data of the speech data business that described receiving terminal receives are the data that transmitting terminal sends in the mode of clean culture or multicast.
7. a data sink for the speech data business based on UDP, is characterized in that, this device comprises: receiver module, dissection process module, buffer memory release module, a FIFO, the 2nd FIFO and cache module;
Described receiver module, for in the time listening to the data that need the speech data business receiving, produce interrupt signal, by the data buffer storage of described speech data business in cache module, and in a FIFO, store the buffer address pointer of described data, wherein, described interrupt signal makes described dissection process module or buffer memory release module interrupt working as pre-treatment;
Dissection process module, for do not listen to the data that need the speech data business receiving at receiver module, and when a FIFO is non-NULL, from a FIFO, read buffer address pointer, according to this buffer address pointer, the corresponding data of storing in described cache module is carried out to dissection process, and in the 2nd FIFO the buffer address pointer of storing and resolving data after treatment;
Buffer memory release module, while needing the data of the speech data business receiving, a FIFO to be non-NULL for empty and the 2nd FIFO for not listening at receiver module, from the 2nd FIFO, read buffer address pointer, and according to the buffer address pointer reading out, the corresponding data of storing in described cache module is carried out to buffer memory release and process from the 2nd FIFO.
8. the data sink of the speech data business based on UDP as claimed in claim 7, it is characterized in that, the data of described speech data business are: the UDP interface bag encapsulating with frame format, and in the payload of described UDP interface bag, carry the frame interface bag FI P encapsulating with frame format.
9. a data transmission system for the speech data business based on UDP, is characterized in that, comprising: transmitting terminal and at least one receiving terminal;
Described transmitting terminal sends the data of speech data business to described receiving terminal for the mode with clean culture or multicast;
Described receiving terminal comprises the data sink of the speech data business based on UDP as claimed in claim 7.
10. the data transmission system of the speech data business based on UDP as claimed in claim 9, is characterized in that, described transmitting terminal comprises:
The first package module, for being encapsulated as the audio data stream of needs transmission the frame interface bag FIP of frame format;
The second package module, in the time that the length of a FIP is greater than predetermined maximum, by described FIP segment encapsulation in multiple UDP interface bags, otherwise, directly described FIP is encapsulated in a UDP interface bag;
Sending module, sends described UDP interface bag for the mode with clean culture or multicast to described receiving terminal.
CN201210504545.7A 2012-11-30 2012-11-30 The data transmission method of voice data traffic based on UDP, device and system Active CN103856445B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201210504545.7A CN103856445B (en) 2012-11-30 2012-11-30 The data transmission method of voice data traffic based on UDP, device and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201210504545.7A CN103856445B (en) 2012-11-30 2012-11-30 The data transmission method of voice data traffic based on UDP, device and system

Publications (2)

Publication Number Publication Date
CN103856445A true CN103856445A (en) 2014-06-11
CN103856445B CN103856445B (en) 2018-10-16

Family

ID=50863667

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201210504545.7A Active CN103856445B (en) 2012-11-30 2012-11-30 The data transmission method of voice data traffic based on UDP, device and system

Country Status (1)

Country Link
CN (1) CN103856445B (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105187440A (en) * 2015-09-26 2015-12-23 北京暴风科技股份有限公司 Method and system for transmitting video data by using UDP protocol
CN110062008A (en) * 2019-05-21 2019-07-26 北京计算机技术及应用研究所 Phonautograph system optimization method for software under harsh temperature conditions
CN117749789A (en) * 2024-02-07 2024-03-22 成都倍特数字能源科技有限公司 Transmission method based on UDP protocol

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1452351A (en) * 2002-04-17 2003-10-29 华为技术有限公司 Method for managing and allocating buffer storage during Ethernet interchange chip transmission of data
CN1819544A (en) * 2005-01-05 2006-08-16 华为技术有限公司 Buffer management based on bitmap list
CN101150525A (en) * 2007-11-20 2008-03-26 杭州华三通信技术有限公司 Release method, system and logic module for buffered address
CN101551736A (en) * 2009-05-20 2009-10-07 杭州华三通信技术有限公司 Cache management device and method based on address pointer linked list

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1452351A (en) * 2002-04-17 2003-10-29 华为技术有限公司 Method for managing and allocating buffer storage during Ethernet interchange chip transmission of data
CN1819544A (en) * 2005-01-05 2006-08-16 华为技术有限公司 Buffer management based on bitmap list
CN101150525A (en) * 2007-11-20 2008-03-26 杭州华三通信技术有限公司 Release method, system and logic module for buffered address
CN101551736A (en) * 2009-05-20 2009-10-07 杭州华三通信技术有限公司 Cache management device and method based on address pointer linked list

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105187440A (en) * 2015-09-26 2015-12-23 北京暴风科技股份有限公司 Method and system for transmitting video data by using UDP protocol
CN110062008A (en) * 2019-05-21 2019-07-26 北京计算机技术及应用研究所 Phonautograph system optimization method for software under harsh temperature conditions
CN117749789A (en) * 2024-02-07 2024-03-22 成都倍特数字能源科技有限公司 Transmission method based on UDP protocol
CN117749789B (en) * 2024-02-07 2024-05-03 成都倍特数字能源科技有限公司 Transmission method based on UDP protocol

Also Published As

Publication number Publication date
CN103856445B (en) 2018-10-16

Similar Documents

Publication Publication Date Title
US10057387B2 (en) Communication traffic processing architectures and methods
EP2353017B1 (en) Packet aggregation and fragmentation at layer-2 over a managed network
JP5774782B2 (en) Method and system for communicating data packets
US9654406B2 (en) Communication traffic processing architectures and methods
CN103023809B (en) Information system synchronous data processing method utilizing secondary buffer technology
CN110087140B (en) Method, device, medium and equipment for transmitting stream media data
CN103731409B (en) The distributed measurement device of embedded type automobile acquisition equipment for accelerating with TCP
WO2004112350A1 (en) Network protocol off-load engine memory management
US8990422B1 (en) TCP segmentation offload (TSO) using a hybrid approach of manipulating memory pointers and actual packet data
CN103944880B (en) A kind of method of ZigBee data transfers
WO2023240998A1 (en) Data packet processing method, communication chip and computer device
WO2014146468A1 (en) Method and apparatus for scheduling and buffering data packet, and computer storage medium
CN101656682B (en) Method and system for processing mobile multimedia data broadcasting services
JP2022539670A (en) Packet processing method and related device
CN113285931A (en) Streaming media transmission method, streaming media server and streaming media system
CN103856445A (en) UDP-based voice data service data transmission method, device and system
CN112787902B (en) Message encapsulation method and device and message decapsulation method and device
CN104158770A (en) A method and device for dividing and recombining switch packet
CN104378315A (en) Method and device for CAPWAP tunnel data package transmission
WO2013097218A1 (en) Stream media data processing method, device and system
US9176912B2 (en) Processor to message-based network interface using speculative techniques
CN101964751B (en) Transmission method and device of data packets
CN108614792B (en) 1394 transaction layer data packet storage management method and circuit
WO2019037439A1 (en) Data transmission method and device, terminal and server
CN101094167A (en) Method for raising handling efficiency of message server

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