WO2014019389A1 - Data transmission method and network side device - Google Patents

Data transmission method and network side device Download PDF

Info

Publication number
WO2014019389A1
WO2014019389A1 PCT/CN2013/075054 CN2013075054W WO2014019389A1 WO 2014019389 A1 WO2014019389 A1 WO 2014019389A1 CN 2013075054 W CN2013075054 W CN 2013075054W WO 2014019389 A1 WO2014019389 A1 WO 2014019389A1
Authority
WO
WIPO (PCT)
Prior art keywords
data
capwap
module
tunnel
network side
Prior art date
Application number
PCT/CN2013/075054
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 WO2014019389A1 publication Critical patent/WO2014019389A1/en

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/08Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters
    • H04L43/0805Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters by checking availability

Definitions

  • Embodiments of the present invention relate to the field of communication technologies, and, more particularly, to a method of transmitting data and a network side device. Background technique
  • CAPWAP Wireless Access Points
  • ACs Access Controllers
  • WTP Wireless Termination Points
  • CAPWAP includes data tunneling. The AC and WTP periodically detect the status of the data tunnel through keep-alive packets. If the keepalive packet of the data tunnel is lost during the data transmission, the CAPWAP is broken, which affects the WTP service. Summary of the invention
  • the present invention proposes a method for transmitting data and a network side device, which can improve the reliability of the CAPWAP link.
  • the present invention provides a method of transmitting data, including:
  • the data packet is sent through the CAPWAP data tunnel, it is determined that the CAPWAP data tunnel has data transmission;
  • the The CAPWAP data tunnel has data transmission.
  • the keep-alive message is resumed.
  • the method is performed by the access controller AC and the wireless terminal point WTP.
  • the present invention provides a network side device, including:
  • a sending module configured to send a keep-alive message
  • a determining module configured to determine whether the wireless access point controls and configures whether the CAPWAP data tunnel has data transmission
  • control module configured to control the sending module to stop sending the keep-alive message if the determining module determines that the CAPWAP data tunnel has data transmission.
  • the sending module is further configured to send a data packet by using the CAPWAP data tunnel.
  • the determining module determines that the CAPWAP data tunnel has data transmission.
  • the device further includes: a timing module, configured to start timing when the sending module sends the data packet through the CAPWAP data tunnel; and the control module is further configured to preset the timing of the timing module If the sending module does not send the data packet through the CAPWAP data tunnel again in the preset time, the sending module is controlled to resume sending the keep-alive message.
  • the device further includes: a receiving module, configured to receive a data packet by using a CAPWAP data tunnel; and when the receiving module receives the data packet by using the CAPWAP data tunnel, the determining module determines that the CAPWAP data tunnel has data transmission.
  • the device further includes: a timing module, configured to start timing when the receiving module receives the data packet through the CAPWAP data tunnel; and the control module is further configured to achieve timing in the timing module If the receiving module does not receive the data packet through the CAPWAP data tunnel in the preset time, the sending module is controlled to resume sending the keep-alive message.
  • the device further includes: a receiving module, configured to receive a data packet response by using a CAPWAP data tunnel; and determining, by the receiving module, the CAPWAP data, when the receiving module receives the data packet response through the CAPWAP data tunnel The tunnel has data transmission.
  • the device further includes: a timing module, configured to start timing when the receiving module receives the data message response through the CAPWAP data tunnel; and the control module is further configured to meet the timing of the timing module Controlling the sending module to resume sending the keep-alive report if the receiving module does not receive the data packet response through the CAPWAP data tunnel within the preset time. Text.
  • the device is a wireless terminal point WTP or an access controller AC.
  • the keep-alive packet is not sent in the data transmission process, which can prevent the CAPWAP disconnection caused by the loss of the keep-alive packet and improve the reliability of the CAPWAP link.
  • FIG. 1 is a schematic flowchart of a method for transmitting data according to an embodiment of the present invention.
  • FIG. 2 is a schematic flowchart of a method for transmitting data according to an embodiment of the present invention.
  • FIG. 3 is a schematic flowchart of a method for transmitting data according to an embodiment of the present invention.
  • FIG. 4 is a schematic block diagram of a network side device according to an embodiment of the present invention.
  • FIG. 5 is a schematic block diagram of a network side device according to another embodiment of the present invention. detailed description
  • WTP can be an access point (AP), which is responsible for simple functions such as encryption and decryption of packets and statistics of radio slots.
  • the AC is responsible for managing one or more WTPs.
  • FIG. 1 is a schematic flowchart of a method for transmitting data according to an embodiment of the present invention.
  • the method of Figure 1 can be performed by a network side device, such as by a WTP or AC.
  • the keep-alive packet is not sent in the data transmission process, which can prevent the CAPWAP disconnection caused by the loss of the keep-alive packet and improve the reliability of the CAPWAP link.
  • the method shown in FIG. 1 may be used in a case where a first network side device sends a data message to a second network side device.
  • the first network side is set.
  • the device can determine that the CAPWAP data tunnel has data transmission when the data packet is sent to the second network side device through the CAPWAP data tunnel.
  • the second network side device may determine that the CAPWAP data tunnel has data transmission if the data packet is received through the CAPWAP data tunnel.
  • the first network side device may determine that the CAPWAP data tunnel has data transmission if the data message response is received through the CAPWAP data tunnel.
  • the second network side device sends a data packet response to the first network side device, to confirm that the second network side device receives the data. Message.
  • first and second are merely used to distinguish different objects from each other, and are not limited to the modified objects.
  • function or operation of the objects modified by the “first” and “second” may be interchanged, and such modifications are still within the scope of the embodiments of the present invention.
  • the keep-alive message may be resumed.
  • the keep-alive message can be sent in the existing manner.
  • the state of the data tunnel can be detected by the keep-alive message.
  • the first network side device may resume sending the keep-alive message to the second network side device if it is determined that the CAPWAP data tunnel has no data transmission.
  • the second network side device may send a keep-alive message to the first network side device if it is determined that the CAPWAP data tunnel has no data transmission.
  • the first network side device and the second network side device determine CAPWAP data tunneling.
  • the foregoing process may also be initiated by the second network side device, and the process is similar to the foregoing process, and details are not described herein.
  • the first network side device may be WTP or AC; and the second network side device may be AC or WTP.
  • the second network side device in a case where the first network side device is a WTP, the second network side device is an AC; and in a case where the first network side device is an AC, the second network side device is a WTP.
  • FIG. 2 is a schematic flowchart of a method for transmitting data according to an embodiment of the present invention. The method is a specific embodiment of the method shown in FIG. 1.
  • the second network side device stops transmitting the keep-alive message when receiving the data packet sent by the first network side device.
  • 201 Receive a data packet from the first network side device by using a CAPWAP data tunnel.
  • the keepalive message is sent to the first network side device.
  • the second network side device receives the information from the first network side device.
  • the data packet response is sent to the first network side device, and is used to confirm that the second network side device receives the data packet.
  • the first network side device may be WTP or AC; and the second network side device may be AC or WTP.
  • the first network side device is WTP
  • the second network side device is AC
  • the second network side device is WTP.
  • the keep-alive packet is not sent in the data transmission process, which can prevent the CAPWAP disconnection caused by the loss of the keep-alive packet and improve the reliability of the CAPWAP link.
  • the keepalive message is continuously sent, and the state of the data tunnel can be detected through the keep-alive message.
  • the method of FIG. 2 can be similarly applied to other situations, for example, when the second network side device stops transmitting the keep-alive message when receiving the data message response, and the second network side device stops sending the data when sending the data message.
  • the situation of live messages For the sake of brevity, we will not repeat them.
  • FIG. 3 is a schematic flowchart of a method for transmitting data according to an embodiment of the present invention.
  • the first network side device sends a data packet to the second network side device by using the CAPWAP data tunnel.
  • the first network side device may determine that the CAPWAP data tunnel has data transmission. In this case, the first network side device may stop sending the keep-alive message to the second network side device.
  • the second network side device sends a data packet response to the first network side device, where the second network side device receives the data packet from the first network side device, and is configured to confirm that the second network side device receives the data packet. Data message.
  • the second network side device When the second network side device receives the data packet sent by the first network side device through the CAPWAP data tunnel, it may also determine that the CAPWAP data tunnel has data transmission. In this case, the second network side device may also stop sending the keep-alive message to the first network side device.
  • the first network side device may determine that the CAPWAP data tunnel has data transmission. At this time, the first network side device may stop sending the keep-alive message to the second network side device.
  • the second network side device When the second network side device receives the data packet from the first network side device, the second network side device starts timing. For example, timing is performed by a timing module provided on the second network side device. When the second network side device receives the data message from the first network side device again within the preset time, the timing module of the second network side device restarts timing. When the first network side device receives the data packet, the second network side device resumes sending the keep-alive message to the first network side device.
  • the first network side device receives the keep-alive message from the second network side device, send a keep-alive message to the second network side device, to confirm that the data tunnel of the CAPWAP is not broken.
  • the first network side device may be WTP or AC; and the second network side device may be AC or WTP.
  • the second network side device is an AC; and in a case where the first network side device is an AC, the second network side device is a WTP.
  • the method shown in FIG. 3 is a case where the first network side device sends a data message to the second network side device.
  • the second network side device may also send a data packet to the first network side device.
  • the method of setting the second network side is similar to the method shown in FIG. 3, and need not be described here.
  • the CAPWAP broken link caused by the loss of the data tunnel keep-alive packet can be prevented, and the reliability of the CAPWAP link is improved.
  • FIG. 4 is a schematic block diagram of a network side device according to an embodiment of the present invention.
  • the network side device 400 of FIG. 4 includes a transmitting module 401, a determining module 402, and a control module 403.
  • the sending module 401 sends a keep-alive message.
  • the determination module 402 determines if the CAPWAP data tunnel has data transmission.
  • the keep-alive packet is not sent in the data transmission process, which can prevent the CAPWAP disconnection caused by the loss of the keep-alive packet and improve the reliability of the CAPWAP link.
  • the network side device 400 of FIG. 4 may be WTP or AC, and may perform various steps of the method shown in FIG. 1 to FIG. 3, and will not be described in detail in order to avoid redundancy.
  • FIG. 5 is a schematic block diagram of a network side device according to another embodiment of the present invention.
  • the network side device 500 of Fig. 5 is one embodiment of the network side device 400.
  • the network side device 500 may be the first network side device and the second network side device in FIG.
  • the network side device 500 includes: a sending module 501, a determining module 502, a control module 503, a receiving module 504, and a timing module 505.
  • the sending module 501 can send a keep-alive message.
  • the determining module 502 determines the CAPWAP data tunnel Whether the channel has data transmission.
  • the control module 503 stops the transmission of the keep-alive message if the determining module 502 determines that the CAPWAP data tunnel has data transmission.
  • the sending module 501 can also send a data packet by using a CAPWAP data tunnel.
  • the transmitting module 501 transmits a data message through the CAPWAP data tunnel
  • the determining module 502 determines that the CAPWAP data tunnel has data transmission.
  • the control module 503 controls the transmitting module 501 to stop transmitting the keep-alive message.
  • the network side device 500 may further include a timing module 505 for starting timing when the transmitting module 501 transmits a data message through the CAPWAP data tunnel.
  • the control module 503 when the timing of the timing module 505 reaches the preset time and the transmitting module 501 does not send the data packet through the CAPWAP data tunnel, the control sending module 501 resumes transmitting the keep-alive message. In this way, the state of the data tunnel can be detected through the keep-alive message.
  • the network side device 500 may further include a receiving module 504, configured to receive a data message by using a CAPWAP data tunnel.
  • the receiving module 504 receives the data message through the CAPWAP data tunnel
  • the determining module 502 determines that the CAPWAP data tunnel has data transmission.
  • the control module 503 controls the transmitting module 501 to stop transmitting the keep-alive message.
  • the network side device 500 may further include a timing module 505 for starting timing when the receiving module receives the data message through the CAPWAP data tunnel.
  • the control module may resume transmitting the keep-alive message if the timing of the timer module 505 reaches the preset time and the receiving module 504 does not receive the data packet through the CAPWAP data tunnel within the preset time. In this way, the state of the data tunnel can be detected through the keep-alive message.
  • the receiving module 504 can receive a data packet response by using a CAPWAP data tunnel.
  • the determining module 502 determines that the CAPWAP data tunnel has data transmission.
  • the control module 503 controls the transmitting module 501 to stop transmitting the keep-alive message.
  • the network side device 500 may further include a timing module 505 for starting timing when the receiving module receives the data message response through the CAPWAP data tunnel.
  • the control module 503 can control the sending module 501 to resume sending the keep-alive message if the timing of the timing module reaches the preset time and the receiving module 504 does not receive the data message response through the CAPWAP data tunnel within the preset time. In this way, the state of the data tunnel can be detected through the keep-alive message.
  • the keep-alive packet is not sent in the data transmission process, which can prevent the CAPWAP disconnection caused by the loss of the keep-alive packet, and improve the reliability of the CAPWAP link.
  • the network side device 500 of FIG. 5 may be WTP or AC, and various steps of the method shown in FIG. 1 to FIG. 3 may be performed. To avoid repetition, details are not described in detail.
  • the disclosed systems, devices, and methods may be implemented in other ways.
  • the device embodiments described above are merely illustrative.
  • the division of the unit is only a logical function division.
  • there may be another division manner for example, multiple units or components may be combined or Can be integrated into another system, or some features can be ignored, or not executed.
  • the coupling or direct coupling or communication connection shown or discussed may be an indirect coupling or communication connection through some interface, device or unit, and may be electrical, mechanical or otherwise.
  • the components displayed for the unit may or may not be physical units, ie may be located in one place, or may be distributed over multiple network units. Some or all of the units may be selected according to actual needs to achieve the objectives of the solution of the embodiment.
  • each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit.
  • the functions may be stored in a computer readable storage medium if implemented in the form of a software functional unit and sold or used as a standalone product.
  • the technical solution of the present invention which is essential or contributes to the prior art, or a part of the technical solution, may be embodied in the form of a software product, which is stored in a storage medium, including
  • the instructions are used to cause a computer device (which may be a personal computer, server, or network device, etc.) to perform all or part of the steps of the methods described in various embodiments of the present invention.
  • the foregoing storage medium includes: a USB flash drive, a mobile hard disk, a read-only memory (ROM, Read-Only Memory), A random access memory (RAM, Random Access Memory), a disk or an optical disk, and other media that can store program codes.

