WO2015192465A1 - Wireless configuration synchronization method, wireless router and ap - Google Patents

Wireless configuration synchronization method, wireless router and ap Download PDF

Info

Publication number
WO2015192465A1
WO2015192465A1 PCT/CN2014/084935 CN2014084935W WO2015192465A1 WO 2015192465 A1 WO2015192465 A1 WO 2015192465A1 CN 2014084935 W CN2014084935 W CN 2014084935W WO 2015192465 A1 WO2015192465 A1 WO 2015192465A1
Authority
WO
WIPO (PCT)
Prior art keywords
wireless
wireless router
automatic configuration
message
configuration
Prior art date
Application number
PCT/CN2014/084935
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 WO2015192465A1 publication Critical patent/WO2015192465A1/en

Links

Classifications

    • 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, and in particular, to a wireless configuration synchronization method, system, wireless router, and access point (Access Point, referred to as AP).
  • AP access point
  • Wireless Local Area Network is a combination of computer network and wireless communication technology. Specifically, it is no longer using traditional cable lines when forming a local area network, but infrared rays and radio waves are wirelessly used. Connect as a transmission medium to provide all the functions of a wired LAN.
  • the basis of WLAN is traditional wired LAN. It is the expansion and replacement of wired LAN. It is based on wired LAN and wireless communication through wireless hub, wireless access node, wireless bridge, wireless network card and other devices.
  • the frequency band used by the local area network is mainly S-band (2.4GHz ⁇ 2.4835GHz). 0
  • the networking mode of WLAN can be roughly divided into two types, one is Ad-hoc mode, namely: point-to-point wireless network; the other is Infrastructure mode. , ie: Centralized control network.
  • the point-to-point wireless network is a peer-to-peer peer-to-peer mobile network. Without the support of a wired infrastructure, nodes in the network are composed of mobile hosts. There is no wireless AP in the network, and communication is realized through the free networking of multiple wireless network cards.
  • the centralized control network is an application mode network that integrates wired and wireless local area network architectures.
  • the wireless router wirelessly connects to the wireless AP and establishes a connection with the wired network through the wireless AP.
  • the wireless router is connected to the AP in a wireless connection, and the distance is mostly far away.
  • the operator needs to manually modify the configuration on the wireless router, and then modify the configuration on the AP side, which takes a long time; When the configuration of the wireless router changes and the configuration of the AP is not changed, the network will be unavailable and the user experience will be reduced. Summary of the invention
  • the embodiments of the present invention provide a wireless configuration synchronization method, a wireless router, and an AP.
  • the embodiment of the present invention provides a wireless configuration synchronization method, including: receiving an automatic configuration message sent by an access point (AP), where the automatic configuration message is used to request a type of a wireless parameter to be configured by an AP; Obtaining a parameter value corresponding to the type of the wireless parameter, and sending a message carrying the parameter value to the AP, to implement configuration synchronization between the wireless router and the AP.
  • AP access point
  • the method before receiving the automatic configuration message sent by the AP, the method further includes: after the device is powered on, the AP actively sends an automatic configuration search request to the wireless router, and monitors whether the wireless router returns within a predetermined time period. Automatically configuring a search response; when the AP receives the automatic configuration search response, sending an automatic configuration message to the wireless router to perform configuration synchronization with the wireless router.
  • the method further includes: when the AP does not receive the automatic configuration search response, according to a predetermined period, the wireless The router sends an automatic configuration search request to establish a connection with the wireless router.
  • the method before receiving the automatic configuration message sent by the AP, the method further includes: when the configuration of the wireless router is modified, actively sending an automatic configuration update message to the AP, instructing the AP to send an automatic configuration message.
  • the automatic configuration message received by the wireless router is an M1 message in the 1905.1 protocol
  • the message that is received by the AP and carries the parameter value is an M2 message in the 1905.1 protocol.
  • the wireless router is a Customer Premise Equipment (CPE).
  • CPE Customer Premise Equipment
  • the embodiment of the present invention further provides a wireless router, including: a first antenna, configured to receive an automatic configuration message sent by an access point AP, where the automatic configuration message is used to request the AP to be configured. a type of the wireless parameter, the first processor, configured to acquire a parameter value corresponding to the type of the wireless parameter, and send a message carrying the parameter value to the AP by using the first antenna, to implement the The configuration of the wireless router and the AP is synchronized.
  • a wireless router including: a first antenna, configured to receive an automatic configuration message sent by an access point AP, where the automatic configuration message is used to request the AP to be configured. a type of the wireless parameter, the first processor, configured to acquire a parameter value corresponding to the type of the wireless parameter, and send a message carrying the parameter value to the AP by using the first antenna, to implement the The configuration of the wireless router and the AP is synchronized.
  • the first antenna is further configured to receive an automatic configuration search request from the AP after the device is powered on; the first processor is further configured to respond to an automatic configuration search request from the AP. And transmitting an automatic configuration search response to the AP through the first antenna.
  • the first processor is further configured to detect whether the configuration of the wireless router is modified, and if the configuration of the wireless router is modified, actively sending an automatic configuration update message by using the first antenna. Up to the AP, instructing the AP to send an automatic configuration message.
  • an embodiment of the present invention further provides an AP, including: a second antenna, configured to send an automatic configuration message to a wireless router to perform configuration synchronization with the wireless router, where the automatic configuration message is used for requesting a type of the wireless parameter to be configured by the AP, configured to receive a message that is sent by the wireless router and that carries a parameter value corresponding to the type of the wireless parameter, where the second processor is configured to parse the type of the wireless parameter Corresponding parameter value message, and configured according to the parameter value, to achieve synchronization with the configuration of the wireless router.
  • the second antenna is further configured to: after the device is powered on, actively send an automatic configuration search request to the wireless router; and the second processor is further configured to monitor whether the second antenna is within a predetermined time period. Receiving an automatic configuration search response returned by the wireless router, and sending an automatic configuration message to the wireless router through the second antenna when receiving the automatic configuration search response.
  • the second processor is further configured to send, by the second antenna, to the wireless router according to a predetermined period when the second antenna does not receive the automatic configuration search response.
  • a search request is automatically configured to establish a connection with the wireless router.
  • the AP in the embodiment of the present invention actively sends an automatic configuration message after power-on to request the wireless router to send a parameter value to be configured to perform synchronization with the wireless router according to the corresponding parameter value, and the method improves system performance.
  • the user experience is improved, and the problem that the wireless router and the AP cannot be synchronized and the user experience is low is solved in the prior art.
  • FIG. 1 is a flowchart of a wireless configuration synchronization method in an embodiment of the present invention
  • FIG. 2 is a schematic structural diagram of a wireless router according to an embodiment of the present invention.
  • FIG. 3 is a schematic structural diagram of an AP in an embodiment of the present invention.
  • FIG. 4 is a schematic diagram of a wireless router and an AP networking scenario in a preferred embodiment of the present invention
  • FIG. 5 is a flowchart of an online procedure of an Enrollee AP in a preferred embodiment of the present invention
  • FIG. 6 is a modified embodiment of a Registrar CPE in a preferred embodiment of the present invention
  • Update process flow chart
  • FIG. 7 is a schematic diagram showing the flow of an Enrollee AP state machine in a preferred embodiment of the present invention. detailed description
  • the embodiment of the present invention provides a wireless configuration synchronization method, a wireless router, and an AP, which are described below with reference to the accompanying drawings.
  • a wireless configuration synchronization method a wireless router, and an AP, which are described below with reference to the accompanying drawings.
  • the present invention will be further described in detail. It is understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
  • An embodiment of the present invention provides a method for synchronizing a wireless configuration.
  • the process of the method is as shown in FIG. 1, and includes steps S102 to S104:
  • S102 Receive an automatic configuration message sent by the AP, where the automatic configuration message is used to request a type of the wireless parameter to be configured by the AP.
  • S104. Obtain a parameter value corresponding to the type of the wireless parameter, and send a message carrying the parameter value to the AP, so as to implement synchronization of configuration between the wireless router and the AP.
  • the AP in the embodiment of the present invention actively sends an automatic configuration message after power-on to request the wireless router to send a parameter value to be configured to perform synchronization with the wireless router according to the corresponding parameter value, and the method improves system performance.
  • the user experience is improved, and the problem that the wireless router and the AP cannot be synchronized and the user experience is low is solved in the prior art.
  • the connection between the wireless router and the AP needs to be established. Therefore, after the two devices are respectively powered on, the AP actively sends an automatic configuration search request to the wireless router.
  • the judging process is to monitor whether an automatic configuration search response returned by the wireless router is received within a predetermined time period. If the AP receives an automatic configuration search response and determines that the wireless router is available, it sends an automatic configuration message to the wireless router to synchronize configuration with the wireless router. If the AP does not receive the automatic configuration search response, the automatic configuration search request is repeatedly sent to the wireless router according to a predetermined period until an automatic configuration search response returned by the wireless router is received. The main purpose of this process is to determine that the wireless router is working, that is, there is an available wireless router to establish a connection with the wireless router.
  • the AP needs to be synchronized.
  • the synchronization process may be completed by the AP actively discovering, or the wireless router may inform the AP that its configuration has been changed. Specifically, if the AP actively discovers to complete, the AP may send an automatic configuration search request according to a preset period, and actively let the wireless router send the parameter value. However, in most cases, the method may be repeatedly configured, which may aggravate. The burden of APs and wireless routers. If the wireless router informs the AP that its configuration has been changed, the wireless router may actively send an automatic configuration update message to the AP to instruct the AP to send an automatic configuration message. After receiving the automatic configuration update message, the AP sends an automatic configuration message to the wireless router to obtain the parameter value.
  • the wireless router can be a CPE, and the automatic configuration message received by the wireless router can be The Ml message in the 1905.1 protocol, the message received by the AP carrying the parameter value may be
  • the embodiment of the present invention further provides a wireless router, which is shown in FIG. 2, and includes: a first antenna 1 configured to receive an automatic configuration message sent by an access point AP, where an automatic configuration message is used to request an AP.
  • a wireless router which is shown in FIG. 2, and includes: a first antenna 1 configured to receive an automatic configuration message sent by an access point AP, where an automatic configuration message is used to request an AP.
  • the type of wireless parameter to be configured to be configured
  • the first processor 2 is configured to obtain a parameter value corresponding to the type of the wireless parameter, and send the message carrying the parameter value to the AP through the first antenna, so as to implement configuration synchronization of the wireless router and the AP.
  • the first antenna is further configured to receive an automatic configuration search request from the AP after the device is powered on; the first processor is further configured to respond to the automatic configuration search request from the AP, and send the automatic through the first antenna. Configure the search response to the AP.
  • the first processor is further configured to: detect whether the configuration of the wireless router is modified, and if the configuration of the wireless router is modified, actively send an automatic configuration update message to the AP through the first antenna, to indicate that the AP sends the automatic configuration. Message.
  • the embodiment of the present invention further provides an AP, where the AP is a device that interacts with the wireless router, and the structure thereof is shown in FIG. 3, and includes:
  • the second antenna 3 is configured to send an automatic configuration message to the wireless router to perform configuration synchronization with the wireless router, where the automatic configuration message is used to request the type of the wireless parameter to be configured by the AP, and is configured to receive the carried by the wireless router. a message of a parameter value corresponding to the type of the wireless parameter,
  • the second processor 4 is configured to parse the message of the parameter value corresponding to the type of the wireless parameter, and configure according to the parameter value to synchronize with the configuration of the wireless router.
  • the second antenna is further configured to actively send an automatic configuration search request to the wireless router after the device is powered on; the second processor is further configured to monitor whether the second antenna receives the return from the wireless router within the predetermined time period. Automatically configure search response and receive automatic configuration search In response, an automatic configuration message is sent to the wireless router through the second antenna.
  • the second processor is further configured to: when the second antenna does not receive the automatic configuration search response, send an automatic configuration search request to the wireless router through the second antenna according to a predetermined period to establish a connection with the wireless router.
  • a wireless configuration synchronization system which includes the wireless router and the AP described above, in which the wireless router and the AP implement the synchronization process of the wireless configuration through their respective functions, and the above description is made by those skilled in the art according to the embodiment of the present invention.
  • the architecture of the wireless configuration synchronization system can be known, and will not be described here.
  • the 1905.1 Protocol also known as the Institute of Electrical and Electronics Engineers (IEEE) standard converged digital home network heterogeneous technology, defines an abstraction layer for multiple home networking technologies. This abstraction layer provides a common data and control service access point for heterogeneous home network technologies. These heterogeneous home network technologies include: IEEE Std 1901TM-2010, IEEE Std 802.11TM-2012, IEEE Std 802.3TM-2008 And MoCA, and this standard is extensible. In addition, the standard specifies all procedures, protocols and guidelines to simplify the user experience: such as adding devices to the network, creating new encryption keys, extending network coverage, and providing network management functions such as: Neighbor Discovery , topology discovery, interface selection, QoS negotiation and network control management.
  • IEEE Institute of Electrical and Electronics Engineers
  • IEEE 802.11 access point autoconfiguration with IEEE Std 1905.1 is part 10 of the 1905.1 protocol, which uses CMDUs to transfer Registrar's IEEE 802.11 parameters to Enrollee to establish the initial configuration of the Enrollee IEEE 802.11 interface or to update its existing configuration. This action provides an automated way to set up extended service sets for multiple APs and keep them in sync.
  • the automatic configuration protocol consists of two phases: Obtaining the Registrar discovery phase and the configuration phase of IEEE 802.11 parameters in the 1905.1 network environment where the Registrar (registration) is reachable; the IEEE 802.il parameter configuration phase mainly completes the Registrar and Enrollee (involved) Configuration transfer.
  • the 1905.1 abstraction layer provides a transparent transport protocol for WSC frames M1 and M2.
  • the embodiment of the present invention is based on the automatic configuration protocol in the 1905.1 specification, and implements automatic synchronization update of the router and the AP wireless configuration in the networking environment of the router and the AP, which simplifies the process of the router and the AP networking, and is performed by the home network user.
  • the user For the wireless configuration operation, the user only needs to set the wireless configuration of the Registrar, and the wireless configuration of the AP Enrollee can be updated synchronously.
  • the method proposed in the embodiment of the present invention is based on a home network application scenario, in a wireless router and an AP networking scenario, the scenario is as shown in FIG. 4, and the wireless router (CPE), the AP device 1, and the AP device 2 are connected through a PLC or an ETH.
  • AP device 1 and AP device 2 respectively hang a variety of home network devices, such as: fax machines, multifunction devices, mobile phones, smart phones, digital cameras and printers.
  • the wireless router synchronizes the wireless configuration of the three devices by automatically configuring the protocol packets with the AP device 1 and the AP device 2. In this way, when the home network user uses the wireless network again, it can be made without perception, and the wireless configuration processing of the AP is not required separately, and the operation is simple and convenient, and one button is fixed.
  • Enrollee API and Enrollee AP2 separate 'J send Auto config search req (bandl) (automatically configure search request) to Registrar CPE;
  • Registrar CPE responds to Auto config search resp (bandl) after receiving the Auto config search req of Enrollee API and Enrollee AP2, then API and AP2 think Registrar is available; S503, API and AP2, after the Registrar exists, send a wireless Ml message (Auto config wps) to the CPE;
  • the CPE encapsulates its wireless configuration into a wireless M2 message (Auto config wps), and sends it to the API and AP2;
  • the API and AP2 After the API and AP2 receive the M2 message, they are configured according to the wireless configuration in the M2 message.
  • the M2 message includes an SSID name, an encryption method, a key, and the like.
  • S505-S508 is a radio frequency (band2) configuration process. After both band1 and band2 are configured, the configuration of Registrar CPE and Enrollee AP is synchronized.
  • This example describes a modified update process of the Registrar CPE configuration.
  • the process is as shown in FIG. 6, and includes steps S601 to S606.
  • Registrar CPE sends Auto config renew (bandl) to the Enrollee AP to inform the Enrollee AP that the wireless configuration has been updated;
  • the Enrollee AP after receiving the message, the Enrollee AP sends a wireless Ml message (Auto config wps) to respond to the egistrar CPE;
  • Registrar CPE receives the Ml message, pushes the wireless M2 message (Auto config wps) to the Enrollee AP;
  • the Enrollee AP is then wirelessly configured according to the M2 message, which includes the SSID name, encryption method, key, and the like.
  • S604-S606 is a radio frequency (band2) configuration process. After both band1 and band2 are configured, the configuration of Registrar CPE and Enrollee AP is synchronized.
  • the state machine can be designed to ensure the smooth flow of its state.
  • the state machine flow can be shown in Figure 7.
  • the detailed state meaning and migration relationship are shown in Table 1 and Table 2.
  • message definitions in instance one and instance two use a total of four message types, namely: (1) AP-Autoconfiguration Search Message Format; Message Type: Relayed Multicast;
  • the WPS frame includes an M1 frame or an M2 frame.
  • M1 The following describes the structure of M1 and M2.
  • M1 message structure is shown in the following table:
  • Request Request kn il ins;da 0 1 indicates the desire: to enroB in the network, if the Registrar WFA Vendor E ten ion ⁇ 1 gets ths sitribute it cart use this as a trigger that a de ice : wants to enro ⁇ i.
  • the M2 message structure is shown in the following table:
  • the Encrypted Settings are shown in the following table:
  • 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 a hardware embodiment, a software embodiment, or an embodiment of a combination of software and hardware. Moreover, the invention can be embodied in the form of a computer program product embodied on one or more computer usable storage media (including but not limited to disk storage and optical storage, etc.) including computer usable program code.
  • the computer program instructions can also be stored in a computer readable memory that can direct a computer or other programmable data processing device to operate in a particular manner, such that the instructions stored in the computer readable memory produce an article of manufacture comprising the instruction device.
  • the apparatus implements the functions specified in one or more blocks of a flow or a flow and/or block diagram of the flowchart.
  • 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

