CN102612030B - Wireless access collocation method and system, radio reception device, terminal - Google Patents

Wireless access collocation method and system, radio reception device, terminal Download PDF

Info

Publication number
CN102612030B
CN102612030B CN201210028885.7A CN201210028885A CN102612030B CN 102612030 B CN102612030 B CN 102612030B CN 201210028885 A CN201210028885 A CN 201210028885A CN 102612030 B CN102612030 B CN 102612030B
Authority
CN
China
Prior art keywords
wireless access
key
terminal
access device
wireless
Prior art date
Legal status (The legal status 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 status listed.)
Active
Application number
CN201210028885.7A
Other languages
Chinese (zh)
Other versions
CN102612030A (en
Inventor
田新雪
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
China United Network Communications Group Co Ltd
Original Assignee
China United Network Communications Group Co Ltd
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 China United Network Communications Group Co Ltd filed Critical China United Network Communications Group Co Ltd
Priority to CN201210028885.7A priority Critical patent/CN102612030B/en
Publication of CN102612030A publication Critical patent/CN102612030A/en
Application granted granted Critical
Publication of CN102612030B publication Critical patent/CN102612030B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Mobile Radio Communication Systems (AREA)

Abstract

本发明提供一种无线接入配置方法及系统、无线接入设备、终端,其中,该方法包括:无线接入设备通过有线连接与终端进行无线网络参数同步配置;所述无线接入设备通过有线连接与所述终端进行密钥同步协商,确定并保存所述无线接入设备和所述终端之间的无线接入密钥;所述无线接入设备将所述无线接入密钥发送给所述终端,以使所述终端根据所述无线接入密钥进行无线接入密钥配置,解决了现有的无线接入设备的安全机制设置比较复杂的问题。

The present invention provides a wireless access configuration method and system, a wireless access device, and a terminal, wherein the method includes: the wireless access device performs wireless network parameter synchronous configuration with the terminal through a wired connection; performing key synchronization negotiation with the terminal, determining and saving the wireless access key between the wireless access device and the terminal; the wireless access device sends the wireless access key to the The terminal is configured so that the terminal configures the wireless access key according to the wireless access key, which solves the problem that the security mechanism setting of the existing wireless access device is relatively complicated.

Description

无线接入配置方法及系统、无线接入设备、终端Wireless access configuration method and system, wireless access device, and terminal

技术领域 technical field

本发明涉及网络通信技术,尤其涉及一种无线接入配置方法及系统、无线接入设备、终端。The present invention relates to network communication technology, in particular to a wireless access configuration method and system, wireless access equipment, and a terminal.

背景技术 Background technique

无线网络技术为用户提供更好的移动性、灵活性和扩展性,特别是可以在不破坏整体家庭布局的情况下提供局域网接入,越来越成为最为普遍的家庭网络接入方式。但是,安全问题随着无线网络应用的深入表露无遗,目前,保护无线网络接入安全的最基本手段是对无线网络接入设置加密认证的安全机制。Wireless network technology provides users with better mobility, flexibility and scalability, especially the ability to provide LAN access without destroying the overall home layout, and has become the most common home network access method. However, with the deepening of wireless network applications, security issues are fully exposed. At present, the most basic means to protect the security of wireless network access is to set up a security mechanism of encryption and authentication for wireless network access.

然而,在实际的应用过程中,用户刚购买的无线接入设备不具有安全机制,为了保护无线网络接入的安全,需要对该无线接入设备进行加密认证等一系列设置,现有技术中,用户必须利用自己的电脑设备,打开该无线接入设备的管理服务页面进行设置,例如,通过电脑的浏览器输入192.168.1.1,进入无线接入设备的管理服务页面,根据设置向导对无线接入设备进行一系列的手动配置,才能启用无线接入设备的安全机制,手动配置对于技术人员来说虽然比较简单,但是对于普通的毫无网络背景知识的用户(如老人)来说,具有很大的难度。However, in the actual application process, the wireless access device just purchased by the user does not have a security mechanism. In order to protect the security of wireless network access, a series of settings such as encryption and authentication need to be performed on the wireless access device. , the user must use his own computer equipment to open the management service page of the wireless access device for setting, for example, enter 192.168. The security mechanism of the wireless access device can only be enabled by performing a series of manual configurations on the access device. Although manual configuration is relatively simple for technicians, it is very useful for ordinary users (such as the elderly) who have no network background knowledge. Great difficulty.

其次,现有技术中无线网络接入安全机制设置的密钥一旦泄露的情况下,其他终端即可根据设置的密钥自动进行无线网络接入,从而造成无线网络流量的损失。Secondly, once the key set by the wireless network access security mechanism in the prior art is leaked, other terminals can automatically access the wireless network according to the set key, thereby causing loss of wireless network traffic.

发明人在实现本发明的过程中发现:现有的无线接入配置方法存在设置复杂的问题。The inventor found in the process of implementing the present invention that: the existing wireless access configuration method has the problem of complicated settings.

发明内容Contents of the invention

本发明提供一种无线接入配置方法及系统、无线接入设备、装置,可以解决现有的无线接入配置方法存在设置复杂的问题。The present invention provides a wireless access configuration method and system, wireless access equipment, and a device, which can solve the problem of complicated settings in the existing wireless access configuration method.

本发明的第一个方面是提供一种无线接入配置方法,包括:The first aspect of the present invention is to provide a wireless access configuration method, including:

无线接入设备通过有线连接与终端进行无线网络参数同步配置;The wireless access device performs wireless network parameter synchronization configuration with the terminal through a wired connection;

所述无线接入设备通过有线连接与所述终端进行密钥同步协商,确定并保存所述无线接入设备和所述终端之间的无线接入密钥;The wireless access device performs key synchronization negotiation with the terminal through a wired connection, and determines and saves the wireless access key between the wireless access device and the terminal;

所述无线接入设备将所述无线接入密钥发送给所述终端,以使所述终端根据所述无线接入密钥进行无线接入密钥配置。The wireless access device sends the wireless access key to the terminal, so that the terminal performs wireless access key configuration according to the wireless access key.

本发明的另一个方面是提供一种无线接入设备,包括:Another aspect of the present invention provides a wireless access device, including:

第一参数配置模块,用于通过有线连接与终端进行无线网络参数同步配置;The first parameter configuration module is used to perform wireless network parameter synchronization configuration with the terminal through a wired connection;

第一密钥协商模块,用于通过有线连接与所述终端进行密钥同步协商,确定并保存所述无线接入设备和所述终端之间的无线接入密钥;A first key negotiation module, configured to perform key synchronization negotiation with the terminal through a wired connection, determine and save the wireless access key between the wireless access device and the terminal;

第一收发模块,用于将所述无线接入密钥发送给所述终端,以使所述终端根据所述无线接入密钥进行无线接入密钥配置。The first transceiver module is configured to send the wireless access key to the terminal, so that the terminal performs wireless access key configuration according to the wireless access key.

本发明的又一个方面是提供一种无线接入配置方法,包括:Another aspect of the present invention is to provide a wireless access configuration method, including:

终端通过有线连接与无线接入设备进行无线网络参数同步配置;The terminal performs synchronous configuration of wireless network parameters with the wireless access device through a wired connection;

所述终端通过有线连接与所述无线接入设备进行密钥同步协商,以使所述无线接入设备确定并保存所述终端与所述无线接入设备之间的无线接入密钥;The terminal performs key synchronization negotiation with the wireless access device through a wired connection, so that the wireless access device determines and saves the wireless access key between the terminal and the wireless access device;

所述终端接收所述无线接入设备发送的所述无线接入密钥;receiving, by the terminal, the wireless access key sent by the wireless access device;

所述终端根据所述无线接入密钥进行无线接入密钥配置。The terminal performs wireless access key configuration according to the wireless access key.

本发明的又一个方面是提供一种终端,包括:Another aspect of the present invention is to provide a terminal, including:

第二参数配置模块,用于通过有线连接与无线接入设备进行无线网络参数同步配置;The second parameter configuration module is used to perform wireless network parameter synchronization configuration with the wireless access device through a wired connection;

第二密钥协商模块,用于通过有线连接与所述无线接入设备进行密钥同步协商,以使所述无线接入设备确定并保存所述终端与所述无线接入设备之间的无线接入密钥;The second key negotiation module is configured to perform key synchronization negotiation with the wireless access device through a wired connection, so that the wireless access device determines and saves the wireless communication between the terminal and the wireless access device. access key;

第二收发模块,用于接收所述无线接入设备发送的所述无线接入密钥;a second transceiver module, configured to receive the wireless access key sent by the wireless access device;

密钥配置模块,用于根据所述无线接入密钥进行无线接入密钥配置。A key configuration module, configured to perform wireless access key configuration according to the wireless access key.

本发明的又一个方面是提供一种无线接入配置系统,包括:上述无线接入设备和上述终端。Another aspect of the present invention is to provide a wireless access configuration system, including: the above wireless access device and the above terminal.

本发明实施例通过将无线接入设备与终端进行有线连接,在无线接入设备与终端之间进行无线网络参数同步配置和密钥同步协商,在密钥同步协商过程中确定无线接入设备与终端之间的无线接入密钥,并将无线接入密钥发送给终端,终端根据无线接入密钥进行无线接入密钥的自动配置,从而在终端与无线接入设备断开有线连接后,终端能够根据与无线接入设备进行密钥同步协商过程中确定的无线接入密钥实现无线网络自动连接,可以解决现有的无线接入配置方法存在设置复杂的问题,使得毫无网络知识的用户也能简单方便地设置无线接入设备的安全机制,并且进一步提高无线接入的安全性。In the embodiment of the present invention, the wireless access device and the terminal are connected by wire, and the wireless network parameter synchronization configuration and the key synchronization negotiation are performed between the wireless access device and the terminal, and the wireless access device and the key synchronization negotiation process are determined during the key synchronization negotiation process. The wireless access key between terminals, and the wireless access key is sent to the terminal, and the terminal automatically configures the wireless access key according to the wireless access key, so that the wired connection between the terminal and the wireless access device is disconnected Finally, the terminal can automatically connect to the wireless network according to the wireless access key determined during the key synchronization negotiation process with the wireless access device, which can solve the problem of complex settings in the existing wireless access configuration method, making no network Knowledgeable users can also easily and conveniently set the security mechanism of wireless access equipment, and further improve the security of wireless access.

附图说明 Description of drawings

图1为本发明实施例一提供的无线接入配置方法的流程示意图;FIG. 1 is a schematic flowchart of a wireless access configuration method provided in Embodiment 1 of the present invention;

图2为本发明实施例二提供的无线接入配置方法的流程示意图;FIG. 2 is a schematic flowchart of a wireless access configuration method provided in Embodiment 2 of the present invention;

图3为本发明实施例三提供的无线接入设备的结构示意图;FIG. 3 is a schematic structural diagram of a wireless access device provided by Embodiment 3 of the present invention;

图4为本发明实施例四提供的终端的结构示意图;FIG. 4 is a schematic structural diagram of a terminal provided in Embodiment 4 of the present invention;

图5为本发明实施例五提供的无线接入配置系统的结构示意图;FIG. 5 is a schematic structural diagram of a wireless access configuration system provided in Embodiment 5 of the present invention;

图6为本发明实施例五所示系统具体实现无线接入配置方法的信令图。FIG. 6 is a signaling diagram of a system specifically implementing a wireless access configuration method in Embodiment 5 of the present invention.

具体实施方式 detailed description

图1为本发明实施例一提供的无线接入配置方法的流程示意图,具体包括:FIG. 1 is a schematic flowchart of a wireless access configuration method provided in Embodiment 1 of the present invention, which specifically includes:

步骤101、无线接入设备通过有线连接与终端进行无线网络参数同步配置。Step 101, the wireless access device performs wireless network parameter synchronous configuration with the terminal through a wired connection.

举例来说,用户刚购买的无线接入设备未配置有无线网络参数,需要对无线接入设备进行无线网络参数初始化设置,则步骤101进一步包括:For example, the wireless access device just purchased by the user is not configured with wireless network parameters, and the wireless network parameter needs to be initialized for the wireless access device, then step 101 further includes:

1011、所述无线接入设备通过以太网线接口检测到所述终端,向所述终端发送自动配置请求,所述自动配置请求包括所述无线接入设备标识,无线接入设备标识是指在所述无线接入设备的管理服务器上登记注册的无线接入设备标识,举例来说可以是该无线接入设备的中央处理单元的芯片序列号。1011. The wireless access device detects the terminal through an Ethernet cable interface, and sends an automatic configuration request to the terminal, where the automatic configuration request includes the wireless access device identifier, and the wireless access device identifier refers to the The wireless access device identifier registered on the management server of the wireless access device may be, for example, the chip serial number of the central processing unit of the wireless access device.

终端根据所述无线接入设备标识自动获取与所述无线接入设备标识匹配的无线网络参数,例如,终端根据自动配置请求启动自动配置程序,该自动配置程序自动发送获取网络参数请求给该无线接入设备的管理服务器,其中,获取网络参数请求中包括该无线接入设备标识,该无线接入设备的管理服务器根据无线接入设备标识自动分配与该无线接入设备标识匹配的无线网络参数配置并返回给终端,终端将所述无线网络参数通过配置响应消息发送给无线接入设备。The terminal automatically obtains the wireless network parameters matching the wireless access device identifier according to the wireless access device identifier. For example, the terminal starts an automatic configuration program according to the automatic configuration request, and the automatic configuration program automatically sends a network parameter acquisition request to the wireless The management server of the access device, wherein the network parameter acquisition request includes the wireless access device identifier, and the management server of the wireless access device automatically allocates the wireless network parameter matching the wireless access device identifier according to the wireless access device identifier Configure and return to the terminal, and the terminal sends the wireless network parameters to the wireless access device through a configuration response message.

需要指出的是,终端将所述无线网络参数通过配置响应消息发送给无线接入设备之前或者之后,举例来说,终端可以自动调用所述终端的操作系统的网络参数配置函数,通过所述网络参数配置函数将所述无线网络参数写入所述终端的无线网络参数配置表项中,例如,终端通过自动配置程序,自动打开所述终端的本地无线连接配置表项,将所述无线网络参数写入本地无线连接配置表项的无线网络参数配置表项中。It should be pointed out that before or after the terminal sends the wireless network parameters to the wireless access device through a configuration response message, for example, the terminal may automatically call the network parameter configuration function of the operating system of the terminal to pass the network The parameter configuration function writes the wireless network parameter into the wireless network parameter configuration table item of the terminal, for example, the terminal automatically opens the local wireless connection configuration table item of the terminal through an automatic configuration program, and writes the wireless network parameter Write it into the wireless network parameter configuration table item of the local wireless connection configuration table item.

1012、所述无线接入设备通过以太网线接口接收所述终端发送的配置响应消息,所述配置响应消息中包含所述无线网络参数。1012. The wireless access device receives a configuration response message sent by the terminal through an Ethernet cable interface, where the configuration response message includes the wireless network parameters.

进一步,无线接入设备将所述无线网络参数写入所述无线接入设备的无线网络参数配置表项中,具体实现方式为本领域技术人员通过现有的编程手段可以实现,这里也不做详述。Further, the wireless access device writes the wireless network parameters into the wireless network parameter configuration table item of the wireless access device. The specific implementation method can be realized by those skilled in the art through existing programming means, and will not be done here detail.

进一步举例来说,若无线接入设备已进行无线网络参数初始化设置,则步骤101进一步包括:所述无线接入设备向所述终端发送无线网络参数,所述终端可以自动调用所述终端的操作系统的网络参数配置函数,通过所述网络参数配置函数将所述无线网络参数写入所述终端的无线网络参数配置表项中。As a further example, if the wireless access device has initialized the wireless network parameters, step 101 further includes: the wireless access device sends the wireless network parameters to the terminal, and the terminal can automatically call the operation of the terminal The network parameter configuration function of the system writes the wireless network parameters into the wireless network parameter configuration table item of the terminal through the network parameter configuration function.

步骤102、所述无线接入设备通过有线连接与所述终端进行密钥同步协商,确定并保存所述无线接入设备和所述终端之间的无线接入密钥。Step 102: The wireless access device performs key synchronization negotiation with the terminal through a wired connection, and determines and saves a wireless access key between the wireless access device and the terminal.

具体包括:Specifically include:

1021、所述无线接入设备通过以太网线接口向所述终端发送密钥生成机制选择消息以使所述终端选择自动协商机制或者特定密钥机制;1021. The wireless access device sends a key generation mechanism selection message to the terminal through an Ethernet interface to enable the terminal to select an automatic negotiation mechanism or a specific key mechanism;

举例来说,无线接入设备与终端进行密钥同步协商时,通过以太网线接口向终端以提示框的形式发送密钥生成机制选择消息,其中,所述密钥生成机制包括自动协商机制、特定密钥机制。举例来说,密钥生成机制选择消息可以为“是否选择特定密钥机制”的提示消息,用户若选“否”,即不选择特定密钥机制,则默认选择缺省的自动协商机制,终端生成自动协商响应消息,并通过以太网接口向无线接入设备发送自动协商响应消息。For example, when the wireless access device and the terminal perform key synchronization negotiation, they send a key generation mechanism selection message to the terminal in the form of a prompt box through the Ethernet cable interface, wherein the key generation mechanism includes an automatic negotiation mechanism, a specific key mechanism. For example, the key generation mechanism selection message can be a prompt message of "whether to select a specific key mechanism". If the user selects "No", that is, does not select a specific key mechanism, the default automatic negotiation mechanism is selected by default, and the terminal Generate an auto-negotiation response message, and send the auto-negotiation response message to the wireless access device through the Ethernet interface.

1022、所述无线接入设备通过以太网线接口接收到所述终端发送的自动协商响应消息,则随机生成所述无线接入密钥;1022. The wireless access device receives the auto-negotiation response message sent by the terminal through the Ethernet cable interface, and randomly generates the wireless access key;

所述生成的无线接入密钥为所述无线接入设备和所述终端之间的无线接入密钥,其中,上述随机生成所述无线接入密钥的算法可以采用多种经典的密钥生成算法,比如DH算法。The generated wireless access key is a wireless access key between the wireless access device and the terminal, wherein the algorithm for randomly generating the wireless access key may use various classical encryption Key generation algorithm, such as DH algorithm.

1023、所述无线接入设备将随机生成的所述无线接入密钥与所述终端标识进行绑定后保存在与所述终端标识对应的密钥列表中。1023. The wireless access device binds the randomly generated wireless access key with the terminal identifier and saves it in a key list corresponding to the terminal identifier.

进一步举例来说,在上述步骤1021中,用户根据“是否选择特定密钥机制”的提示消息,若选“是”,即选择特定密钥机制,则可以通过终端输入用户自定义的密钥,终端可以根据用户指令生成特定密钥响应消息,所述特定密钥响应消息包括用户自定义的密钥,并通过以太网接口向无线接入设备发送特定密钥响应消息;所述无线接入设备根据所述特定密钥响应消息中包括用户自定义的密钥,将所述用户自定义的密钥确定为所述无线接入密钥;相应地,所述无线接入设备将确定的所述无线接入密钥与所述终端标识进行绑定后保存在与所述终端标识对应的密钥列表中。需要说明的是,所述确定的无线接入密钥为所述无线接入设备和所述终端之间的无线接入密钥。As a further example, in the above step 1021, according to the prompt message "whether to select a specific key mechanism", the user selects "yes", that is, selects a specific key mechanism, and then can enter a user-defined key through the terminal, The terminal can generate a specific key response message according to user instructions, the specific key response message includes a user-defined key, and send a specific key response message to the wireless access device through the Ethernet interface; the wireless access device According to the user-defined key included in the specific key response message, determine the user-defined key as the wireless access key; correspondingly, the wireless access device determines the The wireless access key is bound to the terminal identifier and stored in a key list corresponding to the terminal identifier. It should be noted that the determined wireless access key is a wireless access key between the wireless access device and the terminal.

步骤103、所述无线接入设备将所述无线接入密钥发送给所述终端,以使所述终端根据所述无线接入密钥进行无线接入密钥配置。Step 103, the wireless access device sends the wireless access key to the terminal, so that the terminal performs wireless access key configuration according to the wireless access key.

本实施例中,无线接入设备将随机生成的无线接入密钥或者确定的无线接入密钥发送给所述终端,以使所述终端根据所述无线接入密钥进行无线接入密钥配置和无线网络连接。In this embodiment, the wireless access device sends a randomly generated wireless access key or a determined wireless access key to the terminal, so that the terminal performs wireless access encryption according to the wireless access key. key configuration and wireless network connection.

其中,终端自动调用所述终端的操作系统的密钥配置函数,通过所述密钥配置函数将所述无线接入密钥写入所述终端的无线接入密钥配置表项中,例如终端启动自动配置程序,该自动配置程序能自动打开所述终端的本地无线连接配置表项,将所述无线接入密钥写入本地无线连接配置表项的无线接入密钥配置表项中。Wherein, the terminal automatically calls the key configuration function of the operating system of the terminal, and writes the wireless access key into the wireless access key configuration entry of the terminal through the key configuration function, for example, the terminal Starting an automatic configuration program, the automatic configuration program can automatically open the local wireless connection configuration table item of the terminal, and write the wireless access key into the wireless access key configuration table item of the local wireless connection configuration table item.

需要指出的是,无线接入设备通过以太网接口将无线接入密钥发送给终端时,终端可以提示框的形式向用户显示“是否显示所述无线接入密钥”的提示消息,若用户选择显示所述无线接入密钥,则终端根据用户指令将所述无线接入密钥在终端上显示,用户根据所述无线接入密钥,手动调用操作系统的配置函数,通过所述配置函数将所述无线网络参数写入相应的网络参数配置表项中,例如手动打开所述终端的本地无线连接配置表项,将所述无线接入密钥写入本地无线连接配置表项的无线接入密钥配置表项中。It should be pointed out that when the wireless access device sends the wireless access key to the terminal through the Ethernet interface, the terminal can display a prompt message "whether to display the wireless access key" to the user in the form of a prompt box, if the user If the wireless access key is selected to be displayed, the terminal displays the wireless access key on the terminal according to the user's instruction, and the user manually calls the configuration function of the operating system according to the wireless access key, and passes the configuration The function writes the wireless network parameters into the corresponding network parameter configuration table items, for example, manually opening the local wireless connection configuration table item of the terminal, and writing the wireless access key into the wireless connection of the local wireless connection configuration table item. Access the key configuration entry.

当终端完成无线接入密钥配置后,将终端与无线接入设备断开以太网线连接,该终端仍利用该无线接入密钥自动进行无线网络连接,其中,自动无线网络连接举例来说具体包括:After the terminal completes the configuration of the wireless access key, the terminal is disconnected from the wireless access device through the Ethernet cable, and the terminal still uses the wireless access key to automatically connect to the wireless network. The automatic wireless network connection is, for example, specifically include:

所述无线接入设备接收所述终端发送的无线网络连接请求,所述无线网络连接请求中包含所述无线接入密钥和所述终端标识;The wireless access device receives a wireless network connection request sent by the terminal, and the wireless network connection request includes the wireless access key and the terminal identifier;

所述无线接入设备查询本地密钥列表,若所述密钥列表中包含的与所述终端标识对应的无线接入密钥为所述无线网络连接请求中包含的所述无线接入密钥,则发送认证成功消息给所述终端,以使所述终端进行无线网络连接。The wireless access device queries the local key list, if the wireless access key corresponding to the terminal identifier included in the key list is the wireless access key included in the wireless network connection request , then send an authentication success message to the terminal, so that the terminal can connect to the wireless network.

需要说明的是,上述随机生成的无线接入密钥或者确定的无线接入密钥只限于所述无线接入设备和所述终端之间,在密码泄露后,也不用担心其他终端通过所述无线接入设备进行无线网络连接,不易造成无线网络流量的损失。It should be noted that the above randomly generated wireless access key or determined wireless access key is only limited between the wireless access device and the terminal, and after the password is leaked, there is no need to worry about other terminals passing through the The wireless access device connects to the wireless network, which is not easy to cause the loss of wireless network traffic.

实际情况中,当其他终端需要通过该无线接入设备进行无线网络连接时,举例来说,也可以通过步骤101至步骤103,将该无线接入设备与其他终端通过以太网连接进行无线网络参数同步配置和进行密钥同步协商,相应地,该无线接入设备根据不同的终端标识设置有相应的储存单元,用于将与所述终端进行密钥同步协商过程中确定的无线接入密钥保存到与所述终端标识对应的密钥列表中,其中,所述终端标识举例来说包括所述终端的中央处理器序列号或者主板序列号。In actual situations, when other terminals need to connect to the wireless network through the wireless access device, for example, through steps 101 to 103, the wireless access device can be connected to other terminals through Ethernet to set the wireless network parameters. Synchronous configuration and key synchronization negotiation. Correspondingly, the wireless access device is provided with a corresponding storage unit according to different terminal identifiers, which is used to store the wireless access key determined during the key synchronization negotiation process with the terminal. and stored in a key list corresponding to the terminal identifier, where the terminal identifier includes, for example, the serial number of the central processing unit or the serial number of the mainboard of the terminal.

需要指出的是,上述自动配置程序的具体代码实现方式为本领域技术人员通过现有的编程手段可以获取,这里不做详述。It should be pointed out that the specific code implementation of the above automatic configuration program can be obtained by those skilled in the art through existing programming means, and will not be described in detail here.

本发明实施例通过将无线接入设备与终端进行有线连接,在无线接入设备与终端之间进行无线网络参数同步配置和密钥同步协商,在密钥同步协商过程中生成无线接入设备与终端之间的无线接入密钥,并将无线接入密钥发送给终端,终端根据该无线接入密钥进行无线接入密钥的自动配置,从而在终端与无线接入设备断开有线连接后,终端能够根据该无线接入密钥实现无线网络自动连接,可以解决现有的无线接入配置方法存在设置复杂的问题,使得毫无网络知识的用户也能简单方便地设置无线接入设备的安全机制,同时,也不易造成无线网络流量的损失。In the embodiment of the present invention, the wireless access device and the terminal are connected by wire, and the wireless network parameter synchronization configuration and the key synchronization negotiation are performed between the wireless access device and the terminal, and the wireless access device and the key synchronization negotiation process are generated during the key synchronization negotiation process. The wireless access key between the terminals, and the wireless access key is sent to the terminal, and the terminal automatically configures the wireless access key according to the wireless access key, so that when the terminal and the wireless access device are disconnected from the wired After the connection, the terminal can automatically connect to the wireless network according to the wireless access key, which can solve the problem of complex settings in the existing wireless access configuration method, so that users without network knowledge can easily and conveniently set up wireless access The security mechanism of the device, at the same time, is not easy to cause the loss of wireless network traffic.

图2为本发明实施例二提供的无线接入配置方法的流程示意图,包括:FIG. 2 is a schematic flowchart of a wireless access configuration method provided in Embodiment 2 of the present invention, including:

步骤201、终端通过有线连接与无线接入设备进行无线网络参数同步配置。In step 201, the terminal performs synchronous configuration of wireless network parameters with the wireless access device through a wired connection.

举例来说,用户刚购买的无线接入设备未配置有无线网络参数,需要对无线接入设备进行无线网络参数初始化设置,则步骤201进一步包括:For example, the wireless access device just purchased by the user is not configured with wireless network parameters, and the wireless network parameter needs to be initialized for the wireless access device, then step 201 further includes:

2011、所述终端通过以太网接口接收所述无线接入设备发送的自动配置请求,所述自动配置请求包括所述无线接入设备标识;2011. The terminal receives an automatic configuration request sent by the wireless access device through an Ethernet interface, and the automatic configuration request includes the wireless access device identifier;

2012、所述终端根据所述无线接入设备标识获取与所述无线接入设备标识匹配的无线网络参数,并调用网络参数配置函数,通过所述网络参数配置函数将所述无线网络参数写入所述终端的无线网络参数配置表项中;2012. The terminal obtains the wireless network parameters matching the wireless access device identifier according to the wireless access device identifier, and calls a network parameter configuration function, and writes the wireless network parameters into In the wireless network parameter configuration entry of the terminal;

例如,终端根据自动配置请求启动自动配置程序,该自动配置程序自动发送获取网络参数请求给该无线接入设备的管理服务器,其中,获取网络参数请求中包括该无线接入设备标识,该无线接入设备的管理服务器根据无线接入设备标识自动分配与该无线接入设备标识匹配的无线网络参数配置并返回给终端。For example, the terminal starts an automatic configuration program according to the automatic configuration request, and the automatic configuration program automatically sends a network parameter acquisition request to the management server of the wireless access device, wherein the network parameter acquisition request includes the wireless access device identifier, and the wireless access device The management server of the access device automatically allocates the wireless network parameter configuration matching the wireless access device ID according to the wireless access device ID and returns it to the terminal.

终端可以自动调用所述终端的操作系统的网络参数配置函数,通过所述网络参数配置函数将所述无线网络参数写入所述终端的无线网络参数配置表项中,例如打开所述终端的本地无线连接配置表项,将所述无线网络参数写入本地无线连接配置表项的无线网络参数配置表项中。The terminal can automatically call the network parameter configuration function of the operating system of the terminal, and write the wireless network parameters into the wireless network parameter configuration table item of the terminal through the network parameter configuration function, for example, open the local A wireless connection configuration entry, writing the wireless network parameters into the wireless network parameter configuration entry of the local wireless connection configuration entry.

上述自动配置程序的具体代码实现方式为本领域技术人员通过现有的编程手段可以获取,这里不做详述。The specific code implementation of the above automatic configuration program can be obtained by those skilled in the art through existing programming means, and will not be described in detail here.

2013、所述终端通过以太网线接口向所述终端发送配置响应消息,所述配置响应消息中包含所述无线网络参数,以使所述无线接入设备进行无线网络参数配置。2013. The terminal sends a configuration response message to the terminal through an Ethernet cable interface, where the configuration response message includes the wireless network parameters, so that the wireless access device performs wireless network parameter configuration.

需要指出的是,上述步骤2012中,终端自动调用所述终端的操作系统的网络参数配置函数,通过所述网络参数配置函数将所述无线网络参数写入所述终端的无线网络参数配置表项中,举例来说,也可以在所述终端通过以太网线接口向所述终端发送配置响应消息之后完成。It should be pointed out that in the above step 2012, the terminal automatically calls the network parameter configuration function of the operating system of the terminal, and writes the wireless network parameters into the wireless network parameter configuration table item of the terminal through the network parameter configuration function In this process, for example, it may also be completed after the terminal sends a configuration response message to the terminal through an Ethernet cable interface.

进一步举例来说,若无线接入设备已进行无线网络参数初始化设置,则步骤201进一步包括:As a further example, if the wireless access device has initialized wireless network parameters, step 201 further includes:

所述终端通过以太网线接口接收所述无线接入设备发送的无线网络参数,调用所述终端的操作系统的网络参数配置函数,通过所述网络参数配置函数将所述无线网络参数写入所述终端的无线网络参数配置表项中,例如终端通过自动配置程序自动打开所述终端的本地无线连接配置表项,将所述无线网络参数写入本地无线连接配置表项的无线网络参数配置表项中。The terminal receives the wireless network parameters sent by the wireless access device through the Ethernet cable interface, calls the network parameter configuration function of the operating system of the terminal, and writes the wireless network parameters into the In the wireless network parameter configuration table item of the terminal, for example, the terminal automatically opens the local wireless connection configuration table item of the terminal through an automatic configuration program, and writes the wireless network parameter into the wireless network parameter configuration table item of the local wireless connection configuration table item middle.

步骤202、所述终端通过有线连接与所述无线接入设备进行密钥同步协商,以使所述无线接入设备确定并保存所述终端与所述无线接入设备之间的无线接入密钥。Step 202. The terminal performs key synchronization negotiation with the wireless access device through a wired connection, so that the wireless access device determines and saves the wireless access key between the terminal and the wireless access device. key.

具体包括:Specifically include:

2021、所述终端通过以太网接口接收所述无线接入设备发送的密钥生成机制选择消息;2021. The terminal receives a key generation mechanism selection message sent by the wireless access device through an Ethernet interface;

2022、根据用户指令生成自动协商响应消息或特定密钥响应消息,所述特定密钥响应消息包括用户自定义的密钥,并向所述无线接入设备发送自动协商响应消息或特定密钥响应消息。2022. Generate an auto-negotiation response message or a specific key response message according to a user instruction, where the specific key response message includes a user-defined key, and send an auto-negotiation response message or a specific key response to the wireless access device information.

举例来说,无线接入设备与终端进行密钥同步协商时,通过以太网线接口向终端以提示框的形式发送密钥生成机制选择消息,其中,所述密钥生成机制包括自动协商机制、特定密钥机制。举例来说,密钥生成机制选择消息可以为“是否选择特定密钥机制”的提示消息。For example, when the wireless access device and the terminal perform key synchronization negotiation, they send a key generation mechanism selection message to the terminal in the form of a prompt box through the Ethernet cable interface, wherein the key generation mechanism includes an automatic negotiation mechanism, a specific key mechanism. For example, the key generation mechanism selection message may be a prompt message of "whether to select a specific key mechanism".

用户若选“否”,即不选择特定密钥机制,则默认选择缺省的自动协商机制,终端生成自动协商响应消息,并通过以太网接口向无线接入设备发送自动协商响应消息。If the user selects "No", that is, does not select a specific key mechanism, the default auto-negotiation mechanism is selected by default, and the terminal generates an auto-negotiation response message, and sends an auto-negotiation response message to the wireless access device through the Ethernet interface.

所述无线接入设备通过以太网线接口接收到所述终端发送的自动协商响应消息,则随机生成所述无线接入密钥;所述随机生成的无线接入密钥为所述无线接入设备和所述终端之间的无线接入密钥,其中,上述随机生成所述无线接入密钥的算法可以采用多种经典的密钥生成算法,比如DH算法。进一步地,所述无线接入设备将随机生成的所述无线接入密钥与所述终端标识进行绑定后保存在与所述终端标识对应的密钥列表中。The wireless access device receives the auto-negotiation response message sent by the terminal through the Ethernet cable interface, and then randomly generates the wireless access key; the randomly generated wireless access key is the wireless access device and the wireless access key between the terminal, wherein the algorithm for randomly generating the wireless access key may adopt various classic key generation algorithms, such as the DH algorithm. Further, the wireless access device binds the randomly generated wireless access key with the terminal identifier and saves it in a key list corresponding to the terminal identifier.

进一步举例来说,在步骤2021和步骤2022中,用户根据“是否选择特定密钥机制”的提示消息,若选“是”,即选择特定密钥机制,则可以通过终端输入用户自定义的密钥,终端可以根据用户指令生成特定密钥响应消息,所述特定密钥响应消息包括用户自定义的密钥,并通过以太网接口向无线接入设备发送特定密钥响应消息;所述无线接入设备根据所述特定密钥响应消息中包括用户自定义的密钥,将所述用户自定义的密钥确定为所述无线接入密钥;相应地,所述无线接入设备将确定的所述无线接入密钥与所述终端标识进行绑定后保存在与所述终端标识对应的密钥列表中。需要说明的是,所述确定的无线接入密钥为所述无线接入设备和所述终端之间的无线接入密钥。As a further example, in step 2021 and step 2022, according to the prompt message "whether to select a specific key mechanism", the user selects "yes", that is, selects a specific key mechanism, and then can enter the user-defined password through the terminal. key, the terminal can generate a specific key response message according to user instructions, the specific key response message includes a user-defined key, and send a specific key response message to the wireless access device through the Ethernet interface; the wireless access According to the user-defined key included in the specific key response message, the access device determines the user-defined key as the wireless access key; correspondingly, the wireless access device determines the determined The wireless access key is bound with the terminal identifier and stored in a key list corresponding to the terminal identifier. It should be noted that the determined wireless access key is a wireless access key between the wireless access device and the terminal.

步骤203、所述终端接收所述无线接入设备发送的所述无线接入密钥,根据所述无线接入密钥进行无线接入密钥配置。Step 203: The terminal receives the wireless access key sent by the wireless access device, and performs wireless access key configuration according to the wireless access key.

其中,无线接入密钥配置举例来说具体包括:Wherein, the wireless access key configuration specifically includes, for example:

所述终端通过自动配置程序,自动调用所述终端的操作系统的密钥配置函数,通过所述密钥配置函数将所述无线接入密钥写入所述终端的无线接入密钥配置表项中;The terminal automatically calls the key configuration function of the operating system of the terminal through the automatic configuration program, and writes the wireless access key into the wireless access key configuration table of the terminal through the key configuration function item;

需要指出的是,无线接入设备通过以太网接口将配置生效的无线接入密钥发送给终端时,可以提示框的形式向终端提示“是否显示所述无线接入密钥”的提示消息,若用户选择显示所述无线接入密钥,则终端根据用户指令将所述无线接入密钥在终端上显示,用户根据所述无线接入密钥,手动调用所述终端的操作系统的密钥配置函数,通过所述密钥配置函数将所述无线接入密钥写入所述终端的无线接入密钥配置表项中。It should be pointed out that when the wireless access device sends the configured wireless access key to the terminal through the Ethernet interface, it can prompt the terminal with a prompt message "whether to display the wireless access key" in the form of a prompt box, If the user chooses to display the wireless access key, the terminal displays the wireless access key on the terminal according to the user's instruction, and the user manually invokes the encryption key of the operating system of the terminal according to the wireless access key. A key configuration function, through which the wireless access key is written into the wireless access key configuration entry of the terminal.

当所述终端完成无线接入密钥配置后,将所述终端与所述无线接入设备断开以太网线连接,所述终端仍可以根据所述无线接入密钥自动进行无线网络连接,具体为:After the terminal completes the configuration of the wireless access key, the terminal is disconnected from the wireless access device through the Ethernet cable, and the terminal can still automatically connect to the wireless network according to the wireless access key, specifically for:

所述终端向所述无线接入设备发送无线网络连接请求,所述无线网络连接请求中包括所述无线接入密钥和所述终端标识,以使所述无线接入设备对所述无线接入密钥进行认证;The terminal sends a wireless network connection request to the wireless access device, and the wireless network connection request includes the wireless access key and the terminal identifier, so that the wireless access device can Enter the key for authentication;

所述无线接入设备接收所述终端发送的无线网络连接请求,所述无线网络连接请求中包含所述无线接入密钥和所述终端标识;所述无线接入设备查询本地密钥列表,若所述密钥列表中包含的与所述终端标识对应的无线接入密钥为所述无线网络连接请求中包含的所述无线接入密钥,则发送认证成功消息给所述终端。The wireless access device receives the wireless network connection request sent by the terminal, the wireless network connection request includes the wireless access key and the terminal identifier; the wireless access device queries a local key list, If the wireless access key corresponding to the terminal identifier included in the key list is the wireless access key included in the wireless network connection request, sending an authentication success message to the terminal.

所述终端若接收到所述无线接入设备发送的认证成功消息,则进行无线网络连接。If the terminal receives the authentication success message sent by the wireless access device, it connects to the wireless network.

需要说明的是,上述随机生成的无线接入密钥或者确定的无线接入密钥只限于所述无线接入设备和所述终端之间,在密码泄露后,也不用担心其他终端通过所述无线接入设备进行无线网络连接,不易造成无线网络流量损失。It should be noted that the above randomly generated wireless access key or determined wireless access key is only limited between the wireless access device and the terminal, and after the password is leaked, there is no need to worry about other terminals passing through the The wireless access device is connected to the wireless network, which is not easy to cause loss of wireless network traffic.

实际情况中,当其他终端需要通过该无线接入设备进行无线网络连接时,举例来说,也可以通过步骤101至步骤103实现其他终端与无线接入设备进行无线网络连接。In actual situations, when other terminals need to connect to a wireless network through the wireless access device, for example, step 101 to step 103 may also be used to implement wireless network connection between other terminals and the wireless access device.

本发明实施例通过将无线接入设备与终端进行有线连接,在无线接入设备与终端之间进行无线网络参数同步配置和密钥同步协商,将在密钥同步协商过程中确定的无线接入设备与终端之间的无线接入密钥发送给终端,终端根据无线接入密钥进行无线接入密钥的自动配置,从而在终端与无线接入设备断开有线连接后,终端能够根据无线接入密钥实现无线网络自动连接,可以解决现有的无线接入配置方法存在设置复杂的问题,使得毫无网络知识的用户也能简单方便地设置无线接入设备的安全机制,同时,不易造成无线网络的流量损失。In the embodiment of the present invention, by connecting the wireless access device to the terminal through a wired connection, wireless network parameter synchronization configuration and key synchronization negotiation are performed between the wireless access device and the terminal, and the wireless access device determined during the key synchronization negotiation process The wireless access key between the device and the terminal is sent to the terminal, and the terminal automatically configures the wireless access key according to the wireless access key, so that after the terminal disconnects the wired connection with the wireless access device, the terminal can The access key realizes the automatic connection of the wireless network, which can solve the problem of complex settings in the existing wireless access configuration method, so that users without network knowledge can easily and conveniently set the security mechanism of the wireless access device, and at the same time, it is not easy Causes traffic loss on the wireless network.

图3为本发明实施例三提供的无线接入设备的结构示意图,包括:FIG. 3 is a schematic structural diagram of a wireless access device provided in Embodiment 3 of the present invention, including:

第一参数配置模块31,用于通过有线连接与终端进行无线网络参数同步配置;The first parameter configuration module 31 is configured to perform wireless network parameter synchronous configuration with the terminal through a wired connection;

第一密钥协商模块32,用于通过有线连接与所述终端进行密钥同步协商,确定并保存所述无线接入设备和所述终端之间的无线接入密钥;The first key negotiation module 32 is configured to perform key synchronization negotiation with the terminal through a wired connection, determine and save the wireless access key between the wireless access device and the terminal;

第一收发模块33,用于将所述无线接入密钥发送给所述终端,以使所述终端根据所述无线接入密钥进行无线接入密钥配置。The first transceiver module 33 is configured to send the wireless access key to the terminal, so that the terminal performs wireless access key configuration according to the wireless access key.

若所述无线接入设备未配置无线网络参数,第一收发模块33,还用于通过以太网线接口向所述终端发送自动配置请求,所述自动配置请求包括所述无线接入设备标识,以使所述终端根据所述无线接入设备标识获取与所述无线接入设备标识匹配的无线网络参数并进行无线网络参数配置;接收所述终端发送的配置响应消息,所述配置响应消息中包含所述无线网络参数;If the wireless access device is not configured with wireless network parameters, the first transceiver module 33 is further configured to send an automatic configuration request to the terminal through an Ethernet cable interface, the automatic configuration request includes the wireless access device identifier, and enabling the terminal to acquire wireless network parameters matching the wireless access device identifier according to the wireless access device identifier and perform wireless network parameter configuration; receiving a configuration response message sent by the terminal, the configuration response message including The wireless network parameters;

对应地,第一参数配置模块31具体用于将第一收发模块33接收的所述无线网络参数写入所述无线接入设备的无线网络参数配置表项中。Correspondingly, the first parameter configuration module 31 is specifically configured to write the wireless network parameters received by the first transceiver module 33 into the wireless network parameter configuration table entry of the wireless access device.

若所述无线接入设备已配置无线网络参数,第一收发模块33,还用于通过以太网线接口向所述终端发送所述无线网络参数,以使所述终端进行无线网络参数配置。If the wireless access device has been configured with wireless network parameters, the first transceiver module 33 is further configured to send the wireless network parameters to the terminal through an Ethernet cable interface, so that the terminal can configure wireless network parameters.

上述第一收发模块33,还用于通过以太网线接口向所述终端发送密钥生成机制选择消息以使所述终端选择自动协商机制或者特定密钥机制;接收所述终端发送的自动协商响应消息或特定密钥响应消息,并发送给所述第一密钥协商模块,所述特定密钥响应消息中包括用户自定义的密钥;The above-mentioned first transceiver module 33 is further configured to send a key generation mechanism selection message to the terminal through an Ethernet interface to enable the terminal to select an auto-negotiation mechanism or a specific key mechanism; receive an auto-negotiation response message sent by the terminal or a specific key response message, and send it to the first key agreement module, where the specific key response message includes a user-defined key;

对应地,第一密钥协商模块32具体包括:Correspondingly, the first key agreement module 32 specifically includes:

密钥生成单元321,用于若接收到所述自动协商响应消息,则随机生成所述无线接入密钥;A key generating unit 321, configured to randomly generate the wireless access key if the auto-negotiation response message is received;

第一保存单元322,用于将随机生成的所述无线接入密钥与所述终端标识进行绑定后保存在与所述终端标识对应的密钥列表中。The first saving unit 322 is configured to bind the randomly generated wireless access key with the terminal identifier and store it in a key list corresponding to the terminal identifier.

密钥确定单元323,用于若接收到所述特定密钥响应消息,则将所述特定密钥响应消息中包含的用户自定义的密钥确定为所述无线接入密钥;The key determination unit 323 is configured to determine the user-defined key contained in the specific key response message as the wireless access key if the specific key response message is received;

第二保存单元324,还用于将确定的所述无线接入密钥与所述终端标识进行绑定后保存在与所述终端标识对应的密钥列表中;The second saving unit 324 is further configured to bind the determined wireless access key with the terminal identifier and store it in a key list corresponding to the terminal identifier;

进一步地,第一收发模块33,还用于接收所述终端发送的无线网络连接请求,所述无线网络连接请求中包含所述无线接入密钥和所述终端标识;Further, the first transceiver module 33 is also configured to receive a wireless network connection request sent by the terminal, the wireless network connection request including the wireless access key and the terminal identifier;

所述无线接入设备还包括:认证模块34,用于查询本地密钥列表,确定所述密钥列表中包含的与所述终端标识对应的无线接入密钥是否为所述无线网络连接请求中包含的所述无线接入密钥;The wireless access device further includes: an authentication module 34, configured to query a local key list, and determine whether the wireless access key corresponding to the terminal identifier included in the key list is the wireless network connection request The wireless access key contained in ;

相应地,第一收发模块33,还用于若确定所述密钥列表中包含的与所述终端标识对应的无线接入密钥为所述无线网络连接请求中包含的所述无线接入密钥,则发送认证成功消息给所述终端,以使所述终端进行无线网络连接。Correspondingly, the first transceiver module 33 is further configured to determine that the wireless access key corresponding to the terminal identifier included in the key list is the wireless access key included in the wireless network connection request key, then send an authentication success message to the terminal, so that the terminal can connect to the wireless network.

本实施例所述的无线接入设备可以具体执行图1或图2所示方法实施例所述的方法,其实现原理和技术效果不再赘述。The wireless access device described in this embodiment can specifically execute the method described in the method embodiment shown in FIG. 1 or FIG. 2 , and its implementation principles and technical effects will not be repeated here.

图4为本发明实施例四提供的终端的结构示意图,包括:FIG. 4 is a schematic structural diagram of a terminal provided in Embodiment 4 of the present invention, including:

第二参数配置模块41,用于通过有线连接与无线接入设备进行无线网络参数同步配置;The second parameter configuration module 41 is used to perform wireless network parameter synchronization configuration with the wireless access device through a wired connection;

第二密钥协商模块42,用于通过有线连接与所述无线接入设备进行密钥同步协商,以使所述无线接入设备确定并保存所述终端与所述无线接入设备之间的无线接入密钥;The second key negotiation module 42 is configured to perform key synchronization negotiation with the wireless access device through a wired connection, so that the wireless access device determines and saves the information between the terminal and the wireless access device wireless access key;

第二收发模块43,用于接收所述无线接入设备发送的所述无线接入密钥;The second transceiver module 43 is configured to receive the wireless access key sent by the wireless access device;

密钥配置模块44,用于根据第二收发模块43接收的所述无线接入密钥进行无线接入密钥配置。The key configuration module 44 is configured to configure the wireless access key according to the wireless access key received by the second transceiver module 43 .

举例来说,若所述无线接入设备没有配置无线网络参数,第二收发模块43,还用于通过以太网接口接收所述无线接入设备发送的自动配置请求,所述自动配置请求包括所述无线接入设备标识;For example, if the wireless access device is not configured with wireless network parameters, the second transceiver module 43 is further configured to receive an automatic configuration request sent by the wireless access device through an Ethernet interface, and the automatic configuration request includes the The above-mentioned wireless access device identification;

第二参数配置模块41具体包括:The second parameter configuration module 41 specifically includes:

获取单元411,用于根据第二收发模块43接收的所述无线接入设备标识,获取与所述无线接入设备标识匹配的无线网络参数;An acquiring unit 411, configured to acquire wireless network parameters matching the wireless access device identifier according to the wireless access device identifier received by the second transceiver module 43;

配置单元412,用于调用网络参数配置函数,通过所述网络参数配置函数将获取单元411获取的所述无线网络参数写入所述终端的无线网络参数配置表项中;The configuration unit 412 is configured to call a network parameter configuration function, and write the wireless network parameters acquired by the acquisition unit 411 into the wireless network parameter configuration table entry of the terminal through the network parameter configuration function;

进一步地,第二收发模块43,还用于通过以太网线接口向所述终端发送配置响应消息,所述配置响应消息中包含所述无线网络参数,以使所述无线接入设备将所述无线网络参数写入所述无线接入设备的无线网络参数配置表项中。Further, the second transceiver module 43 is also configured to send a configuration response message to the terminal through an Ethernet cable interface, the configuration response message includes the wireless network parameters, so that the wireless access device will The network parameters are written into the wireless network parameter configuration entry of the wireless access device.

进一步举例来说,若所述无线接入设备已配置无线网络参数,第二收发模块43,还用于通过以太网线接口接收所述无线接入设备发送的无线网络参数;As a further example, if the wireless access device has been configured with wireless network parameters, the second transceiver module 43 is also configured to receive the wireless network parameters sent by the wireless access device through the Ethernet interface;

相应地,第二参数配置模块41,还用于调用所述网络参数配置函数,通过所述网络参数配置函数将第二收发模块43接收的所述无线网络参数写入所述终端的无线网络参数配置表项中。Correspondingly, the second parameter configuration module 41 is also used to call the network parameter configuration function, and write the wireless network parameters received by the second transceiver module 43 into the wireless network parameters of the terminal through the network parameter configuration function In the configuration table item.

上述第二收发模块43,还用于通过以太网接口接收所述无线接入设备发送的密钥生成机制选择消息;The above-mentioned second transceiver module 43 is further configured to receive the key generation mechanism selection message sent by the wireless access device through the Ethernet interface;

对应地,第二密钥协商模块42具体用于根据第二收发模块43接收的密钥生成机制选择消息,进一步根据用户指令生成自动协商响应消息或特定密钥响应消息,所述特定密钥响应消息中包括用户自定义的密钥;Correspondingly, the second key negotiation module 42 is specifically configured to select the key generation mechanism selection message received by the second transceiver module 43, and further generate an auto-negotiation response message or a specific key response message according to a user instruction, and the specific key response message The message includes a user-defined key;

相应地,第二收发模块43,还用于向所述无线接入设备发送所述自动协商响应消息或特定密钥响应消息。Correspondingly, the second transceiving module 43 is further configured to send the auto-negotiation response message or the specific key response message to the wireless access device.

举例来说,密钥配置模块44具体用于调用密钥配置函数,通过所述密钥配置函数将所述无线接入密钥写入所述终端的无线接入密钥配置表项中。For example, the key configuration module 44 is specifically configured to call a key configuration function, and write the wireless access key into the wireless access key configuration table item of the terminal through the key configuration function.

若所述终端已配置完无线网络参数和无线接入密钥,进一步,第二收发模块43,还用于向所述无线接入设备发送无线网络连接请求,所述无线网络连接请求中包括所述无线接入密钥和所述终端标识,以使所述无线接入设备对所述无线接入密钥进行认证;接收所述无线接入设备发送的认证成功消息,则进行无线网络连接。If the terminal has configured wireless network parameters and wireless access keys, further, the second transceiver module 43 is also configured to send a wireless network connection request to the wireless access device, and the wireless network connection request includes the The wireless access key and the terminal identifier are used so that the wireless access device authenticates the wireless access key; and the wireless network connection is performed after receiving the authentication success message sent by the wireless access device.

本实施例所述的终端可以具体执行图1或图2所示方法实施例所述的方法,其实现原理和技术效果不再赘述。The terminal described in this embodiment can specifically execute the method described in the method embodiment shown in FIG. 1 or FIG. 2 , and the implementation principles and technical effects thereof will not be repeated here.

图5为本发明实施例五提供的无线接入配置系统的结构示意图,包括:图3所示实施例所述的无线接入设备51、图4所示实施例所述的终端52。FIG. 5 is a schematic structural diagram of a wireless access configuration system provided by Embodiment 5 of the present invention, including: the wireless access device 51 described in the embodiment shown in FIG. 3 , and the terminal 52 described in the embodiment shown in FIG. 4 .

本实施例所述的系统可以具体执行图1或图2所示方法实施例所述的方法,其实现原理和技术效果不再赘述。The system described in this embodiment can specifically execute the method described in the method embodiment shown in FIG. 1 or FIG. 2 , and its implementation principles and technical effects will not be described again.

图6为本发明实施例五所示系统具体实现无线接入配置方法的信令图,假设本实施例中的无线接入设备没有经过网络参数的初始化配置,所述方法具体包括:FIG. 6 is a signaling diagram of a system specifically implementing a wireless access configuration method shown in Embodiment 5 of the present invention. Assuming that the wireless access device in this embodiment has not been initialized and configured with network parameters, the method specifically includes:

1、加电启动侦测以太口;1. Power on and start to detect the Ethernet port;

例如,打开无线接入设备电源开关,无线接入设备通过以太网接口监测对端是否连接有终端。For example, when the power switch of the wireless access device is turned on, the wireless access device monitors whether a terminal is connected to the opposite end through the Ethernet interface.

2、侦测到对端设备;2. The peer device is detected;

例如,无线接入设备通过以太网接口监测对端连接有终端。For example, the wireless access device monitors that there is a terminal connected to the opposite end through the Ethernet interface.

3、发出自动配置请求;3. Issue an automatic configuration request;

无线接入设备通过以太网接口向终端发送自动配置请求,自动配置请求中包含所述无线接入设备标识。The wireless access device sends an automatic configuration request to the terminal through the Ethernet interface, and the automatic configuration request includes the wireless access device identifier.

4、启动自动配置程序;4. Start the automatic configuration program;

例如,终端根据自动配置请求启动自动配置程序,该自动配置程序根据所述无线接入设备标识自动获取与所述无线接入设备标识匹配的无线网络参数。For example, the terminal starts an automatic configuration program according to the automatic configuration request, and the automatic configuration program automatically acquires wireless network parameters matching the wireless access device ID according to the wireless access device ID.

5、自动配置响应消息;5. Automatic configuration response message;

终端通过以太网接口向无线接入设备发送自动配置响应消息,其中自动配置响应消息中包括无线网络参数。The terminal sends an automatic configuration response message to the wireless access device through the Ethernet interface, where the automatic configuration response message includes wireless network parameters.

6、进入自动配置模式;6. Enter the automatic configuration mode;

无线接入设备根据自动配置响应消息中包含的无线网络参数自动进行无线网络参数配置。The wireless access device automatically configures wireless network parameters according to the wireless network parameters contained in the automatic configuration response message.

7、发出所支持的安全机制;7. Issue the supported security mechanisms;

举例来说,无线接入设备与终端进行密钥同步协商时,通过以太网线接口向终端以提示框的形式发送密钥生成机制选择消息,其中,所述密钥生成机制包括自动协商机制、特定密钥机制。For example, when the wireless access device and the terminal perform key synchronization negotiation, they send a key generation mechanism selection message to the terminal in the form of a prompt box through the Ethernet cable interface, wherein the key generation mechanism includes an automatic negotiation mechanism, a specific key mechanism.

8、选择自己所支持的安全机制;8. Choose the security mechanism you support;

举例来说,密钥生成机制选择消息可以为“是否选择特定密钥机制”的提示消息,用户若选“否”,即不选择特定密钥机制,则默认选择缺省的自动协商机制,终端通过以太网接口向无线接入设备发送自动协商响应消息,若选“是”,即选择特定密钥机制,则可以通过终端输入用户自定义的密钥,终端可以根据用户指令,通过以太网接口向无线接入设备发送特定密钥响应消息,所述特定密钥响应消息包括用户自定义的密钥。For example, the key generation mechanism selection message can be a prompt message of "whether to select a specific key mechanism". If the user selects "No", that is, does not select a specific key mechanism, the default automatic negotiation mechanism is selected by default, and the terminal Send an auto-negotiation response message to the wireless access device through the Ethernet interface. If you select "Yes", that is, select a specific key mechanism, you can enter a user-defined key through the terminal, and the terminal can use the Ethernet interface according to user instructions. Sending a specific key response message to the wireless access device, where the specific key response message includes a user-defined key.

9、随机生成密钥并保存;9. Randomly generate a key and save it;

例如,用户若选“否”,即不选择特定密钥机制,则默认选择缺省的自动协商机制,终端通过以太网接口向无线接入设备发送自动协商响应消息,无线接入设备随机生成无线接入密钥(密钥),并将该无线接入密钥予以保存。For example, if the user selects "No", that is, does not select a specific key mechanism, the default auto-negotiation mechanism is selected by default. The terminal sends an auto-negotiation response message to the wireless access device through the Ethernet interface, and the wireless access device generates a wireless key randomly. access key (key), and save the wireless access key.

10、将密钥发送给终端;10. Send the key to the terminal;

无线接入设备将随机生成并配置生效的无线接入密钥发送给终端。The wireless access device sends the wireless access key randomly generated and configured to take effect to the terminal.

11、密钥配置和无线网络连接;11. Key configuration and wireless network connection;

终端根据无线接入设备发送的无线接入密钥进行密钥自动配置,并在配置完成后,根据所述无线接入密钥自动进行无线网络连接。The terminal performs key automatic configuration according to the wireless access key sent by the wireless access device, and automatically performs wireless network connection according to the wireless access key after the configuration is completed.

本领域普通技术人员可以理解:实现上述各方法实施例的全部或部分步骤可以通过程序指令相关的硬件来完成。前述的程序可以存储于一计算机可读取存储介质中。该程序在执行时,执行包括上述各方法实施例的步骤;而前述的存储介质包括:ROM、RAM、磁碟或者光盘等各种可以存储程序代码的介质。Those of ordinary skill in the art can understand that all or part of the steps for implementing the above method embodiments can be completed by program instructions and related hardware. The aforementioned program can be stored in a computer-readable storage medium. When the program is executed, it executes the steps including the above-mentioned method embodiments; and the aforementioned storage medium includes: ROM, RAM, magnetic disk or optical disk and other various media that can store program codes.

最后应说明的是:以上各实施例仅用以说明本发明的技术方案,而非对其限制;尽管参照前述各实施例对本发明进行了详细的说明,本领域的普通技术人员应当理解:其依然可以对前述各实施例所记载的技术方案进行修改,或者对其中部分或者全部技术特征进行等同替换;而这些修改或者替换,并不使相应技术方案的本质脱离本发明各实施例技术方案的范围。Finally, it should be noted that: the above embodiments are only used to illustrate the technical solutions of the present invention, rather than limiting them; although the present invention has been described in detail with reference to the foregoing embodiments, those of ordinary skill in the art should understand that: It is still possible to modify the technical solutions described in the foregoing embodiments, or perform equivalent replacements for some or all of the technical features; and these modifications or replacements do not make the essence of the corresponding technical solutions deviate from the technical solutions of the various embodiments of the present invention. scope.

Claims (19)

1.一种无线接入配置方法,其特征在于,包括:1. A wireless access configuration method, characterized in that, comprising: 无线接入设备通过有线连接与终端进行无线网络参数同步配置;The wireless access device performs wireless network parameter synchronization configuration with the terminal through a wired connection; 所述无线接入设备通过有线连接与所述终端进行密钥同步协商,确定并保存所述无线接入设备和所述终端之间的无线接入密钥,其中,所述无线接入密钥用于使所述终端根据所述无线接入密钥进行无线网络连接;The wireless access device performs key synchronization negotiation with the terminal through a wired connection, and determines and saves a wireless access key between the wireless access device and the terminal, wherein the wireless access key Used to enable the terminal to perform wireless network connection according to the wireless access key; 所述无线接入设备将所述无线接入密钥发送给所述终端,以使所述终端根据所述无线接入密钥进行无线接入密钥配置;其中,The wireless access device sends the wireless access key to the terminal, so that the terminal performs wireless access key configuration according to the wireless access key; wherein, 所述无线接入设备通过有线连接与所述终端进行密钥同步协商,确定并保存所述无线接入设备和所述终端之间的无线接入密钥具体包括:The wireless access device performs key synchronization negotiation with the terminal through a wired connection, and determining and saving the wireless access key between the wireless access device and the terminal specifically includes: 所述无线接入设备通过以太网线接口向所述终端发送密钥生成机制选择消息以使所述终端选择自动协商机制或者特定密钥机制;The wireless access device sends a key generation mechanism selection message to the terminal through an Ethernet interface to enable the terminal to select an automatic negotiation mechanism or a specific key mechanism; 所述无线接入设备若通过以太网线接口接收到所述终端发送的自动协商响应消息,则随机生成所述无线接入密钥;If the wireless access device receives the auto-negotiation response message sent by the terminal through the Ethernet cable interface, randomly generates the wireless access key; 所述无线接入设备将随机生成的所述无线接入密钥与所述终端标识进行绑定后保存在与所述终端标识对应的密钥列表中;The wireless access device binds the randomly generated wireless access key with the terminal identifier and saves it in a key list corresponding to the terminal identifier; 所述无线接入设备若通过以太网线接口接收到所述终端发送的特定密钥响应消息,所述特定密钥响应消息中包括用户自定义的密钥,则将所述用户自定义的密钥确定为所述无线接入密钥;If the wireless access device receives a specific key response message sent by the terminal through the Ethernet cable interface, and the specific key response message includes a user-defined key, then the user-defined key determined as the wireless access key; 所述无线接入设备将确定的所述无线接入密钥与所述终端标识进行绑定后保存在与所述终端标识对应的密钥列表中。The wireless access device binds the determined wireless access key with the terminal identifier and saves it in a key list corresponding to the terminal identifier. 2.根据权利要求1所述的方法,其特征在于,所述无线接入设备通过有线连接与终端进行无线网络参数同步配置具体包括:2. The method according to claim 1, wherein the wireless access device performs wireless network parameter synchronization configuration with the terminal through a wired connection, specifically comprising: 若所述无线接入设备未配置无线网络参数,则所述无线接入设备通过以太网线接口向所述终端发送自动配置请求,所述自动配置请求包括无线接入设备标识,以使所述终端根据所述无线接入设备标识获取与所述无线接入设备标识匹配的无线网络参数并进行无线网络参数配置;If the wireless access device is not configured with wireless network parameters, the wireless access device sends an automatic configuration request to the terminal through an Ethernet cable interface, and the automatic configuration request includes a wireless access device identifier, so that the terminal Acquiring wireless network parameters matching the wireless access device identifier according to the wireless access device identifier and performing wireless network parameter configuration; 所述无线接入设备通过以太网线接口接收所述终端发送的配置响应消息,所述配置响应消息中包含所述无线网络参数;The wireless access device receives a configuration response message sent by the terminal through an Ethernet interface, and the configuration response message includes the wireless network parameters; 将所述无线网络参数写入所述无线接入设备的无线网络参数配置表项中。Writing the wireless network parameters into the wireless network parameter configuration table item of the wireless access device. 3.根据权利要求1所述的方法,其特征在于,所述无线接入设备通过有线连接与终端进行无线网络参数同步配置具体包括:3. The method according to claim 1, wherein the wireless access device performs wireless network parameter synchronization configuration with the terminal through a wired connection, specifically comprising: 若所述无线接入设备已配置无线网络参数,则所述无线接入设备通过以太网线接口向所述终端发送所述无线网络参数,以使所述终端进行无线网络参数配置。If the wireless access device has configured wireless network parameters, the wireless access device sends the wireless network parameters to the terminal through an Ethernet cable interface, so that the terminal performs wireless network parameter configuration. 4.根据权利要求1所述的方法,其特征在于,所述无线接入设备将所述无线接入密钥发送给所述终端,以使所述终端根据所述无线接入密钥进行无线接入密钥配置之后包括:4. The method according to claim 1, wherein the wireless access device sends the wireless access key to the terminal, so that the terminal performs wireless access according to the wireless access key After access key configuration includes: 所述无线接入设备接收所述终端发送的无线网络连接请求,所述无线网络连接请求中包含所述无线接入密钥和所述终端标识;The wireless access device receives a wireless network connection request sent by the terminal, and the wireless network connection request includes the wireless access key and the terminal identifier; 查询本地密钥列表,若所述密钥列表中包含的与所述终端标识对应的无线接入密钥为所述无线网络连接请求中包含的所述无线接入密钥,则发送认证成功消息给所述终端,以使所述终端进行无线网络连接。Query the local key list, if the wireless access key corresponding to the terminal identifier included in the key list is the wireless access key included in the wireless network connection request, send an authentication success message to the terminal, so that the terminal performs wireless network connection. 5.一种无线接入设备,其特征在于,包括:5. A wireless access device, characterized in that it comprises: 第一参数配置模块,用于通过有线连接与终端进行无线网络参数同步配置;The first parameter configuration module is used to perform wireless network parameter synchronization configuration with the terminal through a wired connection; 第一密钥协商模块,用于通过有线连接与所述终端进行密钥同步协商,确定并保存所述无线接入设备和所述终端之间的无线接入密钥,其中,所述无线接入密钥用于使所述终端根据所述无线接入密钥进行无线网络连接;The first key negotiation module is configured to perform key synchronization negotiation with the terminal through a wired connection, determine and save the wireless access key between the wireless access device and the terminal, wherein the wireless access The input key is used to enable the terminal to perform wireless network connection according to the wireless access key; 第一收发模块,用于将所述无线接入密钥发送给所述终端,以使所述终端根据所述无线接入密钥进行无线接入密钥配置;其中,A first transceiver module, configured to send the wireless access key to the terminal, so that the terminal performs wireless access key configuration according to the wireless access key; wherein, 所述第一收发模块,还用于通过以太网线接口向所述终端发送密钥生成机制选择消息以使所述终端选择自动协商机制或者特定密钥机制;接收所述终端发送的自动协商响应消息或特定密钥响应消息,并发送给所述第一密钥协商模块,所述特定密钥响应消息中包括用户自定义的密钥;The first transceiver module is further configured to send a key generation mechanism selection message to the terminal through an Ethernet interface to enable the terminal to select an auto-negotiation mechanism or a specific key mechanism; receive an auto-negotiation response message sent by the terminal or a specific key response message, and send it to the first key agreement module, where the specific key response message includes a user-defined key; 所述第一密钥协商模块具体包括:The first key agreement module specifically includes: 密钥生成单元,用于若接收到所述自动协商响应消息,则随机生成所述无线接入密钥;a key generating unit, configured to randomly generate the wireless access key if the auto-negotiation response message is received; 第一保存单元,用于将随机生成的所述无线接入密钥与所述终端标识进行绑定后保存在与所述终端标识对应的密钥列表中;A first saving unit, configured to bind the randomly generated wireless access key with the terminal identity and store it in a key list corresponding to the terminal identity; 密钥确定单元,用于若接收到所述特定密钥响应消息,则将所述特定密钥响应消息中包含的用户自定义的密钥确定为所述无线接入密钥;A key determination unit, configured to determine the user-defined key included in the specific key response message as the wireless access key if the specific key response message is received; 第二保存单元,还用于将确定的所述无线接入密钥与所述终端标识进行绑定后保存在与所述终端标识对应的密钥列表中。The second saving unit is further configured to bind the determined wireless access key with the terminal identifier and store it in a key list corresponding to the terminal identifier. 6.根据权利要求5所述的无线接入设备,其特征在于,若所述无线接入设备未配置无线网络参数,所述第一收发模块,还用于通过以太网线接口向所述终端发送自动配置请求,所述自动配置请求包括无线接入设备标识,以使所述终端根据所述无线接入设备标识获取与所述无线接入设备标识匹配的无线网络参数并进行无线网络参数配置;接收所述终端发送的配置响应消息,所述配置响应消息中包含所述无线网络参数;6. The wireless access device according to claim 5, wherein if the wireless access device is not configured with wireless network parameters, the first transceiver module is further configured to send An automatic configuration request, where the automatic configuration request includes a wireless access device identifier, so that the terminal acquires wireless network parameters matching the wireless access device identifier according to the wireless access device identifier and performs wireless network parameter configuration; receiving a configuration response message sent by the terminal, where the configuration response message includes the wireless network parameters; 所述第一参数配置模块具体用于将所述第一收发模块接收的所述无线网络参数写入所述无线接入设备的无线网络参数配置表项中。The first parameter configuration module is specifically configured to write the wireless network parameters received by the first transceiver module into the wireless network parameter configuration entry of the wireless access device. 7.根据权利要求5所述的无线接入设备,其特征在于,若所述无线接入设备已配置无线网络参数,所述第一收发模块,还用于通过以太网线接口向所述终端发送所述无线网络参数,以使所述终端进行无线网络参数配置。7. The wireless access device according to claim 5, wherein if the wireless access device has been configured with wireless network parameters, the first transceiver module is further configured to send The wireless network parameters are used to enable the terminal to configure wireless network parameters. 8.根据权利要求5所述的无线接入设备,其特征在于,所述第一收发模块,还用于接收所述终端发送的无线网络连接请求,所述无线网络连接请求中包含所述无线接入密钥和所述终端标识;8. The wireless access device according to claim 5, wherein the first transceiver module is further configured to receive a wireless network connection request sent by the terminal, and the wireless network connection request includes the wireless an access key and said terminal identification; 所述无线接入设备还包括:The wireless access device also includes: 认证模块,用于查询本地密钥列表,确定所述密钥列表中包含的与所述终端标识对应的无线接入密钥为所述无线网络连接请求中包含的所述无线接入密钥;An authentication module, configured to query a local key list, and determine that the wireless access key included in the key list and corresponding to the terminal identifier is the wireless access key included in the wireless network connection request; 所述第一收发模块,还用于发送认证成功消息给所述终端,以使所述终端进行无线网络连接。The first transceiver module is further configured to send an authentication success message to the terminal, so that the terminal can connect to the wireless network. 9.一种无线接入配置方法,其特征在于,包括:9. A wireless access configuration method, comprising: 终端通过有线连接与无线接入设备进行无线网络参数同步配置;The terminal performs synchronous configuration of wireless network parameters with the wireless access device through a wired connection; 所述终端通过有线连接与所述无线接入设备进行密钥同步协商,以使所述无线接入设备确定并保存所述终端与所述无线接入设备之间的无线接入密钥,其中,所述无线接入密钥用于使所述终端根据所述无线接入密钥进行无线网络连接;The terminal performs key synchronization negotiation with the wireless access device through a wired connection, so that the wireless access device determines and saves the wireless access key between the terminal and the wireless access device, wherein , the wireless access key is used to enable the terminal to perform wireless network connection according to the wireless access key; 所述终端接收所述无线接入设备发送的所述无线接入密钥,根据所述无线接入密钥进行无线接入密钥配置;其中,The terminal receives the wireless access key sent by the wireless access device, and performs wireless access key configuration according to the wireless access key; wherein, 所述终端通过有线连接与所述无线接入设备进行密钥同步协商具体包括:The key synchronization negotiation between the terminal and the wireless access device through a wired connection specifically includes: 所述终端通过以太网接口接收所述无线接入设备发送的密钥生成机制选择消息;The terminal receives a key generation mechanism selection message sent by the wireless access device through an Ethernet interface; 根据用户指令生成自动协商响应消息或特定密钥响应消息,所述特定密钥响应消息中包括用户自定义的密钥,并向所述无线接入设备发送所述自动协商响应消息或特定密钥响应消息。Generate an auto-negotiation response message or a specific key response message according to a user instruction, the specific key response message includes a user-defined key, and send the auto-negotiation response message or the specific key to the wireless access device Respond to the message. 10.根据权利要求9所述的方法,其特征在于,所述终端通过有线连接与无线接入设备进行无线网络参数同步配置具体包括:10. The method according to claim 9, wherein the synchronous configuration of wireless network parameters between the terminal and the wireless access device through a wired connection specifically includes: 所述终端通过以太网接口接收所述无线接入设备发送的自动配置请求,所述自动配置请求包括无线接入设备标识;The terminal receives an automatic configuration request sent by the wireless access device through an Ethernet interface, and the automatic configuration request includes a wireless access device identifier; 所述终端根据所述无线接入设备标识获取与所述无线接入设备标识匹配的无线网络参数,并调用网络参数配置函数,通过所述网络参数配置函数将所述无线网络参数写入所述终端的无线网络参数配置表项中;The terminal acquires wireless network parameters matching the wireless access device identifier according to the wireless access device identifier, and calls a network parameter configuration function, and writes the wireless network parameters into the In the wireless network parameter configuration table item of the terminal; 所述终端通过以太网线接口向所述终端发送配置响应消息,所述配置响应消息中包含所述无线网络参数,以使所述无线接入设备进行无线网络参数配置。The terminal sends a configuration response message to the terminal through an Ethernet interface, and the configuration response message includes the wireless network parameters, so that the wireless access device configures the wireless network parameters. 11.根据权利要求9所述的方法,其特征在于,所述终端通过有线连接与无线接入设备进行无线网络参数同步配置具体还包括:11. The method according to claim 9, wherein the synchronous configuration of wireless network parameters between the terminal and the wireless access device through a wired connection further includes: 所述终端通过以太网线接口接收所述无线接入设备发送的无线网络参数,调用所述网络参数配置函数,通过所述网络参数配置函数将所述无线网络参数写入所述终端的无线网络参数配置表项中。The terminal receives the wireless network parameters sent by the wireless access device through the Ethernet cable interface, calls the network parameter configuration function, and writes the wireless network parameters into the wireless network parameters of the terminal through the network parameter configuration function In the configuration table item. 12.根据权利要求9所述的方法,其特征在于,所述根据所述无线接入密钥进行无线接入密钥配置具体包括:12. The method according to claim 9, wherein the configuring the wireless access key according to the wireless access key specifically comprises: 所述终端调用密钥配置函数,通过所述密钥配置函数将所述无线接入密钥写入所述无线接入密钥配置表项中。The terminal invokes a key configuration function, and writes the wireless access key into the wireless access key configuration table item through the key configuration function. 13.根据权利要求12所述的方法,其特征在于,所述根据所述无线接入密钥进行无线接入密钥配置之后包括:13. The method according to claim 12, characterized in that, after configuring the wireless access key according to the wireless access key, comprising: 所述终端向所述无线接入设备发送无线网络连接请求,所述无线网络连接请求中包括所述无线接入密钥和所述终端标识,以使所述无线接入设备对所述无线接入密钥进行认证;The terminal sends a wireless network connection request to the wireless access device, and the wireless network connection request includes the wireless access key and the terminal identifier, so that the wireless access device can Enter the key for authentication; 所述终端若接收到所述无线接入设备发送的认证成功消息,则进行无线网络连接。If the terminal receives the authentication success message sent by the wireless access device, it connects to the wireless network. 14.一种终端,其特征在于,包括:14. A terminal, characterized in that it comprises: 第二参数配置模块,用于通过有线连接与无线接入设备进行无线网络参数同步配置;The second parameter configuration module is used to perform wireless network parameter synchronization configuration with the wireless access device through a wired connection; 第二密钥协商模块,用于通过有线连接与所述无线接入设备进行密钥同步协商,以使所述无线接入设备确定并保存所述终端与所述无线接入设备之间的无线接入密钥,其中,所述无线接入密钥用于使所述终端根据所述无线接入密钥进行无线网络连接;The second key negotiation module is configured to perform key synchronization negotiation with the wireless access device through a wired connection, so that the wireless access device determines and saves the wireless communication between the terminal and the wireless access device. An access key, wherein the wireless access key is used to enable the terminal to perform wireless network connection according to the wireless access key; 第二收发模块,用于接收所述无线接入设备发送的所述无线接入密钥;a second transceiver module, configured to receive the wireless access key sent by the wireless access device; 密钥配置模块,用于根据所述无线接入密钥进行无线接入密钥配置;其中,A key configuration module, configured to perform wireless access key configuration according to the wireless access key; wherein, 所述第二收发模块,还用于通过以太网接口接收所述无线接入设备发送的密钥生成机制选择消息;The second transceiver module is further configured to receive a key generation mechanism selection message sent by the wireless access device through an Ethernet interface; 所述第二密钥协商模块,具体用于根据用户指令生成自动协商响应消息或特定密钥响应消息,所述特定密钥响应消息中包括用户自定义的密钥;The second key negotiation module is specifically configured to generate an auto-negotiation response message or a specific key response message according to a user instruction, and the specific key response message includes a user-defined key; 所述第二收发模块,还用于向所述无线接入设备发送自动协商响应消息或特定密钥响应消息。The second transceiver module is further configured to send an auto-negotiation response message or a specific key response message to the wireless access device. 15.根据权利要求14所述的终端,其特征在于,所述第二收发模块,还用于通过以太网接口接收所述无线接入设备发送的自动配置请求,所述自动配置请求包括无线接入设备标识;15. The terminal according to claim 14, wherein the second transceiver module is further configured to receive an automatic configuration request sent by the wireless access device through an Ethernet interface, and the automatic configuration request includes Enter the device identification; 所述第二参数配置模块具体包括:The second parameter configuration module specifically includes: 获取单元,用于根据所述无线接入设备标识获取与所述无线接入设备标识匹配的无线网络参数;An acquiring unit, configured to acquire wireless network parameters matching the wireless access device identifier according to the wireless access device identifier; 配置单元,用于调用网络参数配置函数,通过所述网络参数配置函数将所述无线网络参数写入所述终端的无线网络参数配置表项中;A configuration unit, configured to call a network parameter configuration function, and write the wireless network parameters into the wireless network parameter configuration table entry of the terminal through the network parameter configuration function; 所述第二收发模块,还用于通过以太网线接口向所述终端发送配置响应消息,所述配置响应消息中包含所述无线网络参数,以使所述无线接入设备将所述无线网络参数写入所述无线接入设备的无线网络参数配置表项中。The second transceiver module is further configured to send a configuration response message to the terminal through an Ethernet cable interface, the configuration response message includes the wireless network parameters, so that the wireless access device uses the wireless network parameters Write it into the wireless network parameter configuration entry of the wireless access device. 16.根据权利要求14所述的终端,其特征在于,所述第二收发模块,还用于通过以太网线接口接收所述无线接入设备发送的无线网络参数;16. The terminal according to claim 14, wherein the second transceiver module is further configured to receive the wireless network parameters sent by the wireless access device through an Ethernet interface; 所述第二参数配置模块,还用于调用所述网络参数配置函数,通过所述网络参数配置函数将所述无线网络参数写入所述终端的无线网络参数配置表项中。The second parameter configuration module is further configured to call the network parameter configuration function, and write the wireless network parameters into the wireless network parameter configuration table entry of the terminal through the network parameter configuration function. 17.根据权利要求14所述的终端,其特征在于,所述密钥配置模块具体用于调用密钥配置函数,通过所述密钥配置函数将所述无线接入密钥写入所述终端的密钥配置表项中。17. The terminal according to claim 14, wherein the key configuration module is specifically configured to call a key configuration function, and write the wireless access key into the terminal through the key configuration function in the key configuration table entry. 18.根据权利要求17所述的终端,其特征在于,所述第二收发模块,还用于向所述无线接入设备发送无线网络连接请求,所述无线网络连接请求中包括所述无线接入密钥和所述终端标识,以使所述无线接入设备对所述无线接入密钥进行认证;接收所述无线接入设备发送的认证成功消息,进行无线网络连接。18. The terminal according to claim 17, wherein the second transceiver module is further configured to send a wireless network connection request to the wireless access device, and the wireless network connection request includes the receiving the authentication success message sent by the wireless access device to connect to the wireless network. 19.一种无线接入配置系统,其特征在于,所述系统包括:19. A wireless access configuration system, characterized in that the system comprises: 如权利要求5-8中任一项所述的无线接入设备;The wireless access device according to any one of claims 5-8; 如权利要求14-18中任一项所述的终端。A terminal according to any one of claims 14-18.
CN201210028885.7A 2012-02-09 2012-02-09 Wireless access collocation method and system, radio reception device, terminal Active CN102612030B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201210028885.7A CN102612030B (en) 2012-02-09 2012-02-09 Wireless access collocation method and system, radio reception device, terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201210028885.7A CN102612030B (en) 2012-02-09 2012-02-09 Wireless access collocation method and system, radio reception device, terminal

Publications (2)

Publication Number Publication Date
CN102612030A CN102612030A (en) 2012-07-25
CN102612030B true CN102612030B (en) 2016-02-03

Family

ID=46529129

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201210028885.7A Active CN102612030B (en) 2012-02-09 2012-02-09 Wireless access collocation method and system, radio reception device, terminal

Country Status (1)

Country Link
CN (1) CN102612030B (en)

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103200059B (en) * 2013-04-08 2019-05-24 中兴通讯股份有限公司 Secure network access processing method and device
CN104080086B (en) * 2014-07-18 2018-09-04 北京智谷睿拓技术服务有限公司 Wireless connecting establishment method and wireless connection establish device
CN104581715B (en) * 2014-11-22 2018-06-26 杭州木梢科技有限公司 The sensor-based system cryptographic key protection method and radio reception device of Internet of Things field
CN104683248B (en) * 2015-02-14 2018-03-06 小米科技有限责任公司 The method and apparatus of switching working mode
CN107241209B (en) * 2016-03-29 2020-04-28 华为技术有限公司 Data transmission method and equipment
CN114697965B (en) * 2020-12-30 2024-02-20 展讯半导体(南京)有限公司 Configuration method and device of access equipment, storage medium, access equipment and server

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101188532A (en) * 2006-11-17 2008-05-28 华硕电脑股份有限公司 Wireless local area network system and related method, workstation and access point
CN101605329A (en) * 2009-06-30 2009-12-16 中兴通讯股份有限公司 Cut-in method and access device

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20060133332A1 (en) * 2004-12-16 2006-06-22 Cisco Technology, Inc. Method and apparatus for providing radio configuration parameters to mobile access points
US8391487B2 (en) * 2007-07-24 2013-03-05 Cisco Technology, Inc. Secure remote configuration of device capabilities

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101188532A (en) * 2006-11-17 2008-05-28 华硕电脑股份有限公司 Wireless local area network system and related method, workstation and access point
CN101605329A (en) * 2009-06-30 2009-12-16 中兴通讯股份有限公司 Cut-in method and access device

Also Published As

Publication number Publication date
CN102612030A (en) 2012-07-25

Similar Documents

Publication Publication Date Title
CN103369707B (en) Wireless network establishment of connection method and terminal unit
CN105392208B (en) Method and system for establishing bluetooth connection
CN102612030B (en) Wireless access collocation method and system, radio reception device, terminal
US20170265238A1 (en) Method and device for establishing wireless connection
CN103873692B (en) Method, device and system for resource sharing
WO2017024842A1 (en) Internet access authentication method, client, computer storage medium
KR20160078475A (en) Key configuration method, system and apparatus
CN103068066A (en) Intelligent mobile communication terminal and wireless network access method and system thereof
CN109996260B (en) Configuration system, client device, embedded device configuration method and storage medium
CN106452999B (en) Intelligent household appliance and method and device for safely accessing intelligent household appliance
CN105828454B (en) A method and device for connecting to a network, and a WIFI routing device
CN106713004B (en) Router adaptation method and system
CN106658488B (en) Intelligent household appliance and method and device for safely accessing intelligent household appliance
CN111787540A (en) Method, apparatus, electronic device and readable storage medium for accessing the Internet of Things
CN105682090A (en) Device control method and control terminal response method and apparatus
CN102857564B (en) A kind of method of data synchronization, terminal and system
US9537832B2 (en) Method, system and device for establishing link
CN112689316B (en) Binding method and device of intelligent equipment, storage medium and electronic device
CN107113281A (en) Content shared method, terminal, server and system
CN104536299B (en) Start the method, apparatus and system and central control equipment of household electrical appliances
CN106488483B (en) Method for configuring WIFI gateway equipment and corresponding gateway equipment
CN105828274A (en) A terminal connection method, a first terminal and a second terminal
CN104158893B (en) The method and system of Contents of clipboard are transmitted based on WiFi equipment
WO2016026429A1 (en) Method, device, and equipment for wireless network configuration, access, and visit
WO2022228588A1 (en) Method, system and apparatus for binding user account, and device

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant