[go: up one dir, main page]

CN106714276B - Method and device for accelerating wireless fidelity connection speed and user terminal - Google Patents

Method and device for accelerating wireless fidelity connection speed and user terminal Download PDF

Info

Publication number
CN106714276B
CN106714276B CN201611118308.1A CN201611118308A CN106714276B CN 106714276 B CN106714276 B CN 106714276B CN 201611118308 A CN201611118308 A CN 201611118308A CN 106714276 B CN106714276 B CN 106714276B
Authority
CN
China
Prior art keywords
access
command
access point
executed
wifi
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.)
Expired - Fee Related
Application number
CN201611118308.1A
Other languages
Chinese (zh)
Other versions
CN106714276A (en
Inventor
俞义
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN201611118308.1A priority Critical patent/CN106714276B/en
Publication of CN106714276A publication Critical patent/CN106714276A/en
Application granted granted Critical
Publication of CN106714276B publication Critical patent/CN106714276B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

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

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连接后,发起连接命令;智能终端在确定连接命令后,提取WIFI芯片的状态以及待执行命令的队列;智能终端将连接命令排列在该待执行命令的队列的第一位。本发明提供的技术方案能够提高WIFI的连接速度。

Figure 201611118308

The invention belongs to the field of communications, and provides a method and device for increasing the speed of WIFI connection. The method includes the following steps: a smart terminal initiates a connection command after detecting that a user has opened a WIFI connection; after the smart terminal determines the connection command, extracts the WIFI The state of the chip and the queue of commands to be executed; the intelligent terminal arranges the connection command in the first place of the queue of the commands to be executed. The technical solution provided by the present invention can improve the connection speed of WIFI.

Figure 201611118308

Description

一种加快无线保真连接速度的方法、装置及用户终端A method, device and user terminal for accelerating wireless fidelity connection speed

技术领域technical field

本发明涉及通信领域,尤其涉及一种加快无线保真的连接速度的方法及装置。The present invention relates to the field of communications, and in particular, to a method and device for accelerating the connection speed of wireless fidelity.

背景技术Background technique

通信领域的终端,例如手机、平板电脑等设备是属于用户常用的设备,由于目前该设备均具有自身的操作系统,所以也将终端称为智能终端或智能手机,智能手机(英语:Smartphone)是对于那些运算能力及功能比传统功能手机更强的手机的集合性称谓。Terminals in the communication field, such as mobile phones, tablet computers and other equipment are commonly used equipment by users. Since the equipment currently has its own operating system, the terminal is also called a smart terminal or a smart phone. Smartphone (English: Smartphone) is A collective term for mobile phones that have more computing power and functions than traditional feature phones.

现有的智能手机的上网分为两种方式,一种为通过移动通信网网络连接,例如:3G、4G网络等等,另一种为通过局域网络,最常用的为无线保真(wireless fidelity,WIFI)连接,现有的WIFI在连接时,所需时间较长。There are two ways to surf the Internet on existing smart phones, one is through a mobile communication network, such as 3G, 4G, etc., and the other is through a local area network, the most commonly used is wireless fidelity. , WIFI) connection, when the existing WIFI is connected, it takes a long time.

发明内容SUMMARY OF THE INVENTION

本发明的目的之一是提供一种提高WIFI连接速度的方法,其主要解决现有的WIFI连接时所需时间较长的问题。One of the objectives of the present invention is to provide a method for increasing the speed of WIFI connection, which mainly solves the problem that the existing WIFI connection takes a long time.

第一方面,提供一种提高WIFI连接速度的方法,所述方法包括如下步骤:In a first aspect, a method for improving WIFI connection speed is provided, and the method includes the following steps:

智能终端在检测到用户打开WIFI连接后,发起连接命令;After the smart terminal detects that the user has opened the WIFI connection, it initiates a connection command;

智能终端在确定连接命令后,提取WIFI芯片的状态以及待执行命令的队列;After determining the connection command, the smart terminal extracts the status of the WIFI chip and the queue of commands to be executed;

智能终端将连接命令排列在该待执行命令的队列的第一位。The intelligent terminal arranges the connection command at the first position of the queue of the to-be-executed command.

可选的,所述方法将连接命令排列在该待执行命令的队列的第一位之前还包括:Optionally, the method for arranging the connection command before the first position of the queue of the to-be-executed command further includes:

如WIFI芯片的状态为工作状态,智能终端确定WIFI芯片正在执行的命令是否能够终止,在正在执行的命令能够终止时,智能终端将连接命令排列在该待执行命令的队列的第一位。If the status of the WIFI chip is working, the smart terminal determines whether the command being executed by the WIFI chip can be terminated, and when the command being executed can be terminated, the smart terminal arranges the connection command at the first position of the queue of the command to be executed.

可选的,所述方法还包括:Optionally, the method further includes:

依据每个接入点的信号强度值、连接的终端数量以及历史接入信息计算出每个接入点的接入参数,选择接入参数最大的接入点作为智能终端的接入点。According to the signal strength value of each access point, the number of connected terminals and historical access information, the access parameters of each access point are calculated, and the access point with the largest access parameter is selected as the access point of the intelligent terminal.

可选的,所述方法还包括:Optionally, the method further includes:

智能终端获取每个接入点的信号强度值和历史接入信息,在历史接入信息的接入点中选择信号强度值最好的接入点接入。The intelligent terminal acquires the signal strength value and historical access information of each access point, and selects the access point with the best signal strength value to access from among the access points in the historical access information.

可选的,所述方法还包括:Optionally, the method further includes:

获取所有接入点的位置信息,智能终端从位置信息中选择离智能终端最近的接入点作为接入接入点。The location information of all access points is acquired, and the intelligent terminal selects the access point closest to the intelligent terminal from the location information as the access access point.

第二方面,提供一种提高WIFI连接速度的装置,所述装置包括:In a second aspect, a device for improving WIFI connection speed is provided, the device comprising:

发起单元,用于在检测到用户打开WIFI连接后,发起连接命令;The initiating unit is used to initiate a connection command after detecting that the user has opened the WIFI connection;

提取单元,用于在确定连接命令后,提取WIFI芯片的状态以及待执行命令的队列;The extraction unit is used to extract the state of the WIFI chip and the queue of commands to be executed after the connection command is determined;

处理单元,用于将连接命令排列在该待执行命令的队列的第一位。The processing unit is configured to arrange the connection command at the first position of the queue of the commands to be executed.

可选的,所述处理单元,具体用于如WIFI芯片的状态为工作状态,确定WIFI芯片正在执行的命令是否能够终止,在正在执行的命令能够终止时,将连接命令排列在该待执行命令的队列的第一位。Optionally, the processing unit is specifically used to determine whether the command being executed by the WIFI chip can be terminated if the state of the WIFI chip is in the working state, and when the command being executed can be terminated, arrange the connection command in the command to be executed. the first place in the queue.

可选的,所述处理单元,还用于依据每个接入点的信号强度值、连接的终端数量以及历史接入信息计算出每个接入点的接入参数,选择接入参数最大的接入点作为智能终端的接入点。Optionally, the processing unit is further configured to calculate the access parameters of each access point according to the signal strength value of each access point, the number of connected terminals and historical access information, and select the one with the largest access parameter. The access point is used as the access point of the intelligent terminal.