Provided is a wireless configuration synchronization method, the method comprising: receiving an automatic configuration message sent by an access point (AP), the automatic configuration message being used for requesting the type of wireless parameter to be configured for the AP; obtaining a parameter value corresponding to the wireless parameter type, and sending a message carrying the parameter value to the AP to achieve configuration synchronization between the wireless router and the AP. Also provided are a wireless router and an AP implementing the method in the present invention.

Description

一种无线配置同步方法、 无线路由器及 AP 技术领域  Wireless configuration synchronization method, wireless router and AP technology field
本发明涉及通讯领域, 特别是涉及一种无线配置同步方法、 系统、 无 线路由器及访问接入点 ( Access Point, 简称为 AP )。 背景技术  The present invention relates to the field of communications, and in particular, to a wireless configuration synchronization method, system, wireless router, and access point (Access Point, referred to as AP). Background technique
无线局域网 ( Wireless Local Area Network, 简称为 WLAN )是计算机 网络和无线通信技术相结合的产物, 具体地说, 就是在组建局域网时不再 使用传统的电缆线而通过无线的方式以红外线、 无线电波等作为传输介质 来进行连接, 提供有线局域网的所有功能。 无线局域网的基础还是传统的 有线局域网, 是有线局域网的扩展和替换, 它是在有线局域网的基础上通 过无线集线器、 无线访问节点、 无线网桥、 无线网卡等设备来实现无线通 信的, 目前无线局域网使用的频段主要是 S频段( 2.4GHz~2.4835GHz )0 无线局域网的组网模式大致上可以分为两种, 一种是 Ad - hoc模式, 即: 点对点无线网络; 另一种是 Infrastructure模式, 即: 集中控制式网络。 Wireless Local Area Network (WLAN) is a combination of computer network and wireless communication technology. Specifically, it is no longer using traditional cable lines when forming a local area network, but infrared rays and radio waves are wirelessly used. Connect as a transmission medium to provide all the functions of a wired LAN. The basis of WLAN is traditional wired LAN. It is the expansion and replacement of wired LAN. It is based on wired LAN and wireless communication through wireless hub, wireless access node, wireless bridge, wireless network card and other devices. The frequency band used by the local area network is mainly S-band (2.4GHz~2.4835GHz). 0 The networking mode of WLAN can be roughly divided into two types, one is Ad-hoc mode, namely: point-to-point wireless network; the other is Infrastructure mode. , ie: Centralized control network.
所述点对点无线网络是一种点对点的对等式移动网络, 没有有线基础 设施的支持, 网络中的节点均由移动主机构成。 该网络中不存在无线 AP, 通过多张无线网卡自由的组网实现通信。  The point-to-point wireless network is a peer-to-peer peer-to-peer mobile network. Without the support of a wired infrastructure, nodes in the network are composed of mobile hosts. There is no wireless AP in the network, and communication is realized through the free networking of multiple wireless network cards.
所述集中控制式网络, 是一种整合有线与无线局域网架构的应用模式 网络。 在这种模式中, 无线路由器与无线 AP进行无线连接, 再通过无线 AP与有线网络建立连接。 然而, 无线路由器与 AP之间是无线连接, 距离 大都较远, 在配置时, 都需要操作人员手动修改无线路由器上的各配置, 然后再对 AP侧的配置进行修改,耗时较长; 且当无线路由器的配置发生更 改, 而 AP的配置没有更改时, 会导致网络无法使用, 降低用户体验。 发明内容 The centralized control network is an application mode network that integrates wired and wireless local area network architectures. In this mode, the wireless router wirelessly connects to the wireless AP and establishes a connection with the wired network through the wireless AP. However, the wireless router is connected to the AP in a wireless connection, and the distance is mostly far away. In the configuration, the operator needs to manually modify the configuration on the wireless router, and then modify the configuration on the AP side, which takes a long time; When the configuration of the wireless router changes and the configuration of the AP is not changed, the network will be unavailable and the user experience will be reduced. Summary of the invention
为解决现有存在的技术问题, 本发明实施例提供了一种无线配置同步 方法、 无线路由器及 AP。  In order to solve the existing technical problems, the embodiments of the present invention provide a wireless configuration synchronization method, a wireless router, and an AP.
一方面, 本发明实施例提供一种无线配置同步方法, 包括: 接收访问 接入点(AP )发送的自动配置消息, 其中, 所述自动配置消息用于请求 AP 待配置的无线参数的类型; 获取所述无线参数的类型对应的参数值, 并将 携带有所述参数值的消息发送至所述 AP, 实现无线路由器和所述 AP的配 置同步。  In an aspect, the embodiment of the present invention provides a wireless configuration synchronization method, including: receiving an automatic configuration message sent by an access point (AP), where the automatic configuration message is used to request a type of a wireless parameter to be configured by an AP; Obtaining a parameter value corresponding to the type of the wireless parameter, and sending a message carrying the parameter value to the AP, to implement configuration synchronization between the wireless router and the AP.
优选的,接收 AP发送的自动配置消息之前,还包括:设备上电完成后, 所述 AP主动发送自动配置搜索请求至所述无线路由器,并监测预定时间段 内是否收到所述无线路由器返回的自动配置搜索响应;在所述 AP收到所述 自动配置搜索响应时, 向所述无线路由器发送自动配置消息, 以与所述无 线路由器进行配置同步。  Preferably, before receiving the automatic configuration message sent by the AP, the method further includes: after the device is powered on, the AP actively sends an automatic configuration search request to the wireless router, and monitors whether the wireless router returns within a predetermined time period. Automatically configuring a search response; when the AP receives the automatic configuration search response, sending an automatic configuration message to the wireless router to perform configuration synchronization with the wireless router.
优选的, 监测预定时间段内是否收到所述无线路由器返回的自动配置 搜索响应之后,还包括:在所述 AP未收到所述自动配置搜索响应的情况下, 按照预定周期向所述无线路由器发送自动配置搜索请求, 与所述无线路由 器建立连接。  Preferably, after monitoring whether the automatic configuration search response returned by the wireless router is received within a predetermined time period, the method further includes: when the AP does not receive the automatic configuration search response, according to a predetermined period, the wireless The router sends an automatic configuration search request to establish a connection with the wireless router.
优选的, 接收 AP发送的自动配置消息之前, 该方法还包括: 在所述无 线路由器的配置被修改时, 主动发送自动配置更新消息至所述 AP, 指示所 述 AP发送自动配置消息。  Preferably, before receiving the automatic configuration message sent by the AP, the method further includes: when the configuration of the wireless router is modified, actively sending an automatic configuration update message to the AP, instructing the AP to send an automatic configuration message.
优选的, 所述无线路由器接收的所述自动配置消息为 1905.1协议中的 Ml消息, 所述 AP接收的携带有所述参数值的消息为 1905.1协议中的 M2 消息。  Preferably, the automatic configuration message received by the wireless router is an M1 message in the 1905.1 protocol, and the message that is received by the AP and carries the parameter value is an M2 message in the 1905.1 protocol.
优选的, 所述无线路由器为客户终端设备 ( Customer Premise Equipment, 简称为 CPE )。 另一方面, 本发明实施例还提供一种无线路由器, 包括: 第一天线, 配置为接收访问接入点 AP发送的自动配置消息, 其中, 所述自动配置消息 用于请求所述 AP待配置的无线参数的类型; 第一处理器, 配置为获取所述 无线参数的类型对应的参数值, 并将携带有所述参数值的消息通过所述第 一天线发送至所述 AP, 实现所述无线路由器和所述 AP的配置同步。 Preferably, the wireless router is a Customer Premise Equipment (CPE). In another aspect, the embodiment of the present invention further provides a wireless router, including: a first antenna, configured to receive an automatic configuration message sent by an access point AP, where the automatic configuration message is used to request the AP to be configured. a type of the wireless parameter, the first processor, configured to acquire a parameter value corresponding to the type of the wireless parameter, and send a message carrying the parameter value to the AP by using the first antenna, to implement the The configuration of the wireless router and the AP is synchronized.
优选的, 所述第一天线, 还配置为在设备上电完成后, 接收来自所述 AP的自动配置搜索请求; 所述第一处理器, 还配置为响应来自所述 AP的 自动配置搜索请求, 并通过所述第一天线发送自动配置搜索响应至所述 AP。  Preferably, the first antenna is further configured to receive an automatic configuration search request from the AP after the device is powered on; the first processor is further configured to respond to an automatic configuration search request from the AP. And transmitting an automatic configuration search response to the AP through the first antenna.
优选的, 所述第一处理器, 还配置为检测所述无线路由器的配置是否 被修改, 并在所述无线路由器的配置被修改的情况下, 通过所述第一天线 主动发送自动配置更新消息至所述 AP, 指示所述 AP发送自动配置消息。  Preferably, the first processor is further configured to detect whether the configuration of the wireless router is modified, and if the configuration of the wireless router is modified, actively sending an automatic configuration update message by using the first antenna. Up to the AP, instructing the AP to send an automatic configuration message.
又一方面, 本发明实施例还提供一种 AP, 包括: 第二天线, 配置为向 无线路由器发送自动配置消息, 以与所述无线路由器进行配置同步, 其中, 所述自动配置消息用于请求所述 AP待配置的无线参数的类型;还配置为接 收所述无线路由器发送的携带有所述无线参数的类型对应的参数值的消 息, 第二处理器, 配置为解析所述无线参数的类型对应的参数值的消息, 并根据所述参数值进行配置, 实现和所述无线路由器的配置同步。  In another aspect, an embodiment of the present invention further provides an AP, including: a second antenna, configured to send an automatic configuration message to a wireless router to perform configuration synchronization with the wireless router, where the automatic configuration message is used for requesting a type of the wireless parameter to be configured by the AP, configured to receive a message that is sent by the wireless router and that carries a parameter value corresponding to the type of the wireless parameter, where the second processor is configured to parse the type of the wireless parameter Corresponding parameter value message, and configured according to the parameter value, to achieve synchronization with the configuration of the wireless router.
优选的, 所述第二天线, 还配置为在设备上电完成后, 主动发送自动 配置搜索请求至无线路由器; 所述第二处理器, 还配置为监测预定时间段 内所述第二天线是否收到所述无线路由器返回的自动配置搜索响应, 并在 收到所述自动配置搜索响应时, 通过所述第二天线向所述无线路由器发送 自动配置消息。  Preferably, the second antenna is further configured to: after the device is powered on, actively send an automatic configuration search request to the wireless router; and the second processor is further configured to monitor whether the second antenna is within a predetermined time period. Receiving an automatic configuration search response returned by the wireless router, and sending an automatic configuration message to the wireless router through the second antenna when receiving the automatic configuration search response.
优选的, 所述第二处理器, 还配置为在所述第二天线未收到所述自动 配置搜索响应时, 按照预定周期通过所述第二天线向所述无线路由器发送 自动配置搜索请求, 以与所述无线路由器建立连接。 Preferably, the second processor is further configured to send, by the second antenna, to the wireless router according to a predetermined period when the second antenna does not receive the automatic configuration search response. A search request is automatically configured to establish a connection with the wireless router.
本发明实施例的 AP在上电后主动发送自动配置消息,以请求无线路由 器向其发送需要配置的参数值, 以根据对应的参数值来实现与无线路由器 的同步, 该方法提升了系统性能, 提高了用户体验, 解决了现有技术中, 无线路由器和 AP之间无法实现同步配置, 导致用户体验较低的问题。 附图说明  The AP in the embodiment of the present invention actively sends an automatic configuration message after power-on to request the wireless router to send a parameter value to be configured to perform synchronization with the wireless router according to the corresponding parameter value, and the method improves system performance. The user experience is improved, and the problem that the wireless router and the AP cannot be synchronized and the user experience is low is solved in the prior art. DRAWINGS
图 1 是本发明实施例中无线配置同步方法的流程图;  1 is a flowchart of a wireless configuration synchronization method in an embodiment of the present invention;
图 2 是本发明实施例中无线路由器的结构示意图;  2 is a schematic structural diagram of a wireless router according to an embodiment of the present invention;
图 3 是本发明实施例中 AP的结构示意图;  3 is a schematic structural diagram of an AP in an embodiment of the present invention;
图 4 是本发明优选实施例中无线路由器与 AP组网情境示意图; 图 5 是本发明优选实施例中 Enrollee AP上线过程的流程图; 图 6 是本发明优选实施例中 Registrar CPE配置有修改的更新过程流程 图;  4 is a schematic diagram of a wireless router and an AP networking scenario in a preferred embodiment of the present invention; FIG. 5 is a flowchart of an online procedure of an Enrollee AP in a preferred embodiment of the present invention; FIG. 6 is a modified embodiment of a Registrar CPE in a preferred embodiment of the present invention; Update process flow chart;
图 7 是本发明优选实施例中 Enrollee AP状态机流转示意图。 具体实施方式  7 is a schematic diagram showing the flow of an Enrollee AP state machine in a preferred embodiment of the present invention. detailed description
为了解决现有技术中, 无线路由器和 AP之间无法实现同步配置, 导致 用户体验较低的问题, 本发明实施例提供了一种无线配置同步方法、 无线 路由器及 AP, 以下结合附图以及实施例, 对本发明进行进一步详细说明。 应当理解, 此处所描述的具体实施例仅仅用以解释本发明, 并不限定本发 明。  In order to solve the problem that the synchronization between the wireless router and the AP is not implemented, and the user experience is low, the embodiment of the present invention provides a wireless configuration synchronization method, a wireless router, and an AP, which are described below with reference to the accompanying drawings. For example, the present invention will be further described in detail. It is understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
本发明实施例提供了一种无线配置同步方法, 该方法的流程如图 1 所 示, 包括步骤 S102至步骤 S104:  An embodiment of the present invention provides a method for synchronizing a wireless configuration. The process of the method is as shown in FIG. 1, and includes steps S102 to S104:
S102, 接收 AP发送的自动配置消息, 其中, 自动配置消息用于请求 AP待配置的无线参数的类型; S104, 获取无线参数的类型对应的参数值, 并将携带有参数值的消息 发送至 AP, 以实现无线路由器和 AP的配置同步。 S102. Receive an automatic configuration message sent by the AP, where the automatic configuration message is used to request a type of the wireless parameter to be configured by the AP. S104. Obtain a parameter value corresponding to the type of the wireless parameter, and send a message carrying the parameter value to the AP, so as to implement synchronization of configuration between the wireless router and the AP.
本发明实施例的 AP在上电后主动发送自动配置消息,以请求无线路由 器向其发送需要配置的参数值, 以根据对应的参数值来实现与无线路由器 的同步, 该方法提升了系统性能, 提高了用户体验, 解决了现有技术中, 无线路由器和 AP之间无法实现同步配置, 导致用户体验较低的问题。  The AP in the embodiment of the present invention actively sends an automatic configuration message after power-on to request the wireless router to send a parameter value to be configured to perform synchronization with the wireless router according to the corresponding parameter value, and the method improves system performance. The user experience is improved, and the problem that the wireless router and the AP cannot be synchronized and the user experience is low is solved in the prior art.
本发明实施例中, 在接收 AP发送的自动配置消息之前, 无线路由器和 AP之间是需要建立连接的, 因此, 在两种设备分别上电完成后, AP主动 发送自动配置搜索请求至无线路由器, 以判断是否有可用的无线路由器, 其判断过程是监测预定时间段内是否收到无线路由器返回的自动配置搜索 响应。 如果 AP收到自动配置搜索响应, 则确定无线路由器可用, 则向无线 路由器发送自动配置消息, 以与无线路由器进行配置同步。如果 AP未收到 自动配置搜索响应, 则按照预定周期向无线路由器重复发送自动配置搜索 请求, 直到接收到无线路由器返回的自动配置搜索响应。 该过程的主要目 的是确定无线路由器在工作, 即存在可用的无线路由器, 以与无线路由器 建立连接。  In the embodiment of the present invention, before receiving the automatic configuration message sent by the AP, the connection between the wireless router and the AP needs to be established. Therefore, after the two devices are respectively powered on, the AP actively sends an automatic configuration search request to the wireless router. In order to determine whether there is a wireless router available, the judging process is to monitor whether an automatic configuration search response returned by the wireless router is received within a predetermined time period. If the AP receives an automatic configuration search response and determines that the wireless router is available, it sends an automatic configuration message to the wireless router to synchronize configuration with the wireless router. If the AP does not receive the automatic configuration search response, the automatic configuration search request is repeatedly sent to the wireless router according to a predetermined period until an automatic configuration search response returned by the wireless router is received. The main purpose of this process is to determine that the wireless router is working, that is, there is an available wireless router to establish a connection with the wireless router.
在使用过程中,如果无线路由器的配置被修改,则需要对 AP进行同步, 同步过程可以是 AP主动发现来完成, 也可以是无线路由器告知 AP其配置 已变更。 具体的, 如果是 AP主动发现来完成, 则可以是 AP按照一个预设 的周期发送自动配置搜索请求, 主动让无线路由器发送参数值, 然而该方 法大部分情况下可能是在重复配置,会加重 AP和无线路由器的负担。如果 是无线路由器告知 AP其配置已变更,则可以是无线路由器主动发送自动配 置更新消息至 AP, 以指示 AP发送自动配置消息。 AP在收到自动配置更新 消息后, 再向无线路由器发送自动配置消息, 以获取参数值。  During the use, if the configuration of the wireless router is modified, the AP needs to be synchronized. The synchronization process may be completed by the AP actively discovering, or the wireless router may inform the AP that its configuration has been changed. Specifically, if the AP actively discovers to complete, the AP may send an automatic configuration search request according to a preset period, and actively let the wireless router send the parameter value. However, in most cases, the method may be repeatedly configured, which may aggravate. The burden of APs and wireless routers. If the wireless router informs the AP that its configuration has been changed, the wireless router may actively send an automatic configuration update message to the AP to instruct the AP to send an automatic configuration message. After receiving the automatic configuration update message, the AP sends an automatic configuration message to the wireless router to obtain the parameter value.
实现时, 无线路由器可以为 CPE, 无线路由器接收的自动配置消息可 以为 1905.1 协议中的 Ml 消息, AP接收的携带有参数值的消息可以为When implemented, the wireless router can be a CPE, and the automatic configuration message received by the wireless router can be The Ml message in the 1905.1 protocol, the message received by the AP carrying the parameter value may be
1905.1协议中的 M2消息。 M2 message in the 1905.1 protocol.
本发明实施例还提供一种无线路由器, 其结构示意如图 2所示, 包括: 第一天线 1, 配置为接收访问接入点 AP发送的自动配置消息, 其中, 自动配置消息用于请求 AP待配置的无线参数的类型;  The embodiment of the present invention further provides a wireless router, which is shown in FIG. 2, and includes: a first antenna 1 configured to receive an automatic configuration message sent by an access point AP, where an automatic configuration message is used to request an AP. The type of wireless parameter to be configured;
第一处理器 2, 配置为获取无线参数的类型对应的参数值, 并将携带有 参数值的消息通过第一天线发送至 AP, 以实现无线路由器和 AP的配置同 步。  The first processor 2 is configured to obtain a parameter value corresponding to the type of the wireless parameter, and send the message carrying the parameter value to the AP through the first antenna, so as to implement configuration synchronization of the wireless router and the AP.
实现时, 第一天线, 还配置为在设备上电完成后, 接收来自 AP的自动 配置搜索请求; 第一处理器, 还配置为响应来自 AP的自动配置搜索请求, 并通过第一天线发送自动配置搜索响应至 AP。 其中, 第一处理器, 还配置 为检测无线路由器的配置是否被修改, 并在无线路由器的配置被修改的情 况下, 通过第一天线主动发送自动配置更新消息至 AP, 以指示 AP发送自 动配置消息。  When implemented, the first antenna is further configured to receive an automatic configuration search request from the AP after the device is powered on; the first processor is further configured to respond to the automatic configuration search request from the AP, and send the automatic through the first antenna. Configure the search response to the AP. The first processor is further configured to: detect whether the configuration of the wireless router is modified, and if the configuration of the wireless router is modified, actively send an automatic configuration update message to the AP through the first antenna, to indicate that the AP sends the automatic configuration. Message.
本发明实施例还提供了一种 AP, 该 AP为与上述无线路由器交互的设 备, 其结构示意如图 3所示, 包括:  The embodiment of the present invention further provides an AP, where the AP is a device that interacts with the wireless router, and the structure thereof is shown in FIG. 3, and includes:
第二天线 3, 配置为向无线路由器发送自动配置消息, 以与无线路由器 进行配置同步,其中,自动配置消息用于请求 AP待配置的无线参数的类型; 还配置为接收无线路由器发送的携带有无线参数的类型对应的参数值的消 息,  The second antenna 3 is configured to send an automatic configuration message to the wireless router to perform configuration synchronization with the wireless router, where the automatic configuration message is used to request the type of the wireless parameter to be configured by the AP, and is configured to receive the carried by the wireless router. a message of a parameter value corresponding to the type of the wireless parameter,
第二处理器 4, 配置为解析无线参数的类型对应的参数值的消息, 并根 据参数值进行配置, 以实现和无线路由器的配置同步。  The second processor 4 is configured to parse the message of the parameter value corresponding to the type of the wireless parameter, and configure according to the parameter value to synchronize with the configuration of the wireless router.
实现时, 第二天线, 还配置为在设备上电完成后, 主动发送自动配置 搜索请求至无线路由器; 第二处理器, 还配置为监测预定时间段内第二天 线是否收到无线路由器返回的自动配置搜索响应, 并在收到自动配置搜索 响应的情况下, 通过第二天线向无线路由器发送自动配置消息。 其中, 第 二处理器, 还配置为在第二天线未收到自动配置搜索响应的情况下, 按照 预定周期通过第二天线向无线路由器发送自动配置搜索请求, 以与无线路 由器建立连接。 无线配置同步系统, 该系统包括上述的无线路由器和 AP, 在该系统中, 无 线路由器和 AP通过其各自具备的功能来实现无线配置的同步过程,本领域 技术人员根据本发明实施例上述的说明, 可以知晓该无线配置同步系统的 架构, 此处不再赘述。 When implemented, the second antenna is further configured to actively send an automatic configuration search request to the wireless router after the device is powered on; the second processor is further configured to monitor whether the second antenna receives the return from the wireless router within the predetermined time period. Automatically configure search response and receive automatic configuration search In response, an automatic configuration message is sent to the wireless router through the second antenna. The second processor is further configured to: when the second antenna does not receive the automatic configuration search response, send an automatic configuration search request to the wireless router through the second antenna according to a predetermined period to establish a connection with the wireless router. A wireless configuration synchronization system, which includes the wireless router and the AP described above, in which the wireless router and the AP implement the synchronization process of the wireless configuration through their respective functions, and the above description is made by those skilled in the art according to the embodiment of the present invention. The architecture of the wireless configuration synchronization system can be known, and will not be described here.
优选实施例  Preferred embodiment
1905.1 协议, 又称电气和电子工程师协会 ( Institute of Electrical and Electronics Engineers, 简称为 IEEE )标准融合数字家庭网络异构技术, 这 个标准为多种家庭网络技术定义了一个抽象层。 该抽象层为异构家庭网络 技术提供了一个通用数据和控制服务的接入点, 这些异构家庭网络技术主 要包括: IEEE Std 1901TM-2010 , IEEE Std 802.11TM-2012 , IEEE Std 802.3TM-2008和 MoCA, 而且这个标准是可扩展的。 除此之外, 该标准还 规定了全部的程序, 协议和准则, 以简化用户的体验: 如将设备添加到网 络, 新建加密密钥, 扩展网络覆盖范围, 提供网络管理功能, 如: 邻居发 现, 拓朴发现, 接口选择, QoS协商和网络控制管理等。  The 1905.1 Protocol, also known as the Institute of Electrical and Electronics Engineers (IEEE) standard converged digital home network heterogeneous technology, defines an abstraction layer for multiple home networking technologies. This abstraction layer provides a common data and control service access point for heterogeneous home network technologies. These heterogeneous home network technologies include: IEEE Std 1901TM-2010, IEEE Std 802.11TM-2012, IEEE Std 802.3TM-2008 And MoCA, and this standard is extensible. In addition, the standard specifies all procedures, protocols and guidelines to simplify the user experience: such as adding devices to the network, creating new encryption keys, extending network coverage, and providing network management functions such as: Neighbor Discovery , topology discovery, interface selection, QoS negotiation and network control management.
本发明实施例提供的基于 1905.1 协议的自动配置协议(Protocols for The automatic configuration protocol based on the 1905.1 protocol provided by the embodiment of the present invention (Protocols for
IEEE 802.11 access point autoconfiguration with IEEE Std 1905.1 ) 隶属于 1905.1协议的第 10章节, 它使用 CMDUs将 Registrar的 IEEE 802.11参数 传输至 Enrollee, 以便建立 Enrollee IEEE 802.11接口的初始配置或者更新 其已有的配置。 此操作提供了一种自动的方法来设置多个 AP 的扩展服务 集, 并保持他们同步。 1905.1 自动配置协议包括两个阶段: 获取 1905.1 网络环境中 Registrar (注册)是否可达的 Registrar发现阶段和 IEEE 802.11 参数的配置阶段; IEEE 802.il 参数配置阶段主要完成 Registrar和 Enrollee (涉及到的) 的配 置传输。 1905.1抽象层为 WSC帧 Ml和 M2提供了透明的传输协议。 IEEE 802.11 access point autoconfiguration with IEEE Std 1905.1) is part 10 of the 1905.1 protocol, which uses CMDUs to transfer Registrar's IEEE 802.11 parameters to Enrollee to establish the initial configuration of the Enrollee IEEE 802.11 interface or to update its existing configuration. This action provides an automated way to set up extended service sets for multiple APs and keep them in sync. 1905.1 The automatic configuration protocol consists of two phases: Obtaining the Registrar discovery phase and the configuration phase of IEEE 802.11 parameters in the 1905.1 network environment where the Registrar (registration) is reachable; the IEEE 802.il parameter configuration phase mainly completes the Registrar and Enrollee (involved) Configuration transfer. The 1905.1 abstraction layer provides a transparent transport protocol for WSC frames M1 and M2.
本发明实施例以 1905.1规范中的自动配置协议为指导,在路由器与 AP 的组网环境中, 实现路由器和 AP无线配置的自动同步更新, 简化了路由器 和 AP 组网过程, 家庭网络用户所做的无线配置操作, 用户只需要设置 Registrar的无线配置, AP Enrollee的无线配置即可同步更新。 下面结合具 体  The embodiment of the present invention is based on the automatic configuration protocol in the 1905.1 specification, and implements automatic synchronization update of the router and the AP wireless configuration in the networking environment of the router and the AP, which simplifies the process of the router and the AP networking, and is performed by the home network user. For the wireless configuration operation, the user only needs to set the wireless configuration of the Registrar, and the wireless configuration of the AP Enrollee can be updated synchronously. Combined with the following
本发明实施例提出的方法是基于家庭网络应用场景, 无线路由器与 AP 组网情境下, 该情境如图 4所示, 无线路由器(CPE )、 AP设备 1、 AP设 备 2通过 PLC或者 ETH方式连接; AP设备 1和 AP设备 2分别下挂多种 家庭网络设备, 例如: 传真机、 多功能设备、 手机、 智能手机, 数字相机 和打印机等。 无线路由器通过与 AP设备 1和 AP设备 2自动配置协议报文 的交互, 完成三者的无线配置同步。 这样, 家庭网络用户再次使用无线网 络时可以做到无感知,也不用单独再对 AP做无线配置处理,操作简单方便, 一键搞定。  The method proposed in the embodiment of the present invention is based on a home network application scenario, in a wireless router and an AP networking scenario, the scenario is as shown in FIG. 4, and the wireless router (CPE), the AP device 1, and the AP device 2 are connected through a PLC or an ETH. AP device 1 and AP device 2 respectively hang a variety of home network devices, such as: fax machines, multifunction devices, mobile phones, smart phones, digital cameras and printers. The wireless router synchronizes the wireless configuration of the three devices by automatically configuring the protocol packets with the AP device 1 and the AP device 2. In this way, when the home network user uses the wireless network again, it can be made without perception, and the wireless configuration processing of the AP is not required separately, and the operation is simple and convenient, and one button is fixed.
实例一  Example one
本实例介绍 Enrollee AP上线过程, 其流程如图 5所示, 包括步骤 S501 至步骤 S508。  This example describes the process of the Enrollee AP going online. The process is shown in Figure 5, including steps S501 to S508.
5501 , Enrollee API和 Enrollee AP2分另 'J发送 Auto config search req ( bandl ) (自动配置搜索请求 )至 Registrar CPE;  5501, Enrollee API and Enrollee AP2 separate 'J send Auto config search req (bandl) (automatically configure search request) to Registrar CPE;
5502, Registrar CPE在收到 Enrollee API和 Enrollee AP2的 Auto config search req之后回应 Auto config search resp ( bandl ) (自动酉己置搜索口向应 ), 则 API和 AP2即认为 Registrar存在可用; S503, API和 AP2认为 Registrar存在后,发送无线 Ml消息( Auto config wps )至 CPE; 5502, Registrar CPE responds to Auto config search resp (bandl) after receiving the Auto config search req of Enrollee API and Enrollee AP2, then API and AP2 think Registrar is available; S503, API and AP2, after the Registrar exists, send a wireless Ml message (Auto config wps) to the CPE;
S504, CPE将其无线配置封装至无线 M2消息 ( Auto config wps ) 中, 发送给 API和 AP2;  S504, the CPE encapsulates its wireless configuration into a wireless M2 message (Auto config wps), and sends it to the API and AP2;
API和 AP2收到 M2的消息后, 根据 M2消息里面的无线配置进行配 置。 所述 M2消息包含 SSID名称、 加密方式、 密钥等。  After the API and AP2 receive the M2 message, they are configured according to the wireless configuration in the M2 message. The M2 message includes an SSID name, an encryption method, a key, and the like.
S505-S508为射频(band2 ) 的配置过程, 在 bandl和 band2都配置完 成后, 则完成了 Registrar CPE和 Enrollee AP的配置同步。  S505-S508 is a radio frequency (band2) configuration process. After both band1 and band2 are configured, the configuration of Registrar CPE and Enrollee AP is synchronized.
实例二  Example two
本实例介绍 Registrar CPE配置有修改的更新过程,其流程如图 6所示, 包括步骤 S601至步骤 S606。  This example describes a modified update process of the Registrar CPE configuration. The process is as shown in FIG. 6, and includes steps S601 to S606.
5601, Registrar CPE发送 Auto config renew ( bandl ) (自动配置更新 ) 至 Enrollee AP, 以告知 Enrollee AP有无线配置发生更新;  5601, Registrar CPE sends Auto config renew (bandl) to the Enrollee AP to inform the Enrollee AP that the wireless configuration has been updated;
5602, Enrollee AP在接收到该消息之后,发送无线 Ml消息( Auto config wps ) 回应 egistrar CPE;  5602, after receiving the message, the Enrollee AP sends a wireless Ml message (Auto config wps) to respond to the egistrar CPE;
5603, Registrar CPE收到 Ml的消息后,推送无线 M2消息( Auto config wps )至 Enrollee AP;  5603, Registrar CPE receives the Ml message, pushes the wireless M2 message (Auto config wps) to the Enrollee AP;
Enrollee AP再根据 M2消息进行无线配置, 所述 M2消息包含 SSID名 称、 加密方式、 密钥等。  The Enrollee AP is then wirelessly configured according to the M2 message, which includes the SSID name, encryption method, key, and the like.
S604-S606为射频(band2 ) 的配置过程, 在 bandl和 band2都配置完 成后, 则完成了 Registrar CPE和 Enrollee AP的配置同步。  S604-S606 is a radio frequency (band2) configuration process. After both band1 and band2 are configured, the configuration of Registrar CPE and Enrollee AP is synchronized.
对于 Enrollee AP, 可以通过设计状态机来保证其状态的顺利流转, 其 状态机流转可以图如 7所示, 详细的状态含义及迁移关系如表 1和表 2。 表 1For the Enrollee AP, the state machine can be designed to ensure the smooth flow of its state. The state machine flow can be shown in Figure 7. The detailed state meaning and migration relationship are shown in Table 1 and Table 2. Table 1
Figure imgf000011_0001
Figure imgf000011_0001
表 2 Table 2
Figure imgf000011_0002
Figure imgf000011_0002
另外, 实例一和实例二中的报文定义总共用到 4种消息类型, 分别为: ( 1 ) AP-Autoconfiguration Search Message Format; 消息类型: Relayed Multicast; In addition, the message definitions in instance one and instance two use a total of four message types, namely: (1) AP-Autoconfiguration Search Message Format; Message Type: Relayed Multicast;
附带 TLVs: Included with TLVs:
- One PI 905.1 AL MAC Address Type TLV
Figure imgf000012_0003
- One PI 905.1 AL MAC Address Type TLV
Figure imgf000012_0003
- One Searched ole TLV
Figure imgf000012_0004
- One Searched ole TLV
Figure imgf000012_0004
Figure imgf000012_0005
Figure imgf000012_0005
- One Autoconfi FreqBand TLV  - One Autoconfi FreqBand TLV
Figure imgf000012_0001
Figure imgf000012_0006
Figure imgf000012_0001
Figure imgf000012_0006
( 2 ) AP- Autoconfiguration Response Message Format; 消息类型: unicast;  ( 2 ) AP- Autoconfiguration Response Message Format; Message type: unicast;
附带 TLVs: Included with TLVs:
- One Supported ole TLV  - One Supported ole TLV
Figure imgf000012_0002
- One SupportedFreqBand TLV
Figure imgf000012_0002
- One SupportedFreqBand TLV
Figure imgf000013_0002
Figure imgf000013_0002
( 3 ) AP- Autoconfiguration Renew Message Format; 消息类型: Relayed Multicast;  (3) AP-Autoconfiguration Renew Message Format; Message Type: Relayed Multicast;
附带 TLVs: Included with TLVs:
- One PI 905.1 AL MAC Address Type TLV
Figure imgf000013_0003
- One PI 905.1 AL MAC Address Type TLV
Figure imgf000013_0003
- One Su orted ole TLV  - One Su orted ole TLV
Figure imgf000013_0004
Figure imgf000013_0004
- One SupportedFreqBand TLV  - One SupportedFreqBand TLV
Figure imgf000013_0005
Figure imgf000013_0005
( 4 ) AP- Autoconfiguration WPS Message Format; 消息类型: unicast;  (4) AP-Autoconfiguration WPS Message Format; Message type: unicast;
附带 TLVs: Included with TLVs:
Figure imgf000013_0001
其中, WPS帧包含 Ml帧或 M2帧。下面对 Ml和 M2的结构进行说明 所述 Ml消息结构如下表所示:
Figure imgf000013_0001
The WPS frame includes an M1 frame or an M2 frame. The following describes the structure of M1 and M2. The M1 message structure is shown in the following table:
Figure imgf000014_0001
Figure imgf000014_0001
i SVtanuaciijrer i SVtanuaciijrer
ode^ Name ——丄  Ode^ Name ——丄
i del Uumh&r  i del Uumh&r
Sei l Niujnt er  Sei l Niujnt er
i rimary D ice Typ- R  i rimary D ice Typ- R
i Device Hz R  i Device Hz R
RF Bands R I Specific RF band used for t s rnessags.  RF Bands R I Specific RF band used for t s rnessags.
i Assocatson State R  i Assocatson State R
Device Password iD R  Device Password iD R
C nfsg Fation Error R  C nfsg Fation Error R
OS eirsson R:  OS eirsson R:
i V¾rs¾o:n2 (inside FA C I 0x20 » version 2.0, 0x21 = version 2.1, etc. Must be inducted VenfJ r Extension) in protocol version 2.0 and higher.  i V3⁄4rs3⁄4o:n2 (inside FA C I 0x20 » version 2.0, 0x21 = version 2.1, etc. Must be inducted VenfJ r Extension) in protocol version 2.0 and higher.
ί Request k n il ins;da 0 1 indicates the desire: to enroB in the network, if the Registrar WFA Vendor E ten ion} 1 gets ths sitribute it cart use this as a trigger that a de ice : wants to enro^i.  Request Request kn il ins;da 0 1 indicates the desire: to enroB in the network, if the Registrar WFA Vendor E ten ion} 1 gets ths sitribute it cart use this as a trigger that a de ice : wants to enro^i.
0 i Mutfipte attributes are perrrstltsd. 0 i Mutfipte attributes are perrrstltsd.
M2消息结构如下表所示: The M2 message structure is shown in the following table:
Figure imgf000015_0001
Figure imgf000015_0001
其中 Encrypted Settings如下表所示:  The Encrypted Settings are shown in the following table:
Figure imgf000015_0002
Figure imgf000015_0002
本领域内的技术人员应明白, 本发明的实施例可提供为方法、 系统、 或计算机程序产品。 因此, 本发明可釆用硬件实施例、 软件实施例、 或结 合软件和硬件方面的实施例的形式。 而且, 本发明可釆用在一个或多个其 中包含有计算机可用程序代码的计算机可用存储介质 (包括但不限于磁盘 存储器和光学存储器等 )上实施的计算机程序产品的形式。  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 a hardware embodiment, a software embodiment, or an embodiment of a combination of software and hardware. Moreover, the invention can be embodied in the form of a computer program product embodied on one or more computer usable storage media (including but not limited to disk storage and optical storage, etc.) including computer usable program code.
本发明是参照根据本发明实施例的方法、 设备(系统)、 和计算机程序 产品的流程图和 /或方框图来描述的。 应理解可由计算机程序指令实现流程 图和 /或方框图中的每一流程和 /或方框、以及流程图和 /或方框图中的流程和 /或方框的结合。 可提供这些计算机程序指令到通用计算机、 专用计算机、 嵌入式处理机或其他可编程数据处理设备的处理器以产生一个机器, 使得 在流程图一个流程或多个流程和 /或方框图一个方框或多个方框中指定的功 能的装置。 The present invention has been described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (system), and computer program products according to embodiments of the invention. It will be understood that each flow and/or block of the flowchart illustrations and/or FIG. These computer program instructions can be provided to a processor of a general purpose computer, a special purpose computer, an embedded processor or other programmable data processing device to produce a machine such that A means of function specified in a flow or a flow and/or a block diagram of a block or blocks.
这些计算机程序指令也可存储在能引导计算机或其他可编程数据处理 设备以特定方式工作的计算机可读存储器中, 使得存储在该计算机可读存 储器中的指令产生包括指令装置的制造品, 该指令装置实现在流程图一个 流程或多个流程和 /或方框图一个方框或多个方框中指定的功能。  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.
以上所述, 仅为本发明的较佳实施例而已, 并非用于限定本发明的保 护范围。  The above is only the preferred embodiment of the present invention and is not intended to limit the scope of the present invention.

