WO2012155684A1 - Link processing method, device and system - Google Patents

Link processing method, device and system Download PDF

Info

Publication number
WO2012155684A1
WO2012155684A1 PCT/CN2012/072953 CN2012072953W WO2012155684A1 WO 2012155684 A1 WO2012155684 A1 WO 2012155684A1 CN 2012072953 W CN2012072953 W CN 2012072953W WO 2012155684 A1 WO2012155684 A1 WO 2012155684A1
Authority
WO
WIPO (PCT)
Prior art keywords
link
physical link
current
downlink physical
detection frame
Prior art date
Application number
PCT/CN2012/072953
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 WO2012155684A1 publication Critical patent/WO2012155684A1/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/0001Systems modifying transmission characteristics according to link quality, e.g. power backoff
    • H04L1/0023Systems modifying transmission characteristics according to link quality, e.g. power backoff characterised by the signalling
    • H04L1/0026Transmission of channel quality indication
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W24/00Supervisory, monitoring or testing arrangements
    • H04W24/04Arrangements for maintaining operational condition

Definitions

  • the present invention relates to the field of communications technologies, and in particular, to a link processing method, apparatus, and system. Background technique
  • the data transmission mode of the Abis port between the base transceiver station and the base station controller of the GSM is mainly TDM (Time Division Multiplexing).
  • E E1 is used as the transmission medium, and the bandwidth of a pair of uplink and downlink E1 is 2.048 Mbps.
  • the bandwidth of a pair of uplink and downlink E1 is insufficient, and multiple pairs of transmissions need to be configured.
  • Independent uplink and downlink E1 to transmit services. A poor quality of uplink or downlink transmission of a pair of E1s will cause the transmission of the entire Abis interface link to deteriorate, thereby affecting network performance.
  • a transmission link is detected by transmitting a link detection frame.
  • the length of the link detection frame is usually short, so that the quality of the transmission link cannot be accurately detected under different error rate conditions.
  • the Abis interface uses the LAPD (Link Access Procedure of D-Channel) protocol to control the number of control planes. Since the length of the link detection frame is relatively short, the error rate is low. It is difficult to detect the deterioration of the physical link quality. For example, in the case of a bit error rate of 1%, the pass rate of 3 bytes is 78.5%, and the pass rate of 100 bytes is only 3.2%, and the pass rate of 255 bytes is passed. The rate is only 1.25%. This will result in an increase in packet loss on the LAPD link, which will result in an increase in retransmissions and may cause congestion on the link and even affect service performance. Summary of the invention
  • the embodiments of the present invention provide a link processing method, apparatus, and system, which can timely handle a faulty transmission link, avoid link transmission loss, and improve reliability of link transmission data.
  • the embodiment of the invention provides a method for link processing, including:
  • the local end acquires performance parameters of the current uplink physical link.
  • the number of bits occupied by the link state information corresponds to the number of uplink physical links from the peer end to the local end.
  • an embodiment of the present invention provides a link processing apparatus, including:
  • An obtaining module configured to acquire performance parameters of a current uplink physical link
  • a determining module configured to determine, according to the performance parameter, a link state of a current uplink physical link
  • a building module configured to set a link detection frame that carries link state information, where the number of bits occupied by the link state information Corresponds to the number of uplink physical links from the peer to the local end;
  • a sending module configured to send the link detection frame formed by the component module to the peer end by using a downlink physical link.
  • the embodiment of the present invention provides a link processing system, including: a base station controller and a base transceiver station, which are mutually opposite ends, and are used to obtain performance parameters of the current uplink physical link;
  • the performance parameter determines the link state of the current uplink physical link;
  • the link detection frame that carries the link state information is configured, and is sent to the peer end through the downlink physical link; where the number of bits occupied by the link state information and the pair The number of uplink physical links from the end to the local end corresponds.
  • the embodiment of the present invention provides a link processing method, device, and system, which are used to obtain performance parameters of a current uplink physical link, and determine a current uplink physical link chain according to the performance parameter.
  • the link detection frame that carries the link state information is sent to the peer end through the downlink physical link.
  • the number of bits occupied by the link state information is equal to the number of uplink physical links from the peer end to the local end. correspond.
  • the method, the device, and the system for the link processing provided by the embodiment of the present invention add the link state information to the link detection frame, so that the peer end knows the transmission state of the physical link in time, and performs corresponding processing to avoid continuing.
  • the use of the physical link to transmit data causes data packet loss, reduces the bandwidth occupied by retransmission, improves the stability of data transmission, and improves network performance.
  • FIG. 1 is a schematic flowchart of a link processing method according to an embodiment of the present invention.
  • FIG. 2 is a schematic diagram of a physical link between a local end and a peer end according to an embodiment of the present invention
  • FIG. 3 is a schematic structural diagram of a link detection frame according to an embodiment of the present invention.
  • FIG. 4 is a schematic flowchart of a link detection frame sent by a local end to a peer end according to an embodiment of the present invention
  • FIG. 5 is a schematic flowchart of a local end transmitting a link detection frame according to an embodiment of the present invention
  • FIG. 7 is a schematic flowchart of a link detection frame sent by a local end to a peer end according to an embodiment of the present invention
  • FIG. 7 is a schematic flowchart of a local end transmitting a link detection frame according to another embodiment of the present invention.
  • FIG. 8 is a schematic diagram of a link processing apparatus according to another embodiment of the present invention.
  • FIG. 9 is a schematic diagram of a link processing system according to another embodiment of the present invention. detailed description
  • the basic idea of the present invention is: the local end acquires the performance parameter of the current uplink physical link; determines the link state of the current uplink physical link according to the performance parameter; constructs a link detection frame carrying the link state information, and passes the downlink The physical link is sent to the peer end.
  • the number of bits occupied by the link state information corresponds to the number of uplink physical links from the peer end to the local end.
  • the embodiment of the present invention provides a link processing method. As shown in FIG. 1, the method includes the following steps:
  • Step 101 The local end acquires performance parameters of the current uplink physical link.
  • Step 102 Determine, according to the performance parameter, a link state of the current uplink physical link.
  • Step 103 Establish a link detection frame carrying the link state information, and send the link to the peer end through the downlink physical link.
  • the number of bits occupied by the link state information corresponds to the number of uplink physical links from the peer end to the local end. .
  • the physical link between the local end and the peer end uses multiple physical links to transmit data.
  • Each physical link can be divided into a downlink physical link and a downlink physical link.
  • the local end can only detect the data transmission of the peer end to the local end through the uplink physical link, and cannot know the data transmission sent by the local end to the peer end through the downlink physical link. If any one of the physical links fails, the overall data transmission between the local end and the peer end will be affected.
  • the method provided by the embodiment of the present invention adds link state information in a link detection frame transmitted between the local end and the opposite end, and performs physical link detection through the link detection frame, so that both ends can be Get the working status of the link in time.
  • the local end establishes a logical link with the opposite end according to the pre-configured basic physical time slot, where the one logical link corresponds to one or more uplink physical links and the downlink physical link.
  • the logical link is established, data transmission between the local end and the opposite end is performed. For example, after a logical link is established between the base station controller and the base transceiver station, when the base station controller is the local end, the base transceiver station is the pair. When the base transceiver station is the local end, the base station controller is the opposite end.
  • the local end initiates the link detection function to obtain the performance parameters of the current physical layer and the link layer of the local end.
  • the local end periodically starts the link detection function, and can also start the link in real time or periodically.
  • Link detection function The performance parameters include: physical layer CRC (Cyclic Redundancy Check) error number, number of link layer retransmission frames, and number of frame skipping.
  • the transmission time slot of the current uplink physical link is closed, and the length of the link detection frame sent to the opposite end is adjusted to be a predetermined test byte number, and is passed.
  • the downlink physical link is sent to the peer.
  • the link detection frame after the length adjustment carries the link state information.
  • the original length of the link detection frame is too short.
  • the predetermined number of test bytes is large, so that the link fault is detected. It is better, such as 200 knots.
  • the original length of the link detection frame provided by the embodiment of the present invention is 3 bytes, including: a frame type, a frame length, and link state information.
  • the number of bits occupied by the link state information of the link detection frame corresponds to the number of uplink physical links from the peer end to the local end. For example, there are eight physical links between the local end and the opposite end, and the link state information is occupied.
  • the number of bytes is 1, including 8 bits (bits), each bit identifying the state of a physical link.
  • bit corresponding to the uplink physical link is filled with 0; when the current uplink physical link is the faulty link, the corresponding bit of the uplink physical link is determined. Fill in 1.
  • the link state information may carry N bytes of data information, where N is a positive integer.
  • the local end is a base station controller
  • the link state of the current uplink physical link is a faulty link, it is also possible to detect whether the service resource pool corresponding to the other uplink physical link has idle resources, and if there are idle resources, The service data being transmitted by the current uplink physical link is switched to the idle uplink physical link.
  • the link state of the current uplink physical link when the link state of the current uplink physical link is determined to be a normal link, and the transmission time slot corresponding to the current uplink physical link is closed, the link state of the current uplink physical link may be determined to be a normal link.
  • the number of times is weighted.
  • the weighted value reaches a threshold, the transmission time slot of the current uplink physical link is started, and the original length of the link detection frame is restored, for example, 3 bytes, and sent to the pair through the downlink physical link. If the link state of the current uplink physical link is a faulty link, the weighted value is cleared to zero.
  • the weighting operation is performed, and the weighting value is increased by 10 each time. After being determined as a normal link multiple times, the weighted value is increased to be greater than or equal to 50. It is determined that the fault of the current uplink physical link has been eliminated and can be used normally.
  • the transmission time slot of the current uplink physical link can be enabled, the length of the link detection frame is restored to 3 bytes, and sent to the opposite end through the downlink physical link.
  • the weighted value is cleared to zero.
  • the local end receives the link detection frame that carries the link state information sent by the peer end, and determines the current downlink physical physics when the link state of the current downlink physical link is the faulty link according to the link state information.
  • the transmission time slot of the link adjusts the length of the link detection frame sent to the opposite end to a predetermined number of test bytes, such as 200 bytes.
  • the method further includes: performing weighting operation on determining the number of times that the link state of the current downlink physical link is a normal link, and when the weighted value reaches a threshold, the current downlink physical link is started. Transmission time slot, The original length of the link detection frame is restored. Before the weight value reaches the threshold, the weight of the current downlink physical link is determined to be the faulty link.
  • the method further includes: detecting whether the service resource pool corresponding to the other downlink physical link has idle resources, and if there are idle resources, The service data currently being transmitted by the downlink physical link is switched to the idle downlink physical link.
  • the link state information is added to the link detection frame, so that the peer end knows the transmission state of the physical link in time, and performs corresponding processing. Avoid the phenomenon of data loss caused by continuing to use the faulty link to transmit data, reduce the bandwidth occupied by retransmission, improve the stability of data transmission, and improve network performance.
  • the base transceiver station, the opposite end is the base station controller. As shown in FIG. 4, when the local end detects that the uplink physical link is faulty and sends a link detection frame to the opposite end, the method includes the following steps:
  • Step 401 Obtain performance parameters of the current uplink physical link.
  • Step 402 After obtaining the performance parameter, comparing the performance parameter with the preset parameter threshold, and determining to be a faulty link, performing step 403; and determining to be a normal link, performing step 404.
  • Step 403 Close the transmission time slot of the current uplink physical link, adjust the length of the link detection frame sent to the opposite end to a predetermined number of test bytes, and send it to the opposite end through the downlink physical link.
  • Step 404 Detect whether the transmission time slot of the current uplink physical link is closed. If not, go to step 405; if it is closed, go to step 406.
  • Step 405 Establish a link detection frame carrying link state information, and send the link to the peer end through the downlink physical link.
  • Step 406 Perform a weighting operation on determining the number of times that the link state of the current uplink physical link is a normal link.
  • Step 407 When the weighted value reaches a threshold, the transmission time slot of the current uplink physical link is started, the length of the link detection frame is restored to 3 bytes, and is sent to the opposite end through the downlink physical link; Before the value, when the link state of the current uplink physical link is determined to be a faulty link, the weighting value is cleared.
  • the method includes the following steps:
  • Step 501 Receive a link detection frame that carries the link state information sent by the peer end.
  • Step 502 When the link state of the current downlink physical link of the local end is determined to be a faulty link, the transmission time slot of the current downlink physical link is closed, and the length of the link detection frame sent to the opposite end is adjusted. The number of test bytes is scheduled.
  • Step 503 When it is determined that the link state of the current downlink physical link is a normal link, check whether the transmission time slot of the current downlink physical link is closed; if it is closed, go to step 504; if not, go to step 506.
  • Step 504 Perform a weighting operation on determining the number of times that the link state of the current downlink physical link is a normal link.
  • Step 505 When the weighted value reaches a threshold, the transmission time slot of the current downlink physical link is started, and the length of the link detection frame is restored to 3 bytes. Before the weighted value reaches the threshold, the link state of the downlink physical link is determined. When the link is faulty, the weighted value is cleared.
  • Step 506 Continue to transmit data.
  • the link state information is added to the link detection frame, so that the peer end knows the transmission state of the physical link in time, and performs corresponding processing. Avoid the phenomenon of data loss caused by continuing to use the faulty link to transmit data, reduce the occupied bandwidth, improve the stability of data transmission, and improve network performance.
  • the local end is the base station controller and the opposite end is the base transceiver station, as shown in Figure 6, the local end check The following steps:
  • Step 601 Obtain performance parameters of the current uplink physical link.
  • Step 602 After obtaining the performance parameter, comparing the performance parameter with the preset parameter threshold, and determining to be the faulty link, performing step 603; and determining to be the normal link, performing step 605.
  • Step 603 Close the transmission time slot of the current uplink physical link, adjust the length of the link detection frame sent to the opposite end to a predetermined test byte number, and send it to the opposite end through the downlink physical link.
  • Step 604 Detect whether the service resource pool corresponding to the other uplink physical link has an idle resource, and if there is an idle resource, switch the service data currently being transmitted by the current uplink physical link to the idle uplink physical link.
  • Step 605 Detect whether the transmission time slot of the current uplink physical link is closed. If not, go to step 606; if it is closed, go to step 607.
  • Step 606 Establish a link detection frame carrying link state information, and send the link to the peer end through the downlink physical link.
  • Step 607 Perform a weighting operation on determining the number of times that the link state of the current uplink physical link is a normal link.
  • Step 608 When the weighted value reaches a threshold, the transmission time slot of the current uplink physical link is started, the length of the link detection frame is restored to 3 bytes, and is sent to the opposite end through the downlink physical link; Before the value, when the link state of the current uplink physical link is determined to be a faulty link, the weighting value is cleared.
  • the method includes the following steps:
  • Step 701 Receive a link detection frame that carries the link state information sent by the peer end.
  • Step 702 When the link state of the downlink physical link of the local end is determined to be a faulty link according to the link state information, the transmission time slot of the downlink physical link is closed, and the link detection frame sent to the opposite end is adjusted.
  • the length is the predetermined number of test bytes.
  • Step 703 Detect whether the service resource pool corresponding to the other downlink physical link has an idle resource, and if there is an idle resource, switch the service data that is being transmitted by the current downlink physical link to the idle downlink physical link.
  • Step 704 When it is determined that the link state of the downlink physical link is a normal link, check whether the transmission time slot of the current downlink physical link is closed; if it is closed, go to step 705; if not, go to step 707.
  • Step 705 Perform a force right operation for determining the number of times that the link state of the current downlink physical link is a normal link.
  • Step 706 When the weighted value reaches a threshold, the transmission time slot of the current downlink physical link is started, and the length of the link detection frame is restored to 3 bytes. Before the weighted value reaches the threshold, the link state of the downlink physical link is determined. When the link is faulty, the weighted value is cleared.
  • Step 707 continue to transmit data.
  • the link state information is added to the link detection frame, so that the peer end knows the transmission state of the physical link in time, and performs corresponding processing. Avoid the phenomenon of data loss caused by continuing to use the faulty link to transmit data, reduce the bandwidth occupied by retransmission, improve the stability of data transmission, and improve network performance.
  • an embodiment of the present invention further provides a link processing apparatus. As shown in FIG. 8, the apparatus includes:
  • the obtaining module 801 is configured to obtain performance parameters of the current uplink physical link.
  • a determining module 802 configured to determine a link state of a current uplink physical link according to the performance parameter
  • a building module 803 configured to build a link detection frame that carries link state information, where The number of bits occupied by the link state information corresponds to the number of uplink physical links from the peer to the local end.
  • the sending module 804 is configured to send the link detection frame formed by the component module to the peer end through the downlink physical link.
  • the obtaining module 801 is specifically configured to start a link detection function, and obtain performance parameters of the current physical layer and the link layer of the local end; wherein, the link detection function is started periodically; the performance parameter includes : Physical layer CRC error number, number of link layer retransmission frames, and number of frame skips.
  • the determining module 802 is specifically configured to compare the performance parameter with a preset parameter threshold, and determine a link state of the current uplink physical link according to the comparison result.
  • the foregoing apparatus further includes: a first processing module 805, configured to: when the link state of the current uplink physical link is a faulty link, close the transmission time slot of the current uplink physical link, and adjust the sending to The length of the link detection frame of the peer is a predetermined number of test bytes, and is sent to the peer end through the downlink physical link.
  • a first processing module 805 configured to: when the link state of the current uplink physical link is a faulty link, close the transmission time slot of the current uplink physical link, and adjust the sending to The length of the link detection frame of the peer is a predetermined number of test bytes, and is sent to the peer end through the downlink physical link.
  • the link state of the current uplink physical link is determined to be a normal link, the current uplink physical link is detected.
  • the link detection frame carrying the link state information is set and sent to the opposite end through the downlink physical link; if it is closed, the transmission of the current uplink physical link is started.
  • the time slot is used to
  • the foregoing apparatus further includes: a second processing module 806, configured to receive a link detection frame that carries the link state information sent by the peer end, and determine, according to the link state information, a current downlink physical link of the local end
  • a second processing module 806 configured to receive a link detection frame that carries the link state information sent by the peer end, and determine, according to the link state information, a current downlink physical link of the local end
  • the link state is a faulty link
  • the transmission time slot of the current downlink physical link is closed, and the length of the link detection frame sent to the opposite end is adjusted to be a predetermined test byte number; and the current downlink physical link is determined.
  • the link state is a normal link, detecting whether the transmission time slot of the current downlink physical link is closed, and if it is closed, turning on the transmission time slot of the current downlink physical link, and recovering the link detection frame.
  • the link detection frame includes: a frame type, a frame length, and link state information.
  • the foregoing apparatus further includes: a weighting module 807, configured to determine, before the first processing module 805 starts the transmission time slot of the current uplink physical link, the number of times that the link state of the current uplink physical link is a normal link. Performing a weighting operation, when the weighting value reaches a threshold value, triggering the first processing module 805; before determining that the link state of the current uplink physical link is a faulty link, the weighting value is determined before the weighting value reaches a threshold value Cleared; or
  • the second processing module 806 Before the second processing module 806 starts the transmission time slot of the current downlink physical link, when the weighting value reaches a threshold, the second processing module 806 is triggered; before the weighting value reaches a threshold, the location is determined. When the link state of the current downlink physical link is a faulty link, the weighted value is cleared.
  • the foregoing apparatus further includes: a detecting unit 808, configured to: determine, when the link state of the current uplink physical link is a faulty link, whether the service resource pool corresponding to the other uplink physical link has idle resources, if Have idle resources, and switch service data being transmitted by the current uplink physical link to an idle uplink physical link; or
  • the method further includes: detecting whether the service resource pool corresponding to the other downlink physical link has idle resources, and if there is idle resource, the current downlink physical link The traffic data being transmitted is switched to the idle downlink physical link.
  • an embodiment of the present invention further provides a link processing system. As shown in FIG. 9, the system includes:
  • the base station controller 901 and the base transceiver station 902 are mutually opposite ends, and are used to obtain performance parameters of the current uplink physical link.
  • the link state of the current uplink physical link is determined according to the performance parameter.
  • the link detection frame of the path state information is sent to the peer end through the downlink physical link.
  • the number of bits occupied by the link state information corresponds to the number of uplink physical links from the peer end to the local end.
  • the base station controller 901 and the base transceiver station 902 are further configured to receive the opposite end Sending a link detection frame carrying link state information; determining, according to the link state information, when the link state of the current downlink physical link of the local end is a faulty link, when the transmission of the current downlink physical link is closed The gap is adjusted, and the length of the link detection frame sent to the peer end is a predetermined number of test bytes.
  • the link state of the current downlink physical link is determined to be a normal link, the transmission time slot of the current downlink physical link is detected. Whether it is off, if it is off, the transmission time slot of the current downlink physical link is turned on, and the original length of the link detection frame is restored; the link detection frame includes: a frame type, a frame length, and link state information. .
  • the method, the device and the system for the link processing provided by the embodiment of the present invention enable the peer to know the transmission status of the physical link in time by adding the link state information in the link detection frame. And the corresponding processing, to avoid the phenomenon of data loss caused by continuing to use the faulty link to transmit data, reduce the bandwidth occupied by retransmission, improve the stability of data transmission, and thereby improve network performance.
  • 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 one or more computer program products embodied on a computer-usable storage medium (including but not limited to disk storage, CD-ROM, optical storage, etc.) in which computer usable program code is embodied.
  • a computer-usable storage medium including but not limited to disk storage, CD-ROM, optical storage, etc.
  • 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.
  • the instructions provide steps for implementing the functions specified in one or more of the flow or in a block or blocks of a flow diagram.

