WO2016015418A1 - Service processing method and apparatus - Google Patents

Service processing method and apparatus Download PDF

Info

Publication number
WO2016015418A1
WO2016015418A1 PCT/CN2014/092179 CN2014092179W WO2016015418A1 WO 2016015418 A1 WO2016015418 A1 WO 2016015418A1 CN 2014092179 W CN2014092179 W CN 2014092179W WO 2016015418 A1 WO2016015418 A1 WO 2016015418A1
Authority
WO
WIPO (PCT)
Prior art keywords
frame
retransmissions
error
service
link layer
Prior art date
Application number
PCT/CN2014/092179
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 WO2016015418A1 publication Critical patent/WO2016015418A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L1/00Arrangements for detecting or preventing errors in the information received

Definitions

  • the present invention relates to the field of mobile communications, and in particular, to a service processing method and apparatus.
  • the mobile communication system uses a simplified protocol similar to the OSI (Open System Interconnection) protocol model, including the physical layer (L1), the data link layer (L2), and the network layer (L3).
  • the physical layer is the lowest layer of the protocol model and provides all the functions required for the physical medium to transport the bitstream.
  • the data link layer establishes an error-free transmission by establishing a data link between adjacent nodes based on the physical layer providing a bitstream service.
  • the network layer includes various types of messages and programs to control the business.
  • the Data Link Layer In order to make an error occur in the transmission, the Data Link Layer only retransmits the finite data with errors, and combines the bit streams into frames.
  • each frame In addition to the data to be transmitted, each frame includes a check code to enable the receiver to discover errors in the transmission.
  • the retransmission method is used to correct, that is, the sender can only consider that the frame has been correctly transmitted after receiving the feedback signal that the receiver has correctly received, otherwise it needs to be resent.
  • the burst noise of the physical layer may cause the entire data frame or feedback information frame to be lost, which will cause the sender to never receive the feedback information sent by the receiver, thereby stalling the transmission process.
  • a timer is introduced to limit the time interval for the receiver to send back feedback information.
  • the sender sends a frame
  • the timer is started. If the receiver does not receive the feedback information within the limited time interval, That is, if the timer expires, the transmitted frame is considered to be in error or lost and needs to be resent. Since the same frame data may be repeatedly transmitted multiple times, it may cause the receiver to receive the same frame multiple times and hand it over to the network layer.
  • a sequence number is assigned to each frame sent, so that the receiver can distinguish whether it is a newly transmitted frame or a frame that has been received but retransmitted from the sequence number.
  • the received frame is delivered to the network layer.
  • the call and hang up of the MS includes the establishment and release process of the data link layer on the radio interface.
  • the Frame Response and the UA (Unnumbered Acknowledgement) frame response of the SABM (Set Asynchronous Balanced Mode) indicate that the MS and the BTS (Base Transceiver Station) are chained at the data link layer, DISC (DISConnect, broken) Open connection)
  • Frame transmission and UA frame response indicate that the MS and BTS are released at the data link layer, and the intermediate hold process of establishment and release is actually segmentation/ The transmission of an I (Information, Information Frame) frame or a UI (Unnumbered Information) frame that is not segmented.
  • I Information, Information Frame
  • UI Unnumbered Information
  • the existing data link layer data transmission mechanism ensures data-free error transmission, due to the rapid development of the city, a large number of dense high-rise buildings and road tunnels are increasing, and coverage needs to be completed through a distributed system, and the wireless environment is more complicated, thus resulting in wireless In the data transmission of the port, the chances of loss or interference of multi-frame operation information are increased synchronously, and the abnormal call drop of the system is inevitable.
  • the SAMB frame, the DISC frame or the I frame is sent after the timer is set, and wait until the timer expires.
  • the SAMB frame, the DISC frame, or the I frame is resent, and the maximum retransmission is N200 times, which exceeds N200 times of terminating the service; or when the I frame receives the response frame sequence number error, the service is terminated. Therefore, based on the existing data link layer data transmission mechanism, the system has poor fault tolerance, and the user experience is poor, and the call drop rate is high.
  • the embodiment of the invention provides a service processing method and device, so as to at least solve the problem that the performance of the data link layer data transmission mechanism in the related art is poor.
  • an embodiment of the present invention provides a service processing method, where the method includes: determining a maximum number of retransmissions of a frame and a number of error tolerances of a frame serial number; and recording the frame during transmission of each frame. The number of retransmissions and the number of errors in the sequence number; based on the comparison result of the number of retransmissions and the maximum number of retransmissions of the frame, or the comparison result of the number of error numbers and the number of error tolerances of the frame number, it is determined that the frame is retransmitted or the service is interrupted.
  • determining the maximum number of retransmissions of the frame and the number of error tolerances of the frame serial number includes: setting a data link layer configuration switch; setting a maximum number of retransmissions of the frame and a number of error tolerances of the frame serial number when the data link layer configuration switch is turned on; When the link layer configuration switch is turned off, the value of the maximum number of retransmissions of the frame and the number of error tolerances of the frame number is determined as the value specified in the communication protocol.
  • determining whether to resend the frame or interrupting the service including: during the transmission of each frame If the acknowledgment frame is not received, compare the number of retransmissions and the maximum number of retransmissions of the frame. If the number of retransmissions ⁇ the maximum number of retransmissions of the frame, resend the frame, otherwise the service is interrupted; during the transmission of each frame, If the serial number is wrong, the sequence number error number and the frame number error tolerance number are compared. If the sequence number error number ⁇ frame number error tolerance number, the frame is retransmitted, otherwise the service is interrupted.
  • the application range of the method is a site level, a cell level, or a carrier frequency level.
  • an embodiment of the present invention further provides a service processing apparatus, where the apparatus includes: a value determining module, configured to determine a maximum number of retransmissions of a frame and a number of error tolerances of a frame serial number; It is set to record the number of retransmissions and the number of sequence errors of the frame during the transmission process of each frame; the service processing module is set to a comparison result based on the number of retransmissions and the maximum number of retransmissions of the frame, or the number of sequence errors and the frame number The result of the comparison of the number of error tolerances determines whether to resend the frame or interrupt the service.
  • a value determining module configured to determine a maximum number of retransmissions of a frame and a number of error tolerances of a frame serial number
  • It is set to record the number of retransmissions and the number of sequence errors of the frame during the transmission process of each frame
  • the service processing module is set to a comparison result based on the number of retransmission
  • the value determining module comprises: a switch setting unit configured to set a data link layer configuration switch; and a first setting unit configured to set a frame maximum retransmission number and a frame serial number error tolerance when the data link layer configuration switch is turned on
  • the second setting unit is configured to determine the value of the maximum number of retransmissions of the frame and the number of error tolerances of the frame serial number when the data link layer configuration switch is turned off, as the value specified in the communication protocol.
  • the service processing module includes: a retransmission processing unit, configured to compare the number of retransmissions and the maximum number of retransmissions of the frame if the number of retransmissions is the largest in the transmission process of each frame, if the acknowledgement frame is not received, If the number of retransmissions is repeated, the frame is retransmitted, otherwise the service is interrupted; the fault-tolerant processing unit is set to compare the sequence number error number and the frame number error tolerance number if the sequence number is incorrect during the transmission of each frame, if the sequence number is incorrect ⁇ If the frame number is incorrectly fault tolerant, the frame will be resent, otherwise the service will be interrupted.
  • a retransmission processing unit configured to compare the number of retransmissions and the maximum number of retransmissions of the frame if the number of retransmissions is the largest in the transmission process of each frame, if the acknowledgement frame is not received, If the number of retransmissions is repeated, the frame is retransmitted, otherwise the
  • the application range of the above device is a site level, a cell level, or a carrier frequency level.
  • the invention solves the problem that the performance of the data link layer data transmission mechanism in the related art is poor, reduces the system call drop rate, improves the MS handover success rate, improves the data transmission performance of the data link layer, and enhances the performance.
  • the fault tolerance of the system improves the user's feeling of use.
  • FIG. 1 is a flowchart of a service processing method according to an embodiment of the present invention.
  • FIG. 2 is a schematic diagram of an operating system according to an embodiment of the present invention.
  • FIG. 3 is a schematic diagram of RC and EC statistics according to an embodiment of the present invention.
  • FIG. 4 is a schematic diagram of service processing of a data link layer according to Embodiment 1 of the present invention.
  • FIG. 5 is a schematic diagram of service processing of a data link layer according to Embodiment 2 of the present invention.
  • FIG. 6 is a schematic diagram of service processing of a data link layer according to Embodiment 3 of the present invention.
  • FIG. 7 is a structural block diagram of a service processing apparatus according to an embodiment of the present invention.
  • the present invention provides a service processing method and apparatus.
  • the present invention will be further described in detail below with reference to the accompanying drawings and embodiments. It is understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
  • FIG. 1 is a flowchart of a service processing method according to an embodiment of the present invention. As shown in FIG. 1, the method includes the following steps (steps). S102-Step S106):
  • Step S102 determining the maximum number of retransmissions of the frame and the number of error tolerances of the frame serial number.
  • the value of the maximum number of retransmissions of the frame and the number of error tolerances of the frame number may be set according to the actual operation, or may be set to a value specified in the communication protocol.
  • the embodiment provides a preferred embodiment. , that is, set the data link layer configuration switch; set the maximum number of retransmissions of the frame and the number of error tolerances of the frame serial number when the data link layer configuration switch is turned on; and the maximum number of retransmissions of the frame when the data link layer configuration switch is turned off And the value of the frame number error tolerance number is determined as the value specified in the communication protocol.
  • the value of the maximum number of retransmissions of the frame and the number of error tolerances of the frame number is set to be higher than the value specified in the communication protocol. In this way, the chances of resending the frame increase, and the chances of receiving the response frame or the sequence number of the correct frame are increased synchronously, so that the probability of service interruption is reduced, and the system call drop rate is reduced.
  • Step S104 in the process of transmitting each frame, record the number of retransmissions and the number of sequence errors of the frame.
  • Step S106 determining whether to resend the frame or interrupt the service based on a comparison result of the number of retransmissions and the maximum number of retransmissions of the frame, or a comparison result of the number of error numbers and the number of error tolerances of the frame number.
  • the number of retransmissions and the maximum number of retransmissions of the frame are compared. If the number of retransmissions ⁇ the maximum number of retransmissions of the frame, the frame is retransmitted, otherwise the service is interrupted; When the service is interrupted, the error report that the cause value is the timer timeout can be reported.
  • the serial number error number and the frame serial number error tolerance number are compared. If the serial number error number ⁇ frame number error tolerance number, the frame is retransmitted, otherwise the service is interrupted; When the reason value is reported, the error value of the serial number error can be reported.
  • the application range of this embodiment may be a site level, a cell level, or a carrier frequency level.
  • the problem of poor performance of the data link layer data transmission mechanism in the related art is solved, the system call drop rate is reduced, the MS handover success rate is improved, and the data transmission performance of the data link layer is improved.
  • the fault tolerance of the system improves the user's feeling of use.
  • the technical solution of the invention reduces the system call drop rate, improves the network performance and increases the user's feeling goodness on the basis of ensuring the data link layer data transmission error-free, and the specific steps are as follows:
  • Step 1 Set the data link layer configuration switch through the background, and the maximum number of retransmissions and the number of error tolerances of the frame number.
  • Step 2 If the data link layer configuration switch is enabled, the maximum number of retransmissions of the delivered frame will be cached, denoted as N, and the frame serial number error tolerance cache will be recorded as M. If the background data link layer configuration switch is turned off, N and M are the values specified by the relevant communication protocol.
  • Step 3 When the service is initiated, a timer is set at the same time as each frame is sent, and it is determined that the corresponding confirmation frame is received within the set time interval, and the confirmation frame number is correct, otherwise the frame is retransmitted, and the frame is recorded.
  • Step 4 If the acknowledgment frame is not received, the frame can be resent if RC ⁇ N is satisfied, otherwise the cause value is reported as an error report of the timer timeout, thereby interrupting the service. If the serial number is wrong, the frame can be resent if EC ⁇ M is satisfied, otherwise the cause value is reported as an error report with the serial number error, thereby interrupting the service.
  • the application of the data link layer configuration switch and the maximum number of retransmissions of the frame and the number of error tolerances of the frame number are not limited to the site level, and may be cell or carrier frequency.
  • the method is not only for the BTS trial, but also for the MS trial.
  • the maximum number of retransmissions of the background configuration frame and the number of error tolerances of the frame serial number are also applicable to other communication systems such as GPRS (General Packet Radio Service).
  • GPRS General Packet Radio Service
  • the background uses the configured data link layer frame maximum retransmission times and frame serial number error tolerance times, which is larger than the value defined in the protocol.
  • the retransmission frame opportunity increases, and the response frame is received. Or the chance of the correct frame number is increased synchronously, and the probability of service interruption is reduced, that is, the system call drop rate is reduced.
  • the BTS of the GSM communication system is taken as an example to introduce a method for improving the performance of the data link layer.
  • 2 is a schematic diagram of an operating system according to an embodiment of the present invention. As shown in FIG. 2, the data link layer configuration switch is first turned on in the background, and the maximum number of retransmissions of the frame and the number of error tolerances of the frame serial number are set. The configuration is delivered to the BTS, and the maximum number of retransmissions of the frame and the number of error tolerances of the frame number are saved to N and M, respectively.
  • the GSM-related protocol (3GPP TS 44.006) specifies that N is N200 (different channel types N200 values are different, for example, 5 for SACCH channel N200, 23 for SDCCH channel N200, etc.), and M is 0.
  • N and M are configured as N200+3 and 3.
  • the data link layer of the BTS and the MS has a large number of multi-frame operation transmission data, and the data link layer of the BTS counts the number of retransmissions per frame RC and the number of frames sequence error EC, and establishes multiple instances for multiple services.
  • Each instance has its own RC and EC statistics, as shown in Figure 3 for the RC and EC statistics diagrams.
  • FIG. 4 is a schematic diagram of the service processing of the data link layer according to the first embodiment of the present invention.
  • the class label changes and the encryption mode.
  • Information such as encryption completion is transmitted to the opposite end through the I frame at the data link layer.
  • FIG. 5 is a schematic diagram of service processing of the data link layer according to Embodiment 2 of the present invention.
  • the MS sends an encryption to the BTS to complete the I frame piggyback confirmation.
  • the encryption mode can be resent, and then the correct I frame is received, the service continues, and the MS maintains the call state.
  • FIG. 6 is a schematic diagram of service processing of the data link layer according to Embodiment 3 of the present invention.
  • the method provided in this embodiment can improve the MS handover success rate, and the user can cut a cell with a good signal to improve the user experience.
  • FIG. 7 is a structural block diagram of a service processing apparatus according to an embodiment of the present invention. As shown in FIG. 7, the apparatus includes: a numerical value determining module 10, a number recording module 20, and a service processing module 30. The structure is described in detail below.
  • the numerical determination module 10 is configured to determine a maximum number of retransmissions of the frame and a number of error tolerances of the frame serial number;
  • the number recording module 20 is connected to the numerical value determining module 10, and is configured to record the number of retransmissions and the number of serial errors of the frame during the transmission of each frame;
  • the service processing module 30 is connected to the number-of-times recording module 20, and is configured to determine the retransmission of the frame or the interrupt service based on the comparison result of the number of retransmissions and the maximum number of retransmissions of the frame, or the comparison result of the number of error numbers and the number of error tolerances of the frame number. .
  • the numerical value determining module 10 includes: a switch setting unit configured to set a data link layer configuration switch; and a first setting unit configured to set a maximum number of retransmissions of the frame when the data link layer configuration switch is turned on And the frame number error tolerance number; the second setting unit is configured to determine the value of the maximum number of retransmissions of the frame and the number of error tolerances of the frame number when the data link layer configuration switch is turned off, as the value specified in the communication protocol.
  • the service processing module 30 includes: a retransmission processing unit configured to compare the number of retransmissions and the maximum number of retransmissions of the frame if the number of retransmissions is greater than the maximum number of retransmissions in the transmission process of each frame. If the number of times is sent, the frame is resent, otherwise the service is interrupted; the fault-tolerant processing unit is set to compare the sequence number error number and the frame number error tolerance number if the serial number is wrong during the transmission of each frame, if the sequence number error number ⁇ If the frame sequence number is incorrectly fault tolerant, the frame is retransmitted, otherwise the service is interrupted.
  • the application range of the foregoing device is a site level, a cell level, or a carrier frequency level.
  • the maximum number of retransmissions of the frame and the number of error tolerances of the frame serial number are adjusted, so that the chances of resending the frame are increased, and the chances of receiving the response frame or the correct frame number are increased synchronously, so that the service is interrupted.
  • the probability of the system is reduced, and the system call drop rate is lowered, thereby improving the system performance and improving the user's feeling of use.
  • the service processing method and apparatus have the following beneficial effects: by adjusting the maximum number of retransmissions of the frame and the number of error tolerances of the frame serial number, the retransmission frame opportunity is increased, and the response frame or sequence is received.
  • the chance of correct frame synchronization increases, which reduces the probability of service interruption and reduces the system call drop rate, which improves system performance and user experience.