可选的,所述处理单元,还用于获取每个接入点的信号强度值和历史接入信息,在历史接入信息的接入点中选择信号强度值最好的接入点接入。Optionally, the processing unit is further configured to acquire the signal strength value and historical access information of each access point, and select the access point with the best signal strength value to access from among the access points in the historical access information. .

可选的,所述处理单元,还用于获取所有接入点的位置信息,从位置信息中选择离智能终端最近的接入点作为接入接入点。Optionally, the processing unit is further configured to acquire the location information of all the access points, and select the access point closest to the intelligent terminal from the location information as the access access point.

第三方面,提供一种用户终端,所述用户终端还包括:In a third aspect, a user terminal is provided, and the user terminal further includes:

处理器、存储器、收发器和总线;所述处理器、所述存储器、所述收发器通过所述总线连接;所述存储器,用于存储程序代码;所述处理单元,用于调用所述程序代码执行第一方面提供的提高WIFI连接速度方法。a processor, a memory, a transceiver and a bus; the processor, the memory, and the transceiver are connected through the bus; the memory is used to store program codes; the processing unit is used to call the program The code executes the method for improving the WIFI connection speed provided by the first aspect.

本领域普通技术人员将了解,虽然下面的详细说明将参考图示实施例、附图进行,但本发明并不仅限于这些实施例。而是,本发明的范围是广泛的,且意在仅通过后附的权利要求限定本发明的范围。Those of ordinary skill in the art will appreciate that although the following detailed description will be made with reference to the illustrated embodiments and the accompanying drawings, the invention is not limited to these embodiments only. Rather, the scope of the invention is broad and is intended to be limited only by the appended claims.

附图说明Description of drawings

通过阅读参照以下附图所作的对非限制性实施例所作的详细描述,本发明的其它特征、目的和优点将会变得更明显:Other features, objects and advantages of the present invention will become more apparent by reading the detailed description of non-limiting embodiments made with reference to the following drawings:

图1为根据本发明一个优选实施例提供的提高WIFI连接速度的方法的流程图。FIG. 1 is a flow chart of a method for improving WIFI connection speed according to a preferred embodiment of the present invention.

图2为根据本发明另一个优选实施例提供的提高WIFI连接速度的方法的流程图。FIG. 2 is a flow chart of a method for increasing the speed of a WIFI connection provided according to another preferred embodiment of the present invention.

图3为本发明提供的一种提高WIFI连接速度的装置的结构图。FIG. 3 is a structural diagram of a device for increasing the WIFI connection speed provided by the present invention.

图4为本发明提供的用户终端的硬件结构示意图。FIG. 4 is a schematic diagram of a hardware structure of a user terminal provided by the present invention.

图5是本发明实施例公开的另一种移动终端的结构示意图。FIG. 5 is a schematic structural diagram of another mobile terminal disclosed in an embodiment of the present invention.

具体实施方式Detailed ways

在更加详细地讨论示例性实施例之前应当提到的是,一些示例性实施例被描述成作为流程图描绘的处理或方法。虽然流程图将各项操作描述成顺序的处理,但是其中的许多操作可以被并行地、并发地或者同时实施。此外,各项操作的顺序可以被重新安排。当其操作完成时所述处理可以被终止,但是还可以具有未包括在附图中的附加步骤。所述处理可以对应于方法、函数、规程、子例程、子程序等等。Before discussing the exemplary embodiments in greater detail, it should be mentioned that some exemplary embodiments are described as processes or methods depicted as flowcharts. Although the flowchart depicts the operations as a sequential process, many of the operations may be performed in parallel, concurrently, or concurrently. Additionally, the order of operations can be rearranged. The process may be terminated when its operation is complete, but may also have additional steps not included in the figures. The processes may correspond to methods, functions, procedures, subroutines, subroutines, and the like.

在上下文中所称“计算机设备”,也称为“电脑”,是指可以通过运行预定程序或指令来执行数值计算和/或逻辑计算等预定处理过程的智能电子设备,其可以包括处理器与存储器,由处理器执行在存储器中预存的存续指令来执行预定处理过程,或是由ASIC、FPGA、DSP等硬件执行预定处理过程,或是由上述二者组合来实现。计算机设备包括但不限于服务器、个人电脑、笔记本电脑、平板电脑、智能手机等。In this context, "computer equipment", also referred to as "computer", refers to an intelligent electronic device that can execute predetermined processing procedures such as numerical calculations and/or logical calculations by running predetermined programs or instructions. It may include a processor and In the memory, the processor executes the surviving instructions pre-stored in the memory to execute the predetermined processing procedure, or the predetermined processing procedure is executed by hardware such as ASIC, FPGA, and DSP, or is realized by a combination of the above two. Computer equipment includes, but is not limited to, servers, personal computers, laptops, tablets, smartphones, etc.

后面所讨论的方法(其中一些通过流程图示出)可以通过硬件、软件、固件、中间件、微代码、硬件描述语言或者其任意组合来实施。当用软件、固件、中间件或微代码来实施时,用以实施必要任务的程序代码或代码段可以被存储在机器或计算机可读介质(比如存储介质)中。(一个或多个)处理器可以实施必要的任务。The methods discussed below, some of which are illustrated by flowcharts, may be implemented by hardware, software, firmware, middleware, microcode, hardware description languages, or any combination thereof. When implemented in software, firmware, middleware, or microcode, the program code or code segments to perform the necessary tasks may be stored in a machine- or computer-readable medium, such as a storage medium. The processor(s) may perform the necessary tasks.

这里所公开的具体结构和功能细节仅仅是代表性的,并且是用于描述本发明的示例性实施例的目的。但是本发明可以通过许多替换形式来具体实现,并且不应当被解释成仅仅受限于这里所阐述的实施例。Specific structural and functional details disclosed herein are merely representative and for purposes of describing exemplary embodiments of the present invention. However, the present invention may be embodied in many alternative forms and should not be construed as limited only to the embodiments set forth herein.

应当理解的是,虽然在这里可能使用了术语“第一”、“第二”等等来描述各个单元,但是这些单元不应当受这些术语限制。使用这些术语仅仅是为了将一个单元与另一个单元进行区分。举例来说,在不背离示例性实施例的范围的情况下,第一单元可以被称为第二单元,并且类似地第二单元可以被称为第一单元。这里所使用的术语“和/或”包括其中一个或更多所列出的相关联项目的任意和所有组合。It will be understood that, although the terms "first," "second," etc. may be used herein to describe various elements, these elements should not be limited by these terms. These terms are used only to distinguish one unit from another. For example, a first element could be termed a second element, and, similarly, a second element could be termed a first element, without departing from the scope of example embodiments. As used herein, the term "and/or" includes any and all combinations of one or more of the associated listed items.

这里所使用的术语仅仅是为了描述具体实施例而不意图限制示例性实施例。除非上下文明确地另有所指,否则这里所使用的单数形式“一个”、“一项”还意图包括复数。还应当理解的是,这里所使用的术语“包括”和/或“包含”规定所陈述的特征、整数、步骤、操作、单元和/或组件的存在,而不排除存在或添加一个或更多其他特征、整数、步骤、操作、单元、组件和/或其组合。The terminology used herein is for the purpose of describing specific embodiments only and is not intended to limit the exemplary embodiments. As used herein, the singular forms "a", "an" and "an" are intended to include the plural unless the context clearly dictates otherwise. It should also be understood that the terms "comprising" and/or "comprising" as used herein specify the presence of stated features, integers, steps, operations, units and/or components, but do not preclude the presence or addition of one or more Other features, integers, steps, operations, units, components and/or combinations thereof.

