WO2018103446A1 - 一种无线保真的快速连接方法及装置 - Google Patents

一种无线保真的快速连接方法及装置 Download PDF

Info

Publication number
WO2018103446A1
WO2018103446A1 PCT/CN2017/105491 CN2017105491W WO2018103446A1 WO 2018103446 A1 WO2018103446 A1 WO 2018103446A1 CN 2017105491 W CN2017105491 W CN 2017105491W WO 2018103446 A1 WO2018103446 A1 WO 2018103446A1
Authority
WO
WIPO (PCT)
Prior art keywords
scan
command
access point
smart terminal
result
Prior art date
Application number
PCT/CN2017/105491
Other languages
English (en)
French (fr)
Inventor
黄园
Original Assignee
广东欧珀移动通信有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 广东欧珀移动通信有限公司 filed Critical 广东欧珀移动通信有限公司
Publication of WO2018103446A1 publication Critical patent/WO2018103446A1/zh

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W48/00Access restriction; Network selection; Access point selection
    • H04W48/16Discovering, processing access restriction or access information
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W48/00Access restriction; Network selection; Access point selection
    • H04W48/20Selecting an access point
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/10Connection setup
    • H04W76/12Setup of transport tunnels
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/10Connection setup
    • H04W76/19Connection re-establishment