Abstract

The present invention provides a link processing method, device and system. The method comprises: a local end acquiring a performance parameter of a current physical uplink; determining the link status of the current physical uplink according to the performance parameter; and constructing a link detection frame carrying link status information, and sending the link detection frame to a peer end through a physical downlink. The number of bits occupied by the link status information corresponds to the number of physical uplinks from the peer end to the local end. According to the technical solution of the present invention, a faulty transmission link can be handled in time, thereby avoiding packet loss in link transmission, and improving the reliability of link data transmission.

Description

一种链路处理方法、 装置和系统 技术领域  Link processing method, device and system
本发明涉及通信领域技术, 尤其涉及一种链路处理方法、 装置和系统。 背景技术  The present invention relates to the field of communications technologies, and in particular, to a link processing method, apparatus, and system. Background technique
目前 GSM ( Global System for Mobile communications , 全球移动通信系 统) 的基站收发信机和基站控制器之间的 Abis口, 釆用的数据传输方式主 要为 TDM ( Time Division Multiplexing, 时分复用)方式, 一般釆用 E1做 为传输介质, 一对上下行 E1的带宽为 2.048Mbps; 对于一个站点来说, 传 输控制面数据和业务面数据时, 一对上下行 E1的带宽不够, 需要配置多对 传输相互独立的上下行 E1来传输业务。 某对 E1的上行或下行传输质量差 会引起整个 Abis口链路传输变差, 从而影响网络性能。  At present, the data transmission mode of the Abis port between the base transceiver station and the base station controller of the GSM (Global System for Mobile communications) is mainly TDM (Time Division Multiplexing). E E1 is used as the transmission medium, and the bandwidth of a pair of uplink and downlink E1 is 2.048 Mbps. For a station, when transmitting control plane data and service plane data, the bandwidth of a pair of uplink and downlink E1 is insufficient, and multiple pairs of transmissions need to be configured. Independent uplink and downlink E1 to transmit services. A poor quality of uplink or downlink transmission of a pair of E1s will cause the transmission of the entire Abis interface link to deteriorate, thereby affecting network performance.
现有技术中, 通过发送链路检测帧对传输链路进行检测。 为了避免占 用太多带宽, 通常该链路检测帧的长度比较短, 这样在不同的误码率情况 下不能够准确的检测出传输链路质量的状况。例如 Abis口釆用 LAPD( Link Access Procedure of D-Channel, D通路上链路接入规程 )协议传输控制面数 可用, 由于该链路检测帧的长度比较短, 那么在误码率低的情况下很难检 测到物理链路质量变差, 比如在误码率为 1%的情况下, 3个字节的通过率 为 78.5%, 100字节的通过率只有 3.2% , 255字节的通过率则只有 1.25%, 这样会导致 LAPD链路丟包增加, 从而导致重传增多, 而且可能导致链路 发生拥塞, 甚至影响业务性能。 发明内容 In the prior art, a transmission link is detected by transmitting a link detection frame. In order to avoid occupying too much bandwidth, the length of the link detection frame is usually short, so that the quality of the transmission link cannot be accurately detected under different error rate conditions. For example, the Abis interface uses the LAPD (Link Access Procedure of D-Channel) protocol to control the number of control planes. Since the length of the link detection frame is relatively short, the error rate is low. It is difficult to detect the deterioration of the physical link quality. For example, in the case of a bit error rate of 1%, the pass rate of 3 bytes is 78.5%, and the pass rate of 100 bytes is only 3.2%, and the pass rate of 255 bytes is passed. The rate is only 1.25%. This will result in an increase in packet loss on the LAPD link, which will result in an increase in retransmissions and may cause congestion on the link and even affect service performance. Summary of the invention
有鉴于此, 本发明实施例提供了一种链路处理方法、 装置和系统, 可 以及时处理故障传输链路, 避免链路传输丟包, 提高链路传输数据的可靠 性。  In view of this, the embodiments of the present invention provide a link processing method, apparatus, and system, which can timely handle a faulty transmission link, avoid link transmission loss, and improve reliability of link transmission data.
本发明实施例提供了一种链路处理的方法, 包括:  The embodiment of the invention provides a method for link processing, including:
本端获取当前上行物理链路的性能参数;  The local end acquires performance parameters of the current uplink physical link.
根据所述性能参数确定当前上行物理链路的链路状态;  Determining, according to the performance parameter, a link state of a current uplink physical link;
组建携带链路状态信息的链路检测帧, 并通过下行物理链路发送到对 端;  Establishing a link detection frame carrying link state information, and transmitting the link to the peer end through the downlink physical link;
其中, 所述链路状态信息占用的比特数与对端到本端的上行物理链路 数量相对应。  The number of bits occupied by the link state information corresponds to the number of uplink physical links from the peer end to the local end.
相应的, 本发明实施例提供了一种链路处理装置, 包括:  Correspondingly, an embodiment of the present invention provides a link processing apparatus, including:
获取模块, 用于获取当前上行物理链路的性能参数;  An obtaining module, configured to acquire performance parameters of a current uplink physical link;
确定模块, 用于根据所述性能参数确定当前上行物理链路的链路状态; 组建模块, 用于组建携带链路状态信息的链路检测帧, 其中, 所述链 路状态信息占用的比特数与对端到本端的上行物理链路数量相对应;  a determining module, configured to determine, according to the performance parameter, a link state of a current uplink physical link; a building module, configured to set a link detection frame that carries link state information, where the number of bits occupied by the link state information Corresponds to the number of uplink physical links from the peer to the local end;
发送模块, 用于将所述组建模块组建的链路检测帧通过下行物理链路 发送到对端。  And a sending module, configured to send the link detection frame formed by the component module to the peer end by using a downlink physical link.
相应的, 本发明实施例提供了一种链路处理系统, 包括: 基站控制器 和基站收发信机, 两者互为对端, 均用于获取当前上行物理链路的性能参 数; 根据所述性能参数确定当前上行物理链路的链路状态; 组建携带链路 状态信息的链路检测帧, 并通过下行物理链路发送到对端; 其中, 所述链 路状态信息占用的比特数与对端到本端的上行物理链路数量相对应。  Correspondingly, the embodiment of the present invention provides a link processing system, including: a base station controller and a base transceiver station, which are mutually opposite ends, and are used to obtain performance parameters of the current uplink physical link; The performance parameter determines the link state of the current uplink physical link; the link detection frame that carries the link state information is configured, and is sent to the peer end through the downlink physical link; where the number of bits occupied by the link state information and the pair The number of uplink physical links from the end to the local end corresponds.
本发明实施例提供了一种链路处理方法、 装置和系统, 用于获取当前 上行物理链路的性能参数; 根据所述性能参数确定当前上行物理链路的链 路状态; 组建携带链路状态信息的链路检测帧, 并通过下行物理链路发送 到对端; 其中, 所述链路状态信息占用的比特数与对端到本端的上行物理 链路数量相对应。 使用本发明实施例提供的链路处理的方法、 装置和系统, 通过在链路检测帧中添加链路状态信息 , 使得对端及时获知物理链路的传 输状态, 并进行相应的处理, 避免继续使用该物理链路传输数据造成数据 丟包的现象, 减少重传占用的带宽, 提高数据传输的稳定性, 从而提高网 络性能。 附图说明 The embodiment of the present invention provides a link processing method, device, and system, which are used to obtain performance parameters of a current uplink physical link, and determine a current uplink physical link chain according to the performance parameter. The link detection frame that carries the link state information is sent to the peer end through the downlink physical link. The number of bits occupied by the link state information is equal to the number of uplink physical links from the peer end to the local end. correspond. The method, the device, and the system for the link processing provided by the embodiment of the present invention add the link state information to the link detection frame, so that the peer end knows the transmission state of the physical link in time, and performs corresponding processing to avoid continuing. The use of the physical link to transmit data causes data packet loss, reduces the bandwidth occupied by retransmission, improves the stability of data transmission, and improves network performance. DRAWINGS
图 1为本发明实施例中链路处理方法流程示意图;  1 is a schematic flowchart of a link processing method according to an embodiment of the present invention;
图 2为本发明实施例中本端和对端之间物理链路示意图;  2 is a schematic diagram of a physical link between a local end and a peer end according to an embodiment of the present invention;
图 3为本发明实施例中链路检测帧的结构示意图;  3 is a schematic structural diagram of a link detection frame according to an embodiment of the present invention;
图 4为本发明实施例中本端向对端发送链路检测帧的流程示意图; 图 5为本发明实施例中本端接收对端发送链路检测帧的流程示意图; 图 6为本发明另一实施例中本端向对端发送链路检测帧的流程示意图; 图 7为本发明另一实施例中本端接收对端发送链路检测帧的流程示意 图;  4 is a schematic flowchart of a link detection frame sent by a local end to a peer end according to an embodiment of the present invention; FIG. 5 is a schematic flowchart of a local end transmitting a link detection frame according to an embodiment of the present invention; FIG. 7 is a schematic flowchart of a link detection frame sent by a local end to a peer end according to an embodiment of the present invention; FIG. 7 is a schematic flowchart of a local end transmitting a link detection frame according to another embodiment of the present invention;
图 8为本发明另一实施例中链路处理装置的示意图;  FIG. 8 is a schematic diagram of a link processing apparatus according to another embodiment of the present invention; FIG.
图 9为本发明另一实施例中链路处理系统的示意图。 具体实施方式  FIG. 9 is a schematic diagram of a link processing system according to another embodiment of the present invention. detailed description
本发明的基本思想是: 本端获取当前上行物理链路的性能参数; 根据 所述性能参数确定当前上行物理链路的链路状态; 组建携带链路状态信息 的链路检测帧, 并通过下行物理链路发送到对端; 其中, 所述链路状态信 息占用的比特数与对端到本端的上行物理链路数量相对应。  The basic idea of the present invention is: the local end acquires the performance parameter of the current uplink physical link; determines the link state of the current uplink physical link according to the performance parameter; constructs a link detection frame carrying the link state information, and passes the downlink The physical link is sent to the peer end. The number of bits occupied by the link state information corresponds to the number of uplink physical links from the peer end to the local end.
下面结合各个附图对本发明实施例技术方案的主要实现原理、 具体实 施方式及其对应能够达到的有益效果进行详细地阐述。 The main implementation principles and specific implementations of the technical solutions of the embodiments of the present invention are described below with reference to the accompanying drawings. The manner of application and its corresponding beneficial effects can be elaborated.
为了解决现有技术存在的问题, 本发明实施例提供了一种链路处理方 法, 如图 1所示, 该方法包括以下步骤:  In order to solve the problem in the prior art, the embodiment of the present invention provides a link processing method. As shown in FIG. 1, the method includes the following steps:
步骤 101、 本端获取当前上行物理链路的性能参数;  Step 101: The local end acquires performance parameters of the current uplink physical link.
步骤 102、 根据性能参数确定当前上行物理链路的链路状态;  Step 102: Determine, according to the performance parameter, a link state of the current uplink physical link.
步骤 103、组建携带链路状态信息的链路检测帧, 并通过下行物理链路 发送到对端; 其中, 该链路状态信息占用的比特数与对端到本端的上行物 理链路数量相对应。  Step 103: Establish a link detection frame carrying the link state information, and send the link to the peer end through the downlink physical link. The number of bits occupied by the link state information corresponds to the number of uplink physical links from the peer end to the local end. .
如图 2所示, 本端和对端之间通过一条逻辑链路占用多条物理链路传 输数据, 每条物理链路可以分为下行物理链路和下行物理链路。 其中, 本 端只能检测到对端通过上行物理链路传输到本端的数据传输情况, 而无法 及时获知本端通过下行物理链路发送到对端的数据传输情况。 其中任意一 条物理链路发生故障, 就会影响本端和对端之间的整体数据传输情况。 对 此, 本发明实施例提供的方法, 通过在本端和对端之间传输的链路检测帧 中添加链路状态信息并通过该链路检测帧进行物理链路检测, 使得两端均 可以及时获知链路的工作状态。  As shown in Figure 2, the physical link between the local end and the peer end uses multiple physical links to transmit data. Each physical link can be divided into a downlink physical link and a downlink physical link. The local end can only detect the data transmission of the peer end to the local end through the uplink physical link, and cannot know the data transmission sent by the local end to the peer end through the downlink physical link. If any one of the physical links fails, the overall data transmission between the local end and the peer end will be affected. In this regard, the method provided by the embodiment of the present invention adds link state information in a link detection frame transmitted between the local end and the opposite end, and performs physical link detection through the link detection frame, so that both ends can be Get the working status of the link in time.
具体的, 本端根据预配置的基本物理时隙与对端建逻辑链路, 该一条 逻辑链路对应于一条或多条上行物理链路和所述下行物理链路。 逻辑链路 建立完成后, 本端和对端之间进行数据传输, 例如基站控制器和基站收发 信机之间建立逻辑链路后, 该基站控制器为本端时, 基站收发信机为对端; 基站收发信机为本端时, 基站控制器为对端。 为了避免使用故障链路传输 数据, 本端启动链路检测功能, 获取本端当前物理层和链路层的性能参数; 其中, 本端周期性启动链路检测功能, 也可以实时或定时启动该链路检测 功能。 性能参数包括: 物理层 CRC ( Cyclic Redundancy Check, 循环冗余 校验码)错误数、 链路层重传帧数目和跳帧数目。 获取到性能参数后, 将该性能参数与预置参数阈值进行比较, 根据比 较结果确定当前上行物理链路的链路状态, 具体情况如下: Specifically, the local end establishes a logical link with the opposite end according to the pre-configured basic physical time slot, where the one logical link corresponds to one or more uplink physical links and the downlink physical link. After the logical link is established, data transmission between the local end and the opposite end is performed. For example, after a logical link is established between the base station controller and the base transceiver station, when the base station controller is the local end, the base transceiver station is the pair. When the base transceiver station is the local end, the base station controller is the opposite end. In order to avoid the use of the faulty link to transmit data, the local end initiates the link detection function to obtain the performance parameters of the current physical layer and the link layer of the local end. The local end periodically starts the link detection function, and can also start the link in real time or periodically. Link detection function. The performance parameters include: physical layer CRC (Cyclic Redundancy Check) error number, number of link layer retransmission frames, and number of frame skipping. After the performance parameter is obtained, the performance parameter is compared with the preset parameter threshold, and the link state of the current uplink physical link is determined according to the comparison result, as follows:
( 1 )确定当前上行物理链路的链路状态为故障链路时, 关闭当前上行 物理链路的传输时隙, 调整发送到对端的链路检测帧的长度为预定测试字 节数, 并通过下行物理链路发送到对端。 调整长度后的链路检测帧携带链 路状态信息。  (1) When the link state of the current uplink physical link is determined to be a faulty link, the transmission time slot of the current uplink physical link is closed, and the length of the link detection frame sent to the opposite end is adjusted to be a predetermined test byte number, and is passed. The downlink physical link is sent to the peer. The link detection frame after the length adjustment carries the link state information.
其中, 由于链路检测帧的原始长度过短, 在误码率低的情况下, 较难 检测到链路情况变差, 因此, 该预定测试字节数较多, 以便于检测到链路 故障为佳, 如 200节数。 如图 3所示, 本发明实施例提供的该链路检测帧 的原始长度为 3 字节, 包括: 帧类型、 帧长度和链路状态信息。 该链路检 测帧的链路状态信息占用的比特数与对端到本端的上行物理链路数量相对 应, 例如本端和对端之间具有 8条物理链路, 该链路状态信息占用的字节 数为 1 , 包括 8个 bit (比特位), 每个比特位标识一条物理链路的状态。 根 据性能参数确定当前上行物理链路为正常链路时, 在该上行物理链路对应 的比特位填写 0; 确定当前上行物理链路为故障链路时, 在该上行物理链路 对应的比特位填写 1。 而且, 该当前上行物理链路为正常链路时 , 该链路状 态信息后可以携带 N个字节的数据信息, 其中 N为正整数。  The original length of the link detection frame is too short. When the bit error rate is low, it is difficult to detect that the link condition is worse. Therefore, the predetermined number of test bytes is large, so that the link fault is detected. It is better, such as 200 knots. As shown in FIG. 3, the original length of the link detection frame provided by the embodiment of the present invention is 3 bytes, including: a frame type, a frame length, and link state information. The number of bits occupied by the link state information of the link detection frame corresponds to the number of uplink physical links from the peer end to the local end. For example, there are eight physical links between the local end and the opposite end, and the link state information is occupied. The number of bytes is 1, including 8 bits (bits), each bit identifying the state of a physical link. When the current uplink physical link is a normal link, the bit corresponding to the uplink physical link is filled with 0; when the current uplink physical link is the faulty link, the corresponding bit of the uplink physical link is determined. Fill in 1. Moreover, when the current uplink physical link is a normal link, the link state information may carry N bytes of data information, where N is a positive integer.
当本端为基站控制器, 确定当前上行物理链路的链路状态为故障链路 时, 还可以检测其他上行物理链路对应的业务资源池是否有空闲的资源, 若有空闲的资源, 将当前上行物理链路正在传输的业务数据倒换到空闲的 上行物理链路。  When the local end is a base station controller, if the link state of the current uplink physical link is a faulty link, it is also possible to detect whether the service resource pool corresponding to the other uplink physical link has idle resources, and if there are idle resources, The service data being transmitted by the current uplink physical link is switched to the idle uplink physical link.
( 2 )确定当前上行物理链路的链路状态为正常链路, 且该当前上行物 理链路对应的传输时隙未关闭时, 组建携带链路状态信息的链路检测帧, 并通过下行物理链路发送到对端;  (2) determining that the link state of the current uplink physical link is a normal link, and the transmission time slot corresponding to the current uplink physical link is not closed, forming a link detection frame carrying the link state information, and adopting downlink physical The link is sent to the peer end;
( 3 )确定当前上行物理链路的链路状态为正常链路, 且该当前上行物 理链路对应的传输时隙已关闭时, 开启当前上行物理链路的传输时隙, 将 链路检测帧的长度恢复为原始长度, 如 3 字节, 并通过下行物理链路发送 到对端。 (3) determining that the link state of the current uplink physical link is a normal link, and the current uplink When the transmission time slot corresponding to the link is closed, the transmission time slot of the current uplink physical link is enabled, and the length of the link detection frame is restored to the original length, such as 3 bytes, and sent to the peer through the downlink physical link. .
较佳的, 确定当前上行物理链路的链路状态为正常链路, 且该当前上 行物理链路对应的传输时隙已关闭时, 可以对确定当前上行物理链路的链 路状态为正常链路的次数进行加权操作, 加权值达到阔值时, 开启当前上 行物理链路的传输时隙, 恢复所述链路检测帧的原始长度, 如 3 字节, 并 通过下行物理链路发送到对端; 该加权值达到阔值之前, 确定当前上行物 理链路的链路状态为故障链路时, 将该加权值清零。 例如, 确定当前上行 物理链路为故障链路后, 然后又根据性能参数确定该当前上行物理链路为 正常链路, 则进行加权操作, 加权值每次增加 10。 连续多次确定为正常链 路, 该加权值增加到大于或等于 50后, 确定当前上行物理链路的故障已排 除, 可以正常使用。 可以开启当前上行物理链路的传输时隙, 将链路检测 帧的长度恢复为 3字节,并通过下行物理链路发送到对端。在未达到 50时, 再次确定当前上行物理链路为故障链路时, 将该加权值清零。  Preferably, when the link state of the current uplink physical link is determined to be a normal link, and the transmission time slot corresponding to the current uplink physical link is closed, the link state of the current uplink physical link may be determined to be a normal link. The number of times is weighted. When the weighted value reaches a threshold, the transmission time slot of the current uplink physical link is started, and the original length of the link detection frame is restored, for example, 3 bytes, and sent to the pair through the downlink physical link. If the link state of the current uplink physical link is a faulty link, the weighted value is cleared to zero. For example, after determining that the current uplink physical link is a faulty link, and then determining that the current uplink physical link is a normal link according to the performance parameter, the weighting operation is performed, and the weighting value is increased by 10 each time. After being determined as a normal link multiple times, the weighted value is increased to be greater than or equal to 50. It is determined that the fault of the current uplink physical link has been eliminated and can be used normally. The transmission time slot of the current uplink physical link can be enabled, the length of the link detection frame is restored to 3 bytes, and sent to the opposite end through the downlink physical link. When the current uplink physical link is determined to be a faulty link, the weighted value is cleared to zero.
相应的, 本端接收对端发送的携带链路状态信息的链路检测帧; 根据 该链路状态信息, 确定本端的当前下行物理链路的链路状态为故障链路时, 关闭当前下行物理链路的传输时隙, 调整发送到对端的链路检测帧的长度 为预定测试字节数, 如 200字节; 确定当前下行物理链路的链路状态为正 常链路时, 检测当前下行物理链路的传输时隙是否关闭, 若已关闭, 则开 启当前下行物理链路的传输时隙, 恢复链路检测帧的原始长度, 如 3字节; 该链路检测帧包括: 帧类型、 帧长度和链路状态信息。 其中, 该链路检测 帧的具体结构如图 3 所示, 在此不再赘述。 开启所述下行物理链路的传输 时隙之前, 还包括: 对确定当前下行物理链路的链路状态为正常链路的次 数进行加权操作, 加权值达到阔值时, 开启当前下行物理链路的传输时隙, 恢复链路检测帧的原始长度; 该加权值达到阔值之前 , 确定当前下行物理 链路的链路状态为故障链路时, 将该加权值清零。 Correspondingly, the local end receives the link detection frame that carries the link state information sent by the peer end, and determines the current downlink physical physics when the link state of the current downlink physical link is the faulty link according to the link state information. The transmission time slot of the link adjusts the length of the link detection frame sent to the opposite end to a predetermined number of test bytes, such as 200 bytes. When determining that the link state of the current downlink physical link is a normal link, detecting the current downlink physical Whether the transmission time slot of the link is closed, if it is closed, the transmission time slot of the current downlink physical link is turned on, and the original length of the link detection frame is restored, for example, 3 bytes; the link detection frame includes: frame type, frame Length and link status information. The specific structure of the link detection frame is shown in FIG. 3, and details are not described herein again. Before the transmission of the downlink physical link is performed, the method further includes: performing weighting operation on determining the number of times that the link state of the current downlink physical link is a normal link, and when the weighted value reaches a threshold, the current downlink physical link is started. Transmission time slot, The original length of the link detection frame is restored. Before the weight value reaches the threshold, the weight of the current downlink physical link is determined to be the faulty link.
当本端为基站控制器, 确定当前下行物理链路的链路状态为故障链路 时, 还包括: 检测其他下行物理链路对应的业务资源池是否有空闲的资源, 若有空闲的资源, 将当前下行物理链路正在传输的业务数据倒换到空闲的 下行物理链路。  When the local end is a base station controller, determining that the link state of the current downlink physical link is a faulty link, the method further includes: detecting whether the service resource pool corresponding to the other downlink physical link has idle resources, and if there are idle resources, The service data currently being transmitted by the downlink physical link is switched to the idle downlink physical link.
通过上述描述, 可以看出, 使用本发明实施例提供的链路处理方法, 通过在链路检测帧中添加链路状态信息 , 使得对端及时获知物理链路的传 输状态, 并进行相应的处理, 避免继续使用故障链路传输数据造成数据丟 包的现象, 减少重传占用的带宽, 提高数据传输的稳定性, 从而提高网络 性能。 基站收发信机, 对端为基站控制器, 如图 4所示, 本端检测到上行物理链 路发生故障向对端发送链路检测帧的情况下, 该方法包括以下步骤:  Through the foregoing description, it can be seen that, by using the link processing method provided by the embodiment of the present invention, the link state information is added to the link detection frame, so that the peer end knows the transmission state of the physical link in time, and performs corresponding processing. Avoid the phenomenon of data loss caused by continuing to use the faulty link to transmit data, reduce the bandwidth occupied by retransmission, improve the stability of data transmission, and improve network performance. The base transceiver station, the opposite end is the base station controller. As shown in FIG. 4, when the local end detects that the uplink physical link is faulty and sends a link detection frame to the opposite end, the method includes the following steps:
步骤 401、 获取当前上行物理链路的性能参数。  Step 401: Obtain performance parameters of the current uplink physical link.
步骤 402、获取到性能参数后,将该性能参数与预置参数阔值进行比较, 确定为故障链路时, 执行步骤 403; 确定为正常链路时, 执行步骤 404。  Step 402: After obtaining the performance parameter, comparing the performance parameter with the preset parameter threshold, and determining to be a faulty link, performing step 403; and determining to be a normal link, performing step 404.
步骤 403、 关闭当前上行物理链路的传输时隙, 调整发送到对端的链路 检测帧的长度为预定测试字节数, 并通过下行物理链路发送到对端。  Step 403: Close the transmission time slot of the current uplink physical link, adjust the length of the link detection frame sent to the opposite end to a predetermined number of test bytes, and send it to the opposite end through the downlink physical link.
步骤 404、检测当前上行物理链路的传输时隙是否关闭, 若未关闭, 执 行步骤 405; 若已关闭, 执行步骤 406。  Step 404: Detect whether the transmission time slot of the current uplink physical link is closed. If not, go to step 405; if it is closed, go to step 406.
步骤 405、组建携带链路状态信息的链路检测帧, 并通过下行物理链路 发送到对端。  Step 405: Establish a link detection frame carrying link state information, and send the link to the peer end through the downlink physical link.
步骤 406、对确定当前上行物理链路的链路状态为正常链路的次数进行 加权操作。 步骤 407、 加权值达到阔值时, 开启当前上行物理链路的传输时隙, 将 链路检测帧的长度恢复为 3 字节, 并通过下行物理链路发送到对端; 该加 权值达到阔值之前, 确定当前上行物理链路的链路状态为故障链路时, 该 加权值清零。 Step 406: Perform a weighting operation on determining the number of times that the link state of the current uplink physical link is a normal link. Step 407: When the weighted value reaches a threshold, the transmission time slot of the current uplink physical link is started, the length of the link detection frame is restored to 3 bytes, and is sent to the opposite end through the downlink physical link; Before the value, when the link state of the current uplink physical link is determined to be a faulty link, the weighting value is cleared.
当本端接收到对端发送的链路检测帧时, 如图 5 所示, 该方法包括以 下步骤:  When the local end receives the link detection frame sent by the peer end, as shown in Figure 5, the method includes the following steps:
步骤 501、 接收对端发送的携带链路状态信息的链路检测帧。  Step 501: Receive a link detection frame that carries the link state information sent by the peer end.
步骤 502、根据链路状态信息, 确定本端的当前下行物理链路的链路状 态为故障链路时, 关闭当前下行物理链路的传输时隙, 调整发送到对端的 链路检测帧的长度为预定测试字节数。  Step 502: When the link state of the current downlink physical link of the local end is determined to be a faulty link, the transmission time slot of the current downlink physical link is closed, and the length of the link detection frame sent to the opposite end is adjusted. The number of test bytes is scheduled.
步骤 503、确定当前下行物理链路的链路状态为正常链路时,检测所述 当前下行物理链路的传输时隙是否关闭; 若已关闭, 执行步骤 504; 若未关 闭, 执行步骤 506。  Step 503: When it is determined that the link state of the current downlink physical link is a normal link, check whether the transmission time slot of the current downlink physical link is closed; if it is closed, go to step 504; if not, go to step 506.
步骤 504、对确定当前下行物理链路的链路状态为正常链路的次数进行 加权操作。  Step 504: Perform a weighting operation on determining the number of times that the link state of the current downlink physical link is a normal link.
步骤 505、 加权值达到阔值时, 开启当前下行物理链路的传输时隙, 将 链路检测帧的长度恢复为 3 字节; 加权值达到阔值之前, 确定下行物理链 路的链路状态为故障链路时, 将加权值清零。  Step 505: When the weighted value reaches a threshold, the transmission time slot of the current downlink physical link is started, and the length of the link detection frame is restored to 3 bytes. Before the weighted value reaches the threshold, the link state of the downlink physical link is determined. When the link is faulty, the weighted value is cleared.
步骤 506、 继续传输数据。  Step 506: Continue to transmit data.
通过上述描述, 可以看出, 使用本发明实施例提供的链路处理方法, 通过在链路检测帧中添加链路状态信息 , 使得对端及时获知物理链路的传 输状态, 并进行相应的处理, 避免继续使用故障链路传输数据造成数据丟 包的现象, 减少占用的带宽, 提高数据传输的稳定性, 从而提高网络性能。  Through the foregoing description, it can be seen that, by using the link processing method provided by the embodiment of the present invention, the link state information is added to the link detection frame, so that the peer end knows the transmission state of the physical link in time, and performs corresponding processing. Avoid the phenomenon of data loss caused by continuing to use the faulty link to transmit data, reduce the occupied bandwidth, improve the stability of data transmission, and improve network performance.
假设本端为基站控制器, 对端为基站收发信机, 如图 6所示, 本端检 以下步骤: Assume that the local end is the base station controller and the opposite end is the base transceiver station, as shown in Figure 6, the local end check The following steps:
步骤 601、 获取当前上行物理链路的性能参数。  Step 601: Obtain performance parameters of the current uplink physical link.
步骤 602、获取到性能参数后,将该性能参数与预置参数阔值进行比较, 确定为故障链路时, 执行步骤 603; 确定为正常链路时, 执行步骤 605。  Step 602: After obtaining the performance parameter, comparing the performance parameter with the preset parameter threshold, and determining to be the faulty link, performing step 603; and determining to be the normal link, performing step 605.
步骤 603、 关闭当前上行物理链路的传输时隙, 调整发送到对端的链路 检测帧的长度为预定测试字节数, 并通过下行物理链路发送到对端。  Step 603: Close the transmission time slot of the current uplink physical link, adjust the length of the link detection frame sent to the opposite end to a predetermined test byte number, and send it to the opposite end through the downlink physical link.
步骤 604、 检测其他上行物理链路对应的业务资源池是否有空闲的资 源, 若有空闲的资源, 将当前上行物理链路正在传输的业务数据倒换到空 闲的上行物理链路。  Step 604: Detect whether the service resource pool corresponding to the other uplink physical link has an idle resource, and if there is an idle resource, switch the service data currently being transmitted by the current uplink physical link to the idle uplink physical link.
上述步骤 603和步骤 604在执行上无必须的前后顺序。  The above steps 603 and 604 have no necessary sequence in execution.
步骤 605、检测当前上行物理链路的传输时隙是否关闭, 若未关闭, 执 行步骤 606; 若已关闭, 执行步骤 607。  Step 605: Detect whether the transmission time slot of the current uplink physical link is closed. If not, go to step 606; if it is closed, go to step 607.
步骤 606、组建携带链路状态信息的链路检测帧, 并通过下行物理链路 发送到对端。  Step 606: Establish a link detection frame carrying link state information, and send the link to the peer end through the downlink physical link.
步骤 607、对确定当前上行物理链路的链路状态为正常链路的次数进行 加权操作。  Step 607: Perform a weighting operation on determining the number of times that the link state of the current uplink physical link is a normal link.
步骤 608、 加权值达到阔值时, 开启当前上行物理链路的传输时隙, 将 链路检测帧的长度恢复为 3 字节, 并通过下行物理链路发送到对端; 该加 权值达到阔值之前, 确定当前上行物理链路的链路状态为故障链路时, 该 加权值清零。  Step 608: When the weighted value reaches a threshold, the transmission time slot of the current uplink physical link is started, the length of the link detection frame is restored to 3 bytes, and is sent to the opposite end through the downlink physical link; Before the value, when the link state of the current uplink physical link is determined to be a faulty link, the weighting value is cleared.
当本端接收到对端发送的链路检测帧时, 如图 7 所示, 该方法包括以 下步骤:  When the local end receives the link detection frame sent by the peer end, as shown in Figure 7, the method includes the following steps:
步骤 701、 接收对端发送的携带有链路状态信息的链路检测帧。  Step 701: Receive a link detection frame that carries the link state information sent by the peer end.
步骤 702、根据链路状态信息确定本端的下行物理链路的链路状态为故 障链路时, 关闭下行物理链路的传输时隙, 调整发送到对端的链路检测帧 的长度为预定测试字节数。 Step 702: When the link state of the downlink physical link of the local end is determined to be a faulty link according to the link state information, the transmission time slot of the downlink physical link is closed, and the link detection frame sent to the opposite end is adjusted. The length is the predetermined number of test bytes.
步骤 703、 检测其他下行物理链路对应的业务资源池是否有空闲的资 源, 若有空闲的资源, 将当前下行物理链路正在传输的业务数据倒换到空 闲的下行物理链路。  Step 703: Detect whether the service resource pool corresponding to the other downlink physical link has an idle resource, and if there is an idle resource, switch the service data that is being transmitted by the current downlink physical link to the idle downlink physical link.
上述步骤 702和步骤 703在执行上无必须的前后顺序。  The above steps 702 and 703 have no necessary sequence in execution.
步骤 704、确定下行物理链路的链路状态为正常链路时,检测当前下行 物理链路的传输时隙是否关闭; 若已关闭, 执行步骤 705; 若未关闭, 执行 步骤 707。  Step 704: When it is determined that the link state of the downlink physical link is a normal link, check whether the transmission time slot of the current downlink physical link is closed; if it is closed, go to step 705; if not, go to step 707.
步骤 705、对确定当前下行物理链路的链路状态为正常链路的次数进行 力口权操作。  Step 705: Perform a force right operation for determining the number of times that the link state of the current downlink physical link is a normal link.
步骤 706、 加权值达到阔值时, 开启当前下行物理链路的传输时隙, 将 链路检测帧的长度恢复为 3 字节; 加权值达到阔值之前, 确定下行物理链 路的链路状态为故障链路时, 将加权值清零。  Step 706: When the weighted value reaches a threshold, the transmission time slot of the current downlink physical link is started, and the length of the link detection frame is restored to 3 bytes. Before the weighted value reaches the threshold, the link state of the downlink physical link is determined. When the link is faulty, the weighted value is cleared.
步骤 707、 继续传输数据。  Step 707, continue to transmit data.
通过上述描述, 可以看出, 使用本发明实施例提供的链路处理方法, 通过在链路检测帧中添加链路状态信息 , 使得对端及时获知物理链路的传 输状态, 并进行相应的处理, 避免继续使用故障链路传输数据造成数据丟 包的现象, 减少重传占用的带宽, 提高数据传输的稳定性, 从而提高网络 性能。  Through the foregoing description, it can be seen that, by using the link processing method provided by the embodiment of the present invention, the link state information is added to the link detection frame, so that the peer end knows the transmission state of the physical link in time, and performs corresponding processing. Avoid the phenomenon of data loss caused by continuing to use the faulty link to transmit data, reduce the bandwidth occupied by retransmission, improve the stability of data transmission, and improve network performance.
基于同一发明构思, 本发明实施例还提供了一种链路处理装置, 如图 8 所示, 该装置包括:  Based on the same inventive concept, an embodiment of the present invention further provides a link processing apparatus. As shown in FIG. 8, the apparatus includes:
获取模块 801, 用于获取当前上行物理链路的性能参数;  The obtaining module 801 is configured to obtain performance parameters of the current uplink physical link.
确定模块 802,用于根据所述性能参数确定当前上行物理链路的链路状 态;  a determining module 802, configured to determine a link state of a current uplink physical link according to the performance parameter;
组建模块 803 , 用于组建携带链路状态信息的链路检测帧, 其中, 所述 链路状态信息占用的比特数与对端到本端的上行物理链路数量相对应; 发送模块 804,用于将所述组建模块组建的链路检测帧通过下行物理链 路发送到对端。 a building module 803, configured to build a link detection frame that carries link state information, where The number of bits occupied by the link state information corresponds to the number of uplink physical links from the peer to the local end. The sending module 804 is configured to send the link detection frame formed by the component module to the peer end through the downlink physical link.
较佳的, 所述获取模块 801 , 具体用于启动链路检测功能, 获取本端当 前物理层和链路层的性能参数; 其中, 周期性启动所述链路检测功能; 所 述性能参数包括: 物理层 CRC错误数、 链路层重传帧数目和跳帧数目。  Preferably, the obtaining module 801 is specifically configured to start a link detection function, and obtain performance parameters of the current physical layer and the link layer of the local end; wherein, the link detection function is started periodically; the performance parameter includes : Physical layer CRC error number, number of link layer retransmission frames, and number of frame skips.
较佳的, 所述确定模块 802, 具体用于将所述性能参数与预置参数阔值 进行比较, 根据比较结果确定当前上行物理链路的链路状态。  Preferably, the determining module 802 is specifically configured to compare the performance parameter with a preset parameter threshold, and determine a link state of the current uplink physical link according to the comparison result.
较佳的, 上述装置, 还包括: 第一处理模块 805 , 用于确定当前上行物 理链路的链路状态为故障链路时, 关闭所述当前上行物理链路的传输时隙, 调整发送到对端的链路检测帧的长度为预定测试字节数, 并通过下行物理 链路发送到对端; 确定当前上行物理链路的链路状态为正常链路时, 检测 所述当前上行物理链路的传输时隙是否关闭, 若未关闭, 则组建携带链路 状态信息的链路检测帧, 并通过下行物理链路发送到对端; 若已关闭, 则 开启所述当前上行物理链路的传输时隙, 恢复所述链路检测帧的原始长度, 并通过下行物理链路发送到对端; 所述链路检测帧包括: 帧类型、 帧长度 和链路状态信息。  Preferably, the foregoing apparatus further includes: a first processing module 805, configured to: when the link state of the current uplink physical link is a faulty link, close the transmission time slot of the current uplink physical link, and adjust the sending to The length of the link detection frame of the peer is a predetermined number of test bytes, and is sent to the peer end through the downlink physical link. When the link state of the current uplink physical link is determined to be a normal link, the current uplink physical link is detected. Whether the transmission time slot is closed, if not, the link detection frame carrying the link state information is set and sent to the opposite end through the downlink physical link; if it is closed, the transmission of the current uplink physical link is started. The time slot is used to recover the original length of the link detection frame, and is sent to the opposite end by using a downlink physical link. The link detection frame includes: a frame type, a frame length, and link state information.
较佳的, 上述装置, 还包括: 第二处理模块 806, 用于接收对端发送的 携带链路状态信息的链路检测帧; 根据所述链路状态信息, 确定本端的当 前下行物理链路的链路状态为故障链路时, 关闭所述当前下行物理链路的 传输时隙, 调整发送到对端的链路检测帧的长度为预定测试字节数; 确定 所述当前下行物理链路的链路状态为正常链路时, 检测所述当前下行物理 链路的传输时隙是否关闭, 若已关闭, 则开启所述当前下行物理链路的传 输时隙, 恢复所述链路检测帧的原始长度; 所述链路检测帧包括: 帧类型、 帧长度和链路状态信息。 较佳的, 上述装置, 还包括: 加权模块 807, 用于第一处理模块 805开 启当前上行物理链路的传输时隙之前, 对确定当前上行物理链路的链路状 态为正常链路的次数进行加权操作, 加权值达到阔值时, 触发所述第一处 理模块 805; 所述加权值达到阔值之前, 确定所述当前上行物理链路的链路 状态为故障链路时, 将加权值清零; 或者 Preferably, the foregoing apparatus further includes: a second processing module 806, configured to receive a link detection frame that carries the link state information sent by the peer end, and determine, according to the link state information, a current downlink physical link of the local end When the link state is a faulty link, the transmission time slot of the current downlink physical link is closed, and the length of the link detection frame sent to the opposite end is adjusted to be a predetermined test byte number; and the current downlink physical link is determined. When the link state is a normal link, detecting whether the transmission time slot of the current downlink physical link is closed, and if it is closed, turning on the transmission time slot of the current downlink physical link, and recovering the link detection frame. Original length; the link detection frame includes: a frame type, a frame length, and link state information. Preferably, the foregoing apparatus further includes: a weighting module 807, configured to determine, before the first processing module 805 starts the transmission time slot of the current uplink physical link, the number of times that the link state of the current uplink physical link is a normal link. Performing a weighting operation, when the weighting value reaches a threshold value, triggering the first processing module 805; before determining that the link state of the current uplink physical link is a faulty link, the weighting value is determined before the weighting value reaches a threshold value Cleared; or
所述第二处理模块 806开启所述当前下行物理链路的传输时隙之前, 作, 加权值达到阔值时, 触发所述第二处理模块 806; 所述加权值达到阔值 之前, 确定所述当前下行物理链路的链路状态为故障链路时, 将所述加权 值清零。  Before the second processing module 806 starts the transmission time slot of the current downlink physical link, when the weighting value reaches a threshold, the second processing module 806 is triggered; before the weighting value reaches a threshold, the location is determined. When the link state of the current downlink physical link is a faulty link, the weighted value is cleared.
较佳的, 上述装置, 还包括: 检测单元 808, 用于确定当前上行物理链 路的链路状态为故障链路时, 检测其他上行物理链路对应的业务资源池是 否有空闲的资源, 若有空闲的资源, 将当前上行物理链路正在传输的业务 数据倒换到空闲的上行物理链路; 或者  Preferably, the foregoing apparatus further includes: a detecting unit 808, configured to: determine, when the link state of the current uplink physical link is a faulty link, whether the service resource pool corresponding to the other uplink physical link has idle resources, if Have idle resources, and switch service data being transmitted by the current uplink physical link to an idle uplink physical link; or
确定当前下行物理链路的链路状态为故障链路时, 还包括: 检测其他 下行物理链路对应的业务资源池是否有空闲的资源, 若有空闲的资源, 将 所述当前下行物理链路正在传输的业务数据倒换到空闲的下行物理链路。  When the link state of the current downlink physical link is determined to be a faulty link, the method further includes: detecting whether the service resource pool corresponding to the other downlink physical link has idle resources, and if there is idle resource, the current downlink physical link The traffic data being transmitted is switched to the idle downlink physical link.
基于同一发明构思, 本发明实施例还提供了一种链路处理系统, 如图 9 所示, 该系统包括:  Based on the same inventive concept, an embodiment of the present invention further provides a link processing system. As shown in FIG. 9, the system includes:
基站控制器 901和基站收发信机 902, 两者互为对端, 均用于获取当前 上行物理链路的性能参数; 根据所述性能参数确定当前上行物理链路的链 路状态; 组建携带链路状态信息的链路检测帧, 并通过下行物理链路发送 到对端; 其中, 所述链路状态信息占用的比特数与对端到本端的上行物理 链路数量相对应。  The base station controller 901 and the base transceiver station 902 are mutually opposite ends, and are used to obtain performance parameters of the current uplink physical link. The link state of the current uplink physical link is determined according to the performance parameter. The link detection frame of the path state information is sent to the peer end through the downlink physical link. The number of bits occupied by the link state information corresponds to the number of uplink physical links from the peer end to the local end.
较佳的, 所述基站控制器 901和基站收发信机 902,还用于接收对端发 送的携带链路状态信息的链路检测帧; 根据所述链路状态信息, 确定本端 的当前下行物理链路的链路状态为故障链路时, 关闭所述当前下行物理链 路的传输时隙, 调整发送到对端的链路检测帧的长度为预定测试字节数; 确定所述当前下行物理链路的链路状态为正常链路时, 检测所述当前下行 物理链路的传输时隙是否关闭, 若已关闭, 则开启所述当前下行物理链路 的传输时隙, 恢复所述链路检测帧的原始长度; 所述链路检测帧包括: 帧 类型、 帧长度和链路状态信息。 Preferably, the base station controller 901 and the base transceiver station 902 are further configured to receive the opposite end Sending a link detection frame carrying link state information; determining, according to the link state information, when the link state of the current downlink physical link of the local end is a faulty link, when the transmission of the current downlink physical link is closed The gap is adjusted, and the length of the link detection frame sent to the peer end is a predetermined number of test bytes. When the link state of the current downlink physical link is determined to be a normal link, the transmission time slot of the current downlink physical link is detected. Whether it is off, if it is off, the transmission time slot of the current downlink physical link is turned on, and the original length of the link detection frame is restored; the link detection frame includes: a frame type, a frame length, and link state information. .
通过上述描述, 可以看出, 使用本发明实施例提供的链路处理的方法、 装置和系统, 通过在链路检测帧中添加链路状态信息, 使得对端及时获知 物理链路的传输状态, 并进行相应的处理, 避免继续使用故障链路传输数 据造成数据丟包的现象, 减少重传占用的带宽, 提高数据传输的稳定性, 从而提高网络性能。  Through the above description, it can be seen that the method, the device and the system for the link processing provided by the embodiment of the present invention enable the peer to know the transmission status of the physical link in time by adding the link state information in the link detection frame. And the corresponding processing, to avoid the phenomenon of data loss caused by continuing to use the faulty link to transmit data, reduce the bandwidth occupied by retransmission, improve the stability of data transmission, and thereby improve network performance.
本领域内的技术人员应明白, 本发明的实施例可提供为方法、 系统、 或计算机程序产品。 因此, 本发明可釆用完全硬件实施例、 完全软件实施 例、 或结合软件和硬件方面的实施例的形式。 而且, 本发明可釆用在一个 或多个其中包含有计算机可用程序代码的计算机可用存储介质 (包括但不 限于磁盘存储器、 CD-ROM、 光学存储器等)上实施的计算机程序产品的 形式。  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 one or more computer program products embodied on a computer-usable storage medium (including but not limited to disk storage, CD-ROM, optical storage, etc.) in which computer usable program code is embodied.
本发明是参照根据本发明实施例的方法、 设备(系统)、 和计算机程序 产品的流程图和 /或方框图来描述的。 应理解可由计算机程序指令实现流 程图和 /或方框图中的每一流程和 /或方框、 以及流程图和 /或方框图中 的流程和 /或方框的结合。 可提供这些计算机程序指令到通用计算机、 专 用计算机、 嵌入式处理机或其他可编程数据处理设备的处理器以产生一个 机器, 使得通过计算机或其他可编程数据处理设备的处理器执行的指令产 生用于实现在流程图一个流程或多个流程和 /或方框图一个方框或多个方 框中指定的功能的装置。 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 illustrations and/or FIG. 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. Implementing one or more blocks in a process or multiple processes and/or block diagrams in the flowchart The device for the function specified in the box.
这些计算机程序指令也可存储在能引导计算机或其他可编程数据处理 设备以特定方式工作的计算机可读存储器中, 使得存储在该计算机可读存 储器中的指令产生包括指令装置的制造品, 该指令装置实现在流程图一个 流程或多个流程和 /或方框图一个方框或多个方框中指定的功能。  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. The instructions provide steps for implementing the functions specified in one or more of the flow or in a block or blocks of a flow diagram.
尽管已描述了本发明的优选实施例, 但本领域内的技术人员一旦得知 了基本创造性概念, 则可对这些实施例作出另外的变更和修改。 所以, 所 附权利要求意欲解释为包括优选实施例以及落入本发明范围的所有变更和 修改。 本发明的精神和范围。 这样, 倘若本发明的这些修改和变型属于本发明权 利要求及其等同技术的范围之内, 则本发明也意图包含这些改动和变型在 内。  While the preferred embodiment of the invention has been described, the subject matter Therefore, it is intended that the appended claims be interpreted as including The spirit and scope of the invention. Thus, it is intended that the present invention cover the modifications and modifications of the invention

Claims

权利要求书 Claim
1、 一种链路处理方法, 其特征在于, 该方法包括:  A link processing method, characterized in that the method comprises:
本端获取当前上行物理链路的性能参数;  The local end acquires performance parameters of the current uplink physical link.
根据所述性能参数确定当前上行物理链路的链路状态;  Determining, according to the performance parameter, a link state of a current uplink physical link;
组建携带链路状态信息的链路检测帧, 并通过下行物理链路发送到对 端;  Establishing a link detection frame carrying link state information, and transmitting the link to the peer end through the downlink physical link;
其中, 所述链路状态信息占用的比特数与对端到本端的上行物理链路 数量相对应。  The number of bits occupied by the link state information corresponds to the number of uplink physical links from the peer end to the local end.
2、 如权利要求 1所述的方法, 其特征在于, 所述本端获取当前上行物 理链路的性能参数之前, 该方法还包括: 本端根据预配置的基本物理时隙 与对端建立逻辑链路, 一条所述逻辑链路对应一条或一条以上所述上行物 理链路和所述下行物理链路。  The method according to claim 1, wherein before the local end acquires the performance parameter of the current uplink physical link, the method further includes: the local end establishes logic according to the pre-configured basic physical time slot and the opposite end. A link, one of the logical links corresponding to one or more of the uplink physical link and the downlink physical link.
3、 如权利要求 1所述的方法, 其特征在于, 所述本端获取当前上行物 理链路的性能参数为:  The method according to claim 1, wherein the performance parameter of the current uplink physical link is obtained by the local end:
启动链路检测功能, 获取本端当前物理层和链路层的性能参数; 其中, 本端周期性启动所述链路检测功能; 所述性能参数包括: 物理层循环冗余 校验码 CRC错误数、 链路层重传帧数目和跳帧数目。  The link detection function is started, and the performance parameters of the current physical layer and the link layer of the local end are obtained. The local end periodically starts the link detection function. The performance parameters include: physical layer cyclic redundancy check code CRC error Number, number of link layer retransmission frames, and number of frame skips.
4、 如权利要求 3所述的方法, 其特征在于, 所述根据所述性能参数确 定当前上行物理链路的链路状态为:  The method according to claim 3, wherein the determining, according to the performance parameter, a link state of a current uplink physical link is:
将所述性能参数与预置参数阔值进行比较, 根据比较结果确定所述当 前上行物理链路的链路状态。  The performance parameter is compared with the preset parameter threshold, and the link state of the current uplink physical link is determined according to the comparison result.
5、 如权利要求 4所述的方法, 其特征在于, 该方法还包括:  5. The method of claim 4, wherein the method further comprises:
确定当前上行物理链路的链路状态为故障链路时, 关闭所述当前上行 物理链路的传输时隙, 调整发送到对端的链路检测帧的长度为预定测试字 节数, 并通过下行物理链路发送到对端。 When the link state of the current uplink physical link is determined to be a faulty link, the transmission time slot of the current uplink physical link is closed, and the length of the link detection frame sent to the opposite end is adjusted to a predetermined test byte number, and the downlink number is passed. The physical link is sent to the peer.
6、 如权利要求 4或 5所述的方法, 其特征在于, 该方法还包括: 确定当前上行物理链路的链路状态为正常链路时, 检测所述当前上行 物理链路的传输时隙是否关闭, 若未关闭, 则组建携带链路状态信息的链 路检测帧, 并通过下行物理链路发送到对端; 若已关闭, 则开启所述当前 上行物理链路的传输时隙, 恢复所述链路检测帧的原始长度, 并通过下行 物理链路发送到对端; 所述链路检测帧包括: 帧类型、 帧长度和链路状态 信息。 The method according to claim 4 or 5, wherein the method further comprises: determining a transmission time slot of the current uplink physical link when the link state of the current uplink physical link is a normal link If it is not closed, the link detection frame carrying the link state information is set up and sent to the opposite end through the downlink physical link; if it is closed, the transmission time slot of the current uplink physical link is started, and the transmission is resumed. The link detects the original length of the frame and sends the data to the peer through the downlink physical link. The link detection frame includes: a frame type, a frame length, and link state information.
7、 如权利要求 6所述的方法, 其特征在于, 所述开启所述当前上行物 理链路的传输时隙之前, 该方法还包括: 作, 加权值达到阔值时, 开启所述当前上行物理链路的传输时隙, 恢复所 述链路检测帧的原始长度, 并通过下行物理链路发送到对端; 所述加权值 达到阔值之前, 确定所述当前上行物理链路的链路状态为故障链路时, 将 所述加权值清零。  The method of claim 6, wherein the method further comprises: when the weighting value reaches a threshold, the current uplink is started, before the transmitting the time slot of the current uplink physical link The transmission time slot of the physical link recovers the original length of the link detection frame, and sends the link to the opposite end through the downlink physical link. Before the weighted value reaches the threshold, the link of the current uplink physical link is determined. When the status is a faulty link, the weighted value is cleared.
8、 如权利要求 1所述的方法, 其特征在于, 该方法还包括:  8. The method according to claim 1, wherein the method further comprises:
本端接收对端发送的携带链路状态信息的链路检测帧;  The local end receives the link detection frame that carries the link state information sent by the peer end.
根据所述链路状态信息, 确定本端的当前下行物理链路的链路状态为 故障链路时, 关闭所述当前下行物理链路的传输时隙, 调整发送到对端的 链路检测帧的长度为预定测试字节数;  Determining, according to the link state information, that the link state of the current downlink physical link of the local end is a faulty link, turning off the transmission time slot of the current downlink physical link, and adjusting the length of the link detection frame sent to the opposite end. The number of test bytes for scheduling;
确定所述当前下行物理链路的链路状态为正常链路时, 检测所述当前 下行物理链路的传输时隙是否关闭, 若已关闭, 则开启所述当前下行物理 链路的传输时隙, 恢复所述链路检测帧的原始长度; 所述链路检测帧包括: 帧类型、 帧长度和链路状态信息。  When it is determined that the link state of the current downlink physical link is a normal link, detecting whether the transmission time slot of the current downlink physical link is closed, and if it is closed, turning on the transmission time slot of the current downlink physical link And recovering an original length of the link detection frame; the link detection frame includes: a frame type, a frame length, and link state information.
9、 如权利要求 8所述的方法, 其特征在于, 所述开启所述当前下行物 理链路的传输时隙之前, 该方法还包括: 对确定所述当前下行物理链路的 链路状态为正常链路的次数进行加权操作, 加权值达到阈值时, 开启所述 当前下行物理链路的传输时隙, 恢复所述链路检测帧的原始长度; 所述加 权值达到阔值之前, 确定所述当前下行物理链路的链路状态为故障链路时 , 将所述加权值清零。 The method of claim 8, wherein before the opening a transmission time slot of the current downlink physical link, the method further comprises: determining the current downlink physical link The link state is a weighted operation for the number of times of the normal link. When the weighted value reaches the threshold, the transmission time slot of the current downlink physical link is started, and the original length of the link detection frame is restored; the weighted value reaches a threshold. Before determining that the link state of the current downlink physical link is a faulty link, the weighting value is cleared.
10、 如权利要求 5或 8所述的方法, 其特征在于,  10. The method of claim 5 or 8, wherein
本端为基站控制器, 且确定当前上行物理链路的链路状态为故障链路 时, 该方法还包括: 检测其他上行物理链路对应的业务资源池是否有空闲 的资源, 若有空闲的资源, 将所述当前上行物理链路正在传输的业务数据 倒换到空闲的上行物理链路;  When the local end is a base station controller, and the link state of the current uplink physical link is determined to be a faulty link, the method further includes: detecting whether the service resource pool corresponding to the other uplink physical link has idle resources, if there is idle The resource, the service data that is being transmitted by the current uplink physical link is switched to an idle uplink physical link;
本端为基站控制器, 且确定当前下行物理链路的链路状态为故障链路 时, 该方法还包括: 检测其他下行物理链路对应的业务资源池是否有空闲 的资源, 若有空闲的资源, 将所述当前下行物理链路正在传输的业务数据 倒换到空闲的下行物理链路。  When the local end is a base station controller, and the link state of the current downlink physical link is determined to be a faulty link, the method further includes: detecting whether the service resource pool corresponding to the other downlink physical link has idle resources, if there is idle The resource, the service data that is being transmitted by the current downlink physical link is switched to the idle downlink physical link.
11、 一种链路处理装置, 其特征在于, 该装置包括:  11. A link processing device, the device comprising:
获取模块, 用于获取当前上行物理链路的性能参数;  An obtaining module, configured to acquire performance parameters of a current uplink physical link;
确定模块, 用于根据所述性能参数确定当前上行物理链路的链路状态; 组建模块, 用于组建携带链路状态信息的链路检测帧, 其中, 所述链 路状态信息占用的比特数与对端到本端的上行物理链路数量相对应;  a determining module, configured to determine, according to the performance parameter, a link state of a current uplink physical link; a building module, configured to set a link detection frame that carries link state information, where the number of bits occupied by the link state information Corresponds to the number of uplink physical links from the peer to the local end;
发送模块, 用于将所述组建模块组建的链路检测帧通过下行物理链路 发送到对端。  And a sending module, configured to send the link detection frame formed by the component module to the peer end by using a downlink physical link.
12、 如权利要求 11所述的装置, 其特征在于, 所述获取模块获取当前 上行物理链路的性能参数为: 启动链路检测功能, 获取本端当前物理层和 链路层的性能参数; 其中, 周期性启动所述链路检测功能; 所述性能参数 包括:物理层循环冗余校验码 CRC错误数、链路层重传帧数目和跳帧数目。  The device of claim 11, wherein the obtaining module obtains the performance parameter of the current uplink physical link as: starting a link detection function, and acquiring performance parameters of the current physical layer and the link layer of the local end; The link detection function is periodically started. The performance parameters include: a physical layer cyclic redundancy check code CRC error number, a link layer retransmission frame number, and a number of skip frames.
13、 如权利要求 11所述的装置, 其特征在于, 所述确定模块根据所述 性能参数确定当前上行物理链路的链路状态为: 将所述性能参数与预置参 数阔值进行比较, 根据比较结果确定当前上行物理链路的链路状态。 13. The apparatus according to claim 11, wherein the determining module is according to the The performance parameter determines the link state of the current uplink physical link as follows: The performance parameter is compared with the preset parameter threshold, and the link state of the current uplink physical link is determined according to the comparison result.
14、 如权利要求 11所述的装置, 其特征在于, 该装置还包括: 第一处理模块, 用于确定当前上行物理链路的链路状态为故障链路时, 关闭所述当前上行物理链路的传输时隙, 调整发送到对端的链路检测帧的 长度为预定测试字节数, 并通过下行物理链路发送到对端; 确定当前上行 物理链路的链路状态为正常链路时, 检测所述当前上行物理链路的传输时 隙是否关闭, 若未关闭, 则组建携带链路状态信息的链路检测帧, 并通过 下行物理链路发送到对端; 若已关闭, 则开启所述当前上行物理链路的传 输时隙, 恢复所述链路检测帧的原始长度, 并通过下行物理链路发送到对 端; 所述链路检测帧包括: 帧类型、 帧长度和链路状态信息。  The device of claim 11, further comprising: a first processing module, configured to: when the link state of the current uplink physical link is a faulty link, close the current uplink physical chain The transmission time slot of the path, the length of the link detection frame sent to the opposite end is adjusted to be a predetermined number of test bytes, and is sent to the opposite end through the downlink physical link; when the link state of the current uplink physical link is determined to be a normal link Detecting whether the transmission time slot of the current uplink physical link is closed, and if not, setting up a link detection frame carrying the link state information, and sending the link detection frame to the opposite end through the downlink physical link; The transmission time slot of the current uplink physical link recovers the original length of the link detection frame, and is sent to the opposite end by using a downlink physical link. The link detection frame includes: a frame type, a frame length, and a link. status information.
15、 如权利要求 11所述的装置, 其特征在于, 该装置还包括: 第二处理模块, 用于接收对端发送的携带链路状态信息的链路检测帧; 根据所述链路状态信息, 确定本端的当前下行物理链路的链路状态为故障 链路时, 关闭所述当前下行物理链路的传输时隙, 调整发送到对端的链路 检测帧的长度为预定测试字节数; 确定所述当前下行物理链路的链路状态 为正常链路时, 检测所述当前下行物理链路的传输时隙是否关闭, 若已关 闭, 则开启所述当前下行物理链路的传输时隙, 恢复所述链路检测帧的原 始长度; 所述链路检测帧包括: 帧类型、 帧长度和链路状态信息。  The device according to claim 11, wherein the device further comprises: a second processing module, configured to receive a link detection frame that carries link state information sent by the opposite end; When the link state of the current downlink physical link of the local end is a faulty link, the transmission time slot of the current downlink physical link is closed, and the length of the link detection frame sent to the opposite end is adjusted to be a predetermined test byte number; When it is determined that the link state of the current downlink physical link is a normal link, detecting whether the transmission time slot of the current downlink physical link is closed, and if it is closed, turning on the transmission time slot of the current downlink physical link And recovering an original length of the link detection frame; the link detection frame includes: a frame type, a frame length, and link state information.
16、 如权利要求 14或 15所述的装置, 其特征在于, 该装置还包括: 加权模块, 用于第一处理模块开启当前上行物理链路的传输时隙之前, 权值达到阔值时, 触发所述第一处理模块; 所述加权值达到阔值之前, 确 定所述当前上行链路的链路状态为故障链路时, 将加权值清零; 或  The device according to claim 14 or 15, wherein the device further comprises: a weighting module, configured to: before the first processing module starts the transmission time slot of the current uplink physical link, when the weight reaches a threshold value, Trimming the first processing module; before determining that the current uplink link state is a faulty link, the weighting value is cleared; or
所述第二处理模块开启所述当前下行物理链路的传输时隙之前, 对确 权值达到阔值时, 触发所述第二处理模块; 所述加权值达到阔值之前, 确 定所述当前下行物理链路的链路状态为故障链路时, 将所述加权值清零。 Before the second processing module starts the transmission time slot of the current downlink physical link, When the weight reaches a threshold, the second processing module is triggered. When the weight of the current downlink physical link is determined to be a faulty link, the weighting value is cleared.
17、 如权利要求 11所述的装置, 其特征在于, 该装置还包括: 检测单元, 用于确定当前上行物理链路的链路状态为故障链路时, 检 测其他上行物理链路对应的业务资源池是否有空闲的资源, 若有空闲的资 源, 将当前上行物理链路正在传输的业务数据倒换到空闲的上行物理链路; 或,  The device according to claim 11, wherein the device further comprises: a detecting unit, configured to detect a service corresponding to another uplink physical link when the link state of the current uplink physical link is a faulty link Whether the resource pool has idle resources, and if there are idle resources, the service data that is being transmitted by the current uplink physical link is switched to the idle uplink physical link; or
确定当前下行物理链路的链路状态为故障链路时, 该装置还包括: 检 测其他下行物理链路对应的业务资源池是否有空闲的资源, 若有空闲的资 源, 将所述当前下行物理链路正在传输的业务数据倒换到空闲的下行物理 链路。  When the link status of the current downlink physical link is a faulty link, the device further includes: detecting whether the service resource pool corresponding to the other downlink physical link has idle resources, and if there is idle resources, the current downlink physical The service data being transmitted by the link is switched to the idle downlink physical link.
18、 一种链路处理系统, 其特征在于, 该系统包括: 基站控制器和基 站收发信机, 两者互为对端, 均用于获取当前上行物理链路的性能参数; 根据所述性能参数确定当前上行物理链路的链路状态; 组建携带链路状态 信息的链路检测帧, 并通过下行物理链路发送到对端; 其中, 所述链路状 态信息占用的比特数与对端到本端的上行物理链路数量相对应。  A link processing system, the system comprising: a base station controller and a base transceiver station, wherein the two are mutually opposite ends, and are used to obtain performance parameters of the current uplink physical link; The parameter determines the link state of the current uplink physical link. The link detection frame that carries the link state information is sent to the peer end through the downlink physical link. The number of bits occupied by the link state information and the peer end The number of uplink physical links to the local end corresponds.
19、 如权利要求 18所述的系统, 其特征在于, 所述基站控制器和基站 收发信机, 还用于接收对端发送的携带链路状态信息的链路检测帧; 根据 所述链路状态信息, 确定本端的当前下行物理链路的链路状态为故障链路 时, 关闭所述当前下行物理链路的传输时隙, 调整发送到对端的链路检测 帧的长度为预定测试字节数; 确定所述当前下行物理链路的链路状态为正 常链路时, 检测所述当前下行物理链路的传输时隙是否关闭, 若已关闭, 则开启所述当前下行物理链路的传输时隙, 恢复所述链路检测帧的原始长 度; 所述链路检测帧包括: 帧类型、 帧长度和链路状态信息。  The system according to claim 18, wherein the base station controller and the base transceiver station are further configured to receive a link detection frame that carries the link state information sent by the opposite end; Status information, when the link state of the current downlink physical link of the local end is determined to be a faulty link, the transmission time slot of the current downlink physical link is closed, and the length of the link detection frame sent to the opposite end is adjusted to a predetermined test byte. If the link state of the current downlink physical link is a normal link, it is detected whether the transmission time slot of the current downlink physical link is closed, and if it is closed, the transmission of the current downlink physical link is started. a time slot, recovering an original length of the link detection frame; the link detection frame includes: a frame type, a frame length, and link state information.
PCT/CN2012/072953 2011-08-09 2012-03-23 Link processing method, device and system WO2012155684A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201110226860.3 2011-08-09
CN2011102268603A CN102932820A (en) 2011-08-09 2011-08-09 Link processing method, device and system