还应当提到的是,在一些替换实现方式中,所提到的功能/动作可以按照不同于附图中标示的顺序发生。举例来说,取决于所涉及的功能/动作,相继示出的两幅图实际上可以基本上同时执行或者有时可以按照相反的顺序来执行。It should also be noted that, in some alternative implementations, the functions/acts noted may occur out of the order noted in the figures. For example, two figures shown in succession may, in fact, be executed substantially concurrently or may sometimes be executed in the reverse order, depending upon the functionality/acts involved.

下面结合附图对本发明作进一步详细描述。The present invention will be described in further detail below with reference to the accompanying drawings.

根据本发明的一个方面,提供了一种提高WIFI连接速度的方法,该方法由智能终端实现,该智能终端具体可以为:手机、平板电脑、智能手表、智能手环、个人数字助理等等智能设备,该方法如图1所示,包括如下步骤:According to one aspect of the present invention, there is provided a method for increasing the speed of WIFI connection, the method is implemented by a smart terminal, and the smart terminal can specifically be: a mobile phone, a tablet computer, a smart watch, a smart bracelet, a personal digital assistant, etc. equipment, the method is shown in Figure 1, including the following steps:

步骤S101、智能终端在检测到用户打开WIFI连接后,发起连接命令。Step S101: After detecting that the user has opened the WIFI connection, the intelligent terminal initiates a connection command.

上述步骤S101的实现方法具体可以为:The implementation method of the above step S101 may specifically be:

例如,在本发明一个具体实施方案中,可以通过在智能终端设置触控显示屏,然后在触控显示屏上显示设置界面,在设置界面中显示WIFI打开或关闭的开关供用户选择,如用户选择了WIFI打开,则智能终端检测到用户打开WIFI连接。For example, in a specific embodiment of the present invention, a touch display screen can be set on the smart terminal, and then a setting interface can be displayed on the touch display screen, and the WIFI on or off switch can be displayed in the setting interface for the user to choose, such as the user If WIFI open is selected, the smart terminal detects that the user has opened the WIFI connection.

又如,在本发明另一具体实施方案中,可以通过向智能终端发送一个控制命令来实现WIFI的打开,当智能终端接收到该控制命令后,确定检测到用户打开WIFI连接。上述控制命令可以通过无线的方式发送,包括但不限于:3G、4G网络或通过蓝牙等方式,发送命令端可以为与智能终端连接的其他终端,例如,智能手表,智能手环等,当然也可以为其他设备向智能终端发送该控制命令,本发明具体实施方式并不限于上述控制命令的具体发送方式。For another example, in another specific embodiment of the present invention, the WIFI can be turned on by sending a control command to the smart terminal, and when the smart terminal receives the control command, it is determined to detect that the user has opened the WIFI connection. The above control commands can be sent wirelessly, including but not limited to: 3G, 4G network or through Bluetooth, etc. The sending command terminal can be other terminals connected to smart terminals, such as smart watches, smart bracelets, etc. The control command may be sent to the intelligent terminal for other devices, and the specific implementation manner of the present invention is not limited to the specific sending method of the above control command.

步骤S102、智能终端在确定连接命令后,提取WIFI芯片的状态以及待执行命令的队列。Step S102 , after determining the connection command, the smart terminal extracts the state of the WIFI chip and the queue of commands to be executed.

上述步骤S102的实现方法具体可以为:The implementation method of the above step S102 may specifically be:

提取WIFI芯片的状态,该状态包括但不限于:空闲状态以及工作状态的,当然在实际应用中,还可以通过其他的状态来表示,例如,工作状态以及非工作状态,又如,空闲状态以及非空闲状态等等方式,本发明具体实施方式并不限制上述状态的具体表现形式。Extract the state of the WIFI chip, including but not limited to: idle state and working state. Of course, in practical applications, it can also be represented by other states, such as working state and non-working state, and for example, idle state and Non-idle state, etc., the specific implementation manner of the present invention does not limit the specific expression form of the above state.

步骤S103、智能终端将连接命令排列在该待执行命令的队列的第一位。Step S103, the intelligent terminal arranges the connection command at the first position of the queue of the to-be-executed command.

上述步骤S103的执行方法具体可以为,将该连接命令的优先级别调整到最高优先级,这样对于待执行命令的队列来说,其自然因为优先级别最高,所以其排列在第一位的位置。当然在实际应用中,上述实现的方法还可以为:直接将该连接命令放置在待执行命令的队列的第一位。The execution method of the above-mentioned step S103 may specifically be that the priority level of the connection command is adjusted to the highest priority, so that for the queue of the to-be-executed command, the priority level is naturally the highest, so it is arranged in the first position. Of course, in practical applications, the above-mentioned implementation method may also be: directly placing the connection command at the first position of the queue of commands to be executed.

本发明提供的一个方法可以加快WIFI的连接入AP,因为对于智能终端来说,其连接命令的优先级并不高,与很多命令的优先级别相同,如果WIFI芯片待执行队列较长,那么需要按待执行队列的顺序来执行,这里将连接命令排列第一位,减少了连接命令执行等待的时间,所以其具有加快WIFI连接入AP的优点。A method provided by the present invention can speed up the connection of WIFI to the AP, because for the intelligent terminal, the priority of the connection command is not high, which is the same as the priority of many commands. If the queue to be executed by the WIFI chip is long, then the Execute according to the order of the queue to be executed. Here, the connection command is ranked first, which reduces the waiting time for the execution of the connection command, so it has the advantage of speeding up the connection of the WIFI to the AP.

根据本发明的另一个方面,提供了一种提高WIFI连接速度的方法,该方法由智能终端实现,该智能终端具体可以为:手机、平板电脑、智能手表、智能手环、个人数字助理等等智能设备,该方法如图2所示,包括如下步骤:According to another aspect of the present invention, a method for improving WIFI connection speed is provided. The method is implemented by a smart terminal, and the smart terminal can specifically be: a mobile phone, a tablet computer, a smart watch, a smart bracelet, a personal digital assistant, etc. Smart device, the method is shown in Figure 2, including the following steps:

步骤S201、智能终端在检测到用户打开WIFI连接后,发起连接命令。Step S201: After detecting that the user has opened the WIFI connection, the intelligent terminal initiates a connection command.

上述步骤S201的实现方法具体可以为:The implementation method of the above step S201 may specifically be:

例如,在本发明一个具体实施方案中,可以通过在智能终端设置触控显示屏,然后在触控显示屏上显示设置界面,在设置界面中显示WIFI打开或关闭的开关供用户选择,如用户选择了WIFI打开,则智能终端检测到用户打开WIFI连接。For example, in a specific embodiment of the present invention, a touch display screen can be set on the smart terminal, and then a setting interface can be displayed on the touch display screen, and the WIFI on or off switch can be displayed in the setting interface for the user to choose, such as the user If WIFI open is selected, the smart terminal detects that the user has opened the WIFI connection.