Landscapes

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

Abstract

Embodiments of the invention provide a data transmission method and a network side device. The data transmission method comprises: determining whether a CAPWAP data channel has data transmission or not; and in a case where the CAPWAP data channel has the data transmission, stopping sending of a keep-alive message. In the embodiments of the present invention, because the keep-alive message is not sent in the data transmission process, CAPWAP link breaking caused by keep-alive message loss can be prevented, thereby improving the reliability of a CAPWAP link.

Description

传输数据的方法和网络侧设备 本申请要求于 2012年 7月 31日提交中 国专利局、 申请号为 Method for transmitting data and network side device This application claims to be submitted to the Chinese Patent Office on July 31, 2012, and the application number is
201210268377. 6 , 发明名称为 "传输数据的方法和网络侧设备" 的中国 专利申请的优先权, 其全部内容通过引用结合在本申请中 201210268377. 6 , the title of the invention is the priority of the Chinese patent application of the "Method of transmitting data and the network side device", the entire contents of which are incorporated herein by reference.
技术领域 Technical field
本发明实施例涉及通信技术领域, 并且更具体地, 涉及传输数据的方法 和网络侧设备。 背景技术  Embodiments of the present invention relate to the field of communication technologies, and, more particularly, to a method of transmitting data and a network side device. Background technique
无线接入点控制与西己置 ( Control and Provisioning of Wireless Access Points, CAPWAP )是一种用于管理接入控制器( Access Controller, AC )和 无线终端点 (Wireless Termination Points, WTP ) 的标准协议。 CAPWAP包 括数据隧道。 AC和 WTP周期性通过保活 (Keep-alive )报文检测数据隧道 的状态。 如果在数据传输过程中, 数据隧道的保活报文丟失, 则 CAPWAP 发生断链, 从而影响 WTP的业务。 发明内容  Control and Provisioning of Wireless Access Points (CAPWAP) is a standard protocol for managing Access Controllers (ACs) and Wireless Termination Points (WTP). . CAPWAP includes data tunneling. The AC and WTP periodically detect the status of the data tunnel through keep-alive packets. If the keepalive packet of the data tunnel is lost during the data transmission, the CAPWAP is broken, which affects the WTP service. Summary of the invention
本发明提出一种传输数据的方法和网络侧设备, 能够提高 CAPWAP链 路的可靠性。  The present invention proposes a method for transmitting data and a network side device, which can improve the reliability of the CAPWAP link.
一方面, 本发明提供传输数据的方法, 包括:  In one aspect, the present invention provides a method of transmitting data, including:
确定无线接入点控制与配置 CAPWAP数据隧道是否有数据传输; 在该 CAPWAP数据隧道有数据传输的情况下, 停止发送保活报文。  Determine whether the wireless access point controls and configures whether the CAPWAP data tunnel has data transmission. If the CAPWAP data tunnel has data transmission, stop sending keep-alive packets.
其中确定 CAPWAP数据隧道是否有数据传输, 包括:  It determines whether the CAPWAP data tunnel has data transmission, including:
在通过该 CAPWAP数据隧道发送数据报文的情况下, 确定该 CAPWAP 数据隧道有数据传输;  In the case that the data packet is sent through the CAPWAP data tunnel, it is determined that the CAPWAP data tunnel has data transmission;
在通过该 CAPWAP 数据隧道接收到数据报文的情况下, 确定该 CAPWAP数据隧道有数据传输; 或  In the case that the data packet is received through the CAPWAP data tunnel, it is determined that the CAPWAP data tunnel has data transmission; or
在通过该 CAPWAP数据隧道接收到数据报文响应的情况下, 确定该 CAPWAP数据隧道有数据传输。 In the case that a data message response is received through the CAPWAP data tunnel, the The CAPWAP data tunnel has data transmission.
可选的,在预设时间内该 CAPWAP数据隧道中没有数据传输的情况下, 恢复发送保活报文。  Optionally, if no data transmission occurs in the CAPWAP data tunnel within a preset time, the keep-alive message is resumed.
其中该方法由接入控制器 AC和无线终端点 WTP执行。  The method is performed by the access controller AC and the wireless terminal point WTP.
另一方面, 本发明提供网络侧设备, 包括:  In another aspect, the present invention provides a network side device, including:
发送模块, 用于发送保活报文;  a sending module, configured to send a keep-alive message;
确定模块, 用于确定无线接入点控制与配置 CAPWAP数据隧道是否有 数据传输;  a determining module, configured to determine whether the wireless access point controls and configures whether the CAPWAP data tunnel has data transmission;
控制模块, 用于在该确定模块确定该 CAPWAP数据隧道有数据传输的 情况下, 控制该发送模块停止发送该保活报文。  And a control module, configured to control the sending module to stop sending the keep-alive message if the determining module determines that the CAPWAP data tunnel has data transmission.
可选的, 发送模块, 还用于通过 CAPWAP数据隧道发送数据报文; 在 该发送模块通过该 CAPWAP数据隧道发送该数据报文的情况下, 确定模块 确定该 CAPWAP数据隧道有数据传输。 可选的, 该设备还包括: 计时模块, 用于在该发送模块通过该 CAPWAP数据隧道发送该数据报文的情况下, 开 始计时; 控制模块, 还用于在该计时模块的计时达到预设时间且在该预设时 间内该发送模块没有再通过该 CAPWAP数据隧道发送数据报文的情况下, 控制该发送模块恢复发送保活报文。  Optionally, the sending module is further configured to send a data packet by using the CAPWAP data tunnel. In the case that the sending module sends the data packet through the CAPWAP data tunnel, the determining module determines that the CAPWAP data tunnel has data transmission. Optionally, the device further includes: a timing module, configured to start timing when the sending module sends the data packet through the CAPWAP data tunnel; and the control module is further configured to preset the timing of the timing module If the sending module does not send the data packet through the CAPWAP data tunnel again in the preset time, the sending module is controlled to resume sending the keep-alive message.
可选的, 该设备还包括: 接收模块, 用于通过 CAPWAP数据隧道接收 数据报文; 在该接收模块通过该 CAPWAP数据隧道接收到该数据报文的情 况下, 确定模块确定该 CAPWAP数据隧道有数据传输。 可选的, 该设备还 包括: 计时模块, 用于在该接收模块通过该 CAPWAP数据隧道接收到该数 据报文的情况下, 开始计时; 控制模块, 还用于在该计时模块的计时达到预 设时间且在该预设时间内该接收模块没有再通过该 CAPWAP数据隧道接收 到数据报文的情况下, 控制该发送模块恢复发送保活报文。  Optionally, the device further includes: a receiving module, configured to receive a data packet by using a CAPWAP data tunnel; and when the receiving module receives the data packet by using the CAPWAP data tunnel, the determining module determines that the CAPWAP data tunnel has data transmission. Optionally, the device further includes: a timing module, configured to start timing when the receiving module receives the data packet through the CAPWAP data tunnel; and the control module is further configured to achieve timing in the timing module If the receiving module does not receive the data packet through the CAPWAP data tunnel in the preset time, the sending module is controlled to resume sending the keep-alive message.
可选的, 该设备还包括: 接收模块, 用于通过 CAPWAP数据隧道接收 数据报文响应; 在该接收模块通过该 CAPWAP数据隧道接收到该数据报文 响应的情况下, 确定模块确定该 CAPWAP数据隧道有数据传输。 可选的, 该设备还包括: 计时模块, 用于在该接收模块通过该 CAPWAP数据隧道接 收到该数据报文响应的情况下, 开始计时; 控制模块, 还用于在该计时模块 的计时达到预设时间且在该预设时间内该接收模块没有再通过该 CAPWAP 数据隧道接收到数据报文响应的情况下, 控制该发送模块恢复发送保活报 文。 Optionally, the device further includes: a receiving module, configured to receive a data packet response by using a CAPWAP data tunnel; and determining, by the receiving module, the CAPWAP data, when the receiving module receives the data packet response through the CAPWAP data tunnel The tunnel has data transmission. Optionally, the device further includes: a timing module, configured to start timing when the receiving module receives the data message response through the CAPWAP data tunnel; and the control module is further configured to meet the timing of the timing module Controlling the sending module to resume sending the keep-alive report if the receiving module does not receive the data packet response through the CAPWAP data tunnel within the preset time. Text.
其中, 该设备是无线终端点 WTP或接入控制器 AC。  The device is a wireless terminal point WTP or an access controller AC.
本发明实施例在数据传输过程中不再发送保活报文, 这样能够防止由于 保活报文丟失引起的 CAPWAP断链, 提高了 CAPWAP链路的可靠性。 附图说明  In the embodiment of the present invention, the keep-alive packet is not sent in the data transmission process, which can prevent the CAPWAP disconnection caused by the loss of the keep-alive packet and improve the reliability of the CAPWAP link. DRAWINGS
为了更清楚地说明本发明实施例的技术方案, 下面将对本发明实施例中 所需要使用的附图作简单地介绍, 显而易见地, 下面所描述的附图仅仅是本 发明的一些实施例, 对于本领域普通技术人员来讲, 在不付出创造性劳动的 前提下, 还可以根据这些附图获得其他的附图。  In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings to be used in the embodiments of the present invention will be briefly described below. It is obvious that the drawings described below are only some embodiments of the present invention, Those skilled in the art can also obtain other drawings based on these drawings without paying any creative work.
图 1是本发明实施例提供的传输数据的方法的示意性流程图。  FIG. 1 is a schematic flowchart of a method for transmitting data according to an embodiment of the present invention.
图 2是本发明实施例提供的传输数据的方法的示意性流程图。  FIG. 2 is a schematic flowchart of a method for transmitting data according to an embodiment of the present invention.
图 3是本发明实施例提供的传输数据的方法的示意性流程图。  FIG. 3 is a schematic flowchart of a method for transmitting data according to an embodiment of the present invention.
图 4是本发明实施例提供的网络侧设备的示意性框图。  FIG. 4 is a schematic block diagram of a network side device according to an embodiment of the present invention.
图 5是本发明另一实施例提供的网络侧设备的示意性框图。 具体实施方式  FIG. 5 is a schematic block diagram of a network side device according to another embodiment of the present invention. detailed description
下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行 清楚、 完整地描述, 显然, 所述的实施例是本发明的一部分实施例, 而不是 全部实施例。 基于本发明中的实施例, 本领域普通技术人员在没有做出创造 性劳动的前提下所获得的所有其他实施例, 都应属于本发明保护的范围。  The technical solutions in the embodiments of the present invention are clearly and completely described in the following with reference to the accompanying drawings in the embodiments of the present invention. It is obvious that the described embodiments are a part of the embodiments of the present invention, and not all embodiments. All other embodiments obtained by a person of ordinary skill in the art based on the embodiments of the present invention without creative work shall fall within the scope of the present invention.
WTP可以是接入点 (Access Point, AP ), 负责报文的加密和解密、 射 频空口的统计等简单功能。 AC负责管理一个或多个 WTP。  WTP can be an access point (AP), which is responsible for simple functions such as encryption and decryption of packets and statistics of radio slots. The AC is responsible for managing one or more WTPs.
图 1是本发明实施例提供的传输数据的方法的示意性流程图。 图 1的方 法可以由网络侧设备执行, 例如由 WTP或 AC执行。  FIG. 1 is a schematic flowchart of a method for transmitting data according to an embodiment of the present invention. The method of Figure 1 can be performed by a network side device, such as by a WTP or AC.
101 , 确定 CAPWAP数据隧道是否有数据传输。  101. Determine whether the CAPWAP data tunnel has data transmission.
102, 在 CAPWAP数据隧道有数据传输的情况下, 停止发送保活报文。 本发明实施例在数据传输过程中不再发送保活报文, 这样能够防止由于 保活报文丟失引起的 CAPWAP断链, 提高了 CAPWAP链路的可靠性。  102. Stop sending the keep-alive message when the CAPWAP data tunnel has data transmission. In the embodiment of the present invention, the keep-alive packet is not sent in the data transmission process, which can prevent the CAPWAP disconnection caused by the loss of the keep-alive packet and improve the reliability of the CAPWAP link.
可选地, 作为一个实施例, 图 1所示的方法可以用于第一网络侧设备向 第二网络侧设备发送数据报文的情况。 例如, 在步骤 101中, 第一网络侧设 备可以在通过 CAPWAP数据隧道向第二网络侧设备发送数据报文的情况 下, 确定 CAPWAP数据隧道有数据传输。 或者, 第二网络侧设备可以在通 过 CAPWAP数据隧道接收到数据报文的情况下,确定 CAPWAP数据隧道有 数据传输。 或者, 第一网络侧设备可以在通过 CAPWAP数据隧道接收到数 据报文响应的情况下, 确定 CAPWAP数据隧道有数据传输。 一般而言, 第 一网络侧设备向第二网络侧设备发送数据报文后, 第二网络侧设备会向第一 网络侧设备发送数据报文响应, 用于确认第二网络侧设备接收到数据报文。 Optionally, as an embodiment, the method shown in FIG. 1 may be used in a case where a first network side device sends a data message to a second network side device. For example, in step 101, the first network side is set. The device can determine that the CAPWAP data tunnel has data transmission when the data packet is sent to the second network side device through the CAPWAP data tunnel. Alternatively, the second network side device may determine that the CAPWAP data tunnel has data transmission if the data packet is received through the CAPWAP data tunnel. Alternatively, the first network side device may determine that the CAPWAP data tunnel has data transmission if the data message response is received through the CAPWAP data tunnel. Generally, after the first network side device sends the data packet to the second network side device, the second network side device sends a data packet response to the first network side device, to confirm that the second network side device receives the data. Message.
应注意, 在本申请说明书中, 术语 "第一" 和 "第二" 仅仅是为了相互 区分不同的对象, 而非对所修饰的对象的限制。 例如, 可以互换 "第一" 和 "第二" 所修饰的对象的功能或操作, 这样的修改仍然落入本发明实施例的 范围内。  It should be noted that in the specification of the present application, the terms "first" and "second" are merely used to distinguish different objects from each other, and are not limited to the modified objects. For example, the function or operation of the objects modified by the "first" and "second" may be interchanged, and such modifications are still within the scope of the embodiments of the present invention.
可选地, 作为另一实施例, 在预设时间内 CAPWAP数据隧道中没有数 据传输的情况下, 可以恢复发送保活报文。 例如可以按照现有的方式发送保 活报文。 这样可以通过保活报文检测数据隧道的状态。 例如, 第一网络侧设 备可以在确定 CAPWAP数据隧道没有数据传输的情况下, 恢复向第二网络 侧设备发送保活报文。 或者, 第二网络侧设备可以在确定 CAPWAP数据隧 道没有数据传输的情况下,向第一网络侧设备发送保活报文。在上述情况下, 第一网络侧设备和第二网络侧设备确定 CAPWAP数据隧道联通。 上述过程 也可以由第二网络侧设备发起, 过程与上述过程类似, 在此不必赘述。  Optionally, in another embodiment, if there is no data transmission in the CAPWAP data tunnel within the preset time, the keep-alive message may be resumed. For example, the keep-alive message can be sent in the existing manner. In this way, the state of the data tunnel can be detected by the keep-alive message. For example, the first network side device may resume sending the keep-alive message to the second network side device if it is determined that the CAPWAP data tunnel has no data transmission. Alternatively, the second network side device may send a keep-alive message to the first network side device if it is determined that the CAPWAP data tunnel has no data transmission. In the above case, the first network side device and the second network side device determine CAPWAP data tunneling. The foregoing process may also be initiated by the second network side device, and the process is similar to the foregoing process, and details are not described herein.
可选地, 作为一个实施例, 第一网络侧设备可以是 WTP或 AC; 第二网 络侧设备可以是 AC或 WTP。 例如, 在第一网络侧设备是 WTP的情况下, 第二网络侧设备是 AC; 在第一网络侧设备是 AC的情况下, 第二网络侧设 备是 WTP。  Optionally, as an embodiment, the first network side device may be WTP or AC; and the second network side device may be AC or WTP. For example, in a case where the first network side device is a WTP, the second network side device is an AC; and in a case where the first network side device is an AC, the second network side device is a WTP.
图 2是本发明实施例提供的传输数据的方法的示意性流程图。该方法是 图 1所示方法的一个具体实施例, 由第二网络侧设备在接收到第一网络侧设 备发送的数据报文时停止发送保活报文。  FIG. 2 is a schematic flowchart of a method for transmitting data according to an embodiment of the present invention. The method is a specific embodiment of the method shown in FIG. 1. The second network side device stops transmitting the keep-alive message when receiving the data packet sent by the first network side device.
201 , 通过 CAPWAP数据隧道从第一网络侧设备接收数据报文。  201. Receive a data packet from the first network side device by using a CAPWAP data tunnel.
202 , 停止向第一网络侧设备发送保活报文。  202. Stop sending the keep-alive message to the first network side device.
203 ,在预设的时间内没有再通过 CAPWAP数据隧道从第一网络侧设备 接收到数据报文的情况下, 恢复向第一网络侧设备发送保活报文。  203. If the data packet is received from the first network side device by using the CAPWAP data tunnel, the keepalive message is sent to the first network side device.
可选地, 作为一个实施例, 第二网络侧设备在从第一网络侧设备接收到 数据报文的情况下, 向第一网络侧设备发送数据报文响应, 用于确认第二网 络侧设备接收到数据报文。 Optionally, as an embodiment, the second network side device receives the information from the first network side device. In the case of the data packet, the data packet response is sent to the first network side device, and is used to confirm that the second network side device receives the data packet.
可选地, 作为另一实施例, 第一网络侧设备可以是 WTP或 AC; 第二网 络侧设备可以是 AC或 WTP。 在第一网络侧设备是 WTP的情况下, 第二网 络侧设备是 AC; 在第一网络侧设备是 AC 的情况下, 第二网络侧设备是 WTP。  Optionally, as another embodiment, the first network side device may be WTP or AC; and the second network side device may be AC or WTP. In the case where the first network side device is WTP, the second network side device is AC; in the case where the first network side device is AC, the second network side device is WTP.
本发明实施例在数据传输过程中不再发送保活报文, 这样能够防止由于 保活报文丟失引起的 CAPWAP断链,提高了 CAPWAP链路的可靠性。另夕卜, 在一定时间内未再接收到数据报文的情况下继续发送保活报文, 可以继续通 过保活报文检测数据隧道的状态。  In the embodiment of the present invention, the keep-alive packet is not sent in the data transmission process, which can prevent the CAPWAP disconnection caused by the loss of the keep-alive packet and improve the reliability of the CAPWAP link. In addition, if the data message is not received again within a certain period of time, the keepalive message is continuously sent, and the state of the data tunnel can be detected through the keep-alive message.
图 2的方法可以类似地应用于其他情况, 例如第二网络侧设备在接收到 数据报文响应时停止发送保活报文的情况, 以及第二网络侧设备在发送数据 报文时停止发送保活报文的情况。 为了简洁, 不再赘述。  The method of FIG. 2 can be similarly applied to other situations, for example, when the second network side device stops transmitting the keep-alive message when receiving the data message response, and the second network side device stops sending the data when sending the data message. The situation of live messages. For the sake of brevity, we will not repeat them.
图 3是本发明实施例提供的传输数据的方法的示意性流程图。  FIG. 3 is a schematic flowchart of a method for transmitting data according to an embodiment of the present invention.
301 ,第一网络侧设备通过 CAPWAP数据隧道向第二网络侧设备发送数 据报文。  301. The first network side device sends a data packet to the second network side device by using the CAPWAP data tunnel.
在第一网络侧设备通过 CAPWAP数据隧道发送数据报文的情况下, 第 一网络侧设备可以确定 CAPWAP数据隧道有数据传输。 在此情况下, 第一 网络侧设备可以停止向第二网络侧设备发送保活报文。  In the case that the first network side device sends a data packet through the CAPWAP data tunnel, the first network side device may determine that the CAPWAP data tunnel has data transmission. In this case, the first network side device may stop sending the keep-alive message to the second network side device.
302 , 在第二网络侧设备从第一网络侧设备接收到数据报文的情况下, 第二网络侧设备向第一网络侧设备发送数据报文响应, 用于确认第二网络侧 设备接收到数据报文。  302. The second network side device sends a data packet response to the first network side device, where the second network side device receives the data packet from the first network side device, and is configured to confirm that the second network side device receives the data packet. Data message.
第二网络侧设备在通过 CAPWAP数据隧道接收到第一网络侧设备发送 的数据报文的情况下, 也可以确定 CAPWAP数据隧道有数据传输。 在此情 况下, 第二网络侧设备也可以停止向第一网络侧设备发送保活报文。  When the second network side device receives the data packet sent by the first network side device through the CAPWAP data tunnel, it may also determine that the CAPWAP data tunnel has data transmission. In this case, the second network side device may also stop sending the keep-alive message to the first network side device.
另一方面, 在第一网络侧设备通过 CAPWAP数据隧道从第二网络侧设 备接收到数据报文响应的情况下, 第一网络侧设备可以确定 CAPWAP数据 隧道有数据传输。 此时, 第一网络侧设备可停止向第二网络侧设备发送保活 报文。  On the other hand, in a case where the first network side device receives the data packet response from the second network side device through the CAPWAP data tunnel, the first network side device may determine that the CAPWAP data tunnel has data transmission. At this time, the first network side device may stop sending the keep-alive message to the second network side device.
303 , 在第二网络侧设备从第一网络侧设备接收到数据报文时, 第二网 络侧设备开始计时。 例如, 由第二网络侧设备上设置的计时模块进行计时。 在第二网络侧设备在预设时间内再次从第一网络侧设备接收到数据报 文的情况下, 第二网络侧设备的计时模块重新开始计时。 第一网络侧设备接收到数据报文的情况下, 第二网络侧设备恢复向第一网络 侧设备发送保活报文。 303. When the second network side device receives the data packet from the first network side device, the second network side device starts timing. For example, timing is performed by a timing module provided on the second network side device. When the second network side device receives the data message from the first network side device again within the preset time, the timing module of the second network side device restarts timing. When the first network side device receives the data packet, the second network side device resumes sending the keep-alive message to the first network side device.
305 , 在第一网络侧设备从第二网络侧设备接收到保活报文的情况下, 向第二网络侧设备发送保活报文, 用于确认 CAPWAP的数据隧道没有发生 断链。  305. If the first network side device receives the keep-alive message from the second network side device, send a keep-alive message to the second network side device, to confirm that the data tunnel of the CAPWAP is not broken.
本实施例中,第一网络侧设备可以是 WTP或 AC; 第二网络侧设备可以 是 AC或 WTP。 例如, 在第一网络侧设备是 WTP的情况下, 第二网络侧设 备是 AC; 在第一网络侧设备是 AC的情况下, 第二网络侧设备是 WTP。  In this embodiment, the first network side device may be WTP or AC; and the second network side device may be AC or WTP. For example, in a case where the first network side device is a WTP, the second network side device is an AC; and in a case where the first network side device is an AC, the second network side device is a WTP.
图 3所示的方法为第一网络侧设备向第二网络侧设备发送数据报文的情 况。 第二网络侧设备也可以向第一网络侧设备发送数据报文。 第二网络侧设 复的方法与图 3所示方法类似, 在此不必赘述。  The method shown in FIG. 3 is a case where the first network side device sends a data message to the second network side device. The second network side device may also send a data packet to the first network side device. The method of setting the second network side is similar to the method shown in FIG. 3, and need not be described here.
根据图 3所示的方法, 能够在数据传输过程中, 防止由于数据隧道保活 报文丟失引起的 CAPWAP断链, 提高 CAPWAP链路的可靠性。  According to the method shown in FIG. 3, in the data transmission process, the CAPWAP broken link caused by the loss of the data tunnel keep-alive packet can be prevented, and the reliability of the CAPWAP link is improved.
图 4是本发明实施例提供的网络侧设备的示意性框图。 图 4的网络侧设 备 400包括发送模块 401、 确定模块 402和控制模块 403。  FIG. 4 is a schematic block diagram of a network side device according to an embodiment of the present invention. The network side device 400 of FIG. 4 includes a transmitting module 401, a determining module 402, and a control module 403.
发送模块 401发送保活报文。 确定模块 402确定 CAPWAP数据隧道是 否有数据传输。 控制模块 403在确定模块 402确定 CAPWAP数据隧道有数 据传输的情况下, 控制发送模块 401停止发送保活报文。  The sending module 401 sends a keep-alive message. The determination module 402 determines if the CAPWAP data tunnel has data transmission. The control module 403, when the determining module 402 determines that the CAPWAP data tunnel has data transmission, controls the transmitting module 401 to stop transmitting the keep-alive message.
本发明实施例在数据传输过程中不再发送保活报文, 这样能够防止由于 保活报文丟失引起的 CAPWAP断链, 提高了 CAPWAP链路的可靠性。  In the embodiment of the present invention, the keep-alive packet is not sent in the data transmission process, which can prevent the CAPWAP disconnection caused by the loss of the keep-alive packet and improve the reliability of the CAPWAP link.
图 4的网络侧设备 400可以是 WTP或 AC,并且可执行图 1至图 3所示 的方法的各个步骤, 为避免重复, 不再详细描述。  The network side device 400 of FIG. 4 may be WTP or AC, and may perform various steps of the method shown in FIG. 1 to FIG. 3, and will not be described in detail in order to avoid redundancy.
图 5是本发明另一实施例提供的网络侧设备的示意性框图。 图 5的网络 侧设备 500是网络侧设备 400的一个实施例。 例如, 网络侧设备 500可以是 图 3中的第一网络侧设备和第二网络侧设备。 网络侧设备 500包括: 发送模 块 501、 确定模块 502、 控制模块 503、 接收模块 504、 计时模块 505。  FIG. 5 is a schematic block diagram of a network side device according to another embodiment of the present invention. The network side device 500 of Fig. 5 is one embodiment of the network side device 400. For example, the network side device 500 may be the first network side device and the second network side device in FIG. The network side device 500 includes: a sending module 501, a determining module 502, a control module 503, a receiving module 504, and a timing module 505.
发送模块 501可以发送保活报文。 确定模块 502确定 CAPWAP数据隧 道是否有数据传输。 控制模块 503在确定模块 502确定 CAPWAP数据隧道 有数据传输的情况下, 控制发送模块 501停止发送保活报文。 The sending module 501 can send a keep-alive message. The determining module 502 determines the CAPWAP data tunnel Whether the channel has data transmission. The control module 503 stops the transmission of the keep-alive message if the determining module 502 determines that the CAPWAP data tunnel has data transmission.
可选地, 作为一个实施例, 发送模块 501还可以通过 CAPWAP数据隧 道发送数据报文。 在发送模块 501通过 CAPWAP数据隧道发送数据报文的 情况下, 确定模块 502确定 CAPWAP数据隧道有数据传输。 此时, 控制模 块 503控制发送模块 501停止发送保活报文。  Optionally, as an embodiment, the sending module 501 can also send a data packet by using a CAPWAP data tunnel. In the case that the transmitting module 501 transmits a data message through the CAPWAP data tunnel, the determining module 502 determines that the CAPWAP data tunnel has data transmission. At this time, the control module 503 controls the transmitting module 501 to stop transmitting the keep-alive message.
在此情况下, 网络侧设备 500还可以包括计时模块 505 , 用于在发送模 块 501通过 CAPWAP数据隧道发送数据报文的情况下, 开始计时。 控制模 块 503在计时模块 505的计时达到预设时间且在该预设时间内发送模块 501 没有再通过 CAPWAP数据隧道发送数据报文的情况下, 控制发送模块 501 恢复发送保活报文。 这样可以继续通过保活报文检测数据隧道的状态。  In this case, the network side device 500 may further include a timing module 505 for starting timing when the transmitting module 501 transmits a data message through the CAPWAP data tunnel. The control module 503, when the timing of the timing module 505 reaches the preset time and the transmitting module 501 does not send the data packet through the CAPWAP data tunnel, the control sending module 501 resumes transmitting the keep-alive message. In this way, the state of the data tunnel can be detected through the keep-alive message.
可选地, 作为另一实施例, 网络侧设备 500还可以包括接收模块 504, 用于通过 CAPWAP数据隧道接收数据报文。 在接收模块 504通过 CAPWAP 数据隧道接收到数据报文的情况下, 确定模块 502确定 CAPWAP数据隧道 有数据传输。 此时, 控制模块 503控制发送模块 501停止发送保活报文。  Optionally, as another embodiment, the network side device 500 may further include a receiving module 504, configured to receive a data message by using a CAPWAP data tunnel. In the event that the receiving module 504 receives the data message through the CAPWAP data tunnel, the determining module 502 determines that the CAPWAP data tunnel has data transmission. At this time, the control module 503 controls the transmitting module 501 to stop transmitting the keep-alive message.
在此情况下, 网络侧设备 500还可以包括计时模块 505 , 用于在接收模 块通过 CAPWAP数据隧道接收到数据报文的情况下, 开始计时。 控制模块 可以在计时模块 505的计时达到预设时间且在预设时间内接收模块 504没有 再通过 CAPWAP数据隧道接收到数据报文的情况下, 控制发送模块 501恢 复发送保活报文。 这样可以继续通过保活报文检测数据隧道的状态。  In this case, the network side device 500 may further include a timing module 505 for starting timing when the receiving module receives the data message through the CAPWAP data tunnel. The control module may resume transmitting the keep-alive message if the timing of the timer module 505 reaches the preset time and the receiving module 504 does not receive the data packet through the CAPWAP data tunnel within the preset time. In this way, the state of the data tunnel can be detected through the keep-alive message.
可选地, 作为另一实施例, 接收模块 504可以通过 CAPWAP数据隧道 接收数据报文响应。 在接收模块 504通过 CAPWAP数据隧道接收到数据报 文响应的情况下, 确定模块 502确定 CAPWAP数据隧道有数据传输。 此时, 控制模块 503控制发送模块 501停止发送保活报文。  Optionally, as another embodiment, the receiving module 504 can receive a data packet response by using a CAPWAP data tunnel. In the event that the receiving module 504 receives the data message response through the CAPWAP data tunnel, the determining module 502 determines that the CAPWAP data tunnel has data transmission. At this time, the control module 503 controls the transmitting module 501 to stop transmitting the keep-alive message.
在此情况下, 网络侧设备 500还可以包括计时模块 505 , 用于在接收模 块通过 CAPWAP数据隧道接收到数据报文响应的情况下, 开始计时。 控制 模块 503可以在计时模块的计时达到预设时间且在预设时间内接收模块 504 没有再通过 CAPWAP数据隧道接收到数据报文响应的情况下, 控制发送模 块 501恢复发送保活报文。这样可以继续通过保活报文检测数据隧道的状态。  In this case, the network side device 500 may further include a timing module 505 for starting timing when the receiving module receives the data message response through the CAPWAP data tunnel. The control module 503 can control the sending module 501 to resume sending the keep-alive message if the timing of the timing module reaches the preset time and the receiving module 504 does not receive the data message response through the CAPWAP data tunnel within the preset time. In this way, the state of the data tunnel can be detected through the keep-alive message.
本发明实施例在数据传输过程中不再发送保活报文, 这样能够防止由于 保活报文丟失引起的 CAPWAP断链, 提高了 CAPWAP链路的可靠性。 图 5的网络侧设备 500可以是 WTP或 AC,并且可执行图 1至图 3所示 的方法的各个步骤, 为避免重复, 不再详细描述。 In the embodiment of the present invention, the keep-alive packet is not sent in the data transmission process, which can prevent the CAPWAP disconnection caused by the loss of the keep-alive packet, and improve the reliability of the CAPWAP link. The network side device 500 of FIG. 5 may be WTP or AC, and various steps of the method shown in FIG. 1 to FIG. 3 may be performed. To avoid repetition, details are not described in detail.
本领域普通技术人员可以意识到,结合本文中所公开的实施例描述的各 示例的单元及算法步骤, 能够以电子硬件、 或者计算机软件和电子硬件的结 合来实现。 这些功能究竟以硬件还是软件方式来执行, 取决于技术方案的特 定应用和设计约束条件。 专业技术人员可以对每个特定的应用来使用不同方 法来实现所描述的功能, 但是这种实现不应认为超出本发明的范围。  Those of ordinary skill in the art will appreciate that the elements and algorithm steps of the various examples described in connection with the embodiments disclosed herein can be implemented in a combination of electronic hardware or computer software and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the solution. A person skilled in the art can use different methods for implementing the described functions for each particular application, but such implementation should not be considered to be beyond the scope of the present invention.
所属领域的技术人员可以清楚地了解到, 为描述的方便和简洁, 上述描 述的系统、 装置和单元的具体工作过程, 可以参考前述方法实施例中的对应 过程, 在此不再赘述。  A person skilled in the art can clearly understand that the specific working process of the system, the device and the unit described above can be referred to the corresponding process in the foregoing method embodiments for the convenience and brevity of the description, and details are not described herein again.
在本申请所提供的几个实施例中, 应该理解到, 所揭露的系统、 装置和 方法, 可以通过其它的方式实现。 例如, 以上所描述的装置实施例仅仅是示 意性的, 例如, 所述单元的划分, 仅仅为一种逻辑功能划分, 实际实现时可 以有另外的划分方式, 例如多个单元或组件可以结合或者可以集成到另一个 系统, 或一些特征可以忽略, 或不执行。 另一点, 所显示或讨论的相互之间 的耦合或直接耦合或通信连接可以是通过一些接口, 装置或单元的间接耦合 或通信连接, 可以是电性, 机械或其它的形式。 为单元显示的部件可以是或者也可以不是物理单元, 即可以位于一个地方, 或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或 者全部单元来实现本实施例方案的目的。  In the several embodiments provided herein, it should be understood that the disclosed systems, devices, and methods may be implemented in other ways. For example, the device embodiments described above are merely illustrative. For example, the division of the unit is only a logical function division. In actual implementation, there may be another division manner, for example, multiple units or components may be combined or Can be integrated into another system, or some features can be ignored, or not executed. In addition, the coupling or direct coupling or communication connection shown or discussed may be an indirect coupling or communication connection through some interface, device or unit, and may be electrical, mechanical or otherwise. The components displayed for the unit may or may not be physical units, ie may be located in one place, or may be distributed over multiple network units. Some or all of the units may be selected according to actual needs to achieve the objectives of the solution of the embodiment.
另外, 在本发明各个实施例中的各功能单元可以集成在一个处理单元 中, 也可以是各个单元单独物理存在, 也可以两个或两个以上单元集成在一 个单元中。  In addition, each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit.
所述功能如果以软件功能单元的形式实现并作为独立的产品销售或使 用时, 可以存储在一个计算机可读取存储介质中。 基于这样的理解, 本发明 的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的部 分可以以软件产品的形式体现出来, 该计算机软件产品存储在一个存储介质 中, 包括若干指令用以使得一台计算机设备(可以是个人计算机, 服务器, 或者网络设备等)执行本发明各个实施例所述方法的全部或部分步骤。 而前 述的存储介质包括: U盘、移动硬盘、只读存储器( ROM, Read-Only Memory )、 随机存取存储器 ( RAM, Random Access Memory ), 磁碟或者光盘等各种可 以存储程序代码的介质。 The functions may be stored in a computer readable storage medium if implemented in the form of a software functional unit and sold or used as a standalone product. Based on such understanding, the technical solution of the present invention, which is essential or contributes to the prior art, or a part of the technical solution, may be embodied in the form of a software product, which is stored in a storage medium, including The instructions are used to cause a computer device (which may be a personal computer, server, or network device, etc.) to perform all or part of the steps of the methods described in various embodiments of the present invention. The foregoing storage medium includes: a USB flash drive, a mobile hard disk, a read-only memory (ROM, Read-Only Memory), A random access memory (RAM, Random Access Memory), a disk or an optical disk, and other media that can store program codes.
以上所述, 仅为本发明的具体实施方式, 但本发明的保护范围并不局限 于此, 任何熟悉本技术领域的技术人员在本发明揭露的技术范围内, 可轻易 想到的变化或替换, 都应涵盖在本发明的保护范围之内, 因此本发明的保护 范围应以权利要求的保护范围为准。  The above is only the specific embodiment of the present invention, but the scope of the present invention is not limited thereto, and any change or replacement that can be easily conceived by those skilled in the art within the technical scope of the present invention is All modifications are intended to be included within the scope of the invention, and the scope of the invention should be determined by the scope of the appended claims.