Landscapes

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

Abstract

Disclosed are a service processing method and apparatus. The method comprises: determining the maximum number of times of frame retransmission and the number of times of tolerance of frame sequence number faults (S102); during the transmission process of each frame, recording the number of times of retransmission of the frame and the number of times of sequence number faults of the frame (S104); and according to a comparison result between the number of times of retransmission and the maximum number of times of frame retransmission or a comparison result between the number of times of sequence number faults and the number of times of tolerance of frame sequence number faults, determining to retransmit the frame or interrupt the service (S106). By means of the present invention, the problem of poor performance of a data transmission mechanism of a data link layer in the related art is solved, the call drop rate of a system is reduced, the success rate of MS handovers is increased, the data transmission performance of the data link layer is improved, the tolerance capability of the system is enhanced, and the use feeling of a user is improved.

Description

一种业务处理方法及装置Business processing method and device 技术领域Technical field
本发明涉及移动通讯领域,特别是涉及一种业务处理方法及装置。The present invention relates to the field of mobile communications, and in particular, to a service processing method and apparatus.
背景技术Background technique
移动通讯系统使用类似OSI(Open System Interconnection,开放式系统互联)协议模型的简化协议,包含物理层(L1)、数据链路层(L2)和网络层(L3)。物理层是协议模型最底层,提供物理媒介传输比特流所需的全部功能。数据链路层在物理层提供比特流服务的基础上建立相邻结点之间的数据链路实现无差错的传输。网络层包括各类消息和程序,对业务进行控制。The mobile communication system uses a simplified protocol similar to the OSI (Open System Interconnection) protocol model, including the physical layer (L1), the data link layer (L2), and the network layer (L3). The physical layer is the lowest layer of the protocol model and provides all the functions required for the physical medium to transport the bitstream. The data link layer establishes an error-free transmission by establishing a data link between adjacent nodes based on the physical layer providing a bitstream service. The network layer includes various types of messages and programs to control the business.
数据链路层(Datalink Layer)为了使传输中发生差错后,只将有错的有限数据进行重发,将比特流组合成以帧为单位传送。每个帧除了要传送的数据外,还包括校验码,以使接收方能发现传输中的差错。一旦判定帧同步错误,采用重发的方法来纠正,即发送方仅当收到接收方已正确接收的反馈信号后,才能认为该帧已经正确发送完毕,否则需要重新发送。另外,物理层的突发噪声可能使整个数据帧或反馈信息帧丢失,这将导致发送方永远收不到接收方发来的反馈信息,从而使传输过程停滞。In order to make an error occur in the transmission, the Data Link Layer only retransmits the finite data with errors, and combines the bit streams into frames. In addition to the data to be transmitted, each frame includes a check code to enable the receiver to discover errors in the transmission. Once the frame synchronization error is determined, the retransmission method is used to correct, that is, the sender can only consider that the frame has been correctly transmitted after receiving the feedback signal that the receiver has correctly received, otherwise it needs to be resent. In addition, the burst noise of the physical layer may cause the entire data frame or feedback information frame to be lost, which will cause the sender to never receive the feedback information sent by the receiver, thereby stalling the transmission process.
为了避免出现这种情况,引入计时器来限定接收方发回反馈信息的时间间隔,当发送方发送一帧的同时启动计时器,若在限定时间间隔内未能收到接收方的反馈信息,即计时器超时,则认为传的帧已出错或丢失,需要重新发送。由于同一帧数据可能被重复发送多次,就可能引起接收方多次收到同一帧并将其递交给网络层的危险。为了防止发生这种危险,对发送的每帧赋予一个序号,从而使接收方能从该序号来区分是新发送来的帧,还是已经接收但又重新发送来的帧,以此来确定要不要将接收到的帧递交给网络层。In order to avoid this situation, a timer is introduced to limit the time interval for the receiver to send back feedback information. When the sender sends a frame, the timer is started. If the receiver does not receive the feedback information within the limited time interval, That is, if the timer expires, the transmitted frame is considered to be in error or lost and needs to be resent. Since the same frame data may be repeatedly transmitted multiple times, it may cause the receiver to receive the same frame multiple times and hand it over to the network layer. In order to prevent this danger, a sequence number is assigned to each frame sent, so that the receiver can distinguish whether it is a newly transmitted frame or a frame that has been received but retransmitted from the sequence number. The received frame is delivered to the network layer.
以GSM(Global System for Mobile Communications,全球移动通讯系统)网络为例,MS(Mobile Station,移动台)的呼叫和挂断在无线接口包含数据链路层的建立和释放过程。SABM(Set Asynchronous Balanced Mode,置异步平衡模式)帧发送和UA(Unnumbered Acknowledgement,无序确认)帧响应表明MS和BTS(Base Transceiver Station,基站)在数据链路层建链,DISC(DISConnect,断开连接)帧发送和UA帧响应表明MS和BTS在数据链路层的释放,建立和释放的中间保持过程实际是分段/ 不分段的I(Information,信息帧)帧或UI(Unnumbered Information,无序信息)帧的发送。Taking the GSM (Global System for Mobile Communications) network as an example, the call and hang up of the MS (Mobile Station) includes the establishment and release process of the data link layer on the radio interface. The Frame Response and the UA (Unnumbered Acknowledgement) frame response of the SABM (Set Asynchronous Balanced Mode) indicate that the MS and the BTS (Base Transceiver Station) are chained at the data link layer, DISC (DISConnect, broken) Open connection) Frame transmission and UA frame response indicate that the MS and BTS are released at the data link layer, and the intermediate hold process of establishment and release is actually segmentation/ The transmission of an I (Information, Information Frame) frame or a UI (Unnumbered Information) frame that is not segmented.
现有的数据链路层数据传输机制虽然保证数据无差错传输,但是由于城市快速发展,大量密集的高层建筑和道路隧道不断增多,需要通过分布式系统完成覆盖,无线环境更加复杂,这样导致无线口数据传输中这种多帧操作信息传递丢失或窜扰发生的机会同步升高,系统异常掉话增多不可避免,比如SAMB帧、DISC帧或者I帧发送后设置定时器,等到定时器超时后仍没有收到相应的响应帧,则重新发送SAMB帧、DISC帧或者I帧,最多可重发N200次,超过N200次终结业务;或者I帧发送后收到响应帧序号错误,则终结业务。因此,基于现有的数据链路层数据传输机制,系统容错能力较差,用户使用感受度较差,掉话率较高。Although the existing data link layer data transmission mechanism ensures data-free error transmission, due to the rapid development of the city, a large number of dense high-rise buildings and road tunnels are increasing, and coverage needs to be completed through a distributed system, and the wireless environment is more complicated, thus resulting in wireless In the data transmission of the port, the chances of loss or interference of multi-frame operation information are increased synchronously, and the abnormal call drop of the system is inevitable. For example, the SAMB frame, the DISC frame or the I frame is sent after the timer is set, and wait until the timer expires. If the corresponding response frame is not received, the SAMB frame, the DISC frame, or the I frame is resent, and the maximum retransmission is N200 times, which exceeds N200 times of terminating the service; or when the I frame receives the response frame sequence number error, the service is terminated. Therefore, based on the existing data link layer data transmission mechanism, the system has poor fault tolerance, and the user experience is poor, and the call drop rate is high.
针对相关技术中数据链路层数据传输机制的性能较差的问题,目前尚未提出有效的解决方案。In view of the poor performance of the data link layer data transmission mechanism in the related art, an effective solution has not been proposed yet.
发明内容Summary of the invention
本发明实施例提供了一种业务处理方法及装置,以至少解决相关技术中数据链路层数据传输机制的性能较差的问题。The embodiment of the invention provides a service processing method and device, so as to at least solve the problem that the performance of the data link layer data transmission mechanism in the related art is poor.
根据本发明的一个方面,本发明实施例提供了一种业务处理方法,其中,该方法包括:确定帧最大重发次数和帧序号错误容错次数;在每个帧的发送过程中,记录该帧的重发次数和序号错误次数;基于重发次数和帧最大重发次数的比较结果,或者序号错误次数和帧序号错误容错次数的比较结果,确定重发该帧或者中断业务。According to an aspect of the present invention, an embodiment of the present invention provides a service processing method, where the method includes: determining a maximum number of retransmissions of a frame and a number of error tolerances of a frame serial number; and recording the frame during transmission of each frame. The number of retransmissions and the number of errors in the sequence number; based on the comparison result of the number of retransmissions and the maximum number of retransmissions of the frame, or the comparison result of the number of error numbers and the number of error tolerances of the frame number, it is determined that the frame is retransmitted or the service is interrupted.
优选地,确定帧最大重发次数和帧序号错误容错次数包括:设置数据链路层配置开关;在数据链路层配置开关打开时,设置帧最大重发次数和帧序号错误容错次数;在数据链路层配置开关关闭时,将帧最大重发次数和帧序号错误容错次数的值,确定为通讯协议中规定的值。Preferably, determining the maximum number of retransmissions of the frame and the number of error tolerances of the frame serial number includes: setting a data link layer configuration switch; setting a maximum number of retransmissions of the frame and a number of error tolerances of the frame serial number when the data link layer configuration switch is turned on; When the link layer configuration switch is turned off, the value of the maximum number of retransmissions of the frame and the number of error tolerances of the frame number is determined as the value specified in the communication protocol.
优选地,基于重发次数和帧最大重发次数的比较结果,或者序号错误次数和帧序号错误容错次数的比较结果,确定重发该帧或者中断业务,包括:在每个帧的发送过程中,如果未收到确认帧,则比较重发次数和帧最大重发次数,如果重发次数<帧最大重发次数,则重发该帧,否则中断业务;在每个帧的发送过程中,如果序列号错误,则比较序号错误次数和帧序号错误容错次数,如果序号错误次数<帧序号错误容错次数,则重发该帧,否则中断业务。 Preferably, based on the comparison result of the number of retransmissions and the maximum number of retransmissions of the frame, or the comparison result of the number of error numbers and the number of error tolerances of the frame number, determining whether to resend the frame or interrupting the service, including: during the transmission of each frame If the acknowledgment frame is not received, compare the number of retransmissions and the maximum number of retransmissions of the frame. If the number of retransmissions < the maximum number of retransmissions of the frame, resend the frame, otherwise the service is interrupted; during the transmission of each frame, If the serial number is wrong, the sequence number error number and the frame number error tolerance number are compared. If the sequence number error number < frame number error tolerance number, the frame is retransmitted, otherwise the service is interrupted.
优选地,方法的应用范围为站点级别、小区级别、或者载频级别。Preferably, the application range of the method is a site level, a cell level, or a carrier frequency level.
根据本发明的另一方面,本发明实施例还提供了一种业务处理装置,其中,该装置包括:数值确定模块,设置为确定帧最大重发次数和帧序号错误容错次数;次数记录模块,设置为在每个帧的发送过程中,记录该帧的重发次数和序号错误次数;业务处理模块,设置为基于重发次数和帧最大重发次数的比较结果,或者序号错误次数和帧序号错误容错次数的比较结果,确定重发该帧或者中断业务。According to another aspect of the present invention, an embodiment of the present invention further provides a service processing apparatus, where the apparatus includes: a value determining module, configured to determine a maximum number of retransmissions of a frame and a number of error tolerances of a frame serial number; It is set to record the number of retransmissions and the number of sequence errors of the frame during the transmission process of each frame; the service processing module is set to a comparison result based on the number of retransmissions and the maximum number of retransmissions of the frame, or the number of sequence errors and the frame number The result of the comparison of the number of error tolerances determines whether to resend the frame or interrupt the service.
优选地,数值确定模块包括:开关设置单元,设置为设置数据链路层配置开关;第一设置单元,设置为在数据链路层配置开关打开时,设置帧最大重发次数和帧序号错误容错次数;第二设置单元,设置为在数据链路层配置开关关闭时,将帧最大重发次数和帧序号错误容错次数的值,确定为通讯协议中规定的值。Preferably, the value determining module comprises: a switch setting unit configured to set a data link layer configuration switch; and a first setting unit configured to set a frame maximum retransmission number and a frame serial number error tolerance when the data link layer configuration switch is turned on The second setting unit is configured to determine the value of the maximum number of retransmissions of the frame and the number of error tolerances of the frame serial number when the data link layer configuration switch is turned off, as the value specified in the communication protocol.
优选地,业务处理模块包括:重发处理单元,设置为在每个帧的发送过程中,如果未收到确认帧,则比较重发次数和帧最大重发次数,如果重发次数<帧最大重发次数,则重发该帧,否则中断业务;容错处理单元,设置为在每个帧的发送过程中,如果序列号错误,则比较序号错误次数和帧序号错误容错次数,如果序号错误次数<帧序号错误容错次数,则重发该帧,否则中断业务。Preferably, the service processing module includes: a retransmission processing unit, configured to compare the number of retransmissions and the maximum number of retransmissions of the frame if the number of retransmissions is the largest in the transmission process of each frame, if the acknowledgement frame is not received, If the number of retransmissions is repeated, the frame is retransmitted, otherwise the service is interrupted; the fault-tolerant processing unit is set to compare the sequence number error number and the frame number error tolerance number if the sequence number is incorrect during the transmission of each frame, if the sequence number is incorrect <If the frame number is incorrectly fault tolerant, the frame will be resent, otherwise the service will be interrupted.
优选地,上述装置的应用范围为站点级别、小区级别、或者载频级别。Preferably, the application range of the above device is a site level, a cell level, or a carrier frequency level.
本发明有益效果如下:The beneficial effects of the present invention are as follows:
通过本发明,解决了相关技术中数据链路层数据传输机制的性能较差的问题,降低了系统掉话率,提高了MS切换成功率,提升了数据链路层的数据传输性能,增强了系统的容错能力,提升了用户使用感受良好度。The invention solves the problem that the performance of the data link layer data transmission mechanism in the related art is poor, reduces the system call drop rate, improves the MS handover success rate, improves the data transmission performance of the data link layer, and enhances the performance. The fault tolerance of the system improves the user's feeling of use.
上述说明仅是本发明技术方案的概述,为了能够更清楚了解本发明的技术手段,而可依照说明书的内容予以实施,并且为了让本发明的上述和其它目的、特征和优点能够更明显易懂,以下特举本发明的具体实施方式。The above description is only an overview of the technical solutions of the present invention, and the above-described and other objects, features and advantages of the present invention can be more clearly understood. Specific embodiments of the invention are set forth below.
附图说明DRAWINGS
图1是根据本发明实施例的业务处理方法的流程图;1 is a flowchart of a service processing method according to an embodiment of the present invention;
图2是根据本发明实施例的操作系统示意图;2 is a schematic diagram of an operating system according to an embodiment of the present invention;
图3是根据本发明实施例的RC和EC统计示意图; 3 is a schematic diagram of RC and EC statistics according to an embodiment of the present invention;
图4是根据本发明实施例一的数据链路层的业务处理示意图;4 is a schematic diagram of service processing of a data link layer according to Embodiment 1 of the present invention;
图5是根据本发明实施例二的数据链路层的业务处理示意图;FIG. 5 is a schematic diagram of service processing of a data link layer according to Embodiment 2 of the present invention; FIG.
图6是根据本发明实施例三的数据链路层的业务处理示意图;6 is a schematic diagram of service processing of a data link layer according to Embodiment 3 of the present invention;
图7是根据本发明实施例的业务处理装置的结构框图。FIG. 7 is a structural block diagram of a service processing apparatus according to an embodiment of the present invention.
具体实施方式detailed description
为了解决现有技术中数据链路层数据传输机制的性能较差的问题,本发明提供了一种业务处理方法及装置,以下结合附图以及实施例,对本发明进行进一步详细说明。应当理解,此处所描述的具体实施例仅仅用以解释本发明,并不限定本发明。In order to solve the problem of poor performance of the data link layer data transmission mechanism in the prior art, the present invention provides a service processing method and apparatus. The present invention will be further described in detail below with reference to the accompanying drawings and embodiments. It is understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
本实施例提供了一种业务处理方法,该方法可以在数据链路层实现,图1是根据本发明实施例的业务处理方法的流程图,如图1所示,该方法包括以下步骤(步骤S102-步骤S106):This embodiment provides a service processing method, which can be implemented in a data link layer. FIG. 1 is a flowchart of a service processing method according to an embodiment of the present invention. As shown in FIG. 1, the method includes the following steps (steps). S102-Step S106):
步骤S102,确定帧最大重发次数和帧序号错误容错次数。Step S102, determining the maximum number of retransmissions of the frame and the number of error tolerances of the frame serial number.
在该步骤中,帧最大重发次数和帧序号错误容错次数的数值可以根据实际操作情况自行设置,也可以设置为通讯协议中规定的值,基于此,本实施例提供了一种优选实施方式,即:设置数据链路层配置开关;在数据链路层配置开关打开时,设置帧最大重发次数和帧序号错误容错次数;在数据链路层配置开关关闭时,将帧最大重发次数和帧序号错误容错次数的值,确定为通讯协议中规定的值。In this step, the value of the maximum number of retransmissions of the frame and the number of error tolerances of the frame number may be set according to the actual operation, or may be set to a value specified in the communication protocol. Based on this, the embodiment provides a preferred embodiment. , that is, set the data link layer configuration switch; set the maximum number of retransmissions of the frame and the number of error tolerances of the frame serial number when the data link layer configuration switch is turned on; and the maximum number of retransmissions of the frame when the data link layer configuration switch is turned off And the value of the frame number error tolerance number is determined as the value specified in the communication protocol.
一般情况下,将帧最大重发次数和帧序号错误容错次数的数值设置为高于通讯协议中规定的值。这样重发帧机会增多,收到响应帧或者序列号正确帧的机会同步增多,从而使得业务中断的概率降低,系统掉话率降低。In general, the value of the maximum number of retransmissions of the frame and the number of error tolerances of the frame number is set to be higher than the value specified in the communication protocol. In this way, the chances of resending the frame increase, and the chances of receiving the response frame or the sequence number of the correct frame are increased synchronously, so that the probability of service interruption is reduced, and the system call drop rate is reduced.
步骤S104,在每个帧的发送过程中,记录该帧的重发次数和序号错误次数。Step S104, in the process of transmitting each frame, record the number of retransmissions and the number of sequence errors of the frame.
步骤S106,基于重发次数和帧最大重发次数的比较结果,或者序号错误次数和帧序号错误容错次数的比较结果,确定重发该帧或者中断业务。Step S106, determining whether to resend the frame or interrupt the service based on a comparison result of the number of retransmissions and the maximum number of retransmissions of the frame, or a comparison result of the number of error numbers and the number of error tolerances of the frame number.
在该步骤中,在帧发送不顺利时,基于不同原因,进行不同的数值比较,具体地: In this step, when the frame transmission is not smooth, different numerical comparisons are performed based on different reasons, specifically:
在每个帧的发送过程中,如果未收到确认帧,则比较重发次数和帧最大重发次数,如果重发次数<帧最大重发次数,则重发该帧,否则中断业务;在中断业务时,可以上报原因值为定时器超时的错误报告。During the transmission of each frame, if the acknowledgment frame is not received, the number of retransmissions and the maximum number of retransmissions of the frame are compared. If the number of retransmissions < the maximum number of retransmissions of the frame, the frame is retransmitted, otherwise the service is interrupted; When the service is interrupted, the error report that the cause value is the timer timeout can be reported.
在每个帧的发送过程中,如果序列号错误,则比较序号错误次数和帧序号错误容错次数,如果序号错误次数<帧序号错误容错次数,则重发该帧,否则中断业务;在中断业务时,可以上报原因值为序列号错误的错误报告。In the process of sending each frame, if the serial number is wrong, the serial number error number and the frame serial number error tolerance number are compared. If the serial number error number < frame number error tolerance number, the frame is retransmitted, otherwise the service is interrupted; When the reason value is reported, the error value of the serial number error can be reported.
优选地,本实施例的应用范围可以为站点级别、小区级别、或者载频级别。Preferably, the application range of this embodiment may be a site level, a cell level, or a carrier frequency level.
通过本实施例,解决了相关技术中数据链路层数据传输机制的性能较差的问题,降低了系统掉话率,提高了MS切换成功率,提升了数据链路层的数据传输性能,增强了系统的容错能力,提升了用户使用感受良好度。With the embodiment, the problem of poor performance of the data link layer data transmission mechanism in the related art is solved, the system call drop rate is reduced, the MS handover success rate is improved, and the data transmission performance of the data link layer is improved. The fault tolerance of the system improves the user's feeling of use.
本发明的技术方案在保证数据链路层数据传输无差错的基础上降低系统掉话率,提升网络性能,增加用户感受良好度,其具体步骤如下:The technical solution of the invention reduces the system call drop rate, improves the network performance and increases the user's feeling goodness on the basis of ensuring the data link layer data transmission error-free, and the specific steps are as follows:
第一步:通过后台设置数据链路层配置开关,以及帧最大重发次数和帧序号错误容错次数。Step 1: Set the data link layer configuration switch through the background, and the maximum number of retransmissions and the number of error tolerances of the frame number.
第二步:如果数据链路层配置开关打开,则将配置下发的帧最大重发次数缓存,记为N,帧序号错误容错次数缓存,记为M。如果后台设置数据链路层配置开关关闭,N和M为相关通讯协议规定的值。Step 2: If the data link layer configuration switch is enabled, the maximum number of retransmissions of the delivered frame will be cached, denoted as N, and the frame serial number error tolerance cache will be recorded as M. If the background data link layer configuration switch is turned off, N and M are the values specified by the relevant communication protocol.
第三步:业务发起时,每帧发送的同时设置定时器,确定在设定的时间间隔内收到相应的确认帧,并判断确认帧序号正确,否则重发该帧,并且记录该帧的重发次数RC和序号错误次数EC。Step 3: When the service is initiated, a timer is set at the same time as each frame is sent, and it is determined that the corresponding confirmation frame is received within the set time interval, and the confirmation frame number is correct, otherwise the frame is retransmitted, and the frame is recorded. The number of retransmissions RC and the number of retransmission errors EC.
第四步:如果是因为没有收到确认帧,满足RC<N即可重发该帧,否则上报原因值为定时器超时的错误报告,从而中断业务。如果是序列号错误,满足EC<M即可重发该帧,否则上报原因值为序列号错误的错误报告,从而中断业务。Step 4: If the acknowledgment frame is not received, the frame can be resent if RC<N is satisfied, otherwise the cause value is reported as an error report of the timer timeout, thereby interrupting the service. If the serial number is wrong, the frame can be resent if EC<M is satisfied, otherwise the cause value is reported as an error report with the serial number error, thereby interrupting the service.
在该方法中,数据链路层配置开关以及帧最大重发次数和帧序号错误容错次数的应用,不限于是站点级别的,可以是小区或者载频级别的。In this method, the application of the data link layer configuration switch and the maximum number of retransmissions of the frame and the number of error tolerances of the frame number are not limited to the site level, and may be cell or carrier frequency.
进一步的,该方法不仅对BTS试用,同样对MS试用。Further, the method is not only for the BTS trial, but also for the MS trial.
进一步的,后台配置帧最大重发次数和帧序号错误容错次数,也适应于GPRS(General Packet Radio Service,通用无线分组业务)等其他通讯系统。 Further, the maximum number of retransmissions of the background configuration frame and the number of error tolerances of the frame serial number are also applicable to other communication systems such as GPRS (General Packet Radio Service).
在通常情况下,后台采用配置的数据链路层帧最大重发次数和帧序号错误容错次数,比协议中定义的值大,依据第四步可知,这样重发帧机会增多,收到响应帧或者序列号正确帧的机会同步增多,业务中断的概率降低了,即系统掉话率降低。Under normal circumstances, the background uses the configured data link layer frame maximum retransmission times and frame serial number error tolerance times, which is larger than the value defined in the protocol. According to the fourth step, the retransmission frame opportunity increases, and the response frame is received. Or the chance of the correct frame number is increased synchronously, and the probability of service interruption is reduced, that is, the system call drop rate is reduced.
下面通过优选实施例和附图,对本发明的技术方案进行介绍。The technical solution of the present invention will be described below by way of preferred embodiments and the accompanying drawings.
本实施例以GSM通讯系统的BTS为例,对数据链路层的性能提升方法进行介绍。图2是根据本发明实施例的操作系统示意图,如图2所示,首先在后台将数据链路层配置开关打开,并设置帧最大重发次数和帧序号错误容错次数。下发配置到BTS,分别将帧最大重发次数和帧序号错误容错次数保存至N和M中。GSM相关协议(3GPP TS 44.006)规定N为N200(不同信道类型N200值不同,例如对于SACCH信道N200为5,SDCCH信道N200为23等),M为0。本实施例中,将N和M配置为N200+3和3。业务发起后,BTS和MS的数据链路层有大量的多帧操作传输数据,BTS的数据链路层统计每帧重发次数RC和帧序号错误次数EC,对于多个业务建立多个实例的,每个实例有自己的RC和EC统计,如图3所示的RC和EC统计示意图,以电话业务为例,在只有一个电话业务时,针对该电话业务记录RC[0]和EC[0],在有多个电话业务时,依次可记录RC[1]和EC[1]、RC[2]和EC[2]……RC[n]和EC[n]。In this embodiment, the BTS of the GSM communication system is taken as an example to introduce a method for improving the performance of the data link layer. 2 is a schematic diagram of an operating system according to an embodiment of the present invention. As shown in FIG. 2, the data link layer configuration switch is first turned on in the background, and the maximum number of retransmissions of the frame and the number of error tolerances of the frame serial number are set. The configuration is delivered to the BTS, and the maximum number of retransmissions of the frame and the number of error tolerances of the frame number are saved to N and M, respectively. The GSM-related protocol (3GPP TS 44.006) specifies that N is N200 (different channel types N200 values are different, for example, 5 for SACCH channel N200, 23 for SDCCH channel N200, etc.), and M is 0. In this embodiment, N and M are configured as N200+3 and 3. After the service is initiated, the data link layer of the BTS and the MS has a large number of multi-frame operation transmission data, and the data link layer of the BTS counts the number of retransmissions per frame RC and the number of frames sequence error EC, and establishes multiple instances for multiple services. Each instance has its own RC and EC statistics, as shown in Figure 3 for the RC and EC statistics diagrams. Taking the telephone service as an example, when there is only one telephone service, RC[0] and EC[0 are recorded for the telephone service. ], when there are multiple telephone services, RC[1] and EC[1], RC[2], and EC[2]...RC[n] and EC[n] can be recorded in sequence.
一次业务通过SAMB帧的发送和UA的响应确认数据链路层建链,图4是根据本发明实施例一的数据链路层的业务处理示意图,如图4所示,类标改变、加密模式、加密完成等信息在数据链路层通过I帧传送至对端。以加密为例,加密模式发送前其RC和EC均为0,参数N(S)=0和N(R)=1为该帧携带的序列号,即校验码。加密模式发送后V(S)=1,V(R)=1,V(A)=0用于校验下个接收到的I帧或者RR帧序列号是否正确,具体为满足(N(R)-V(A))mod 8<=(V(S)-V(A))mod 8表示帧序号正确,信息传输正确。图4中加密完成即是信息帧也是对加密模式的确认帧,加密完成携带序列号N(S)=1和N(R)=1,满足(N(R)-V(A))mod 8<=(V(S)-V(A))mod 8,具体如下:The service of the data link layer is confirmed by the transmission of the SAMB frame and the response of the UA. Figure 4 is a schematic diagram of the service processing of the data link layer according to the first embodiment of the present invention. As shown in Figure 4, the class label changes and the encryption mode. Information such as encryption completion is transmitted to the opposite end through the I frame at the data link layer. Taking encryption as an example, the RC and EC are both 0 before the encryption mode is transmitted, and the parameters N(S)=0 and N(R)=1 are the sequence numbers carried by the frame, that is, the check code. After the encryption mode is sent, V(S)=1, V(R)=1, and V(A)=0 is used to check whether the next received I frame or RR frame sequence number is correct, specifically satisfying (N(R). ) -V(A)) mod 8<=(V(S)-V(A)) mod 8 indicates that the frame number is correct and the information is transmitted correctly. In FIG. 4, the encryption is completed, that is, the information frame is also an acknowledgement frame for the encryption mode, and the encryption completion carries the sequence numbers N(S)=1 and N(R)=1, satisfying (N(R)-V(A)) mod 8 <=(V(S)-V(A)) mod 8, as follows:
(N(R)-V(A))mod 8<=(V(S)-V(A))mod 8(N(R)-V(A)) mod 8<=(V(S)-V(A)) mod 8
(1-0)mod 8<=(1-0)mod 8(1-0) mod 8<=(1-0)mod 8
1<=11<=1
1<=1成立,即帧号序列号正确,RC和EC保持为0。1<=1 is established, that is, the frame number serial number is correct, and RC and EC remain at 0.
继续下发下一帧内容,即TMSI再分配。 Continue to deliver the next frame of content, that is, TMSI redistribution.
同样的,图5是根据本发明实施例二的数据链路层的业务处理示意图,如图5所示,如果加密模式发送后,收到一个错误帧,参数为N(S)=0和N(R)=3,不满足(N(R)-V(A))mod 8<=(V(S)-V(A))mod 8,具体如下:Similarly, FIG. 5 is a schematic diagram of service processing of the data link layer according to Embodiment 2 of the present invention. As shown in FIG. 5, if an error frame is received after the encryption mode is sent, the parameters are N(S)=0 and N. (R)=3, which does not satisfy (N(R)-V(A)) mod 8<=(V(S)-V(A)) mod 8, as follows:
(N(R)-V(A))mod 8<=(V(S)-V(A))mod 8(N(R)-V(A)) mod 8<=(V(S)-V(A)) mod 8
(3-0)mod 8<=(1-0)mod 8(3-0) mod 8<=(1-0)mod 8
3<=13<=1
3<=1不成立,即帧号不正确。首先判断EC<M是否成立,即0<3成立,满足帧重发条件,重新发送加密模式帧,参数N(S)=0,N(R)=1,V(S)=1,V(R)=1,V(A)=0保持不变,本实施例EC增加1。3<=1 does not hold, that is, the frame number is incorrect. First, it is judged whether EC<M is established, that is, 0<3 is established, the frame retransmission condition is satisfied, and the encryption mode frame is retransmitted, and the parameters N(S)=0, N(R)=1, V(S)=1, V( R) = 1, V(A) = 0 remains unchanged, and EC is increased by 1 in this embodiment.
MS给BTS发送加密完成I帧捎带确认,携带的序列号为N(S)=1和N(R)=1,校验序列号,即:The MS sends an encryption to the BTS to complete the I frame piggyback confirmation. The carried sequence numbers are N(S)=1 and N(R)=1, and the check sequence number is:
(N(R)-V(A))mod 8<=(V(S)-V(A))mod 8(N(R)-V(A)) mod 8<=(V(S)-V(A)) mod 8
(1-0)mod 8<=(1-0)mod 8(1-0) mod 8<=(1-0)mod 8
1<=11<=1
1<=1成立,帧号序列号正确,EC清为0。1<=1 is established, the frame number serial number is correct, and the EC is cleared to 0.
继续下发下一帧内容,即TMSI再分配。Continue to deliver the next frame of content, that is, TMSI redistribution.
在本实施例中,如果采用现有的数据链路层数据传输机制,当收到错误帧时校验其序列号错误,则立即上报原因值为序列号错误的错误报告,从而立即中断业务,而采用本实施例提供的方法,当收到错误帧时可重新发送加密模式,之后收到到正确的I帧,业务继续下去,MS保持通话态。In this embodiment, if the existing data link layer data transmission mechanism is adopted, when the error frame is verified and the serial number is incorrect, the cause value is immediately reported as an error report of the serial number error, thereby immediately interrupting the service. With the method provided in this embodiment, when the error frame is received, the encryption mode can be resent, and then the correct I frame is received, the service continues, and the MS maintains the call state.
同样的,图6是根据本发明实施例三的数据链路层的业务处理示意图,如图6所示,BTS加密模式发送后一直没收到MS的响应帧,等到发送该帧时设置的定时器超时后,判断RC<N,即0<N200+3,于是重新发送该帧,参数N(S)=0,N(R)=1,V(S)=1,V(R)=1,V(A)=0保持不变,RC增加变为1。Similarly, FIG. 6 is a schematic diagram of service processing of the data link layer according to Embodiment 3 of the present invention. As shown in FIG. 6, the BTS encryption mode does not receive the response frame of the MS, and waits until the timer is set when the frame is sent. After the timeout, it is judged that RC<N, that is, 0<N200+3, and then the frame is resent, the parameters N(S)=0, N(R)=1, V(S)=1, V(R)=1, V(A)=0 remains unchanged and the RC increase becomes 1.
这样重发直到RC变为N200+2,即该帧重发了N200+2次后才收到MS的响应帧。显而易见,如果采用现有的数据链路层数据传输机制,加密模式重发RC为N200时,因为仍没有收到MS的响应帧,则上报原因值为定时器超时的错误报告,从而中断业 务。如果采用本实施例提供的方法,可以继续重发加密模式,直至RC为N200+2时,收到了MS的响应,业务继续执行,MS保持通话态。This is retransmitted until the RC becomes N200+2, that is, the frame is retransmitted N200+2 times before receiving the response frame of the MS. Obviously, if the existing data link layer data transmission mechanism is adopted, when the encryption mode retransmits the RC to N200, since the response frame of the MS is still not received, the reported cause value is an error report of the timer timeout, thereby interrupting the industry. Business. If the method provided in this embodiment is used, the encryption mode can be retransmitted until the RC is N200+2, and the response of the MS is received, the service continues to be executed, and the MS maintains the call state.
在小区切换过程中如果出现上述情况,采用本实施例提供的方法,可以提高MS切换成功率,可以使用户切到一个信号良好的小区,提升用户使用感受良好度。If the above situation occurs in the cell handover process, the method provided in this embodiment can improve the MS handover success rate, and the user can cut a cell with a good signal to improve the user experience.
对应于上述实施例介绍的业务处理方法,本实施例提供了一种业务处理装置,该装置用以实现上述实施例。图7是根据本发明实施例的业务处理装置的结构框图,如图7所示,该装置包括:数值确定模块10、次数记录模块20和业务处理模块30。下面对该结构进行详细介绍。Corresponding to the service processing method introduced in the foregoing embodiment, this embodiment provides a service processing apparatus, which is used to implement the foregoing embodiment. FIG. 7 is a structural block diagram of a service processing apparatus according to an embodiment of the present invention. As shown in FIG. 7, the apparatus includes: a numerical value determining module 10, a number recording module 20, and a service processing module 30. The structure is described in detail below.
数值确定模块10,设置为确定帧最大重发次数和帧序号错误容错次数;The numerical determination module 10 is configured to determine a maximum number of retransmissions of the frame and a number of error tolerances of the frame serial number;
次数记录模块20,连接至数值确定模块10,设置为在每个帧的发送过程中,记录该帧的重发次数和序号错误次数;The number recording module 20 is connected to the numerical value determining module 10, and is configured to record the number of retransmissions and the number of serial errors of the frame during the transmission of each frame;
业务处理模块30,连接至次数记录模块20,设置为基于重发次数和帧最大重发次数的比较结果,或者序号错误次数和帧序号错误容错次数的比较结果,确定重发该帧或者中断业务。The service processing module 30 is connected to the number-of-times recording module 20, and is configured to determine the retransmission of the frame or the interrupt service based on the comparison result of the number of retransmissions and the maximum number of retransmissions of the frame, or the comparison result of the number of error numbers and the number of error tolerances of the frame number. .
在本实施例中,上述数值确定模块10包括:开关设置单元,设置为设置数据链路层配置开关;第一设置单元,设置为在数据链路层配置开关打开时,设置帧最大重发次数和帧序号错误容错次数;第二设置单元,设置为在数据链路层配置开关关闭时,将帧最大重发次数和帧序号错误容错次数的值,确定为通讯协议中规定的值。In this embodiment, the numerical value determining module 10 includes: a switch setting unit configured to set a data link layer configuration switch; and a first setting unit configured to set a maximum number of retransmissions of the frame when the data link layer configuration switch is turned on And the frame number error tolerance number; the second setting unit is configured to determine the value of the maximum number of retransmissions of the frame and the number of error tolerances of the frame number when the data link layer configuration switch is turned off, as the value specified in the communication protocol.
上述业务处理模块30包括:重发处理单元,设置为在每个帧的发送过程中,如果未收到确认帧,则比较重发次数和帧最大重发次数,如果重发次数<帧最大重发次数,则重发该帧,否则中断业务;容错处理单元,设置为在每个帧的发送过程中,如果序列号错误,则比较序号错误次数和帧序号错误容错次数,如果序号错误次数<帧序号错误容错次数,则重发该帧,否则中断业务。The service processing module 30 includes: a retransmission processing unit configured to compare the number of retransmissions and the maximum number of retransmissions of the frame if the number of retransmissions is greater than the maximum number of retransmissions in the transmission process of each frame. If the number of times is sent, the frame is resent, otherwise the service is interrupted; the fault-tolerant processing unit is set to compare the sequence number error number and the frame number error tolerance number if the serial number is wrong during the transmission of each frame, if the sequence number error number < If the frame sequence number is incorrectly fault tolerant, the frame is retransmitted, otherwise the service is interrupted.
本实施例中,上述装置的应用范围为站点级别、小区级别、或者载频级别。In this embodiment, the application range of the foregoing device is a site level, a cell level, or a carrier frequency level.
从以上的描述可知,通过本发明技术方案,调整了帧最大重发次数和帧序号错误容错次数,使得重发帧机会增多,收到响应帧或者序列号正确帧的机会同步增多,使得业务中断的概率降低,系统掉话率降低,从而提升了系统性能,提升了用户使用感受良好度。 It can be seen from the above description that, by the technical solution of the present invention, the maximum number of retransmissions of the frame and the number of error tolerances of the frame serial number are adjusted, so that the chances of resending the frame are increased, and the chances of receiving the response frame or the correct frame number are increased synchronously, so that the service is interrupted. The probability of the system is reduced, and the system call drop rate is lowered, thereby improving the system performance and improving the user's feeling of use.
尽管为示例目的,已经公开了本发明的优选实施例,本领域的技术人员将意识到各种改进、增加和取代也是可能的,因此,本发明的范围应当不限于上述实施例。While the preferred embodiments of the present invention have been disclosed for purposes of illustration, those skilled in the art will recognize that various modifications, additions and substitutions are possible, and the scope of the invention should not be limited to the embodiments described above.
工业实用性Industrial applicability
如上所述,本发明实施例提供的一种业务处理方法及装置具有以下有益效果:通过调整帧最大重发次数和帧序号错误容错次数,从而使得重发帧机会增多,接收到响应帧或者序列号正确帧的机会同步增多,从而使得业务中断的概率降低,系统掉话率降低,进而提升了系统性能以及用户体验。 As described above, the service processing method and apparatus provided by the embodiments of the present invention have the following beneficial effects: by adjusting the maximum number of retransmissions of the frame and the number of error tolerances of the frame serial number, the retransmission frame opportunity is increased, and the response frame or sequence is received. The chance of correct frame synchronization increases, which reduces the probability of service interruption and reduces the system call drop rate, which improves system performance and user experience.