又如,在本发明另一具体实施方案中,可以通过向智能终端发送一个控制命令来实现WIFI的打开,当智能终端接收到该控制命令后,确定检测到用户打开WIFI连接。上述控制命令可以通过无线的方式发送,包括但不限于:3G、4G网络或通过蓝牙等方式,发送命令端可以为与智能终端连接的其他终端,例如,智能手表,智能手环等,当然也可以为其他设备向智能终端发送该控制命令,本发明具体实施方式并不限于上述控制命令的具体发送方式。For another example, in another specific embodiment of the present invention, the WIFI can be turned on by sending a control command to the smart terminal, and when the smart terminal receives the control command, it is determined to detect that the user has opened the WIFI connection. The above control commands can be sent wirelessly, including but not limited to: 3G, 4G network or through Bluetooth, etc. The sending command terminal can be other terminals connected to smart terminals, such as smart watches, smart bracelets, etc. The control command may be sent to the intelligent terminal for other devices, and the specific implementation manner of the present invention is not limited to the specific sending method of the above control command.

步骤S202、智能终端在确定连接命令后,提取WIFI芯片的状态以及待执行命令的队列。Step S202 , after determining the connection command, the smart terminal extracts the state of the WIFI chip and the queue of commands to be executed.

上述步骤S202的实现方法具体可以为:The implementation method of the above step S202 may specifically be:

提取WIFI芯片的状态,该状态包括但不限于:空闲状态以及工作状态的,当然在实际应用中,还可以通过其他的状态来表示,例如,工作状态以及非工作状态,又如,空闲状态以及非空闲状态等等方式,本发明具体实施方式并不限制上述状态的具体表现形式。Extract the state of the WIFI chip, including but not limited to: idle state and working state. Of course, in practical applications, it can also be represented by other states, such as working state and non-working state, and for example, idle state and Non-idle state, etc., the specific implementation manner of the present invention does not limit the specific expression form of the above state.

步骤S203、如WIFI芯片的状态为工作状态,智能终端确定WIFI芯片正在执行的命令是否能够终止。Step S203, if the state of the WIFI chip is the working state, the intelligent terminal determines whether the command being executed by the WIFI chip can be terminated.

上述步骤S203中确定正在执行的命令是否能够终止的方式具体可以为,依据该正在执行命令的类型来确定是否能够终止,当然还可以为依据该正在执行的命令的名称来确定是否能够终止。The manner of determining whether the command being executed can be terminated in the above step S203 may specifically be: determining whether the command can be terminated according to the type of the command being executed; of course, it can also be determined whether the command can be terminated according to the name of the command being executed.

步骤S204、在正在执行的命令能够终止时,智能终端终止正在执行的命令,将连接命令排列在该待执行命令的队列的第一位。Step S204 , when the command being executed can be terminated, the smart terminal terminates the command being executed, and arranges the connection command at the first position of the queue of commands to be executed.

上述步骤S204的执行方法具体可以为,将该连接命令的优先级别调整到最高优先级,这样对于待执行命令的队列来说,其自然因为优先级别最高,所以其排列在第一位的位置。当然在实际应用中,上述实现的方法还可以为:直接将该连接命令放置在待执行命令的队列的第一位。The execution method of the above-mentioned step S204 may specifically be that the priority level of the connection command is adjusted to the highest priority, so that for the queue of the command to be executed, the priority level is naturally the highest, so it is arranged in the first position. Of course, in practical applications, the above-mentioned implementation method may also be: directly placing the connection command at the first position of the queue of commands to be executed.

本发明提供的另一个方法可以加快WIFI的连接入AP,因为对于智能终端来说,其连接命令的优先级并不高,与很多命令的优先级别相同,如果WIFI芯片待执行队列较长,那么需要按待执行队列的顺序来执行,这里将连接命令排列第一位,减少了连接命令执行等待的时间,所以其具有加快WIFI连接入AP的优点。Another method provided by the present invention can speed up the connection of WIFI to the AP, because for the intelligent terminal, the priority of the connection command is not high, which is the same as the priority of many commands. If the queue to be executed by the WIFI chip is long, then It needs to be executed in the order of the queue to be executed. Here, the connection command is ranked first, which reduces the waiting time for the execution of the connection command, so it has the advantage of speeding up the WIFI connection to the AP.

可选的,上述方法在步骤S204之后还可以包括:Optionally, after step S204, the above method may further include:

依据每个接入点的信号强度值、连接的终端数量以及历史接入信息计算出每个接入点的接入参数,选择接入参数最大的接入点作为智能终端的接入点。According to the signal strength value of each access point, the number of connected terminals and historical access information, the access parameters of each access point are calculated, and the access point with the largest access parameter is selected as the access point of the intelligent terminal.

接入参数的具体计算方法可以为:The specific calculation method of the access parameter can be as follows:

Figure BDA0001173798710000081
Figure BDA0001173798710000081

其中,Xn为第n个AP的接入参数的值,Sn为第n个AP的信号强度值,

Figure BDA0001173798710000082
为所有AP的信号强度值平均值,Yn为第n个AP的接入终端的数量值,所有AP接入终端的数量平均值。Among them, Xn is the value of the access parameter of the nth AP, Sn is the signal strength value of the nth AP,
Figure BDA0001173798710000082
is the average value of the signal strength of all APs, Yn is the number of access terminals of the nth AP, The average number of access terminals for all APs.

此方式能够定量的计算出需要接入的AP,参考了接入终端的数量以及信号的强度,避免了终端接入到AP后需要切换的问题。This method can quantitatively calculate the AP that needs to be accessed, referring to the number of access terminals and the signal strength, avoiding the problem of switching after the terminal accesses the AP.

可选的,上述方法在步骤S204之后还可以包括:Optionally, after step S204, the above method may further include:

获取每个接入点的信号强度值和历史接入信息,在历史接入信息的接入点中选择信号强度值最好的AP接入。Obtain the signal strength value and historical access information of each access point, and select the AP with the best signal strength value to access among the access points in the historical access information.

此方式能够在历史接入信息中选择信号强度好的AP接入。In this way, APs with better signal strength can be selected for access in historical access information.

可选的,上述方法在步骤S204之后还可以包括:Optionally, after step S204, the above method may further include:

获取所有AP的位置信息,智能终端从位置信息中选择离智能终端最近的AP作为接入AP。Obtain the location information of all APs, and the intelligent terminal selects the AP closest to the intelligent terminal from the location information as the access AP.

该技术方案对丢包率进行检测是为了避免该第一AP无法为智能终端提供较高质量的连接。The purpose of the technical solution to detect the packet loss rate is to prevent the first AP from being unable to provide a higher-quality connection for the intelligent terminal.

参阅图3,图3为本发明提供一种提高WIFI连接速度的装置300,所述装置300包括:Referring to FIG. 3, FIG. 3 provides an apparatus 300 for improving the speed of WIFI connection according to the present invention, and the apparatus 300 includes:

发起单元301,用于在检测到用户打开WIFI连接后,发起连接命令;The initiating unit 301 is configured to initiate a connection command after detecting that the user has opened the WIFI connection;

提取单元302,用于在确定连接命令后,提取WIFI芯片的状态以及待执行命令的队列;The extracting unit 302 is configured to extract the state of the WIFI chip and the queue of commands to be executed after the connection command is determined;

处理单元303,用于将连接命令排列在该待执行命令的队列的第一位。The processing unit 303 is configured to arrange the connection command at the first position of the queue of the to-be-executed command.