Claims

权利要求书 Claim
1、 一种无线配置同步方法, 该方法包括:  1. A wireless configuration synchronization method, the method comprising:
接收访问接入点 AP发送的自动配置消息, 其中, 所述自动配置消息用 于请求所述 AP待配置的无线参数的类型;  Receiving an automatic configuration message sent by the access point AP, where the automatic configuration message is used to request a type of the wireless parameter to be configured by the AP;
获取所述无线参数的类型对应的参数值, 并将携带有所述参数值的消 息发送至所述 AP, 实现无线路由器和所述 AP的配置同步。  Obtaining a parameter value corresponding to the type of the wireless parameter, and sending a message carrying the parameter value to the AP, to implement synchronization of configuration between the wireless router and the AP.
2、 如权利要求 1所述的无线配置同步方法, 其中, 所述接收 AP发送 的自动配置消息之前, 该方法还包括:  The wireless configuration synchronization method according to claim 1, wherein before the receiving the automatic configuration message sent by the AP, the method further includes:
设备上电完成后, 所述 AP主动发送自动配置搜索请求至无线路由器, 并监测预定时间段内是否收到所述无线路由器返回的自动配置搜索响应; 在所述 AP收到所述自动配置搜索响应时,向所述无线路由器发送自动 配置消息, 以与所述无线路由器进行配置同步。  After the device is powered on, the AP actively sends an automatic configuration search request to the wireless router, and monitors whether an automatic configuration search response returned by the wireless router is received within a predetermined time period; and the automatic configuration search is received by the AP. In response, an automatic configuration message is sent to the wireless router for configuration synchronization with the wireless router.
3、 如权利要求 2所述的无线配置同步方法, 其中, 所述监测预定时间 段内是否收到所述无线路由器返回的自动配置搜索响应之后, 该方法还包 括:  The wireless configuration synchronization method according to claim 2, wherein after the monitoring of the automatic configuration search response returned by the wireless router is received within a predetermined time period, the method further includes:
在所述 AP未收到所述自动配置搜索响应的情况下,按照预定周期向所 述无线路由器发送自动配置搜索请求, 与所述无线路由器建立连接。  In the case that the AP does not receive the automatic configuration search response, an automatic configuration search request is sent to the wireless router according to a predetermined period to establish a connection with the wireless router.
4、 如权利要求 1所述的无线配置同步方法, 其中, 所述接收 AP发送 的自动配置消息之前, 该方法还包括:  The wireless configuration synchronization method according to claim 1, wherein before the receiving the automatic configuration message sent by the AP, the method further includes:
在所述无线路由器的配置被修改时, 主动发送自动配置更新消息至所 述 AP, 指示所述 AP发送自动配置消息。  When the configuration of the wireless router is modified, the automatic configuration update message is actively sent to the AP, and the AP is instructed to send an automatic configuration message.
5、 如权利要求 1至 4中任一项所述的无线配置同步方法, 其中, 所述无线路由器接收的所述自动配置消息为: 1905.1协议中的 Ml 消 息,所述 AP接收的携带有所述参数值的消息为: 1905.1协议中的 M2消息。  The wireless configuration synchronization method according to any one of claims 1 to 4, wherein the automatic configuration message received by the wireless router is: Ml message in the 1905.1 protocol, and the AP receives the bearer The message of the parameter value is: M2 message in the 1905.1 protocol.
6、 如权利要求 1至 4中任一项所述的无线配置同步方法, 其中, 所述 无线路由器为客户终端设备 CPE。 The wireless configuration synchronization method according to any one of claims 1 to 4, wherein The wireless router is a customer terminal equipment CPE.
7、 一种无线路由器, 该无线路由器包括:  7. A wireless router, the wireless router comprising:
第一天线, 配置为接收访问接入点 AP发送的自动配置消息, 其中, 所 述自动配置消息用于请求所述 AP待配置的无线参数的类型;  The first antenna is configured to receive an automatic configuration message sent by the access point AP, where the automatic configuration message is used to request a type of the wireless parameter to be configured by the AP;
第一处理器, 配置为获取所述无线参数的类型对应的参数值, 并将携 带有所述参数值的消息通过所述第一天线发送至所述 AP, 实现所述无线路 由器和所述 AP的配置同步。  a first processor, configured to acquire a parameter value corresponding to the type of the wireless parameter, and send a message carrying the parameter value to the AP by using the first antenna, to implement the wireless router and the AP The configuration is synchronized.
8、 如权利要求 7所述的无线路由器, 其中,  8. The wireless router of claim 7, wherein
所述第一天线,还配置为在设备上电完成后,接收来自所述 AP的自动 配置搜索请求;  The first antenna is further configured to receive an automatic configuration search request from the AP after the device is powered on;
所述第一处理器,还配置为响应来自所述 AP的自动配置搜索请求, 并 通过所述第一天线发送自动配置搜索响应至所述 AP。  The first processor is further configured to respond to an automatic configuration search request from the AP and send an automatic configuration search response to the AP through the first antenna.
9、 如权利要求 7或 8所述的无线路由器, 其中,  9. The wireless router according to claim 7 or 8, wherein
所述第一处理器, 还配置为检测所述无线路由器的配置是否被修改, 并在所述无线路由器的配置被修改的情况下, 通过所述第一天线主动发送 自动配置更新消息至所述 AP, 指示所述 AP发送自动配置消息。  The first processor is further configured to detect whether the configuration of the wireless router is modified, and if the configuration of the wireless router is modified, actively sending an automatic configuration update message to the The AP instructs the AP to send an automatic configuration message.
10、 一种访问接入点 AP, 所述 AP包括:  10. An access point AP, where the AP includes:
第二天线, 配置为向无线路由器发送自动配置消息, 以与所述无线路 由器进行配置同步, 其中, 所述自动配置消息用于请求所述 AP待配置的无 线参数的类型; 还配置为接收所述无线路由器发送的携带有所述无线参数 的类型对应的参数值的消息;  a second antenna, configured to send an automatic configuration message to the wireless router to perform configuration synchronization with the wireless router, where the automatic configuration message is used to request a type of the wireless parameter to be configured by the AP; a message sent by the wireless router that carries a parameter value corresponding to the type of the wireless parameter;
第二处理器, 配置为解析所述无线参数的类型对应的参数值的消息, 并根据所述参数值进行配置, 实现和所述无线路由器的配置同步。  And a second processor configured to parse the message of the parameter value corresponding to the type of the wireless parameter, and configured according to the parameter value to synchronize with the configuration of the wireless router.
11、 如权利要求 10所述的 AP, 其中,  11. The AP according to claim 10, wherein
所述第二天线, 还配置为在设备上电完成后, 主动发送自动配置搜索 请求至无线路由器; The second antenna is further configured to actively send an automatic configuration search after the device is powered on. Request to the wireless router;
所述第二处理器, 还配置为监测预定时间段内所述第二天线是否收到 所述无线路由器返回的自动配置搜索响应, 并在收到所述自动配置搜索响 应时, 通过所述第二天线向所述无线路由器发送自动配置消息。  The second processor is further configured to monitor whether the second antenna receives an automatic configuration search response returned by the wireless router within a predetermined time period, and when the automatic configuration search response is received, pass the The two antennas send an automatic configuration message to the wireless router.
12、 如权利要求 10或 11所述的 AP, 其中,  12. The AP according to claim 10 or 11, wherein
所述第二处理器, 还配置为在所述第二天线未收到所述自动配置搜索 响应时, 按照预定周期通过所述第二天线向所述无线路由器发送自动配置 搜索请求, 以与所述无线路由器建立连接。  The second processor is further configured to: when the second antenna does not receive the automatic configuration search response, send an automatic configuration search request to the wireless router by using the second antenna according to a predetermined period, The wireless router establishes a connection.
PCT/CN2014/084935 2014-06-16 2014-08-21 Wireless configuration synchronization method, wireless router and ap WO2015192465A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201410267574.5 2014-06-16
CN201410267574.5A CN105307197A (en) 2014-06-16 2014-06-16 Wireless configuration synchronization method, wireless router and AP

