CN101729223A - Packet retransmission method and related electronic device - Google Patents

Packet retransmission method and related electronic device Download PDF

Info

Publication number
CN101729223A
CN101729223A CN200810169034A CN200810169034A CN101729223A CN 101729223 A CN101729223 A CN 101729223A CN 200810169034 A CN200810169034 A CN 200810169034A CN 200810169034 A CN200810169034 A CN 200810169034A CN 101729223 A CN101729223 A CN 101729223A
Authority
CN
China
Prior art keywords
data
package
electronic installation
transmission efficiency
retransmission
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.)
Pending
Application number
CN200810169034A
Other languages
Chinese (zh)
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.)
Pixart Imaging Inc
Original Assignee
Pixart Imaging Inc
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 Pixart Imaging Inc filed Critical Pixart Imaging Inc
Priority to CN200810169034A priority Critical patent/CN101729223A/en
Publication of CN101729223A publication Critical patent/CN101729223A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Detection And Prevention Of Errors In Transmission (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The invention provides a packet retransmission method and a related electronic device for improving data transmission efficiency. The packet retransmission method comprises retransmitting when the first packet is not received successfully, wherein the first packet is used for bearing the first data for the previous transmission; and updating the first data when carrying out retransmission according to the second data so as to reform the first packet, wherein the second data is the next data of the first data in terms of time sequence. The method and device provided in the invention improve the transmission efficiency of data and reduces the chance of occurrence of data delay.

Description

Packet retransmission method and related electronic device
Technical field
The present invention is meant a kind of packet retransmission method and related electronic device, refers to a kind of by upgrading the carrying data that retransmit in the package, to improve the packet retransmission method and the related electronic device of data transmission efficiency especially.
Background technology
In a packet-switched formula network, be wired or wireless no matter it transmits media, package may take place because of the interference of circuit quality or network context and damage, loses or repeat various error situations such as reception in packet data in transmission course.Therefore, known technology development multiple error detection and correction technique, control package transmission is carried out mistake, and the reliability of increase package transmission.
In general, error correcting technique mainly can be divided into re-transmission (Retransmission) and forward error correction (Forward Error Correction, FEC) two kinds.Forward error correction is by error correcting code (Error-Correcting Codes, ECC) data are encoded, with after receiving terminal is finished Data Receiving, utilize its encoding mechanism that data are carried out simple error correction, therefore it can reduce the chance of the package that retransfers, and shortcoming is exactly to transmit extra data.
Compared to forward error correction, retransmission technique then is when receiving terminal detects the packet data mistake or loses, and guarantees that by retransmitting package the data of being transmitted all can be received end and correctly receive.In general, known technology can use an automatic re-send request may (Acknowledgment Repeat request, ARQ) mechanism allows package retransmit constantly that (PositiveAcknowledgement is ACK) till the information up to receiving a corresponding affirmative acknowledgement.
Yet, when package retransmits, identical package extra load (Packet Overhead), for example: information such as packet header, error checking sign indicating number (Error Checking Redundant) and passage synchronous code also can be retransmitted, and so will cause waste to limited channel resource.On the other hand, package retransmits also can increase the delay of transfer of data, and is unfavorable for some instantaneity demand higher data.
Summary of the invention
Therefore, purpose of the present invention promptly is to provide a kind of packet retransmission method and related electronic device that is used for improving data transmission efficiency.
The present invention discloses a kind of packet retransmission method that is used for improving data transmission efficiency.Described packet retransmission method includes when one first package is not successfully received, and retransmits described first package, and described first package is to be used for carrying one first data in last time transmitting; And when retransmitting,, upgrade described first data according to one second data, to form described first package again, next data that described second data are described first data on sequential.
The present invention discloses a kind of electronic installation of tool package functions of retransmission in addition, is used for improving data transmission efficiency, and described electronic installation comprises a control circuit, a memory and a processor.Described control circuit is used for realizing the package transmission function of described electronic installation.Described memory is located in the described control circuit, is used for storing a program code.Described processor is coupled to described memory and is located in the described control circuit, is used for carrying out described program code to control described control circuit.Wherein said program code includes when one first package is not successfully received, and retransmits described first package, and described first package is to be used for carrying one first data in last time transmitting; And when retransmitting,, upgrade described first data according to one second data, to form described first package again, next data that described second data are described first data on sequential.
Method provided by the invention and device have improved the efficiency of transmission of data, and reduce the chance that delay takes place data.
Description of drawings
Fig. 1 is the embodiment schematic diagram of an electronic installation of tool package transmission function of the present invention.
Fig. 2 retransmits the embodiment schematic diagram of flow process for the present invention is used for a package of improving data transmission efficiency.
Fig. 3 is for using the package transmission embodiment schematic diagram that package of the present invention retransmits flow process.
Fig. 4 is for using another package transmission embodiment schematic diagram that package of the present invention retransmits flow process.
Drawing reference numeral
10 electronic installations
110 input units
120 control circuits
140 processors
160 memories
162 program codes
180 transceivers
20 packages retransmit flow process
200~206 steps
The RX receiving terminal
The TX transmission ends
Embodiment
Please refer to Fig. 1, Fig. 1 is the embodiment schematic diagram of an electronic installation 10 of tool package transmission function of the present invention.Electronic installation 10 can be any electronic installation with package transmission function, and for example network equipment, mobile communications device, infrared transmission device or blue-tooth device or the like are in order to communicate by package transmission and other devices.Electronic installation 10 mainly includes a control circuit 120, a processor 140 and a memory 160.Control circuit 120 is to see through processor 140 to carry out a program code 162 that is stored in the memory 160, thereby control electronic installation 10 carries out the transmission of package.Electronic installation 10 includes a transceiver 180 in addition, is used for the signal that control circuit 120 is produced is exported in wired or wireless mode, or the signal that is received is sent to control circuit 120.In addition, electronic installation 10 can see through an input unit 110 in addition, receives the signal of outside input, with the generation packet data, and is stored in the buffer (not being shown in Fig. 1), and it is that those skilled in the art know, and does not give unnecessary details in this.
In general, error situations such as package damage or loss may take place because of the interference of circuit quality or network context in packet data in transmission course, thereby need guarantee that by retransmitting package the data of being transmitted all can be received end and correctly receive.In this case, the embodiment of the invention provides a package to retransmit flow process, the data transmission efficiency when retransmitting to improve package.Please refer to Fig. 2, Fig. 2 retransmits the embodiment schematic diagram of flow process 20 for the present invention is used for a package of improving data transmission efficiency.Package re-transmission flow process 20 can be compiled as the program code 162 among Fig. 1, and it may further comprise the steps:
Step 200: beginning.
Step 202: when one first package is not successfully received, retransmit described first package, described first package is to be used for carrying one first data in last time transmitting.
Step 204: when retransmitting,, upgrade described first data, to form described first package again, next data that described second data are described first data on sequential according to one second data.
Step 206: finish.
Retransmit flow process 20 according to package, the embodiment of the invention is when first package is not successfully received, for example receive a negative response (the Negative Acknowledgement of first package, NACK) information, or do not receive an affirmative acknowledgement (PositiveAcknowledgement of first package in timer expiration, ACK) during information, retransmit first package.Wherein, first package is to be used for carrying one first data in last time transmitting.When retransmitting, the embodiment of the invention is upgraded described first data according to one second data, forming first package again, and next data that described second data are described first data on sequential.
In other words, receive package and need carry out package when retransmitting when receiving terminal fails, the embodiment of the invention is to retransmit institute's data carried by data in the package according to next record transmission Data Update, so that receiving terminal can obtain up-to-date information when successfully receiving the re-transmission package, thereby improve the efficiency of transmission of data, and reduce the chance that data delay takes place.
In embodiments of the present invention, upgrading the mode that retransmits the data of carrying in the package roughly can be divided into: replace institute's data carried by data in the re-transmission package by next record transmission data; According to next record transmission data, the data of transmission are carried out computing to the last time, to form the carrying data in the package again, perhaps the next record transmission data string are connected to data back of last transmission or the like, and are not limited thereto.
For instance, in the application of some instantaneity, for example wireless mouse or satellite fix receiver (GPSdongle), because previous data are more inessential comparatively speaking, therefore when package retransmits, can transmit data by next record and replace the initial data (for example: replace the last coordinate data that transmits) that retransmits in the package with newer coordinate data, perhaps according to next record transmission data, last transmission data are carried out computing, to form the carrying data (for example :) that retransmit in the package again, to avoid retransmitting the situation that data delay takes place because of package with the displacement data and newer displacement data addition of last time transmission.
Preferably, package retransmits flow process 20 and whether includes the update times of judgement re-transmission package in addition above a higher limit, judge perhaps whether institute's data carried by data length surpasses steps such as a length restriction in the package, and when the package update times surpasses higher limit or data length when surpassing restriction, retransmit and last time transmitted identical package, with after avoiding retransmitting package and being successfully received, factor causes the excessive discontinuous situation of data according to upgrading too many.
Please refer to Fig. 3, Fig. 3 is for using the package transmission embodiment schematic diagram that package of the present invention retransmits flow process 20.Wherein, the time slot that is covered by shade (time slot) representative transmission package is failed to be received and is held RX successfully to receive and need retransmit; On the contrary, the time slot that is not covered by shade then represent the transmission package can be received the end RX successfully receive and need not retransmit.As shown in Figure 3, successfully receive, so transmission ends TX needs the carrying data in the package to be upgraded, to retransmit in the 2nd time slot according to next record transmission data because the transmission package of the 1st time slot fails to be received end RX.Similarly, successfully receive because the package of time slot 3,4,5 all fails to be received end RX, therefore the re-transmission package of the 6th time slot will include the renewal result of the 3rd~6 transmission data, and other time slots also by that analogy.Thus, only can carry out the transmission of 8 data compared to known technology in the 18th time slot, the embodiment of the invention can significantly improve the efficiency of transmission of data, and reduces the chance that data delay takes place.
On the other hand, please refer to Fig. 4, Fig. 4 is for using another package transmission embodiment schematic diagram that package of the present invention retransmits flow process 20.In Fig. 4, the embodiment of the invention limits the update times that retransmits package further, to avoid transmitting data excessive discontinuous situation takes place.Therefore, compared to Fig. 3, transmission ends TX has reached higher limit (is example with 3 times at this) in the 6th time slot because of the package update times, and retransmits and last time transmitted identical package, till described package is successfully received.Relevant mode of operation is similar to Fig. 3, repeats no more in this.
Note that above-mentioned electronic installation 10 only is of the present invention one explanation for example, those skilled in the art change when doing according to the actual requirements suitably, but not the mode that is limited to software or firmware realizes that package of the present invention retransmits flow process.
In sum, receive package and need carry out package when retransmitting when receiving terminal fails, the embodiment of the invention is according to institute's data carried by data in the next record transmission Data Update package, improving the efficiency of transmission of data, and reduces data the chance that postpones takes place.
The above only is preferred embodiment of the present invention, and all equalizations of doing according to claim of the present invention change and modify, and all should belong to covering scope of the present invention.

Claims (12)

1. one kind is used for the packet retransmission method of improving data transmission efficiency, it is characterized in that the described packet retransmission method that is used for improving data transmission efficiency includes:
When one first package is not successfully received, retransmit described first package, described first package is to be used for carrying one first data in last time transmitting; And
When retransmitting, according to one second data, upgrade described first data, to form described first package again, next data that described second data are described first data on sequential.
2. the method that the package that is used for improving data transmission efficiency as claimed in claim 1 retransmits, it is characterized in that, according to described second data, upgrade described first data, to form described first package again, be to replace described first data, to form described first package again by described second data.
3. the method that the package that is used for improving data transmission efficiency as claimed in claim 1 retransmits, it is characterized in that, according to described second data, upgrade described first data, to form described first package again, be according to described second data, described first data are carried out a logical operation, to form described first package again.
4. the method that the package that is used for improving data transmission efficiency as claimed in claim 1 retransmits, it is characterized in that, according to described second data, upgrade described first data, to form described first package again, be that described second serial data is connected to described first data, to form described first package again.
5. the method that the package that is used for improving data transmission efficiency as claimed in claim 4 retransmits is characterized in that, describedly comprises in addition:
Whether the data length sum total of judging described first data and described second data surpasses a higher limit; And
When described data length sum total surpasses described higher limit, retransmit and last time transmitted identical described first package.
6. the method that the package that is used for improving data transmission efficiency as claimed in claim 1 retransmits is characterized in that the described packet retransmission method that is used for improving data transmission efficiency comprises in addition:
Whether the update times of judging described first package surpasses a higher limit; And
When the update times of described first package surpasses described higher limit, retransmit and last time transmitted identical described first package.
7. the electronic installation of a tool package functions of retransmission is characterized in that, the electronic installation of described tool package functions of retransmission is used for improving data transmission efficiency, and described electronic installation comprises having:
One control circuit is used for realizing the package transmission function of described electronic installation;
One memory is located in the described control circuit, is used for storing a program code; And
One processor is coupled to described memory and is located in the described control circuit, is used for carrying out described program code to control described control circuit;
Wherein said program code includes:
When one first package is not successfully received, retransmit described first package, described first package is to be used for carrying one first data in last time transmitting; And
When retransmitting, according to one second data, upgrade described first data, to form described first package again, next data that described second data are described first data on sequential.
8. the electronic installation of tool package functions of retransmission as claimed in claim 7 is characterized in that, according to described second data, upgrade described first data, to form described first package again, be to replace described first data, to form described first package again by described second data.
9. the electronic installation of tool package functions of retransmission as claimed in claim 7, it is characterized in that, according to described second data, upgrade described first data, to form described first package again, be according to described second data, described first data are carried out a logical operation, to form described first package again.
10. the electronic installation of tool package functions of retransmission as claimed in claim 7 is characterized in that, according to described second data, upgrade described first data, to form described first package again, be that described second serial data is connected to described first data, to form described first package again.
11. the electronic installation of tool package functions of retransmission as claimed in claim 10 is characterized in that, described program code comprises in addition:
Whether a data length summation of judging described first data and described second data surpasses a higher limit; And
Surpass described higher limit constantly in described data length summation, retransmit and last time transmitted identical described first package.
12. the electronic installation of tool package functions of retransmission as claimed in claim 7 is characterized in that, described program code comprises in addition:
Whether the update times of judging described first package surpasses a higher limit; And
When the update times of described first package surpasses described higher limit, retransmit and last time transmitted identical described first package.
CN200810169034A 2008-10-14 2008-10-14 Packet retransmission method and related electronic device Pending CN101729223A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN200810169034A CN101729223A (en) 2008-10-14 2008-10-14 Packet retransmission method and related electronic device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN200810169034A CN101729223A (en) 2008-10-14 2008-10-14 Packet retransmission method and related electronic device

Publications (1)

Publication Number Publication Date
CN101729223A true CN101729223A (en) 2010-06-09

Family

ID=42449516

Family Applications (1)

Application Number Title Priority Date Filing Date
CN200810169034A Pending CN101729223A (en) 2008-10-14 2008-10-14 Packet retransmission method and related electronic device

Country Status (1)

Country Link
CN (1) CN101729223A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10609535B2 (en) 2013-08-26 2020-03-31 Microchip Technology Incorporated Blue-tooth communication system and broadcasting method thereof

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10609535B2 (en) 2013-08-26 2020-03-31 Microchip Technology Incorporated Blue-tooth communication system and broadcasting method thereof

Similar Documents

Publication Publication Date Title
CN101765993B (en) Status report messages for multi-layer ARQ protocol
TWI390908B (en) Method of, and system for, communicating data, and a station for transmitting data
US7567515B2 (en) Inter-layer communication of receipt confirmation for releasing retransmission buffer contents
EP1710944A1 (en) Handling of erroneous sequence number in a in a NACK packet
US7889696B2 (en) Retransmission method and apparatus using multiple mother codes in a system using HARQ
EP1962451A3 (en) Apparatus and method for retransmitting request in wireless relay communication system
CN101399643B (en) Control method and device for confirming mode data transmission
CN102405663B (en) Methods and apparatus to prioritize mobile station transmissions in response to network acknowledgment polling
CN113132063B (en) Physical layer retransmission control method
CN104113403A (en) Sliding window-based half-duplex communication method and system
KR20090015253A (en) Method and system of retransmitting of a data in a communication system
CN101151837B (en) Method and apparatus for transmitting data, and a communication system
MY148104A (en) Apparatus and method for retransmitting request in wireless relay communication system
CN102377544A (en) Retransmission method in communication system
CN101087184A (en) Method and related device for wireless communication system improving data transmission efficiency
CN101729223A (en) Packet retransmission method and related electronic device
CN102201901A (en) Data retransmission method and device
CN111294161A (en) HARQ feedback method and device, storage medium and terminal
US8332703B2 (en) Packet retransmission method and related electronic device
WO2018137526A1 (en) Methods of transmitting and receiving control information, network apparatus, and terminal apparatus
US8438444B2 (en) Method of associating automatic repeat request with hybrid automatic repeat request
CN103501214A (en) H-ARQI type link transmission method based on bitmap feedback
EP3758266A1 (en) Harq txop frame exchange for harq retransmission using harq threads
JP2008118417A (en) Mobile radio apparatus
CN101855857B (en) For carrying out the method and apparatus of autonomous retransmission in cordless communication network

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C12 Rejection of a patent application after its publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20100609