可选的,处理单元303,具体用于如WIFI芯片的状态为工作状态,确定WIFI芯片正在执行的命令是否能够终止,在正在执行的命令能够终止时,将连接命令排列在该待执行命令的队列的第一位。Optionally, the processing unit 303 is specifically configured to determine whether the command being executed by the WIFI chip can be terminated if the state of the WIFI chip is the working state, and when the command being executed can be terminated, arrange the connection command in the command line to be executed. first in the queue.

可选的,处理单元303,还用于依据每个接入点的信号强度值、连接的终端数量以及历史接入信息计算出每个接入点的接入参数,选择接入参数最大的接入点作为智能终端的接入点。Optionally, the processing unit 303 is further configured to calculate the access parameters of each access point according to the signal strength value of each access point, the number of connected terminals and historical access information, and select the access point with the largest access parameter. The access point is used as the access point of the intelligent terminal.

可选的,处理单元303,还用于获取每个接入点的信号强度值和历史接入信息,在历史接入信息的接入点中选择信号强度值最好的接入点接入。Optionally, the processing unit 303 is further configured to acquire the signal strength value and historical access information of each access point, and select the access point with the best signal strength value to access from among the access points in the historical access information.

可选的,处理单元303,还用于获取所有接入点的位置信息,从位置信息中选择离智能终端最近的接入点作为接入接入点。Optionally, the processing unit 303 is further configured to acquire the location information of all the access points, and select the access point closest to the smart terminal from the location information as the access access point.

本发明实施例的细节,而且在不背离本发明的精神或基本特征的情况下,能够以其他的具体形式实现本发明。因此,无论从哪一点来看,均应将实施例看作是示范性的,而且是非限制性的,本发明的范围由所附权利要求而不是上述说明限定,因此旨在将落在权利要求的等同要件的含义和范围内的所有变化涵括在本发明内。不应将权利要求中的任何附图标记视为限制所涉及的权利要求。此外,显然“包括”一词不排除其他单元或步骤,单数不排除复数。系统权利要求中陈述的多个单元或装置也可以由一个单元或装置通过软件或者硬件来实现。第一,第二等词语用来表示名称,而并不表示任何特定的顺序。The details of the embodiments of the invention, and the invention can be embodied in other specific forms without departing from the spirit or essential characteristics of the invention. Therefore, the embodiments are to be regarded in all respects as illustrative and not restrictive, and the scope of the invention is to be defined by the appended claims rather than the foregoing description, which are therefore intended to fall within the scope of the claims. All changes within the meaning and range of the equivalents of , are included in the present invention. Any reference signs in the claims shall not be construed as limiting the involved claim. Furthermore, it is clear that the word "comprising" does not exclude other units or steps and the singular does not exclude the plural. Several units or means recited in the system claims can also be realized by one unit or means by means of software or hardware. The terms first, second, etc. are used to denote names and do not denote any particular order.

附图中的流程图和框图显示了根据本发明的多个实施例的系统、方法和计算机程序产品的可能实现的体系架构、功能和操作。在这点上,流程图或框图中的每个方框可以代表一个模块、程序段或代码的一部分,所述模块、程序段或代码的一部分包含一个或多个用于实现规定的逻辑功能的可执行指令。也应当注意,在有些作为替换的实现中,方框中所标注的功能也可以以不同于附图中所标注的顺序发生。例如,两个连续的方框实际上可以基本并行地执行,它们有时也可以按相反的顺序执行,这依所涉及的功能而定。也要注意的是,框图和/或流程图中的每个方框、以及框图和/或流程图中的方框的组合,可以用执行规定的功能或动作的专用的基于硬件的系统来实现,或者可以用专用硬件与计算机指令的组合来实现。The flowchart and block diagrams in the Figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to various embodiments of the present invention. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code that contains one or more functions for implementing the specified logical function(s) executable instructions. It should also be noted that, in some alternative implementations, the functions noted in the blocks may occur out of the order noted in the figures. For example, two blocks in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It is also noted that each block of the block diagrams and/or flowchart illustrations, and combinations of blocks in the block diagrams and/or flowchart illustrations, can be implemented in dedicated hardware-based systems that perform the specified functions or actions , or can be implemented in a combination of dedicated hardware and computer instructions.

参见图4,本发明实施例还提供一种用户终端400,该用户终端400包括但不限于:智能手机、智能手表、平板电脑、个人计算机、笔记本电脑或计算机群组,如图4所示,该终端400包括:处理器401、存储器402、收发器403和总线404。收发器403用于与外部设备之间收发数据。用户终端400中的处理器401的数量可以是一个或多个。本申请的一些实施例中,处理器401、存储器402和收发器403可通过总线系统或其他方式连接。用户终端400可以用于执行图1、图2所示的方法。关于本实施例涉及的术语的含义以及举例,可以参考图1、图2对应的说明。此处不再赘述。Referring to FIG. 4 , an embodiment of the present invention further provides a user terminal 400, where the user terminal 400 includes but is 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. 4 , The terminal 400 includes: a processor 401 , a memory 402 , a transceiver 403 and a bus 404 . The transceiver 403 is used to send and receive data with external devices. The number of processors 401 in the user terminal 400 may be one or more. In some embodiments of the present application, the processor 401, the memory 402 and the transceiver 403 may be connected by a bus system or other means. The user terminal 400 may be used to execute the methods shown in FIG. 1 and FIG. 2 . For the meanings and examples of terms involved in this embodiment, reference may be made to the descriptions corresponding to FIG. 1 and FIG. 2 . It will not be repeated here.

其中,存储器402中存储程序代码。处理器401用于调用存储器402中存储的程序代码,用于执行如图1、图2所示的步骤。Among them, the memory 402 stores program codes. The processor 401 is configured to call the program codes stored in the memory 402 to execute the steps shown in FIG. 1 and FIG. 2 .

需要说明的是,这里的处理器401可以是一个处理元件,也可以是多个处理元件的统称。例如,该处理元件可以是中央处理器(Central Processing Unit,CPU),也可以是特定集成电路(Application Specific Integrated Circuit,ASIC),或者是被配置成实施本申请实施例的一个或多个集成电路,例如:一个或多个微处理器(digital signalprocessor,DSP),或,一个或者多个现场可编程门阵列(Field Programmable Gate Array,FPGA)。It should be noted that the processor 401 here may be one processing element, or may be a collective name of multiple processing elements. For example, the processing element may be a central processing unit (Central Processing Unit, CPU), or a specific integrated circuit (Application Specific Integrated Circuit, ASIC), or one or more integrated circuits configured to implement the embodiments of the present application , for example: one or more microprocessors (digital signal processors, DSP), or, one or more field programmable gate arrays (Field Programmable Gate Array, FPGA).

存储器402可以是一个存储装置,也可以是多个存储元件的统称,且用于存储可执行程序代码或应用程序运行装置运行所需要参数、数据等。且存储器403可以包括随机存储器(RAM),也可以包括非易失性存储器(non-volatile memory),例如磁盘存储器,闪存(Flash)等。The memory 402 may be a storage device, or may be a general term for a plurality of storage elements, and is used to store executable program codes or parameters, data, and the like required for the operation of the application program running device. And the memory 403 may include random access memory (RAM), and may also include non-volatile memory (non-volatile memory), such as disk memory, flash memory (Flash), and the like.