Definitions

  • the present invention relates to the field of communications, and in particular, to a method and an apparatus for quickly connecting a WIFI.
  • Terminals in the communication field are devices commonly used by users. Since the devices all have their own operating systems, the terminals are also called smart terminals or smart phones, and smart phones (English: Smartphone) are For the collective title of mobile phones with more computing power and functions than traditional feature phones.
  • the existing smartphones are divided into two ways, one is through a mobile communication network connection, for example: 3G, 4G network, etc., and the other is through the local area network, the most commonly used is wireless fidelity (wireless fidelity) , WIFI) connection, the existing WIFI is connected to an access point, it takes a long time, affecting the customer's experience.
  • a mobile communication network connection for example: 3G, 4G network, etc.
  • WIFI wireless fidelity
  • WIFI wireless fidelity
  • One of the objectives of the present invention is to provide a fast connection method for WIFI, which mainly solves the shortcomings of the existing WIFI connecting an access point and affecting the customer experience.
  • a fast connection method of a WIFI includes the following steps:
  • the smart terminal After detecting that the user opens the WIFI connection, the smart terminal sends a reconnection command
  • the intelligent terminal After determining the reconnection command, the intelligent terminal determines whether the SCAN ONLY command is being scanned.
  • the scan-only command is changed to a non-only scan command, and the non-only scan command is used to enable the smart terminal to automatically connect to the access point after completing the scan.
  • the changing the scan command to the non-scan only command specific includes:
  • the scan result processing function in the scan only command is deleted.
  • the method further includes: after changing the scan only command to a non-only scan command:
  • the scan result of only the scan command is transmitted to the auxiliary function module to implement the auxiliary function.
  • the method further includes: after changing the scan only command to a non-only scan command:
  • the scan result includes: a connectable access point, selecting an access point selected by the user from the connectable access points or an access point that has been connected in history to perform automatic connection.
  • the method further includes: after changing the scan only command to a non-only scan command:
  • the scan result including a list of connectable access points, obtaining signal strength of each access point in the list, and an access point that has been connected in history, in history The access point with the strongest signal strength among the connected access points is automatically connected.
  • the determining whether the SCAN ONLY command is only being performed includes:
  • the second aspect provides a WIFI quick connection device, where the device includes: a sending unit, configured to send a reconnection command after detecting that the user opens the WIFI connection; and the determining unit is configured to determine the reconnection command Determining whether the SCAN ONLY command is being executed only; the processing unit is configured to change the scan only command to a non-only scan command if the scan only command is being performed, the non-only scan command is used to make the smart terminal The access point is automatically connected after the scan is completed.
  • the processing unit is specifically configured to delete the scan result processing function in the scan only command.
  • the processing unit is further configured to: after the non-only scan command is executed, transmit the scan result of the scan only command to the auxiliary function module to implement the auxiliary function.
  • the processing unit is further configured to obtain a scan result of the non-only scan command, where the scan result includes: a connectable access point, and select a user-selected access point from the connectable access points or The connection point that has been connected to the history is automatically connected.
  • the processing unit is further configured to obtain a scan result of a non-only scan command, where the scan result includes a list of connectable access points, and obtain a signal strength of each access point in the list.
  • the access point that has been connected to the history, and the access point with the strongest signal strength is automatically connected in the historically connected access point.
  • the determining unit is specifically configured to query, in the execution command list of the smart terminal, whether there is a SCAN ONLY command, such as querying that there is a SCAN ONLY command and executing, determining that the terminal is executing the SCAN ONLY command.
  • an intelligent terminal in a third aspect, includes: a processor, a memory, a transceiver, and a bus; the processor, the memory, and the transceiver are connected by using the bus; The program unit is configured to invoke the program code to execute the fast connection method of the WIFI provided by the first aspect.
  • the fourth party provides a storage medium in which program code is stored; when the program code is executed, the processing unit executes the fast connection method of the WIFI provided by the first aspect.
  • FIG. 1 is a flow chart of a method for quickly connecting a WIFI according to a preferred embodiment of the present invention.
  • FIG. 2 is a flowchart of a method for quickly connecting a WIFI according to another preferred embodiment of the present invention.
  • FIG. 3 is a flowchart of a method for quickly connecting a WIFI according to another preferred embodiment of the present invention.
  • FIG. 4 is a structural diagram of a WIFI quick connection device according to the present invention.
  • FIG. 5 is a schematic structural diagram of hardware of a terminal provided by the present invention.
  • Computer device also referred to as “computer” in the context, is meant an intelligent electronic device that can perform predetermined processing, such as numerical calculations and/or logical calculations, by running a predetermined program or instruction, which can include a processor and The memory is executed by the processor to execute a predetermined process pre-stored in the memory to execute a predetermined process, or is executed by hardware such as an ASIC, an FPGA, a DSP, or the like, or a combination of the two.
  • Computer devices include, but are not limited to, servers, personal computers, notebook computers, tablets, smart phones, and the like.
  • a method for quickly connecting a WIFI is provided.
  • the method is implemented by an intelligent terminal, and the smart terminal may be: a mobile phone, a tablet computer, a smart watch, a smart bracelet, a personal digital assistant, and the like.
  • the method is as shown in FIG. 1 and includes the following steps:
  • Step S101 After detecting that the user opens the WIFI connection, the smart terminal sends a reconnection command.
  • the implementation method of the foregoing step S101 may specifically be:
  • a touch display screen can be set in a smart terminal, and then a setting interface is displayed on the touch display screen, and a switch for turning on or off the WIFI is displayed in the setting interface for the user to select, such as a user.
  • the smart terminal detects that the user opens the WIFI connection.
  • the WIFI can be opened by sending a control command to the smart terminal.
  • the smart terminal determines that the user detects that the WIFI connection is opened.
  • the foregoing control commands may be sent by using a wireless method, including but not limited to: 3G, 4G network, or through Bluetooth, etc., and the sending command terminal may be another terminal connected to the smart terminal, for example, a smart watch, a smart bracelet, etc., of course
  • the control command can be sent to the smart terminal for other devices.
  • the specific implementation manner of the present invention is not limited to the specific sending manner of the foregoing control command.
  • Step S102 After determining the reconnection command, the smart terminal determines whether a scan only (English: SCAN ONLY) command is being performed.
  • the SCAN ONLY command in the above step S102 means that only the scanning is performed for the Android system.
  • the command is generally used to implement the implementation of some non-connected auxiliary functions, such as WIFI positioning and the like, by using WIFI information.
  • WIFI positioning such as WIFI positioning and the like
  • the non-SCAN ONLY command automatically implements the operation of connecting to the AP after the user performs the scan.
  • Step S103 If the smart terminal determines that the scan only command is being executed, the scan command is changed to a non-only scan command, and the non-only scan command is used to enable the smart terminal to automatically connect to the access point after completing the scan (English: Access Point, AP).
  • step S103 it is determined that there are various ways of performing the scan only command:
  • whether to scan only the command can be determined by detecting whether the WIFI auxiliary function is turned on.
  • the above auxiliary function may specifically be WIFI positioning.
  • the smart terminal may be in the list of execution commands. Check if there is a SCAN ONLY command. If the SCAN ONLY command is queried and is being executed, it is determined that the terminal is executing the SCAN ONLY command.
  • the method provided by the present invention can realize the fast connection of the WIFI, because for the smart terminal, it takes 10 seconds to 15 seconds to execute the SCAN ONLY command. If the user opens the WIFI at this time, after executing the SCAN ONLY command, Only when the non-SCAN ONLY command can be executed, firstly, the user needs to wait 10 seconds to 15 seconds to execute the WIFI connection procedure. In addition, when the non-SCAN ONLY command is executed, the smart terminal needs to rescan, which not only wastes time but also rescans. It also consumes unnecessary power, and the SCAN ONLY command is modified to a non-SCAN ONLY command. Not only can the SCAN ONLY command scan structure be directly used, but also the AP connection can be directly executed according to the scan result, so it has the advantage of quickly achieving the connection. And reduced a scan, saving power.
  • a fast connection method for a WIFI is provided, which is implemented by an intelligent terminal, which may specifically be: a mobile phone, a tablet computer, a smart watch, a smart bracelet, a personal digital assistant, etc.
  • an intelligent terminal which may specifically be: a mobile phone, a tablet computer, a smart watch, a smart bracelet, a personal digital assistant, etc.
  • the device as shown in Figure 2, includes the following steps:
  • Step S201 After detecting that the user opens the WIFI connection, the smart terminal sends a reconnection command.
  • the implementation method of the foregoing step S201 may specifically be:
  • a touch display screen can be set in a smart terminal, and then a setting interface is displayed on the touch display screen, and a switch for turning on or off the WIFI is displayed in the setting interface for the user to select, such as a user.
  • the smart terminal detects that the user opens the WIFI connection.
  • the WIFI can be opened by sending a control command to the smart terminal.
  • the smart terminal determines that the user detects that the WIFI connection is opened.
  • the foregoing control commands may be sent by using a wireless method, including but not limited to: 3G, 4G network, or through Bluetooth, etc., and the sending command terminal may be another terminal connected to the smart terminal, for example, a smart watch, a smart bracelet, etc., of course
  • the control command can be sent to the smart terminal for other devices.
  • the specific implementation manner of the present invention is not limited to the specific sending manner of the foregoing control command.
  • Step S202 After determining the reconnection command, the smart terminal determines whether scanning of only scanning (English: SCAN ONLY) is being performed.
  • the SCAN ONLY command in the above step S202 is for the Android system, meaning that it is only scanning, and the command is generally used to implement some non-connected auxiliary functions by using WIFI information, for example, WIFI positioning and other auxiliary functions.
  • WIFI information for example, WIFI positioning and other auxiliary functions.
  • the non-SCAN ONLY command automatically implements the operation of connecting to the AP after the user performs the scan.
  • Step S203 If the smart terminal determines that the scan only command is being executed, the scan result processing function in the scan only command is deleted.
  • step S203 it can be determined that there are multiple ways of performing the scan only command:
  • whether to scan only the command can be determined by detecting whether the WIFI auxiliary function is turned on.
  • the above auxiliary function may specifically be WIFI positioning.
  • the SCAN ONLY command may be queried in the execution command list of the smart terminal. If the SCAN ONLY command is queried and is being executed, it is determined that the terminal is executing the SCAN ONLY command.
  • the above processing function can be: scan_res_handler.
  • Another method provided by the present invention can implement fast connection of WIFI, because for the smart terminal, it takes 10 seconds to 15 seconds to execute the SCAN ONLY command. If the user opens the WIFI at this time, it needs to execute the SCAN ONLY command.
  • the non-SCAN ONLY command can be executed. First, the user needs to wait 10 seconds to 15 seconds to execute the WIFI connection procedure.
  • the smart terminal needs to rescan, which is not only a waste of time, but also Scanning also consumes unnecessary power. Modifying the SCAN ONLY command to a non-SCAN ONLY command not only directly uses the scanning structure of the SCAN ONLY command, but also performs AP connection directly based on the scan result, so it has a fast connection. The advantage is that it reduces the number of scans and saves power.
  • a method for quickly connecting a WIFI is provided.
  • the method is implemented by an intelligent terminal, and the smart terminal may specifically be: a mobile phone, a tablet computer, a smart watch, a smart bracelet, a personal digital assistant, and the like.
  • the device as shown in Figure 3, includes the following steps:
  • Step S301 After detecting that the user opens the WIFI connection, the smart terminal sends a reconnection command.
  • the implementation method of the foregoing step S301 may specifically be:
  • a touch display screen can be set in a smart terminal, and then a setting interface is displayed on the touch display screen, and a switch for turning on or off the WIFI is displayed in the setting interface for the user to select, such as a user.
  • the smart terminal detects that the user opens the WIFI connection.
  • a control can be sent to the smart terminal.
  • the command is used to implement the opening of the WIFI.
  • the intelligent terminal receives the control command, it is determined that the user is detected to open the WIFI connection.
  • the foregoing control commands may be sent by using a wireless method, including but not limited to: 3G, 4G network, or through Bluetooth, etc., and the sending command terminal may be another terminal connected to the smart terminal, for example, a smart watch, a smart bracelet, etc., of course
  • the control command can be sent to the smart terminal for other devices.
  • the specific implementation manner of the present invention is not limited to the specific sending manner of the foregoing control command.
  • Step S302 After determining the reconnection command, the smart terminal determines whether scanning of only scanning (English: SCAN ONLY) is being performed.
  • the SCAN ONLY command in the above step S302 means that only the scanning is performed for the Android system.
  • the command is generally used to implement the implementation of some non-connected auxiliary functions, such as WIFI positioning, by using WIFI information.
  • WIFI positioning some non-connected auxiliary functions
  • the non-SCAN ONLY command automatically implements the operation of connecting to the AP after the user performs the scan.
  • Step S303 If the smart terminal determines that the scan only command is being executed, the scan command is changed to a non-only scan command, and after the non-only scan command is executed, the scan result of the scan command is transmitted to the auxiliary function module to implement Accessibility.
  • step S303 it can be determined that there are multiple ways to perform the scan only command:
  • whether to scan only the command can be determined by detecting whether the WIFI auxiliary function is turned on.
  • the above auxiliary function may specifically be WIFI positioning.
  • the SCAN ONLY command may be queried in the execution command list of the smart terminal. If the SCAN ONLY command is queried and is being executed, it is determined that the terminal is executing the SCAN ONLY command.
  • the auxiliary function may be a positioning function
  • the auxiliary function module may be a positioning module.
  • the positioning module may be integrated into an existing chip, such as a WIFI chip.
  • the positioning module may also be integrated in the actual application. Other chips, such as within the central processor chip and so on.
  • the foregoing method may further include:
  • the scan result may include: an AP that can be connected, and select an AP selected by the user or an AP that has been connected to connect automatically from the APs that can be connected.
  • This technical solution can select the connected AP according to the user's choice, and of course, can also select an automatic connection according to the historical connected AP.
  • the foregoing method may further include:
  • the scan result may include a list of APs that can be connected, obtain the signal strength of each AP from the list, and the AP that has been connected in history, and select the AP with the strongest signal strength among the APs that have been connected in the history. auto connect.
  • the technical solution can select the AP with the best signal strength to connect when selecting in the historical AP, improve the reliability of the WIFI signal, and avoid multiple handovers.
  • the other method provided by the present invention can realize the fast connection of the WIFI, because for the smart terminal, it takes 10 seconds to 15 seconds to execute the SCAN ONLY command. If the user opens the WIFI at this time, it needs to execute the SCAN ONLY command.
  • the non-SCAN ONLY command can be executed. First, the user needs to wait 10 seconds to 15 seconds to execute the WIFI connection procedure.
  • the smart terminal needs to rescan, which is not only a waste of time, but also Scanning also consumes unnecessary power. Modifying the SCAN ONLY command to a non-SCAN ONLY command not only directly uses the scanning structure of the SCAN ONLY command, but also performs AP connection directly based on the scan result, so it has a fast connection. The advantage is that it reduces the number of scans and saves power.
  • FIG. 4 provides a WIFI quick connection device 400, and the device 400 includes:
  • the sending unit 401 is configured to send a reconnection command after detecting that the user opens the WIFI connection;
  • the determining unit 402 is configured to determine whether the SCAN ONLY command is only being executed after determining the reconnection command, and the processing unit 403 is configured to change the scan only command to non-only scanning if it is determined that the scan only command is being performed.
  • the command, the non-only scan command is used to enable the smart terminal to automatically connect to the access point after completing the scan.
  • the processing unit 403 is specifically configured to delete the scan result processing function in the scan only command.
  • the processing unit 403 is further configured to: after the non-only scan command is executed, transmit the scan result of the scan only command to the auxiliary function module to implement the auxiliary function.
  • the processing unit 403 is further configured to obtain a scan result of the non-only scan command, where the scan result includes: a connectable access point, and select an access point or history selected by the user from the connectable access points. Connected access points are automatically connected.
  • the processing unit 403 is further configured to obtain a scan result of the non-only scan command, where the scan result includes a list of connectable access points, and obtain signal strength of each access point in the list. As well as the access points that have been connected to the history, the access point with the strongest signal strength is automatically connected in the historically connected access points.
  • the present invention also provides an intelligent terminal comprising a quick connection device 400 as described above for WIFI.
  • each block of the flowchart or block diagram can represent a module, a program segment, or a portion of code that includes one or more of the Executable instructions.
  • the functions noted in the blocks may also occur in a different order than that illustrated in the drawings. For example, two consecutive blocks may be executed substantially in parallel, and they may sometimes be executed in the reverse order, depending upon the functionality involved.
  • each block of the block diagrams and/or flowcharts, and combinations of blocks in the block diagrams and/or flowcharts can be implemented in a dedicated hardware-based system that performs the specified function or function. Or it can be implemented by a combination of dedicated hardware and computer instructions.
  • an embodiment of the present invention further provides a terminal 500, including but not limited to: a smart phone, a smart watch, a tablet computer, a personal computer, a notebook computer, or a computer group, as shown in FIG. 5, the terminal 500 includes a processor 501, a memory 502, a transceiver 503, and a bus 504.
  • the transceiver 503 is configured to transmit and receive data with and from an external device.
  • the number of processors 501 in device 500 can be one or more.
  • processor 501, memory 502, and transceiver 503 may be connected by a bus system or other means.
  • Apparatus 500 can be used to perform the methods illustrated in Figures 1, 2, and 3. For the meanings and examples of the terms involved in this embodiment, reference may be made to FIG. 1 and FIG. 2. Figure 3 corresponds to the description. I will not repeat them here.
  • the program code is stored in the memory 402.
  • the processor 401 is configured to call program code stored in the memory 402 for performing the steps shown in FIG. 1, FIG. 2, and FIG.
  • the processor 501 herein may be a processing component or a general term of multiple processing components.
  • the processing component may be a central processing unit (CPU), an application specific integrated circuit (ASIC), or one or more integrated circuits configured to implement the embodiments of the present application.
  • DSPs digital signal processors
  • FPGAs Field Programmable Gate Arrays
  • the memory 502 may be a storage device or a collective name of a plurality of storage elements, and is used to store executable program code or parameters, data, and the like required for the application running device to operate.
  • the memory 403 may include random access memory (RAM), and may also include non-volatile memory such as a magnetic disk memory, a flash memory, or the like.
  • the bus 504 may be an Industry Standard Architecture (ISA) bus, a Peripheral Component (PCI) bus, or an Extended Industry Standard Architecture (EISA) bus.
  • ISA Industry Standard Architecture
  • PCI Peripheral Component
  • EISA Extended Industry Standard Architecture
  • the bus can be divided into an address bus, a data bus, a control bus, and the like. For ease of representation, only one thick line is shown in Figure 5, but it does not mean that there is only one bus or one type of bus.
  • the terminal may also include input and output means coupled to bus 504 for connection to other portions, such as processor 401, via a bus.
  • the input/output device can provide an input interface for the operator, so that the operator can select the control item through the input interface, and can also be other interfaces through which other devices can be externally connected.
  • a storage medium in which program code is stored; when the program code is executed, the processing unit performs the following operations:
  • the scan-only command is changed to a non-only scan command, and the non-only scan command is used to allow the smart terminal to automatically connect to the access point after completing the scan.
  • the changing the scan command to the non-scan only command specific includes:
  • the scan result processing function in the scan only command is deleted.
  • the processor is further configured to:
  • the scan result of only the scan command is transmitted to the auxiliary function module to implement the auxiliary function.
  • the processor is further configured to:
  • the scan result includes: a connectable access point, selecting an access point selected by the user from the connectable access points or an access point that has been connected in history to perform automatic connection.
  • the processor is further configured to:
  • the scan result including a list of connectable access points, obtaining signal strength of each access point in the list, and an access point that has been connected in history, in history The access point with the strongest signal strength among the connected access points is automatically connected.
  • the determining whether the SCAN ONLY command is only being performed includes:
  • the disclosed systems, devices, and methods may be implemented in other manners.
  • the device embodiments described above are merely illustrative.
  • the division of the unit is only a logical function division.
  • multiple units or components may be combined or Can be integrated into another system, or some features can be ignored or not executed.
  • the mutual coupling or direct coupling or communication connection shown or discussed may be an indirect coupling or communication connection through some communication interface, device or unit, and may be electrical, mechanical or otherwise.
  • the units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, may be located in one place, or may be distributed to multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of the embodiment.
  • each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit.
  • the functions may be stored in a computer readable storage medium if implemented in the form of a software functional unit and sold or used as a standalone product.
  • the technical solution of the present invention which is essential or contributes to the prior art, or a part of the technical solution, may be embodied in the form of a software product, which is stored in a storage medium, including
  • the instructions are used to cause a computer device (which may be a personal computer, server, or network device, etc.) to perform all or part of the steps of the methods described in various embodiments of the present invention.
  • the foregoing storage medium includes: a U disk, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk, or an optical disk, and the like. .

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer Security & Cryptography (AREA)
  • Mobile Radio Communication Systems (AREA)
  • Telephone Function (AREA)

