[go: up one dir, main page]

WO2009010011A1 - Method and apparatus for detecting data loss of radio link control layer - Google Patents

Method and apparatus for detecting data loss of radio link control layer Download PDF

Info

Publication number
WO2009010011A1
WO2009010011A1 PCT/CN2008/071673 CN2008071673W WO2009010011A1 WO 2009010011 A1 WO2009010011 A1 WO 2009010011A1 CN 2008071673 W CN2008071673 W CN 2008071673W WO 2009010011 A1 WO2009010011 A1 WO 2009010011A1
Authority
WO
WIPO (PCT)
Prior art keywords
data
control layer
data transmission
radio link
missing
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.)
Ceased
Application number
PCT/CN2008/071673
Other languages
French (fr)
Chinese (zh)
Inventor
Fei Shao
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.)
Huawei Technologies Co Ltd
Original Assignee
Huawei Technologies 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
Priority claimed from CNA2007101452699A external-priority patent/CN101350698A/en
Application filed by Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Publication of WO2009010011A1 publication Critical patent/WO2009010011A1/en
Anticipated expiration legal-status Critical
Ceased legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L1/00Arrangements for detecting or preventing errors in the information received
    • H04L1/12Arrangements for detecting or preventing errors in the information received by using return channel
    • H04L1/16Arrangements for detecting or preventing errors in the information received by using return channel in which the return channel carries supervisory signals, e.g. repetition request signals
    • H04L1/18Automatic repetition systems, e.g. Van Duuren systems
    • H04L1/1822Automatic repetition systems, e.g. Van Duuren systems involving configuration of automatic repeat request [ARQ] with parallel processes