总线404可以是工业标准体系结构(Industry Standard Architecture,ISA)总线、外部设备互连(Peripheral Component,PCI)总线或扩展工业标准体系结构(ExtendedIndustry Standard Architecture,EISA)总线等。该总线可以分为地址总线、数据总线、控制总线等。为便于表示,图5中仅用一条粗线表示,但并不表示仅有一根总线或一种类型的总线。The bus 404 may be an Industry Standard Architecture (ISA) bus, a Peripheral Component (PCI) bus, an Extended Industry Standard Architecture (EISA) bus, or the like. The bus can be divided into address bus, data bus, control bus and so on. For ease of presentation, only one thick line is used in FIG. 5, but it does not mean that there is only one bus or one type of bus.

该终端还可以包括输入输出装置,连接于总线404,以通过总线与处理器401等其它部分连接。该输入输出装置可以为操作人员提供一输入界面,以便操作人员通过该输入界面选择布控项,还可以是其它接口,可通过该接口外接其它设备。The terminal may also include an input and output device, which is connected to the bus 404, so as to be connected to other parts such as the processor 401 through the bus. The input and output device can provide an input interface for the operator, so that the operator can select the deployment control item through the input interface, and can also be other interfaces through which other devices can be connected.

图5示出的是与本发明实施例提供的移动终端相关的手机的部分结构的框图。参考图5,手机包括:射频(Radio Frequency,RF)电路510、存储器520、输入单元530、显示单元540、传感器550、音频电路560、无线保真(wireless fidelity,WiFi)模块570、处理器580、以及电源550等部件。本领域技术人员可以理解,图5中示出的手机结构并不构成对手机的限定,可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置。FIG. 5 is a block diagram showing a partial structure of a mobile phone related to a mobile terminal provided by an embodiment of the present invention. Referring to FIG. 5 , the mobile phone includes: a radio frequency (RF) circuit 510 , a memory 520 , an input unit 530 , a display unit 540 , a sensor 550 , an audio circuit 560 , a wireless fidelity (WiFi) module 570 , and a processor 580 , and the power supply 550 and other components. Those skilled in the art can understand that the structure of the mobile phone shown in FIG. 5 does not constitute a limitation on the mobile phone, and may include more or less components than the one shown, or combine some components, or arrange different components.

下面结合图5对手机的各个构成部件进行具体的介绍:The following is a detailed introduction to each component of the mobile phone in conjunction with Figure 5:

RF电路510可用于信息的接收和发送。通常,RF电路510包括但不限于天线、至少一个放大器、收发信机、耦合器、低噪声放大器(Low Noise Amplifier,LNA)、双工器等。此外,RF电路510还可以通过无线通信与网络和其他设备通信。上述无线通信可以使用任一通信标准或协议,包括但不限于全球移动通讯系统(Global System of Mobilecommunication,GSM)、通用分组无线服务(General Packet Radio Service,GPRS)、码分多址(Code Division Multiple Access,CDMA)、宽带码分多址(Wideband Code DivisionMultiple Access,WCDMA)、长期演进(Long Term Evolution,LTE)、电子邮件、短消息服务(Short Messaging Service,SMS)等。RF circuitry 510 may be used for the reception and transmission of information. Typically, the RF circuit 510 includes, but is not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a Low Noise Amplifier (LNA), a duplexer, and the like. In addition, RF circuitry 510 may also communicate with networks and other devices via wireless communications. The above-mentioned wireless communication can use any communication standard or protocol, including but not limited to Global System of Mobile communication (GSM), General Packet Radio Service (General Packet Radio Service, GPRS), Code Division Multiple Access (Code Division Multiple Access) Access, CDMA), Wideband Code Division Multiple Access (Wideband Code Division Multiple Access, WCDMA), Long Term Evolution (Long Term Evolution, LTE), email, Short Messaging Service (Short Messaging Service, SMS) and the like.

存储器520可用于存储软件程序以及模块,处理器580通过运行存储在存储器520的软件程序以及模块,从而执行手机的各种功能应用以及数据处理。存储器520可主要包括存储程序区和存储数据区,其中,存储程序区可存储操作系统、至少一个功能所需的应用程序等;存储数据区可存储根据手机的使用所创建的数据等。此外,存储器520可以包括高速随机存取存储器,还可以包括非易失性存储器,例如至少一个磁盘存储器件、闪存器件、或其他易失性固态存储器件。The memory 520 can be used to store software programs and modules, and the processor 580 executes various functional applications and data processing of the mobile phone by running the software programs and modules stored in the memory 520 . The memory 520 may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required for at least one function, and the like; the storage data area may store data created according to the use of the mobile phone. Additionally, memory 520 may include high-speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device.

输入单元530可用于接收输入的数字或字符信息,以及生成与手机的用户设置以及功能控制有关的键信号输入。具体地,输入单元530可包括指纹识别模组531以及其他输入设备532。指纹识别模组531,可采集用户在其上的指纹数据。可选的,指纹识别模组531可包括光学式指纹模块、电容式指纹模块以及射频式指纹模块。以指纹识别模组531为电容式指纹识别模组为例,具体包括感应电极(异常感应电极和正常感应电极)和与所述感应电极连接的信号处理电路(如放大电路、噪声抑制电路、模数转化电路,等等)。除了指纹识别模组531,输入单元530还可以包括其他输入设备532。具体地,其他输入设备532可以包括但不限于物理键盘、功能键(比如音量控制按键、开关按键等)、轨迹球、鼠标、操作杆等中的一种或多种。The input unit 530 may be used to receive inputted numerical or character information, and generate key signal input related to user setting and function control of the mobile phone. Specifically, the input unit 530 may include a fingerprint recognition module 531 and other input devices 532 . The fingerprint identification module 531 can collect the fingerprint data of the user on it. Optionally, the fingerprint identification module 531 may include an optical fingerprint module, a capacitive fingerprint module and a radio frequency fingerprint module. Taking the fingerprint identification module 531 as a capacitive fingerprint identification module as an example, it specifically includes sensing electrodes (abnormal sensing electrodes and normal sensing electrodes) and signal processing circuits (such as amplifying circuits, noise suppression circuits, modules) connected to the sensing electrodes. digital conversion circuits, etc.). Besides the fingerprint recognition module 531 , the input unit 530 may also include other input devices 532 . Specifically, other input devices 532 may include, but are not limited to, one or more of physical keyboards, function keys (such as volume control keys, switch keys, etc.), trackballs, mice, joysticks, and the like.

显示单元540可用于显示由用户输入的信息或提供给用户的信息以及手机的各种菜单。显示单元540可包括显示屏541,可选的,可以采用液晶显示器(Liquid CrystalDisplay,LCD)、有机发光二极管(Organic Light-Emitting Diode,OLED)等形式来配置显示屏541。虽然在图5中,指纹识别模组531与显示屏541是作为两个独立的部件来实现手机的输入和输入功能,但是在某些实施例中,可以将指纹识别模组531与显示屏541集成而实现手机的输入和输出功能。The display unit 540 may be used to display information input by the user or information provided to the user and various menus of the mobile phone. The display unit 540 may include a display screen 541. Optionally, the display screen 541 may be configured in the form of a liquid crystal display (Liquid Crystal Display, LCD), an organic light-emitting diode (Organic Light-Emitting Diode, OLED), or the like. Although in FIG. 5 , the fingerprint recognition module 531 and the display screen 541 are used as two independent components to realize the input and input functions of the mobile phone, but in some embodiments, the fingerprint recognition module 531 and the display screen 541 can be combined Integrated to realize the input and output functions of the mobile phone.

