WO2012051881A1 - Method and device for controlling data processing - Google Patents

Method and device for controlling data processing Download PDF

Info

Publication number
WO2012051881A1
WO2012051881A1 PCT/CN2011/078541 CN2011078541W WO2012051881A1 WO 2012051881 A1 WO2012051881 A1 WO 2012051881A1 CN 2011078541 W CN2011078541 W CN 2011078541W WO 2012051881 A1 WO2012051881 A1 WO 2012051881A1
Authority
WO
WIPO (PCT)
Prior art keywords
timer
scan
network element
time
data
Prior art date
Application number
PCT/CN2011/078541
Other languages
French (fr)
Chinese (zh)
Inventor
叶炜威
Original Assignee
中兴通讯股份有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 中兴通讯股份有限公司 filed Critical 中兴通讯股份有限公司
Publication of WO2012051881A1 publication Critical patent/WO2012051881A1/en

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/1867Arrangements specially adapted for the transmitter end
    • H04L1/188Time-out mechanisms
    • 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/1867Arrangements specially adapted for the transmitter end
    • H04L1/187Details of sliding window management

Definitions

  • the present invention relates to the field of wireless communications, and in particular, to a data processing control method and apparatus. Background technique
  • ARQ Automatic Repeat-reQuest
  • MAC media access control
  • the receiver requests the sender to retransmit the error.
  • the data message to re-receive the erroneous message, and prevent unrestricted retransmission of data through multiple timers, is one of the methods used in the communication to deal with errors caused by the channel.
  • Scanning is a way for the scanning initiator to obtain the signal quality of other frequencies.
  • the scan initiator changes the frequency to obtain the signal quality of other frequencies. Therefore, during the scan, the scan initiator loses the communication connection with the original station due to the frequency change, and cannot signal with the original station. Interact with data.
  • the ARQ receiving end that is, the data receiving end cannot send the feedback message to the ARQ sending end, that is, the data sending end sends the feedback message, and the ARQ sending end cannot receive the data and signaling message.
  • data retransmission is continuously performed, and the data block is discarded after the lifetime timer expires. Therefore, retransmission cannot be performed when the retransmission is required at the end of scanning, and a large number of ARQ Discards are caused ( The ARQ discards the message and encroaches on the air interface bandwidth.
  • the ARQ sender initiates an ARQ Reset (ARQ Reset) process. If the ARQ receiver does not receive the ARQ Reset message reply from the ARQ sender, a MAC reset will be initiated, which will result in link transmission. The quality deteriorates drastically, or the MAC connection is reset and other serious conditions. Summary of the invention
  • the embodiment of the invention provides a data processing control method, which is used for realizing reliable transmission of data, improving ARQ retransmission efficiency and retransmission stability.
  • a data processing control method comprising:
  • the retransmission timer, the lifecycle timer, and the window synchronization timer are suspended, and the processing of the data in the sliding window is suspended;
  • the retransmission timer, the lifecycle timer, and the window synchronization timer are restored, and the processing of the data in the sliding window is resumed.
  • a data processing control method comprising:
  • the network element reaches the scan start time
  • the retransmission timer, the lifecycle timer, and the window synchronization timer are suspended, and the processing of the data in the sliding window is suspended.
  • the retransmission timer and the life cycle are resumed.
  • a data processing control device including: a processing unit, a first timer unit, and a first transceiver unit;
  • a processing unit configured to acquire a start time and an end time of the frequency point scan; and when the start time is reached, suspend the retransmission timer, the life cycle timer, and the window synchronization timer, and suspend processing of the data in the sliding window
  • the end time is reached, the retransmission timer, the lifecycle timer, and the window synchronization timer are restored, and the processing of the data in the sliding window is resumed;
  • the first transceiver unit is configured to provide a sliding window.
  • a data processing control device comprising: a second scanning unit and a second transceiver unit; wherein, the second scanning unit is configured to determine a start time and an end time of the frequency point scanning;
  • a second transceiver unit configured to send, to the peer network element, a scan parameter that directly or indirectly indicates a start time and an end time of the scan, or send a scan start message when the start time is reached, and send a scan when the end time is reached. Ending the message to instruct the peer network element to suspend the retransmission timer, the lifecycle timer, and the window synchronization timer when the scan start time is reached, and suspend processing of the data in the sliding window.
  • the weight is restored. The timer, lifecycle timer, and window synchronization timer are passed, and the processing of data in the sliding window is resumed.
  • the start and end time of the scan are acquired; when the scan start time is reached, the retransmission timer, the life cycle timer, and the window synchronization timer are turned off, and the processing of the data in the sliding window is suspended; when the scan end time is reached , resumes the retransmission timer, lifecycle timer, and window synchronization timer, and resumes processing of data in the sliding window.
  • FIG. 1 is a main structural diagram of a data processing control apparatus according to an embodiment of the present invention.
  • FIG. 2A is a detailed structural diagram when the data processing control apparatus is the first network element in the embodiment of the present invention.
  • 2B is a detailed structural diagram of the data processing control apparatus when the data processing control apparatus is the second network element according to the embodiment of the present invention
  • FIG. 3 is a main flowchart of a data processing control method according to an embodiment of the present invention.
  • FIG. 4 is a detailed flowchart of a data processing control method according to an embodiment of the present invention.
  • FIG. 5 is a scanning response message carried in a scan response message returned by a second network element according to an embodiment of the present invention Detailed flow chart of the time data processing control method
  • FIG. 6 is a detailed flowchart of a data processing control method when a second network element is a scan initiator according to an embodiment of the present invention. detailed description
  • the start and end time of the scan are acquired; when the scan start time is reached, the retransmission timer, the life cycle timer, and the window synchronization timer are turned off, and the processing of the data in the sliding window is suspended; when the scan end time is reached , resumes the retransmission timer, lifecycle timer, and window synchronization timer, and resumes processing of data in the sliding window.
  • the data sending end is the ARQ sending end
  • the data receiving end is the ARQ receiving end.
  • the scan initiator is not directly related to data transmission or reception. The scan initiator can be located at the data sender or at the data receiver.
  • the data processing control device in the embodiment of the present invention is a network element.
  • the embodiment of the present invention needs to be separately described from the data sending end and the data receiving end. Therefore, the network element is divided into the first network element 101 and the first
  • the second network element 102 is a first network element 101 when the device is a data transmitting end, and is a second network element 102 when the device is a data receiving end.
  • the first network element 101 is configured to suspend the timer when the scan starts, and to resume the timer when the scan ends.
  • the timer includes a retransmission timer, a lifecycle timer, and a window synchronization timer.
  • the retransmission timer is used to ensure that the feedback message of the ARQ receiving end (ie, the data receiving end) is not received within one period.
  • the data is retransmitted; the lifecycle timer is used to define the lifetime of a data block.
  • the ARQ sender ie, the data sender
  • the data block has been discarded, no data retransmission is performed; the window synchronization timer is used to ensure the normality of the current window. Move, when the timer expires, the ARQ sender initiates the ARQ Reset process.
  • the current window refers to a sliding window of the data sending end, and the data sending end saves the data block to be sent in the sliding window for sending, and does not immediately remove the sent data block from the sliding window after the sending is completed, when the second
  • the network element 102 feeds back an ACK or a NACK, it processes the transmitted data block, that is, retransmits or removes the sliding window.
  • the first network element 101 is further configured to acquire a start and an end time of the scan.
  • the first network element 101 is also used to initiate a scan.
  • the scan request is sent to the second network element 102, and the second network element 102 returns a scan response message to the first network element 101.
  • the scan response message may carry the scan parameter, and the first network element 101
  • the scan parameters can be used to know the start and end of the scan to determine when to pause and resume each timer, and whether to process the data in the sliding window.
  • the scanning start is determined at the time of receiving the scan start message sent by the second network element 102, and the retransmission timer, the lifecycle timer, and the window synchronization timer are suspended, and suspended.
  • the first network element 101 determines the start time and the end time of the scan by itself to determine when to pause and resume each timer, and whether to process the data in the sliding window, which may be second to the start of the scan.
  • the network element 102 sends a scan start message and sends a scan end message to the second network element 102 at the end of the scan, or sends a scan request to the second network element 102 when the scan is initiated.
  • the scan request carries the scan parameter
  • the second network element 102 can learn the start time and duration of the scan by using the scan parameter, so as to know the start time and the end time of the scan.
  • the second network element 102 initiates a scan, and sends a message to the first network element 101, where the message may carry a scan parameter
  • the first network element 101 can learn the start and end time of the scan by using the scan parameter to determine Pause and resume each timer, and whether to process the data in the sliding window.
  • the second network element 102 initiates a scan, and sends a scan start message to the first network element 101 at the time when the scan starts, to instruct the first network element 101 to suspend the retransmission timer and the lifecycle timer.
  • the window synchronization timer suspending the processing of the data in the sliding window, and sending a scan end message to the first network element 101 at the time when the scanning ends, to instruct the first network element 101 to resume the retransmission timer, the life cycle timer, and A window synchronization timer that resumes processing of data in the sliding window.
  • the first network element 101 serves as a data transmitting end, and is further configured to send a data block to the second network element 102.
  • the first network element 101 serves as a data receiving end, and is configured to receive the data block sent by the second network element 102.
  • the first network element 101 may be a terminal, and the second network element 102 may be specifically a base station, or the first network element 101 may be a base station, and the second network element 102 may be specifically a terminal.
  • the scanning initiator may be the first network element 101 or the second network element 102.
  • the second network element 102 is configured to determine a start and end time of the frequency point scanning.
  • a scan start message is sent to instruct the peer network element to suspend the retransmission timer, the life cycle timer, and the window synchronization timer.
  • the processing of the data in the sliding window is suspended; when the scanning end time is reached, a scanning end message is sent to instruct the peer network element to resume the retransmission timer, the life cycle timer, and the window synchronization timer, and restore the processing of the data in the sliding window.
  • the scan request SCN_REQ is sent to the second network element 102, and the second network element 102 returns a scan response message SCN_RSP to the first network element 101.
  • the second network element 102 determines a scan parameter of the first network element 101, where at least includes: a start and a duration of the scan, from which the start and end time of the scan can be known, and the first network element 101 starts scanning.
  • the second network element 102 sends a scan start message to the first network element 101, instructing the first network element 101 to suspend the retransmission timer, the lifecycle timer, and the window synchronization timer according to the scan start message, in the first network.
  • the second network element 102 sends a scan end message to the first network element 101, instructing the first network element 101 to resume the retransmission timer, the lifecycle timer, and the window synchronization according to the scan end message.
  • the response message sent by the second network element 102 to the first network element 101 carries a scanning parameter, and the first network element 101 can learn the start and end time of the scanning by using the scanning parameter, and the first network element 101 according to the start and End time to pause and resume Multi-retransmission timer, life cycle timer and window synchronization timer.
  • the second network element 102 serves as a data receiving end, and is configured to receive the data block sent by the first network element 101 after the scanning ends.
  • the apparatus can also include a storage unit 1015 and a second timer unit 1016.
  • the first timer unit 1011 includes: a retransmission timer, a lifecycle timer, and a window synchronization timer.
  • the retransmission timer is configured to ensure that the ARQ receiver (ie, the data receiving end) is not received within one period.
  • the feedback message is used for data retransmission;
  • the lifecycle timer is used to define the life cycle of a data block.
  • the ARQ sender ie, the data sender
  • sends an ARQ Discard message to the ARQ receiver.
  • the ARQ receiver is notified that the data block has been discarded and no data retransmission is performed.
  • the window synchronization timer is used to ensure normal movement of the sliding window.
  • the ARQ sender initiates an ARQ reset process.
  • the processing unit 1013 suspends the three timers in the first timer unit 1011, which is equivalent to turning off the first timer unit, and resumes the first timer unit 1011 when the scan ends.
  • the first timer unit 1011 is not limited to only including the above three timers, and includes all timers related to the ARQ process. In the embodiment of the present invention, the processing manners of the timers during the scanning process are performed. Same as the above three timers.
  • the first scanning unit 1012 is configured to initiate a scan.
  • the first scanning unit 1012 is configured to initiate scanning when it is necessary to obtain signal quality of other frequency points, determine the start and end time of the scanning itself, and generate a scanning request, which is sent by the first transceiver unit 1014 to the second network element 102.
  • the scanning unit 1012 After receiving the scan response message returned by the second network element 102, the scanning unit 1012 generates a scan start message, the first transceiver unit 1014 sends the scan start message to the second network element 102, the scan unit 1012 starts scanning, and the first scan The unit 1012 generates a scan end message.
  • the first transceiver unit 1014 sends the scan end message to the second network element 102, or the scan request generated by the first scan unit 1012 carries the scan parameter.
  • the second network element 102 can know the start time and duration of the scan through the scan parameters, thereby obtaining the start time and end time of the scan.
  • the first scanning unit 1012 is configured to initiate a scan when a signal quality of other frequency points needs to be obtained, and generate a scan request, which is sent by the first transceiver unit 1014 to the second network element 102.
  • the start and end time of the scan may be known according to the scan parameters carried in the response message.
  • the first scanning unit 1012 starts scanning.
  • the scan end time is reached, the first scanning unit 1012 ends the scan.
  • the second network element 102 sends a scan start message to the first network element 101 at the time when the scan starts, and the processing unit 1013 determines the time point of receiving the scan start message as the time point when the scan starts, when the first network element 101 Upon receiving the scan start message, the first scanning unit 1012 starts scanning immediately, and the second network element 102 sends a scan end message to the first network element 101 at the time when the scan ends, and the processing unit 1013 will receive the scan end message. The point is determined as the time point at which the scanning ends. When the first network element 101 receives the scanning end message, the first scanning unit 1012 immediately ends the scanning.
  • the processing unit 1013 is configured to control the first timer unit 1011.
  • the processing unit 1013 is configured to close the first timer unit 1011 when the first scanning unit 1012 starts scanning, save the remaining time of each timer in the first timer unit 1011, and when the first scanning unit 1012 ends the scanning, according to the The remaining time of each timer in a timer unit 1011 is restored to the first timer unit 1011.
  • the first transceiver unit 1014 receives the scan start message sent by the second network element 102, and the processing unit 1013 turns off the first timer unit 1011 according to the message. Then, the first transceiver unit 1014 receives the scan end message sent by the second network element 102, and the processing unit 1013 restores the first timer unit 1011 according to the message.
  • the processing unit 1013 may simultaneously save the remaining time of each timer in the first timer unit 1011 in the storage unit 1015 when the first timer unit 1011 is turned off, or the processing unit 1013 is in the first timer unit 1011. After the shutdown, the remaining time of each timer in the first timer unit 1011 is saved in the storage module 1015, or the processing unit 1013 may only pause each timer in the first timer unit 1011, and will not Each The remaining time in the timer is cleared, and it is not necessary to specifically save the remaining time of each timer. If the second network element 102 sends the scan parameters to the first network element 101, the processing unit 1013 knows the start and end time of the scan according to the scan parameters.
  • the processing unit 1013 is also used to control the second timer unit 1016.
  • the processing unit 1013 is specifically configured to: when the first transceiver unit 1014 receives the scan parameter, start the timers A and B, and calculate the duration of the timer A according to the current time and the scan start time, and calculate the current time according to the current time.
  • the duration of the timer B is calculated by the scan end time.
  • the timer A times out, the remaining time of each timer in the first timer unit 1011 is saved, and the first timer unit 1011 is turned off.
  • the timer B times out, according to the saved timings in the first timer unit 1011.
  • the remaining time of the device is restored to the first timer unit 1011.
  • the first network element 101 stops transmitting data blocks, and after the first timer unit 1011 is restored, the first network element 101 continues to send data blocks to the second network element 102.
  • the first transceiver unit 1014 is configured to send a scan request and receive a message.
  • the first transceiver unit 1014 is configured to send a scan request to the second network element 102 when the first scanning unit 1012 initiates scanning, and receive a scan response message returned by the second network element 102.
  • the first transceiver unit 1014 is further configured to receive the scan start message sent by the second network element 102 at the time when the scan starts, and receive the scan end message sent by the second network element 102 at the time point when the scan ends, so that the processing unit 1013
  • the first timer unit 1011 is turned off according to the scan start message, and the first timer unit 1011 is restored according to the scan end message.
  • the scan response message returned by the second network element 102 can also carry the scan parameter, and the processing unit 1013 can learn the start and end time of the scan from the scan parameter, without the second network element 102 ending at the beginning of the scan. At the time of the point, the message is sent again.
  • the first transceiver unit 1014 is further configured to send a data block to the second network element 102 after the scanning is completed.
  • the first transceiver unit 1014 may have a sliding window, and the data block to be sent is placed in the sliding window for transmission.
  • the processing module 1013 After the data is sent, if the ARQ ACK (ARQ response) message sent by the ARQ receiver is received, the The message carries the data block information that has been received by the ARQ receiving end, and the processing module 1013 removes the data block that has been received by the ARQ receiving end in the sliding window, if the ARQ receiving end receives the data block.
  • the ARQ NACK (ARQ No Answer) message is sent, and the message carries the data block information that is not received by the ARQ receiving end, and the first transceiver unit 1014 retransmits the data block that is not received by the ARQ receiving end in the sliding window.
  • the processing module 1013 initiates an ARQ Reset procedure.
  • the storage unit 1015 is configured to store the remaining time of each timer in the first timer unit 1011.
  • the processing unit 1013 turns off the first timer unit 1011
  • the remaining time of each timer in the first timer unit 1011 may be saved first, or after the first timer unit 1011 is turned off, the processing unit 1013 saves the first timer.
  • the first timer unit 1011 needs to be restored again, the first timer unit 1011 can be restored according to the remaining time of each timer stored in the storage unit 1015.
  • the second timer unit 1016 includes a timer A and a timer.
  • the first network element 101 can start the timer A when the scan is initiated and or carry the scan when the second network element 102 returns a response message to the first network element 101.
  • the second timer unit 1016 is required to use the parameter, and the scan parameter includes the start and end of the scan.
  • the timer A is used to determine that the timer A expires, and the first timer unit 1011 is turned off.
  • the second network element 102 sends the scan parameters to the first transceiver unit 1014.
  • the processing unit 1013 receives the scan parameters, the timers A and B are turned on, and the durations of the timers A and B are calculated according to the current time and the scan start time.
  • the timer A is set from the current time to the start of the scan time, or the timer A can be turned on at any point before the scan starts, and the timer A time is set to the current time to scan.
  • the timer B is set to start from the current time until the end of the scan time, or the timer B can be turned on at any point before the end of the scan, until the end of the scan. .
  • processing unit 1013 turns off first timer unit 1011.
  • the processing unit 1013 may first save the remaining time of each timer in the first timer unit 1011 to the storage unit 1015, and then turn off the first timer unit 1011.
  • Timer B is used to determine when the timer is B-ultrasound At the same time, the first timer unit 1011 is restored. The timer B expires, indicating that the scanning ends. At this time, the processing unit 1013 restores the first timer unit 1011, and the processing unit 1013 can restore each of the first timer units 1011 according to the remaining time of each timer held in the storage unit 1015.
  • the timer is used to disable the first timer unit 1011 during the scanning process, and the first timer unit 1011 is restored after the scanning ends, thereby avoiding repeated transmission of data blocks and data block discarding during the scanning process. Possible ARQ reset process and MAC reset process to avoid degradation of link transmission quality.
  • the device when the device is the second network element 102, the second transceiver unit 1021 and the second scanning unit 1022 are included.
  • the second transceiver unit 1021 is configured to send a message to the first network element 101.
  • the second transceiver unit 1021 is specifically configured to: after receiving the scan request sent by the first network element 101, return a response message to the first network element 101.
  • the time point at which the second transceiver unit 1021 receives the scan start message sent by the first network element 101 is the time point at which the scan starts, and the time at which the second transceiver unit 1021 receives the scan end message sent by the first network element 101 is At the time when the scanning ends, the scanning request sent by the first network element 101 to the second network element 102 includes a scanning parameter, where the scanning parameter carries at least the scanning start time and duration, and the second network element 102 can pass the scanning parameter.
  • the scan parameters know the start time and end time of the scan.
  • the second scanning unit 1022 generates a scan start message.
  • the second transceiver unit 1021 sends the scan start message to the first network element 101, so that the processing unit 1013 turns off the first
  • the timer unit 1011 and the second scanning unit 1022 generate a scan end message.
  • the second transceiver unit 1021 sends the scan end message to the first network element 101 to enable the processing unit. 1013 restores the first timer unit 1011.
  • the scan response message returned by the second transceiver unit 1021 to the first network element 101 carries a scan parameter, and the first network element 101 learns the start and end time of the scan by using the scan response message.
  • the scan parameter may include a scan start time (when to start scanning), a scan duration (how many times each scan), and a scan interval. The interval (the interval between the next scan and the current scan), the number of scans, and the scan target (such as the base station). Since the scan parameters include the scan interval, the number of scans, and the like, it is not necessary to send a message every time the scan is performed. After the message is sent in the first scan, the subsequent first network element is sent.
  • the scan parameter includes at least a start and a duration of the scan.
  • the second transceiver unit 1021 is further configured to receive the data block sent by the first network element 101 after the scanning ends, and send an ARQ ACK (ARQ response) message and an ARQ NACK (ARQ no response) to the first network element 101 after receiving the data.
  • the message that the ARQ ACK message is used to inform the first network element 101 and which data blocks are received by the second network element 102, the first network element 101 removes the data blocks that have been received by the second network element 102 from the sliding window. , where the data block can have an identifier.
  • the ARQ NACK message is used to notify the first network element 101, and the second network element 102 does not receive any data blocks, and the first network element 101 needs to resend the data blocks not received by the second network element 102 to the second network element 102.
  • Network element 102 is used to notify the first network element 101, and the second network element 102 does not receive any data blocks, and the first network element 101 needs to resend the data blocks not received by the second network element 102 to the second network element 102.
  • the second scanning unit 1022 is configured to respond to the scan request sent by the first network element 101.
  • the second scanning unit 1022 is configured to generate a response message after the second transceiver unit 1021 receives the scan request sent by the first network element 101, and send the response message to the first network element 101 by the second transceiver unit 1021.
  • the response message may carry a scan parameter, where the scan parameter includes the start and end time of the scan, and the second transceiver unit 1021 sends the response message to the first network element 101. If the scan information included in the scan parameter carried in the response message generated by the second scan unit 1022 is a periodic scan, the first network element 101 needs to scan according to the scan period and frequency included in the scan parameter.
  • Step 301 Acquire start and end time of frequency point scanning.
  • the obtaining mode may be that the second network element 102 sends a message to the first network element 101 at the time of starting and ending the scanning, so that the processing unit 1013 in the first network element 101 turns off and turns on the first timer unit 1011. .
  • the second network element 102 may be in the first network element 101.
  • the response message When the response message is returned, the response message carries a scan parameter, and the scan parameter includes the start and end time of the scan, and the processing unit 1013 turns off and starts the first timer unit 1011 according to the start and end time.
  • Step 302 When the scan start time is reached, the retransmission timer, the life cycle timer, and the window synchronization timer are suspended, and the processing of the data in the sliding window is suspended.
  • Step 303 When the scan end time is reached, the retransmission timer, the life cycle timer, and the window synchronization timer are restored, and the processing of the data in the sliding window is resumed.
  • the detailed method of data processing control in the embodiment of the present invention is as follows:
  • Step 401 The first network element 101 sends a scan request to the second network element 102.
  • Step 402 The second network element 102 returns a scan response message to the first network element 101.
  • Step 403 The first network element 101 starts timers A and B. Specifically, after receiving the scan response message, the first network element 101 starts the timers A and B, and sets the time of the timer A to: from the current time, to the start of the scan, and the time of the timer B. Set to: from the current time, until the end of the scan.
  • timer A can be turned on at any point before the start of the scan, and the timer A time can be set to: from the current time, to the time point when the scan starts, the timing is turned on at any point before the end of the scan.
  • Set B and set the time of timer B to: from the current time, to the point in time when the scan ends.
  • Step 404 Timer A times out.
  • the first network element 101 starts scanning.
  • Step 405 The first network element 101 turns off the first timer unit 1011. Specifically, the scanning starts, and the processing unit 1013 turns off the first timer unit 1011.
  • Step 406 The first network element 101 saves the remaining timers in the first timer unit 1011. Time. It can be saved to the storage unit 1015 by the processing unit 1013. It is also possible to save the remaining time of each timer in the first timer unit 1011 before the first timer unit 1011 is turned off.
  • Step 407 Timer B times out.
  • the first network element 101 ends the scanning.
  • Step 408 The first network element 101 restores the first timer unit 1011 according to the remaining time of each timer in the saved first timer unit 1011.
  • the first network element 101 may be specifically a terminal, and the second network element 102 may be specifically a base station.
  • the detailed method flow of the data processing control is as follows:
  • Step 501 The first network element 101 sends a scan request to the second network element 102.
  • Step 502 The second network element 102 returns a scan response message to the first network element 101.
  • Step 503 When the first network element 101 receives the response message, it starts scanning.
  • the first network element 101 may send a scan start message to the second network element 102 when starting the scan to notify the second network element 102 that the scan begins.
  • Step 504 The first network element 101 saves the remaining time of each timer in the first timer unit 1011. Specifically, it can be saved to the storage unit 1015 by the processing unit 1013.
  • Step 505 The first network element 101 turns off the first timer unit 1011.
  • the step 503, the step 504, and the step 505 are performed simultaneously, or the step 503 and the step 505 are performed simultaneously, and the step 504 can be performed after the step 503 and the step 505 are performed.
  • Step 506 The first network element 101 ends the scanning.
  • the first network element 101 may send a scan end message to the second network element 102 when the scan ends, to notify the second network element 102 that the scan ends.
  • Step 507 The first network element 101 restores the first timer unit 1011 according to the remaining time of each timer in the saved first timer unit 1011.
  • the data processing control is performed in the embodiment of the present invention.
  • the detailed method flow is as follows:
  • Step 601 The second network element 102 sends a scan request to the first network element 101.
  • the scan request carries the scan parameter
  • the first network element 101 can learn the start and end time of the scan by using the scan parameter
  • the first network element 101 starts the timer A and the timer B when receiving the scan request.
  • set the timer A time to: From the current time, to the start of the scan, set the timer B time to: from the current time, until the end of the scan.
  • timer A can be turned on at any point before the start of the scan
  • the timer A time can be set to: from the current time, to the time point when the scan starts, the timing is turned on at any point before the end of the scan.
  • Step 602 The first network element 101 returns a scan response message to the second network element 102.
  • Step 603 The second network element 102 sends a scan start message to the first network element 101.
  • the second network element 102 begins scanning. If the scan request carries the scan parameters in step 601, this step times out for timer A.
  • Step 604 The first network element 101 saves the remaining time of each timer in the first timer unit 1011. It is saved by the processing unit 1013 and can be saved in the storage unit 1015. Alternatively, after the start of the scan, that is, after the first timer unit 1011 is turned off, the processing module 1013 saves the remaining time of each timer in the first timer unit 1011 that is not cleared, in other words: this step also It can be performed after step 605.
  • Step 605 The first network element 101 turns off the first timer unit 1011.
  • the processing unit 1013 turns off the first timer unit 1011.
  • Step 606 The second network element 102 sends a scan end message to the first network element 101.
  • the second network element 102 ends the scanning. If the scan request carries the scan parameter in step 601, this step times out for timer B.
  • Step 607 The first network element 101 is configured according to the saved timers in the first timer unit 1011. The remaining time, the first timer unit 1011 is restored.
  • the processing unit 1013 restores the first timer unit 1011 according to the remaining time of each timer in the first timer unit 1011 stored in the storage unit 1015.
  • the second network element 102 needs to scan according to the scan period and frequency included in the scan parameter. That is, after the above steps are performed, the execution is started from step 603 according to the scan parameters, and the loop is executed until the end of the scan.
  • the start and end time of the frequency point scanning is acquired; when the scan start time is reached, the retransmission timer, the life cycle timer, and the window synchronization timer are turned off, and the processing of the data in the sliding window is suspended; When the retransmission timer, the lifecycle timer, and the window synchronization timer are restored, the processing of the data in the sliding window is resumed.
  • the scan start message and the scan end message may be sent by the second network element 102 to the first network element 101 at the start and end of the scan, and the first network element 101 is closed according to the scan start message.
  • the first timer unit 1011, and the first timer unit 1011 is turned on according to the scan end message; or the second network element 102 carries the scan parameter in the scan response message returned to the first network element 101, and the first network element 101 passes
  • the scan response message is informed of the start and end time of the scan, and the first timer unit 1011 is turned off and on according to the start and end time of the scan; or the first network element 101 itself determines the start time of the scan, and the implementation method is flexible. Can be chosen at will.
  • the second network element 102 may send a scan start message and a scan end message to the first network element 101 at the time of starting and ending the scan, and the first network element 101 is closed according to the scan start message.
  • the first timer unit 1011, and the first timer unit 1011 is turned on according to the scan end message; or the second network element 102 carries the scan parameter in the scan message sent to the first network element 101, and the first network element 101 passes the
  • the scan message knows the start and end time of the scan, and the start of the scan
  • the first timer unit 1011 is turned off and on at the end time.
  • the scan initiator is independent of the data sender and the data receiver. Both the data sender and the data receiver can be the scan initiator.
  • the first network element 101 needs to scan according to the scan period and frequency included in the scan parameter until the end of the scan. In this way, periodic scanning is realized, and the degradation of the link transmission quality does not occur during the scanning process.
  • embodiments of the present invention can be provided as a method, system, or computer program product. Accordingly, the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment, or a combination of software and hardware. Moreover, the invention can be embodied in the form of a computer program product embodied on one or more computer-usable storage media (including but not limited to disk storage and optical storage, etc.) including computer usable program code.
  • the computer program instructions can also be stored in a computer readable memory that can direct a computer or other programmable data processing device to operate in a particular manner, such that the instructions stored in the computer readable memory produce an article of manufacture comprising the instruction device.
  • the apparatus implements the functions specified in one or more blocks of a flow or a flow and/or block diagram of the flowchart.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Communication Control (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

Disclosed in the present invention is a data control method which is used for realizing reliable transmission of data and improving the retransmission efficiency and stability of ARQ. The method comprises the following steps: obtaining the start time and end time of frequency point scanning; when the scanning start time arrives, suspending a retransmission timer, a time to live (TTL) timer and a window synchronization timer, and suspending processing the data in the sliding window; when the scanning end time arrives, recovering the retransmission timer, the TTL timer and the window synchronization timer, and recovering processing the data in the sliding window. The present invention also discloses a device for realizing the method.

Description

一种数据处理控制方法及装置 技术领域  Data processing control method and device
本发明涉及无线通信领域, 特别涉及一种数据处理控制方法及装置。 背景技术  The present invention relates to the field of wireless communications, and in particular, to a data processing control method and apparatus. Background technique
无线网络中的自动重传请求 ( ARQ , Automatic Repeat-reQuest )是一种 基于数据块进行重传的媒体访问控制(MAC, Media Access Control )层传 输保证技术, 通过接收方请求发送方重传出错的数据报文, 来重新接收 出错的报文, 并通过多个定时器来防止数据无限制的重传, 是通信中用 于处理信道所带来的差错的方法之一。  Automatic Repeat-reQuest (ARQ) in a wireless network is a media access control (MAC, Media Access Control) layer transmission guarantee technology based on data block retransmission. The receiver requests the sender to retransmit the error. The data message, to re-receive the erroneous message, and prevent unrestricted retransmission of data through multiple timers, is one of the methods used in the communication to deal with errors caused by the channel.
扫描是扫描发起方获取其它频点的信号质量的一种方法。 发起扫描 时, 扫描发起方更换频点, 以获得其它频点的信号质量, 因此, 在扫描 期间, 扫描发起方因频点变化而失去与原有站点的通信连接, 无法与原 来站点进行信令和数据交互。  Scanning is a way for the scanning initiator to obtain the signal quality of other frequencies. When the scan is initiated, the scan initiator changes the frequency to obtain the signal quality of other frequencies. Therefore, during the scan, the scan initiator loses the communication connection with the original station due to the frequency change, and cannot signal with the original station. Interact with data.
在扫描期间,由于扫描发起方无法向原有站点发送数据和信令消息, 导致 ARQ接收端, 即数据接收端无法及时向 ARQ发送端, 即数据发送 端发送反馈消息, ARQ发送端在收不到反馈消息的情况下会不断进行数 据重传, 且在生命周期定时器超时后会丟弃数据块, 这样, 在扫描结束 需重传时则会无法进行重传, 并会导致大量的 ARQ Discard ( ARQ丟弃) 消息, 侵占空口带宽。 而窗口同步定时器超时, 会导致 ARQ 发送端发 起 ARQ Reset ( ARQ 复位 )流程, 如果 ARQ接收端一直没有收到 ARQ 发送端的 ARQ Reset消息回复, 则会发起 MAC复位, 由此会导致链路 传输质量急剧恶化, 或者 MAC连接复位等严重情况。 发明内容 During the scanning process, the ARQ receiving end, that is, the data receiving end cannot send the feedback message to the ARQ sending end, that is, the data sending end sends the feedback message, and the ARQ sending end cannot receive the data and signaling message. In the case of a feedback message, data retransmission is continuously performed, and the data block is discarded after the lifetime timer expires. Therefore, retransmission cannot be performed when the retransmission is required at the end of scanning, and a large number of ARQ Discards are caused ( The ARQ discards the message and encroaches on the air interface bandwidth. If the window synchronization timer expires, the ARQ sender initiates an ARQ Reset (ARQ Reset) process. If the ARQ receiver does not receive the ARQ Reset message reply from the ARQ sender, a MAC reset will be initiated, which will result in link transmission. The quality deteriorates drastically, or the MAC connection is reset and other serious conditions. Summary of the invention
本发明实施例提供一种数据处理控制方法, 用于实现数据的可靠传输, 提高 ARQ的重传效率及重传稳定性。  The embodiment of the invention provides a data processing control method, which is used for realizing reliable transmission of data, improving ARQ retransmission efficiency and retransmission stability.
一种数据处理控制方法, 包括:  A data processing control method, comprising:
获取频点扫描的开始时间和结束时间;  Obtain the start time and end time of the frequency point scan;
到达所述开始时间时, 暂停重传定时器、 生命周期定时器以及窗口同 步定时器, 并暂停对滑动窗中数据的处理;  When the start time is reached, the retransmission timer, the lifecycle timer, and the window synchronization timer are suspended, and the processing of the data in the sliding window is suspended;
到达所述结束时间时, 恢复重传定时器、 生命周期定时器以及窗口同 步定时器, 并恢复对滑动窗中数据的处理。  Upon reaching the end time, the retransmission timer, the lifecycle timer, and the window synchronization timer are restored, and the processing of the data in the sliding window is resumed.
一种数据处理控制方法, 包括:  A data processing control method, comprising:
确定频点扫描的开始时间和结束时间;  Determining the start time and end time of the frequency point scan;
向对端网元发送直接或间接表示扫描的开始时间和结束时间的扫描参 数, 或者到达所述开始时间时, 发送扫描开始消息, 到达所述结束时间时, 发送扫描结束消息, 以指示对端网元在到达扫描开始时间时, 暂停重传定 时器、 生命周期定时器以及窗口同步定时器, 并暂停对滑动窗中数据的处 理, 在到达扫描结束时间时, 恢复重传定时器、 生命周期定时器以及窗口 同步定时器, 并恢复对滑动窗中数据的处理。  Sending a scan parameter that directly or indirectly indicates the start time and end time of the scan to the peer network element, or when the start time is reached, sending a scan start message, and when the end time is reached, sending a scan end message to indicate the opposite end When the network element reaches the scan start time, the retransmission timer, the lifecycle timer, and the window synchronization timer are suspended, and the processing of the data in the sliding window is suspended. When the scan end time is reached, the retransmission timer and the life cycle are resumed. A timer and a window synchronization timer, and resume processing of data in the sliding window.
一种数据处理控制装置, 包括: 处理单元、 第一定时器单元以及第一 收发单元; 其中,  A data processing control device, including: a processing unit, a first timer unit, and a first transceiver unit;
处理单元, 用于获取频点扫描的开始时间和结束时间; 并在到达所述 开始时间时, 暂停重传定时器、 生命周期定时器以及窗口同步定时器, 并 暂停对滑动窗中数据的处理; 到达所述结束时间时, 恢复重传定时器、 生 命周期定时器以及窗口同步定时器, 并恢复对滑动窗中数据的处理;  a processing unit, configured to acquire a start time and an end time of the frequency point scan; and when the start time is reached, suspend the retransmission timer, the life cycle timer, and the window synchronization timer, and suspend processing of the data in the sliding window When the end time is reached, the retransmission timer, the lifecycle timer, and the window synchronization timer are restored, and the processing of the data in the sliding window is resumed;
第一定时器单元, 用于提供重传定时器、 生命周期定时器和窗口同步 定时器; 第一收发单元, 用于提供滑动窗。 a first timer unit, configured to provide a retransmission timer, a lifecycle timer, and a window synchronization timer; The first transceiver unit is configured to provide a sliding window.
一种数据处理控制装置, 包括: 第二扫描单元及第二收发单元; 其中, 第二扫描单元, 用于确定频点扫描的开始时间和结束时间;  A data processing control device, comprising: a second scanning unit and a second transceiver unit; wherein, the second scanning unit is configured to determine a start time and an end time of the frequency point scanning;
第二收发单元, 用于向对端网元发送直接或间接表示扫描的开始时间 和结束时间的扫描参数, 或者到达所述开始时间时, 发送扫描开始消息, 到达所述结束时间时, 发送扫描结束消息, 以指示对端网元在到达扫描开 始时间时暂停重传定时器、 生命周期定时器以及窗口同步定时器, 并暂停 对滑动窗中数据的处理, 在到达扫描结束时间时, 恢复重传定时器、 生命 周期定时器以及窗口同步定时器, 并恢复对滑动窗中数据的处理。  a second transceiver unit, configured to send, to the peer network element, a scan parameter that directly or indirectly indicates a start time and an end time of the scan, or send a scan start message when the start time is reached, and send a scan when the end time is reached. Ending the message to instruct the peer network element to suspend the retransmission timer, the lifecycle timer, and the window synchronization timer when the scan start time is reached, and suspend processing of the data in the sliding window. When the scan end time is reached, the weight is restored. The timer, lifecycle timer, and window synchronization timer are passed, and the processing of data in the sliding window is resumed.
本发明实施例中获取扫描的开始和结束时间; 到达扫描开始时间时, 关闭重传定时器、 生命周期定时器以及窗口同步定时器, 并暂停对滑动窗 中数据的处理; 到达扫描结束时间时, 恢复重传定时器、 生命周期定时器 以及窗口同步定时器, 并恢复对滑动窗中数据的处理。 从而避免不必要的 数据重传, 减少数据块的丟失, 同时, 可以避免不必要的 ARQ Reset流程、 以及由于 ARQ Reset流程失败导致的 MAC复位, 实现了数据的可靠传输, 提高了 ARQ的重传效率及重传稳定性。 附图说明  In the embodiment of the present invention, the start and end time of the scan are acquired; when the scan start time is reached, the retransmission timer, the life cycle timer, and the window synchronization timer are turned off, and the processing of the data in the sliding window is suspended; when the scan end time is reached , resumes the retransmission timer, lifecycle timer, and window synchronization timer, and resumes processing of data in the sliding window. Thereby avoiding unnecessary data retransmission and reducing data block loss. At the same time, unnecessary ARQ reset process and MAC reset due to failure of the ARQ Reset process can be avoided, reliable data transmission is realized, and ARQ retransmission is improved. Efficiency and retransmission stability. DRAWINGS
图 1为本发明实施例中数据处理控制装置的主要结构图;  1 is a main structural diagram of a data processing control apparatus according to an embodiment of the present invention;
图 2A 为本发明实施例中当数据处理控制装置为第一网元时的详细结 构图;  2A is a detailed structural diagram when the data processing control apparatus is the first network element in the embodiment of the present invention;
图 2B 为本发明实施例中当数据处理控制装置为第二网元时的详细结 构图;  2B is a detailed structural diagram of the data processing control apparatus when the data processing control apparatus is the second network element according to the embodiment of the present invention;
图 3为本发明实施例中数据处理控制方法的主要流程图;  3 is a main flowchart of a data processing control method according to an embodiment of the present invention;
图 4为本发明实施例中数据处理控制方法的详细流程图;  4 is a detailed flowchart of a data processing control method according to an embodiment of the present invention;
图 5 为本发明实施例中当第二网元返回的扫描响应消息中携带扫描参 数时数据处理控制方法的详细流程图; FIG. 5 is a scanning response message carried in a scan response message returned by a second network element according to an embodiment of the present invention Detailed flow chart of the time data processing control method;
图 6为本发明实施例中当第二网元为扫描发起方时数据处理控制方法 的详细流程图。 具体实施方式  FIG. 6 is a detailed flowchart of a data processing control method when a second network element is a scan initiator according to an embodiment of the present invention. detailed description
本发明实施例中获取扫描的开始和结束时间; 到达扫描开始时间时, 关闭重传定时器、 生命周期定时器以及窗口同步定时器, 并暂停对滑动窗 中数据的处理; 到达扫描结束时间时, 恢复重传定时器、 生命周期定时器 以及窗口同步定时器, 并恢复对滑动窗中数据的处理。 从而避免不必要的 数据重传, 减少数据块的丟失, 同时可以避免不必要的 ARQ Reset流程、 以及由于 ARQ Reset流程失败导致的 MAC复位, 实现了数据的可靠传输, 提高了 ARQ的重传效率及重传稳定性。  In the embodiment of the present invention, the start and end time of the scan are acquired; when the scan start time is reached, the retransmission timer, the life cycle timer, and the window synchronization timer are turned off, and the processing of the data in the sliding window is suspended; when the scan end time is reached , resumes the retransmission timer, lifecycle timer, and window synchronization timer, and resumes processing of data in the sliding window. Thereby avoiding unnecessary data retransmission and reducing data block loss, and avoiding unnecessary ARQ reset process and MAC reset caused by failure of the ARQ Reset process, realizing reliable data transmission and improving ARQ retransmission efficiency And retransmission stability.
在本发明实施例中, 数据发送端也就是 ARQ 发送端, 数据接收端是 ARQ接收端。 扫描发起方与数据发送或接收没有直接关系, 扫描发起方可 以位于数据发送端, 也可以位于数据接收端。  In the embodiment of the present invention, the data sending end is the ARQ sending end, and the data receiving end is the ARQ receiving end. The scan initiator is not directly related to data transmission or reception. The scan initiator can be located at the data sender or at the data receiver.
如图 1 所示, 本发明实施例中数据处理控制装置为网元, 因本发明实 施例需从数据发送端及数据接收端分别描述, 因此, 将网元分为第一网元 101及第二网元 102 , 当该装置为数据发送端时, 为第一网元 101 , 当该装 置为数据接收端时, 为第二网元 102。  As shown in FIG. 1 , the data processing control device in the embodiment of the present invention is a network element. The embodiment of the present invention needs to be separately described from the data sending end and the data receiving end. Therefore, the network element is divided into the first network element 101 and the first The second network element 102 is a first network element 101 when the device is a data transmitting end, and is a second network element 102 when the device is a data receiving end.
第一网元 101 , 用于当扫描开始时暂停定时器、 以及当扫描结束时恢复 定时器。 其中, 定时器包括重传定时器、 生命周期定时器以及窗口同步定 时器; 其中, 重传定时器, 用于保证如果在一个周期内收不到 ARQ接收端 (即数据接收端) 的反馈消息, 就进行数据重传; 生命周期定时器, 用于 定义一个数据块的生命周期, 当该定时器超时时, ARQ发送端 (即数据发 送端) 向 ARQ接收端发送 ARQ Discard消息, 通知 ARQ接收端该数据块 已丟弃, 不再进行数据重传; 窗口同步定时器, 用于保证当前窗口的正常 移动, 当该定时器超时时, ARQ发送端会发起 ARQ Reset流程。 其中, 当 前窗口是指数据发送端的滑动窗, 数据发送端将待发送的数据块保存在滑 动窗中进行发送, 发送完毕后并不立即从滑动窗中移除已发送的数据块, 当第二网元 102反馈 ACK或 NACK时, 再对已发送的数据块进行处理, 即: 重传或者移出滑动窗。 第一网元 101 , 还用于获取扫描的开始和结束时 间。 第一网元 101还用于发起扫描。 第一网元 101发起扫描时, 向第二网 元 102发送扫描请求, 第二网元 102向第一网元 101返回扫描响应消息, 该扫描响应消息中可以携带扫描参数, 第一网元 101 可通过该扫描参数获 知扫描的开始和结束的时间, 以确定何时暂停及恢复各定时器、 以及是否 处理滑动窗中的数据。 或者, 第一网元 101 发起扫描后, 在接收到第二网 元 102发送的扫描开始消息的时间点确定扫描开始, 同时暂停重传定时器、 生命周期定时器及窗口同步定时器, 并暂停对滑动窗中数据的处理; 在接 收到第二网元 102发送的扫描结束消息的时间点确定扫描结束, 同时恢复 重传定时器、 生命周期定时器及窗口同步定时器, 恢复对滑动窗中数据的 处理。 或者, 第一网元 101 发起扫描时, 由自身确定扫描的开始时间及结 束时间, 以确定何时暂停及恢复各定时器、 以及是否处理滑动窗中的数据, 可以在扫描开始时向第二网元 102发送扫描开始消息及在扫描结束时向第 二网元 102发送扫描结束消息, 或者, 发起扫描时向第二网元 102发送扫 描请求, 该扫描请求中携带扫描参数, 第二网元 102可以通过该扫描参数 获知扫描的开始时间及持续时间, 从而获知扫描的开始时间及结束时间。 或者, 由第二网元 102发起扫描, 向第一网元 101发送消息, 该消息中可 以携带扫描参数, 第一网元 101 可通过该扫描参数获知扫描的开始和结束 的时间, 以确定何时暂停及恢复各定时器、 以及是否处理滑动窗中的数据。 或者, 由第二网元 102发起扫描, 在扫描开始的时间点向第一网元 101发 送扫描开始消息, 以指示第一网元 101 暂停重传定时器、 生命周期定时器 及窗口同步定时器, 暂停对滑动窗中数据的处理, 在扫描结束的时间点向 第一网元 101发送扫描结束消息, 以指示第一网元 101恢复重传定时器、 生命周期定时器及窗口同步定时器, 恢复对滑动窗中数据的处理。 第一网 元 101作为数据发送端, 还用于向第二网元 102发送数据块。 或者, 第一 网元 101作为数据接收端, 用于接收第二网元 102发送的数据块。 较佳的, 第一网元 101 可以具体为终端, 则第二网元 102可以具体为基站, 或者, 第一网元 101具体为基站, 第二网元 102可以具体为终端。 扫描发起方可 以是第一网元 101也可以是第二网元 102。 The first network element 101 is configured to suspend the timer when the scan starts, and to resume the timer when the scan ends. The timer includes a retransmission timer, a lifecycle timer, and a window synchronization timer. The retransmission timer is used to ensure that the feedback message of the ARQ receiving end (ie, the data receiving end) is not received within one period. The data is retransmitted; the lifecycle timer is used to define the lifetime of a data block. When the timer expires, the ARQ sender (ie, the data sender) sends an ARQ Discard message to the ARQ receiver to notify the ARQ to receive. The data block has been discarded, no data retransmission is performed; the window synchronization timer is used to ensure the normality of the current window. Move, when the timer expires, the ARQ sender initiates the ARQ Reset process. The current window refers to a sliding window of the data sending end, and the data sending end saves the data block to be sent in the sliding window for sending, and does not immediately remove the sent data block from the sliding window after the sending is completed, when the second When the network element 102 feeds back an ACK or a NACK, it processes the transmitted data block, that is, retransmits or removes the sliding window. The first network element 101 is further configured to acquire a start and an end time of the scan. The first network element 101 is also used to initiate a scan. When the first network element 101 initiates a scan, the scan request is sent to the second network element 102, and the second network element 102 returns a scan response message to the first network element 101. The scan response message may carry the scan parameter, and the first network element 101 The scan parameters can be used to know the start and end of the scan to determine when to pause and resume each timer, and whether to process the data in the sliding window. Alternatively, after the first network element 101 initiates scanning, the scanning start is determined at the time of receiving the scan start message sent by the second network element 102, and the retransmission timer, the lifecycle timer, and the window synchronization timer are suspended, and suspended. Processing the data in the sliding window; determining the end of the scanning at the time of receiving the scanning end message sent by the second network element 102, and restoring the retransmission timer, the life cycle timer and the window synchronization timer, and restoring the sliding window Processing of data. Alternatively, when the first network element 101 initiates the scan, it determines the start time and the end time of the scan by itself to determine when to pause and resume each timer, and whether to process the data in the sliding window, which may be second to the start of the scan. The network element 102 sends a scan start message and sends a scan end message to the second network element 102 at the end of the scan, or sends a scan request to the second network element 102 when the scan is initiated. The scan request carries the scan parameter, and the second network element 102 can learn the start time and duration of the scan by using the scan parameter, so as to know the start time and the end time of the scan. Or, the second network element 102 initiates a scan, and sends a message to the first network element 101, where the message may carry a scan parameter, and the first network element 101 can learn the start and end time of the scan by using the scan parameter to determine Pause and resume each timer, and whether to process the data in the sliding window. Or, the second network element 102 initiates a scan, and sends a scan start message to the first network element 101 at the time when the scan starts, to instruct the first network element 101 to suspend the retransmission timer and the lifecycle timer. And the window synchronization timer, suspending the processing of the data in the sliding window, and sending a scan end message to the first network element 101 at the time when the scanning ends, to instruct the first network element 101 to resume the retransmission timer, the life cycle timer, and A window synchronization timer that resumes processing of data in the sliding window. The first network element 101 serves as a data transmitting end, and is further configured to send a data block to the second network element 102. Alternatively, the first network element 101 serves as a data receiving end, and is configured to receive the data block sent by the second network element 102. Preferably, the first network element 101 may be a terminal, and the second network element 102 may be specifically a base station, or the first network element 101 may be a base station, and the second network element 102 may be specifically a terminal. The scanning initiator may be the first network element 101 or the second network element 102.
第二网元 102用于确定频点扫描的开始和结束时间; 到达扫描开始时 间时, 发送扫描开始消息, 以指示对端网元暂停重传定时器、 生命周期定 时器以及窗口同步定时器, 暂停对滑动窗中数据的处理; 到达扫描结束时 间时, 发送扫描结束消息, 以指示对端网元恢复重传定时器、 生命周期定 时器以及窗口同步定时器, 恢复对滑动窗中数据的处理; 或者, 发送扫描 参数, 指示对端网元通过该扫描参数获知扫描的开始和结束的时间。 当第 一网元 101发起扫描时, 向第二网元 102发送扫描请求 SCN— REQ, 第二网 元 102向第一网元 101返回扫描响应消息 SCN— RSP。 第二网元 102确定第 一网元 101 的扫描参数, 其中至少包括: 扫描的开始和持续的时间, 从该 参数中可以获知扫描的开始和结束的时间, 在第一网元 101 开始扫描的时 间点, 第二网元 102向第一网元 101发送扫描开始消息, 指示第一网元 101 根据该扫描开始消息暂停重传定时器、 生命周期定时器及窗口同步定时器, 在第一网元 101结束扫描的时间点, 第二网元 102向第一网元 101发送扫 描结束消息, 指示第一网元 101 才艮据该扫描结束消息恢复重传定时器、 生 命周期定时器及窗口同步定时器。 或者, 在第二网元 102 向第一网元 101 发送的响应消息中携带扫描参数, 第一网元 101 通过该扫描参数可以获知 扫描的开始和结束时间, 第一网元 101 根据该开始和结束时间来暂停和恢 复重传定时器、 生命周期定时器及窗口同步定时器。 第二网元 102作为数 据接收端, 用于在扫描结束后接收第一网元 101发送的数据块。 The second network element 102 is configured to determine a start and end time of the frequency point scanning. When the scan start time is reached, a scan start message is sent to instruct the peer network element to suspend the retransmission timer, the life cycle timer, and the window synchronization timer. The processing of the data in the sliding window is suspended; when the scanning end time is reached, a scanning end message is sent to instruct the peer network element to resume the retransmission timer, the life cycle timer, and the window synchronization timer, and restore the processing of the data in the sliding window. Or, send a scan parameter, and instruct the peer network element to know the start and end time of the scan through the scan parameter. When the first network element 101 initiates scanning, the scan request SCN_REQ is sent to the second network element 102, and the second network element 102 returns a scan response message SCN_RSP to the first network element 101. The second network element 102 determines a scan parameter of the first network element 101, where at least includes: a start and a duration of the scan, from which the start and end time of the scan can be known, and the first network element 101 starts scanning. At the time point, the second network element 102 sends a scan start message to the first network element 101, instructing the first network element 101 to suspend the retransmission timer, the lifecycle timer, and the window synchronization timer according to the scan start message, in the first network. When the element 101 ends the scanning, the second network element 102 sends a scan end message to the first network element 101, instructing the first network element 101 to resume the retransmission timer, the lifecycle timer, and the window synchronization according to the scan end message. Timer. Or, the response message sent by the second network element 102 to the first network element 101 carries a scanning parameter, and the first network element 101 can learn the start and end time of the scanning by using the scanning parameter, and the first network element 101 according to the start and End time to pause and resume Multi-retransmission timer, life cycle timer and window synchronization timer. The second network element 102 serves as a data receiving end, and is configured to receive the data block sent by the first network element 101 after the scanning ends.
参见图 2A, 所述装置为第一网元 101时, 包括第一定时器单元 1011、 第一扫描单元 1012、 处理单元 1013及第一收发单元 1014。 所述装置还可 以包括存储单元 1015和第二定时器单元 1016。  Referring to FIG. 2A, when the device is the first network element 101, the first timer unit 1011, the first scanning unit 1012, the processing unit 1013, and the first transceiver unit 1014 are included. The apparatus can also include a storage unit 1015 and a second timer unit 1016.
第一定时器单元 1011包括: 重传定时器、 生命周期定时器以及窗口同 步定时器; 其中, 重传定时器, 用于保证如果在一个周期内收不到 ARQ接 收端 (即数据接收端) 的反馈消息, 就进行数据重传; 生命周期定时器, 用于定义一个数据块的生命周期, 当该定时器超时时, ARQ发送端 (即数 据发送端) 向 ARQ接收端发送 ARQ Discard消息, 通知 ARQ接收端该数 据块已丟弃, 不再进行数据重传; 窗口同步定时器, 用于保证滑动窗的正 常移动, 当该定时器超时时, ARQ发送端会发起 ARQ Reset流程。 当扫描 开始时, 处理单元 1013暂停第一定时器单元 1011 中的三个定时器, 相当 于关闭第一定时器单元, 等扫描结束时再将第一定时器单元 1011恢复。 其 中, 第一定时器单元 1011中不局限于仅包括上述的三个定时器, 还包括与 ARQ过程相关的所有定时器, 在本发明实施例中, 在扫描过程中对这些定 时器的处理方式与上述三个定时器相同。  The first timer unit 1011 includes: a retransmission timer, a lifecycle timer, and a window synchronization timer. The retransmission timer is configured to ensure that the ARQ receiver (ie, the data receiving end) is not received within one period. The feedback message is used for data retransmission; the lifecycle timer is used to define the life cycle of a data block. When the timer expires, the ARQ sender (ie, the data sender) sends an ARQ Discard message to the ARQ receiver. The ARQ receiver is notified that the data block has been discarded and no data retransmission is performed. The window synchronization timer is used to ensure normal movement of the sliding window. When the timer expires, the ARQ sender initiates an ARQ reset process. When the scan starts, the processing unit 1013 suspends the three timers in the first timer unit 1011, which is equivalent to turning off the first timer unit, and resumes the first timer unit 1011 when the scan ends. The first timer unit 1011 is not limited to only including the above three timers, and includes all timers related to the ARQ process. In the embodiment of the present invention, the processing manners of the timers during the scanning process are performed. Same as the above three timers.
第一扫描单元 1012用于发起扫描。 第一扫描单元 1012用于在需要获 得其它频点的信号质量时发起扫描, 自身决定扫描的开始及结束的时间, 生成扫描请求, 由第一收发单元 1014发送给第二网元 102。 当收到第二网 元 102返回的扫描响应消息后, 扫描单元 1012生成扫描开始消息, 第一收 发单元 1014向第二网元 102发送该扫描开始消息, 扫描单元 1012开始扫 描, 及第一扫描单元 1012生成扫描结束消息, 当第一扫描单元 1012结束 扫描时, 第一收发单元 1014向第二网元 102发送该扫描结束消息, 或者, 第一扫描单元 1012生成的扫描请求中携带扫描参数, 该扫描参数中至少包 含扫描的开始时间和持续时间, 第二网元 102可以通过该扫描参数获知扫 描的开始时间和持续时间, 从而获知扫描的开始时间和结束时间。 或者, 第一扫描单元 1012用于在需要获得其它频点的信号质量时发起扫描, 生成 扫描请求,由第一收发单元 1014发送给第二网元 102。当收到第二网元 102 返回的扫描响应消息后, 可以根据该响应消息中携带的扫描参数获知扫描 的开始和结束的时间, 当到达扫描开始时间时, 第一扫描单元 1012开始扫 描, 当到达扫描结束时间时, 第一扫描单元 1012结束扫描。 或者, 第二网 元 102在扫描开始的时间点向第一网元 101发送扫描开始消息, 处理单元 1013将接收该扫描开始消息的时间点确定为扫描开始的时间点, 当第一网 元 101接收到扫描开始消息时, 第一扫描单元 1012立刻开始扫描, 第二网 元 102在扫描结束的时间点, 向第一网元 101发送扫描结束消息, 处理单 元 1013将接收该扫描结束消息的时间点确定为扫描结束的时间点, 当第一 网元 101接收到扫描结束消息时, 第一扫描单元 1012立刻结束扫描。 The first scanning unit 1012 is configured to initiate a scan. The first scanning unit 1012 is configured to initiate scanning when it is necessary to obtain signal quality of other frequency points, determine the start and end time of the scanning itself, and generate a scanning request, which is sent by the first transceiver unit 1014 to the second network element 102. After receiving the scan response message returned by the second network element 102, the scanning unit 1012 generates a scan start message, the first transceiver unit 1014 sends the scan start message to the second network element 102, the scan unit 1012 starts scanning, and the first scan The unit 1012 generates a scan end message. When the first scan unit 1012 ends the scan, the first transceiver unit 1014 sends the scan end message to the second network element 102, or the scan request generated by the first scan unit 1012 carries the scan parameter. At least one of the scan parameters With the start time and duration of the scan, the second network element 102 can know the start time and duration of the scan through the scan parameters, thereby obtaining the start time and end time of the scan. Alternatively, the first scanning unit 1012 is configured to initiate a scan when a signal quality of other frequency points needs to be obtained, and generate a scan request, which is sent by the first transceiver unit 1014 to the second network element 102. After receiving the scan response message returned by the second network element 102, the start and end time of the scan may be known according to the scan parameters carried in the response message. When the scan start time is reached, the first scanning unit 1012 starts scanning. When the scan end time is reached, the first scanning unit 1012 ends the scan. Alternatively, the second network element 102 sends a scan start message to the first network element 101 at the time when the scan starts, and the processing unit 1013 determines the time point of receiving the scan start message as the time point when the scan starts, when the first network element 101 Upon receiving the scan start message, the first scanning unit 1012 starts scanning immediately, and the second network element 102 sends a scan end message to the first network element 101 at the time when the scan ends, and the processing unit 1013 will receive the scan end message. The point is determined as the time point at which the scanning ends. When the first network element 101 receives the scanning end message, the first scanning unit 1012 immediately ends the scanning.
处理单元 1013用于控制第一定时器单元 1011。处理单元 1013用于在第 一扫描单元 1012开始扫描时关闭第一定时器单元 1011 ,保存第一定时器单 元 1011 中各定时器的剩余时间, 并在第一扫描单元 1012结束扫描时, 根 据第一定时器单元 1011中各定时器的剩余时间恢复第一定时器单元 1011。 第一收发单元 1014接收第二网元 102发送的扫描开始消息,处理单元 1013 根据该消息关闭第一定时器单元 1011。 然后, 第一收发单元 1014接收第二 网元 102发送的扫描结束消息, 处理单元 1013根据该消息恢复第一定时器 单元 1011。 其中, 处理单元 1013在关闭第一定时器单元 1011时, 可以同 时将第一定时器单元 1011中各定时器的剩余时间保存在存储单元 1015中, 或者, 处理单元 1013在第一定时器单元 1011 关闭之后, 将第一定时器单 元 1011 中各定时器中未清零的剩余时间保存在存储模块 1015中, 或者, 处理单元 1013可以只是暂停第一定时器单元 1011 中的各定时器, 不将各 定时器中的剩余时间清零, 不必专门保存各定时器的剩余时间。 如果第二 网元 102向第一网元 101发送扫描参数, 处理单元 1013根据该扫描参数获 知扫描的开始和结束时间。处理单元 1013还用于控制第二定时器单元 1016。 处理单元 1013具体用于: 当第一收发单元 1014收到扫描参数后, 启动定 时器 A和 B, 才艮据当前时间和扫描开始时间, 计算得到定时器 A的时长, 以及才艮据当前时间和扫描结束时间计算得到定时器 B的时长。 当定时器 A 超时时, 保存第一定时器单元 1011中各定时器的剩余时间, 同时关闭第一 定时器单元 1011 , 当定时器 B超时时, 根据保存的第一定时器单元 1011 中各定时器的剩余时间, 恢复第一定时器单元 1011。 当关闭第一定时器单 元 1011后, 第一网元 101停止发送数据块, 恢复第一定时器单元 1011后, 第一网元 101才继续向第二网元 102发送数据块。 The processing unit 1013 is configured to control the first timer unit 1011. The processing unit 1013 is configured to close the first timer unit 1011 when the first scanning unit 1012 starts scanning, save the remaining time of each timer in the first timer unit 1011, and when the first scanning unit 1012 ends the scanning, according to the The remaining time of each timer in a timer unit 1011 is restored to the first timer unit 1011. The first transceiver unit 1014 receives the scan start message sent by the second network element 102, and the processing unit 1013 turns off the first timer unit 1011 according to the message. Then, the first transceiver unit 1014 receives the scan end message sent by the second network element 102, and the processing unit 1013 restores the first timer unit 1011 according to the message. The processing unit 1013 may simultaneously save the remaining time of each timer in the first timer unit 1011 in the storage unit 1015 when the first timer unit 1011 is turned off, or the processing unit 1013 is in the first timer unit 1011. After the shutdown, the remaining time of each timer in the first timer unit 1011 is saved in the storage module 1015, or the processing unit 1013 may only pause each timer in the first timer unit 1011, and will not Each The remaining time in the timer is cleared, and it is not necessary to specifically save the remaining time of each timer. If the second network element 102 sends the scan parameters to the first network element 101, the processing unit 1013 knows the start and end time of the scan according to the scan parameters. The processing unit 1013 is also used to control the second timer unit 1016. The processing unit 1013 is specifically configured to: when the first transceiver unit 1014 receives the scan parameter, start the timers A and B, and calculate the duration of the timer A according to the current time and the scan start time, and calculate the current time according to the current time. The duration of the timer B is calculated by the scan end time. When the timer A times out, the remaining time of each timer in the first timer unit 1011 is saved, and the first timer unit 1011 is turned off. When the timer B times out, according to the saved timings in the first timer unit 1011. The remaining time of the device is restored to the first timer unit 1011. After the first timer unit 1011 is turned off, the first network element 101 stops transmitting data blocks, and after the first timer unit 1011 is restored, the first network element 101 continues to send data blocks to the second network element 102.
第一收发单元 1014用于发送扫描请求及接收消息。第一收发单元 1014 用于当第一扫描单元 1012发起扫描时, 向第二网元 102发送扫描请求, 并 接收第二网元 102返回的扫描响应消息。 第一收发单元 1014还用于在扫描 开始的时间点接收第二网元 102发送的扫描开始消息, 并在扫描结束的时 间点接收第二网元 102发送的扫描结束消息, 以使处理单元 1013根据该扫 描开始消息关闭第一定时器单元 1011 , 并根据该扫描结束消息恢复第一定 时器单元 1011。 其中, 第二网元 102返回的扫描响应消息中还可以携带扫 描参数, 则处理单元 1013可以从扫描参数中, 获知扫描的开始和结束的时 间, 而不用第二网元 102在扫描开始记结束的时间点再发送消息。 第一收 发单元 1014还用于在扫描完成后向第二网元 102发送数据块。 其中, 第一 收发单元 1014可以有一个滑动窗, 将待发送的数据块放在该滑动窗中进行 发送, 数据发送完毕后, 如果收到 ARQ接收端发送的 ARQ ACK ( ARQ应 答)消息,该消息中携带 ARQ接收端已收到的数据块信息,则处理模块 1013 将滑动窗中 ARQ接收端已接收到的数据块移除, 如果收到 ARQ接收端发 送的 ARQ NACK ( ARQ无应答) 消息 , 该消息中携带 ARQ接收端未收到 的数据块信息, 则第一收发单元 1014将滑动窗中 ARQ接收端未收到的数 据块进行重新发送。 当第一定时器单元 1011中的窗口同步定时器超时时, 处理模块 1013会发起 ARQ Reset流程。 The first transceiver unit 1014 is configured to send a scan request and receive a message. The first transceiver unit 1014 is configured to send a scan request to the second network element 102 when the first scanning unit 1012 initiates scanning, and receive a scan response message returned by the second network element 102. The first transceiver unit 1014 is further configured to receive the scan start message sent by the second network element 102 at the time when the scan starts, and receive the scan end message sent by the second network element 102 at the time point when the scan ends, so that the processing unit 1013 The first timer unit 1011 is turned off according to the scan start message, and the first timer unit 1011 is restored according to the scan end message. The scan response message returned by the second network element 102 can also carry the scan parameter, and the processing unit 1013 can learn the start and end time of the scan from the scan parameter, without the second network element 102 ending at the beginning of the scan. At the time of the point, the message is sent again. The first transceiver unit 1014 is further configured to send a data block to the second network element 102 after the scanning is completed. The first transceiver unit 1014 may have a sliding window, and the data block to be sent is placed in the sliding window for transmission. After the data is sent, if the ARQ ACK (ARQ response) message sent by the ARQ receiver is received, the The message carries the data block information that has been received by the ARQ receiving end, and the processing module 1013 removes the data block that has been received by the ARQ receiving end in the sliding window, if the ARQ receiving end receives the data block. The ARQ NACK (ARQ No Answer) message is sent, and the message carries the data block information that is not received by the ARQ receiving end, and the first transceiver unit 1014 retransmits the data block that is not received by the ARQ receiving end in the sliding window. When the window synchronization timer in the first timer unit 1011 times out, the processing module 1013 initiates an ARQ Reset procedure.
存储单元 1015用于存储第一定时器单元 1011中各定时器的剩余时间。 当处理单元 1013关闭第一定时器单元 1011 时, 可以首先保存第一定时器 单元 1011中各定时器的剩余时间, 或者, 在第一定时器单元 1011关闭后, 处理单元 1013保存第一定时器单元 1011中未清零的各定时器的剩余时间, 当需要再次恢复第一定时器单元 1011 时, 可以根据存储单元 1015中保存 的各定时器的剩余时间, 来恢复第一定时器单元 1011。  The storage unit 1015 is configured to store the remaining time of each timer in the first timer unit 1011. When the processing unit 1013 turns off the first timer unit 1011, the remaining time of each timer in the first timer unit 1011 may be saved first, or after the first timer unit 1011 is turned off, the processing unit 1013 saves the first timer. When the first timer unit 1011 needs to be restored again, the first timer unit 1011 can be restored according to the remaining time of each timer stored in the storage unit 1015.
第二定时器单元 1016包括定时器 A和定时器^第一网元 101可以在 发起扫描时开启定时器 A和 或者, 当第二网元 102返回给第一网元 101 的响应消息中携带扫描参数, 且该扫描参数中包含扫描的开始和结束的时 间, 则需用到第二定时器单元 1016。 定时器 A用于确定定时器 A超时时, 关闭第一定时器单元 1011。 第二网元 102将扫描参数发送给第一收发单元 1014, 处理单元 1013收到扫描参数时开启定时器 A和 B, 并 居当前时间 和扫描开始时间计算得到定时器 A和 B的时长,将定时器 A的时间设置为 从当前时间开始, 到扫描时间开始时为止, 或者, 可以在扫描开始前的任 意时间点开启定时器 A, 并将定时器 A的时间设置为当前时间开始, 到扫 描开始的时间点时为止, 将定时器 B的时间设置为从当前时间开始, 到扫 描时间结束时为止, 或者, 可以在扫描结束前的任意时间点开启定时器 B, 到扫描结束的时间点为止。定时器 A超时,说明扫描开始,则处理单元 1013 关闭第一定时器单元 1011。 并且, 当定时器 A超时时, 处理单元 1013可 以首先将第一定时器单元 1011中各定时器的剩余时间保存到存储单元 1015 中, 然后再将第一定时器单元 1011关闭。定时器 B用于确定当定时器 B超 时时, 恢复第一定时器单元 1011。 定时器 B超时, 说明扫描结束, 此时, 处理单元 1013恢复第一定时器单元 1011 , 处理单元 1013可以根据存储单 元 1015中保持的各定时器的剩余时间恢复第一定时器单元 1011 中的各个 定时器, 由此实现在扫描过程中关闭第一定时器单元 1011 , 扫描结束后再 将第一定时器单元 1011恢复,避免了在扫描过程中出现的数据块重复发送、 数据块丟弃、及可能发生的 ARQ Reset流程及 MAC复位等过程,避免链路 传输质量的下降。 The second timer unit 1016 includes a timer A and a timer. The first network element 101 can start the timer A when the scan is initiated and or carry the scan when the second network element 102 returns a response message to the first network element 101. The second timer unit 1016 is required to use the parameter, and the scan parameter includes the start and end of the scan. The timer A is used to determine that the timer A expires, and the first timer unit 1011 is turned off. The second network element 102 sends the scan parameters to the first transceiver unit 1014. When the processing unit 1013 receives the scan parameters, the timers A and B are turned on, and the durations of the timers A and B are calculated according to the current time and the scan start time. The timer A is set from the current time to the start of the scan time, or the timer A can be turned on at any point before the scan starts, and the timer A time is set to the current time to scan. At the beginning of the time, the timer B is set to start from the current time until the end of the scan time, or the timer B can be turned on at any point before the end of the scan, until the end of the scan. . When timer A times out, indicating that scanning is started, processing unit 1013 turns off first timer unit 1011. Moreover, when the timer A times out, the processing unit 1013 may first save the remaining time of each timer in the first timer unit 1011 to the storage unit 1015, and then turn off the first timer unit 1011. Timer B is used to determine when the timer is B-ultrasound At the same time, the first timer unit 1011 is restored. The timer B expires, indicating that the scanning ends. At this time, the processing unit 1013 restores the first timer unit 1011, and the processing unit 1013 can restore each of the first timer units 1011 according to the remaining time of each timer held in the storage unit 1015. The timer is used to disable the first timer unit 1011 during the scanning process, and the first timer unit 1011 is restored after the scanning ends, thereby avoiding repeated transmission of data blocks and data block discarding during the scanning process. Possible ARQ reset process and MAC reset process to avoid degradation of link transmission quality.
参见图 2B, 所述装置为第二网元 102时, 包括第二收发单元 1021和 第二扫描单元 1022。  Referring to FIG. 2B, when the device is the second network element 102, the second transceiver unit 1021 and the second scanning unit 1022 are included.
第二收发单元 1021用于向第一网元 101发送消息。第二收发单元 1021 具体用于: 在接收到第一网元 101发送的扫描请求后, 向第一网元 101返 回响应消息。 第二收发单元 1021接收到第一网元 101发送的扫描开始消息 的时间点,就是扫描开始的时间点,第二收发单元 1021接收到第一网元 101 发送的扫描结束消息的时间点, 就是扫描结束的时间点, 或者, 第一网元 101向第二网元 102发送的扫描请求中包含扫描参数,该扫描参数中至少携 带扫描的开始时间和持续时间, 第二网元 102可以通过该扫描参数获知扫 描的开始时间和结束时间。 或者, 第二扫描单元 1022生成扫描开始消息, 在第一网元 101开始扫描的时间点, 第二收发单元 1021将该扫描开始消息 发送给第一网元 101 , 以使处理单元 1013关闭第一定时器单元 1011 , 及第 二扫描单元 1022生成扫描结束消息, 在第一网元 101扫描结束的时间点, 第二收发单元 1021将该扫描结束消息发送给第一网元 101 , 以使处理单元 1013恢复第一定时器单元 1011。 或者, 第二收发单元 1021向第一网元 101 返回的扫描响应消息中携带扫描参数, 第一网元 101 通过该扫描响应消息 获知扫描的开始和结束的时间。 其中, 该扫描参数中可以包括扫描起始时 间 (从什么时候开始扫描)、 扫描持续时间 (每次扫描多少时间)、 扫描间 隔(下一次扫描与本次扫描之间的间隔时间)、 扫描次数以及扫描目标(如 基站)等内容。 由于扫描参数中包含了扫描间隔、 扫描次数等内容, 因此, 不必每次扫描时都发送消息, 在第一次扫描时发送消息后, 后续第一网元The second transceiver unit 1021 is configured to send a message to the first network element 101. The second transceiver unit 1021 is specifically configured to: after receiving the scan request sent by the first network element 101, return a response message to the first network element 101. The time point at which the second transceiver unit 1021 receives the scan start message sent by the first network element 101 is the time point at which the scan starts, and the time at which the second transceiver unit 1021 receives the scan end message sent by the first network element 101 is At the time when the scanning ends, the scanning request sent by the first network element 101 to the second network element 102 includes a scanning parameter, where the scanning parameter carries at least the scanning start time and duration, and the second network element 102 can pass the scanning parameter. The scan parameters know the start time and end time of the scan. Alternatively, the second scanning unit 1022 generates a scan start message. When the first network element 101 starts scanning, the second transceiver unit 1021 sends the scan start message to the first network element 101, so that the processing unit 1013 turns off the first The timer unit 1011 and the second scanning unit 1022 generate a scan end message. When the scan of the first network element 101 ends, the second transceiver unit 1021 sends the scan end message to the first network element 101 to enable the processing unit. 1013 restores the first timer unit 1011. Alternatively, the scan response message returned by the second transceiver unit 1021 to the first network element 101 carries a scan parameter, and the first network element 101 learns the start and end time of the scan by using the scan response message. The scan parameter may include a scan start time (when to start scanning), a scan duration (how many times each scan), and a scan interval. The interval (the interval between the next scan and the current scan), the number of scans, and the scan target (such as the base station). Since the scan parameters include the scan interval, the number of scans, and the like, it is not necessary to send a message every time the scan is performed. After the message is sent in the first scan, the subsequent first network element is sent.
101只需根据扫描间隔、扫描次数等内容在规定时间内发起扫描即可。 在本 发明实施例中, 该扫描参数中至少包括扫描的开始和持续的时间。 第二收 发单元 1021还用于在扫描结束后接收第一网元 101发送的数据块, 并在接 收数据后向第一网元 101发送 ARQ ACK ( ARQ应答 )消息和 ARQ NACK ( ARQ无应答) 消息, ARQ ACK消息用于告知第一网元 101 , 第二网元 102收到了哪些数据块,则第一网元 101将这些第二网元 102已收到的数据 块从滑动窗中移除, 其中, 数据块上可以带有标识。 ARQ NACK消息用于 告知第一网元 101 , 第二网元 102未收到哪些数据块, 则第一网元 101需将 这些第二网元 102未收到的数据块再重新发送给第二网元 102。 101 It is only necessary to initiate scanning within a specified time according to the scanning interval, the number of scanning times, and the like. In the embodiment of the present invention, the scan parameter includes at least a start and a duration of the scan. The second transceiver unit 1021 is further configured to receive the data block sent by the first network element 101 after the scanning ends, and send an ARQ ACK (ARQ response) message and an ARQ NACK (ARQ no response) to the first network element 101 after receiving the data. The message that the ARQ ACK message is used to inform the first network element 101 and which data blocks are received by the second network element 102, the first network element 101 removes the data blocks that have been received by the second network element 102 from the sliding window. , where the data block can have an identifier. The ARQ NACK message is used to notify the first network element 101, and the second network element 102 does not receive any data blocks, and the first network element 101 needs to resend the data blocks not received by the second network element 102 to the second network element 102. Network element 102.
第二扫描单元 1022用于响应第一网元 101发送的扫描请求。 第二扫描 单元 1022用于当第二收发单元 1021收到第一网元 101发送的扫描请求后, 生成响应消息, 由第二收发单元 1021发送给第一网元 101。 或者, 该响应 消息中可以携带扫描参数, 扫描参数中包括扫描的开始和结束的时间, 由 第二收发单元 1021将该响应消息发送给第一网元 101。 如果第二扫描单元 1022生成的响应消息中携带的扫描参数中包含的扫描信息为周期性扫描, 则第一网元 101需根据扫描参数中包含的扫描周期及频率, 进行扫描。  The second scanning unit 1022 is configured to respond to the scan request sent by the first network element 101. The second scanning unit 1022 is configured to generate a response message after the second transceiver unit 1021 receives the scan request sent by the first network element 101, and send the response message to the first network element 101 by the second transceiver unit 1021. Alternatively, the response message may carry a scan parameter, where the scan parameter includes the start and end time of the scan, and the second transceiver unit 1021 sends the response message to the first network element 101. If the scan information included in the scan parameter carried in the response message generated by the second scan unit 1022 is a periodic scan, the first network element 101 needs to scan according to the scan period and frequency included in the scan parameter.
下面通过实现流程来介绍定时器的实现方法。  The implementation of the timer is described below through an implementation flow.
参见图 3 , 本发明实施例中数据处理控制的主要方法流程如下: 步骤 301 : 获取频点扫描的开始和结束时间。  Referring to FIG. 3, the main method of data processing control in the embodiment of the present invention is as follows: Step 301: Acquire start and end time of frequency point scanning.
其中, 获取方式可以是第二网元 102在扫描开始和结束的时间点分别 向第一网元 101发送消息, 以使第一网元 101中的处理单元 1013关闭和开 启第一定时器单元 1011。 或者, 也可以是第二网元 102在向第一网元 101 返回响应消息时该响应消息中携带扫描参数, 扫描参数包括了扫描的开始 和结束时间, 处理单元 1013根据该开始和结束的时间关闭和开启第一定时 器单元 1011。 The obtaining mode may be that the second network element 102 sends a message to the first network element 101 at the time of starting and ending the scanning, so that the processing unit 1013 in the first network element 101 turns off and turns on the first timer unit 1011. . Alternatively, the second network element 102 may be in the first network element 101. When the response message is returned, the response message carries a scan parameter, and the scan parameter includes the start and end time of the scan, and the processing unit 1013 turns off and starts the first timer unit 1011 according to the start and end time.
步骤 302: 到达扫描开始时间时, 暂停重传定时器、 生命周期定时器以 及窗口同步定时器, 并暂停对滑动窗中数据的处理。  Step 302: When the scan start time is reached, the retransmission timer, the life cycle timer, and the window synchronization timer are suspended, and the processing of the data in the sliding window is suspended.
步骤 303 : 到达扫描结束时间时, 恢复重传定时器、 生命周期定时器以 及窗口同步定时器, 并恢复对滑动窗中数据的处理。  Step 303: When the scan end time is reached, the retransmission timer, the life cycle timer, and the window synchronization timer are restored, and the processing of the data in the sliding window is resumed.
以上是数据处理控制的主要方法流程, 以下通过几个具体的实施例来 详细介绍数据处理控制的方法。  The above is the main method flow of data processing control. The following describes the method of data processing control in detail through several specific embodiments.
参见图 4, 第一网元 101为扫描发起方时, 本发明实施例中数据处理控 制的详细方法流程如下:  Referring to FIG. 4, when the first network element 101 is a scan initiator, the detailed method of data processing control in the embodiment of the present invention is as follows:
步骤 401 : 第一网元 101向第二网元 102发送扫描请求。  Step 401: The first network element 101 sends a scan request to the second network element 102.
步骤 402: 第二网元 102向第一网元 101返回扫描响应消息。  Step 402: The second network element 102 returns a scan response message to the first network element 101.
步骤 403: 第一网元 101开启定时器 A和 B。 具体地, 第一网元 101 收到扫描响应消息后, 开启定时器 A和 B, 并将定时器 A的时间设置为: 从当前时间开始, 到扫描开始时为止, 并将定时器 B的时间设置为: 从当 前时间开始, 到扫描结束时为止。 或者, 可以在扫描开始前的任意时间点 开启定时器 A, 并将定时器 A的时间设置为: 从当前时间开始, 到扫描开 始的时间点时为止, 在扫描结束前的任意时间点开启定时器 B, 并将定时 器 B 的时间设置为: 从当前时间开始, 到扫描结束的时间点时为止。  Step 403: The first network element 101 starts timers A and B. Specifically, after receiving the scan response message, the first network element 101 starts the timers A and B, and sets the time of the timer A to: from the current time, to the start of the scan, and the time of the timer B. Set to: from the current time, until the end of the scan. Alternatively, timer A can be turned on at any point before the start of the scan, and the timer A time can be set to: from the current time, to the time point when the scan starts, the timing is turned on at any point before the end of the scan. Set B, and set the time of timer B to: from the current time, to the point in time when the scan ends.
步骤 404: 定时器 A超时。 当定时器 A超时时, 第一网元 101开始扫 描。  Step 404: Timer A times out. When timer A times out, the first network element 101 starts scanning.
步骤 405: 第一网元 101 关闭第一定时器单元 1011。 具体地, 扫描开 始, 处理单元 1013关闭第一定时器单元 1011。  Step 405: The first network element 101 turns off the first timer unit 1011. Specifically, the scanning starts, and the processing unit 1013 turns off the first timer unit 1011.
步骤 406: 第一网元 101保存第一定时器单元 1011中各定时器的剩余 时间。 可以由处理单元 1013将其保存到存储单元 1015中。 也可以在关闭 第一定时器单元 1011之前保存第一定时器单元 1011 中各定时器的剩余时 间。 Step 406: The first network element 101 saves the remaining timers in the first timer unit 1011. Time. It can be saved to the storage unit 1015 by the processing unit 1013. It is also possible to save the remaining time of each timer in the first timer unit 1011 before the first timer unit 1011 is turned off.
步骤 407: 定时器 B超时。 当定时器 B超时时, 第一网元 101结束扫 描。  Step 407: Timer B times out. When the timer B times out, the first network element 101 ends the scanning.
步骤 408: 第一网元 101根据保存的第一定时器单元 1011中各定时器 的剩余时间恢复第一定时器单元 1011。  Step 408: The first network element 101 restores the first timer unit 1011 according to the remaining time of each timer in the saved first timer unit 1011.
参见图 5 , 本发明实施例中, 较佳的, 第一网元 101可以具体为终端, 第二网元 102可以具体为基站。 无需开启定时器 A和 B, 第一网元 101为 扫描发起方时, 数据处理控制的详细方法流程如下:  Referring to FIG. 5, in the embodiment of the present invention, the first network element 101 may be specifically a terminal, and the second network element 102 may be specifically a base station. When the timers A and B are not required to be opened, and the first network element 101 is the scan initiator, the detailed method flow of the data processing control is as follows:
步骤 501 : 第一网元 101向第二网元 102发送扫描请求。  Step 501: The first network element 101 sends a scan request to the second network element 102.
步骤 502: 第二网元 102向第一网元 101返回扫描响应消息。  Step 502: The second network element 102 returns a scan response message to the first network element 101.
步骤 503 : 第一网元 101收到响应消息时, 开始扫描。 第一网元 101在 开始扫描时可以向第二网元 102发送扫描开始消息, 以通知第二网元 102 扫描开始。  Step 503: When the first network element 101 receives the response message, it starts scanning. The first network element 101 may send a scan start message to the second network element 102 when starting the scan to notify the second network element 102 that the scan begins.
步骤 504: 第一网元 101保存第一定时器单元 1011中各定时器的剩余 时间。 具体地, 可以由处理单元 1013将其保存到存储单元 1015中。  Step 504: The first network element 101 saves the remaining time of each timer in the first timer unit 1011. Specifically, it can be saved to the storage unit 1015 by the processing unit 1013.
步骤 505: 第一网元 101关闭第一定时器单元 1011。 其中, 步骤 503、 步骤 504及步骤 505需同时执行, 或者, 步骤 503及步骤 505同时执行, 步骤 504可以在步骤 503及步骤 505执行之后执行。  Step 505: The first network element 101 turns off the first timer unit 1011. The step 503, the step 504, and the step 505 are performed simultaneously, or the step 503 and the step 505 are performed simultaneously, and the step 504 can be performed after the step 503 and the step 505 are performed.
步骤 506: 第一网元 101结束扫描。 第一网元 101在结束扫描时可以向 第二网元 102发送扫描结束消息, 以通知第二网元 102扫描结束。  Step 506: The first network element 101 ends the scanning. The first network element 101 may send a scan end message to the second network element 102 when the scan ends, to notify the second network element 102 that the scan ends.
步骤 507: 第一网元 101根据保存的第一定时器单元 1011中各定时器 的剩余时间, 恢复第一定时器单元 1011。  Step 507: The first network element 101 restores the first timer unit 1011 according to the remaining time of each timer in the saved first timer unit 1011.
参见图 6, 第二网元 102为扫描发起方时, 本发明实施例中数据处理控 制的详细方法流程如下: Referring to FIG. 6, when the second network element 102 is a scan initiator, the data processing control is performed in the embodiment of the present invention. The detailed method flow is as follows:
步骤 601 : 第二网元 102向第一网元 101发送扫描请求。 或者, 该扫描 请求中携带有扫描参数, 第一网元 101 通过该扫描参数可以获知扫描的开 始和结束的时间, 则第一网元 101收到该扫描请求时开启定时器 A和定时 器 B, 并将定时器 A的时间设置为: 从当前时间开始, 到扫描开始时为止, 将定时器 B的时间设置为: 从当前时间开始, 到扫描结束时为止。 或者, 可以在扫描开始前的任意时间点开启定时器 A, 并将定时器 A的时间设置 为: 从当前时间开始, 到扫描开始的时间点时为止, 在扫描结束前的任意 时间点开启定时器 B, 并将定时器 B 的时间设置为: 当前时间开始, 到扫 描结束的时间点时为止。  Step 601: The second network element 102 sends a scan request to the first network element 101. Or, the scan request carries the scan parameter, and the first network element 101 can learn the start and end time of the scan by using the scan parameter, and the first network element 101 starts the timer A and the timer B when receiving the scan request. , and set the timer A time to: From the current time, to the start of the scan, set the timer B time to: from the current time, until the end of the scan. Alternatively, timer A can be turned on at any point before the start of the scan, and the timer A time can be set to: from the current time, to the time point when the scan starts, the timing is turned on at any point before the end of the scan. Set B, and set the timer B time to: The current time starts, until the time when the scan ends.
步骤 602: 第一网元 101向第二网元 102返回扫描响应消息。  Step 602: The first network element 101 returns a scan response message to the second network element 102.
步骤 603: 第二网元 102向第一网元 101发送扫描开始消息。 第二网元 102开始扫描。 如果步骤 601中扫描请求中携带有扫描参数, 则本步骤为定 时器 A超时。  Step 603: The second network element 102 sends a scan start message to the first network element 101. The second network element 102 begins scanning. If the scan request carries the scan parameters in step 601, this step times out for timer A.
步骤 604: 第一网元 101保存第一定时器单元 1011中各定时器的剩余 时间。 其中, 由处理单元 1013进行保存, 可以保存到存储单元 1015中。 或者, 也可以在扫描开始之后, 即: 第一定时器单元 1011关闭之后, 由处 理模块 1013保存第一定时器单元 1011 中未清零的各定时器的剩余时间, 换句话说: 本步骤也可以放在步骤 605之后执行。  Step 604: The first network element 101 saves the remaining time of each timer in the first timer unit 1011. It is saved by the processing unit 1013 and can be saved in the storage unit 1015. Alternatively, after the start of the scan, that is, after the first timer unit 1011 is turned off, the processing module 1013 saves the remaining time of each timer in the first timer unit 1011 that is not cleared, in other words: this step also It can be performed after step 605.
步骤 605: 第一网元 101关闭第一定时器单元 1011。 处理单元 1013关 闭第一定时器单元 1011。  Step 605: The first network element 101 turns off the first timer unit 1011. The processing unit 1013 turns off the first timer unit 1011.
步骤 606: 第二网元 102向第一网元 101发送扫描结束消息。 第二网元 102结束扫描。 如果步骤 601中扫描请求中携带有扫描参数, 则本步骤为定 时器 B超时。  Step 606: The second network element 102 sends a scan end message to the first network element 101. The second network element 102 ends the scanning. If the scan request carries the scan parameter in step 601, this step times out for timer B.
步骤 607: 第一网元 101根据保存的第一定时器单元 1011中各定时器 的剩余时间, 恢复第一定时器单元 1011。 其中, 处理单元 1013根据存储单 元 1015中保存的第一定时器单元 1011 中各定时器的剩余时间, 恢复第一 定时器单元 1011。 Step 607: The first network element 101 is configured according to the saved timers in the first timer unit 1011. The remaining time, the first timer unit 1011 is restored. The processing unit 1013 restores the first timer unit 1011 according to the remaining time of each timer in the first timer unit 1011 stored in the storage unit 1015.
其中, 如果扫描参数中包含的扫描信息为周期性扫描, 则第二网元 102 需根据扫描参数中包含的扫描周期及频率进行扫描。 即执行完上述步骤后, 重新根据扫描参数从步骤 603开始执行, 如此循环执行, 直到扫描结束。  Wherein, if the scan information included in the scan parameter is a periodic scan, the second network element 102 needs to scan according to the scan period and frequency included in the scan parameter. That is, after the above steps are performed, the execution is started from step 603 according to the scan parameters, and the loop is executed until the end of the scan.
本发明实施例中获取频点扫描的开始和结束时间; 到达扫描开始时间 时, 关闭重传定时器、 生命周期定时器以及窗口同步定时器, 暂停对滑动 窗中数据的处理; 到达扫描结束时间时, 恢复重传定时器、 生命周期定时 器以及窗口同步定时器, 恢复对滑动窗中数据的处理。 从而避免不必要的 数据重传, 减少数据块的丟失, 同时可以避免不必要的 ARQ Reset流程、 以及由于 ARQ Reset流程失败导致的 MAC复位, 实现了数据的可靠传输, 提高了 ARQ的重传效率及重传稳定性。 由第一网元 101发起扫描时, 可以 由第二网元 102在扫描开始和结束的时间点向第一网元 101发送扫描开始 消息及扫描结束消息, 第一网元 101 根据扫描开始消息关闭第一定时器单 元 1011 , 并根据扫描结束消息开启第一定时器单元 1011 ; 或者, 第二网元 102在向第一网元 101返回的扫描响应消息中携带扫描参数, 第一网元 101 通过该扫描响应消息获知扫描的开始和结束时间, 并根据该扫描的开始和 结束的时间关闭和开启第一定时器单元 1011 ; 或者, 第一网元 101 自身决 定扫描的开始时间, 实现方法灵活, 可任意选择。 由第二网元 102发起扫 描时, 可以由第二网元 102在扫描开始和结束的时间点向第一网元 101发 送扫描开始消息及扫描结束消息, 第一网元 101 根据扫描开始消息关闭第 一定时器单元 1011 ,并根据扫描结束消息开启第一定时器单元 1011 ; 或者, 第二网元 102在向第一网元 101发送的扫描消息中携带扫描参数, 第一网 元 101 通过该扫描消息获知扫描的开始和结束时间, 并才艮据该扫描的开始 和结束的时间关闭和开启第一定时器单元 1011。 扫描发起方与数据发送端 及数据接收端无关, 数据发送端与数据接收端均可为扫描发起方。 如果扫 描参数中包含的扫描信息为周期性扫描, 则第一网元 101 需根据扫描参数 中包含的扫描周期及频率进行扫描, 直到扫描结束。 如此, 实现了周期性 扫描, 且在扫描过程中不会出现链路传输质量下降的现象。 In the embodiment of the present invention, the start and end time of the frequency point scanning is acquired; when the scan start time is reached, the retransmission timer, the life cycle timer, and the window synchronization timer are turned off, and the processing of the data in the sliding window is suspended; When the retransmission timer, the lifecycle timer, and the window synchronization timer are restored, the processing of the data in the sliding window is resumed. Thereby avoiding unnecessary data retransmission and reducing data block loss, and avoiding unnecessary ARQ reset process and MAC reset caused by failure of the ARQ Reset process, realizing reliable data transmission and improving ARQ retransmission efficiency And retransmission stability. When the scan is initiated by the first network element 101, the scan start message and the scan end message may be sent by the second network element 102 to the first network element 101 at the start and end of the scan, and the first network element 101 is closed according to the scan start message. The first timer unit 1011, and the first timer unit 1011 is turned on according to the scan end message; or the second network element 102 carries the scan parameter in the scan response message returned to the first network element 101, and the first network element 101 passes The scan response message is informed of the start and end time of the scan, and the first timer unit 1011 is turned off and on according to the start and end time of the scan; or the first network element 101 itself determines the start time of the scan, and the implementation method is flexible. Can be chosen at will. When the second network element 102 initiates the scanning, the second network element 102 may send a scan start message and a scan end message to the first network element 101 at the time of starting and ending the scan, and the first network element 101 is closed according to the scan start message. The first timer unit 1011, and the first timer unit 1011 is turned on according to the scan end message; or the second network element 102 carries the scan parameter in the scan message sent to the first network element 101, and the first network element 101 passes the The scan message knows the start and end time of the scan, and the start of the scan The first timer unit 1011 is turned off and on at the end time. The scan initiator is independent of the data sender and the data receiver. Both the data sender and the data receiver can be the scan initiator. If the scan information included in the scan parameter is a periodic scan, the first network element 101 needs to scan according to the scan period and frequency included in the scan parameter until the end of the scan. In this way, periodic scanning is realized, and the degradation of the link transmission quality does not occur during the scanning process.
本领域内的技术人员应明白, 本发明的实施例可提供为方法、 系统、 或计算机程序产品。 因此, 本发明可釆用完全硬件实施例、 完全软件实施 例、 或结合软件和硬件方面的实施例的形式。 而且, 本发明可釆用在一个 或多个其中包含有计算机可用程序代码的计算机可用存储介质 (包括但不 限于磁盘存储器和光学存储器等 )上实施的计算机程序产品的形式。  Those skilled in the art will appreciate that embodiments of the present invention can be provided as a method, system, or computer program product. Accordingly, the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment, or a combination of software and hardware. Moreover, the invention can be embodied in the form of a computer program product embodied on one or more computer-usable storage media (including but not limited to disk storage and optical storage, etc.) including computer usable program code.
本发明是参照根据本发明实施例的方法、 设备(系统)、 和计算机程序 产品的流程图和 /或方框图来描述的。 应理解可由计算机程序指令实现流程 图和 /或方框图中的每一流程和 /或方框、以及流程图和 /或方框图中的流程和 /或方框的结合。 可提供这些计算机程序指令到通用计算机、 专用计算机、 嵌入式处理机或其他可编程数据处理设备的处理器以产生一个机器, 使得 通过计算机或其他可编程数据处理设备的处理器执行的指令产生用于实现 在流程图一个流程或多个流程和 /或方框图一个方框或多个方框中指定的功 能的装置。  The present invention has been described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (system), and computer program products according to embodiments of the invention. It will be understood that each flow and/or block of the flowchart and/or block diagrams, and combinations of flow and / or blocks in the flowcharts and / or block diagrams can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing device to produce a machine for the execution of instructions for execution by a processor of a computer or other programmable data processing device. Means for implementing the functions specified in one or more of the flow or in a block or blocks of the flow chart.
这些计算机程序指令也可存储在能引导计算机或其他可编程数据处理 设备以特定方式工作的计算机可读存储器中, 使得存储在该计算机可读存 储器中的指令产生包括指令装置的制造品, 该指令装置实现在流程图一个 流程或多个流程和 /或方框图一个方框或多个方框中指定的功能。  The computer program instructions can also be stored in a computer readable memory that can direct a computer or other programmable data processing device to operate in a particular manner, such that the instructions stored in the computer readable memory produce an article of manufacture comprising the instruction device. The apparatus implements the functions specified in one or more blocks of a flow or a flow and/or block diagram of the flowchart.
这些计算机程序指令也可装载到计算机或其他可编程数据处理设备 上, 使得在计算机或其他可编程设备上执行一系列操作步骤以产生计算机 实现的处理, 从而在计算机或其他可编程设备上执行的指令提供用于实现 在流程图一个流程或多个流程和 /或方框图一个方框或多个方框中指定的功 能的步骤。 本发明的精神和范围。 这样, 倘若本发明的这些修改和变型属于本发明权 利要求及其等同技术的范围之内, 则本发明也意图包含这些改动和变型在 内。 These computer program instructions can also be loaded onto a computer or other programmable data processing device such that a series of operational steps are performed on a computer or other programmable device to produce computer-implemented processing for execution on a computer or other programmable device. Instructions are provided for implementation The steps of a function specified in a block or blocks of a flow or a flow and/or a block diagram of a flow chart. The spirit and scope of the invention. Thus, it is intended that the present invention cover the modifications and the modifications of the invention

Claims

权利要求书 Claim
1、 一种数据处理控制方法, 其特征在于, 该方法包括:  A data processing control method, the method comprising:
获取频点扫描的开始时间和结束时间;  Obtain the start time and end time of the frequency point scan;
到达所述开始时间时, 暂停重传定时器、 生命周期定时器以及窗口同 步定时器, 并暂停对滑动窗中数据的处理;  When the start time is reached, the retransmission timer, the lifecycle timer, and the window synchronization timer are suspended, and the processing of the data in the sliding window is suspended;
到达所述结束时间时, 恢复重传定时器、 生命周期定时器以及窗口同 步定时器, 并恢复对滑动窗中数据的处理。  Upon reaching the end time, the retransmission timer, the lifecycle timer, and the window synchronization timer are restored, and the processing of the data in the sliding window is resumed.
2、 根据权利要求 1所述的方法, 其特征在于, 所述获取频点扫描的开 始时间和结束时间, 包括:  2. The method according to claim 1, wherein the acquiring the start time and the end time of the frequency point scan comprises:
接收对端网元发送的扫描参数, 通过所述扫描参数获知扫描的开始时 间和结束的时间; 或者,  Receiving a scan parameter sent by the peer network element, and obtaining, by using the scan parameter, a start time and an end time of the scan; or
自身确定扫描的开始时间和结束时间; 或者,  Determine the start time and end time of the scan by itself; or,
将接收对端网元发送的扫描开始消息的时间, 确定为扫描的开始时间 , 将接收对端网元发送的扫描结束消息的时间, 确定为扫描的结束时间。  The time at which the scan start message sent by the peer network element is received is determined as the start time of the scan, and the time at which the scan end message sent by the peer network element is received is determined as the end time of the scan.
3、 根据权利要求 1所述的方法, 其特征在于, 该方法还包括: 保存暂 停时重传定时器、 生命周期定时器以及窗口同步定时器的剩余时间。  3. The method according to claim 1, wherein the method further comprises: saving a retransmission time retransmission timer, a lifecycle timer, and a remaining time of the window synchronization timer.
4、 根据权利要求 1、 2或 3所述的方法, 其特征在于, 所述到达所述 开始时间时, 暂停重传定时器、 生命周期定时器以及窗口同步定时器, 并 暂停对滑动窗中数据的处理, 包括: 接收对端网元发送的扫描开始消息时, 开始频点扫描, 暂停重传定时器、 生命周期定时器以及窗口同步定时器, 并暂停对滑动窗中数据的处理; 或者,  The method according to claim 1, 2 or 3, wherein, when the start time is reached, the retransmission timer, the lifecycle timer, and the window synchronization timer are suspended, and the sliding window is suspended. The processing of the data includes: when receiving the scan start message sent by the peer network element, starting the frequency point scan, suspending the retransmission timer, the life cycle timer, and the window synchronization timer, and suspending processing of the data in the sliding window; or ,
收到扫描响应消息时, 启动定时器 A, 在定时器 A超时时, 开始频点 扫描, 暂停重传定时器、 生命周期定时器以及窗口同步定时器, 并暂停对 滑动窗中数据的处理。  When the scan response message is received, the timer A is started. When the timer A times out, the frequency point scan is started, the retransmission timer, the life cycle timer, and the window synchronization timer are suspended, and the processing of the data in the sliding window is suspended.
5、 根据权利要求 3所述的方法, 其特征在于, 所述到达所述结束时间 时, 恢复重传定时器、 生命周期定时器以及窗口同步定时器, 并恢复对滑 动窗中数据的处理, 包括: 接收对端网元发送的扫描结束消息, 根据保存 的重传定时器、 生命周期定时器以及窗口同步定时器的剩余时间, 恢复重 传定时器、 生命周期定时器以及窗口同步定时器, 并恢复对滑动窗中数据 的处理; 或者, 5. The method according to claim 3, wherein said arriving at said end time The retransmission timer, the lifecycle timer, and the window synchronization timer are restored, and the processing of the data in the sliding window is resumed, including: receiving a scan end message sent by the peer network element, according to the saved retransmission timer, life The period timer and the remaining time of the window synchronization timer, recover the retransmission timer, the lifecycle timer, and the window synchronization timer, and restore the processing of the data in the sliding window; or
收到扫描响应消息时启动定时器 B, 在定时器 B超时时, 根据保存的 重传定时器、 生命周期定时器以及窗口同步定时器的剩余时间, 恢复重传 定时器、 生命周期定时器以及窗口同步定时器, 并恢复对滑动窗中数据的 处理。  When the scan response message is received, the timer B is started. When the timer B times out, the retransmission timer, the life cycle timer, and the remaining time of the saved retransmission timer, the lifetime timer, and the window synchronization timer are restored. The window synchronizes the timer and resumes processing of the data in the sliding window.
6、 一种数据处理控制方法, 其特征在于, 该方法包括:  6. A data processing control method, the method comprising:
确定频点扫描的开始时间和结束时间;  Determining the start time and end time of the frequency point scan;
向对端网元发送直接或间接表示扫描的开始时间和结束时间的扫描参 数, 或者到达所述开始时间时, 发送扫描开始消息, 到达所述结束时间时, 发送扫描结束消息, 指示对端网元在到达扫描开始时间时, 暂停重传定时 器、 生命周期定时器以及窗口同步定时器, 并暂停对滑动窗中数据的处理, 在到达扫描结束时间时, 恢复重传定时器、 生命周期定时器以及窗口同步 定时器, 并恢复对滑动窗中数据的处理。  Sending a scan parameter indicating the start time and the end time of the scan directly or indirectly to the peer network element, or sending a scan start message when the start time is reached, and sending a scan end message when the end time is reached, indicating the peer network When the element reaches the scan start time, it suspends the retransmission timer, the life cycle timer, and the window synchronization timer, and suspends the processing of the data in the sliding window. When the scan end time is reached, the retransmission timer is resumed, and the life cycle timing is resumed. And the window synchronization timer, and restore the processing of the data in the sliding window.
7、 一种数据处理控制装置, 其特征在于, 该装置包括: 处理单元、 第 一定时器单元以及第一收发单元; 其中,  A data processing control device, comprising: a processing unit, a first timer unit, and a first transceiver unit;
处理单元, 用于获取频点扫描的开始时间和结束时间; 并在到达所述 开始时间时, 暂停重传定时器、 生命周期定时器以及窗口同步定时器, 并 暂停对滑动窗中数据的处理; 到达所述结束时间时, 恢复重传定时器、 生 命周期定时器以及窗口同步定时器, 并恢复对滑动窗中数据的处理;  a processing unit, configured to acquire a start time and an end time of the frequency point scan; and when the start time is reached, suspend the retransmission timer, the life cycle timer, and the window synchronization timer, and suspend processing of the data in the sliding window When the end time is reached, the retransmission timer, the lifecycle timer, and the window synchronization timer are restored, and the processing of the data in the sliding window is resumed;
第一定时器单元, 用于提供重传定时器、 生命周期定时器以及窗口同 步定时器; 第一收发单元, 用于提供滑动窗。 a first timer unit, configured to provide a retransmission timer, a lifecycle timer, and a window synchronization timer; The first transceiver unit is configured to provide a sliding window.
8、 根据权利要求 7所述的装置, 其特征在于, 所述第一收发单元, 还 用于接收对端网元发送的扫描参数;  The device according to claim 7, wherein the first transceiver unit is further configured to receive a scan parameter sent by the peer network element;
所述处理单元, 进一步用于: 通过该扫描参数获知扫描的开始时间和 结束时间; 或者,  The processing unit is further configured to: learn, by using the scan parameter, a start time and an end time of the scan; or
该装置还包括: 第一扫描单元, 用于自身确定扫描的开始时间和结束 时间; 或者,  The device further includes: a first scanning unit, configured to determine the start time and the end time of the scan by itself; or
所述处理单元, 进一步用于: 将所述收发单元接收对端网元发送的扫 描开始消息的时间, 确定为扫描的开始时间, 并将所述收发单元接收对端 网元发送的扫描结束消息的时间, 确定为扫描的结束时间。  The processing unit is further configured to: receive, by the transceiver unit, a scan start message sent by the peer end network element, determine a start time of the scan, and receive, by the transceiver unit, a scan end message sent by the peer end network element The time is determined as the end time of the scan.
9、 根据权利要求 7所述的装置, 其特征在于, 该装置还包括: 存储单 元, 用于保存暂停时重传定时器、 生命周期定时器以及窗口同步定时器的 剩余时间。  9. The apparatus according to claim 7, wherein the apparatus further comprises: a storage unit configured to save a retransmission timer, a lifecycle timer, and a remaining time of the window synchronization timer.
10、根据权利要求 7、 8或 9所述的装置, 其特征在于, 所述处理单元, 进一步用于: 在所述第一收发单元接收对端网元发送的扫描开始消息时, 开始频点扫描, 暂停重传定时器、 生命周期定时器以及窗口同步定时器, 并暂停对滑动窗中数据的处理; 或者,  The device according to claim 7, 8 or 9, wherein the processing unit is further configured to: start a frequency point when the first transceiver unit receives a scan start message sent by the peer network element Scan, pause the retransmission timer, lifecycle timer, and window synchronization timer, and suspend processing of data in the sliding window; or,
该装置还包括: 第二定时器单元, 第二定时器单元进一步包括: 定时 器 A和定时器 B;  The device further includes: a second timer unit, the second timer unit further comprising: a timer A and a timer B;
所述处理单元, 进一步用于: 在所述第一收发单元收到扫描响应消息 时, 启动所述定时器 A, 在定时器 A超时时, 开始频点扫描, 暂停重传定 时器、 生命周期定时器以及窗口同步定时器, 并暂停对滑动窗中数据的处 理。  The processing unit is further configured to: when the first transceiver unit receives the scan response message, start the timer A, start the frequency point scan when the timer A times out, pause the retransmission timer, and the life cycle The timer and the window synchronization timer, and suspend processing of the data in the sliding window.
11、根据权利要求 7、 8或 9所述的装置, 其特征在于, 所述处理单元, 进一步用于: 在所述第一收发单元接收对端网元发送的扫描结束消息时, 根据保存的重传定时器、 生命周期定时器以及窗口同步定时器的剩余时间, 恢复重传定时器、 生命周期定时器以及窗口同步定时器, 并恢复对滑动窗 中数据的处理; 或者, The device according to claim 7, 8 or 9, wherein the processing unit is further configured to: when the first transceiver unit receives a scan end message sent by the peer network element, Recovering the retransmission timer, the lifecycle timer, and the window synchronization timer according to the saved retransmission timer, the lifecycle timer, and the remaining time of the window synchronization timer, and restoring the processing of the data in the sliding window; or
该装置还包括: 第二定时器单元, 第二定时器单元进一步包括: 定时 器 A和定时器 B;  The device further includes: a second timer unit, the second timer unit further comprising: a timer A and a timer B;
所述处理单元, 进一步用于: 在所述收发单元接收对端网元发送的扫 描响应消息时, 启动所述定时器 B, 在定时器 B超时时, 根据保存的重传 定时器、 生命周期定时器以及窗口同步定时器的剩余时间恢复重传定时器、 生命周期定时器以及窗口同步定时器, 并恢复对滑动窗中数据的处理。  The processing unit is further configured to: when the transceiver unit receives the scan response message sent by the peer network element, start the timer B, and when the timer B times out, according to the saved retransmission timer, the life cycle The timer and the remaining time of the window synchronization timer restore the retransmission timer, the lifecycle timer, and the window synchronization timer, and resume processing of the data in the sliding window.
12、 一种数据处理控制装置, 其特征在于, 该装置包括: 第二扫描单 元及第二收发单元; 其中,  12. A data processing control device, the device comprising: a second scanning unit and a second transceiver unit;
第二扫描单元, 用于确定频点扫描的开始时间和结束时间;  a second scanning unit, configured to determine a start time and an end time of the frequency point scanning;
第二收发单元, 用于向对端网元发送直接或间接表示扫描的开始时间 和结束时间的扫描参数, 或者到达所述开始时间时, 发送扫描开始消息, 到达所述结束时间时, 发送扫描结束消息, 以指示对端网元在到达扫描开 始时间时暂停重传定时器、 生命周期定时器以及窗口同步定时器, 并暂停 对滑动窗中数据的处理, 在到达扫描结束时间时, 恢复重传定时器、 生命 周期定时器以及窗口同步定时器, 并恢复对滑动窗中数据的处理。  a second transceiver unit, configured to send, to the peer network element, a scan parameter that directly or indirectly indicates a start time and an end time of the scan, or send a scan start message when the start time is reached, and send a scan when the end time is reached. Ending the message to instruct the peer network element to suspend the retransmission timer, the lifecycle timer, and the window synchronization timer when the scan start time is reached, and suspend processing of the data in the sliding window. When the scan end time is reached, the weight is restored. The timer, lifecycle timer, and window synchronization timer are passed, and the processing of data in the sliding window is resumed.
PCT/CN2011/078541 2010-10-19 2011-08-17 Method and device for controlling data processing WO2012051881A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201010512132.4 2010-10-19
CN2010105121324A CN101984704A (en) 2010-10-19 2010-10-19 Data processing control method and device

Publications (1)

Publication Number Publication Date
WO2012051881A1 true WO2012051881A1 (en) 2012-04-26

Family

ID=43641874

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2011/078541 WO2012051881A1 (en) 2010-10-19 2011-08-17 Method and device for controlling data processing

Country Status (2)

Country Link
CN (1) CN101984704A (en)
WO (1) WO2012051881A1 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101984704A (en) * 2010-10-19 2011-03-09 中兴通讯股份有限公司 Data processing control method and device
CN103455895A (en) * 2013-09-18 2013-12-18 国家电网公司 Method and device for processing information

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6765869B2 (en) * 2000-12-21 2004-07-20 At&T Wireless Services, Inc. Medium access dynamic congestion control mechanism for wireless data
CN101426209A (en) * 2008-12-12 2009-05-06 中兴通讯股份有限公司 Cell configuring method and system based on micro-cell base station
US20090168731A1 (en) * 2007-12-31 2009-07-02 Interdigital Patent Holdings, Inc. Method and apparatus for handling interactions between measurement gap, automated repeat request, discontinuous reception and discontinuous transmission in wireless communications
WO2009087429A1 (en) * 2008-01-04 2009-07-16 Nokia Siemens Networks Oy Channel allocation when using measurement gaps with h-arq
CN101984704A (en) * 2010-10-19 2011-03-09 中兴通讯股份有限公司 Data processing control method and device

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101126997B (en) * 2007-09-26 2010-06-16 中兴通讯股份有限公司 Network processor micro-engine activity detection method
CN101252424B (en) * 2008-04-02 2011-10-05 中国科学院计算技术研究所 System and method for processing PDU in automatic retransmission request mechanism

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6765869B2 (en) * 2000-12-21 2004-07-20 At&T Wireless Services, Inc. Medium access dynamic congestion control mechanism for wireless data
US20090168731A1 (en) * 2007-12-31 2009-07-02 Interdigital Patent Holdings, Inc. Method and apparatus for handling interactions between measurement gap, automated repeat request, discontinuous reception and discontinuous transmission in wireless communications
WO2009087429A1 (en) * 2008-01-04 2009-07-16 Nokia Siemens Networks Oy Channel allocation when using measurement gaps with h-arq
CN101426209A (en) * 2008-12-12 2009-05-06 中兴通讯股份有限公司 Cell configuring method and system based on micro-cell base station
CN101984704A (en) * 2010-10-19 2011-03-09 中兴通讯股份有限公司 Data processing control method and device

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
"IEEE Standard for Local and Metropolitan Area Networks Part l6: Air Interface for Fixed Broadband Wireless Access Systems", IEEE STD 802.16(TM)2004, October 2004 (2004-10-01), pages 128 - 138 *

Also Published As

Publication number Publication date
CN101984704A (en) 2011-03-09

Similar Documents

Publication Publication Date Title
US11696198B2 (en) Method and device for performing handover in mobile communication system
CN102893548A (en) Methods and devices for controlling the deactivation of transmission carriers
EP3570587B1 (en) Data retransmission method and apparatus
US8904245B2 (en) Using a variable timer for sending an error indication
US20180310192A1 (en) Technique for Monitoring a Radio Communication
JP7381565B2 (en) Method and user equipment for controlling data retransmission
US11930496B2 (en) Method of processing transmission, terminal and network device
WO2010054535A1 (en) Control method for receiving downlink data in the mobile communication terminal and mobile communication terminal
JP6945104B2 (en) Nodes that are tolerant of delays
KR101214137B1 (en) Method and apparatus for transmitting data, and a communication system
WO2011134396A1 (en) Method, system and device for processing downlink data reception
WO2012068972A1 (en) Method for activating configuration and user equipment
JP6398605B2 (en) Wireless communication apparatus, wireless communication program, and wireless communication system
WO2012051881A1 (en) Method and device for controlling data processing
JPWO2011027400A1 (en) Communications system
JP6162988B2 (en) Base station and method
WO2010048848A1 (en) Data processing method and system
WO2015096089A1 (en) Fault-tolerance method and device for phich channel transmission information
WO2016123971A1 (en) Discontinuous reception capability detection method and terminal, and network side device
WO2012155708A1 (en) Method and device for optimizing arq discard message
WO2011020215A1 (en) Method, relay node and user equipment for avoiding self-interference outside multicast broadcast single frequency network sub-frame
JP2007306498A (en) Communication apparatus, data communication method, and data communication system
KR20070113090A (en) Method and apparatus for retransmitting a control message in a mobile communication system
JP2011055435A (en) Apparatus and method for retransmission control
WO2009086770A1 (en) A method, device and system for synchronizing the states

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: 11833787

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: 11833787

Country of ref document: EP

Kind code of ref document: A1