Definitions

  • the present invention relates to the field of communications technologies, and in particular, to a method and apparatus for detecting data loss in a radio link control layer. Background technique
  • the Universal Mobile Telecommunication System is one of the world's leading third-generation mobile communication systems. Based on UMTS High Speed Downlink Packet Access (HSDPA) technology and High Speed Uplink Packet Access (HSUPA) technology, peak rate and spectral efficiency can be improved.
  • HSDPA High Speed Downlink Packet Access
  • HSUPA High Speed Uplink Packet Access
  • MAC Media Access Control
  • HARQ Hybrid Automatic Repeat Request
  • the hybrid automatic repeat request has multiple processes in parallel, and the data received by the receiver is likely to be out of order, which means that the upper layer of the media access control layer, that is, the Radio Link Control (RLC) layer.
  • the received data may also be out of order, so the radio link control layer cannot judge the loss of the layer data according to the missing sequence number from the received data.
  • RLC Radio Link Control
  • the radio link control layer detects that the serial number is missing, the hybrid automatic retransmission request data transmission process starts timing, except that the hybrid automatic retransmission request data transmission process that causes the serial number missing is not started.
  • the timer receives new data or new data indication, the timer is stopped; when all the started timers exceed the preset time, and the serial number is still missing, the missing is confirmed. The data has been lost.
  • the serial number of the radio link control layer is missing, it is necessary to monitor all data transmission processes except the hybrid automatic repeat request data transmission process that causes the serial number missing, and some of the data may not be transmitted in the process.
  • the serial number is missing data, and the method is obviously superfluous to monitor these processes, which increases the workload of the user equipment and prolongs the waiting time. Summary of the invention
  • the technical problem to be solved by the embodiments of the present invention is to provide a method and a device for detecting data loss of a radio link control layer, which can reduce the workload of the user equipment and quickly detect the loss of data of the radio link control layer.
  • an embodiment of the present invention provides a method for detecting data loss of a radio link control layer, including: detecting, when a radio link control layer entity finds missing data, data transmission information of the first data, The sending time of the first data is earlier than the sending time of the second data, the second data is data causing the missing data to be missing; and the lost data is confirmed according to the detected data transmission information.
  • an embodiment of the present invention further provides an apparatus for detecting data loss of a radio link control layer, including: a data receiving unit, configured to receive data sent by a medium access control layer and a sending time of the data; a data loss detecting unit, configured to detect data transmission information of the first data when the data is found to be missing, the sending time of the first data is earlier than the sending time of the second data, and the second data is caused by the missing Data missing from the data; and the lost data is confirmed based on the data transmission information.
  • Embodiment 1 is a flowchart of a method according to Embodiment 1 of the present invention.
  • FIG. 2 is a schematic diagram of a method for detecting data loss of a radio link control layer according to Embodiment 1 of the present invention
  • FIG. 3 is a structural diagram of a device according to Embodiment 2 of the present invention.
  • Embodiment 4 is a flowchart of a method provided by Embodiment 3 of the present invention.
  • FIG. 5 is a schematic diagram of a method for detecting data loss of a radio link control layer according to Embodiment 3 of the present invention.
  • FIG. 6 is a structural diagram of a device according to Embodiment 4 of the present invention.
  • FIG. 8 is a structural diagram of a device according to Embodiment 6 of the present invention. detailed description
  • An embodiment of the present invention provides a method for detecting data loss of a radio link control layer. As shown in FIG. 1, the method includes:
  • Step 101 The media access control layer entity records a data sending time, and sends the data sending time and data corresponding to the time to the radio link control layer entity.
  • the entity in the media access control layer may be a hybrid automatic repeat request entity.
  • the data transmission time is usually the initial transmission time of the data.
  • the initial transmission time of the data is directly recorded by the receiving end of the hybrid automatic repeat request entity; or the time when the data is correctly received after relinquishing the data transmission time or retransmission is subtracted from the time used for the retransmission to obtain the initial data transmission. Delivery time.
  • the data transmission time may be sent to the wireless link layer entity by the hybrid automatic repeat request entity; or the hybrid automatic retransmission entity may record the time and the data corresponding to the time after correctly receiving the data.
  • a hybrid automatic repeat request entity sends data to a radio link control layer entity
  • the hybrid automatic repeat request entity when the hybrid automatic repeat request entity first sends data, it is sent in sequence number sequence, so the sequence number sequence of the data is consistent with the time sequence of the initial automatic data transmission request process.
  • Step 102 When the radio link control layer entity discovers that there is missing data, monitoring a data transmission process of the first data, where the first data is data that is sent earlier than the second data sending time, and the second data is caused by missing data. The data.
  • the data that causes the data to be missing is: data that makes the discovery data missing.
  • the sequence of sequence numbers sent by the sender of the data transmission process of the hybrid automatic repeat request is consistent with the time sequence sent by the data transmission process of the hybrid automatic repeat request. Therefore, when the radio link control layer entity A receives the data of the sequence numbers 8 and 9, the data with the missing sequence numbers 6 and 7 can be found.
  • the data of the sequence numbers 8 and 9 is data causing data loss.
  • the data transmission process of correctly transmitting data may not be monitored, and the data transmission process of the hybrid automatic retransmission request without activation is not monitored.
  • the radio link control layer entity discovers that the data is missing, some of the previous data transmission processes are in the monitored state because the last time the radio link control layer entity discovers that the data is missing. Therefore, in order to improve the monitoring efficiency, the process in the state being monitored can be No monitoring is performed.
  • the data transmission process of the first data may be a data transmission error in the active process, and there is no data transmission process in the monitoring state.
  • Step 103 Stop monitoring the process when the data transmission process that is monitored receives the new data or new data indication, or the monitored process stops the data transmission, or the missing data is correctly received.
  • the monitored process stops data transmission. For example, when the data exceeds the maximum number of retransmissions and the sender has no data to transmit; or during the data transmission, the sender misinterprets the NACK fed back by the receiver as an ACK, and the sender has no data to transmit; or When the hybrid automatic repeat request entity needs to be reset; or when the receive soft buffer overflows; or when the decoding check occurs abnormally.
  • the data transmission information includes: receiving new data or new data indication, or the monitored process stops data transmission, or the data is correctly received.
  • Step 104 When all the data transmission processes that are monitored acquire the data transmission information and stop monitoring, the lost data is confirmed.
  • a status report can be sent requesting the sender to resend the lost data.
  • the sequence of the sequence number of the data transmission process using the hybrid automatic repeat request is consistent with the time sequence sent by the data transmission process of the hybrid automatic repeat request, and the wireless link control layer entity finds that When data is missing, the process that causes the data to be missing is the data transfer process that is earlier than the time the data that caused the data is missing. Therefore, according to the embodiment, when monitoring the hybrid automatic repeat request data transmission process, the data transmission process earlier than the transmission time of the data causing the data loss is monitored, and the data transmission information of the data transmission process is obtained, thereby reducing the data transmission information. use The workload of the household equipment.
  • the monitored data transmission process When it is acquired that the monitored data transmission process receives new data, or the monitored data transmission process receives a new data indication, or the monitored data transmission process stops data transmission, or the data transmission information that the data is correctly received, The monitoring of the data transfer process is stopped, and the data is missing, confirming that the missing data has been lost.
  • FIG. 2 is a schematic diagram of detecting data loss by a radio link control layer according to Embodiment 1 of the present invention.
  • A indicates data sent to the radio link control layer entity A.
  • B indicates data transmitted to the radio link control layer entity B, an empty data transmission process indicates no data transmission, and
  • X indicates a transmission error data transmission process.
  • the radio link control layer entity A when the radio link control layer entity A receives the data with the data sequence numbers 8 and 9, it finds the data with the missing data sequence numbers 6 and 7, and compares the numbers 8, 9
  • the data transmission process is monitored early in the data transmission process, as shown in the 1, 2, 3 and 4 processes. Among them, the data transmission process 1 is transmitted correctly, and may not be monitored. Because the data transmission process of the No. 2 data transmission process is empty, in order to improve the monitoring efficiency, the No. 2 process may not be monitored. At time 15, it was detected that process No. 3 received new data and therefore stopped monitoring process No. 3. At time 16, it was detected that the No. 4 process received new data, so the monitoring of the No. 4 process was stopped. When all the data transmission processes being monitored stop being monitored, it can be confirmed that the missing data sequence numbers 6 and 7 are lost.
  • FIG. 3 is a structural diagram of a device according to Embodiment 2 of the present invention. As shown in Figure 3, the device includes:
  • the data receiving unit 301 is configured to receive data sent by the medium access control layer and the data sending time.
  • the hybrid automatic repeat request entity has multiple parallel data transmission processes when transmitting data to the radio link control layer. For each data transmission process, the hybrid automatic repeat request receiving end can pass each received data.
  • the parameters of the physical channel transmission get the connection frame number and the sub-data of the data. Frame number, these two parameters indicate when the sender sends the data.
  • the hybrid automatic repeat request entity When the hybrid automatic repeat request entity first sends data, it is sent in serial number order. Therefore, the sequence number sequence of the data is consistent with the time when the data transmission process of the hybrid automatic repeat request sends data.
  • the data transmission time may be recorded and sent to the data receiving unit by mixing the receiving end of the automatic retransmission entity, and the data receiving unit records the initial transmission time of the data.
  • the data transmission time may also be recorded by other entities in the medium access control layer and sent to the data receiving unit.
  • the data transmission time is the initial transmission time of the data.
  • the initial transmission time of the data can be directly recorded by the receiving end of the hybrid automatic repeat request entity; or the time when the data is correctly received at the time of abandoning the data transmission or after the retransmission is subtracted from the time taken for the retransmission to obtain the initial transmission time of the data.
  • the hybrid automatic repeat request entity When the hybrid automatic repeat request entity receives new data, it needs to update the initial sending time of the data of the corresponding data transmission process.
  • the data loss detecting unit 302 is configured to: when the data is found to be missing, detect the data transmission information of the first data, where the sending time of the first data is earlier than the sending time of the second data, and the second data is the data missing the missing data; And based on the data transmission information, the lost data is confirmed.
  • the data loss detecting unit includes: a determining unit 3021, configured to determine whether the received data is missing, and send the determining result; the first monitoring unit 3022 is configured to: after receiving the information of the missing data sent by the determining unit 3021, Monitoring the data transmission process of the first data, and when the monitored data transmission process receives new data, the monitored data transmission process receives new data indication, the monitored data transmission process stops data transmission, or correctly receives missing data, Stop monitoring the data transfer process.
  • the monitored data transmission process stops the data transmission usually because the monitored data transmission process is abnormal.
  • the data exceeds the maximum number of retransmissions, and the sender has no data to send; in the process of transmitting data, the sender misinterprets the NACK fed back by the receiver as ACK, and the sender does not
  • the data can be sent; the hybrid automatic repeat request entity needs to be reset; the receive soft buffer overflows; or the decoding check occurs abnormally.
  • the sequence of the sequence number of the data transmission process of the automatic retransmission request sent by the sender is consistent with the time sequence of the data transmission process of the hybrid automatic repeat request.
  • the radio link control layer entity A receives the data with the sequence numbers 8 and 9, the data with the missing sequence numbers 6 and 7 can be found, and the data with the sequence numbers 8 and 9 causes the data to be missing.
  • the data when monitoring the data transmission process, the data transmission process of correctly transmitting data may not be monitored, and the data transmission process of the hybrid automatic retransmission request without activation is not monitored to improve the monitoring efficiency.
  • the radio link control layer entity discovers that the data is missing, some of the previous data transmission processes are still in the monitored state because the last radio link control layer entity finds that the data is missing. Therefore, in order to improve monitoring efficiency, the data transmission process that is still in the monitored state is not monitored.
  • the data transmission process that is earlier than the data transmission time that caused the missing data may be a data transmission process in the active data transmission process and there is no data transmission process in the monitoring state.
  • the data transmission information of the process is obtained by monitoring the data transmission process, where the data transmission information includes: receiving new data, or receiving a new data indication, or stopping the data transmission by the monitored data transmission process, or Missing data is received correctly.
  • the confirmation unit 3023 is configured to confirm the lost data when all monitored data transmission processes stop monitoring.
  • FIG. 4 is a flowchart of a method according to Embodiment 3 of the present invention. As shown in FIG. 4, the method includes:
  • Step 401 The media access control layer entity records a data sending time, and sends the time and corresponding data to the radio link control layer entity.
  • the data transmission time is recorded by an entity in the medium access control layer, and may also be recorded by the hybrid automatic repeat request entity. Wherein, the recorded data transmission time can be automatically mixed by mixing
  • the retransmission request entity sends to the radio link layer.
  • the data transmission time is delivered by the hybrid automatic repeat request entity, and the hybrid automatic retransmission entity may, after the data is correctly received, deliver the recorded time together with the corresponding data to the upper entity of the media access control layer, and the upper layer
  • the entity is submitted to the radio link control layer entity or directly to the radio link control layer entity.
  • the hybrid automatic repeat request entity has multiple parallel data transmission processes when transmitting data to the radio link control layer. For each data transmission process, the hybrid automatic repeat request receiving end can pass each received data.
  • the parameters of the physical channel transmission get the connection frame number and the subframe number of this data. These two parameters indicate the time when the sender sends the data.
  • hybrid automatic repeat request is used to send data for the first time, it is sent in serial number order. Therefore, the sequence number sequence of the data is consistent with the time at which the data transfer process of the hybrid automatic repeat request sends data.
  • the data transmission time can be recorded by the receiving end of the hybrid automatic retransmission entity.
  • Step 402 When the media access control layer entity finds that the data transmission process has data missing, the data loss indication of the data transmission process and the sending time of the lost data are sent to the radio link control layer entity.
  • the data loss indication and the sending time may be sent to the entity of the radio link control layer by using the layer source language.
  • the inter-layer source language is called ptimitives in the protocol.
  • the source language has names and parameters.
  • the parameters include four types, such as Req (request), Ind (indication), ResP (response), and Conf (confirm).
  • the source language is called: MAC_LOST_DATA_Ind, the parameters are: Lost_ Indicator is used to indicate the data loss of the media access control layer, and Lostlnfo is used to indicate the time of data loss or the time when the data is first sent.
  • the hybrid automatic repeat request entity when the data transmission process of the hybrid automatic repeat request receives new data, receives a new data indication, or the data transmission process stops data transmission after receiving the data error, the hybrid automatic repeat request entity will find that the transmission is lost. data.
  • Step 403 When the radio link control layer entity finds that data is missing, querying a data loss indication of the first data, where the first data is data that is sent earlier than the second data sending time, and the second number is According to the data that causes the missing data to be missing.
  • the transmission time corresponding to the lost data is queried for the data loss indication of the first data.
  • the data transmission information of the data transmission process includes a data loss indication.
  • Step 404 When the queried data loss indication has been received, confirm the lost data. After the radio link control layer entity acknowledges the lost data, a status report can be sent requesting the sender to retransmit the lost data.
  • the sequence sequence of the data transmission process using the hybrid automatic repeat request is also consistent with the time sequence sent by the data transmission process of the hybrid automatic repeat request, when the radio link control layer entity When it is found that there is data missing, the missing data is sent earlier than the data that caused the missing data. Therefore, when the data loss indication is queried, the data loss indication earlier than the transmission time of the data causing the data loss is queried, thereby reducing the workload of the user equipment. When the queried data loss indication has been received, it can be confirmed that the missing data has been lost.
  • FIG. 5 is a schematic diagram of a method for detecting data loss of a radio link control layer according to Embodiment 3 of the present invention.
  • A indicates that the method is sent to the radio link control layer entity A.
  • the hybrid automatic repeat request finds that there is data loss, and the process 3 data loss indication is sent to the radio link control layer entity A and entity B; at time 9, the hybrid automatic repeat request finds that there is data loss, and the process 4 The data loss indication is sent to the radio link control layer entity A and entity B.
  • the radio link control layer entity A when the radio link control layer entity A receives the data with the sequence numbers 8 and 9 at time 15, it finds that the missing data sequence numbers are 6 and 7, and the pair The missing data before the initial transmission time 5 of the data missing data is queried. At time 3 and 4 in the figure, since the data has been correctly received at time 1, 2 is empty. Due to the query Data loss indications at times 3 and 4 have been received, so it can be confirmed that the data with sequence numbers 6 and 7 has been lost.
  • An embodiment of the present invention further provides an apparatus for detecting data loss of a radio link control layer. As shown in FIG. 6, the apparatus includes:
  • the data receiving unit 601 is configured to receive data sent by the medium access control layer and a sending time of the data.
  • the hybrid automatic repeat request entity has multiple parallel data transmission processes when transmitting data to the radio link control layer entity. For each data transmission process, the receiving end of the hybrid automatic repeat request entity receives one Data, the connection frame number and the subframe number of the data can be obtained through parameters transmitted by the physical channel, and the two parameters indicate the time when the sender sends the data. In addition, when the hybrid automatic repeat request entity first transmits data, it is sent in the sequence number sequence. Therefore, the sequence number sequence of the data and the time sequence in which the data transmission process of the hybrid automatic repeat request is sent are consistent.
  • the data transmission time may be recorded by the receiving end of the hybrid automatic repeat request entity and sent to the data receiving unit, and the data receiving unit records the initial sending time of the data.
  • the time when the hybrid automatic repeat request entity first transmits data can be obtained by the transmission time of the record. For example, when the data is initially transmitted, the receiving end records the data transmission time, or when the data is correctly received or when the data is discarded, the receiving end subtracts the time used for the retransmission according to the time, that is, the initial transmission time of the data.
  • the data transmission time may also be recorded by other entities in the medium access control layer and sent to the data receiving unit.
  • the initial transmission time of the data of the corresponding data transmission process needs to be updated when the hybrid automatic repeat request entity receives the new data.
  • the data loss indication receiving unit 602 is configured to receive a data loss indication and a transmission time of the lost data.
  • the medium access control layer entity when the medium access control layer entity discovers a hybrid automatic repeat request entity data transmission process When the transmitted data is missing, the data loss indication can be sent to the entity of the radio link control layer through the inter-layer source language.
  • the data loss detecting unit 603 is configured to: when the radio link control layer entity finds that data is missing, detecting data transmission information of the first data, where the sending time of the first data is earlier than the sending time of the second data, and the second data is caused by Data missing data; and the lost data is confirmed based on the data transmission information.
  • the data loss detecting unit includes: a determining unit 6031, configured to determine whether the received data is missing, and send the determining result; the query unit 6032 is configured to: after receiving the information of the missing data sent by the determining unit 6031, query The data loss indication of the first data; the confirmation unit 6033 is configured to confirm the lost data when all the queried data receives the data loss indication.
  • the present invention also provides a method for detecting data loss of a radio link control layer, and the method is different from the method provided by the first embodiment in that: when the radio link control layer entity finds that data is missing, monitoring the hybrid automatic weight The range of requests for data transfer processes is different.
  • the method includes:
  • Step 701 The media access control layer records a data sending time, and sends the data sending time and corresponding data to the radio link control layer entity.
  • the data corresponding to the data transmission time is sent by the hybrid automatic repeat request entity to the radio link control layer.
  • the data sending time is recorded by an entity in the media access control layer, and the entity may be a hybrid automatic repeat request entity.
  • the hybrid automatic repeat request entity has multiple parallel data transmission processes when transmitting data to the radio link control layer entity. For each data transmission process, each time the receiving end of the hybrid automatic repeat request entity receives a data, The connection frame number and the subframe number of the data can be obtained through parameters transmitted by the physical channel, and the two parameters indicate the time when the sender sends the data. In addition, when the hybrid automatic repeat request entity first transmits data, it is sent in the sequence number sequence.
  • the sequence number sequence of the data is consistent with the time sequence in which the data transmission process of the hybrid automatic repeat request is initially transmitted.
  • the data sending time may be recorded by the receiving end of the hybrid automatic repeat request entity.
  • the time at which the hybrid automatic repeat request entity first transmits data can be obtained from the transmission time of the record.
  • the time when the data is first transmitted may be obtained by the receiving end recording data transmission time when the data is initially transmitted; or when the data is correctly received or discarded, the receiving end subtracts the time used for the retransmission from the time to obtain the data for the initial transmission. time.
  • Step 702 When the radio link control layer entity finds that there is missing data, monitoring the data transmission process that is earlier than the transmission time of the data causing the data loss and the data transmission process is activated, and the data transmission process is not in the monitoring state.
  • the sequence of the sequence number of the data transmission process that sends the automatic retransmission request is the same as the sequence of the data transmission process sent by the hybrid automatic repeat request.
  • the radio link control layer entity A receives the data with the sequence numbers 8 and 9, it can find the data with the missing sequence numbers 6 and 7, and the data with the sequence numbers 8 and 9 is the data missing. data.
  • the data transmission process of correctly transmitting data can be not monitored, and the data transmission process of the hybrid automatic retransmission request without activation is not monitored to improve the monitoring efficiency.
  • the radio link control layer entity discovers that the data is missing, some of the previous data transmission processes are in the monitored state due to the missing data of the last radio link control layer entity discovery. Therefore, in order to improve the monitoring efficiency, the monitoring data is being monitored. The status of the data transfer process is not monitored. The data transmission process is monitored to obtain data transmission information of the monitored data transmission process.
  • Step 703 When the data transmission information of the monitored data transmission process is acquired, the process is stopped.
  • the data transmission information is: information that the monitored data transmission process receives new data, the monitored data transmission process receives new data indication, the monitored data transmission process stops data transmission, or the missing data is correctly received.
  • the situation in which the monitored data transmission process is forced to stop is usually the same when the monitored data transmission process occurs. For example: when the data exceeds the maximum number of retransmissions, and there is no data to be sent at the transmitting end; during the transmission, the transmitting end misinterprets the NACK fed back by the receiving end as an ACK and sends When no data can be sent at the end; the hybrid automatic repeat request entity needs to be reset; when the receive soft buffer overflows or the decoding check occurs abnormally, the data transfer process will be forced to stop.
  • the data transmission information includes: receiving new data, receiving a new data indication, the monitored data transmission process stops data transmission, or the missing data is correctly received.
  • Step 704 When all the data transmission processes that are monitored acquire the data transmission information and stop monitoring, the lost data is confirmed.
  • a status report can be sent requesting the sender to retransmit the lost data.
  • An embodiment of the present invention further provides a device for detecting data loss of a radio link control layer, as shown in the figure.
  • the device includes:
  • the determining unit 801 is configured to determine whether the received data is missing, and send the judgment result.
  • the data loss detecting unit 802 is configured to detect data transmission information earlier than the transmission time of the data causing the data loss and confirm the lost data when the data is missing.
  • the data loss detecting unit includes:
  • the second monitoring unit 8021 is configured to: in the process of receiving the missing data sent by the determining unit 801, the data transmission process is incorrect and the data transmission process is not in the monitoring state, and is received in the monitored data transmission process.
  • the monitoring of the data transmission process is stopped when new data, or new data indicates, or the monitored process stops transmitting data or correctly receives missing data.
  • the monitored data transmission process stops the data transmission usually because the monitored data transmission process is abnormal. For example: the data exceeds the maximum number of retransmissions, and the sender has no data to send; during the data transmission, the sender misinterprets the NACK fed back by the receiver as an ACK, and the sender has no data to send; the hybrid automatic repeat request entity Receive reset buffer overflow or solution when reset is required An error occurs in the code check.
  • the data that causes the data to be missing is the data that makes the discovery data missing.
  • the sequence of sequence numbers sent by the data transmission process of the hybrid automatic repeat request is consistent with the time sequence sent by the data transmission process of the hybrid automatic repeat request.
  • the radio link control layer entity A receives the data with the sequence numbers 8 and 9, it can find the data with the missing sequence numbers 6 and 7, and the data with the sequence numbers 8 and 9 is the data missing.
  • data in the monitoring of the process, the data transmission process of correctly transmitting data can be not monitored, and the data transmission process of the hybrid automatic repeat request without activation is not monitored to improve the monitoring efficiency.
  • the data transmission information of the data transmission process is obtained by monitoring the data transmission process, where the data transmission information includes: receiving new data or new data indication, or monitoring the process to stop data transmission or the missing data is Receive correctly.
  • a confirmation unit 8022 is configured to confirm the lost data when all monitored data transmission processes stop monitoring.
  • the order in which the data is transmitted by the data transmission process using the hybrid automatic repeat request is consistent with the time sequence in which the data is transmitted by the hybrid automatic repeat request process.
  • the data transfer process that causes the data to be missing is a data transfer process that is earlier than the time that the serial number is missing. Therefore, in the present embodiment, the data transmission information earlier than the data transmission time missing the serial number is detected, and the lost data is confirmed based on the acquired data transmission information. Compared with all data transmission processes in the prior art that need to monitor the data transmission process except the hybrid automatic repeat request that causes the serial number missing, the workload of the user equipment is reduced, and the detection of the radio link control layer data loss is improved. s efficiency.
  • Embodiment 1 A person skilled in the art can understand that all or part of the steps of the method described in Embodiment 1, Embodiment 3 and Embodiment 5 can be implemented by a program to instruct related hardware.
  • the program may be stored in a computer readable storage medium, and the steps included in the program are the same as those in the first embodiment and the third embodiment, respectively.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Detection And Prevention Of Errors In Transmission (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

A method and apparatus for detecting data lose of radio link control layer are provided. The method includes: when missing data is found by a radio link control layer entity, detecting the data transmission information on the first data, wherein the transmission time of the first data is earlier than the transmission time of the second data and the second data is the data which causes the loss of the missing data; determining the missing data according to the detected data transmission information. According to the embodiments of the invention, the workload of user equipment is reduced and the efficiency of the detection of data loss is improved in radio link control layer, compared with the prior art that needs to monitor all the procedures of data transmission in addition to the procedure of the transmission of the hybrid automatic retransmission requesting data that causes the loss of serial numbers.

Description

检测无线链路控制层数据丢失的方法及装置  Method and device for detecting data loss of wireless link control layer

技术领域 Technical field

本发明涉及通信技术领域, 尤其涉及检测无线链路控制层数据丟失的方 法及装置。 背景技术  The present invention relates to the field of communications technologies, and in particular, to a method and apparatus for detecting data loss in a radio link control layer. Background technique

通用移动通信系统 ( Universal Mobile Telecommunication System, UMTS ) 是目前全球主要的第三代移动通信体制之一。 基于 UMTS的高速下行分组接 入(High Speed Downlink Packet Access, HSDPA )技术以及高速上行分组接 入(High Speed Uplink Packet Access, HSUPA )技术, 能够提高峰值速率和 频谱效率。 在现有技术中, 为了实现业务的高速传输, 在 HSDPA与 HSUPA 技术上新增加了媒体访问控制(Media Access Control, MAC )子层协议实体, 并在媒体访问控制实体中引入了混合自动重传请求( Hybrid Automatic Repeat Request, HARQ )技术, 该技术基于物理层的重传, 当接收端收到发送端的 数据后, 如果判断所接收的数据错误, 则通过快速重传, 提高数据传输速率 并减少丟包率, 同时提高系统的吞吐量。  The Universal Mobile Telecommunication System (UMTS) is one of the world's leading third-generation mobile communication systems. Based on UMTS High Speed Downlink Packet Access (HSDPA) technology and High Speed Uplink Packet Access (HSUPA) technology, peak rate and spectral efficiency can be improved. In the prior art, in order to realize high-speed transmission of services, a Media Access Control (MAC) sub-layer protocol entity is newly added to the HSDPA and HSUPA technologies, and a hybrid automatic retransmission is introduced in the media access control entity. Hybrid Automatic Repeat Request (HARQ) technology, which is based on the retransmission of the physical layer. When the receiving end receives the data of the transmitting end, if the received data is judged to be incorrect, the data transmission rate is increased and reduced by fast retransmission. Packet loss rate, while increasing system throughput.

混合自动重传请求有并行的多个进程, 接收端收到的数据很有可能是乱 序的, 这就意味着媒体访问控制层的上层, 即无线链路控制 (Radio Link Control, RLC )层收到的数据也可能是乱序的, 因此无线链路控制层不能从 收到的数据中根据序列号的缺失判断本层数据的丟失情况。  The hybrid automatic repeat request has multiple processes in parallel, and the data received by the receiver is likely to be out of order, which means that the upper layer of the media access control layer, that is, the Radio Link Control (RLC) layer. The received data may also be out of order, so the radio link control layer cannot judge the loss of the layer data according to the missing sequence number from the received data.

现有技术中, 当无线链路控制层检测出序列号缺失时, 除了引起序列号 缺失的混合自动重传请求数据传输进程不启动定时器外, 每个混合自动重传 请求数据传输进程启动定时器。 当被启动定时器的数据传输进程收到新数据 或者新数据指示时, 停止该定时器; 当所有被启动的定时器都超过预置的时 间, 而序列号还缺失时, 就可以确认所缺失的数据已经丟失。 上述方法中, 当无线链路控制层的序列号缺失时, 需要监测除引起序列 号缺失的混合自动重传请求数据传输进程以外的所有的数据传输进程, 而这 些进程中有些数据可能并没有传输序列号缺失的数据, 而该方法对这些进程 进行监测显然也是多余的, 增加了用户设备的工作量, 延长了等待时间。 发明内容 In the prior art, when the radio link control layer detects that the serial number is missing, the hybrid automatic retransmission request data transmission process starts timing, except that the hybrid automatic retransmission request data transmission process that causes the serial number missing is not started. Device. When the data transmission process started by the timer receives new data or new data indication, the timer is stopped; when all the started timers exceed the preset time, and the serial number is still missing, the missing is confirmed. The data has been lost. In the above method, when the serial number of the radio link control layer is missing, it is necessary to monitor all data transmission processes except the hybrid automatic repeat request data transmission process that causes the serial number missing, and some of the data may not be transmitted in the process. The serial number is missing data, and the method is obviously superfluous to monitor these processes, which increases the workload of the user equipment and prolongs the waiting time. Summary of the invention

本发明实施例要解决的技术问题是提供一种检测无线链路控制层数据丟 失的方法及装置, 能够减少用户设备的工作量, 快速检测出无线链路控制层 数据的丟失。  The technical problem to be solved by the embodiments of the present invention is to provide a method and a device for detecting data loss of a radio link control layer, which can reduce the workload of the user equipment and quickly detect the loss of data of the radio link control layer.

为了实现上述目的, 本发明实施例提供了一种检测无线链路控制层数据 丟失的方法, 包括: 当无线链路控制层实体发现有缺失数据时, 检测第一数 据的数据传输信息, 所述第一数据的发送时间早于第二数据的发送时间, 所 述第二数据为引起所述缺失数据缺失的数据;根据检测的所述数据传输信息, 确认丟失的数据。  In order to achieve the above object, an embodiment of the present invention provides a method for detecting data loss of a radio link control layer, including: detecting, when a radio link control layer entity finds missing data, data transmission information of the first data, The sending time of the first data is earlier than the sending time of the second data, the second data is data causing the missing data to be missing; and the lost data is confirmed according to the detected data transmission information.

为了实现上述目的, 本发明实施例还提供了一种检测无线链路控制层数 据丟失的装置, 包括: 数据接收单元, 用于接收媒体接入控制层发送的数据 及所述数据的发送时间; 数据丟失检测单元, 用于当发现有数据缺失时, 检 测第一数据的数据传输信息, 所述第一数据的发送时间早于第二数据的发送 时间, 所述第二数据为引起所述缺失数据缺失的数据; 并根据所述数据传输 信息, 确认丟失的数据。  In order to achieve the above object, an embodiment of the present invention further provides an apparatus for detecting data loss of a radio link control layer, including: a data receiving unit, configured to receive data sent by a medium access control layer and a sending time of the data; a data loss detecting unit, configured to detect data transmission information of the first data when the data is found to be missing, the sending time of the first data is earlier than the sending time of the second data, and the second data is caused by the missing Data missing from the data; and the lost data is confirmed based on the data transmission information.

以上技术方案可以看出, 由于利用混合自动重传请求进程发送端发送数 据的顺序与混合自动重传请求进程发送数据的时间顺序是一致的特点, 当无 线链路控制层实体发现有数据缺失时, 致使数据缺失的进程仅可能是比引起 序列号缺失的数据发送时间早的进程, 因此, 本发明实施例所提供的方案中, 取的该信息确认丟失的数据, 与现有技术需要监测除引起序列号缺失的混合 自动重传请求数据传输进程外的所有的数据传输进程相比, 减小了用户设备 的工作量, 提高了检测无线链路控制层数据丟失的效率。 附图说明 The above technical solution can be seen that, because the order of sending data by the transmitting end by using the hybrid automatic repeat request process is consistent with the time sequence of sending data by the hybrid automatic repeat request process, when the radio link control layer entity finds that data is missing, The process of causing the data to be deleted may only be a process that is earlier than the time when the data causing the missing sequence number is sent. Therefore, in the solution provided by the embodiment of the present invention, the information is taken to confirm the lost data, and the prior art needs to be monitored. a mixture that causes missing serial numbers Compared with all data transmission processes outside the automatic data transmission request data transmission process, the workload of the user equipment is reduced, and the efficiency of detecting data loss of the radio link control layer is improved. DRAWINGS

图 1为本发明实施例一所提供的方法的流程图;  1 is a flowchart of a method according to Embodiment 1 of the present invention;

图 2为本发明实施例一所提供的无线链路控制层检测数据丟失方法的示 意图;  2 is a schematic diagram of a method for detecting data loss of a radio link control layer according to Embodiment 1 of the present invention;

图 3为本发明实施例二所提供的装置的结构图;  3 is a structural diagram of a device according to Embodiment 2 of the present invention;

图 4为本发明实施例三所提供的方法的流程图;  4 is a flowchart of a method provided by Embodiment 3 of the present invention;

图 5为本发明实施例三所提供的无线链路控制层检测数据丟失方法的示 意图;  FIG. 5 is a schematic diagram of a method for detecting data loss of a radio link control layer according to Embodiment 3 of the present invention; FIG.

图 6为本发明实施例四所提供的装置结构图;  6 is a structural diagram of a device according to Embodiment 4 of the present invention;

图 7为本发明实施例五所提供的方法流程图;  7 is a flowchart of a method according to Embodiment 5 of the present invention;

图 8为本发明实施例六所提供的装置结构图。 具体实施方式  FIG. 8 is a structural diagram of a device according to Embodiment 6 of the present invention. detailed description

下面通过附图和实施例, 对本发明的技术方案做进一步的详细描述。 实施例一  The technical solution of the present invention will be further described in detail below through the accompanying drawings and embodiments. Embodiment 1

本发明实施例提供一种检测无线链路控制层数据丟失的方法, 如图 1所 示该方法包括:  An embodiment of the present invention provides a method for detecting data loss of a radio link control layer. As shown in FIG. 1, the method includes:

步骤 101、 媒体接入控制层实体记录数据发送时间, 并将该数据发送时 间和与该时间对应的数据发送至无线链路控制层实体。  Step 101: The media access control layer entity records a data sending time, and sends the data sending time and data corresponding to the time to the radio link control layer entity.

其中, 所述媒体接入控制层中的实体可以是混合自动重传请求实体。 其 中, 数据发送时间通常为数据的初次发送时间。 在本实施例中, 通过混合自 动重传请求实体的接收端直接记录该数据初次发送时间; 也可以在放弃传输 数据时刻或重传之后正确接收数据的时刻减去重传所用时间获得数据初次发 送的时间。 The entity in the media access control layer may be a hybrid automatic repeat request entity. The data transmission time is usually the initial transmission time of the data. In this embodiment, the initial transmission time of the data is directly recorded by the receiving end of the hybrid automatic repeat request entity; or the time when the data is correctly received after relinquishing the data transmission time or retransmission is subtracted from the time used for the retransmission to obtain the initial data transmission. Delivery time.

其中, 所述数据发送时间可以通过混合自动重传请求实体发送到无线链 路层实体; 也可以是混合自动重传实体在正确地接收数据后, 把记录的时间 和与该时间对应的数据一起递交给媒体接入控制层的上层实体, 并由上层实 体递交给无线链路控制层实体; 也可以是混合自动重传实体在正确地接收数 据后,把记录的时间和与该时间对应的数据直接发送给无线链路控制层实体。  The data transmission time may be sent to the wireless link layer entity by the hybrid automatic repeat request entity; or the hybrid automatic retransmission entity may record the time and the data corresponding to the time after correctly receiving the data. Submitted to the upper layer entity of the media access control layer, and submitted by the upper layer entity to the radio link control layer entity; or the hybrid automatic retransmission entity can record the time and the data corresponding to the time after correctly receiving the data. Directly sent to the radio link control layer entity.

混合自动重传请求实体向无线链路控制层实体发送数据时, 至少有两个 并行的进程。 对于每个进程, 混合自动重传请求实体的接收端每收到一个数 据时, 都可通过物理信道传输的参数得到这个数据的连接帧号与子帧号, 这 两个参数表明了发送端发送该数据的时间。  When a hybrid automatic repeat request entity sends data to a radio link control layer entity, there are at least two parallel processes. For each process, each time the receiving end of the hybrid automatic repeat request entity receives a data, the connection frame number and the subframe number of the data can be obtained through parameters transmitted by the physical channel, and the two parameters indicate that the sender sends the data. The time of the data.

另外, 混合自动重传请求实体初次发送数据时, 是按序列号顺序发送的, 因此数据的序列号顺序和混合自动重传请求进程初次发送数据的时间顺序是 一致的。  In addition, when the hybrid automatic repeat request entity first sends data, it is sent in sequence number sequence, so the sequence number sequence of the data is consistent with the time sequence of the initial automatic data transmission request process.

步骤 102、 当无线链路控制层实体发现有缺失数据时, 监测第一数据的 数据传输进程, 该第一数据是发送时间比第二数据发送时间早的数据, 第二 数据为引起缺失数据缺失的数据。  Step 102: When the radio link control layer entity discovers that there is missing data, monitoring a data transmission process of the first data, where the first data is data that is sent earlier than the second data sending time, and the second data is caused by missing data. The data.

其中, 所述引起数据缺失的数据为: 使得发现数据缺失的数据。 例如: 由于混合自动重传请求的数据传输进程发送端发送数据的序列号顺序与混合 自动重传请求的数据传输进程发送的时间顺序是一致的。 因此当无线链路控 制层实体 A收到数据序列号为 8和 9的数据时, 就可以发现缺失数据序列号 为 6和 7的数据。 其中, 所述序列号为 8和 9的数据为引起数据缺失的数据。  The data that causes the data to be missing is: data that makes the discovery data missing. For example: The sequence of sequence numbers sent by the sender of the data transmission process of the hybrid automatic repeat request is consistent with the time sequence sent by the data transmission process of the hybrid automatic repeat request. Therefore, when the radio link control layer entity A receives the data of the sequence numbers 8 and 9, the data with the missing sequence numbers 6 and 7 can be found. The data of the sequence numbers 8 and 9 is data causing data loss.

其中, 在对数据传输进程进行监测时, 为了提高监测效率, 可以对正确 地传输数据的数据传输进程不进行监测, 并且对没有激活的混合自动重传请 求的数据传输进程不进行监测。 而无线链路控制层实体发现数据缺失时, 之 前的有些数据传输进程因上一次无线链路控制层实体发现数据缺失而正处于 被监测状态。 因此为提高监测效率, 对所述正在处于被监测状态的进程可以 不进行监测。 In the monitoring of the data transmission process, in order to improve the monitoring efficiency, the data transmission process of correctly transmitting data may not be monitored, and the data transmission process of the hybrid automatic retransmission request without activation is not monitored. When the radio link control layer entity discovers that the data is missing, some of the previous data transmission processes are in the monitored state because the last time the radio link control layer entity discovers that the data is missing. Therefore, in order to improve the monitoring efficiency, the process in the state being monitored can be No monitoring is performed.

因此, 第一数据的数据传输进程可以是激活的进程中数据传输错误, 且 没有正处于监测状态的数据传输进程。  Therefore, the data transmission process of the first data may be a data transmission error in the active process, and there is no data transmission process in the monitoring state.

其中, 对数据传输进程进行监测以获得被监测进程的数据传输信息。 步骤 103、 当获取到被监测的数据传输进程接收到新数据或新数据指示、 或者被监测的进程停止数据传输、 或者缺失的数据被正确接收的数据传输信 息时, 对该进程停止监测。  The data transmission process is monitored to obtain data transmission information of the monitored process. Step 103: Stop monitoring the process when the data transmission process that is monitored receives the new data or new data indication, or the monitored process stops the data transmission, or the missing data is correctly received.

其中, 当被监测的进程发生异样时, 被监测的进程停止数据传输。 例如, 该数据超过最大重传次数且发送端无数据可发送的时候; 或者在数据传输过 程中,发送端把接收端反馈的 NACK误读为 ACK,并且发送端无数据可发送 的时候; 或者混合自动重传请求实体需要重设的时候; 或者接收软緩存发生 溢出的时候; 或者解码校验发生异常的时候。 进行监测, 以获得该进程的数据传输信息。 该数据传输信息包括: 接收到新 数据或新数据指示, 或者被监测的进程停止数据传输, 或者该数据被正确接 收。  Among them, when the monitored process is abnormal, the monitored process stops data transmission. For example, when the data exceeds the maximum number of retransmissions and the sender has no data to transmit; or during the data transmission, the sender misinterprets the NACK fed back by the receiver as an ACK, and the sender has no data to transmit; or When the hybrid automatic repeat request entity needs to be reset; or when the receive soft buffer overflows; or when the decoding check occurs abnormally. Monitor to obtain data transfer information for the process. The data transmission information includes: receiving new data or new data indication, or the monitored process stops data transmission, or the data is correctly received.

步骤 104、 当被监测的所有数据传输进程都获取到数据传输信息而停止 监测时, 确认丟失的数据。  Step 104: When all the data transmission processes that are monitored acquire the data transmission information and stop monitoring, the lost data is confirmed.

当无线链路控制层实体确认丟失的数据后, 可发送状态报告, 请求发送 端重发送该丟失的数据。  After the radio link control layer entity acknowledges the lost data, a status report can be sent requesting the sender to resend the lost data.

在本实施例中, 利用混合自动重传请求的数据传输进程发送数据的序列 号顺序与混合自动重传请求的数据传输进程发送的时间顺序是一致的特点, 当无线链路控制层实体发现有数据缺失时, 导致数据缺失的进程是比引起数 据缺失的数据的发送时间早的数据传输进程。 因此, 根据本实施例, 在监测 混合自动重传请求数据传输进程时, 监测比引起数据缺失的数据的发送时间 早的数据传输进程, 并获得该数据传输进程的数据传输信息, 从而减小了用 户设备的工作量。 当获取到被监测的数据传输进程接收到新数据、 或者被监 测的数据传输进程接收到新数据指示、 或者被监测的数据传输进程停止数据 传输、 或者该数据被正确接收的数据传输信息时, 对数据传输进程停止监测, 而数据还缺失, 确认缺失的数据已丟失。 In this embodiment, the sequence of the sequence number of the data transmission process using the hybrid automatic repeat request is consistent with the time sequence sent by the data transmission process of the hybrid automatic repeat request, and the wireless link control layer entity finds that When data is missing, the process that causes the data to be missing is the data transfer process that is earlier than the time the data that caused the data is missing. Therefore, according to the embodiment, when monitoring the hybrid automatic repeat request data transmission process, the data transmission process earlier than the transmission time of the data causing the data loss is monitored, and the data transmission information of the data transmission process is obtained, thereby reducing the data transmission information. use The workload of the household equipment. When it is acquired that the monitored data transmission process receives new data, or the monitored data transmission process receives a new data indication, or the monitored data transmission process stops data transmission, or the data transmission information that the data is correctly received, The monitoring of the data transfer process is stopped, and the data is missing, confirming that the missing data has been lost.

图 2 为本发明实施例一所提供的无线链路控制层检测数据丟失的示意 图, 如图 2所示, 混合自动重传请求数据传输进程中 A表示发送至无线链路 控制层实体 A的数据, 混合自动重传请求数据传输进程中 B表示发送至无线 链路控制层实体 B 的数据, 空的数据传输进程表示无数据传输, X表示传输 错误的数据传输进程。  FIG. 2 is a schematic diagram of detecting data loss by a radio link control layer according to Embodiment 1 of the present invention. As shown in FIG. 2, in the hybrid automatic retransmission request data transmission process, A indicates data sent to the radio link control layer entity A. In the hybrid automatic repeat request data transmission process, B indicates data transmitted to the radio link control layer entity B, an empty data transmission process indicates no data transmission, and X indicates a transmission error data transmission process.

以无线链路控制层实体 A为例, 当无线链路控制层实体 A接收到数据序 列号为 8和 9的数据时, 发现缺失数据序列号为 6和 7的数据, 便对比 8, 9 号数据发送时间早的数据传输进程进行监测, 如图中的 1、 2、 3和 4进程。 其中, 数据传输进程 1的传输正确, 可以不进行监测, 因 2号数据传输进程 为空的数据传输进程, 为了提高监测效率, 也可以不对 2号进程进行监测。 在时刻 15 , 监测到 3号进程接收到了新数据, 因此停止对 3号进程的监测。 在时刻 16, 监测到 4号进程接收到了新数据, 因此停止对 4号进程的监测。 当被监测的所有的数据传输进程停止被监测时, 可以确认缺失的数据序列号 为 6和 7的数据丟失了。  Taking the radio link control layer entity A as an example, when the radio link control layer entity A receives the data with the data sequence numbers 8 and 9, it finds the data with the missing data sequence numbers 6 and 7, and compares the numbers 8, 9 The data transmission process is monitored early in the data transmission process, as shown in the 1, 2, 3 and 4 processes. Among them, the data transmission process 1 is transmitted correctly, and may not be monitored. Because the data transmission process of the No. 2 data transmission process is empty, in order to improve the monitoring efficiency, the No. 2 process may not be monitored. At time 15, it was detected that process No. 3 received new data and therefore stopped monitoring process No. 3. At time 16, it was detected that the No. 4 process received new data, so the monitoring of the No. 4 process was stopped. When all the data transmission processes being monitored stop being monitored, it can be confirmed that the missing data sequence numbers 6 and 7 are lost.

实施例二  Embodiment 2

本发明实施例还提供了一种检测无线链路控制层数据丟失的装置。 图 3 为本发明实施例二所提供的装置的结构图。 如图 3所示, 该装置包括:  The embodiment of the invention further provides an apparatus for detecting data loss of a radio link control layer. FIG. 3 is a structural diagram of a device according to Embodiment 2 of the present invention. As shown in Figure 3, the device includes:

数据接收单元 301 , 用于接收媒体接入控制层发送的数据及该数据发送 时间。  The data receiving unit 301 is configured to receive data sent by the medium access control layer and the data sending time.

其中, 混合自动重传请求实体, 向无线链路控制层发送数据时有多个并 行的数据传输进程, 对于每个数据传输进程, 混合自动重传请求接收端每接 收到一个数据, 都可以通过物理信道传输的参数得到该数据的连接帧号与子 帧号, 这两个参数表明了发送端发送该数据的时间。 The hybrid automatic repeat request entity has multiple parallel data transmission processes when transmitting data to the radio link control layer. For each data transmission process, the hybrid automatic repeat request receiving end can pass each received data. The parameters of the physical channel transmission get the connection frame number and the sub-data of the data. Frame number, these two parameters indicate when the sender sends the data.

混合自动重传请求实体初次发送数据时, 是按序列号顺序发送的。 因此 数据的序列号顺序和混合自动重传请求的数据传输进程发送数据的时间是一 致的。  When the hybrid automatic repeat request entity first sends data, it is sent in serial number order. Therefore, the sequence number sequence of the data is consistent with the time when the data transmission process of the hybrid automatic repeat request sends data.

其中, 数据发送时间可以通过混合自动重传实体的接收端, 记录并发送 至数据接收单元, 数据接收单元记录该数据的初次发送时间。 其中, 数据发 送时间也可以由媒体接入控制层中的其它实体进行记录并发送至数据接收单 元。  The data transmission time may be recorded and sent to the data receiving unit by mixing the receiving end of the automatic retransmission entity, and the data receiving unit records the initial transmission time of the data. The data transmission time may also be recorded by other entities in the medium access control layer and sent to the data receiving unit.

在本实施例中, 数据发送时间为数据的初次发送时间。 该数据初次发送 时间可以通过混合自动重传请求实体的接收端直接记录; 也可以在放弃传输 数据时刻或重传之后正确接收数据的时刻减去重传所用时间获得数据初次发 送的时间。  In this embodiment, the data transmission time is the initial transmission time of the data. The initial transmission time of the data can be directly recorded by the receiving end of the hybrid automatic repeat request entity; or the time when the data is correctly received at the time of abandoning the data transmission or after the retransmission is subtracted from the time taken for the retransmission to obtain the initial transmission time of the data.

其中, 在混合自动重传请求实体接收到新数据的时候, 需要更新对应的 数据传输进程的数据的初次发送时间。  When the hybrid automatic repeat request entity receives new data, it needs to update the initial sending time of the data of the corresponding data transmission process.

数据丟失检测单元 302, 用于当发现有数据缺失时, 检测第一数据的数 据传输信息, 第一数据的发送时间早于第二数据的发送时间, 第二数据为引 缺失数据缺失的数据; 并根据数据传输信息, 确认丟失的数据。  The data loss detecting unit 302 is configured to: when the data is found to be missing, detect the data transmission information of the first data, where the sending time of the first data is earlier than the sending time of the second data, and the second data is the data missing the missing data; And based on the data transmission information, the lost data is confirmed.

该数据丟失检测单元, 包括: 判断单元 3021 , 用于判断接收的数据是否 有缺失, 并发送判断结果; 第一监测单元 3022, 用于当接收到判断单元 3021 发送的有缺失数据的信息后, 监测第一数据的数据传输进程, 并在被监测的 数据传输进程接收到新数据、 被监测的数据传输进程接收到新数据指示、 被 监测的数据传输进程停止数据传输或者正确接收缺失数据时, 停止对该数据 传输进程的监测。  The data loss detecting unit includes: a determining unit 3021, configured to determine whether the received data is missing, and send the determining result; the first monitoring unit 3022 is configured to: after receiving the information of the missing data sent by the determining unit 3021, Monitoring the data transmission process of the first data, and when the monitored data transmission process receives new data, the monitored data transmission process receives new data indication, the monitored data transmission process stops data transmission, or correctly receives missing data, Stop monitoring the data transfer process.

其中, 被监测的数据传输进程停止数据传输通常是因为被监测的数据传 输进程发生异样。 如: 该数据超过最大重传次数, 并且发送端无数据可发; 在传输数据过程中发送端把接收端反馈的 NACK误读为 ACK,并且发送端无 数据可发; 混合自动重传请求实体需要重设; 接收软緩存发生溢出; 或者解 码校验发生异常等情况。 自动重传请求的数据传输进程发送端发送数据的序列号顺序与混合自动重传 请求的数据传输进程发送的时间顺序是一致的。 因此当无线链路控制层实体 A收到数据序列号为 8和 9的数据时, 就可以发现缺失数据序列号为 6和 7 的数据, 所述序列号为 8和 9的数据为引起数据缺失的数据。 其中, 在对数 据传输进程进行监测时, 可以对正确地传输数据的数据传输进程不监测, 并 且对没有激活的混合自动重传请求的数据传输进程不监测,以提高监测效率。 另外, 无线链路控制层实体发现数据缺失时, 之前的有些数据传输进程因上 一次无线链路控制层实体发现数据缺失而依然处于被监测状态。 因此, 为提 高监测效率, 对依然处于被监测状态的数据传输进程不监测。 比引起缺失数 据的数据发送时间早的数据传输进程可以是激活的数据传输进程中数据传输 错误并且没有处于监测状态的数据传输进程。 Among them, the monitored data transmission process stops the data transmission usually because the monitored data transmission process is abnormal. For example: the data exceeds the maximum number of retransmissions, and the sender has no data to send; in the process of transmitting data, the sender misinterprets the NACK fed back by the receiver as ACK, and the sender does not The data can be sent; the hybrid automatic repeat request entity needs to be reset; the receive soft buffer overflows; or the decoding check occurs abnormally. The sequence of the sequence number of the data transmission process of the automatic retransmission request sent by the sender is consistent with the time sequence of the data transmission process of the hybrid automatic repeat request. Therefore, when the radio link control layer entity A receives the data with the sequence numbers 8 and 9, the data with the missing sequence numbers 6 and 7 can be found, and the data with the sequence numbers 8 and 9 causes the data to be missing. The data. Wherein, when monitoring the data transmission process, the data transmission process of correctly transmitting data may not be monitored, and the data transmission process of the hybrid automatic retransmission request without activation is not monitored to improve the monitoring efficiency. In addition, when the radio link control layer entity discovers that the data is missing, some of the previous data transmission processes are still in the monitored state because the last radio link control layer entity finds that the data is missing. Therefore, in order to improve monitoring efficiency, the data transmission process that is still in the monitored state is not monitored. The data transmission process that is earlier than the data transmission time that caused the missing data may be a data transmission process in the active data transmission process and there is no data transmission process in the monitoring state.

在本实施例中,通过对数据传输进程进行监测获取进程的数据传输信息, 该数据传输信息包括: 接收到新数据, 或者接收到新数据指示, 或者被监测 的数据传输进程停止数据传输, 或者缺失数据被正确接收。  In this embodiment, the data transmission information of the process is obtained by monitoring the data transmission process, where the data transmission information includes: receiving new data, or receiving a new data indication, or stopping the data transmission by the monitored data transmission process, or Missing data is received correctly.

确认单元 3023 , 用于在所有被监测的数据传输进程停止监测时, 确认丟 失的数据。  The confirmation unit 3023 is configured to confirm the lost data when all monitored data transmission processes stop monitoring.

实施例三  Embodiment 3

本发明实施例还提供了一种检测无线链路控制层数据丟失的方法。 图 4 为本发明实施例三所提供的方法的流程图, 如图 4所示, 该方法包括:  The embodiment of the invention further provides a method for detecting data loss of a radio link control layer. FIG. 4 is a flowchart of a method according to Embodiment 3 of the present invention. As shown in FIG. 4, the method includes:

步骤 401、 媒体接入控制层实体记录数据发送时间, 并将该时间与对应 的数据发送至无线链路控制层实体。  Step 401: The media access control layer entity records a data sending time, and sends the time and corresponding data to the radio link control layer entity.

其中, 所述的数据发送时间由媒体接入控制层中的实体记录, 也可以由 混合自动重传请求实体记录。 其中, 记录的数据发送时间可以通过混合自动 重传请求实体发送到无线链路层。 其中, 数据发送时间通过混合自动重传请 求实体递交, 可以是混合自动重传实体在数据正确接收后, 把记录的时间与 对应的数据一起递交给媒体接入控制层的上层实体, 并由上层实体递交给无 线链路控制层实体, 或者直接递交给无线链路控制层实体。 The data transmission time is recorded by an entity in the medium access control layer, and may also be recorded by the hybrid automatic repeat request entity. Wherein, the recorded data transmission time can be automatically mixed by mixing The retransmission request entity sends to the radio link layer. The data transmission time is delivered by the hybrid automatic repeat request entity, and the hybrid automatic retransmission entity may, after the data is correctly received, deliver the recorded time together with the corresponding data to the upper entity of the media access control layer, and the upper layer The entity is submitted to the radio link control layer entity or directly to the radio link control layer entity.

其中, 混合自动重传请求实体, 向无线链路控制层发送数据时有多个并 行的数据传输进程, 对于每个数据传输进程, 混合自动重传请求接收端每接 收到一个数据, 都可通过物理信道传输的参数得到这个数据的连接帧号与子 帧号, 这两个参数表明了发送端发送该数据的时间。 另外, 混合自动重传请 求初次发送数据时, 是按序列号顺序发送的。 因此数据的序列号顺序和混合 自动重传请求的数据传输进程发送数据的时间是一致的。 其中, 数据发送时 间可通过混合自动重传实体的接收端记录。  The hybrid automatic repeat request entity has multiple parallel data transmission processes when transmitting data to the radio link control layer. For each data transmission process, the hybrid automatic repeat request receiving end can pass each received data. The parameters of the physical channel transmission get the connection frame number and the subframe number of this data. These two parameters indicate the time when the sender sends the data. In addition, when hybrid automatic repeat request is used to send data for the first time, it is sent in serial number order. Therefore, the sequence number sequence of the data is consistent with the time at which the data transfer process of the hybrid automatic repeat request sends data. The data transmission time can be recorded by the receiving end of the hybrid automatic retransmission entity.

步骤 402、 当媒体接入控制层实体发现数据传输进程有数据缺失时, 将 该数据传输进程的数据丟失指示及该丟失数据的发送时间发送至无线链路控 制层实体。  Step 402: When the media access control layer entity finds that the data transmission process has data missing, the data loss indication of the data transmission process and the sending time of the lost data are sent to the radio link control layer entity.

其中, 当混合自动重传请求实体发现传输的数据有丟失时, 可以通过层 间源语将该数据丟失指示及发送时间发送至无线链路控制层的实体。  When the hybrid automatic repeat request entity finds that the transmitted data is lost, the data loss indication and the sending time may be sent to the entity of the radio link control layer by using the layer source language.

层间源语在协议中称之为 ptimitives,源语有名称与参数,参数包含 4种, 如 Req (请求) 、 Ind (指示) 、 ResP (响应)、 Conf (确认) , 可以把数据丟 失指示的源语称之为: MAC— LOST— DATA— Ind,参数为: Lost— Indicator用来 指示媒体访问控制层的数据丟失, 及 Lostlnfo用来指明数据丟失的时间或数 据初次发送的时间。  The inter-layer source language is called ptimitives in the protocol. The source language has names and parameters. The parameters include four types, such as Req (request), Ind (indication), ResP (response), and Conf (confirm). The source language is called: MAC_LOST_DATA_Ind, the parameters are: Lost_ Indicator is used to indicate the data loss of the media access control layer, and Lostlnfo is used to indicate the time of data loss or the time when the data is first sent.

其中, 当混合自动重传请求的数据传输进程在接收的数据错误后, 接收 到了新数据、 接收到了新数据指示或者该数据传输进程停止数据传输时, 混 合自动重传请求实体将发现传输丟失的数据。  Wherein, when the data transmission process of the hybrid automatic repeat request receives new data, receives a new data indication, or the data transmission process stops data transmission after receiving the data error, the hybrid automatic repeat request entity will find that the transmission is lost. data.

步骤 403、 当无线链路控制层实体发现有数据缺失时, 查询第一数据的 数据丟失指示, 第一数据是发送时间早于第二数据发送时间的数据, 第二数 据为引起所述缺失数据缺失的数据。 与丟失数据对应的发送时间, 查询第一数据的数据丟失指示。 在本实施例中, 数据传输进程的数据传输信息包括数据丟失指示。 Step 403: When the radio link control layer entity finds that data is missing, querying a data loss indication of the first data, where the first data is data that is sent earlier than the second data sending time, and the second number is According to the data that causes the missing data to be missing. The transmission time corresponding to the lost data is queried for the data loss indication of the first data. In this embodiment, the data transmission information of the data transmission process includes a data loss indication.

步骤 404、 当所查询的数据丟失指示都已收到时, 确认丟失的数据。 当无线链路控制层实体确认丟失的数据后, 可发送状态报告, 请求发送 端重传所述丟失的数据。  Step 404: When the queried data loss indication has been received, confirm the lost data. After the radio link control layer entity acknowledges the lost data, a status report can be sent requesting the sender to retransmit the lost data.

在本实施例中, 同样是利用混合自动重传请求的数据传输进程发送数据 的序列号顺序与混合自动重传请求的数据传输进程发送的时间顺序是一致的 特点, 当无线链路控制层实体发现有数据缺失时, 缺失的数据发送时间比引 起数据缺失的数据发送时间早。 因此在对数据丟失指示进行查询时, 比引起 数据缺失的数据的发送时间早的数据丟失指示进行查询, 从而减小了用户设 备的工作量。 当所查询的数据丟失指示都已经收到时, 可确认所缺失的数据 已经丟失。  In this embodiment, the sequence sequence of the data transmission process using the hybrid automatic repeat request is also consistent with the time sequence sent by the data transmission process of the hybrid automatic repeat request, when the radio link control layer entity When it is found that there is data missing, the missing data is sent earlier than the data that caused the missing data. Therefore, when the data loss indication is queried, the data loss indication earlier than the transmission time of the data causing the data loss is queried, thereby reducing the workload of the user equipment. When the queried data loss indication has been received, it can be confirmed that the missing data has been lost.

图 5为本发明实施例三所提供的无线链路控制层检测数据丟失方法的示 意图, 如图 5所示, 混合自动重传请求的数据传输进程中 A表示发送至无线 链路控制层实体 A的数据; 混合自动重传请求的数据传输进程中 B表示发送 至无线链路控制层实体 B 的数据; 空的数据传输进程表示无传输; X表示传 输错误的数据传输进程。  FIG. 5 is a schematic diagram of a method for detecting data loss of a radio link control layer according to Embodiment 3 of the present invention. As shown in FIG. 5, in the data transmission process of the hybrid automatic retransmission request, A indicates that the method is sent to the radio link control layer entity A. Data; in the data transmission process of the hybrid automatic repeat request, B indicates data transmitted to the radio link control layer entity B; an empty data transmission process indicates no transmission; X indicates a transmission error data transmission process.

时刻 8时, 混合自动重传请求发现有数据丟失, 将进程 3数据丟失指示 发送至无线链路控制层实体 A和实体 B; 时刻 9时, 混合自动重传请求发现 有数据丟失,将进程 4数据丟失指示发送至无线链路控制层实体 A和实体 B。  At time 8, the hybrid automatic repeat request finds that there is data loss, and the process 3 data loss indication is sent to the radio link control layer entity A and entity B; at time 9, the hybrid automatic repeat request finds that there is data loss, and the process 4 The data loss indication is sent to the radio link control layer entity A and entity B.

以无线链路控制层实体 A为例, 当无线链路控制层实体 A在时刻 15接 收到数据序列号为 8和 9的数据时, 发现缺失数据序列号为 6和 7的数据, 则对引起数据缺失的数据的初次发送时刻 5之前的缺失数据进行查询。 如图 中的 3、 4时刻, 因为 1时刻已经正确接收数据, 2时刻为空。 由于被查询的 3和 4时刻的数据丟失指示已经收到, 因此可确认序列号为 6和 7的数据已 经丟失。 Taking the radio link control layer entity A as an example, when the radio link control layer entity A receives the data with the sequence numbers 8 and 9 at time 15, it finds that the missing data sequence numbers are 6 and 7, and the pair The missing data before the initial transmission time 5 of the data missing data is queried. At time 3 and 4 in the figure, since the data has been correctly received at time 1, 2 is empty. Due to the query Data loss indications at times 3 and 4 have been received, so it can be confirmed that the data with sequence numbers 6 and 7 has been lost.

实施例四  Embodiment 4

本发明实施例还提供了一种检测无线链路控制层数据丟失的装置, 如图 6所示, 该装置包括:  An embodiment of the present invention further provides an apparatus for detecting data loss of a radio link control layer. As shown in FIG. 6, the apparatus includes:

数据接收单元 601 , 用于接收媒体接入控制层发送的数据及该数据的发 送时间。  The data receiving unit 601 is configured to receive data sent by the medium access control layer and a sending time of the data.

其中, 混合自动重传请求实体, 向无线链路控制层实体发送数据时有多 个并行的多个数据传输进程, 对于每个数据传输进程, 混合自动重传请求实 体的接收端每接收到一个数据, 都可通过物理信道传输的参数得到这个数据 的连接帧号与子帧号, 这两个参数表明了发送端发送该数据的时间。 另外, 混合自动重传请求实体初次发送数据时, 是按序列号顺序发送的。 因此数据 的序列号顺序和混合自动重传请求的数据传输进程发送数据的时间顺序是一 致的。  The hybrid automatic repeat request entity has multiple parallel data transmission processes when transmitting data to the radio link control layer entity. For each data transmission process, the receiving end of the hybrid automatic repeat request entity receives one Data, the connection frame number and the subframe number of the data can be obtained through parameters transmitted by the physical channel, and the two parameters indicate the time when the sender sends the data. In addition, when the hybrid automatic repeat request entity first transmits data, it is sent in the sequence number sequence. Therefore, the sequence number sequence of the data and the time sequence in which the data transmission process of the hybrid automatic repeat request is sent are consistent.

其中, 数据发送时间可通过混合自动重传请求实体的接收端记录并发送 至所述数据接收单元, 数据接收单元记录该数据的初次发送时间。 而混合自 动重传请求实体初次发送数据的时间可由记录的发送时间获得。 如在数据初 次传输时接收端记录下数据发送时间, 或者在正确接收数据时或者放弃传输 该数据时接收端根据该时刻减去其中重传所用时间即为该数据初次发送时 间。 其中, 数据发送时间也可以由媒体接入控制层中的其它实体进行记录并 发送至数据接收单元。  The data transmission time may be recorded by the receiving end of the hybrid automatic repeat request entity and sent to the data receiving unit, and the data receiving unit records the initial sending time of the data. The time when the hybrid automatic repeat request entity first transmits data can be obtained by the transmission time of the record. For example, when the data is initially transmitted, the receiving end records the data transmission time, or when the data is correctly received or when the data is discarded, the receiving end subtracts the time used for the retransmission according to the time, that is, the initial transmission time of the data. The data transmission time may also be recorded by other entities in the medium access control layer and sent to the data receiving unit.

其中, 在混合自动重传请求实体接收到新数据时需要更新对应的数据传 输进程的数据的初次发送时间。  The initial transmission time of the data of the corresponding data transmission process needs to be updated when the hybrid automatic repeat request entity receives the new data.

数据丟失指示接收单元 602, 用于接收数据丟失指示及丟失数据的发送 时间。  The data loss indication receiving unit 602 is configured to receive a data loss indication and a transmission time of the lost data.

其中, 当媒体接入控制层实体发现混合自动重传请求实体数据传输进程 所传输的数据有缺失时, 可以通过层间源语将该数据丟失指示发送至无线链 路控制层的实体。 Wherein, when the medium access control layer entity discovers a hybrid automatic repeat request entity data transmission process When the transmitted data is missing, the data loss indication can be sent to the entity of the radio link control layer through the inter-layer source language.

数据丟失检测单元 603 , 用于当无线链路控制层实体发现有数据缺失时, 检测第一数据的数据传输信息, 第一数据的发送时间早于第二数据的发送时 间, 第二数据为引起数据缺失的数据; 并根据数据传输信息, 确认丟失的数 据。  The data loss detecting unit 603 is configured to: when the radio link control layer entity finds that data is missing, detecting data transmission information of the first data, where the sending time of the first data is earlier than the sending time of the second data, and the second data is caused by Data missing data; and the lost data is confirmed based on the data transmission information.

该数据丟失检测单元, 包括: 判断单元 6031 , 用于判断所接收的数据是 否有缺失, 并发送判断结果; 查询单元 6032 , 用于当接收到判断单元 6031 发送的有缺失数据的信息后,查询第一数据的数据丟失指示;确认单元 6033 , 用于在所有被查询的数据都接收到数据丟失指示时, 确认丟失的数据。  The data loss detecting unit includes: a determining unit 6031, configured to determine whether the received data is missing, and send the determining result; the query unit 6032 is configured to: after receiving the information of the missing data sent by the determining unit 6031, query The data loss indication of the first data; the confirmation unit 6033 is configured to confirm the lost data when all the queried data receives the data loss indication.

实施例五  Embodiment 5

本发明还提供了一种检测无线链路控制层数据丟失的方法, 该方法与实 施例一所提供的方法不同之处在于: 在无线链路控制层实体发现有数据缺失 时, 监测混合自动重传请求数据传输进程的范围不同。 如图 7所示, 该方法 包括:  The present invention also provides a method for detecting data loss of a radio link control layer, and the method is different from the method provided by the first embodiment in that: when the radio link control layer entity finds that data is missing, monitoring the hybrid automatic weight The range of requests for data transfer processes is different. As shown in Figure 7, the method includes:

步骤 701、 媒体接入控制层记录数据发送时间, 并将该数据发送时间与 对应的数据发送至无线链路控制层实体。  Step 701: The media access control layer records a data sending time, and sends the data sending time and corresponding data to the radio link control layer entity.

其中, 所述与数据发送时间对应的数据由混合自动重传请求实体发送至 无线链路控制层。 其中, 所述的数据发送时间由媒体接入控制层中的实体记 录, 所述实体可以是混合自动重传请求实体。 其中, 混合自动重传请求实体, 向无线链路控制层实体发送数据时有多个并行的数据传输进程, 对于每个数 据传输进程, 混合自动重传请求实体的接收端每收到一个数据, 都可通过物 理信道传输的参数得到这个数据的连接帧号与子帧号, 这两个参数表明了发 送端发送该数据的时间。 另外, 混合自动重传请求实体初次发送数据时, 是 按序列号顺序发送的。 因此数据的序列号顺序和混合自动重传请求的数据传 输进程初次发送数据的时间顺序是一致的。 其中, 数据发送时间可通过混合自动重传请求实体的接收端记录。 混合 自动重传请求实体初次发送数据的时间可由记录的发送时间获得。 数据初次 发送的时间可通过在数据初次传输时接收端记录数据发送时间获得; 或者在 正确接收数据时或者放弃传输该数据时, 接收端根据该时刻减去其中重传所 用时间获得数据初次发送的时间。 The data corresponding to the data transmission time is sent by the hybrid automatic repeat request entity to the radio link control layer. The data sending time is recorded by an entity in the media access control layer, and the entity may be a hybrid automatic repeat request entity. The hybrid automatic repeat request entity has multiple parallel data transmission processes when transmitting data to the radio link control layer entity. For each data transmission process, each time the receiving end of the hybrid automatic repeat request entity receives a data, The connection frame number and the subframe number of the data can be obtained through parameters transmitted by the physical channel, and the two parameters indicate the time when the sender sends the data. In addition, when the hybrid automatic repeat request entity first transmits data, it is sent in the sequence number sequence. Therefore, the sequence number sequence of the data is consistent with the time sequence in which the data transmission process of the hybrid automatic repeat request is initially transmitted. The data sending time may be recorded by the receiving end of the hybrid automatic repeat request entity. The time at which the hybrid automatic repeat request entity first transmits data can be obtained from the transmission time of the record. The time when the data is first transmitted may be obtained by the receiving end recording data transmission time when the data is initially transmitted; or when the data is correctly received or discarded, the receiving end subtracts the time used for the retransmission from the time to obtain the data for the initial transmission. time.

步骤 702、 当无线链路控制层实体发现有缺失数据时, 监测比引起数据 缺失的数据的发送时间早并且激活的数据传输进程中, 数据传输错误且没有 正处于监测状态的数据传输进程。 自动重传请求的数据传输进程发送数据的序列号顺序与混合自动重传请求的 数据传输进程发送的时间顺序是一致的。 当无线链路控制层实体 A收到数据 序列号为 8和 9的数据时, 就可以发现缺失数据序列号为 6和 7的数据, 所 述序列号为 8和 9的数据为引起数据缺失的数据。 其中, 在对数据传输进程 进行监测时, 可以对正确地传输数据的数据传输进程不进行监测, 并且对没 有激活的混合自动重传请求的数据传输进程不进行监测, 以提高监测效率。 无线链路控制层实体发现数据缺失时, 之前的有些数据传输进程因上一次无 线链路控制层实体发现数据缺失而正处于被监测状态, 因此, 为提高监测效 率, 对所述正在处于被监测状态的数据传输进程不进行监测。 其中, 对所述 数据传输进程进行监测以获得所监测数据传输进程的数据传输信息。  Step 702: When the radio link control layer entity finds that there is missing data, monitoring the data transmission process that is earlier than the transmission time of the data causing the data loss and the data transmission process is activated, and the data transmission process is not in the monitoring state. The sequence of the sequence number of the data transmission process that sends the automatic retransmission request is the same as the sequence of the data transmission process sent by the hybrid automatic repeat request. When the radio link control layer entity A receives the data with the sequence numbers 8 and 9, it can find the data with the missing sequence numbers 6 and 7, and the data with the sequence numbers 8 and 9 is the data missing. data. Among them, when monitoring the data transmission process, the data transmission process of correctly transmitting data can be not monitored, and the data transmission process of the hybrid automatic retransmission request without activation is not monitored to improve the monitoring efficiency. When the radio link control layer entity discovers that the data is missing, some of the previous data transmission processes are in the monitored state due to the missing data of the last radio link control layer entity discovery. Therefore, in order to improve the monitoring efficiency, the monitoring data is being monitored. The status of the data transfer process is not monitored. The data transmission process is monitored to obtain data transmission information of the monitored data transmission process.

步骤 703、 当获取到被监测的数据传输进程的数据传输信息时, 对该进 程停止监测。 数据传输信息为: 被监测的数据传输进程接收到新数据、 被监 测的数据传输进程接收到新数据指示、 被监测的数据传输进程停止数据传输 或者缺失的数据被正确接收的信息。  Step 703: When the data transmission information of the monitored data transmission process is acquired, the process is stopped. The data transmission information is: information that the monitored data transmission process receives new data, the monitored data transmission process receives new data indication, the monitored data transmission process stops data transmission, or the missing data is correctly received.

其中, 被监测的数据传输进程被迫停止的情况通常是在当被监测的数据 传输进程发生异样。 如: 该数据超过最大重传次数, 并且发送端无数据可发 时;数据在传输过程中发送端把接收端反馈的 NACK误读为 ACK,并且发送 端无数据可发时; 混合自动重传请求实体需要重设时; 接收软緩存发生溢出 时或者解码校验发生异常时, 该数据传输进程将被迫停止。 据传输进程进行监测, 以获得该数据传输进程的数据传输信息。 该数据传输 信息包括: 接收到新数据、 接收到新数据指示、 被监测的数据传输进程停止 数据传输或者缺失的数据被正确接收。 Among them, the situation in which the monitored data transmission process is forced to stop is usually the same when the monitored data transmission process occurs. For example: when the data exceeds the maximum number of retransmissions, and there is no data to be sent at the transmitting end; during the transmission, the transmitting end misinterprets the NACK fed back by the receiving end as an ACK and sends When no data can be sent at the end; the hybrid automatic repeat request entity needs to be reset; when the receive soft buffer overflows or the decoding check occurs abnormally, the data transfer process will be forced to stop. Monitoring according to the transmission process to obtain data transmission information of the data transmission process. The data transmission information includes: receiving new data, receiving a new data indication, the monitored data transmission process stops data transmission, or the missing data is correctly received.

步骤 704、 当被监测的所有的数据传输进程都获取到数据传输信息而停 止监测时, 确认丟失的数据。  Step 704: When all the data transmission processes that are monitored acquire the data transmission information and stop monitoring, the lost data is confirmed.

当无线链路控制层实体确认丟失的数据后, 可发送状态报告, 请求发送 端重传丟失的数据。  After the radio link control layer entity acknowledges the lost data, a status report can be sent requesting the sender to retransmit the lost data.

实施例六  Embodiment 6

本发明实施例还提供了一种检测无线链路控制层数据丟失的装置, 如图 An embodiment of the present invention further provides a device for detecting data loss of a radio link control layer, as shown in the figure.

8所示, 该装置包括: As shown in Figure 8, the device includes:

判断单元 801 , 用于判断接收的数据是否有缺失, 并发送判断结果。 数据丟失检测单元 802, 用于当发现有数据缺失时, 检测比引起数据缺 失的数据的发送时间早的数据传输信息并确认丟失的数据。  The determining unit 801 is configured to determine whether the received data is missing, and send the judgment result. The data loss detecting unit 802 is configured to detect data transmission information earlier than the transmission time of the data causing the data loss and confirm the lost data when the data is missing.

该数据丟失检测单元, 包括:  The data loss detecting unit includes:

第二监测单元 8021 , 用于在接收到判断单元 801发送的有缺失数据的信 进程中, 数据传输错误且没有正处于监测状态的数据传输进程进行监测, 并 在所监测的数据传输进程接收到新数据、 或者新数据指示、 或者被监测的进 程停止数据传输、 或者正确接收缺失数据时, 停止对该数据传输进程的监测。  The second monitoring unit 8021 is configured to: in the process of receiving the missing data sent by the determining unit 801, the data transmission process is incorrect and the data transmission process is not in the monitoring state, and is received in the monitored data transmission process. The monitoring of the data transmission process is stopped when new data, or new data indicates, or the monitored process stops transmitting data or correctly receives missing data.

其中, 被监测的数据传输进程停止数据传输通常是因为被监测的数据传 输进程发生异样。 如: 该数据超过最大重传次数, 并且发送端无数据可发; 在数据传输过程中发送端把接收端反馈的 NACK误读为 ACK,并且发送端无 数据可发; 混合自动重传请求实体需要重设时, 接收软緩存发生溢出或者解 码校验发生异常等情况。 Among them, the monitored data transmission process stops the data transmission usually because the monitored data transmission process is abnormal. For example: the data exceeds the maximum number of retransmissions, and the sender has no data to send; during the data transmission, the sender misinterprets the NACK fed back by the receiver as an ACK, and the sender has no data to send; the hybrid automatic repeat request entity Receive reset buffer overflow or solution when reset is required An error occurs in the code check.

其中, 引起数据缺失的数据为使得发现数据缺失的数据。 例如: 由于混 合自动重传请求的数据传输进程发送数据的序列号顺序与混合自动重传请求 的数据传输进程发送的时间顺序是一致的。 当无线链路控制层实体 A接收到 数据序列号为 8和 9的数据时,就可以发现缺失数据序列号为 6和 7的数据, 所述序列号为 8和 9的数据为引起数据缺失的数据。 其中, 在对进程的监测 中, 可以对正确地传输数据的数据传输进程不进行监测, 并且对没有激活的 混合自动重传请求的数据传输进程不进行监测, 以提高监测效率。 无线链路 控制层实体发现数据缺失时, 之前的有些数据传输进程因上一次无线链路控 制层实体发现数据缺失而依然处于被监测状态, 因此为提高监测效率, 对依 然处于被监测状态的数据传输进程不进行监测。  Among them, the data that causes the data to be missing is the data that makes the discovery data missing. For example: The sequence of sequence numbers sent by the data transmission process of the hybrid automatic repeat request is consistent with the time sequence sent by the data transmission process of the hybrid automatic repeat request. When the radio link control layer entity A receives the data with the sequence numbers 8 and 9, it can find the data with the missing sequence numbers 6 and 7, and the data with the sequence numbers 8 and 9 is the data missing. data. Among them, in the monitoring of the process, the data transmission process of correctly transmitting data can be not monitored, and the data transmission process of the hybrid automatic repeat request without activation is not monitored to improve the monitoring efficiency. When the radio link control layer entity discovers that the data is missing, some of the previous data transmission processes are still in the monitored state due to the missing data of the last radio link control layer entity discovery. Therefore, in order to improve the monitoring efficiency, the data still in the monitored state is improved. The transfer process is not monitored.

在本实施例中, 通过对数据传输进程进行监测获取数据传输进程的数据 传输信息, 该数据传输信息包括: 接收到新数据或新数据指示, 或者监测的 进程停止数据传输或者所述缺失数据被正确接收。  In this embodiment, the data transmission information of the data transmission process is obtained by monitoring the data transmission process, where the data transmission information includes: receiving new data or new data indication, or monitoring the process to stop data transmission or the missing data is Receive correctly.

确认单元 8022, 用于在所有被监测的数据传输进程停止监测时, 确认丟 失的数据。  A confirmation unit 8022 is configured to confirm the lost data when all monitored data transmission processes stop monitoring.

在本实施例中, 利用混合自动重传请求的数据传输进程发送数据的顺序 与混合自动重传请求进程发送数据的时间顺序是一致的特点, 当无线链路控 制层实体发现有数据缺失时, 导致数据缺失的数据传输进程是比引起序列号 缺失的数据发送时间早的数据传输进程。 因此在本实施例中, 通过检测比引 起序列号缺失的数据发送时间早的数据传输信息, 并根据所获取的该数据传 输信息确认丟失的数据。 与现有技术需要监测除引起序列号缺失的混合自动 重传请求的数据传输进程外的所有的数据传输进程相比, 减小了用户设备的 工作量, 提高了检测无线链路控制层数据丟失的效率。  In this embodiment, the order in which the data is transmitted by the data transmission process using the hybrid automatic repeat request is consistent with the time sequence in which the data is transmitted by the hybrid automatic repeat request process. When the radio link control layer entity finds that data is missing, The data transfer process that causes the data to be missing is a data transfer process that is earlier than the time that the serial number is missing. Therefore, in the present embodiment, the data transmission information earlier than the data transmission time missing the serial number is detected, and the lost data is confirmed based on the acquired data transmission information. Compared with all data transmission processes in the prior art that need to monitor the data transmission process except the hybrid automatic repeat request that causes the serial number missing, the workload of the user equipment is reduced, and the detection of the radio link control layer data loss is improved. s efficiency.

本领域普通技术人员可以理解实现实施例一、 实施例三以及实施例五中 所述方法的全部或部分步骤, 可以通过程序来指令相关的硬件来完成, 所述 的程序可以存储于计算机可读存储介质中, 该程序在执行时, 所包括的步骤 分别和实施例一及实施例三中方法步骤相同, 所述的存储介质, 如:A person skilled in the art can understand that all or part of the steps of the method described in Embodiment 1, Embodiment 3 and Embodiment 5 can be implemented by a program to instruct related hardware. The program may be stored in a computer readable storage medium, and the steps included in the program are the same as those in the first embodiment and the third embodiment, respectively.

ROM/RAM, 磁碟, 光盘等。 ROM/RAM, disk, CD, etc.

以上对本发明实施例所提供的检测无线链路控制层数据丟失的方法及装 了阐述, 以上实施例的说明只是用于帮助理解本发明的方法及其核心思想; 同时, 对于本领域的一般技术人员, 依据本发明的思想, 在具体实施方式及 应用范围上均会有改变之处, 综上所述, 本说明书内容不应理解为对本发明 的限制。  The method for detecting data loss of the radio link control layer provided by the embodiment of the present invention is described above, and the description of the above embodiment is only used to help understand the method and core idea of the present invention. Meanwhile, the general technology in the field In the following, the description of the present invention is not limited to the scope of the present invention.

Claims

权 利 要 求 Rights request 1、 一种检测无线链路控制层数据丟失的方法, 其特征在于, 包括: 当无线链路控制层实体发现有缺失数据时, 检测第一数据的数据传输信 息, 所述第一数据的发送时间早于第二数据的发送时间, 所述第二数据为引 起所述缺失数据缺失的数据;  A method for detecting data loss of a radio link control layer, the method comprising: detecting, when a radio link control layer entity finds missing data, data transmission information of the first data, sending the first data The time is earlier than the sending time of the second data, and the second data is data that causes the missing data to be missing; 根据检测的所述数据传输信息, 确认丟失的数据。  The lost data is confirmed based on the detected data transmission information. 2、根据权利要求 1所述的检测无线链路控制层数据丟失的方法, 其特征 在于,  2. The method of detecting data loss of a radio link control layer according to claim 1, wherein: 在所述检测第一数据的数据传输信息之前, 还包括: 媒体接入控制层的 实体记录数据发送时间, 并将数据发送时间及对应的数据发送至无线链路控 制层实体。  Before the detecting the data transmission information of the first data, the method further includes: the entity of the media access control layer records the data transmission time, and sends the data transmission time and the corresponding data to the radio link control layer entity. 3、根据权利要求 2所述的检测无线链路控制层数据丟失的方法, 其特征 在于, 所述检测第一数据的数据传输信息, 包括: 查询所述第一数据的数据 丟失指示; 所述数据丟失指示由媒体接入控制层在发现数据缺失时发送至所 述无线链路控制层实体;  The method for detecting data loss of a radio link control layer according to claim 2, wherein the detecting data transmission information of the first data comprises: querying a data loss indication of the first data; The data loss indication is sent by the medium access control layer to the radio link control layer entity when the discovery data is missing; 所述根据检测的所述数据传输信息, 确认丟失的数据, 包括: 当所查询 的数据丟失指示都已收到, 确认丟失的数据。  The confirming the lost data according to the detected data transmission information includes: confirming the lost data when the queried data loss indication has been received. 4、根据权利要求 3所述的检测无线链路控制层数据丟失的方法, 其特征 在于, 所述媒体接入控制层通过层间源语将数据丟失指示以及该丟失数据的 发送时间发送至无线链路控制层。  The method for detecting data loss of a radio link control layer according to claim 3, wherein the medium access control layer sends a data loss indication and a transmission time of the lost data to the wireless through an inter-layer source language. Link control layer. 5、根据权利要求 2所述的检测无线链路控制层数据丟失的方法, 其特征 在于, 所述媒体接入控制层向无线链路控制层发送所述数据时有至少两个并 行的数据传输进程;  The method for detecting data loss of a radio link control layer according to claim 2, wherein the medium access control layer has at least two parallel data transmissions when transmitting the data to a radio link control layer. Process 所述检测第一数据的数据传输信息, 包括:  The detecting data transmission information of the first data includes: 在所述数据传输进程中, 监测第一数据的数据传输进程;  Monitoring the data transmission process of the first data in the data transmission process; 当获取到的数据传输信息为: 被监测的数据传输进程接收到新数据或接 收到新数据指示、 被监测的数据传输进程停止数据传输或者缺失数据被正确 接收时, 对该进程停止监测; When the obtained data transmission information is: The monitored data transmission process receives new data or receives When the new data indication is received, the monitored data transmission process stops the data transmission, or the missing data is correctly received, the monitoring is stopped for the process; 所述根据所述数据传输信息, 确认丟失的数据, 包括:  The confirming the lost data according to the data transmission information includes: 当被监测的所有数据传输进程都获取到数据传输信息而停止监测时, 确 认丟失的数据。  When all data transmission processes being monitored acquire data transmission information and stop monitoring, the lost data is confirmed. 6、根据权利要求 5所述的检测无线链路控制层数据丟失的方法, 其特征 在于, 所述第一数据的数据传输进程进一步为激活的进程中数据传输错误且 没有处于监测状态的数据传输进程。  The method for detecting data loss of a radio link control layer according to claim 5, wherein the data transmission process of the first data is further a data transmission error in an active process and no data transmission in a monitoring state. process. 7、根据权利要求 2所述的检测无线链路控制层数据丟失的方法, 其特征 在于, 所述媒体接入控制层记录的数据发送时间为数据初次发送时间。  The method for detecting data loss of a radio link control layer according to claim 2, wherein the data transmission time recorded by the medium access control layer is a data initial transmission time. 8、 根据权利要求 1-7任一所述的检测无线链路控制层数据丟失的方法, 其特征在于, 当无线链路控制层实体确认丟失的数据后, 发送状态报告请求 重传所述丟失数据。  The method for detecting data loss of a radio link control layer according to any one of claims 1 to 7, wherein after the radio link control layer entity confirms the lost data, the transmission status report requests retransmission of the loss. data. 9、 一种检测无线链路控制层数据丟失的装置, 其特征在于, 包括: 数据接收单元, 用于接收媒体接入控制层发送的数据及所述数据的发送 时间;  A device for detecting data loss of a radio link control layer, comprising: a data receiving unit, configured to receive data sent by a medium access control layer and a sending time of the data; 数据丟失检测单元, 用于当发现有数据缺失时, 检测第一数据的数据传 输信息, 所述第一数据的发送时间早于第二数据的发送时间, 所述第二数据 为引起所述缺失数据缺失的数据; 并根据所述数据传输信息, 确认丟失的数 据。  a data loss detecting unit, configured to detect data transmission information of the first data when the data is found to be missing, the sending time of the first data is earlier than the sending time of the second data, and the second data is caused by the missing Data missing from the data; and the lost data is confirmed based on the data transmission information. 10、 根据权利要求 9所述的检测无线链路控制层数据丟失的装置, 其特 征在于, 所述数据丟失检测单元, 包括:  The device for detecting data loss of the radio link control layer according to claim 9, wherein the data loss detecting unit comprises: 判断单元, 用于判断所接收的数据是否有缺失, 并发送判断结果; 第一监测单元,用于在接收到所述判断单元发送的有缺失数据的信息后, 监测第一数据的数据传输进程,并且被监测的数据传输进程接收到新数据时、 被监测的数据传输进程接收到新数据指示时、 被监测的数据传输进程停止数 据传输时或者正确接收缺失数据时, 停止对该数据传输进程的监测; 确认单元, 用于在所有被监测的数据传输进程停止监测时, 确认丟失的 数据。 a determining unit, configured to determine whether the received data is missing, and send the determination result; the first monitoring unit is configured to monitor the data transmission process of the first data after receiving the information of the missing data sent by the determining unit And when the monitored data transmission process receives new data, when the monitored data transmission process receives the new data indication, the monitored data transmission process stops The monitoring of the data transmission process is stopped according to the transmission or when the missing data is correctly received; the confirmation unit is configured to confirm the lost data when all the monitored data transmission processes stop monitoring. 1 1、 根据权利要求 9所述的检测无线链路控制层数据丟失的装置, 其特 征在于, 所述数据丟失检测单元, 包括:  The device for detecting data loss of the radio link control layer according to claim 9, wherein the data loss detecting unit comprises: 判断单元, 用于判断所接收的数据是否有缺失, 并发送判断结果; 第二监测单元,用于在接收到所述判断单元发送的有缺失数据的信息后, 监测第一数据的数据传输进程, 所述第一数据的数据传输进程进一步为激活 的数据传输进程中数据传输错误且没有处于监测状态的数据传输进程进行监 测; 当被监测的数据传输进程接收到新数据时、 被监测的数据传输进程接收 到新数据指示时、 被监测的数据传输进程停止数据传输时或者正确接收缺失 数据时, 停止对该进程的监测;  a determining unit, configured to determine whether the received data is missing, and send the determination result; the second monitoring unit is configured to monitor the data transmission process of the first data after receiving the information of the missing data sent by the determining unit The data transmission process of the first data further monitors a data transmission process in which the data transmission process is in an active data transmission process and is not in a monitoring state; when the monitored data transmission process receives new data, the monitored data When the transmission process receives the new data indication, the monitored data transmission process stops the data transmission, or correctly receives the missing data, the monitoring of the process is stopped; 确认单元, 用于在所有被监测的进程停止监测时, 确认丟失的数据。 A confirmation unit that is used to confirm lost data when all monitored processes stop monitoring. 12、 根据权利要求 9所述的检测无线链路控制层数据丟失的装置, 其特 征在于, 还包括: 数据丟失指示接收单元, 用于接收数据丟失指示及该丟失 数据的发送时间; The apparatus for detecting data loss of a radio link control layer according to claim 9, further comprising: a data loss indication receiving unit, configured to receive a data loss indication and a sending time of the lost data; 所述数据丟失检测单元, 包括:  The data loss detecting unit includes: 判断单元, 用于判断所接收的数据是否有缺失, 并发送判断结果; 查询单元, 用于在接收到所述判断单元发送的有缺失数据的信息后, 查 询第一数据的数据丟失指示;  a determining unit, configured to determine whether the received data is missing, and send the determination result; the query unit is configured to query the data loss indication of the first data after receiving the information of the missing data sent by the determining unit; 确认单元, 用于在所有被查询的数据都接收到数据丟失指示时, 确认丟 失的数据。  The confirmation unit is configured to confirm the lost data when all the data being queried receives the data loss indication.
PCT/CN2008/071673 2007-07-17 2008-07-17 Method and apparatus for detecting data loss of radio link control layer Ceased WO2009010011A1 (en)

Applications Claiming Priority (4)

Application Number Priority Date Filing Date Title
CN200710044051.4 2007-07-17
CN200710044051 2007-07-17
CNA2007101452699A CN101350698A (en) 2007-07-17 2007-08-17 Method and device for detecting loss of radio link control layer data
CN200710145269.9 2007-08-17

Publications (1)

Publication Number Publication Date
WO2009010011A1 true WO2009010011A1 (en) 2009-01-22

Family

ID=40259322

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2008/071673 Ceased WO2009010011A1 (en) 2007-07-17 2008-07-17 Method and apparatus for detecting data loss of radio link control layer

Country Status (1)

Country Link
WO (1) WO2009010011A1 (en)

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1663164A (en) * 2002-05-13 2005-08-31 高通股份有限公司 Improved Data Transmission in Hybrid Automatic Repeating Mechanism in CDMA Communication System
CN1901432A (en) * 2006-07-04 2007-01-24 华为技术有限公司 Method and system for detecting data lost number

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1663164A (en) * 2002-05-13 2005-08-31 高通股份有限公司 Improved Data Transmission in Hybrid Automatic Repeating Mechanism in CDMA Communication System
CN1901432A (en) * 2006-07-04 2007-01-24 华为技术有限公司 Method and system for detecting data lost number

Similar Documents

Publication Publication Date Title
JP4965713B2 (en) Method and apparatus for processing error control messages in a wireless communication system
CN101529780B (en) Method and device for efficient utilization of radio resources in a communication network
TWI342134B (en) Method and apparatus for rlp retransmission for cdma communication systems
US7895494B2 (en) Method and system for implementing H-ARQ-assisted ARQ operation
EP1976176B1 (en) A method and apparatus for data retransmission
KR101241056B1 (en) Radio link control reset using radio resource control signaling
JP4607339B2 (en) Flexible radio link control protocol
US20090175163A1 (en) Method and apparatus of performing packet data convergence protocol re-establishment
TWI471024B (en) Method and apparatur of exchanging data between a base station and a mobile station
TW200929930A (en) Method and apparatus for detecting radio link control protocol errors and triggering radio link control re-establishment
JP2010511318A (en) Method and apparatus for transmitting data in radio link control layer in mobile communication system
WO2013178112A1 (en) Method for sending status report and rlc receiving entity
CN102355336B (en) Buffer status report (BSR) triggering method, device and user equipment
WO2013044718A1 (en) Method, terminal and system for implementing device to device communication
JP2009522873A (en) Method and system for H-ARQ assisted ARQ operation
TW200952383A (en) Method and apparatus for delivery notification of non-access stratum retransmission
WO2012100670A1 (en) Method and apparatus for data packet retransmission
TW200935812A (en) Status reporting for retransmission protocol
KR20070121602A (en) Packet discard method and apparatus in wireless communication system
CN101009537A (en) A data retransfer method and system
WO2009082848A1 (en) A method for radio link control entity reset
CN101237309B (en) Data retransfer method, device and automatic retransfer request entity of transmission end
WO2009086679A1 (en) Method for reset control of radio link control entity
WO2008141484A1 (en) A method and retransfer controlling system for a single data packet or the last data packet
WO2007025454A1 (en) Method and system of wireless communication down data retransmission

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 08783705

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 08783705

Country of ref document: EP

Kind code of ref document: A1