CN106604304B - Connection method and device for accelerating wireless fidelity - Google Patents

Connection method and device for accelerating wireless fidelity Download PDF

Info

Publication number
CN106604304B
CN106604304B CN201611118310.9A CN201611118310A CN106604304B CN 106604304 B CN106604304 B CN 106604304B CN 201611118310 A CN201611118310 A CN 201611118310A CN 106604304 B CN106604304 B CN 106604304B
Authority
CN
China
Prior art keywords
wifi
connection command
connection
time
wifi chip
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201611118310.9A
Other languages
Chinese (zh)
Other versions
CN106604304A (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 CN201611118310.9A priority Critical patent/CN106604304B/en
Publication of CN106604304A publication Critical patent/CN106604304A/en
Application granted granted Critical
Publication of CN106604304B publication Critical patent/CN106604304B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W24/00Supervisory, monitoring or testing arrangements
    • H04W24/02Arrangements for optimising operational condition
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W24/00Supervisory, monitoring or testing arrangements
    • H04W24/08Testing, supervising or monitoring using real traffic
    • 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
    • H04W76/00Connection management
    • H04W76/10Connection setup
    • H04W76/14Direct-mode setup

Landscapes

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

Abstract

The invention belongs to the field of communication, and provides a method for accelerating WIFI connection, which comprises the following steps: the intelligent terminal receives a guide beacon frame broadcasted by an access point, wherein the guide frame comprises: a route name of the first access point AP; 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 a connection command, the intelligent terminal extracts the first time of the first AP route information scanned last time, calculates the time difference between the first time and the current time, and transmits the connection command to the WIFI chip if the time difference is smaller than a time threshold value, wherein the connection command is used for indicating the WIFI chip to connect the first AP according to the first AP router information; and the WIFI chip of the intelligent terminal is connected with the first AP according to the connection command. The invention has the advantage of good user experience.

Description

Connection method and device for accelerating wireless fidelity
Technical Field
The present invention relates to the field of communications, and in particular, to a method and an apparatus for accelerating a wireless fidelity connection.
Background
Terminals in the communication field, such as mobile phones, tablet computers and other devices, belong to devices commonly used by users, and since the devices all have their own operating systems at present, the terminals are also called smart terminals or smart phones, and smart phones (english: smartphones) are collective names for those mobile phones having higher computing power and functions than those of traditional functional mobile phones.
The existing smart phone has two modes of surfing the internet, one mode is network connection through a mobile communication network, for example: the other is a local area network, and the most common is wireless fidelity (WIFI) connection, and the existing WIFI requires a long time to connect, which affects the experience of the client.
Disclosure of Invention
One of the objectives of the present invention is to provide a method for accelerating WIFI connection, which mainly solves the disadvantage that the long time required for the existing WIFI connection affects the customer experience.
In a first aspect, a method for accelerating a WIFI connection is provided, where the method includes the following steps: the intelligent terminal receives a guide beacon frame broadcasted by an access point, wherein the guide frame comprises: a route name of the first access point AP; 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 a connection command, the intelligent terminal extracts the first time of the first AP route information scanned last time, calculates the time difference between the first time and the current time, and transmits the connection command to the WIFI chip if the time difference is smaller than a time threshold value, wherein the connection command is used for indicating the WIFI chip to connect the first AP according to the first AP router information; and the WIFI chip of the intelligent terminal is connected with the first AP according to the connection command.
Optionally, the method further includes: if the time difference is larger than the time threshold, transmitting a connection command to the WIFI chip, wherein the connection command comprises judgment information, and the judgment information is used for indicating whether the time difference of the WIFI chip exceeds the time threshold or not; the WIFI chip of the intelligent terminal judges whether a beacon frame broadcasted by the first AP has routing information of the first AP or not, if the beacon frame is judged to have the routing information of the first AP, the beacon frame is accessed to the first AP according to the routing information, if the beacon frame is judged not to have the routing information of the first AP, re-scanning is executed, if a scanning result of the re-scanning contains the routing information of the first AP, the beacon frame is accessed to the first AP according to the routing information of the first AP.
Optionally, before transmitting the connection command to the WIFI chip, the method further includes: and detecting the terminal connection number of the first AP, and sending a connection command to the WIFI chip when the number is lower than a number threshold value.
Optionally, before transmitting the connection command to the WIFI chip, the method further includes: and detecting the moving speed of the terminal of the first AP, and sending a connection command to the WIFI chip when the moving speed is lower than a speed threshold value.
Optionally, before transmitting the connection command to the WIFI chip, the method further includes: and detecting the packet loss rate of the first AP, and sending a connection command to the WIFI chip when the packet loss rate is lower than a packet loss rate threshold value.
In a second aspect, an apparatus for expediting WIFI connectivity is provided, the apparatus comprising: a transceiving unit, configured to receive a beacon frame broadcasted by an access point, where the beacon frame includes: a route name of the first access point AP; the processing unit is used for initiating a connection command after the WIFI connection is opened by a user is detected; after a connection command is determined, extracting the first time of the first AP route information scanned last time, calculating the time difference between the first time and the current time, and if the time difference is smaller than a time threshold, transmitting the connection command to a WIFI chip, wherein the connection command is used for indicating the WIFI chip to connect the first AP according to the first AP router information; and controlling the WIFI chip to be connected with the first AP according to the connection command.
Optionally, the processing unit is further configured to transmit a connection command to the WIFI chip if the time difference is greater than a time threshold, where the connection command includes judgment information, and the judgment information is used to indicate whether the time difference of the WIFI chip exceeds the time threshold; and controlling the WIFI chip to judge whether the beacon frame broadcasted by the first AP has the routing information of the first AP or not, if so, accessing the first AP according to the routing information, and if not, executing secondary scanning, if the scanning result of the secondary scanning contains the routing information of the first AP, and accessing the first AP according to the routing information of the first AP.
Optionally, the processing unit is further configured to detect a terminal connection number of the first AP, and send a connection command to the WIFI chip when the number is lower than a number threshold.
Optionally, the processing unit is further configured to detect a terminal moving speed of the first AP, and send a connection command to the WIFI chip when the moving speed is lower than a speed threshold.
Optionally, the processing unit is further configured to detect a packet loss rate of the first AP, and send the connection command to the WIFI chip when the packet loss rate is lower than a packet loss rate threshold.
In a third aspect, an intelligent terminal is provided, which includes: 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 processing unit is configured to call the program code to execute the method for accelerating the WIFI connection provided in the first aspect.
It will be appreciated by those of ordinary skill in the art that although the following detailed description will proceed with reference being made to illustrative embodiments, the present invention is not intended to be limited to these embodiments. Rather, the scope of the invention is broad and is intended to be defined only by the claims appended hereto.
Drawings
Other features, objects and advantages of the invention will become more apparent upon reading of the detailed description of non-limiting embodiments made with reference to the following drawings:
fig. 1 is a flowchart of a method for expediting WIFI connectivity according to a preferred embodiment of the present invention.
Fig. 2 is a flowchart of a method for expediting WIFI connectivity according to another preferred embodiment of the present invention.
Fig. 3 is a flowchart of a method for accelerating a WIFI connection according to another preferred embodiment of the present invention.
Fig. 4 is a structural diagram of a device for accelerating WIFI connection according to the present invention.
Fig. 5 is a schematic diagram of a hardware structure of the terminal provided by the present invention.
Detailed Description
Before discussing exemplary embodiments in more detail, it should be noted that some exemplary embodiments are described as processes or methods depicted as flowcharts. Although a flowchart may describe the operations as a sequential process, many of the operations can be performed in parallel, concurrently, or simultaneously. In addition, the order of the operations may be re-arranged. The process may be terminated when its operations are completed, but may have additional steps not included in the figure. The processes may correspond to methods, functions, procedures, subroutines, and the like.
The term "computer device" or "computer" in this context refers to an intelligent electronic device that can execute predetermined processes such as numerical calculation and/or logic calculation by running predetermined programs or instructions, and may include a processor and a memory, wherein the processor executes a pre-stored instruction stored in the memory to execute the predetermined processes, or the predetermined processes are executed by hardware such as ASIC, FPGA, DSP, or a combination thereof. Computer devices include, but are not limited to, servers, personal computers, laptops, tablets, smart phones, and the like.
The methods discussed below, some of which are illustrated by flow diagrams, 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 are provided for purposes of describing example embodiments of the present invention. The present invention may, however, be embodied in many alternate forms and should not be construed as limited to only 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 only used to distinguish one element from another. For example, a first element may be termed a second element, and, similarly, a second element may 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 particular embodiments only and is not intended to be limiting of example embodiments. As used herein, the singular forms "a", "an" and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise. It will be further understood that the terms "comprises" and/or "comprising," when used herein, specify the presence of stated features, integers, steps, operations, elements, and/or components, but do not preclude the presence or addition of one or more other features, integers, steps, operations, elements, components, and/or groups 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 the figures may sometimes be executed in the reverse order, depending upon the functionality/acts involved.
The present invention is described in further detail below with reference to the attached drawing figures.
According to an aspect of the present invention, a method for accelerating WIFI connection is provided, where the method is implemented by an intelligent terminal, and the intelligent terminal may specifically be: as shown in fig. 1, the method includes the following steps:
step S101, the intelligent terminal receives a guidance (English: beacon) frame broadcasted by the access point, wherein the guidance frame comprises: and the routing name of the first Access Point (AP).
The beacon frame in step S101 may be broadcast by the AP without interruption, and the specific broadcast mode may be a wireless mode. The broadcast frequency may be a frequency set by a manufacturer as a default, and certainly, in practical applications, a user may set the frequency according to the needs of the user.
And S102, the intelligent terminal initiates a connection command after detecting that the WIFI connection is opened by the user.
The implementation method of the step S102 may specifically be:
for example, in a specific embodiment of the present invention, a touch display screen may be set in the intelligent terminal, a setting interface is then displayed on the touch display screen, and a switch that is turned on or off by WIFI is displayed in the setting interface for a user to select, and if the user selects the WIFI to be turned on, the intelligent terminal detects that the user turns on the WIFI connection.
For another example, in another specific embodiment of the present invention, the WIFI connection may be turned on by sending a control command to the intelligent terminal, and after the intelligent terminal receives the control command, it is determined that the user is detected to turn on the WIFI connection. The control command may be sent wirelessly, including but not limited to: the command sending end may be another terminal connected to the intelligent terminal, such as a smart watch, a smart bracelet, or the like, or may be another device to send the control command to the intelligent terminal through a 3G network, a 4G network, or through bluetooth, and the like.
Step S103, after determining a connection command, the intelligent terminal extracts the first time of the last scanning of the first AP routing information, calculates the time difference between the first time and the current time, and transmits the connection command to the WIFI chip if the time difference is smaller than a time threshold, wherein the connection command is used for indicating the WIFI chip to connect the first AP according to the first AP router information.
The implementation method of step S103 may specifically be:
extracting the scanning result of the scanning, inquiring whether the routing information of the first AP exists in the scanning result, if the routing information exists, extracting the generation time of the scanning result as a first time, and then calculating the time difference between the first time and the current time, if the time difference is within a set time (namely, the time difference is smaller than a time threshold), the routing information is probably effective, so that the operation of accessing the first AP is directly executed by using the routing information without scanning again.
And S104, connecting the WIFI chip of the intelligent terminal with the first AP according to the connection command.
The connection flow in step S104 may be a flow of a protocol, and specifically, refer to the specification of the 802.11 protocol.
The method provided by the invention can accelerate the WIFI access to the AP, because for the intelligent terminal, when the beacon frame is received, the AP broadcasting the beacon frame can be obtained through the beacon frame, and then the specific routing information of the intelligent terminal is obtained through the AP, when the connection command is received, whether the routing information exists or not can be determined through the last scanning, if the routing information exists and the difference value between the last scanning time and the current time is lower than the set threshold value, the intelligent terminal can be directly connected with the AP without scanning again, so that the time for scanning once is saved, and the method has the advantage of accelerating the WIFI access to the AP.
According to another aspect of the present invention, a method for accelerating WIFI connection is provided, where the method is implemented by an intelligent terminal, and the intelligent terminal may specifically be: as shown in fig. 2, the method includes the following steps:
step S201, the intelligent terminal receives beacon frames broadcasted by the access point, and the guide frames comprise: and the routing name of the first Access Point (AP).
The beacon frame in step S201 may be broadcast by the AP without interruption, and the specific broadcast mode may be a wireless mode. The broadcast frequency may be a frequency set by a manufacturer as a default, and certainly, in practical applications, a user may set the frequency according to the needs of the user.
Step S202, the intelligent terminal initiates a connection command after detecting that the WIFI connection is opened by the user.
The implementation method of the step S202 may specifically be:
for example, in a specific embodiment of the present invention, a touch display screen may be set in the intelligent terminal, a setting interface is then displayed on the touch display screen, and a switch that is turned on or off by WIFI is displayed in the setting interface for a user to select, and if the user selects the WIFI to be turned on, the intelligent terminal detects that the user turns on the WIFI connection.
For another example, in another specific embodiment of the present invention, the WIFI connection may be turned on by sending a control command to the intelligent terminal, and after the intelligent terminal receives the control command, it is determined that the user is detected to turn on the WIFI connection. The control command may be sent wirelessly, including but not limited to: the command sending end may be another terminal connected to the intelligent terminal, such as a smart watch, a smart bracelet, or the like, or may be another device to send the control command to the intelligent terminal through a 3G network, a 4G network, or through bluetooth, and the like.
Step S203, after determining the connection command, the intelligent terminal extracts the first time scanned to the first AP routing information last time, calculates the time difference between the first time and the current time, and transmits the connection command to the WIFI chip if the time difference is greater than a time threshold, wherein the connection command includes judgment information, and the judgment information is used for indicating whether the time difference of the WIFI chip exceeds the time threshold.
The implementation method of step S203 may specifically be:
the scanning result of the scanning is extracted, whether the routing information of the first AP exists in the scanning result is inquired, if the routing information exists, the generation time of the scanning result is extracted as a first time, and then the time difference between the first time and the current time is calculated, if the time difference is not within the set time (namely, if the time difference is greater than the time threshold), the routing information is possible to be valid or invalid, so that a decision needs to be made whether to enter the first AP.
Step S204, the WIFI chip of the intelligent terminal judges whether the beacon frame broadcasted by the first AP has the routing information of the first AP or not, if the beacon frame is judged to have the routing information of the first AP, the first AP is accessed according to the routing information, if the beacon frame is judged to have no routing information of the first AP, re-scanning is executed, if the re-scanning result contains the routing information of the first AP, the first AP is accessed according to the routing information of the first AP.
The other method provided by the invention can accelerate the WIFI access to the AP, because for the intelligent terminal, when the beacon frame is received, the AP broadcasting the beacon frame can be obtained through the beacon frame, and then the specific routing information of the intelligent terminal is obtained through the AP, when the connection command is received, whether the routing information exists or not can be determined through the last scanning, if the routing information exists and the difference value between the last scanning time and the current time is higher than the set threshold value, the routing information of the first AP is obtained from the beacon frame, the first AP enters the first AP according to the routing information, and scanning is not required again, so that the scanning time is saved, and the method has the advantage of accelerating the WIFI access to the AP.
According to another aspect of the present invention, a method for accelerating WIFI connection is provided, where the method is implemented by an intelligent terminal, and the intelligent terminal may specifically be: as shown in fig. 3, the method includes the following steps:
step S301, the intelligent terminal receives beacon frames broadcasted by the access point, and the beacon frames comprise: and the routing name of the first Access Point (AP).
The beacon frame in step S301 may be broadcast by the AP without interruption, and the specific broadcast mode may be a wireless mode. The broadcast frequency may be a frequency set by a manufacturer as a default, and certainly, in practical applications, a user may set the frequency according to the needs of the user.
Step S302, the intelligent terminal initiates a connection command after detecting that the WIFI connection is opened by the user.
The implementation method of the step S302 may specifically be:
for example, in a specific embodiment of the present invention, a touch display screen may be set in the intelligent terminal, a setting interface is then displayed on the touch display screen, and a switch that is turned on or off by WIFI is displayed in the setting interface for a user to select, and if the user selects the WIFI to be turned on, the intelligent terminal detects that the user turns on the WIFI connection.
For another example, in another specific embodiment of the present invention, the WIFI connection may be turned on by sending a control command to the intelligent terminal, and after the intelligent terminal receives the control command, it is determined that the user is detected to turn on the WIFI connection. The control command may be sent wirelessly, including but not limited to: the command sending end may be another terminal connected to the intelligent terminal, such as a smart watch, a smart bracelet, or the like, or may be another device to send the control command to the intelligent terminal through a 3G network, a 4G network, or through bluetooth, and the like.
Step S303, after determining a connection command, the intelligent terminal extracts the first time of the last scanning of the first AP routing information, calculates the time difference between the first time and the current time, detects the terminal connection number of the first AP if the time difference is smaller than a time threshold, and sends the connection command to the WIFI chip when the number is smaller than the number threshold, wherein the connection command is used for indicating the WIFI chip to connect the first AP according to the first AP router information.
The implementation method of the step S303 may specifically be:
extracting a scanning result of the scanning, inquiring whether routing information of the first AP exists in the scanning result, if the routing information exists, extracting generation time of the scanning result as first time, and then calculating a time difference between the first time and the current time, if the time difference is not within a set time (namely, the time difference is greater than a time threshold), indicating that the routing information is valid, at this moment, the number of terminals connected with the AP needs to be considered, because for the AP, if the number of the terminals connected with the AP is too large, the connected terminals may be switched to other APs, and only under the condition that the number of the connected terminals is lower than the set threshold, the connection command is sent to the WIFI, so that the terminal is prevented from being switched to other APs.
Step S304, the intelligent terminal connects to the first AP according to the connection command.
The other method provided by the invention can accelerate the WIFI access to the AP, because for the intelligent terminal, when the beacon frame is received, the AP broadcasting the beacon frame can be obtained through the beacon frame, and then the specific routing information of the intelligent terminal is obtained through the AP, when the connection command is received, whether the routing information exists or not can be determined through the last scanning, if the routing information exists and the difference value between the last scanning time and the current time is higher than the set threshold value, the routing information of the first AP is obtained from the beacon frame, the first AP enters the first AP according to the routing information, and scanning is not required again, so that the scanning time is saved, and the method has the advantage of accelerating the WIFI access to the AP.
Optionally, the step S303 may be replaced by another step.
Step S301-1, after determining a connection command, the intelligent terminal extracts the first time of the last scanning of the first AP routing information, calculates the time difference between the first time and the current time, detects the terminal moving speed of the first AP if the time difference is smaller than a time threshold, and sends the connection command to the WIFI chip when the moving speed is lower than the speed threshold, wherein the connection command is used for instructing the WIFI chip to connect the first AP according to the first AP router information.
The dimension considered here for the moving speed is mainly to avoid too fast moving speed, the AP belonging to the passing AP, thus avoiding repeated handovers.
Optionally, the step S303 may be replaced by another step.
Step S301-2, after determining a connection command, the intelligent terminal extracts the first time of the last scanning of the first AP routing information, calculates the time difference between the first time and the current time, detects the packet loss rate of the first AP if the time difference is smaller than a time threshold, and sends the connection command to the WIFI chip when the packet loss rate is smaller than the packet loss rate threshold, wherein the connection command is used for instructing the WIFI chip to connect the first AP according to the first AP router information.
The technical scheme is to detect the packet loss rate in order to avoid that the first AP cannot provide a connection with higher quality for the intelligent terminal.
Referring to fig. 4, fig. 4 is a device 400 for expediting WIFI connectivity, according to the present invention, where the device 400 includes:
a transceiving unit 401, configured to receive a beacon frame broadcasted by an access point, where the beacon frame includes: a route name of the first access point AP;
the processing unit 402 is configured to initiate a connection command after detecting that a user opens a WIFI connection; after a connection command is determined, extracting the first time of the first AP route information scanned last time, calculating the time difference between the first time and the current time, and if the time difference is smaller than a time threshold, transmitting the connection command to a WIFI chip, wherein the connection command is used for indicating the WIFI chip to connect the first AP according to the first AP router information; and controlling the WIFI chip to be connected with the first AP according to the connection command.
Optionally, the processing unit 402 is further configured to transmit a connection command to the WIFI chip if the time difference is greater than the time threshold, where the connection command includes judgment information, and the judgment information is used to indicate whether the time difference of the WIFI chip exceeds the time threshold; and controlling the WIFI chip to judge whether the beacon frame broadcasted by the first AP has the routing information of the first AP or not, if so, accessing the first AP according to the routing information, and if not, executing secondary scanning, if the scanning result of the secondary scanning contains the routing information of the first AP, and accessing the first AP according to the routing information of the first AP.
Optionally, the processing unit 402 is further configured to detect a terminal connection number of the first AP, and send a connection command to the WIFI chip when the number is lower than a number threshold.
Optionally, the processing unit 402 is further configured to detect a terminal moving speed of the first AP, and send a connection command to the WIFI chip when the moving speed is lower than a speed threshold.
Optionally, the processing unit 402 is further configured to detect a packet loss rate of the first AP, and send the connection command to the WIFI chip when the packet loss rate is lower than a packet loss rate threshold.
The invention also provides an intelligent terminal which comprises the device 400 for accelerating the WIFI connection.
The details of embodiments of the invention, and the invention may be embodied in other specific forms without departing from the spirit or essential characteristics thereof. The present embodiments are therefore to be considered in all respects as illustrative and not restrictive, the scope of the invention being indicated by the appended claims rather than by the foregoing description, and all changes which come within the meaning and range of equivalency of the claims are therefore intended to be embraced therein. Any reference sign in a claim should not be construed as limiting the claim concerned. Furthermore, it is obvious that the word "comprising" does not exclude other elements or steps, and the singular does not exclude the plural. A plurality of units or means recited in the system claims may also be implemented by one unit or means in software or hardware. The terms first, second, etc. are used to denote names, but not 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, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown 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 will also be noted that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
Referring to fig. 5, an embodiment of the present invention further provides a terminal 500, where the terminal 500 includes, but is not limited to: as shown in fig. 5, the terminal 500 includes a smart phone, a smart watch, a tablet computer, a personal computer, a notebook computer, or a computer group: a processor 501, a memory 502, a transceiver 503, and a bus 504. The transceiver 503 is used for transmitting and receiving data to and from an external device. The number of processors 501 in the device 500 may be one or more. In some embodiments of the present application, the processor 501, the memory 502, and the transceiver 503 may be connected by a bus system or other means. The apparatus 500 may be used to perform the methods illustrated in fig. 1, 2, and 3. Regarding the meaning and examples of the terms related to the present embodiment, reference may be made to the corresponding descriptions of fig. 1, fig. 2, and fig. 3. And will not be described in detail herein.
Wherein the memory 402 has program code stored therein. The processor 401 is configured to call the program code stored in the memory 402 for performing the steps shown in fig. 1, 2, and 3.
It should be noted that the processor 501 may be a single processing element or may be a general term for multiple processing elements. For example, the Processing element may be a Central Processing Unit (CPU), an Application Specific Integrated Circuit (ASIC), or one or more Integrated circuits configured to implement embodiments of the present Application, such as: one or more microprocessors (DSPs), or one or more Field Programmable Gate Arrays (FPGAs).
The memory 502 may be a storage device or a combination of storage elements, and is used for storing executable program codes or parameters, data, etc. required by the running device of the application program. And the memory 403 may include a Random Access Memory (RAM) or a non-volatile memory (non-volatile memory), such as a magnetic disk memory, a Flash memory (Flash), and the like.
The bus 504 may be an Industry Standard Architecture (ISA) bus, a Peripheral Component Interconnect (PCI) bus, an Extended ISA (EISA) bus, or the like. The bus may be divided into an address bus, a data bus, a control bus, etc. For ease of illustration, only one thick line is shown in FIG. 5, but this is not intended to represent only one bus or type of bus.
The terminal may also include input and output devices coupled to bus 504 for interfacing with other components, such as processor 401, via the bus. The input and output device can provide an input interface for an operator so that the operator can select a control item through the input interface, and can also be other interfaces through which other equipment can be externally connected.
It is clear to those skilled in the art that, for convenience and brevity of description, the specific working processes of the above-described systems, apparatuses and units may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
In the several embodiments provided in the present application, it should be understood that the disclosed system, apparatus and method may be implemented in other ways. The above-described embodiments of the apparatus are merely illustrative, and for example, the division of the units is only one logical division, and there may be other divisions when actually implemented, and for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection of devices or units through some communication interfaces, and may be in an electrical, mechanical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit.
The functions, if implemented in the form of software functional units and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present invention may be embodied in the form of a software product, which is stored in a storage medium and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method according to the embodiments of the present invention. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and other various media capable of storing program codes.
Finally, it should be noted that: the above embodiments are only used to illustrate the technical solution of the present invention, and not to limit the same; while the invention has been described in detail and with reference to the foregoing embodiments, it will be understood by those skilled in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some or all of the technical features may be equivalently replaced; such modifications and substitutions do not depart from the spirit and scope of the present invention, and they should be construed as being included in the following claims and description.

Claims (11)

1. A method for accelerating WIFI connection, comprising the steps of:
the intelligent terminal receives a guide beacon frame broadcasted by an access point, wherein the guide frame comprises: the routing name of the first access point AP, wherein the beacon frame is continuously broadcasted by the first access point AP at a preset frequency, and the preset frequency is set by a user as required;
the method comprises the steps that after the intelligent terminal detects that a user opens a WIFI connection, a connection command is initiated, wherein the WIFI connection opening is carried out after the intelligent terminal receives control commands of other terminals, and the control commands are sent by the other terminals connected with the intelligent terminal in a wireless mode;
after determining a connection command, the intelligent terminal extracts the first time of scanning the first AP routing information for the last time, calculates the time difference between the first time and the current time, and transmits the connection command to the WIFI chip if the time difference is smaller than a time threshold value, wherein the connection command is used for indicating the WIFI chip to connect the first AP according to the first AP router information;
and the WIFI chip of the intelligent terminal is connected with the first AP according to the connection command.
2. The method of claim 1, further comprising:
if the time difference is larger than the time threshold, transmitting a connection command to the WIFI chip, wherein the connection command comprises judgment information, and the judgment information is used for indicating whether the time difference of the WIFI chip exceeds the time threshold or not;
the WIFI chip of the intelligent terminal judges whether a beacon frame broadcasted by the first AP has routing information of the first AP or not, if the beacon frame is judged to have the routing information of the first AP, the beacon frame is accessed to the first AP according to the routing information, if the beacon frame is judged not to have the routing information of the first AP, re-scanning is executed, if a scanning result of the re-scanning contains the routing information of the first AP, the beacon frame is accessed to the first AP according to the routing information of the first AP.
3. The method of claim 1, further comprising, prior to communicating the connection command to the WIFI chip:
and detecting the terminal connection number of the first AP, and sending a connection command to the WIFI chip when the number is lower than a number threshold value.
4. The method of claim 1, further comprising, prior to communicating the connection command to the WIFI chip:
and detecting the moving speed of the terminal of the first AP, and sending a connection command to the WIFI chip when the moving speed is lower than a speed threshold value.
5. The method of claim 1, further comprising, prior to communicating the connection command to the WIFI chip:
and detecting the packet loss rate of the first AP, and sending a connection command to the WIFI chip when the packet loss rate is lower than a packet loss rate threshold value.
6. A device for expediting the connection of WIFI for controlling the WIFI connection of a smart device, the device comprising:
a transceiving unit, configured to receive a beacon frame broadcasted by an access point, where the beacon frame includes: the routing name of the first access point AP, wherein the beacon frame is continuously broadcasted by the first access point AP at a preset frequency, and the preset frequency is set by a user as required;
the processing unit is used for initiating a connection command after detecting that a user opens a WIFI connection, wherein the WIFI connection opening is performed after the intelligent terminal receives control commands of other terminals, and the control commands are sent by the other terminals connected with the intelligent terminal in a wireless mode; after a connection command is determined, extracting the first time of scanning the first AP routing information for the last time, calculating the time difference between the first time and the current time, and if the time difference is smaller than a time threshold, transmitting the connection command to a WIFI chip, wherein the connection command is used for indicating the WIFI chip to connect the first AP according to the first AP router information; and controlling the WIFI chip to be connected with the first AP according to the connection command.
7. The device of claim 6, wherein the processing unit is further configured to, if the time difference is greater than a time threshold, transmit a connection command to the WIFI chip, where the connection command includes judgment information indicating whether the time difference exceeds the time threshold; and controlling the WIFI chip to judge whether the beacon frame broadcasted by the first AP has the routing information of the first AP or not, if so, accessing the first AP according to the routing information, and if not, executing secondary scanning, if the scanning result of the secondary scanning contains the routing information of the first AP, and accessing the first AP according to the routing information of the first AP.
8. The apparatus of claim 6, wherein the processing unit is further configured to detect a number of terminal connections of the first AP, and send a connection command to the WIFI chip when the number is lower than a number threshold.
9. The apparatus of claim 6, wherein the processing unit is further configured to detect a moving speed of the terminal of the first AP, and send the connection command to the WIFI chip when the moving speed is lower than a speed threshold.
10. The apparatus according to claim 6, wherein the processing unit is further configured to detect a packet loss rate of the first AP, and send the connection command to the WIFI chip when the packet loss rate is lower than a packet loss rate threshold.
11. An intelligent terminal, characterized in that, intelligent terminal includes: 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 a computer program;
the processing unit is configured to invoke the computer program to execute the method for accelerating the WIFI connection according to any one of claims 1 to 5.
CN201611118310.9A 2016-12-07 2016-12-07 Connection method and device for accelerating wireless fidelity Active CN106604304B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201611118310.9A CN106604304B (en) 2016-12-07 2016-12-07 Connection method and device for accelerating wireless fidelity

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201611118310.9A CN106604304B (en) 2016-12-07 2016-12-07 Connection method and device for accelerating wireless fidelity

Publications (2)

Publication Number Publication Date
CN106604304A CN106604304A (en) 2017-04-26
CN106604304B true CN106604304B (en) 2019-12-31

Family

ID=58596910

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201611118310.9A Active CN106604304B (en) 2016-12-07 2016-12-07 Connection method and device for accelerating wireless fidelity

Country Status (1)

Country Link
CN (1) CN106604304B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107911831B (en) * 2017-11-16 2022-03-01 北京小米移动软件有限公司 Method, device, equipment and storage medium for reminding user to replace router

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP2203020A1 (en) * 2008-12-23 2010-06-30 Research In Motion Limited Scanning methods and apparatus for mobile devices in wireless local area networks for reduced power consumption
CN102497638A (en) * 2011-12-21 2012-06-13 上海云联计算机系统有限公司 Method, system and mobile terminal for accessing public wireless local area network quickly
CN104469888A (en) * 2015-01-04 2015-03-25 重庆邮电大学 Wireless access control method and device for software defined network (SDN)
CN104768156A (en) * 2015-04-30 2015-07-08 北京奇虎科技有限公司 WiFi connection method and device
CN105246131A (en) * 2015-09-29 2016-01-13 东软集团股份有限公司 Method and device for connecting terminal with AP (Wireless Access Point)
CN105491642A (en) * 2015-11-25 2016-04-13 小米科技有限责任公司 Network connection method and device

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP2203020A1 (en) * 2008-12-23 2010-06-30 Research In Motion Limited Scanning methods and apparatus for mobile devices in wireless local area networks for reduced power consumption
CN102497638A (en) * 2011-12-21 2012-06-13 上海云联计算机系统有限公司 Method, system and mobile terminal for accessing public wireless local area network quickly
CN104469888A (en) * 2015-01-04 2015-03-25 重庆邮电大学 Wireless access control method and device for software defined network (SDN)
CN104768156A (en) * 2015-04-30 2015-07-08 北京奇虎科技有限公司 WiFi connection method and device
CN105246131A (en) * 2015-09-29 2016-01-13 东软集团股份有限公司 Method and device for connecting terminal with AP (Wireless Access Point)
CN105491642A (en) * 2015-11-25 2016-04-13 小米科技有限责任公司 Network connection method and device

Also Published As

Publication number Publication date
CN106604304A (en) 2017-04-26

Similar Documents

Publication Publication Date Title
CN107801222B (en) Bluetooth and WiFi switching method and system, client and wireless access point equipment
EP3468256B1 (en) Fast wireless fidelity connection method and apparatus
EP3108694B1 (en) Traffic steering between wlan and cellular networks
EP2905696A1 (en) Printer and printing system
US9572187B2 (en) Information processing apparatus, information processing method, and program
CN103780672A (en) Wi-fi p2p communication terminal device and communication method thereof
CN109769279B (en) Out-of-service state control method and device and mobile terminal
CN103974376A (en) Network connection assisting system and method
EP3783957B1 (en) Transmission path switching method, computer-readable storage medium and device
US20180220391A1 (en) Network registration method and mobile device
CN107484214B (en) Internet of things access point frequency point selection method and device
EP3177097B1 (en) Method for establishing network connection by means of wps, and mobile wi-fi device and computer storage medium
CN104918296A (en) Network connection assistance system and method
KR102471674B1 (en) Method and apparatus of text input for wearable device
CN106604304B (en) Connection method and device for accelerating wireless fidelity
CN106162775B (en) Method and device for accessing wireless network
CN105578499A (en) WIFI wireless fidelity processing method and terminal
CN105722192B (en) Network connection method, electronic equipment and system
EP3048858B1 (en) Wireless customer premise equipment and accessing method therefor
WO2018103446A1 (en) Method and device for wireless fidelity quick connection
US9717107B2 (en) Method for peer-to-peer data transfer using wireless local area network radio equipment
EP2925045B1 (en) Compression mode activation method, network side device and terminal device
CN105188155A (en) Network connection method and terminal
US20130252555A1 (en) Apparatus and method for link setup using electric field
JP6296502B2 (en) Communications system

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
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: OPPO Guangdong Mobile Communications Co., Ltd.

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

Applicant before: Guangdong Opel Mobile Communications Co., Ltd.

CB02 Change of applicant information
GR01 Patent grant
GR01 Patent grant