Abstract

本发明属于通信领域,提供一种WIFI的快速连接方法,所述方法包括如下步骤:智能终端在检测到用户打开WIFI连接后,下发重连命令;智能终端在确定重连命令后,判断是否正在进行只扫描SCAN ONLY命令;智能终端如判断出正在进行只扫描命令,则将所述只扫描命令改变成非只扫描命令,所述非只扫描命令用于让智能终端在完成扫描后自动连接接入点。本发明提供的技术方案具有用户体验度好的优点。

Description

一种无线保真的快速连接方法及装置 技术领域
本发明涉及通信领域,尤其涉及一种WIFI的快速连接方法及装置。
背景技术
通信领域的终端,例如手机、平板电脑等设备是属于用户常用的设备,由于目前该设备均具有自身的操作系统,所以也将终端称为智能终端或智能手机,智能手机(英语:Smartphone)是对于那些运算能力及功能比传统功能手机更强的手机的集合性称谓。
现有的智能手机的上网分为两种方式,一种为通过移动通信网网络连接,例如:3G、4G网络等等,另一种为通过局域网络,最常用的为无线保真(wireless fidelity,WIFI)连接,现有的WIFI在连接到一个接入点时,所需时间较长,影响客户的体验度。
发明内容
本发明的目的之一是提供一种WIFI的快速连接方法,其主要解决现有的WIFI连接一个接入点所需时间长影响客户体验度的缺点。
第一方面,提供一种WIFI的快速连接方法,所述方法包括如下步骤:
智能终端在检测到用户打开WIFI连接后,下发重连命令;
智能终端在确定重连命令后,判断是否正在进行只扫描SCAN ONLY命令;
智能终端如判断出正在进行只扫描命令,则将所述只扫描命令改变成非只扫描命令,所述非只扫描命令用于让智能终端在完成扫描后自动连接接入点。
可选的,所述将该只扫描命令改变成非只扫描命令具体,包括:
将所述只扫描命令中的扫描结果处理函数删除。
可选的,所述方法在将所述只扫描命令改变成非只扫描命令之后还包括:
在非只扫描命令执行完毕后,将只扫描命令的扫描结果传给辅助功能模块以实现辅助功能。
可选的,所述方法在将所述只扫描命令改变成非只扫描命令之后还包括:
获取非只扫描命令的扫描结果,所述扫描结果包括:可连接的接入点,从可连接的接入点中选择用户选择的接入点或历史已连接过的接入点进行自动连接。
可选的,所述方法在将所述只扫描命令改变成非只扫描命令之后还包括:
获取非只扫描命令的扫描结果,所述扫描结果包括一个可连接的接入点的列表,获取所述列表中每个接入点的信号强度以及历史已连接过的接入点,在历史已连接过的接入点中选择信号强度最强的接入点自动连接。
可选的,所述判断是否正在进行只扫描SCAN ONLY命令,包括:
在所述智能终端的执行命令列表中查询是否有SCAN ONLY命令,如查询到有SCAN ONLY命令且正在执行,确定该终端正在执行SCAN ONLY命令。
第二方面,提供一种WIFI的快速连接装置,所述装置包括:下发单元,用于在检测到用户打开WIFI连接后,下发重连命令;判断单元,用于在确定重连命令后,判断是否正在进行只扫描SCAN ONLY命令;处理单元,用于如判断出正在进行只扫描命令,则将所述只扫描命令改变成非只扫描命令,所述非只扫描命令用于让智能终端在完成扫描后自动连接接入点。
可选的,所述处理单元,具体用于将所述只扫描命令中的扫描结果处理函数删除。
可选的,所述处理单元,还用于在非只扫描命令执行完毕后,将只扫描命令的扫描结果传给辅助功能模块以实现辅助功能。
可选的,所述处理单元,还用于获取非只扫描命令的扫描结果,所述扫描结果包括:可连接的接入点,从可连接的接入点中选择用户选择的接入点或历史已连接过的接入点进行自动连接。
可选的,所述处理单元,还用于获取非只扫描命令的扫描结果,所述扫描结果包括一个可连接的接入点的列表,获取所述列表中每个接入点的信号强度以及历史已连接过的接入点,在历史已连接过的接入点中选择信号强度最强的接入点自动连接。
可选的,所述判断单元,具体用于在所述智能终端的执行命令列表中查询是否有SCAN ONLY命令,如查询到有SCAN ONLY命令且正在执行,确定该终端正在执行SCAN ONLY命令。
第三方面,提供一种智能终端,所述智能终端包括:处理器、存储器、收发器和总线;所述处理器、所述存储器、所述收发器通过所述总线连接;所述存储器,用于存储程序代码;所述处理单元,用于调用所述程序代码执行上述第一方面提供的WIFI的快速连接方法。
第四方明提供了一种存储介质,所述存储介质中存储有程序代码;当所述程序代码被运行时,处理单元执行上述第一方面提供的WIFI的快速连接方法。
本领域普通技术人员将了解,虽然下面的详细说明将参考图示实施例、附图进行,但本发明并不仅限于这些实施例。而是,本发明的范围是广泛的,且意在仅通过后附的权利要求限定本发明的范围。
附图说明
通过阅读参照以下附图所作的对非限制性实施例所作的详细描述,本发明的其它特征、目的和优点将会变得更明显:
图1为根据本发明一个优选实施例提供的WIFI的快速连接方法的流程图。
图2为根据本发明另一个优选实施例提供的WIFI的快速连接方法的流程图。
图3为根据本发明又一优选实施例提供的WIFI的快速连接方法的流程图。
图4为本发明提供的一种WIFI的快速连接装置的结构图。
图5为本发明提供的终端的硬件结构示意图。
具体实施方式
在更加详细地讨论示例性实施例之前应当提到的是,一些示例性实施例被描述成作为流程图描绘的处理或方法。虽然流程图将各项操作描述成顺序的处理,但是其中的许多操作可以被并行地、并发地或者同时实施。此外,各项操作的顺序可以被重新安排。当其操作完成时所述处理可以被终止,但是还可以具有未包括在附图中的附加步骤。所述处理可以对应于方法、函数、规程、子例程、子程序等等。
在上下文中所称“计算机设备”,也称为“电脑”,是指可以通过运行预定程序或指令来执行数值计算和/或逻辑计算等预定处理过程的智能电子设备,其可以包括处理器与存储器,由处理器执行在存储器中预存的存续指令来执行预定处理过程,或是由ASIC、FPGA、DSP等硬件执行预定处理过程,或是由上述二者组合来实现。计算机设备包括但不限于服务器、个人电脑、笔记本电脑、平板电脑、智能手机等。
后面所讨论的方法(其中一些通过流程图示出)可以通过硬件、软件、固件、中间件、微代码、硬件描述语言或者其任意组合来实施。当用软件、固件、中间件或微代码来实施时,用以实施必要任务的程序代码或代码段可以被存储在机器或计算机可读介质(比如存储介质)中。(一个或多个)处理器可以实施必要的任务。
这里所公开的具体结构和功能细节仅仅是代表性的,并且是用于描述本发明的示例性实施例的目的。但是本发明可以通过许多替换形式来具体实现,并且不应当被解释成仅仅受限于这里所阐述的实施例。
应当理解的是,虽然在这里可能使用了术语“第一”、“第二”等等来描述各个单元,但是这些单元不应当受这些术语限制。使用这些术语仅仅是为了将一个单元与另一个单元进行区分。举例来说,在不背离示例性实施例的范围的情况下,第一单元可以被称为第二单元,并且类似地第二单元可以被称为第一单元。这里所使用的术语“和/或”包括其中一个或更多所列出的相关联项目的任意和所有组合。
这里所使用的术语仅仅是为了描述具体实施例而不意图限制示例性实施例。除非上下文明确地另有所指,否则这里所使用的单数形式“一个”、“一项”还意图包括复数。还应当理解的是,这里所使用的术语“包括”和/或“包含”规定所陈述的特征、整数、步骤、操作、单元和/或组件的存在,而不排除存在或添加一个或更多其他特征、整数、步骤、操作、单元、组件和/或其组合。
还应当提到的是,在一些替换实现方式中,所提到的功能/动作可以按照不同于附图中标示的顺序发生。举例来说,取决于所涉及的功能/动作,相继示出的两幅图实际上可以基本上同时执行或者有时可以按照相反的顺序来执行。
下面结合附图对本发明作进一步详细描述。
根据本发明的一个方面,提供了一种WIFI的快速连接方法,该方法由智能终端实现,该智能终端具体可以为:手机、平板电脑、智能手表、智能手环、个人数字助理等等智能设备,该方法如图1所示,包括如下步骤:
步骤S101、智能终端在检测到用户打开WIFI连接后,下发重连命令。
上述步骤S101的实现方法具体可以为:
例如,在本发明一个具体实施方案中,可以通过在智能终端设置触控显示屏,然后在触控显示屏上显示设置界面,在设置界面中显示WIFI打开或关闭的开关供用户选择,如用户选择了WIFI打开,则智能终端检测到用户打开WIFI连接。
又如,在本发明另一具体实施方案中,可以通过向智能终端发送一个控制命令来实现WIFI的打开,当智能终端接收到该控制命令后,确定检测到用户打开WIFI连接。上述控制命令可以通过无线的方式发送,包括但不限于:3G、4G网络或通过蓝牙等方式,发送命令端可以为与智能终端连接的其他终端,例如,智能手表,智能手环等,当然也可以为其他设备向智能终端发送该控制命令,本发明具体实施方式并不限于上述控制命令的具体发送方式。
步骤S102、智能终端在确定重连命令后,判断是否正在进行只扫描(英文:SCAN ONLY)命令。
上述步骤S102中的SCAN ONLY命令对于安卓系统来说,其含义为只扫描,该命令一般用于利用WIFI的信息进行一些非连接的辅助功能的实现,例如WIFI定位等等辅助功能的实现。还有一种类型为非SCAN ONLY,非SCAN ONLY命令在用户执行扫描完成以后自动实现连接AP的操作。
步骤S103、智能终端如判断出正在进行只扫描命令,则将该只扫描命令改变成非只扫描命令,该非只扫描命令用于让智能终端在完成扫描后自动连接接入点(英文:Access point,AP)。
上述步骤S103中判断正在进行只扫描命令的方式可以有多种:
例如:在本发明一个具体实施方式中,可以通过检测是否打开WIFI辅助功能来确定是否为只扫描命令。上述辅助功能具体可以为,WIFI定位。
又如:在本发明另一具体实施方式中,可以智能终端的执行命令列表中查 询是否有SCAN ONLY命令,如查询到有SCAN ONLY命令且正在执行,确定该终端正在执行SCAN ONLY命令。
本发明提供的一个方法可以实现WIFI的快速连接,因为对于智能终端来说,在执行SCAN ONLY命令所需10秒到15秒时间,如果此时用户打开WIFI,需要在执行完SCAN ONLY命令以后,才能够执行非SCAN ONLY命令,首先,用户需要等到10秒到15秒才能够执行WIFI的连接程序,另外,执行非SCAN ONLY命令时,需要智能终端重新进行扫描,这样不仅浪费时间,并且重新扫描也会耗费不必要的电量,而将SCAN ONLY命令修改成非SCAN ONLY命令,不仅能够直接使用SCAN ONLY命令的扫描结构,还能够直接依据该扫描结果执行AP连接,所以其具有快速实现连接的优点,并且减少了一次扫描,节省了电量。
根据本发明的另一个方面,提供了一种WIFI的快速连接方法,该方法由智能终端实现,该智能终端具体可以为:手机、平板电脑、智能手表、智能手环、个人数字助理等等智能设备,该方法如图2所示,包括如下步骤:
步骤S201、智能终端在检测到用户打开WIFI连接后,下发重连命令。
上述步骤S201的实现方法具体可以为:
例如,在本发明一个具体实施方案中,可以通过在智能终端设置触控显示屏,然后在触控显示屏上显示设置界面,在设置界面中显示WIFI打开或关闭的开关供用户选择,如用户选择了WIFI打开,则智能终端检测到用户打开WIFI连接。
又如,在本发明另一具体实施方案中,可以通过向智能终端发送一个控制命令来实现WIFI的打开,当智能终端接收到该控制命令后,确定检测到用户打开WIFI连接。上述控制命令可以通过无线的方式发送,包括但不限于:3G、4G网络或通过蓝牙等方式,发送命令端可以为与智能终端连接的其他终端,例如,智能手表,智能手环等,当然也可以为其他设备向智能终端发送该控制命令,本发明具体实施方式并不限于上述控制命令的具体发送方式。
步骤S202、智能终端在确定重连命令后,判断是否正在进行只扫描(英文:SCAN ONLY)的扫描。
上述步骤S202中的SCAN ONLY命令对于安卓系统来说,其含义为只扫描,该命令一般用于利用WIFI的信息进行一些非连接的辅助功能的实现,例如 WIFI定位等等辅助功能的实现。还有一种类型为非SCAN ONLY,非SCAN ONLY命令在用户执行扫描完成以后自动实现连接AP的操作。
步骤S203、智能终端如判断出正在进行只扫描命令,则将该只扫描命令中的扫描结果处理函数删除。
上述步骤S203中判断正在进行只扫描命令的方式可以有多种:
例如:在本发明一个具体实施方式中,可以通过检测是否打开WIFI辅助功能来确定是否为只扫描命令。上述辅助功能具体可以为,WIFI定位。
又如:在本发明另一具体实施方式中,可以智能终端的执行命令列表中查询是否有SCAN ONLY命令,如查询到有SCAN ONLY命令且正在执行,确定该终端正在执行SCAN ONLY命令。
上述处理函数可以为:scan_res_handler。
本发明提供的另一个方法可以实现WIFI的快速连接,因为对于智能终端来说,在执行SCAN ONLY命令所需10秒到15秒时间,如果此时用户打开WIFI,需要在执行完SCAN ONLY命令以后,才能够执行非SCAN ONLY命令,首先,用户需要等到10秒到15秒才能够执行WIFI的连接程序,另外,执行非SCAN ONLY命令时,需要智能终端重新进行扫描,这样不仅浪费时间,并且重新扫描也会耗费不必要的电量,而将SCAN ONLY命令修改成非SCAN ONLY命令,不仅能够直接使用SCAN ONLY命令的扫描结构,还能够直接依据该扫描结果执行AP连接,所以其具有快速实现连接的优点,并且减少了一次扫描,节省了电量。
根据本发明的又一个方面,提供了一种WIFI的快速连接方法,该方法由智能终端实现,该智能终端具体可以为:手机、平板电脑、智能手表、智能手环、个人数字助理等等智能设备,该方法如图3所示,包括如下步骤:
步骤S301、智能终端在检测到用户打开WIFI连接后,下发重连命令。
上述步骤S301的实现方法具体可以为:
例如,在本发明一个具体实施方案中,可以通过在智能终端设置触控显示屏,然后在触控显示屏上显示设置界面,在设置界面中显示WIFI打开或关闭的开关供用户选择,如用户选择了WIFI打开,则智能终端检测到用户打开WIFI连接。
又如,在本发明另一具体实施方案中,可以通过向智能终端发送一个控制 命令来实现WIFI的打开,当智能终端接收到该控制命令后,确定检测到用户打开WIFI连接。上述控制命令可以通过无线的方式发送,包括但不限于:3G、4G网络或通过蓝牙等方式,发送命令端可以为与智能终端连接的其他终端,例如,智能手表,智能手环等,当然也可以为其他设备向智能终端发送该控制命令,本发明具体实施方式并不限于上述控制命令的具体发送方式。
步骤S302、智能终端在确定重连命令后,判断是否正在进行只扫描(英文:SCAN ONLY)的扫描。
上述步骤S302中的SCAN ONLY命令对于安卓系统来说,其含义为只扫描,该命令一般用于利用WIFI的信息进行一些非连接的辅助功能的实现,例如WIFI定位等等辅助功能的实现。还有一种类型为非SCAN ONLY,非SCAN ONLY命令在用户执行扫描完成以后自动实现连接AP的操作。
步骤S303、智能终端如判断出正在进行只扫描命令,则将该只扫描命令改变成非只扫描命令,在非只扫描命令执行完毕后,将只扫描命令的扫描结果传给辅助功能模块以实现辅助功能。
上述步骤S303中判断正在进行只扫描命令的方式可以有多种:
例如:在本发明一个具体实施方式中,可以通过检测是否打开WIFI辅助功能来确定是否为只扫描命令。上述辅助功能具体可以为,WIFI定位。
又如:在本发明另一具体实施方式中,可以智能终端的执行命令列表中查询是否有SCAN ONLY命令,如查询到有SCAN ONLY命令且正在执行,确定该终端正在执行SCAN ONLY命令。
上述辅助功能可以为定位功能,该辅助功能模块可以为定位模块,当然在实际应用中,上述定位模块可以集成在现有的芯片内,例如WIFI芯片内,当然在实际应用中,还可以集成在其他的芯片内,例如中央处理器芯片内等等。
可选的,上述方法在步骤S303之后还可以包括:
获取非只扫描命令的扫描结果,该扫描结果可以包括:可以连接的AP,从可以连接的AP中选择用户选择的AP或历史已连接过的AP进行自动连接。
此技术方案能够根据用户的选择自行选择连接的AP,当然还可以根据历史已连接的AP中选择一个自动连接。
可选的,上述方法在步骤S303之后还可以包括:
获取扫描结果,该扫描结果可以包括一个可以连接的AP的列表,从列表中获取每个AP的信号强度以及历史已连接过的AP,在历史已连接过的AP中选择信号强度最强的AP自动连接。
此技术方案能够实现在历史AP中选择时选择信号强度最好的AP进行连接,提高了WIFI信号的可靠性,避免了多次切换。
本发明提供的又一个方法可以实现WIFI的快速连接,因为对于智能终端来说,在执行SCAN ONLY命令所需10秒到15秒时间,如果此时用户打开WIFI,需要在执行完SCAN ONLY命令以后,才能够执行非SCAN ONLY命令,首先,用户需要等到10秒到15秒才能够执行WIFI的连接程序,另外,执行非SCAN ONLY命令时,需要智能终端重新进行扫描,这样不仅浪费时间,并且重新扫描也会耗费不必要的电量,而将SCAN ONLY命令修改成非SCAN ONLY命令,不仅能够直接使用SCAN ONLY命令的扫描结构,还能够直接依据该扫描结果执行AP连接,所以其具有快速实现连接的优点,并且减少了一次扫描,节省了电量。
参阅图4,图4为本发明提供一种WIFI的快速连接装置400,所述装置400包括:
下发单元401,用于在检测到用户打开WIFI连接后,下发重连命令;
判断单元402,用于在确定重连命令后,判断是否正在进行只扫描SCAN ONLY命令;处理单元403,用于如判断出正在进行只扫描命令,则将所述只扫描命令改变成非只扫描命令,所述非只扫描命令用于让智能终端在完成扫描后自动连接接入点。
可选的,处理单元403,具体用于将所述只扫描命令中的扫描结果处理函数删除。
可选的,处理单元403,还用于在非只扫描命令执行完毕后,将只扫描命令的扫描结果传给辅助功能模块以实现辅助功能。
可选的,处理单元403,还用于获取非只扫描命令的扫描结果,所述扫描结果包括:可连接的接入点,从可连接的接入点中选择用户选择的接入点或历史已连接过的接入点进行自动连接。
可选的,处理单元403,还用于获取非只扫描命令的扫描结果,所述扫描结果包括一个可连接的接入点的列表,获取所述列表中每个接入点的信号强度 以及历史已连接过的接入点,在历史已连接过的接入点中选择信号强度最强的接入点自动连接。
本发明还提供一种智能终端,所述智能终端包括如上述WIFI的快速连接装置400。
本发明实施例的细节,而且在不背离本发明的精神或基本特征的情况下,能够以其他的具体形式实现本发明。因此,无论从哪一点来看,均应将实施例看作是示范性的,而且是非限制性的,本发明的范围由所附权利要求而不是上述说明限定,因此旨在将落在权利要求的等同要件的含义和范围内的所有变化涵括在本发明内。不应将权利要求中的任何附图标记视为限制所涉及的权利要求。此外,显然“包括”一词不排除其他单元或步骤,单数不排除复数。系统权利要求中陈述的多个单元或装置也可以由一个单元或装置通过软件或者硬件来实现。第一,第二等词语用来表示名称,而并不表示任何特定的顺序。
附图中的流程图和框图显示了根据本发明的多个实施例的系统、方法和计算机程序产品的可能实现的体系架构、功能和操作。在这点上,流程图或框图中的每个方框可以代表一个模块、程序段或代码的一部分,所述模块、程序段或代码的一部分包含一个或多个用于实现规定的逻辑功能的可执行指令。也应当注意,在有些作为替换的实现中,方框中所标注的功能也可以以不同于附图中所标注的顺序发生。例如,两个连续的方框实际上可以基本并行地执行,它们有时也可以按相反的顺序执行,这依所涉及的功能而定。也要注意的是,框图和/或流程图中的每个方框、以及框图和/或流程图中的方框的组合,可以用执行规定的功能或动作的专用的基于硬件的系统来实现,或者可以用专用硬件与计算机指令的组合来实现。
参见图5,本发明实施例还提供一种终端500,该终端500包括但不限于:智能手机、智能手表、平板电脑、个人计算机、笔记本电脑或计算机群组,如图5所示,该终端500包括:处理器501、存储器502、收发器503和总线504。收发器503用于与外部设备之间收发数据。设备500中的处理器501的数量可以是一个或多个。本申请的一些实施例中,处理器501、存储器502和收发器503可通过总线系统或其他方式连接。设备500可以用于执行图1、图2、图3所示的方法。关于本实施例涉及的术语的含义以及举例,可以参考图1、图2、 图3对应的说明。此处不再赘述。
其中,存储器402中存储程序代码。处理器401用于调用存储器402中存储的程序代码,用于执行如图1、图2、图3所示的步骤。
需要说明的是,这里的处理器501可以是一个处理元件,也可以是多个处理元件的统称。例如,该处理元件可以是中央处理器(Central Processing Unit,CPU),也可以是特定集成电路(Application Specific Integrated Circuit,ASIC),或者是被配置成实施本申请实施例的一个或多个集成电路,例如:一个或多个微处理器(digital signal processor,DSP),或,一个或者多个现场可编程门阵列(Field Programmable Gate Array,FPGA)。
存储器502可以是一个存储装置,也可以是多个存储元件的统称,且用于存储可执行程序代码或应用程序运行装置运行所需要参数、数据等。且存储器403可以包括随机存储器(RAM),也可以包括非易失性存储器(non-volatile memory),例如磁盘存储器,闪存(Flash)等。
总线504可以是工业标准体系结构(Industry Standard Architecture,ISA)总线、外部设备互连(Peripheral Component,PCI)总线或扩展工业标准体系结构(Extended Industry Standard Architecture,EISA)总线等。该总线可以分为地址总线、数据总线、控制总线等。为便于表示,图5中仅用一条粗线表示,但并不表示仅有一根总线或一种类型的总线。
该终端还可以包括输入输出装置,连接于总线504,以通过总线与处理器401等其它部分连接。该输入输出装置可以为操作人员提供一输入界面,以便操作人员通过该输入界面选择布控项,还可以是其它接口,可通过该接口外接其它设备。
在本发明的另一个实施例中,公开了一种存储介质,所述存储介质中存储有程序代码;当所述程序代码被运行时,处理单元执行如下操作:
在检测到用户打开WIFI连接后,下发重连命令;
在确定重连命令后,判断是否正在进行只扫描SCAN ONLY命令;
如判断出正在进行只扫描命令,则将所述只扫描命令改变成非只扫描命令,所述非只扫描命令用于让智能终端在完成扫描后自动连接接入点。
可选的,所述将该只扫描命令改变成非只扫描命令具体,包括:
将所述只扫描命令中的扫描结果处理函数删除。
可选的,所述处理器还用于执行以下操作:
在非只扫描命令执行完毕后,将只扫描命令的扫描结果传给辅助功能模块以实现辅助功能。
可选的,所述处理器还用于执行以下操作:
获取非只扫描命令的扫描结果,所述扫描结果包括:可连接的接入点,从可连接的接入点中选择用户选择的接入点或历史已连接过的接入点进行自动连接。
可选的,所述处理器还用于执行以下操作:
获取非只扫描命令的扫描结果,所述扫描结果包括一个可连接的接入点的列表,获取所述列表中每个接入点的信号强度以及历史已连接过的接入点,在历史已连接过的接入点中选择信号强度最强的接入点自动连接。
可选的,所述判断是否正在进行只扫描SCAN ONLY命令,包括:
在所述智能终端的执行命令列表中查询是否有SCAN ONLY命令,如查询到有SCAN ONLY命令且正在执行,确定该终端正在执行SCAN ONLY命令。
所属领域的技术人员可以清楚地了解到,为描述的方便和简洁,上述描述的系统、装置和单元的具体工作过程,可以参考前述方法实施例中的对应过程,在此不再赘述。
在本申请所提供的几个实施例中,应该理解到,所揭露的系统、装置和方法,可以通过其它的方式实现。以上所描述的装置实施例仅仅是示意性的,例如,所述单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,又例如,多个单元或组件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些通信接口,装置或单元的间接耦合或通信连接,可以是电性,机械或其它的形式。
所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部单元来实现本实施例方案的目的。
另外,在本发明各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。
所述功能如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。基于这样的理解,本发明的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)执行本发明各个实施例所述方法的全部或部分步骤。而前述的存储介质包括:U盘、移动硬盘、只读存储器(ROM,Read-Only Memory)、随机存取存储器(RAM,Random Access Memory)、磁碟或者光盘等各种可以存储程序代码的介质。
最后应说明的是:以上各实施例仅用以说明本发明的技术方案,而非对其限制;尽管参照前述各实施例对本发明进行了详细的说明,本领域的普通技术人员应当理解:其依然可以对前述各实施例所记载的技术方案进行修改,或者对其中部分或者全部技术特征进行等同替换;而这些修改或者替换,并不使相应技术方案的本质脱离本发明各实施例技术方案的范围,其均应涵盖在本发明的权利要求和说明书的范围当中。