Publications (1)

Publication Number Publication Date
WO2012155684A1 true WO2012155684A1 (en) 2012-11-22

Family

ID=47176260

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2012/072953 WO2012155684A1 (en) 2011-08-09 2012-03-23 Link processing method, device and system

Country Status (2)

Country Link
CN (1) CN102932820A (en)
WO (1) WO2012155684A1 (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106372026B (en) * 2015-07-22 2020-01-31 深圳市中兴微电子技术有限公司 link detection method and receiving equipment
CN107888345B (en) * 2016-09-29 2022-02-18 中兴通讯股份有限公司 Information transmission method and equipment
CN108024288A (en) * 2016-11-04 2018-05-11 电信科学技术研究院 A kind of information processing method and device
CN107347019A (en) * 2017-04-20 2017-11-14 武汉迈力特通信有限公司 The apparatus and method of MSTP system ethernet link failure fast transfers
CN115914585B (en) * 2022-11-04 2023-08-01 南京林业大学 Comprehensive management system for broadcast television satellite transmission

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1859358A (en) * 2005-07-08 2006-11-08 华为技术有限公司 Method for series and anti-series link data of equalizing complex strip parallel
CN1866766A (en) * 2006-02-15 2006-11-22 华为技术有限公司 Chain circuit heat backup method and system
US20070072600A1 (en) * 2005-06-29 2007-03-29 Samsung Electronics Co., Ltd. Method and system for reporting link state in a communication system
US20100260052A1 (en) * 2009-04-10 2010-10-14 Samsung Electronics Co. Ltd. Apparatus and method for detecting femto base station in wireless communication system

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN100431303C (en) * 2004-06-15 2008-11-05 中兴通讯股份有限公司 Link detection for realizing multi-link agreement
CN101170832B (en) * 2007-11-22 2012-10-10 中兴通讯股份有限公司 A method for realizing base station transceiver loop networking
AU2009286054A1 (en) * 2008-08-29 2010-03-04 Interdigital Patent Holdings, Inc. IP mobility for devices with multiple radios

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070072600A1 (en) * 2005-06-29 2007-03-29 Samsung Electronics Co., Ltd. Method and system for reporting link state in a communication system
CN1859358A (en) * 2005-07-08 2006-11-08 华为技术有限公司 Method for series and anti-series link data of equalizing complex strip parallel
CN1866766A (en) * 2006-02-15 2006-11-22 华为技术有限公司 Chain circuit heat backup method and system
US20100260052A1 (en) * 2009-04-10 2010-10-14 Samsung Electronics Co. Ltd. Apparatus and method for detecting femto base station in wireless communication system

Also Published As

Publication number Publication date
CN102932820A (en) 2013-02-13

Similar Documents

Publication Publication Date Title
Wu et al. Streaming high-quality mobile video with multipath TCP in heterogeneous wireless networks
KR102002660B1 (en) Dynamic tcp layer optimization for real-time field performance
JP5185391B2 (en) Efficient flow control in radio network controller (RNC)
JP4697525B2 (en) Transmission / reception system, transmission apparatus and transmission method, reception apparatus and reception method, and program
US20220182185A1 (en) Systems and Methods to Reduce Consecutive Packet Loss for Delay Critical Traffic
EP3447943B1 (en) Data transmission method, device and system
TW200803381A (en) Radio link failure detection procedures in long term evolution uplink and downlink and apparatus therefor
WO2012155684A1 (en) Link processing method, device and system
CN109803315B (en) Data transmission method and device
WO2020006653A1 (en) Method and device for shunting based on link quality under dual connectivity
WO2015069944A1 (en) Systems and methods for proactive congestion detection in radio access networks
WO2015039304A1 (en) Method and apparatus for delimiting problem
WO2017185374A1 (en) Method for processing voice service and base station
KR20180137281A (en) Method and apparatus for transmitting a TCP ACK in a communication system
Abdelsalam et al. TCP Wave resilience to link changes-A new transport layer approach towards dynamic communication environments
US20220124764A1 (en) Method of processing transmission, terminal and network device
CN110168983B (en) Method and apparatus for data retransmission
CN115004659A (en) Method and apparatus for transmitting real-time media stream
EP3456146B1 (en) Method and device for loss mitigation during device to device communication mode switching
KR20190011898A (en) Terminal, base station, and transmitting method thereof in a wireless communication system
Khafizov et al. Running TCP over IS-2000
JP2013085135A (en) Network terminal device and data transmission method
JPWO2015178017A1 (en) Communication device
US11632326B1 (en) Selection of network paths for reliable communications based on network reliability metrics
WO2014139307A1 (en) Method and apparatus for mcs switching

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

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

Country of ref document: EP

Kind code of ref document: A1