手机还可包括至少一种传感器550,比如光传感器、运动传感器以及其他传感器。具体地,光传感器可包括环境光传感器及接近传感器,其中,环境光传感器可根据环境光线的明暗来调节显示屏541的亮度,接近传感器可在手机移动到耳边时,关闭显示屏541和/或背光。作为运动传感器的一种,加速计传感器可检测各个方向上(一般为三轴)加速度的大小,静止时可检测出重力的大小及方向,可用于识别手机姿态的应用(比如横竖屏切换、相关游戏、磁力计姿态校准)、振动识别相关功能(比如计步器、敲击)等;至于手机还可配置的陀螺仪、气压计、湿度计、温度计、红外线传感器等其他传感器,在此不再赘述。The cell phone may also include at least one sensor 550, such as a light sensor, a motion sensor, and other sensors. Specifically, the light sensor may include an ambient light sensor and a proximity sensor, wherein the ambient light sensor may adjust the brightness of the display screen 541 according to the brightness of the ambient light, and the proximity sensor may turn off the display screen 541 and/or when the mobile phone is moved to the ear. or backlight. As a kind of motion sensor, the accelerometer sensor can detect the magnitude of acceleration in all directions (usually three axes), and can detect the magnitude and direction of gravity when it is stationary. games, magnetometer attitude calibration), vibration recognition related functions (such as pedometer, tapping), etc.; as for other sensors such as gyroscope, barometer, hygrometer, thermometer, infrared sensor, etc. Repeat.

音频电路560、扬声器561,传声器562可提供用户与手机之间的音频接口。音频电路560可将接收到的音频数据转换后的电信号,传输到扬声器561,由扬声器561转换为声音信号输出;另一方面,传声器562将收集的声音信号转换为电信号,由音频电路560接收后转换为音频数据,再将音频数据输出处理器580处理后,经RF电路510以发送给比如另一手机,或者将音频数据输出至存储器520以便进一步处理。The audio circuit 560, the speaker 561, and the microphone 562 can provide an audio interface between the user and the mobile phone. The audio circuit 560 can transmit the received audio data converted electrical signal to the speaker 561, and the speaker 561 converts it into a sound signal for output; on the other hand, the microphone 562 converts the collected sound signal into an electrical signal, which is converted by the audio circuit 560 After receiving, it is converted into audio data, and then the audio data is output to the processor 580 for processing, and then sent to, for example, another mobile phone through the RF circuit 510, or the audio data is output to the memory 520 for further processing.

WiFi属于短距离无线传输技术,手机通过WiFi模块570可以帮助用户收发电子邮件、浏览网页和访问流式媒体等,它为用户提供了无线的宽带互联网访问。虽然图5示出了WiFi模块570,但是可以理解的是,其并不属于手机的必须构成,完全可以根据需要在不改变发明的本质的范围内而省略。WiFi is a short-distance wireless transmission technology. The mobile phone can help users to send and receive emails, browse web pages, and access streaming media through the WiFi module 570, which provides users with wireless broadband Internet access. Although FIG. 5 shows the WiFi module 570, it can be understood that it is not a necessary component of the mobile phone, and can be completely omitted as required within the scope of not changing the essence of the invention.

处理器580是手机的控制中心,利用各种接口和线路连接整个手机的各个部分,通过运行或执行存储在存储器520内的软件程序和/或模块,以及调用存储在存储器520内的数据,执行手机的各种功能和处理数据,从而对手机进行整体监控。可选的,处理器580可包括一个或多个处理单元;优选的,处理器580可集成应用处理器和调制解调处理器,其中,应用处理器主要处理操作系统、用户界面和应用程序等,调制解调处理器主要处理无线通信。可以理解的是,上述调制解调处理器也可以不集成到处理器580中。The processor 580 is the control center of the mobile phone, using various interfaces and lines to connect various parts of the entire mobile phone, by running or executing the software programs and/or modules stored in the memory 520, and calling the data stored in the memory 520. Various functions of the mobile phone and processing data, so as to monitor the mobile phone as a whole. Optionally, the processor 580 may include one or more processing units; preferably, the processor 580 may integrate an application processor and a modem processor, wherein the application processor mainly processes the operating system, user interface, and application programs, etc. , the modem processor mainly deals with wireless communication. It can be understood that, the above-mentioned modulation and demodulation processor may not be integrated into the processor 580 .

手机还包括给各个部件供电的电源550(比如电池),优选的,电源可以通过电源管理系统与处理器580逻辑相连,从而通过电源管理系统实现管理充电、放电、以及功耗管理等功能。The mobile phone also includes a power supply 550 (such as a battery) for supplying power to various components. Preferably, the power supply can be logically connected to the processor 580 through a power management system, so as to manage charging, discharging, and power consumption management functions through the power management system.

尽管未示出,手机还可以包括摄像头、蓝牙模块等,在此不再赘述。Although not shown, the mobile phone may also include a camera, a Bluetooth module, and the like, which will not be repeated here.

前述图1、图2所示的实施例中,各步骤方法流程可以基于该手机的结构实现。In the foregoing embodiments shown in FIG. 1 and FIG. 2 , the method flow of each step can be implemented based on the structure of the mobile phone.

前述图3所示的实施例中,各单元功能可以基于该手机的结构实现。In the aforementioned embodiment shown in FIG. 3 , the functions of each unit can be implemented based on the structure of the mobile phone.

所属领域的技术人员可以清楚地了解到,为描述的方便和简洁,上述描述的系统、装置和单元的具体工作过程,可以参考前述方法实施例中的对应过程,在此不再赘述。Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working process of the above-described systems, devices and units may refer to the corresponding processes in the foregoing method embodiments, which will not be repeated here.

在本申请所提供的几个实施例中,应该理解到,所揭露的系统、装置和方法,可以通过其它的方式实现。以上所描述的装置实施例仅仅是示意性的,例如,所述单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,又例如,多个单元或组件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些通信接口,装置或单元的间接耦合或通信连接,可以是电性,机械或其它的形式。In the several embodiments provided in this application, it should be understood that the disclosed system, apparatus and method may be implemented in other manners. The apparatus embodiments described above are only illustrative. For example, the division of the units is only a logical function division. In actual implementation, there may be other division methods. For example, multiple units or components may be combined or Can be integrated into another system, or some features can be ignored, or not implemented. On the other hand, the shown or discussed mutual coupling or direct coupling or communication connection may be through some communication interfaces, indirect coupling or communication connection of devices or units, which may be in electrical, mechanical or other forms.

所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部单元来实现本实施例方案的目的。The units described as separate components may or may not be physically separated, and 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 in this embodiment.

另外,在本发明各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。In addition, each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may exist physically alone, or two or more units may be integrated into one unit.

所述功能如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。基于这样的理解,本发明的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)执行本发明各个实施例所述方法的全部或部分步骤。而前述的存储介质包括:U盘、移动硬盘、只读存储器(ROM,Read-Only Memory)、随机存取存储器(RAM,Random Access Memory)、磁碟或者光盘等各种可以存储程序代码的介质。The functions, if implemented in the form of software functional units and sold or used as independent products, may be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention can be embodied in the form of a software product in essence, or the part that contributes to the prior art or the part of the technical solution. The computer software product is stored in a storage medium, including Several instructions are used to cause a computer device (which may be a personal computer, a server, or a network device, etc.) to execute all or part of the steps of the methods described in the various embodiments of the present invention. The aforementioned storage medium includes: U disk, mobile hard disk, Read-Only Memory (ROM, Read-Only Memory), Random Access Memory (RAM, Random Access Memory), magnetic disk or optical disk and other media that can store program codes .

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