Claims

权 利 要 求 书 claims
1、 一种传输数据的方法, 其特征在于, 包括: 1. A method of transmitting data, characterized by including:
确定无线接入点控制与配置 CAPWAP数据隧道是否有数据传输; 在所述 CAPWAP数据隧道有数据传输的情况下, 停止发送保活报文。 Determine whether the wireless access point control and configuration CAPWAP data tunnel has data transmission; if the CAPWAP data tunnel has data transmission, stop sending keep-alive messages.
2、 如权利要求 1所述的方法, 其特征在于, 所述确定 CAPWAP数据隧 道是否有数据传输, 包括: 2. The method of claim 1, wherein determining whether there is data transmission in the CAPWAP data tunnel includes:
在通过所述 CAPWAP 数据隧道发送数据报文的情况下, 确定所述 CAPWAP数据隧道有数据传输; In the case of sending data packets through the CAPWAP data tunnel, it is determined that the CAPWAP data tunnel has data transmission;
在通过所述 CAPWAP数据隧道接收到数据报文的情况下, 确定所述 In the case of receiving a data message through the CAPWAP data tunnel, determine the
CAPWAP数据隧道有数据传输; 或 There is data transmission in the CAPWAP data tunnel; or
在通过所述 CAPWAP数据隧道接收到数据报文响应的情况下, 确定所 述 CAPWAP数据隧道有数据传输。 When a data message response is received through the CAPWAP data tunnel, it is determined that the CAPWAP data tunnel has data transmission.
3、 如权利要求 1或 2所述的方法, 其特征在于, 所述方法还包括: 在 预设时间内所述 CAPWAP数据隧道中没有数据传输的情况下, 恢复发送保 活报文。 3. The method of claim 1 or 2, wherein the method further includes: resuming sending keep-alive messages when there is no data transmission in the CAPWAP data tunnel within a preset time.
4、 如权利要求 1-3 任一项所述的方法, 其特征在于, 所述方法由接入 控制器 AC和无线终端点 WTP执行。 4. The method according to any one of claims 1-3, characterized in that the method is executed by the access controller AC and the wireless terminal point WTP.
5、 一种网络侧设备, 其特征在于, 包括: 5. A network side device, characterized by including:
发送模块, 用于发送保活报文; Sending module, used to send keep-alive messages;
确定模块, 用于确定无线接入点控制与配置 CAPWAP数据隧道是否有 数据传输; Determination module, used to determine whether there is data transmission in the wireless access point control and configuration CAPWAP data tunnel;
控制模块, 用于在所述确定模块确定所述 CAPWAP数据隧道有数据传 输的情况下 , 控制所述发送模块停止发送所述保活报文。 The control module is configured to control the sending module to stop sending the keep-alive message when the determining module determines that there is data transmission in the CAPWAP data tunnel.
6、 如权利要求 5所述的设备, 其特征在于, 6. The device according to claim 5, characterized in that,
所述发送模块, 还用于通过所述 CAPWAP数据隧道发送数据报文; 其中, 在所述发送模块通过所述 CAPWAP数据隧道发送所述数据报文 的情况下, 所述确定模块确定所述 CAPWAP数据隧道有数据传输。 The sending module is also configured to send a data message through the CAPWAP data tunnel; wherein, when the sending module sends the data message through the CAPWAP data tunnel, the determining module determines that the CAPWAP Data tunnels have data transmission.
7、 如权利要求 6所述的设备, 其特征在于, 所述设备还包括: 计时模块, 用于在所述发送模块通过所述 CAPWAP数据隧道发送所述 数据报文的情况下, 开始计时, 所述控制模块,还用于在所述计时模块的计时达到预设时间且在所述预 设时间内所述发送模块没有再通过所述 CAPWAP数据隧道发送数据报文的 情况下, 控制所述发送模块恢复发送保活报文。 7. The device according to claim 6, wherein the device further includes: a timing module, configured to start timing when the sending module sends the data message through the CAPWAP data tunnel, The control module is also configured to control the timing when the timing of the timing module reaches a preset time and the sending module does not send a data message through the CAPWAP data tunnel within the preset time. The sending module resumes sending keep-alive messages.
8、 如权利要求 5所述的设备, 其特征在于, 所述设备还包括: 接收模块, 用于通过所述 CAPWAP数据隧道接收数据报文; 8. The device according to claim 5, wherein the device further includes: a receiving module, configured to receive data packets through the CAPWAP data tunnel;
其中, 在所述接收模块通过所述 CAPWAP数据隧道接收到所述数据报 文的情况下, 所述确定模块确定所述 CAPWAP数据隧道有数据传输。 Wherein, when the receiving module receives the data message through the CAPWAP data tunnel, the determining module determines that there is data transmission in the CAPWAP data tunnel.
9、 如权利要求 8所述的设备, 其特征在于, 所述设备还包括: 计时模块, 用于在所述接收模块通过所述 CAPWAP数据隧道接收到所 述数据报文的情况下, 开始计时, 9. The device according to claim 8, wherein the device further includes: a timing module, configured to start timing when the receiving module receives the data message through the CAPWAP data tunnel. ,
所述控制模块,还用于在所述计时模块的计时达到预设时间且在所述预 设时间内所述接收模块没有再通过所述 CAPWAP数据隧道接收到数据报文 的情况下 , 控制所述发送模块恢复发送保活报文。 The control module is also configured to control all data packets when the timing of the timing module reaches a preset time and the receiving module no longer receives a data message through the CAPWAP data tunnel within the preset time. The sending module described above resumes sending keep-alive messages.
10、 如权利要求 5所述的设备, 其特征在于, 所述设备还包括: 接收模块, 用于通过所述 CAPWAP数据隧道接收数据报文响应; 其中, 在所述接收模块通过所述 CAPWAP数据隧道接收到所述数据报 文响应的情况下, 所述确定模块确定所述 CAPWAP数据隧道有数据传输。 10. The device of claim 5, wherein the device further includes: a receiving module, configured to receive a data message response through the CAPWAP data tunnel; wherein, the receiving module passes the CAPWAP data When the tunnel receives the data message response, the determining module determines that the CAPWAP data tunnel has data transmission.
11、 如权利要求 10所述的设备, 其特征在于, 所述设备还包括: 计时模块, 用于在所述接收模块通过所述 CAPWAP数据隧道接收到所 述数据报文响应的情况下, 开始计时, 11. The device according to claim 10, wherein the device further includes: a timing module, configured to start when the receiving module receives the data message response through the CAPWAP data tunnel. timing,
所述控制模块,还用于在所述计时模块的计时达到预设时间且在所述预 设时间内所述接收模块没有再通过所述 CAPWAP数据隧道接收到数据报文 响应的情况下 , 控制所述发送模块恢复发送保活报文。 The control module is also configured to control when the timing of the timing module reaches a preset time and the receiving module does not receive a data message response through the CAPWAP data tunnel within the preset time. The sending module resumes sending keep-alive messages.
12、 如权利要求 5-11 任一项所述的设备, 其特征在于, 所述设备是无 线终端点 WTP或接入控制器 AC。 12. The device according to any one of claims 5-11, characterized in that the device is a wireless terminal point WTP or an access controller AC.
PCT/CN2013/075054 2012-07-31 2013-05-02 Data transmission method and network side device WO2014019389A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201210268377.6 2012-07-31
CN2012102683776A CN102821413A (en) 2012-07-31 2012-07-31 Data transmission method and network side equipment