Claims (20)

  1. 一种WIFI的快速连接方法,其特征在于,所述方法包括如下步骤:
    智能终端在检测到用户打开WIFI连接后,下发重连命令;
    智能终端在确定重连命令后,判断是否正在进行只扫描SCAN ONLY命令;
    智能终端如判断出正在进行只扫描命令,则将所述只扫描命令改变成非只扫描命令,所述非只扫描命令用于让智能终端在完成扫描后自动连接接入点。
  2. 根据权利要求1所述的方法,其特征在于,所述将该只扫描命令改变成非只扫描命令具体,包括:
    将所述只扫描命令中的扫描结果处理函数删除。
  3. 根据权利要求1或2所述的方法,其特征在于,所述方法在将所述只扫描命令改变成非只扫描命令之后还包括:
    在非只扫描命令执行完毕后,将只扫描命令的扫描结果传给辅助功能模块以实现辅助功能。
  4. 根据权利要求1或2所述的方法,其特征在于,所述方法在将所述只扫描命令改变成非只扫描命令之后还包括:
    获取非只扫描命令的扫描结果,所述扫描结果包括:可连接的接入点,从可连接的接入点中选择用户选择的接入点或历史已连接过的接入点进行自动连接。
  5. 根据权利要求1或2所述的方法,其特征在于,所述方法在将所述只扫描命令改变成非只扫描命令之后还包括:
    获取非只扫描命令的扫描结果,所述扫描结果包括一个可连接的接入点的列表,获取所述列表中每个接入点的信号强度以及历史已连接过的接入点,在历史已连接过的接入点中选择信号强度最强的接入点自动连接。
  6. 根据权利要求1至5任一所述的方法,其特征在于,所述判断是否正在进行只扫描SCAN ONLY命令,包括:
    在所述智能终端的执行命令列表中查询是否有SCAN ONLY命令,如查询到有SCAN ONLY命令且正在执行,确定该终端正在执行SCAN ONLY命令。
  7. 一种WIFI的快速连接装置,其特征在于,所述装置包括:
    下发单元,用于在检测到用户打开WIFI连接后,下发重连命令;
    判断单元,用于在确定重连命令后,判断是否正在进行只扫描SCAN ONLY命令;
    处理单元,用于如判断出正在进行只扫描命令,则将所述只扫描命令改变成非只扫描命令,所述非只扫描命令用于让智能终端在完成扫描后自动连接接入点。
  8. 根据权利要求7所述的装置,其特征在于,所述处理单元,具体用于将所述只扫描命令中的扫描结果处理函数删除。
  9. 根据权利要求7或8所述的装置,其特征在于,所述处理单元,还用于在非只扫描命令执行完毕后,将只扫描命令的扫描结果传给辅助功能模块以实现辅助功能。
  10. 根据权利要求7或8所述的装置,其特征在于,所述处理单元,还用于获取非只扫描命令的扫描结果,所述扫描结果包括:可连接的接入点,从可连接的接入点中选择用户选择的接入点或历史已连接过的接入点进行自动连接。
  11. 根据权利要求7或8所述的装置,其特征在于,所述处理单元,还用于获取非只扫描命令的扫描结果,所述扫描结果包括一个可连接的接入点的列表,获取所述列表中每个接入点的信号强度以及历史已连接过的接入点,在 历史已连接过的接入点中选择信号强度最强的接入点自动连接。
  12. 根据权利要求7至11任一所述的装置,其特征在于,
    所述判断单元,具体用于在所述智能终端的执行命令列表中查询是否有SCAN ONLY命令,如查询到有SCAN ONLY命令且正在执行,确定该终端正在执行SCAN ONLY命令。
  13. 一种智能终端,其特征在于,所述智能终端包括:处理器、存储器、收发器和总线;所述处理器、所述存储器、所述收发器通过所述总线连接;
    所述存储器,用于存储程序代码;
    所述处理单元,用于调用所述程序代码执行如下操作:
    在检测到用户打开WIFI连接后,下发重连命令;
    在确定重连命令后,判断是否正在进行只扫描SCAN ONLY命令;
    如判断出正在进行只扫描命令,则将所述只扫描命令改变成非只扫描命令,所述非只扫描命令用于让智能终端在完成扫描后自动连接接入点。
  14. 根据权利要求13所述的智能终端,其特征在于,所述将该只扫描命令改变成非只扫描命令具体,包括:
    将所述只扫描命令中的扫描结果处理函数删除。
  15. 根据权利要求13或14所述的智能终端,其特征在于,所述处理器还用于执行以下操作:
    在非只扫描命令执行完毕后,将只扫描命令的扫描结果传给辅助功能模块以实现辅助功能。
  16. 根据权利要求13或14所述的方法,其特征在于,所述处理器还用于执行以下操作:
    获取非只扫描命令的扫描结果,所述扫描结果包括:可连接的接入点,从可连接的接入点中选择用户选择的接入点或历史已连接过的接入点进行自动 连接。
  17. 根据权利要求13或14所述的方法,其特征在于,所述处理器还用于执行以下操作:
    获取非只扫描命令的扫描结果,所述扫描结果包括一个可连接的接入点的列表,获取所述列表中每个接入点的信号强度以及历史已连接过的接入点,在历史已连接过的接入点中选择信号强度最强的接入点自动连接。
  18. 根据权利要求13至17任一所述的方法,其特征在于,所述判断是否正在进行只扫描SCAN ONLY命令,包括:
    在所述智能终端的执行命令列表中查询是否有SCAN ONLY命令,如查询到有SCAN ONLY命令且正在执行,确定该终端正在执行SCAN ONLY命令。
  19. 一种存储介质,其特征在于,所述存储介质中存储有程序代码;当所述程序代码被运行时,处理单元执行如下操作:
    在检测到用户打开WIFI连接后,下发重连命令;
    在确定重连命令后,判断是否正在进行只扫描SCAN ONLY命令;
    如判断出正在进行只扫描命令,则将所述只扫描命令改变成非只扫描命令,所述非只扫描命令用于让智能终端在完成扫描后自动连接接入点。
  20. 根据权利要求19所述的存储介质,其特征在于,所述将该只扫描命令改变成非只扫描命令具体,包括:
    将所述只扫描命令中的扫描结果处理函数删除。
