CN102695173A - Safety control method for accessing wireless network and terminal - Google Patents
Safety control method for accessing wireless network and terminal Download PDFInfo
- Publication number
- CN102695173A CN102695173A CN2012101993991A CN201210199399A CN102695173A CN 102695173 A CN102695173 A CN 102695173A CN 2012101993991 A CN2012101993991 A CN 2012101993991A CN 201210199399 A CN201210199399 A CN 201210199399A CN 102695173 A CN102695173 A CN 102695173A
- Authority
- CN
- China
- Prior art keywords
- pin
- instruction
- button
- obtains
- user
- 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.)
- Granted
Links
- 238000000034 method Methods 0.000 title claims abstract description 48
- 230000003993 interaction Effects 0.000 abstract description 9
- 238000004891 communication Methods 0.000 abstract description 2
- 238000010586 diagram Methods 0.000 description 7
- 238000005516 engineering process Methods 0.000 description 3
- 230000003247 decreasing effect Effects 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 229920001690 polydopamine Polymers 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
Images
Landscapes
- Mobile Radio Communication Systems (AREA)
Abstract
本发明公开了一种访问无线网络的安全控制方法和终端,属于通信领域,包括:AP获取第一指令,根据第一指令确定目标WIFI保护设置WPS模式;若确定目标WPS模式为接入点识别码AP PIN模式,且之后,AP获取第二指令,根据第二指令生成、保存并输出第一PIN;若确定目标WPS模式为客户端识别码PIN模式,且之后,AP获取第三指令,根据第三指令输出用于提示用户输入第二PIN的信息;AP获取用户输入的第二PIN,保存第二PIN。通过本发明,使得在实现WPS功能配置时,不需要在WIFI终端来登陆AP配置界面,减少AP与WIFI终端之间的信息交互。
The invention discloses a security control method and terminal for accessing a wireless network, belonging to the field of communication, comprising: an AP obtains a first instruction, and determines a target WIFI protection setting WPS mode according to the first instruction; if the target WPS mode is determined to be an access point identification Code AP PIN mode, and after that, the AP obtains the second instruction, generates, saves and outputs the first PIN according to the second instruction; if it is determined that the target WPS mode is the client identification code PIN mode, and then, the AP obtains the third instruction, according to The third instruction outputs information for prompting the user to input the second PIN; the AP obtains the second PIN input by the user, and stores the second PIN. Through the present invention, when realizing WPS function configuration, it is not necessary to log in the AP configuration interface at the WIFI terminal, thereby reducing the information interaction between the AP and the WIFI terminal.
Description
技术领域 technical field
本发明涉及通信领域,尤其涉及一种访问无线网络的安全控制方法和终端。The invention relates to the communication field, in particular to a security control method and a terminal for accessing a wireless network.
背景技术 Background technique
WIFI(wireless fidelity,无线保真)是一种通过AP(Access Point,无线访问接入点)把有线网络信号转换成无线信号,并为WIFI终端提供无线宽带互联网访问技术。在家庭、办公室等应用场景中,AP一般为WIFI无线路由器。WIFI终端为个人电脑、手持设备(如手机、掌上电脑)等支持WIFI技术的产品。WIFI (wireless fidelity, wireless fidelity) is a technology that converts wired network signals into wireless signals through AP (Access Point, wireless access point) and provides wireless broadband Internet access for WIFI terminals. In application scenarios such as homes and offices, the AP is generally a WIFI wireless router. WIFI terminals are products that support WIFI technology, such as personal computers and handheld devices (such as mobile phones and PDAs).
由于WIFI终端的广泛使用,WIFI的安全设置也尤其重要,目前,AP及WIFI终端均支持WPS(WIFI protected setup,WIFI保护设置)功能,WPS功能用于实现对WIFI的安全设置。Due to the widespread use of WIFI terminals, WIFI security settings are also particularly important. At present, both APs and WIFI terminals support the WPS (WIFI protected setup, WIFI protected setup) function, and the WPS function is used to implement security settings for WIFI.
目前,WPS功能的配置可采用PIN(Personal Identification Number,个人识别码)模式来实现;At present, the configuration of WPS function can be realized by PIN (Personal Identification Number, personal identification code) mode;
具体实现为:在用户使用WIFI终端通过AP与网络建立连接之后,用户可以通过在WIFI终端登陆AP配置界面并输入PIN来完成WPS功能的配置。在完成WPS功能的配置之后,当用户在WIFI终端上输入正确的PIN时,用户则可以使用WIFI终端通过该AP访问无线网络。The specific implementation is: after the user uses the WIFI terminal to establish a connection with the network through the AP, the user can log in to the AP configuration interface on the WIFI terminal and enter the PIN to complete the configuration of the WPS function. After completing the configuration of the WPS function, when the user enters the correct PIN on the WIFI terminal, the user can use the WIFI terminal to access the wireless network through the AP.
可见,采用上述PIN模式来实现WPS功能的配置时,需要通过在WIFI终端来登陆AP配置界面并获取由用户输入PIN来完成WPS功能的配置,操作较为复杂。It can be seen that when using the above PIN mode to realize the configuration of the WPS function, it is necessary to log in to the AP configuration interface on the WIFI terminal and obtain the PIN input by the user to complete the configuration of the WPS function, and the operation is relatively complicated.
发明内容 Contents of the invention
本发明实施例公开了一种访问无线网络的安全控制方法和终端,使得在实现WPS功能配置时,不需要在WIFI终端来登陆AP配置界面,减少AP与WIFI终端之间的信息交互。The embodiment of the invention discloses a security control method and a terminal for accessing a wireless network, so that when implementing WPS function configuration, it is not necessary to log in to an AP configuration interface on a WIFI terminal, thereby reducing information interaction between an AP and a WIFI terminal.
本发明提供了一种访问无线网络的安全控制方法,具体采用的技术方案如下:The invention provides a security control method for accessing a wireless network, and the specific technical solution adopted is as follows:
AP获取第一指令,根据第一指令确定目标WPS模式;The AP obtains the first instruction, and determines the target WPS mode according to the first instruction;
若确定目标WPS模式为AP PIN模式,且之后,AP获取第二指令,根据第二指令生成、保存并输出第一PIN,以便于AP在获取到WIFI终端发送的携带有第一目标PIN的访问无线网络请求,且第一目标PIN与第一PIN一致时,允许WIFI终端通过AP访问无线网络,否则禁止WIFI终端通过AP访问无线网络;If it is determined that the target WPS mode is the AP PIN mode, and then, the AP obtains the second instruction, generates, saves and outputs the first PIN according to the second instruction, so that the AP obtains the access message carrying the first target PIN sent by the WIFI terminal. When the wireless network requests, and the first target PIN is consistent with the first PIN, the WIFI terminal is allowed to access the wireless network through the AP, otherwise the WIFI terminal is prohibited from accessing the wireless network through the AP;
若确定目标WPS模式为PIN模式,且之后,AP获取第三指令,根据第三指令输出用于提示用户输入第二PIN的信息;AP获取用户输入的第二PIN,保存第二PIN,以便于AP在获取到WIFI终端发送的携带有第二目标PIN的访问无线网络请求,且第二目标PIN与第二PIN一致时,允许WIFI终端通过AP访问无线网络,否则禁止WIFI终端通过AP访问无线网络。If it is determined that the target WPS mode is the PIN mode, and afterwards, the AP obtains the third instruction, and outputs information for prompting the user to input the second PIN according to the third instruction; the AP obtains the second PIN input by the user, and saves the second PIN, so that When the AP obtains the wireless network access request carrying the second target PIN sent by the WIFI terminal, and the second target PIN is consistent with the second PIN, the WIFI terminal is allowed to access the wireless network through the AP, otherwise the WIFI terminal is prohibited from accessing the wireless network through the AP .
本发明提供了另一种访问无线网络的安全控制方法,具体采用的技术方案如下:The present invention provides another security control method for accessing a wireless network, and the specific technical solution adopted is as follows:
WIFI终端获取第四指令,根据第四指令生成并输出个人识别码PIN,以便于用户在无线访问接入点AP上输入所述PIN来实现WIFI保护设置WPS功能。The WIFI terminal obtains the fourth instruction, generates and outputs a personal identification code PIN according to the fourth instruction, so that the user can input the PIN on the wireless access point AP to realize the WIFI protected setting WPS function.
本发明提供了一种无线访问接入点AP,包括:The present invention provides a wireless access point AP, including:
获取模块,用于获取第一指令;an acquisition module, configured to acquire the first instruction;
处理模块,用于在获取模块获取第一指令之后,根据第一指令确定目标WIFI保护设置WPS模式;The processing module is used to determine the target WIFI protection setting WPS mode according to the first instruction after the obtaining module obtains the first instruction;
获取模块,还用于当处理模块确定目标WPS模式为接入点识别码APPIN模式之后,获取第二指令;The obtaining module is also used to obtain the second instruction after the processing module determines that the target WPS mode is the access point identification code APPIN mode;
生成模块,用于在获取模块获取第二指令之后,根据第二指令生成第一个人识别码PIN;A generation module, configured to generate the first personal identification code PIN according to the second instruction after the acquisition module obtains the second instruction;
存储模块,用于在生成模块生成第一PIN之后,保存第一PIN;a storage module, configured to save the first PIN after the generation module generates the first PIN;
输出模块,用于在生成模块生成第一PIN之后,输出第一PIN,以便于获取模块在获取到WIFI终端发送的携带有第一目标PIN的访问无线网络请求,且第一目标PIN与第一PIN一致时,允许WIFI终端通过AP访问无线网络,否则禁止WIFI终端通过AP访问无线网络;The output module is used to output the first PIN after the generation module generates the first PIN, so that the acquisition module obtains the access wireless network request carrying the first target PIN sent by the WIFI terminal, and the first target PIN is consistent with the first target PIN. When the PIN is consistent, the WIFI terminal is allowed to access the wireless network through the AP, otherwise the WIFI terminal is prohibited from accessing the wireless network through the AP;
获取模块,还用于当处理模块确定目标WPS模式为客户端识别码PIN模式之后,获取第三指令;The obtaining module is also used to obtain the third instruction after the processing module determines that the target WPS mode is the client identification code PIN mode;
输出模块,还用于在获取模块获取第三指令之后,根据第三指令输出用于提示用户输入第二PIN的信息;The output module is further configured to output information for prompting the user to input the second PIN according to the third instruction after the obtaining module obtains the third instruction;
获取模块,还用于在输出模块输出用于提示用户输入第二PIN的信息之后,获取用户输入的第二PIN;The acquiring module is also used to acquire the second PIN input by the user after the output module outputs the information for prompting the user to input the second PIN;
存储模块,还用于在获取模块获取到第二PIN之后,保存第二PIN,以便于获取模块在获取到WIFI终端发送的携带有第二目标PIN的访问无线网络请求,且第二目标PIN与第二PIN一致时,允许WIFI终端通过AP访问无线网络,否则禁止WIFI终端通过AP访问无线网络。The storage module is also used to save the second PIN after the acquisition module acquires the second PIN, so that the acquisition module acquires the access wireless network request carrying the second target PIN sent by the WIFI terminal, and the second target PIN is the same as When the second PIN is consistent, the WIFI terminal is allowed to access the wireless network through the AP, otherwise the WIFI terminal is prohibited from accessing the wireless network through the AP.
本发明提供了一种WIFI终端,包括:The invention provides a WIFI terminal, comprising:
获取模块,用于获取第四指令;an acquisition module, configured to acquire a fourth instruction;
生成模块,用于在获取模块获取第四指令之后,根据第四指令生成个人识别码PIN;A generating module, configured to generate a personal identification code PIN according to the fourth instruction after the obtaining module obtains the fourth instruction;
输出模块,用于在生成模块生成PIN之后,输出PIN,以便于用户在无线访问接入点AP上输入PIN来实现WIFI保护设置WPS功能。The output module is configured to output the PIN after the generation module generates the PIN, so that the user can input the PIN on the wireless access point AP to realize the WIFI protection setting WPS function.
本发明提供的一种访问无线网络的安全控制方法和终端,通过本发明,在进行WPS功能配置时,AP可以根据获取的第一指令来确定目标WPS的模式,并根据获取的第二指令生成并输出第一PIN或根据获取的第三指令输出提示用户输入第二PIN的信息并获取用户输入的第二PIN,以实现WPS功能的配置;或者,WIFI终端可以根据获取的第四指令生成PIN,并由用户将所生成的PIN输入到AP端,以实现WPS功能的配置。与现有技术相比,本发明中,不需要通过在WIFI终端登陆AP配置界面来完成WPS功能的配置,减少AP与WI FI终端之间的信息交互。The present invention provides a security control method and terminal for accessing a wireless network. Through the present invention, when performing WPS function configuration, the AP can determine the target WPS mode according to the obtained first instruction, and generate a target WPS mode according to the obtained second instruction. And output the first PIN or output information prompting the user to enter the second PIN according to the obtained third instruction and obtain the second PIN input by the user to realize the configuration of the WPS function; or, the WIFI terminal can generate a PIN according to the obtained fourth instruction , and the user inputs the generated PIN to the AP to realize the configuration of the WPS function. Compared with the prior art, in the present invention, it is not necessary to complete the configuration of the WPS function by logging into the AP configuration interface at the WIFI terminal, thereby reducing the information interaction between the AP and the WIFI terminal.
附图说明 Description of drawings
为了更清楚地说明本发明实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the technical solutions in the embodiments of the present invention or the prior art, the following will briefly introduce the drawings that need to be used in the description of the embodiments or the prior art. Obviously, the accompanying drawings in the following description are only These are some embodiments of the present invention. Those skilled in the art can also obtain other drawings based on these drawings without creative work.
图1为本实施例1提供的一种访问无线网络的安全控制方法流程图;FIG. 1 is a flowchart of a security control method for accessing a wireless network provided in Embodiment 1;
图2为本实施例1提供的一种访问无线网络的安全控制具体方法流程图;FIG. 2 is a flow chart of a specific method for security control of accessing a wireless network provided in Embodiment 1;
图3为本实施例1提供的另一种访问无线网络的安全控制具体方法流程图;FIG. 3 is a flow chart of another specific method for security control of accessing a wireless network provided in Embodiment 1;
图4为本实施例2提供的一种访问无线网络的安全控制方法流程图;FIG. 4 is a flowchart of a security control method for accessing a wireless network provided in Embodiment 2;
图5为本实施例2提供的一种访问无线网络的安全控制具体方法流程图;FIG. 5 is a flow chart of a specific method for security control of accessing a wireless network provided in Embodiment 2;
图6为本实施例3提供的无线访问接入点AP的结构图;FIG. 6 is a structural diagram of the wireless access point AP provided in Embodiment 3;
图7为本实施例3提供的无线访问接入点AP的输出模块的结构图;FIG. 7 is a structural diagram of an output module of the wireless access point AP provided in Embodiment 3;
图8为本实施例3提供的无线访问接入点AP的另一种输出模块的结构图;FIG. 8 is a structural diagram of another output module of the wireless access point AP provided in Embodiment 3;
图9为本实施例4提供的一种WIFI终端结构图;FIG. 9 is a structural diagram of a WIFI terminal provided in Embodiment 4;
图10为本实施例4提供的WIFI终端的输出模块的结构图。FIG. 10 is a structural diagram of the output module of the WIFI terminal provided in the fourth embodiment.
具体实施方式 Detailed ways
下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。The following will clearly and completely describe the technical solutions in the embodiments of the present invention with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only some, not all, embodiments of the present invention. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without creative efforts fall within the protection scope of the present invention.
本实施例中,WPS模式分为接入点识别码AP PIN模式和客户端识别码PIN模式。In this embodiment, the WPS mode is divided into an access point identification code AP PIN mode and a client identification code PIN mode.
实施例1Example 1
参见图1,为本实施例提供的一种访问无线网络的安全控制方法流程图,具体实现过程包括如下步骤:Referring to FIG. 1, it is a flow chart of a security control method for accessing a wireless network provided in this embodiment, and the specific implementation process includes the following steps:
101:AP获取第一指令,根据第一指令确定目标WIFI保护设置WPS模式。101: The AP obtains the first instruction, and determines the target WIFI protection and sets the WPS mode according to the first instruction.
可选的,本实施例中的AP可以为WIFI无线路由器。Optionally, the AP in this embodiment may be a WIFI wireless router.
102:若确定目标WPS模式为AP PIN模式,且之后,AP获取第二指令,根据第二指令生成、保存并输出第一PIN,以便于AP在获取到WIFI终端发送的携带有第一目标PIN的访问无线网络请求,且第一目标PIN与第一PIN一致时,允许WIFI终端通过AP访问无线网络,否则禁止WIFI终端通过AP访问无线网络。102: If it is determined that the target WPS mode is the AP PIN mode, and then, the AP obtains the second instruction, generates, saves and outputs the first PIN according to the second instruction, so that the AP can obtain the first target PIN sent by the WIFI terminal. When the request for accessing the wireless network is made, and the first target PIN is consistent with the first PIN, the WIFI terminal is allowed to access the wireless network through the AP; otherwise, the WIFI terminal is prohibited from accessing the wireless network through the AP.
本实施例中的WIFI终端可以为支持WIFI技术的个人电脑、手机等。The WIFI terminal in this embodiment may be a personal computer, a mobile phone, etc. that support WIFI technology.
其中,用户所使用WIFI终端可以是现有的WIFI终端,也可以是本发明实施例中提供的WIFI终端。Wherein, the WIFI terminal used by the user may be an existing WIFI terminal, or may be a WIFI terminal provided in the embodiment of the present invention.
103:若确定目标WPS模式为PIN模式,且之后,AP获取第三指令,根据第三指令输出用于提示用户输入第二PIN的信息。103: If it is determined that the target WPS mode is the PIN mode, and then, the AP acquires a third instruction, and outputs information for prompting the user to input a second PIN according to the third instruction.
104:AP获取用户输入的第二PIN,保存第二PIN,以便于AP在获取到WIFI终端发送的携带有第二目标PIN的访问无线网络请求,且第二目标PIN与第二PIN一致时,允许WIFI终端通过AP访问无线网络,否则禁止WIFI终端通过AP访问无线网络。104: The AP obtains the second PIN input by the user, and saves the second PIN, so that when the AP obtains the wireless network access request carrying the second target PIN sent by the WIFI terminal, and the second target PIN is consistent with the second PIN, Allow the WIFI terminal to access the wireless network through the AP, otherwise prohibit the WIFI terminal to access the wireless network through the AP.
其中,用户所使用WIFI终端可以是现有的WIFI终端,也可以是本发明实施例中提供的WIFI终端。Wherein, the WIFI terminal used by the user may be an existing WIFI terminal, or may be a WIFI terminal provided in the embodiment of the present invention.
本实施例提供的一种访问无线网络的安全控制方法,通过本实施例,在进行WPS功能配置时,AP可以根据获取的第一指令来确定目标WPS的模式,并根据获取到的第二指令生成并输出第一PIN,以实现WPS功能的配置;或者根据获取的第三指令输出用于提示用户输入第二PIN的信息并获取用户输入的第二PIN,以实现WPS功能的配置。与现有技术相比,本发明实施例中,不需要通过在WIFI终端登陆AP配置界面来完成WPS功能的配置,减少AP与WIFI终端之间的信息交互。This embodiment provides a security control method for accessing a wireless network. Through this embodiment, when configuring the WPS function, the AP can determine the target WPS mode according to the obtained first instruction, and according to the obtained second instruction Generate and output the first PIN to realize the configuration of the WPS function; or output information for prompting the user to input the second PIN according to the obtained third instruction and acquire the second PIN input by the user to realize the configuration of the WPS function. Compared with the prior art, in the embodiment of the present invention, it is not necessary to complete the configuration of the WPS function by logging into the AP configuration interface on the WIFI terminal, thereby reducing the information interaction between the AP and the WIFI terminal.
本实施例提供的上述方法中,第一指令、第二指令和第三指令均可以是AP通过检测用户点击AP上的按键来获取的,也可以是AP通过检测用户使用遥控设备发送的信号来获取的。本实施例中主要对第一指令、第二指令和第三指令是AP通过检测用户点击AP上的按键来获取的方式对本发明进行具体介绍。In the above method provided by this embodiment, the first instruction, the second instruction and the third instruction can all be obtained by the AP by detecting that the user clicks a button on the AP, or by the AP detecting the signal sent by the user using the remote control device. acquired. In this embodiment, the present invention is mainly introduced in detail in the manner that the first instruction, the second instruction and the third instruction are acquired by the AP by detecting that the user clicks a button on the AP.
进一步地,本实施例提供的上述访问无线网络的安全控制方法中,所述按键可以采用一个按键实现,也可以采用两个不同的按键。Further, in the above security control method for accessing a wireless network provided by this embodiment, the button may be realized by using one button, or two different buttons may be used.
下面,如图2所示,为本实施例提供的当按键采用一个按键时,一种访问无线网络的安全控制具体方法流程图,具体包括如下步骤:Below, as shown in FIG. 2 , a flow chart of a specific method of security control for accessing a wireless network when one key is used for the present embodiment is provided, which specifically includes the following steps:
首先,需要说明的是,在本实施例中,按键可以为现有AP上的物理按键(如:PBC按键)或触摸屏上的虚拟按键。First of all, it should be noted that, in this embodiment, the key may be a physical key (such as a PBC key) on an existing AP or a virtual key on a touch screen.
1011:AP通过检测用户点击AP上的按键来获取第一指令,根据第一指令确定用户选中的目标WPS模式。1011: The AP obtains the first instruction by detecting that the user clicks a button on the AP, and determines the target WPS mode selected by the user according to the first instruction.
进一步地,上述步骤1011中,用户点击按键时采用的操作方式可以为用户点击按键后并立即抬起,也可以为用户点击按键持续第一预设时间后抬起。Further, in the
例如,当按键为AP上的PBC按键时,用户可以通过点击PBC按键来触发AP产生第一指令,并根据第一指令选择WPS模式。如果在用户进行WPS模式选择之前,当前AP的WPS模式不是用户的目标WPS模式(目标WPS模式为用户想要选择的WPS模式,如AP PIN模式或PIN模式)时,用户可以通过点击PBC按键,将当前AP的WPS模式切换为下一个WPS模式。用户可以通过AP上的指示灯来判断切换后的WPS模式是否为用户目标WPS模式,如果是,用户则停止点击PBC按键,如果不是,则用户可以再次点击PBC按键,将AP的WPS模式进行再次切换,直至用户切换到用户目标WPS模式时停止点击PBC按键,其中,用户点击PBC按键来选择WPS模式时,可以通过点击PBC按键后并立即抬起来实现,也可以通过点击PBC按键持续第一预设时间后抬起来实现。For example, when the button is a PBC button on the AP, the user may click the PBC button to trigger the AP to generate the first instruction, and select the WPS mode according to the first instruction. If the WPS mode of the current AP is not the target WPS mode of the user before the user selects the WPS mode (the target WPS mode is the WPS mode that the user wants to select, such as AP PIN mode or PIN mode), the user can click the PBC button, Switch the WPS mode of the current AP to the next WPS mode. The user can judge whether the switched WPS mode is the user's target WPS mode through the indicator light on the AP. If it is, the user stops clicking the PBC button. If not, the user can click the PBC button again to reset the WPS mode of the AP. Switch until the user switches to the user's target WPS mode and stop clicking the PBC button. When the user clicks the PBC button to select the WPS mode, it can be realized by clicking the PBC button and lifting it immediately, or by clicking the PBC button to continue the first preset. Lift up after set time to achieve.
1021:若确定目标WPS模式为AP PIN模式,且之后,AP通过检测用户点击AP上的按键来获取第二指令,根据第二指令生成、保存并输出第一PIN,以便于AP在获取到WIFI终端发送的携带有第一目标PIN的访问无线网络请求,且第一目标PIN与第一PIN一致时,允许WIFI终端通过AP访问无线网络,否则禁止WIFI终端通过AP访问无线网络。1021: If it is determined that the target WPS mode is the AP PIN mode, and then, the AP obtains the second instruction by detecting that the user clicks a button on the AP, generates, saves, and outputs the first PIN according to the second instruction, so that the AP obtains the WIFI When the terminal sends a wireless network access request carrying the first target PIN, and the first target PIN is consistent with the first PIN, the WIFI terminal is allowed to access the wireless network through the AP; otherwise, the WIFI terminal is prohibited from accessing the wireless network through the AP.
进一步地,上述步骤1021中,用户点击按键时采用的操作方式可以为用户点击按键后并立即抬起,也可以为用户点击按键持续第二预设时间后抬起。Further, in the
例如,当前目标WPS模式为AP PIN模式时,用户可以通过点击AP上的PBC按键来触发AP生成第二指令,并根据第二指令生成第一PIN,用户可以通过AP显示屏所显示的内容得知第一PIN。For example, when the current target WPS mode is AP PIN mode, the user can trigger the AP to generate a second command by clicking the PBC button on the AP, and generate the first PIN according to the second command. Know the first PIN.
1031:若确定目标WPS模式为PIN模式,且之后,AP通过检测用户点击AP上的按键来获取第三指令,根据第三指令输出用于提示用户输入第二PIN的信息。1031: If it is determined that the target WPS mode is the PIN mode, and then, the AP acquires a third instruction by detecting that the user clicks a button on the AP, and outputs information for prompting the user to input a second PIN according to the third instruction.
进一步地,上述步骤1031中,用户点击按键时采用的操作方式可以为用户点击按键后并立即抬起,也可以为用户点击按键持续第三预设时间后抬起。Further, in the
例如,当前目标WPS模式为PIN模式时,用户可以点击AP上的PBC按键来触发AP产生第三指令,此时,AP会弹出提示用户输入第二PIN的提示框,以便于用户可以在上述提示框中输入第二PIN。For example, when the current target WPS mode is PIN mode, the user can click the PBC button on the AP to trigger the AP to generate the third command. Enter the second PIN in the box.
本实施例中,可选的,上述步骤1011中的第一预设时间、上述步骤1021中的第二预设时间与上述步骤1031中的第三预设时间可以为相同时间段;例如2S;也可以分别为不同的时间段;例如,第一预设时间为2S,第二预设时间为3S,第三预设时间为4S。In this embodiment, optionally, the first preset time in the
1041:AP获取用户输入的第二PIN,保存第二PIN,以便于AP在获取到WIFI终端发送的携带有第二目标PIN的访问无线网络请求,且第二目标PIN与第二PIN一致时,允许WIFI终端通过AP访问无线网络,否则禁止WIFI终端通过AP访问无线网络。1041: The AP obtains the second PIN input by the user, and saves the second PIN, so that when the AP obtains the wireless network access request carrying the second target PIN sent by the WIFI terminal, and the second target PIN is consistent with the second PIN, Allow the WIFI terminal to access the wireless network through the AP, otherwise prohibit the WIFI terminal to access the wireless network through the AP.
其中,用户在AP端输入第二PIN时具体可以采用如下方式:Among them, when the user enters the second PIN at the AP end, the following methods can be used specifically:
可选的,用户在AP端输入第二PIN时具体可以采用语音方式通过AP上的话筒将第二PIN输入到AP端。Optionally, when the user inputs the second PIN at the AP end, the user may specifically input the second PIN to the AP end through a microphone on the AP in a voice manner.
可选的,用户在AP端输入第二PIN时具体还可以通过AP触摸屏上的虚拟按键将第二PIN输入到AP端。Optionally, when the user inputs the second PIN at the AP terminal, the second PIN may also be input to the AP terminal through a virtual key on the touch screen of the AP.
可选的,用户在AP端输入第二PIN时具体还可以通过AP上的两个不同的物理按键将第二PIN输入到AP端;Optionally, when the user enters the second PIN at the AP end, the second PIN can also be input to the AP end through two different physical buttons on the AP;
例如,用户通过PBC按键和WIFI开关按键将第二PIN输入到AP端,PBC按键和WIFI开关按键功能如下:For example, the user inputs the second PIN to the AP through the PBC button and the WIFI switch button. The functions of the PBC button and the WIFI switch button are as follows:
PBC按键实现0-9之间的数字切换功能,即当AP获取到用户按下PBC按键的时间持续第四预设时间时,用户按下PCB按键之后,AP屏幕上显示的数字与用户按下PCB按键之前显示的数字相差1,其中,可以增加1,也可以减少1。当AP获取到用户按下PBC按键的时间持续第四预设时间的两倍时,AP在屏幕当前位上显示数字与用户按下PCB按键之前显示的数字相差2,其中,可以增加2,也可以减少2,以此类推。The PBC button realizes the digital switching function between 0-9, that is, when the AP obtains the time when the user presses the PBC button for the fourth preset time, after the user presses the PCB button, the number displayed on the AP screen is the same as the number that the user pressed. The difference between the numbers displayed before the PCB button is 1, and it can be increased by 1 or decreased by 1. When the AP acquires that the user presses the PBC button for twice the fourth preset time, the number displayed on the current position of the screen by the AP differs by 2 from the number displayed before the user presses the PCB button. Can be reduced by 2, and so on.
WIFI开关按键实现确定第二PIN的功能;The WIFI switch button realizes the function of determining the second PIN;
例如,所需输入的第二PIN为123456,用户首先按下PBC按键,当AP显示当前第一位数字跳变为1时,放开PBC按键,此时光标移至第一位之后。开始设置第二PIN的第二位,用户再次按下PBC按键并当AP显示的当前第二位的数字跳变为2时,放开PBC按键。以此类推,当设置完第二PIN的第六位数字后,用户按下WIFI开关按键并抬起,以完成第二PIN的输入。For example, the second PIN to be input is 123456, the user first presses the PBC button, and when the AP displays that the current first digit jumps to 1, release the PBC button, and the cursor moves to the first digit. To start setting the second digit of the second PIN, the user presses the PBC button again and releases the PBC button when the current second digit displayed by the AP jumps to 2. By analogy, after setting the sixth digit of the second PIN, the user presses the WIFI switch button and lifts it up to complete the input of the second PIN.
进一步地,上述步骤1021中,AP输出第一PIN的具体方式可以为:Further, in the
方式一:AP通过显示屏显示第一PIN;Method 1: The AP displays the first PIN on the display screen;
方式二:AP通过语音播报方式播报第一PIN。Method 2: The AP broadcasts the first PIN by voice broadcast.
进一步地,上述步骤1031中,AP输出用于提示用户输入第二PIN的信息具体方式可以为:Further, in the
方式一:AP通过显示屏显示用于提示用户输入第二PIN的信息;Method 1: The AP displays information for prompting the user to enter the second PIN through the display screen;
方式二:AP通过语音播报方式播报用于提示用户输入第二PIN的信息。Mode 2: The AP broadcasts the information for prompting the user to input the second PIN through voice broadcast.
如图3所示,为本实施例提供的当按键为两个不同按键时,一种访问无线网络的安全控制具体方法流程图,具体包括如下步骤:As shown in FIG. 3 , when the keys are two different keys provided in this embodiment, a flow chart of a specific method for accessing a wireless network security control specifically includes the following steps:
需要说明的是,按键包括第一按键和第二按键,本实施例方法中,第一按键可以为AP上的第一物理按键(如:WIFI开关按键)或者触摸屏上的第一虚拟按键,第二按键可以为AP上第二物理按键(如:PBC按键)或者触摸屏上的第二虚拟按键。It should be noted that the buttons include a first button and a second button. In the method of this embodiment, the first button can be the first physical button on the AP (such as the WIFI switch button) or the first virtual button on the touch screen. The second button may be a second physical button on the AP (for example, a PBC button) or a second virtual button on the touch screen.
1012:AP通过检测用户点击AP上的第一按键来获取第一指令,根据第一指令确定用户选中的目标WPS模式。1012: The AP obtains the first instruction by detecting that the user clicks the first button on the AP, and determines the target WPS mode selected by the user according to the first instruction.
其中,本步骤中,用户点击第一按键时可以采用的操作方式与步骤1011中户点击按键可以采用的操作方式相同,在此不再赘述。Wherein, in this step, the operation mode that the user can adopt when clicking the first button is the same as the operation mode that the user can adopt when clicking the button in
可选的,本步骤的实现具体可以参见实施例1中步骤1011的具体实例,在此不再进行举例。Optionally, for the implementation of this step, reference may be made to the specific example of
1022:若确定目标WPS模式为AP PIN模式,且之后,AP通过检测用户点击AP上的第二按键来获取第二指令,根据第二指令生成、保存并输出第一PIN,以便于AP在获取到WIFI终端发送的携带有第一目标PIN的访问无线网络请求,且第一目标PIN与第一PIN一致时,允许WIFI终端通过AP访问无线网络,否则禁止WIFI终端通过AP访问无线网络。1022: If it is determined that the target WPS mode is the AP PIN mode, and then, the AP obtains the second instruction by detecting that the user clicks the second button on the AP, generates, saves, and outputs the first PIN according to the second instruction, so that the AP can obtain the second instruction. When the WIFI terminal sends a wireless network access request carrying the first target PIN, and the first target PIN is consistent with the first PIN, the WIFI terminal is allowed to access the wireless network through the AP, otherwise the WIFI terminal is prohibited from accessing the wireless network through the AP.
其中,本步骤中,用户点击第二按键时可以采用的操作方式与步骤1021中户点击按键可以采用的操作方式相同,在此不再赘述。Wherein, in this step, the operation mode that the user can adopt when clicking the second button is the same as the operation mode that the user can adopt when clicking the button in
可选的,本步骤的实现具体可以参见实施例1中步骤1021的具体实例,在此不再进行举例。Optionally, for the implementation of this step, reference may be made to the specific example of
1032:若确定目标WPS模式为PIN模式,且之后,AP通过检测用户点击AP上的第二按键来获取第三指令,根据第三指令输出用于提示用户输入第二PIN的信息。1032: If it is determined that the target WPS mode is the PIN mode, and then, the AP obtains a third instruction by detecting that the user clicks a second button on the AP, and outputs information for prompting the user to input a second PIN according to the third instruction.
其中,本步骤中,用户点击第二按键时可以采用的操作方式与步骤1031中户点击按键可以采用的操作方式相同,在此不再赘述。Wherein, in this step, the operation mode that the user can adopt when clicking the second button is the same as the operation mode that the user can adopt when clicking the button in
可选的,本步骤的实现具体可以参见实施例1中步骤1031的具体实例,在此不再进行举例。Optionally, for the implementation of this step, refer to the specific example of
1042:AP获取用户输入的第二PIN,保存第二PIN,以便于AP在获取到WIFI终端发送的携带有第二目标PIN的访问无线网络请求,且第二目标PIN与第二PIN一致时,允许WIFI终端通过AP访问无线网络,否则禁止WIFI终端通过AP访问无线网络。1042: The AP obtains the second PIN input by the user, and saves the second PIN, so that when the AP obtains the wireless network access request carrying the second target PIN sent by the WIFI terminal, and the second target PIN is consistent with the second PIN, Allow the WIFI terminal to access the wireless network through the AP, otherwise prohibit the WIFI terminal to access the wireless network through the AP.
其中,用户在AP端输入第二PIN时具体可以采用的方式与上述步骤1041中用户在AP端输入第二PIN时具体可以采用的方式相同,在此不再具体说明。Wherein, the specific method that the user may adopt when inputting the second PIN at the AP end is the same as the specific manner that the user may adopt when inputting the second PIN at the AP end in the
进一步地,上述步骤1022中,AP输出第一PIN的方式与上述步骤1021中AP输出第一PIN的方式相同,在此不再具体说明。Further, in the
进一步地,上述步骤1032中,AP输出用于提示用户输入第二PIN的信息的方式与上述步骤1031中AP输出用于提示用户输入第二PIN的信息的方式相同,在此不再具体说明。Further, in the
本实施例提供的一种访问无线网络的安全控制方法,通过本实施例,在进行WPS功能配置时,AP可以通过检测用户点击AP上的按键来获取第一指令,根据第一指令确定用户选中的目标WPS模式;并通过检测用户点击AP上的按键来获取第二指令,根据第二指令生成、保存并输出第一PIN,以实现WPS功能的配置;或者,通过检测用户点击AP上的按键来获取第三指令,根据第三指令输出用于提示用户输入第二PIN的信息并获取用户输入的第二PIN,以实现WPS功能的配置。与现有技术相比,本发明实施例中用户不需要通过在WIFI终端登陆AP配置界面来完成WPS功能的配置,减少AP与WIFI终端之间的信息交互,另外,通过AP上的按键来实现WPS功能的配置,增加了AP的易用性。This embodiment provides a security control method for accessing a wireless network. Through this embodiment, when configuring the WPS function, the AP can obtain the first instruction by detecting that the user clicks a button on the AP, and determine the user selected according to the first instruction. The target WPS mode; and obtain the second instruction by detecting the user clicking the button on the AP, generate, save and output the first PIN according to the second instruction, so as to realize the configuration of the WPS function; or, by detecting the user clicking the button on the AP to obtain the third instruction, output information for prompting the user to input the second PIN according to the third instruction and obtain the second PIN input by the user, so as to realize the configuration of the WPS function. Compared with the prior art, in the embodiment of the present invention, the user does not need to log in to the AP configuration interface on the WIFI terminal to complete the configuration of the WPS function, reducing the information interaction between the AP and the WIFI terminal. The configuration of the WPS function increases the ease of use of the AP.
实施例2Example 2
参见图4,为本实施例提供的一种访问无线网络的安全控制方法流程图,具体实现过程包括如下步骤:Referring to FIG. 4 , it is a flow chart of a security control method for accessing a wireless network provided in this embodiment. The specific implementation process includes the following steps:
201:WIFI终端获取第四指令,根据第四指令生成并输出个人识别码PIN,以便于用户在无线访问接入点AP上输入PIN来实现WIFI保护设置WPS功能。201: The WIFI terminal acquires the fourth instruction, generates and outputs a personal identification code PIN according to the fourth instruction, so that the user can enter the PIN on the wireless access point AP to implement the WIFI protected setting WPS function.
本实施例提供的一种访问无线网络的安全控制方法,通过本实施例,在进行WPS功能配置时,WIFI终端根据获取的第四指令来生成并输出个人识别码PIN,并由用户将所生成的PIN输入到AP端来完成WPS功能的配置。与现有技术相比,本发明实施例中用户不需要通过在WIFI终端登陆AP配置界面来完成WPS功能的配置,减少AP与WIFI终端之间的信息交互。This embodiment provides a security control method for accessing a wireless network. Through this embodiment, when configuring the WPS function, the WIFI terminal generates and outputs a personal identification code PIN according to the obtained fourth instruction, and the generated PIN is generated by the user. Input the PIN to the AP to complete the configuration of the WPS function. Compared with the prior art, in the embodiment of the present invention, the user does not need to log in to the AP configuration interface on the WIFI terminal to complete the configuration of the WPS function, reducing the information interaction between the AP and the WIFI terminal.
本实施例提供的上述方法中,第四指令可以是WIFI终端通过检测用户点击WIFI终端上的按键来获取的,也可以是WIFI终端通过检测用户使用遥控设备发送的信号来获取的。本实施例中主要对第四指令是AP通过检测用户点击WIFI终端上的按键来获取的方式对本发明进行具体介绍。In the above method provided by this embodiment, the fourth instruction may be obtained by the WIFI terminal by detecting that the user clicks a button on the WIFI terminal, or by the WIFI terminal by detecting a signal sent by the user using a remote control device. In this embodiment, the fourth instruction is mainly obtained by the AP by detecting that the user clicks a button on the WIFI terminal to specifically introduce the present invention.
参见图5,为本实施例提供的另一种访问无线网络的安全控制方法流程图,具体实现过程包括如下步骤:Referring to FIG. 5, it is a flow chart of another security control method for accessing a wireless network provided in this embodiment. The specific implementation process includes the following steps:
2011:WIFI终端通过检测用户点击WIFI终端上的按键来获取第四指令,根据第四指令生成PIN,以便于用户在无线访问接入点AP上输入PIN来实现WIFI保护设置WPS功能。2011: The WIFI terminal obtains the fourth instruction by detecting that the user clicks the button on the WIFI terminal, and generates a PIN according to the fourth instruction, so that the user can enter the PIN on the wireless access point AP to realize the WIFI protection setting WPS function.
本步骤中,用户点击WIFI终端上的按键时采用的操作方式可以为用户点击按键后并立即抬起,也可以为用户点击按键持续第五预设时间后抬起,例如1S。In this step, the operation mode adopted when the user clicks the button on the WIFI terminal can be that the user clicks the button and immediately lifts it up, or that the user clicks the button for a fifth preset time and then lifts it up, for example, 1S.
具体的,当WIFI终端检测到用户点击WIFI终端上的按键时,生成并输出PIN后,还需要用户在AP上选择PIN模式,并将该PIN输入到AP端,从而完成WPS功能的配置。其中,本步骤中的所使用的AP为本发明所提供的AP。Specifically, when the WIFI terminal detects that the user clicks a button on the WIFI terminal, after generating and outputting a PIN, the user needs to select a PIN mode on the AP and input the PIN to the AP, thereby completing the configuration of the WPS function. Wherein, the AP used in this step is the AP provided by the present invention.
本实施例提供的一种访问无线网络的安全控制方法,通过本实施例,在进行WPS功能配置时,WIFI终端可以通过检测用户点击WIFI终端上的按键来获取第四指令,根据第四指令生成PIN,并由用户将所生成的PIN输入到AP端来完成WPS功能的配置。与现有技术相比,本发明实施例中用户不需要通过在WIFI终端登陆AP配置界面来完成WPS功能的配置,减少AP与WIFI终端之间的信息交互,另外,通过WIFI终端上的按键来实现WPS功能的配置,增加了WIFI终端的易用性。This embodiment provides a security control method for accessing a wireless network. Through this embodiment, when configuring the WPS function, the WIFI terminal can obtain the fourth instruction by detecting that the user clicks a button on the WIFI terminal, and generate the fourth instruction according to the fourth instruction. PIN, and the user enters the generated PIN into the AP to complete the configuration of the WPS function. Compared with the prior art, in the embodiment of the present invention, the user does not need to log in to the AP configuration interface on the WIFI terminal to complete the configuration of the WPS function, reducing the information interaction between the AP and the WIFI terminal. Realize the configuration of WPS function and increase the usability of WIFI terminal.
进一步地,上述步骤2011中,WIFI终端输出PIN,具体可以通过以下两种方式来实现:Further, in the
方式一:WIFI终端通过显示屏显示所述PIN;Method 1: The WIFI terminal displays the PIN through the display screen;
方式二:WIFI终端通过语音播报方式播报所述PIN。Method 2: The WIFI terminal broadcasts the PIN by voice broadcast.
进一步地,上述步骤2011中的按键可以为WIFI终端上的物理按键(如:PBC按键)或者触摸屏上的虚拟按键。Further, the key in the
实施例3Example 3
参见图6,为本实施例提供的一种无线访问接入点AP的结构图,包括:Referring to FIG. 6, it is a structural diagram of a wireless access point AP provided in this embodiment, including:
获取模块601,用于获取第一指令;An
处理模块602,用于在获取模块601获取第一指令之后,根据第一指令确定目标WIFI保护设置WPS模式;The
上述获取模块601,还用于当处理模块602确定目标WPS模式为接入点识别码AP PIN模式之后,获取第二指令;The
生成模块603,用于在获取模块601获取第二指令之后,根据第二指令生成第一个人识别码PIN;A
存储模块604,用于在生成模块603生成第一PIN之后,保存第一PIN;A
输出模块605,用于在生成模块603生成第一PIN之后,输出第一PIN,以便于获取模块601在获取到WIFI终端发送的携带有第一目标PIN的访问无线网络请求,且第一目标PIN与第一PIN一致时,允许WIFI终端通过AP访问无线网络,否则禁止WIFI终端通过AP访问无线网络;The
上述获取模块601,还用于当处理模块602确定目标WPS模式为客户端识别码PIN模式之后,获取第三指令;The
上述输出模块605,还用于在获取模块601获取第三指令之后,根据第三指令输出用于提示用户输入第二PIN的信息;The
上述获取模块601,还用于在输出模块605输出用于提示用户输入第二PIN的信息之后,获取用户输入的第二PIN;The
上述存储模块604,还用于在获取模块601获取到第二PIN之后,保存第二PIN,以便于获取模块在获取到WIFI终端发送的携带有第二目标PIN的访问无线网络请求,且第二目标PIN与第二PIN一致时,允许WIFI终端通过AP访问无线网络,否则禁止WIFI终端通过AP访问无线网络。The above-mentioned
进一步地,上述获取模块601,具体用于通过检测用户点击AP上的按键来获取第一指令;Further, the
上述获取模块601,还具体用于当处理模块确定目标WPS模式为AP PIN模式之后,通过检测用户点击AP上的按键来获取第二指令;The above-mentioned obtaining
上述获取模块601,还具体用于当处理模块确定目标WPS模式为PIN模式之后,通过检测用户点击AP上的按键来获取第三指令。The
进一步地,上述按键为物理按键或者触摸屏上的虚拟按键。Further, the above-mentioned keys are physical keys or virtual keys on the touch screen.
进一步地,上述按键包括第一按键和第二按键;Further, the above-mentioned keys include a first key and a second key;
其中,上述获取模块601,具体用于通过检测用户点击AP上的第一按键来获取第一指令;Wherein, the above-mentioned obtaining
上述获取模块601,还具体用于当处理模块确定目标WPS模式为AP PIN模式之后,通过检测用户点击AP上的第二按键来获取第二指令;The above-mentioned obtaining
上述获取模块601,还具体用于当处理模块确定目标WPS模式为PIN模式之后,通过检测用户点击AP上的第二按键来获取第三指令;The
其中,上述第一按键为第一物理按键或者触摸屏上的第一虚拟按键,上述第二按键为第二物理按键或者触摸屏上的第二虚拟按键。Wherein, the above-mentioned first key is a first physical key or a first virtual key on the touch screen, and the above-mentioned second key is a second physical key or a second virtual key on the touch screen.
进一步地,参见图7,上述输出模块605包括:Further, referring to FIG. 7, the above-mentioned
第一显示单元6051,用于通过显示屏显示第一PIN;或者,The
第一语音播报单元6053,用于通过语音播报方式播报第一PIN。The first
进一步地,参见图8,上述输出模块605包括:Further, referring to FIG. 8, the above-mentioned
第二显示单元6052,用于通过显示屏显示用于提示用户输入第二PIN的信息;The
第二语音播报单元6054,用于通过语音播报方式播报用于提示用户输入第二PIN的信息。The second
本实施例提供的一种无线访问接入点AP,通过本实施例,在进行WPS功能配置时,AP可以通过检测用户点击AP上的按键来获取第一指令,根据第一指令确定用户选中的目标WPS模式;并通过检测用户点击AP上的按键来获取第二指令,根据第二指令生成、保存并输出第一PIN,以实现WPS功能的配置;或者,通过检测用户点击AP上的按键来获取第三指令,根据第三指令输出用于提示用户输入第二PIN的信息并获取用户输入的第二PIN,以实现WPS功能的配置。与现有技术相比,本发明实施例中用户不需要通过在WIFI终端登陆AP配置界面来完成WPS功能的配置,减少AP与WIFI终端之间的信息交互,另外,通过AP上的按键来实现WPS功能的配置,增加了AP的易用性。This embodiment provides a wireless access point AP. Through this embodiment, when configuring the WPS function, the AP can obtain the first instruction by detecting that the user clicks a button on the AP, and determine the user selected according to the first instruction. The target WPS mode; and obtain the second instruction by detecting the user clicking the button on the AP, generate, save and output the first PIN according to the second instruction, so as to realize the configuration of the WPS function; or, by detecting the user clicking the button on the AP to Obtaining a third instruction, outputting information for prompting the user to input the second PIN according to the third instruction, and obtaining the second PIN input by the user, so as to realize the configuration of the WPS function. Compared with the prior art, in the embodiment of the present invention, the user does not need to log in to the AP configuration interface on the WIFI terminal to complete the configuration of the WPS function, reducing the information interaction between the AP and the WIFI terminal. The configuration of the WPS function increases the ease of use of the AP.
实施例4Example 4
参见图9,为本实施例提供的一种WIFI终端结构图,包括:Referring to FIG. 9, it is a structural diagram of a WIFI terminal provided in this embodiment, including:
获取模块701,用于获取第四指令;An
生成模块702,用于在获取模块701获取第四指令之后,根据所述第四指令生成个人识别码PIN;A
输出模块703,用于在生成模块702生成PIN之后,输出PIN,以便于用户在无线访问接入点AP上输入所述PIN来实现WIFI保护设置WPS功能。The
进一步地,上述获取模块701,具体用于通过检测用户点击WIFI终端上的按键来获取第四指令。Further, the
进一步地,参见图10,上述输出模块703包括:Further, referring to FIG. 10, the above-mentioned
显示单元7031,用于通过显示屏显示PIN;或者,A display unit 7031, configured to display the PIN through a display screen; or,
语音播报单元7032,用于通过语音播报方式播报PIN。The voice announcement unit 7032 is used to announce the PIN by voice announcement.
进一步地,上述按键为物理按键或者触摸屏上的虚拟按键。Further, the above-mentioned keys are physical keys or virtual keys on the touch screen.
本发明提供的一种WIFI终端,通过本实施例,在在进行WPS功能配置时,WIFI终端可以通过检测用户点击WIFI终端上的按键来获取第四指令,根据第四指令生成PIN,并将所生成的PIN输入到AP端来完成WPS功能的配置。与现有技术相比,本发明实施例中用户不需要通过在WIFI终端登陆AP配置界面来完成WPS功能的配置,减少AP与WIFI终端之间的信息交互,另外,通过WIFI终端上的按键来实现WPS功能的配置,增加了WIFI终端的易用性。A WIFI terminal provided by the present invention, through this embodiment, when performing WPS function configuration, the WIFI terminal can obtain the fourth instruction by detecting that the user clicks a button on the WIFI terminal, generate a PIN according to the fourth instruction, and send the The generated PIN is input to the AP to complete the configuration of the WPS function. Compared with the prior art, in the embodiment of the present invention, the user does not need to log in to the AP configuration interface on the WIFI terminal to complete the configuration of the WPS function, reducing the information interaction between the AP and the WIFI terminal. Realize the configuration of WPS function and increase the usability of WIFI terminal.
通过以上的实施方式的描述,所属领域的技术人员可以清楚地了解到本发明可借助软件加必需的通用硬件的方式来实现,当然也可以通过硬件,但很多情况下前者是更佳的实施方式。基于这样的理解,本发明的技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品存储在可读取的存储介质中,如计算机的软盘,硬盘或光盘等,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)执行本发明各个实施例所述的方法。Through the description of the above embodiments, those skilled in the art can clearly understand that the present invention can be realized by means of software plus necessary general-purpose hardware, and of course also by hardware, but in many cases the former is a better embodiment . Based on this understanding, the essence of the technical solution of the present invention or the part that contributes to the prior art can be embodied in the form of a software product, and the computer software product is stored in a readable storage medium, such as a floppy disk of a computer , a hard disk or an optical disk, etc., including several instructions for enabling a computer device (which may be a personal computer, server, or network device, etc.) to execute the methods described in various embodiments of the present invention.
以上所述,仅为本发明的具体实施方式,但本发明的保护范围并不局限于此,任何熟悉本技术领域的技术人员在本发明揭露的技术范围内,可轻易想到变化或替换,都应涵盖在本发明的保护范围之内。因此,本发明的保护范围应以所述权利要求的保护范围为准。The above is only a specific embodiment of the present invention, but the scope of protection of the present invention is not limited thereto. Anyone skilled in the art can easily think of changes or substitutions within the technical scope disclosed in the present invention. Should be covered within the protection scope of the present invention. Therefore, the protection scope of the present invention should be determined by the protection scope of the claims.
Claims (22)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201210199399.1A CN102695173B (en) | 2012-06-15 | 2012-06-15 | Safety control method for accessing wireless network and terminal |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201210199399.1A CN102695173B (en) | 2012-06-15 | 2012-06-15 | Safety control method for accessing wireless network and terminal |
Publications (2)
Publication Number | Publication Date |
---|---|
CN102695173A true CN102695173A (en) | 2012-09-26 |
CN102695173B CN102695173B (en) | 2015-04-08 |
Family
ID=46860423
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201210199399.1A Active CN102695173B (en) | 2012-06-15 | 2012-06-15 | Safety control method for accessing wireless network and terminal |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN102695173B (en) |
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103716796A (en) * | 2014-01-03 | 2014-04-09 | 上海斐讯数据通信技术有限公司 | Wireless access point device and misconnection detection method thereof |
CN104095619A (en) * | 2013-04-12 | 2014-10-15 | 源星生医科技股份有限公司 | WiFi cloud electronic physiological monitoring system |
CN104144424A (en) * | 2013-05-07 | 2014-11-12 | 华为终端有限公司 | Method for establishing connection between devices, configuration device and wireless devices |
CN104284334A (en) * | 2013-07-01 | 2015-01-14 | 华为终端有限公司 | A control method and device for WiFi protection settings |
CN104581723A (en) * | 2014-12-10 | 2015-04-29 | 杭州赫智电子科技有限公司 | Application method and device for networking information data of client equipment |
CN104796748A (en) * | 2015-03-18 | 2015-07-22 | 飞狐信息技术(天津)有限公司 | Method and device for data transmission |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20020143634A1 (en) * | 2001-03-30 | 2002-10-03 | Kumar K. Anand | Wireless payment system |
CN1717095A (en) * | 2004-06-29 | 2006-01-04 | 华为技术有限公司 | A Method for Preventing Illegal Roaming of Terminal Users |
CN101605329A (en) * | 2009-06-30 | 2009-12-16 | 中兴通讯股份有限公司 | Cut-in method and access device |
US20100265928A1 (en) * | 2009-04-17 | 2010-10-21 | Ralink Technology Corporation | Method for selecting an access point and apparatus for using the same |
CN102204391A (en) * | 2011-05-27 | 2011-09-28 | 华为终端有限公司 | Repeater wps connection method and device |
-
2012
- 2012-06-15 CN CN201210199399.1A patent/CN102695173B/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20020143634A1 (en) * | 2001-03-30 | 2002-10-03 | Kumar K. Anand | Wireless payment system |
CN1717095A (en) * | 2004-06-29 | 2006-01-04 | 华为技术有限公司 | A Method for Preventing Illegal Roaming of Terminal Users |
US20100265928A1 (en) * | 2009-04-17 | 2010-10-21 | Ralink Technology Corporation | Method for selecting an access point and apparatus for using the same |
CN101605329A (en) * | 2009-06-30 | 2009-12-16 | 中兴通讯股份有限公司 | Cut-in method and access device |
CN102204391A (en) * | 2011-05-27 | 2011-09-28 | 华为终端有限公司 | Repeater wps connection method and device |
Non-Patent Citations (2)
Title |
---|
周海亚: "基于WPS的自动配置的实现", 《中国优秀硕士学位论文全文数据库 信息科技辑》, 15 April 2009 (2009-04-15) * |
程鹏: "无线局域网应用系统在综合接入设备中的设计与实现", 《中国优秀硕士学位论文全文数据库 信息科技辑 》, 15 May 2010 (2010-05-15) * |
Cited By (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104095619A (en) * | 2013-04-12 | 2014-10-15 | 源星生医科技股份有限公司 | WiFi cloud electronic physiological monitoring system |
CN104144424A (en) * | 2013-05-07 | 2014-11-12 | 华为终端有限公司 | Method for establishing connection between devices, configuration device and wireless devices |
WO2014180296A1 (en) * | 2013-05-07 | 2014-11-13 | 华为终端有限公司 | Method, configuration device, and wireless device for establishing connection between devices |
CN104144424B (en) * | 2013-05-07 | 2018-05-11 | 华为终端(东莞)有限公司 | The method, configuration equipment and wireless device of connection are established between a kind of equipment |
CN104284334A (en) * | 2013-07-01 | 2015-01-14 | 华为终端有限公司 | A control method and device for WiFi protection settings |
CN104284334B (en) * | 2013-07-01 | 2018-10-30 | 华为终端有限公司 | A kind of control method and equipment of WiFi protection settings |
CN103716796A (en) * | 2014-01-03 | 2014-04-09 | 上海斐讯数据通信技术有限公司 | Wireless access point device and misconnection detection method thereof |
CN104581723A (en) * | 2014-12-10 | 2015-04-29 | 杭州赫智电子科技有限公司 | Application method and device for networking information data of client equipment |
CN104796748A (en) * | 2015-03-18 | 2015-07-22 | 飞狐信息技术(天津)有限公司 | Method and device for data transmission |
Also Published As
Publication number | Publication date |
---|---|
CN102695173B (en) | 2015-04-08 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
EP3401776B1 (en) | Sound effect configuration method and system and related device | |
CN109075820B (en) | Bluetooth pairing method, terminal device and readable storage medium | |
CN102695173B (en) | Safety control method for accessing wireless network and terminal | |
WO2018054356A1 (en) | Method for displaying information and terminal | |
EP3059899B1 (en) | Permission verification method and device | |
US12248724B2 (en) | Enhanced video call method and system, and electronic device | |
CN106302653B (en) | Control authority sharing method of access control terminal and related equipment | |
WO2018049881A1 (en) | Data migration method and device | |
WO2016127795A1 (en) | Service processing method, server, and terminal | |
KR101642018B1 (en) | Display method and apparatus of wireless device list, wireless device, program, recrding medium and broadcast method | |
WO2015184770A1 (en) | Information processing method, system and terminal | |
KR20140123076A (en) | A device control method and apparatus | |
CN111245854B (en) | Media transmission method, media control method and device | |
CN113986167A (en) | Screen projection control method and device, storage medium and display equipment | |
WO2016078504A1 (en) | Identity authentication method and device | |
WO2015106727A1 (en) | Method and apparatus for switching audio output device | |
WO2018049884A1 (en) | Data migration method and device | |
AU2019203256B2 (en) | Fingerprint event processing method, apparatus, and terminal | |
CN105357385B (en) | More APP contextual models management methods and terminal | |
CN105162979A (en) | Incoming call mute control method and smartwatch | |
CN104917905B (en) | Processing method, terminal and the server of Stranger Calls | |
CN108270764B (en) | Application login method, server and mobile terminal | |
CN110933772A (en) | Connection method of wireless device, mobile terminal and computer readable storage medium | |
KR101876394B1 (en) | Method and device for playing media data on a terminal | |
CN103023736A (en) | Method and mobile terminal for displaying DLNA (digital living network alliance) 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 | ||
CP01 | Change in the name or title of a patent holder | ||
CP01 | Change in the name or title of a patent holder |
Address after: 518129 Building 2, B District, Bantian HUAWEI base, Longgang District, Shenzhen, Guangdong. Patentee after: Huawei terminal (Shenzhen) Co.,Ltd. Address before: 518129 Building 2, B District, Bantian HUAWEI base, Longgang District, Shenzhen, Guangdong. Patentee before: HUAWEI DEVICE Co.,Ltd. |
|
TR01 | Transfer of patent right | ||
TR01 | Transfer of patent right |
Effective date of registration: 20181220 Address after: 523808 Southern Factory Building (Phase I) Project B2 Production Plant-5, New Town Avenue, Songshan Lake High-tech Industrial Development Zone, Dongguan City, Guangdong Province Patentee after: HUAWEI DEVICE Co.,Ltd. Address before: 518129 Building 2, B District, Bantian HUAWEI base, Longgang District, Shenzhen, Guangdong. Patentee before: Huawei terminal (Shenzhen) Co.,Ltd. |
|
TR01 | Transfer of patent right | ||
TR01 | Transfer of patent right |
Effective date of registration: 20210428 Address after: Unit 3401, unit a, building 6, Shenye Zhongcheng, No. 8089, Hongli West Road, Donghai community, Xiangmihu street, Futian District, Shenzhen, Guangdong 518040 Patentee after: Honor Device Co.,Ltd. Address before: Metro Songshan Lake high tech Industrial Development Zone, Guangdong Province, Dongguan City Road 523808 No. 2 South Factory (1) project B2 -5 production workshop Patentee before: HUAWEI DEVICE Co.,Ltd. |
|
CP03 | Change of name, title or address | ||
CP03 | Change of name, title or address |
Address after: Unit 3401, unit a, building 6, Shenye Zhongcheng, No. 8089, Hongli West Road, Donghai community, Xiangmihu street, Futian District, Shenzhen, Guangdong 518040 Patentee after: Honor Terminal Co.,Ltd. Country or region after: China Address before: 3401, unit a, building 6, Shenye Zhongcheng, No. 8089, Hongli West Road, Donghai community, Xiangmihu street, Futian District, Shenzhen, Guangdong Patentee before: Honor Device Co.,Ltd. Country or region before: China |