Publications (1)

Publication Number Publication Date
WO2014019389A1 true WO2014019389A1 (en) 2014-02-06

Family

ID=47305205

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2013/075054 WO2014019389A1 (en) 2012-07-31 2013-05-02 Data transmission method and network side device

Country Status (2)

Country Link
CN (1) CN102821413A (en)
WO (1) WO2014019389A1 (en)

Families Citing this family (16)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2012510118A (en) 2008-11-26 2012-04-26 カルガリー・サイエンティフィック・インコーポレイテッド Method and system for providing remote access to the state of an application program
US10055105B2 (en) 2009-02-03 2018-08-21 Calgary Scientific Inc. Method and system for enabling interaction with a plurality of applications using a single user interface
US9741084B2 (en) 2011-01-04 2017-08-22 Calgary Scientific Inc. Method and system for providing remote access to data for display on a mobile device
CA2734860A1 (en) 2011-03-21 2012-09-21 Calgary Scientific Inc. Method and system for providing a state model of an application program
EP2745467A4 (en) 2011-08-15 2015-10-14 Calgary Scient Inc Method for flow control and for reliable communication in a collaborative environment
WO2013024343A1 (en) 2011-08-15 2013-02-21 Calgary Scientific Inc. Non-invasive remote access to an application program
JP6322140B2 (en) 2011-09-30 2018-05-09 カルガリー サイエンティフィック インコーポレイテッド Unconnected application extension including interactive digital surface layer for sharing and annotation of collaborative remote applications
EP2783483B1 (en) 2011-11-23 2019-08-07 Calgary Scientific Inc. Methods and systems for collaborative remote application sharing and conferencing
US9602581B2 (en) 2012-03-02 2017-03-21 Calgary Scientific Inc. Remote control of an application using dynamic-linked library (DLL) injection
US9729673B2 (en) 2012-06-21 2017-08-08 Calgary Scientific Inc. Method and system for providing synchronized views of multiple applications for display on a remote computing device
CN103391636B (en) * 2013-07-19 2016-03-09 深圳市共进电子股份有限公司 A kind of method strengthening the keep-alive of CAPWAP communication tunnel
CN105765923B (en) * 2013-11-29 2019-11-12 卡尔加里科技股份有限公司 The method of the connection of client to non-managed service is provided in client-server remote access system
US10015264B2 (en) 2015-01-30 2018-07-03 Calgary Scientific Inc. Generalized proxy architecture to provide remote access to an application framework
JP2018512084A (en) 2015-01-30 2018-05-10 カルガリー サイエンティフィック インコーポレイテッド Highly scalable and fault-tolerant remote access architecture and how to connect to it
CN107612991A (en) * 2017-09-14 2018-01-19 上海斐讯数据通信技术有限公司 The method and system of link keep-alive between a kind of AP and AC, AC and AP
CN113573262A (en) * 2021-07-15 2021-10-29 北京四季豆信息技术有限公司 Communication method, system, electronic device, and computer-readable storage medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101771612A (en) * 2010-01-13 2010-07-07 华为技术有限公司 Tunnel establishing method, equipment and network system
CN101917439A (en) * 2010-08-24 2010-12-15 杭州华三通信技术有限公司 Data transmission method and equipment
CN102572830A (en) * 2012-01-19 2012-07-11 华为技术有限公司 Method and customer premise equipment (CPE) for terminal access authentication

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1860832A1 (en) * 2006-05-24 2007-11-28 Motorola, Inc. UMA/GAN keep-alive mechanism in wireless communication networks

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101771612A (en) * 2010-01-13 2010-07-07 华为技术有限公司 Tunnel establishing method, equipment and network system
CN101917439A (en) * 2010-08-24 2010-12-15 杭州华三通信技术有限公司 Data transmission method and equipment
CN102572830A (en) * 2012-01-19 2012-07-11 华为技术有限公司 Method and customer premise equipment (CPE) for terminal access authentication