PCT/CN2017/105491 2016-12-07 2017-10-10 一种无线保真的快速连接方法及装置 WO2018103446A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201611117809.8 2016-12-07
CN201611117809.8A CN106658669B (zh) 2016-12-07 2016-12-07 一种无线保真的快速连接方法及装置

Publications (1)

Publication Number Publication Date
WO2018103446A1 true WO2018103446A1 (zh) 2018-06-14

Family

ID=58819034

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2017/105491 WO2018103446A1 (zh) 2016-12-07 2017-10-10 一种无线保真的快速连接方法及装置

Country Status (2)

Country Link
CN (1) CN106658669B (zh)
WO (1) WO2018103446A1 (zh)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109218987A (zh) * 2018-09-28 2019-01-15 Oppo广东移动通信有限公司 信息处理方法、装置、终端及存储介质

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101557625A (zh) * 2009-03-09 2009-10-14 南京大学 一种无线网络中基于移动检测的快速切换方法
EP1895799B1 (en) * 2006-08-31 2013-11-13 LG Electronics Inc. Apparatus and method of optimizing the selection of wireless networks
CN105282822A (zh) * 2015-09-15 2016-01-27 广东欧珀移动通信有限公司 一种基于终端sim卡连接加密热点的方法和装置
CN105813221A (zh) * 2014-12-31 2016-07-27 张义勇 Wifi无线局域网络环境下智能设备的wifi断网重连方法

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105208627A (zh) * 2014-06-24 2015-12-30 振江传讯有限公司 无线局域网的自动接入方法
CN104349423B (zh) * 2014-06-30 2015-11-18 腾讯科技(深圳)有限公司 自动连接无线局域网的方法、系统及装置
CN106131930A (zh) * 2016-08-15 2016-11-16 广东欧珀移动通信有限公司 一种WiFi网络接入控制方法、装置和终端
CN106162830A (zh) * 2016-09-27 2016-11-23 维沃移动通信有限公司 一种无线局域网络的连接方法及移动终端

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1895799B1 (en) * 2006-08-31 2013-11-13 LG Electronics Inc. Apparatus and method of optimizing the selection of wireless networks
CN101557625A (zh) * 2009-03-09 2009-10-14 南京大学 一种无线网络中基于移动检测的快速切换方法
CN105813221A (zh) * 2014-12-31 2016-07-27 张义勇 Wifi无线局域网络环境下智能设备的wifi断网重连方法
CN105282822A (zh) * 2015-09-15 2016-01-27 广东欧珀移动通信有限公司 一种基于终端sim卡连接加密热点的方法和装置