Claims (8)

  1. 一种业务处理方法,所述方法包括:A business processing method, the method comprising:
    确定帧最大重发次数和帧序号错误容错次数;Determining the maximum number of retransmissions of the frame and the number of error tolerances of the frame number;
    在每个帧的发送过程中,记录该帧的重发次数和序号错误次数;During the transmission of each frame, the number of retransmissions and the number of sequence errors of the frame are recorded;
    基于所述重发次数和所述帧最大重发次数的比较结果,或者所述序号错误次数和所述帧序号错误容错次数的比较结果,确定重发该帧或者中断业务。And determining, according to the comparison result of the number of retransmissions and the maximum number of retransmissions of the frame, or the comparison result of the number of error numbers and the number of error tolerances of the frame number, determining to resend the frame or interrupt the service.
  2. 如权利要求1所述的方法,其中,确定帧最大重发次数和帧序号错误容错次数包括:The method of claim 1, wherein determining the maximum number of retransmissions of the frame and the number of error tolerances of the frame serial number comprises:
    设置数据链路层配置开关;Set the data link layer configuration switch;
    在所述数据链路层配置开关打开时,设置所述帧最大重发次数和所述帧序号错误容错次数;When the data link layer configuration switch is turned on, setting a maximum number of retransmissions of the frame and a number of error tolerances of the frame serial number;
    在所述数据链路层配置开关关闭时,将所述帧最大重发次数和所述帧序号错误容错次数的值,确定为通讯协议中规定的值。When the data link layer configuration switch is turned off, the value of the maximum number of retransmissions of the frame and the number of error tolerances of the frame serial number is determined as a value specified in the communication protocol.
  3. 如权利要求1所述的方法,其中,基于所述重发次数和所述帧最大重发次数的比较结果,或者所述序号错误次数和所述帧序号错误容错次数的比较结果,确定重发该帧或者中断业务,包括:The method according to claim 1, wherein the retransmission is determined based on a comparison result of the number of retransmissions and the maximum number of retransmissions of the frame, or a comparison result of the number of error numbers and the number of error tolerances of the frame number The frame or interrupt service, including:
    在每个帧的发送过程中,如果未收到确认帧,则比较所述重发次数和所述帧最大重发次数,如果重发次数<帧最大重发次数,则重发该帧,否则中断业务;During the transmission of each frame, if the acknowledgment frame is not received, the number of retransmissions and the maximum number of retransmissions of the frame are compared. If the number of retransmissions < the maximum number of retransmissions of the frame, the frame is retransmitted, otherwise Interrupt business;
    在每个帧的发送过程中,如果序列号错误,则比较所述序号错误次数和所述帧序号错误容错次数,如果序号错误次数<帧序号错误容错次数,则重发该帧,否则中断业务。During the transmission of each frame, if the serial number is wrong, the number of the serial number error and the number of error tolerances of the frame serial number are compared. If the serial number error number < frame number error tolerance number, the frame is retransmitted, otherwise the service is interrupted. .
  4. 如权利要求1至3中任一项所述的方法,其中,所述方法的应用范围为站点级别、小区级别、或者载频级别。The method according to any of claims 1 to 3, wherein the application range of the method is a site level, a cell level, or a carrier frequency level.
  5. 一种业务处理装置,所述装置包括:A service processing device, the device comprising:
    数值确定模块,设置为确定帧最大重发次数和帧序号错误容错次数; a numerical determination module configured to determine a maximum number of retransmissions of the frame and a number of error tolerances of the frame serial number;
    次数记录模块,设置为在每个帧的发送过程中,记录该帧的重发次数和序号错误次数;The number recording module is configured to record the number of retransmissions and the number of sequence errors of the frame during the transmission of each frame;
    业务处理模块,设置为基于所述重发次数和所述帧最大重发次数的比较结果,或者所述序号错误次数和所述帧序号错误容错次数的比较结果,确定重发该帧或者中断业务。The service processing module is configured to determine to resend the frame or interrupt the service based on a comparison result of the number of retransmissions and the maximum number of retransmissions of the frame, or a comparison result of the number of error numbers and the number of error tolerances of the frame sequence number .
  6. 如权利要求5所述的装置,其中,所述数值确定模块包括:The apparatus of claim 5 wherein said numerical value determining module comprises:
    开关设置单元,设置为设置数据链路层配置开关;a switch setting unit configured to set a data link layer configuration switch;
    第一设置单元,设置为在所述数据链路层配置开关打开时,设置所述帧最大重发次数和所述帧序号错误容错次数;a first setting unit, configured to set a maximum number of retransmissions of the frame and a number of error tolerances of the frame serial number when the data link layer configuration switch is turned on;
    第二设置单元,设置为在所述数据链路层配置开关关闭时,将所述帧最大重发次数和所述帧序号错误容错次数的值,确定为通讯协议中规定的值。The second setting unit is configured to determine, when the data link layer configuration switch is turned off, a value of the maximum number of retransmissions of the frame and the number of error tolerances of the frame serial number as a value specified in a communication protocol.
  7. 如权利要求5所述的装置,其中,所述业务处理模块包括:The apparatus of claim 5 wherein said service processing module comprises:
    重发处理单元,设置为在每个帧的发送过程中,如果未收到确认帧,则比较所述重发次数和所述帧最大重发次数,如果重发次数<帧最大重发次数,则重发该帧,否则中断业务;The retransmission processing unit is configured to compare the number of retransmissions and the maximum number of retransmissions of the frame if the acknowledgment frame is not received during the transmission of each frame, and if the number of retransmissions is < the maximum number of retransmissions of the frame, Then resend the frame, otherwise the service is interrupted;
    容错处理单元,设置为在每个帧的发送过程中,如果序列号错误,则比较所述序号错误次数和所述帧序号错误容错次数,如果序号错误次数<帧序号错误容错次数,则重发该帧,否则中断业务。The fault-tolerant processing unit is configured to compare the serial number error number and the frame serial number error tolerance number if the serial number is wrong during the transmission of each frame, and resend if the serial number error number < frame serial number error tolerance number The frame, otherwise interrupts the service.
  8. 如权利要求5至7中任一项所述的装置,其中,所述装置的应用范围为站点级别、小区级别、或者载频级别。 The apparatus according to any one of claims 5 to 7, wherein the application range of the apparatus is a station level, a cell level, or a carrier frequency level.