Claims (7)

1. A method for improving WIFI connection speed is characterized by comprising the following steps:
the method comprises the steps that after the intelligent terminal detects that a WIFI connection is opened by a user, a connection command is initiated;
after determining the connection command, the intelligent terminal extracts the state of the WIFI chip and a queue of commands to be executed;
if the state of the WIFI chip is a working state, the intelligent terminal determines whether the command being executed by the WIFI chip can be terminated, and when the command being executed can be terminated, the intelligent terminal arranges the connection command at the first position of the queue of the command to be executed;
calculating access parameters of each access point according to the signal strength value of each access point, the number of connected terminals and historical access information, and selecting the access point with the largest access parameter as the access point of the intelligent terminal;
the specific calculation method of the access parameters comprises the following steps:
Figure FDA0002246415060000011
wherein Xn is the value of the access parameter of the nth AP, Sn is the signal strength value of the nth AP,
Figure FDA0002246415060000012
is the average value of the signal strength values of all APs, Yn is the quantity value of the access terminal of the nth AP,
Figure FDA0002246415060000013
the number of all AP access terminals is averaged.
2. The method of claim 1, further comprising:
the intelligent terminal obtains the signal strength value and the historical access information of each access point, and selects the access point with the best signal strength value from the access points of the historical access information for access.
3. The method of claim 1, further comprising:
and acquiring the position information of all the access points, and selecting the access point closest to the intelligent terminal from the position information by the intelligent terminal as an access point.
4. An apparatus for increasing speed of a WIFI connection, the apparatus comprising:
the initiating unit is used for initiating a connection command after the WIFI connection is opened by a user is detected;
the extracting unit is used for extracting the state of the WIFI chip and the queue of the command to be executed after the connecting command is determined;
the processing unit is used for determining whether the command being executed by the WIFI chip can be terminated or not if the state of the WIFI chip is a working state, and arranging the connection command at the first position of the queue of the command to be executed when the command being executed can be terminated;
the processing unit is further configured to obtain a signal strength value and historical access information of each access point, and select an access point with the best signal strength value from the access points of the historical access information for access;
the specific calculation method of the access parameters comprises the following steps:
Figure FDA0002246415060000021
wherein Xn is the value of the access parameter of the nth AP, Sn is the signal strength value of the nth AP,
Figure FDA0002246415060000022
is the average value of the signal strength values of all APs, Yn is the quantity value of the access terminal of the nth AP,
Figure FDA0002246415060000023
the number of all AP access terminals is averaged.
5. The apparatus of claim 4,
the processing unit is further configured to obtain a signal strength value and historical access information of each access point, and select an access point with the best signal strength value from the access points in the historical access information for access.
6. The apparatus of claim 4,
the processing unit is further configured to acquire location information of all access points, and select an access point closest to the intelligent terminal from the location information as an access point.
7. A user terminal, characterized in that the user terminal comprises: a processor, a memory, a transceiver, and a bus; the processor, the memory and the transceiver are connected through the bus;
the memory for storing program code;
the processor is configured to invoke the program code to perform the method for increasing WIFI connection speed of any of claims 1-3.
CN201611118308.1A 2016-12-07 2016-12-07 Method and device for accelerating wireless fidelity connection speed and user terminal Expired - Fee Related CN106714276B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201611118308.1A CN106714276B (en) 2016-12-07 2016-12-07 Method and device for accelerating wireless fidelity connection speed and user terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201611118308.1A CN106714276B (en) 2016-12-07 2016-12-07 Method and device for accelerating wireless fidelity connection speed and user terminal

Publications (2)

Publication Number Publication Date
CN106714276A CN106714276A (en) 2017-05-24
CN106714276B true CN106714276B (en) 2020-02-07

Family

ID=58936436

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201611118308.1A Expired - Fee Related CN106714276B (en) 2016-12-07 2016-12-07 Method and device for accelerating wireless fidelity connection speed and user terminal

Country Status (1)

Country Link
CN (1) CN106714276B (en)

Family Cites Families (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
ES2458621B1 (en) * 2013-10-15 2015-02-10 Aoife Solutions, S.L. Decentralized wireless network control system
CN104202239B (en) * 2014-09-15 2018-07-31 合肥美的智能科技有限公司 Communication method, communication system and refrigerator
JP6482284B2 (en) * 2015-01-15 2019-03-13 キヤノン株式会社 Information processing apparatus, policy management apparatus, security policy management method, computer program
CN105120509A (en) * 2015-06-26 2015-12-02 努比亚技术有限公司 Network access method and device
CN104980978A (en) * 2015-06-30 2015-10-14 青岛海尔智能家电科技有限公司 WiFi access point switching method and device
CN105282867B (en) * 2015-10-30 2019-04-12 小米科技有限责任公司 Method for connecting network and device
CN105873240A (en) * 2015-12-31 2016-08-17 乐视致新电子科技(天津)有限公司 Wireless hotspot connection method and device
CN105828397B (en) * 2016-03-28 2019-10-15 维沃移动通信有限公司 Method and mobile terminal for switching wireless access point
CN106028286B (en) * 2016-07-12 2020-03-27 努比亚技术有限公司 Wireless local area network access device and method

Also Published As

Publication number Publication date
CN106714276A (en) 2017-05-24

Similar Documents

Publication Publication Date Title
US11237724B2 (en) Mobile terminal and method for split screen control thereof, and computer readable storage medium
US10824299B2 (en) Application display method and related products
CN106055408B (en) A kind of application control method and mobile terminal
CN106250223B (en) Background process management method and terminal equipment
CN106484283A (en) A display control method and mobile terminal
CN107071147B (en) Parameter adjusting method and device
CN106446111B (en) Data migration method and terminal
CN106327166A (en) Information processing method and mobile terminal
WO2018161539A1 (en) Control method and apparatus for turning on screen
CN106155557A (en) A virtual button display method and mobile terminal
CN106534288B (en) A data transmission method and mobile terminal
CN106095566B (en) Response control method and mobile terminal
CN106066814B (en) Application control method and mobile terminal
CN106484563B (en) Data migration method and terminal equipment
CN114296626A (en) Input interface display method and terminal
CN106339862A (en) Information processing method and mobile terminal
CN107317917B (en) Application control methods and related products
CN106527980A (en) Data migration method and terminal
CN106951223A (en) Desktop display method and terminal
CN106371896A (en) Virtual machine memory configuration method and device, mobile terminal
CN106776041B (en) Data processing method and device
CN106714276B (en) Method and device for accelerating wireless fidelity connection speed and user terminal
CN106572166B (en) Data transmission method, backup server and mobile terminal
CN107066856B (en) Unlocking method and equipment
CN106604364B (en) A method, terminal and storage medium for network connection

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
CB02 Change of applicant information

Address after: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18

Applicant after: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd.

Address before: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18

Applicant before: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd.

CB02 Change of applicant information
GR01 Patent grant
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20200207

CF01 Termination of patent right due to non-payment of annual fee