Also Published As

Publication number Publication date
CN102821413A (en) 2012-12-12

Similar Documents

Publication Publication Date Title
WO2014019389A1 (en) Data transmission method and network side device
EP3167585B1 (en) Multi-path transmission control protocol
CN106470439A (en) The method that the PDCP of user equipment controls PDU transmission
JP2017502545A5 (en)
CN104320425A (en) Method and device for receiving and sending message
US11277879B2 (en) Controlling method for coexistence of dual modes, Wi-Fi chip, and communication device
JP2015534787A5 (en)
WO2019019830A1 (en) System information acquisition method, transmission control method and related device
CN113348724A (en) Uplink communication in an inactive state in a cellular network
CN102142999B (en) Method, equipment and system for recovering links
CN101360044B (en) Session processing method and unit preventing session oscillation
KR20200074142A (en) RRC connection re-establishment method, terminal and storage medium
US9775030B2 (en) Wireless communication device
EP3065500B1 (en) Communication device, and layer-2 status control method
CN104639356A (en) Failure recovery method and device
CN109041170A (en) A kind of method of network entry and its relevant apparatus of smart machine
CN103391636A (en) Method for enhancing keep-alive of CAPWAP communication tunnel
CN114424625B (en) System and method for preventing undesired access restriction mitigation
EP2757756B1 (en) Apparatus and method for reducing transmission delay of HTTP protocol and processing load of HTTP server in wireless communications network
JP7090423B2 (en) Communication equipment, communication methods, and programs
WO2021164370A1 (en) Method and apparatus for switching length of bidirectional forwarding detection packet, and storage medium
CN109995541B (en) Multicast data sending method and node equipment
JP4268200B2 (en) Redundant data relay device and encrypted communication method using redundant data relay device
CN101237382A (en) A method and system and network device for synchronizing user data
JP5532260B2 (en) Communication system and communication apparatus

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

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

Country of ref document: EP

Kind code of ref document: A1