PCT/CN2014/092179 2014-07-28 2014-11-25 Service processing method and apparatus WO2016015418A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201410364387.9A CN105323035A (en) 2014-07-28 2014-07-28 Service processing method and apparatus
CN201410364387.9 2014-07-28

Publications (1)

Publication Number Publication Date
WO2016015418A1 true WO2016015418A1 (en) 2016-02-04

Family

ID=55216712

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2014/092179 WO2016015418A1 (en) 2014-07-28 2014-11-25 Service processing method and apparatus

Country Status (2)

Country Link
CN (1) CN105323035A (en)
WO (1) WO2016015418A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113193879A (en) * 2021-05-28 2021-07-30 慧感(上海)物联网科技有限公司 Multi-interface-based explosion-proof industrial data transmission device and data transmission method thereof

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2018032934A (en) * 2016-08-23 2018-03-01 ルネサスエレクトロニクス株式会社 Communication device and retransmission control method

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102333344A (en) * 2011-10-31 2012-01-25 常熟理工学院 Adaptive error control method applied to wireless sensor network
CN102802261A (en) * 2011-05-23 2012-11-28 中兴通讯股份有限公司 Method and device for repeatedly retransmitting paging message
CN103369560A (en) * 2012-03-29 2013-10-23 中兴通讯股份有限公司 Method for obtaining GSM system abnormal call-drop data and system thereof

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103036661B (en) * 2013-01-08 2015-06-24 西安电子科技大学 Automatic retransmission request method with self-healing function

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102802261A (en) * 2011-05-23 2012-11-28 中兴通讯股份有限公司 Method and device for repeatedly retransmitting paging message
CN102333344A (en) * 2011-10-31 2012-01-25 常熟理工学院 Adaptive error control method applied to wireless sensor network
CN103369560A (en) * 2012-03-29 2013-10-23 中兴通讯股份有限公司 Method for obtaining GSM system abnormal call-drop data and system thereof

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113193879A (en) * 2021-05-28 2021-07-30 慧感(上海)物联网科技有限公司 Multi-interface-based explosion-proof industrial data transmission device and data transmission method thereof
CN113193879B (en) * 2021-05-28 2023-10-31 慧感(上海)物联网科技有限公司 Explosion-proof industrial data transmission device based on multiple interfaces and data transmission method thereof