Publications (1)

Publication Number Publication Date
WO2015192465A1 true WO2015192465A1 (en) 2015-12-23

Family

ID=54934756

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2014/084935 WO2015192465A1 (en) 2014-06-16 2014-08-21 Wireless configuration synchronization method, wireless router and ap

Country Status (2)

Country Link
CN (1) CN105307197A (en)
WO (1) WO2015192465A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP3993484A4 (en) * 2019-09-23 2022-08-03 ZTE Corporation Method and device for automatic role assumption, and computer readable storage medium

Families Citing this family (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107241209B (en) * 2016-03-29 2020-04-28 华为技术有限公司 Data transmission method and equipment
US10292189B2 (en) * 2016-05-17 2019-05-14 Mediatek Inc. Method of network configuration for wireless access point
CN106603423B (en) * 2016-12-10 2019-09-17 深圳市润迅通投资有限公司 A kind of intelligent router management method
FR3062204B1 (en) * 2017-01-26 2019-04-05 Thales ELECTRONIC COMMUNICATION GATEWAY, AVIONIC COMMUNICATION INSTALLATION COMPRISING SUCH GATEWAY, INFORMATION PROCESSING METHOD AND COMPUTER PROGRAM
CN108429628A (en) * 2017-02-13 2018-08-21 中兴通讯股份有限公司 A kind of wireless network configuration method and device
CN108650120B (en) * 2018-04-26 2022-01-14 上海泰砚通信技术有限公司 Control method of low-density wireless networking
CN110149592B (en) * 2019-06-27 2021-07-09 Oppo广东移动通信有限公司 Indoor positioning method, terminal, client front-end equipment and electronic equipment

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102421202A (en) * 2011-12-06 2012-04-18 深圳市共进电子股份有限公司 Method for automatically connecting wireless equipment and uplink network access equipment
CN102594579A (en) * 2011-01-06 2012-07-18 卓思网络公司 Automatic configuration and network deployment for network devices
CN102970770A (en) * 2012-11-21 2013-03-13 深圳市普联技术有限公司 Power line based wireless roaming network establishing method and system
CN103747459A (en) * 2013-12-23 2014-04-23 华为技术有限公司 Configuration method of web camera and web camera

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2007131192A2 (en) * 2006-05-05 2007-11-15 Agilemesh, Inc. Network device user control interface
CN102455916A (en) * 2010-10-21 2012-05-16 西安龙飞软件有限公司 Method for virtualizing flash in third-generation (3G) / wireless fidelity (WiFi) double-module wireless router system

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102594579A (en) * 2011-01-06 2012-07-18 卓思网络公司 Automatic configuration and network deployment for network devices
CN102421202A (en) * 2011-12-06 2012-04-18 深圳市共进电子股份有限公司 Method for automatically connecting wireless equipment and uplink network access equipment
CN102970770A (en) * 2012-11-21 2013-03-13 深圳市普联技术有限公司 Power line based wireless roaming network establishing method and system
CN103747459A (en) * 2013-12-23 2014-04-23 华为技术有限公司 Configuration method of web camera and web camera

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP3993484A4 (en) * 2019-09-23 2022-08-03 ZTE Corporation Method and device for automatic role assumption, and computer readable storage medium

Also Published As

Publication number Publication date
CN105307197A (en) 2016-02-03

Similar Documents

Publication Publication Date Title
WO2015192465A1 (en) Wireless configuration synchronization method, wireless router and ap
US10798702B2 (en) Periodic frames for control plane data to manage multi-band wireless networking system
JP6368989B2 (en) Communication device
JP6209675B2 (en) Method and apparatus for performing a wireless docking service
KR101611329B1 (en) 1method and apparatus for changing services in wireless communication system
US9699715B2 (en) Discovery method and device in a wireless communication system
US20150327313A1 (en) Method and device for session initialization in wireless communication system
US20150373765A1 (en) Method and apparatus for establishing session in wireless communication system
CN102625325B (en) A kind of wireless network deployment method and WAP (wireless access point)
US8300578B2 (en) System, apparatus and method for seamless roaming through the use of routing update messages
JP6271843B2 (en) COMMUNICATION DEVICE, ITS CONTROL METHOD, PROGRAM
JP7366592B2 (en) Communication device, control method and program for communication device
TW201141298A (en) Method and apparatus for implementing a blanket wireless local area network control plane
US11611604B2 (en) Method and apparatus for receiving streaming via transport protocol in wireless communication system
KR20150095667A (en) Automatic reconfiguration of network devices
TWI587716B (en) Client managed soft handover and seamless link failover for wireless networks
JP6271839B2 (en) COMMUNICATION DEVICE, COMMUNICATION DEVICE CONTROL METHOD, PROGRAM
JP6173011B2 (en) COMMUNICATION DEVICE, COMMUNICATION DEVICE CONTROL METHOD, PROGRAM
JP2004254254A (en) Method and system for enhancing transmission efficiency of wireless local area network
WO2014115610A1 (en) Communication device, method for controlling communication device, and program
US9602579B2 (en) Communication apparatus, method for controlling the same, and program
JP2015099990A (en) Communication apparatus, method for controlling communication apparatus, and program

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

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

Country of ref document: EP

Kind code of ref document: A1