CN101989902B - Data retransmission method and device - Google Patents
Data retransmission method and device Download PDFInfo
- Publication number
- CN101989902B CN101989902B CN201010546819.XA CN201010546819A CN101989902B CN 101989902 B CN101989902 B CN 101989902B CN 201010546819 A CN201010546819 A CN 201010546819A CN 101989902 B CN101989902 B CN 101989902B
- Authority
- CN
- China
- Prior art keywords
- data
- packet loss
- needing
- identification information
- retransmitted
- 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.)
- Active
Links
Abstract
The invention discloses data retransmission method and device. The method comprises the following steps of: presetting the parameter information of data to be retransmitted at a receiving end; detecting the packet loss rate of received message data at the receiving end; determining the data to be retransmitted according to the parameter information when the packet loss rate is judged to be greater than the preset packet loss rate threshold, extracting the identification information of the data to be retransmitted, sending the identification information to a transmitting end, and requesting data retransmission. In the invention, a user specifies the data requiring high quality transmission by providing a user customization mechanism, data retransmission is executed for the packet loss of the data, and the packet loss of other data is not concerned. Thus, the invention not only can ensure that a part of data requiring high quality transmission can be retransmitted after loss, but also can not aggravate network burden in wide range.
Description
Technical field
The present invention relates to network communication and transmission technical field, in particular, relate to a kind of data repeating method and device.
Background technology
The signals such as the audio frequency transmitted in network, owing to considering the ageing and utilization of resources, are all use UDP (User Datagram Protocol, User Datagram Protoco (UDP)) message to carry out transmitting.Data are transmitted in a network, because of factors such as the network bandwidth are inadequate, can produce the situation of packet loss unavoidably.Because UDP transmission has insecure speciality, therefore when requiring higher to audio quality, need the packet drop according to its message, carry out retransmission operation.
Data re-transmission technology is exactly that receiving terminal finds after packet loss, sends retransmission instructions, and the data requiring transmitting terminal to resend to be lost, to ensure a kind of method of the integrality of transfer of data.
With reference to shown in Fig. 1, be the method flow diagram of data re-transmission in prevailing network, said method comprising the steps of:
Step 101: at the receiving terminal of data, carries out packet loss detection;
Step 102: judge whether packet loss is greater than threshold, if so, performs step 103; If not, perform step 106;
Step 103: extract the identification information being dropped message;
Step 104: send this identification information to the transmitting terminal of message, requires to retransmit;
Step 105: the transmitting terminal of message retransmits this message, forwards step 101 to;
Step 106: complete data receiver, terminates.
Visible, because existing data re-transmission technology is the re-transmission action carried out all loss messages, when the network bandwidth is nervous, the data of re-transmission can take the network bandwidth again further, thus add the burden of macroreticular, and emphasis network is congested.
Summary of the invention
Technical problem to be solved by this invention is, ensureing the integrality of transfer of data and the network bandwidth is caused between burden seeking a balance point, propose one both can ensure that customization data can be retransmitted after the loss., again can not on a large scale emphasis network bear data repeating method and device.
In order to solve the problems of the technologies described above, the invention provides a kind of data repeating method, comprising:
Receiving terminal pre-sets the parameter information needing the data retransmitted;
Receiving terminal detects packet loss to the message data received;
Being greater than default packet loss threshold value when determining described packet loss, determining the data needing to retransmit according to described parameter information, extract the identification information needing the data retransmitted, send described identification information to transmitting terminal, request data retransmission.
Furthermore, described parameter information comprises: one or more in source address, user ID, data category.
Furthermore, described packet loss threshold value is system default or is set by the user.
Furthermore, described extraction also comprises after needing the step of the identification information of the data retransmitted:
Receiving terminal, according to described identification information, orients the transmitting terminal needing the data retransmitted, and the described characteristic information needing the data retransmitted.
Furthermore, described method also comprises:
Transmitting terminal determines the data needing to retransmit according to described identification information, and retransmits.
In order to solve the problems of the technologies described above, present invention also offers a kind of data retransmission device, being arranged at data receiver, comprising:
Module is set, for pre-setting the parameter information needing the data retransmitted;
Detection module, for detecting packet loss to the message data received;
Judge module, for being greater than default packet loss threshold value when determining described packet loss, determines the data needing to retransmit according to described parameter information;
Processing module, for extracting the identification information needing the data retransmitted, sends described identification information to transmitting terminal, request data retransmission.
Furthermore, described module is set, is further used for pre-setting described parameter information and comprises: one or more in source address, user ID, data category.
Furthermore, described packet loss threshold value is system default.
Furthermore, described module is set, is further used for setting packet loss threshold value.
Furthermore, described processing module, is further used for according to described identification information, orients the transmitting terminal needing the data retransmitted, and the described characteristic information needing the data retransmitted.
The present invention is by proposing a kind of customization mechanism, and specified the data needing high-quality transmission by user, for the packet loss executing data retransmission of these data, the packet loss of other data will not be paid close attention to.So both can guarantee section need the data of high-quality transmission can be retransmitted after the loss., can not bear by emphasis network on a large scale again.
Accompanying drawing explanation
Fig. 1 is the method flow diagram of data re-transmission in prevailing network.
Fig. 2 is the flow chart of data repeating method first embodiment based on customization of the present invention.
Fig. 3 is the flow chart of data repeating method second embodiment based on customization of the present invention.
Fig. 4 is data retransmission device structural representation of the present invention.
Embodiment
The present invention proposes to perform customization mode for data re-transmission, user can according to the needs of self and focus, the occasion very high for quality requirements such as audio frequency and scene, specify the parameter information needing the data retransmitted, such as from the parameter such as source address, user ID, data category, customize out the interested data of some users.Receiving equipment can filter out these parameters easily by chip controls, follows the tracks of the data that these meet user's requirement and adds up.
Then according to system default, or equally by the difference of user according to the needs of controlling oneself or application scenarios, specify the packet loss of each data, meet whole retransmission mechanism, the feature of customization.When the packet loss of user's specific data reaches the threshold value that user specifies, receiving equipment requires to retransmit to this packet loss.Other are not met to the data of customization mode, even if there is packet loss also to abandon the operation retransmitted, thus reduction total data retransmits the pressure brought the network bandwidth.
For making feature of the present invention and realizing distincter, below in conjunction with accompanying drawing and preferred embodiment, the data repeating method that the present invention is based on customization is described.
With reference to shown in Fig. 2, it is the flow chart of data repeating method first embodiment based on customization of the present invention.Said method comprising the steps of:
Step 201: pre-set the parameter information needing the data retransmitted;
Step 202: receiving terminal detects packet loss for the message data received;
Step 203: be greater than default packet loss threshold value when determining described packet loss, determines the data needing to retransmit according to described parameter information, extract the identification information needing the data retransmitted, send described identification information to transmitting terminal, request data retransmission;
Step 204: transmitting terminal determines the data needing to retransmit according to described identification information, and retransmits.
With reference to shown in Fig. 3, be the method second embodiment flow chart of the data re-transmission based on customization of the present invention, said method comprising the steps of:
Step 301: customization retransmits model, according to the interested data of user or application scenarios, one or more in the parameters such as specified source addresses, user ID, data category make the re-transmission model meeting user and require;
Certainly, also can set according to other parameter information the data needing to retransmit, the present invention is not limited for the kind of parameter information.
Step 302: receiving terminal is for the packet check packet loss received;
Step 303: judge whether packet loss is greater than threshold value, if so, performs step 304; If not, perform step 308;
Step 304: judge whether these data meeting packet loss threshold value are customization data, if so, performs step 305; If not, perform step 308;
Step 305: extract the identification information needing data retransmission, according to these identification informations, orients the transmitting terminal needing the data retransmitted, and some characteristic informations of the data of these needs re-transmission, facilitates transmitting terminal to retransmit this data;
Step 306: send identification information to transmitting terminal, request data retransmission;
Step 307: transmitting terminal determines the data needing to retransmit according to described identification information, transmitting terminal retransmits this data, performs step 302;
Step 308: complete data receiver, terminates.
It is pointed out that the threshold value of the packet loss in step 303 is specified by user, according to the TL of user to packet loss, or for the requirement of data transmission quality, specified voluntarily by user, meet whole retransmission mechanism, the feature of customization; Certainly, described threshold value can be that the present invention is not limited this with system default.
With reference to shown in Fig. 4, be data retransmission device structural representation of the present invention, described data retransmission device is arranged at data receiver, comprising: arrange module 401, detection module 402, judge module 403, processing module 404.
Described module 401 is set, for pre-setting the parameter information needing the data retransmitted;
Described detection module 402, for detecting packet loss to the message data received;
Described judge module 403, for being greater than default packet loss threshold value when determining described packet loss, determines the data needing to retransmit according to described parameter information;
Described processing module 404, for extracting the identification information needing the data retransmitted, sends described identification information to transmitting terminal, request data retransmission.
In a preferred embodiment of the invention, described module 401 is set, is further used for pre-setting described parameter information and comprises: one or more in source address, user ID, data category.
Certainly, also can set according to other parameter information the data needing to retransmit, the present invention is not limited for the kind of parameter information.
In a preferred embodiment of the invention, described packet loss threshold value is system default, or arranges module 401 by described, further setting packet loss threshold value.
In a preferred embodiment of the invention, described processing module 404, is further used for according to described identification information, orients the transmitting terminal needing the data retransmitted, and the described characteristic information needing the data retransmitted.
The present invention proposes the demand according to user, formulate specific retransmission scheme by user, when the interested message packet loss of user is greater than threshold value, message is lost to these and retransmits.Like this while ensure that the high quality audio transmission integrity that user requires, too much influence can not be caused to network.
It is pointed out that and the foregoing is only the preferred embodiments of the present invention, be not limited to the present invention, for a person skilled in the art, under the prerequisite not departing from the technology of the present invention principle, the present invention can have various modifications and variations.Within the spirit and principles in the present invention all, any amendment done, equivalent replacement etc., all should be included within right of the present invention.
Claims (6)
1. a data repeating method, is characterized in that, comprising:
Receiving terminal pre-sets the parameter information needing the data retransmitted;
Receiving terminal detects packet loss to the message data received;
Being greater than default packet loss threshold value when determining described packet loss, determining the data needing to retransmit according to described parameter information, extract the identification information needing the data retransmitted, send described identification information to transmitting terminal, request data retransmission; After the step of the identification information of the data that described extraction needs retransmit, also comprise: receiving terminal, according to described identification information, orients the transmitting terminal needing the data retransmitted, and the characteristic information of the data of described needs re-transmission;
Wherein, described parameter information comprises: one or more in source address, user ID, data category.
2. data repeating method as claimed in claim 1, is characterized in that,
Described packet loss threshold value is system default or is set by the user.
3. data repeating method as claimed in claim 1, is characterized in that, also comprise:
Transmitting terminal determines the data needing to retransmit according to described identification information, and retransmits.
4. a data retransmission device, is arranged at data receiver, it is characterized in that, comprising:
Module is set, for pre-setting the parameter information needing the data retransmitted;
Detection module, for detecting packet loss to the message data received;
Judge module, for being greater than default packet loss threshold value when determining described packet loss, determines the data needing to retransmit according to described parameter information;
Processing module, for extracting the identification information needing the data retransmitted, sends described identification information to transmitting terminal, request data retransmission; Further, described processing module is further used for according to described identification information, orients the transmitting terminal needing the data retransmitted, and the described characteristic information needing the data retransmitted;
Wherein, described module is set, is further used for pre-setting described parameter information and comprises: one or more in source address, user ID, data category.
5. data retransmission device as claimed in claim 4, it is characterized in that, described packet loss threshold value is system default.
6. data retransmission device as claimed in claim 4, is characterized in that, describedly arranges module, is further used for setting packet loss threshold value.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201010546819.XA CN101989902B (en) | 2010-11-16 | 2010-11-16 | Data retransmission method and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201010546819.XA CN101989902B (en) | 2010-11-16 | 2010-11-16 | Data retransmission method and device |
Publications (2)
Publication Number | Publication Date |
---|---|
CN101989902A CN101989902A (en) | 2011-03-23 |
CN101989902B true CN101989902B (en) | 2014-12-31 |
Family
ID=43746269
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201010546819.XA Active CN101989902B (en) | 2010-11-16 | 2010-11-16 | Data retransmission method and device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN101989902B (en) |
Families Citing this family (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103516477A (en) * | 2012-06-29 | 2014-01-15 | 华为技术有限公司 | Data transmission method and device |
CN103051860A (en) * | 2012-12-27 | 2013-04-17 | 中兴通讯股份有限公司 | Video refreshing method, device, media gateway control equipment and media processing equipment |
CN103067957B (en) * | 2013-02-07 | 2016-04-27 | 深圳市磊科实业有限公司 | A kind of wireless system for transmitting data and its implementation being applied to point-to-point environment |
CN103312705B (en) * | 2013-06-04 | 2017-03-15 | 腾讯科技(深圳)有限公司 | A kind of data transmission method, apparatus and system |
CN106230562B (en) * | 2015-07-31 | 2019-11-15 | 北京智谷睿拓技术服务有限公司 | Data repeating method, data reconstruction method and its device |
CN114584844B (en) * | 2020-11-30 | 2023-09-22 | 青岛海信宽带多媒体技术有限公司 | RTP packet loss retransmission method and device and intelligent set top box |
CN114584845B (en) * | 2020-11-30 | 2023-10-20 | 青岛海信宽带多媒体技术有限公司 | RTP packet loss retransmission method and device and intelligent set top box |
CN114257836A (en) * | 2021-12-17 | 2022-03-29 | 青岛海信宽带多媒体技术有限公司 | Set top box and packet loss processing method |
CN114598377B (en) * | 2022-02-21 | 2022-12-06 | 北京富通亚讯网络信息技术有限公司 | Reliable data transmission system based on satellite network |
CN115314445B (en) * | 2022-08-26 | 2023-12-12 | 网易(杭州)网络有限公司 | Data message transmission method and device, storage medium and electronic equipment |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US5768527A (en) * | 1996-04-23 | 1998-06-16 | Motorola, Inc. | Device, system and method of real-time multimedia streaming |
EP1246409A1 (en) * | 2000-10-05 | 2002-10-02 | Mitsubishi Denki Kabushiki Kaisha | Packet retransmission system, packet transmission device, packet reception device, packet retransmission method, packet transmission method and packet reception method |
CN101656597A (en) * | 2009-09-14 | 2010-02-24 | 中兴通讯股份有限公司 | Data receiving and transmitting methods and devices and data transmission system |
-
2010
- 2010-11-16 CN CN201010546819.XA patent/CN101989902B/en active Active
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US5768527A (en) * | 1996-04-23 | 1998-06-16 | Motorola, Inc. | Device, system and method of real-time multimedia streaming |
EP1246409A1 (en) * | 2000-10-05 | 2002-10-02 | Mitsubishi Denki Kabushiki Kaisha | Packet retransmission system, packet transmission device, packet reception device, packet retransmission method, packet transmission method and packet reception method |
CN101656597A (en) * | 2009-09-14 | 2010-02-24 | 中兴通讯股份有限公司 | Data receiving and transmitting methods and devices and data transmission system |
Also Published As
Publication number | Publication date |
---|---|
CN101989902A (en) | 2011-03-23 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN101989902B (en) | Data retransmission method and device | |
US11641667B2 (en) | Methods, apparatuses and systems for transmitting data, and storage medium | |
CN105187907A (en) | Volume control system and control method for smart television | |
CN104427286A (en) | Method and system for making video call | |
WO2021228131A1 (en) | Information transmission method and apparatus, and electronic device | |
US9538132B2 (en) | Methods, devices, and systems for controlling audio and video transmission | |
CN107104908A (en) | A kind of communication means and device | |
US9871929B2 (en) | Communication method and user equipment | |
JPWO2020222265A5 (en) | Terminals, communication systems, and communication methods | |
JP5476852B2 (en) | COMMUNICATION DEVICE, COMMUNICATION SYSTEM, AND COMMUNICATION METHOD | |
CN101426189B (en) | Method and system for additional information transmission | |
WO2013102401A1 (en) | Re-routing method and system in mocn network, base station controller and core network device | |
CN101998102A (en) | Method for controlling video quality of mobile video telephone and mobile video telephone | |
CN103841584A (en) | Data transmission method and device | |
CN104166637A (en) | Information receiving and sending method, terminal and system | |
CN102065372A (en) | Method for transmitting data in broadcast mode and related device | |
CN104299128B (en) | Utilize the method for payment of smart television, mobile terminal and smart television | |
CN112136285A (en) | Data transmission method, device and storage medium | |
CN108040332B (en) | Bluetooth-based audio transmission method and device, storage medium and terminal | |
WO2018006525A1 (en) | Emergency service method and apparatus, and storage medium | |
CN114125397A (en) | Audio and video communication method, device and system | |
CN107249194A (en) | Manage method, device and the equipment of wireless network connection | |
CN113424560B (en) | Method and apparatus for group content delivery | |
CN101925021A (en) | Method/system for processing messages and convergence service system | |
CN106851526B (en) | Method and equipment for processing MTC (machine type communication) message |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C14 | Grant of patent or utility model | ||
GR01 | Patent grant |