Also Published As

Publication number Publication date
CN106658669A (zh) 2017-05-10
CN106658669B (zh) 2019-07-26

Similar Documents

Publication Publication Date Title
WO2018103451A1 (zh) 一种无线保真快速连接的方法及装置
CN105580392B (zh) 无缝呼叫切换
KR101678038B1 (ko) Wlan 자동 연결방법, 장치, 프로그램 및 기록매체
US10412207B2 (en) Mobile terminal, power adapter, and upgrade method thereof
KR101901720B1 (ko) 더미 장치와의 연동 방법 및 그 전자 장치
US9635495B2 (en) Supporting virtually simultaneous operation of dual wireless protocols in a single device
WO2021077830A1 (zh) 蓝牙通信方法和具有蓝牙通信功能的装置及设备
WO2018103466A1 (zh) 无线保真国家码的应用方法、装置、智能终端及存储介质
US9258841B2 (en) Method of reducing a waiting time when cancelling a connection and an electronic device therefor
US20170168766A1 (en) Content displaying method and device
US9313822B2 (en) Enabling an input device simultaneously with multiple electronic devices
US10282333B2 (en) Electronic device operating method and electronic device for supporting the same
CN109769279B (zh) 无服务状态控制方法、装置及移动终端
US11601541B2 (en) Communication system selection
US8964610B2 (en) System and method of reducing factory program time for wireless devices
WO2018176297A1 (en) Multi-window displaying apparatus and method and mobile electronic equipment
WO2019011324A1 (zh) 确定移动终端接入方式的方法、存储介质及移动终端
US9380438B2 (en) Method and device for forwarding an incoming call according to a remaining battery capacity
KR102471674B1 (ko) 웨어러블 장치의 문자 입력을 위한 방법 및 장치
CN111526192B (zh) 终端的远程控制方法、装置、终端和计算机可读存储介质
WO2018103446A1 (zh) 一种无线保真的快速连接方法及装置
WO2018049975A1 (zh) 一种数据转移方法及相关产品
US10853098B2 (en) Interface processing method, electronic device, and graphical user interface
CN106604304B (zh) 一种加快无线保真的连接方法及装置
WO2018049964A1 (zh) 数据转移方法及相关产品

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 17879246

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 17879246

Country of ref document: EP

Kind code of ref document: A1