Also Published As

Publication number Publication date
CN105323035A (en) 2016-02-10

Similar Documents

Publication Publication Date Title
US8730969B2 (en) Method of detecting and handling and endless RLC retransmission
KR100792586B1 (en) Method and apparatus for handling control PDUS during re-establishing receiving sides in a wireless communications system
US9155009B2 (en) Methods to control multiple radio access bearers in a wireless device
KR101221244B1 (en) Enhanced radio link control error handling
KR101532789B1 (en) Harq operation method for retransmitted data
EP1829297B1 (en) Retransmission in wireless communication systems
KR101579860B1 (en) Apparatus and method for reducing message interruption time of wireless communication system
CA2753192C (en) Method of receiving a point-to-multipoint service in a wireless communication system
KR101299169B1 (en) Apparatus and method for adaptive tsp setting to minimize duplicate packet transmissions
US20040203623A1 (en) Scheme to retransmit radio resource control messages during a radio link control reset in a wireless communication system
US20140133391A1 (en) System and method adopting a reliable stop-and-wait hybird automatic repeat request protocol
US10080161B2 (en) Processing data units
US7325172B2 (en) Failsafe RLC reset method for a wireless communication system
JP2003189368A (en) Mobile communication system
WO2012155619A1 (en) Method and system for processing rlc am state report
US20080056218A1 (en) Method for transmitting multi-frame handover or assignment messages
WO2016015418A1 (en) Service processing method and apparatus
US8831005B2 (en) Processing data units
CN102356588A (en) Methods and arrangements in a wireless telecommunication system
KR20100045860A (en) Method and user equipment of detecting problem of data transmission
CN114501337B (en) Method, terminal and equipment for reporting and receiving packet data convergence protocol state
KR20100060853A (en) Method and system for reporting status at radio link control protocol
KR20050075566A (en) Method for preventing deadlock of radio link control window
MXPA06009047A (en) Delayed data transmission in a wireless communication system after physical layer reconfiguration
KR20070020071A (en) Method and system for providing autonomous retransmissions in a wireless communication system

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

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

Country of ref document: EP

Kind code of ref document: A1