[go: up one dir, main page]

CN109362120A - Scan period method of adjustment and device - Google Patents

Scan period method of adjustment and device Download PDF

Info

Publication number
CN109362120A
CN109362120A CN201811296210.4A CN201811296210A CN109362120A CN 109362120 A CN109362120 A CN 109362120A CN 201811296210 A CN201811296210 A CN 201811296210A CN 109362120 A CN109362120 A CN 109362120A
Authority
CN
China
Prior art keywords
hot spot
hot
predetermined period
scan
area
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.)
Pending
Application number
CN201811296210.4A
Other languages
Chinese (zh)
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.)
Beijing Xiaomi Mobile Software Co Ltd
Original Assignee
Beijing Xiaomi Mobile Software Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Xiaomi Mobile Software Co Ltd filed Critical Beijing Xiaomi Mobile Software Co Ltd
Priority to CN201811296210.4A priority Critical patent/CN109362120A/en
Publication of CN109362120A publication Critical patent/CN109362120A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W48/00Access restriction; Network selection; Access point selection
    • H04W48/08Access restriction or access information delivery, e.g. discovery data delivery
    • 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
    • H04W84/00Network topologies
    • H04W84/02Hierarchically pre-organised networks, e.g. paging networks, cellular networks, WLAN [Wireless Local Area Network] or WLL [Wireless Local Loop]
    • H04W84/10Small scale networks; Flat hierarchical networks
    • H04W84/12WLAN [Wireless Local Area Networks]

Landscapes

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

Abstract

The disclosure is directed to scan period method of adjustment and devices.This method comprises: obtaining current location information when not connected any hot spot;When the current location information is in the coverage area of the first hot spot in default coverage area set, the scan period for shortening scan hot spot foreshortens to the second predetermined period by the first predetermined period;First hot spot is the hot spot connected.In the technical solution, after entering the coverage area of the first hot spot connected, the shortening scan period can be scanned faster to the first hot spot, and the speed of the first hot spot of connection is improved, and improve user experience.

Description

Scan period method of adjustment and device
Technical field
This disclosure relates to the communications field more particularly to scan period method of adjustment and device.
Background technique
Currently, the information of hot spot can be saved after terminal connection wireless network (WIreless-Fidelity, WiFi) hot spot, After the connection of terminal and Wi-Fi hotspot disconnects, no matter terminal where all can (interval time lengths be at interval of a period of time T, T are greater than 0 second) it is scanned for the Wi-Fi hotspot of surrounding, if it find that the Wi-Fi hotspot information being saved is just to its company of initiation It connects.
Summary of the invention
The embodiment of the present disclosure provides scan period method of adjustment and device.The technical solution is as follows:
According to the first aspect of the embodiments of the present disclosure, a kind of scan period method of adjustment is provided, comprising:
When not connected any hot spot, current location information is obtained;
When the current location information is in the coverage area of the first hot spot in default coverage area set, shorten scanning The scan period of hot spot foreshortens to the second predetermined period by the first predetermined period;First hot spot is the hot spot connected.
The technical scheme provided by this disclosed embodiment can include the following benefits: when hot into first connected After the coverage area of point, the shortening scan period can be scanned faster to the first hot spot, improve the speed of the first hot spot of connection Degree improves user experience.
The method also includes:
When First Contact Connections second hot area, the hot information of the second hot area is obtained, the hot information includes the Two hotspot names, second hot area password and second hot area coverage distance;
Mark the coverage area of the second hot area;
The coverage area of the second hot area is stored to the default coverage area set;
Store the second hot area title and second hot area password.
In one embodiment, the scan period for shortening scan hot spot foreshortens to second by the first predetermined period and presets After period, the method also includes:
According to the hot spot around second predetermined period scanning;
If being not attached to any hot spot within the n scan periods, extend the scan period to third default week Phase, the n are positive integers, and the third predetermined period is greater than first predetermined period.
In one embodiment, the scan period for shortening scan hot spot foreshortens to second by the first predetermined period and presets After period, the method also includes:
According to the hot spot around second predetermined period scanning;
When first hot spot is arrived in scanning, stored first hot spot password is obtained;
First hot spot is connected according to the first hot spot password;
Stop obtaining location information.
In one embodiment, the method also includes:
When the current location information is not in the coverage area of any hot spot in default coverage area set, institute is kept Stating the scan period is the first predetermined period.
According to the second aspect of an embodiment of the present disclosure, a kind of scan period adjustment device is provided characterized by comprising
First obtains module, for obtaining current location information when not connected any hot spot;
Shorten module, for being in the covering model of the first hot spot in default coverage area set when the current location information When enclosing, the scan period for shortening scan hot spot foreshortens to the second predetermined period by the first predetermined period;First hot spot is to connect The hot spot taken over.
In one embodiment, described device further include:
Second obtains module, for obtaining the hot information of the second hot area, institute when First Contact Connections second hot area Stating hot information includes second hot area title, second hot area password and second hot area coverage distance;
Mark module, for marking the coverage area of the second hot area;
Memory module, for storing the coverage area of the second hot area to the default coverage area set;Storage institute State second hot area title and second hot area password.
In one embodiment, described device further include:
First scan module, for according to the hot spot around second predetermined period scanning;
Extend module, if extending the scan period for being not attached to any hot spot within the n scan periods To third predetermined period, the n is positive integer, and the third predetermined period is greater than first predetermined period.
In one embodiment, described device further include:
Second scan module, for according to the hot spot around second predetermined period scanning;
Third obtains module, for obtaining stored first hot spot password when first hot spot is arrived in scanning;
Link block, for connecting first hot spot according to the first hot spot password;
Stopping modular obtains location information for stopping.
In one embodiment, described device further include:
Module is kept, for not being in the covering of any hot spot in default coverage area set when the current location information When range, being kept for the scan period is the first predetermined period.
According to the third aspect of an embodiment of the present disclosure, a kind of scan period adjustment device is provided, comprising:
Processor;
Memory for storage processor executable instruction;
Wherein, the processor is configured to:
When not connected any hot spot, current location information is obtained;
When the current location information is in the coverage area of the first hot spot in default coverage area set, shorten scanning The scan period of hot spot foreshortens to the second predetermined period by the first predetermined period;First hot spot is the hot spot connected.
It should be understood that above general description and following detailed description be only it is exemplary and explanatory, not The disclosure can be limited.
Detailed description of the invention
The drawings herein are incorporated into the specification and forms part of this specification, and shows the implementation for meeting the disclosure Example, and together with specification for explaining the principles of this disclosure.
Fig. 1 is the flow chart of scan period adjusting method shown according to an exemplary embodiment.
Fig. 2 is the flow chart of scan period adjusting method shown according to an exemplary embodiment.
Fig. 3 a is the flow chart of scan period adjusting method shown according to an exemplary embodiment.
Fig. 3 b is the flow chart of scan period adjusting method shown according to an exemplary embodiment.
Fig. 4 is the flow chart of scan period adjusting method shown according to an exemplary embodiment.
Fig. 5 is the flow chart of scan period adjusting method shown according to an exemplary embodiment.
Fig. 6 is the block diagram of scan period regulating device shown according to an exemplary embodiment.
Fig. 7 is the block diagram of scan period regulating device shown according to an exemplary embodiment.
Fig. 8 is the block diagram of scan period regulating device shown according to an exemplary embodiment.
Fig. 9 is the block diagram of scan period regulating device shown according to an exemplary embodiment.
Figure 10 is the block diagram of scan period regulating device shown according to an exemplary embodiment.
Figure 11 is the block diagram of scan period regulating device shown according to an exemplary embodiment.
Specific embodiment
Example embodiments are described in detail here, and the example is illustrated in the accompanying drawings.Following description is related to When attached drawing, unless otherwise indicated, the same numbers in different drawings indicate the same or similar elements.Following exemplary embodiment Described in embodiment do not represent all implementations consistent with this disclosure.On the contrary, they be only with it is such as appended The example of the consistent device and method of some aspects be described in detail in claims, the disclosure.
In the related technology, after mobile phone enters office building elevator, since WiFi signal weakens or loses, connection will break It opens, averagely needs to wait the time of T can just start the hot spot around scanning when mobile phone goes out elevator.If T value is larger, mobile phone goes out The time of average waiting is just grown after elevator.If T value is smaller, mobile phone is also frequently being scanned when the hot spot not saved around Wi-Fi hotspot increases power consumption.
Fig. 1 is a kind of flow chart of scan period method of adjustment shown according to an exemplary embodiment, as shown in Figure 1, Scan period method of adjustment is in scan period adjustment device, which to be applied to terminal, and this method may include following step Rapid 101-102:
In a step 101, when not connected any hot spot, current location information is obtained.
What the current location information in the present embodiment can be obtained by global positioning system.Current location information characterization is eventually The position being presently in is held, corresponding current location information may include current longitude, latitude and height.
In a step 102, when current location information is in the coverage area of the first hot spot in default coverage area set, The scan period for shortening scan hot spot foreshortens to the second predetermined period by the first predetermined period.
Wherein, the first hot spot is the hot spot connected.For the hot spot connected, device can store the hot spot name by hot spot Claim and hot spot password.
Default coverage area set includes the coverage area of all hot spots connected;Wherein, coverage area includes longitude Range, latitude scope and altitude range.When the first predetermined period is T, then, the second predetermined period is T/i, and here, i is greater than 1.
Assuming that user's handheld terminal is walked out from elevator, terminal immediately obtains current location information, if terminal is judged In the coverage area of the first hot spot connected, terminal will be according to the heat around the scanning of the scan period of T/i for that current position Point, compared in the related technology according to the hot spot around the scan period scanning of T, it is obvious that for same time, scan period Smaller, the present embodiment scanning times are more, and the chance scanned to the first hot spot is also more, therefore, connect upper first hot spot when Between can be shorter.
In the present embodiment, after entering the coverage area of the first hot spot connected, shortening the scan period can be more Fast scanning improves the speed of the first hot spot of connection to the first hot spot, improves user experience.
In one embodiment, Fig. 2 is a kind of stream of scan period method of adjustment shown according to an exemplary embodiment Cheng Tu, as shown in Fig. 2, the method also includes:
In step 103, when First Contact Connections second hot area, the hot information of second hot area, hot information packet are obtained Include second hot area title, second hot area password and second hot area coverage distance.
Here, First Contact Connections second hot area may include a variety of situations, for example, user manually selects hot spot, and input Hot spot password;Other people share hot spot etc. by two dimensional code.
At step 104, the coverage area of second hot area is marked.
In the present embodiment, marking the coverage area of second hot area may include the following method:
The first, is marked by the place where second hot area.For example, the place of second hot area is the dining room XX, XX meal Range where the Room is exactly coverage area, i.e., when detecting that device enters the dining room XX, illustrates that device is in second hot area Coverage area.
It second, is marked by the signal strength or weakness of second hot area, acquisition device is from the position for detecting the signal for the first time It sets one-time detection to the end and outlines covering of the range where these positions as second hot area in collection chamber to the position of signal Range.For example, the hot spot of user's family, user's handheld terminal is away from home go out after take elevator path be it is certain, use Family may also can connect to second hot area in certain path after going out, therefore, according to the map, by family and this path institute Corridor be all used as the coverage area of second hot area.
In step 105, the coverage area of second hot area is stored to default coverage area set.
In step 106, second hot area title and second hot area password are stored.
In one embodiment, Fig. 3 a is a kind of stream of scan period method of adjustment shown according to an exemplary embodiment Cheng Tu, as shown in Figure 3a, the scan period of step 102 in Fig. 1, i.e. shortening scan hot spot foreshorten to second by the first predetermined period After predetermined period, the method also includes:
In step 107, according to the hot spot around the scanning of the second predetermined period.
In step 108, if being not attached to any hot spot within the n scan periods, extend the scan period To third predetermined period.
Here, the n is positive integer, and the third predetermined period is greater than first predetermined period.
It will be apparent that the scan period is shorter, more therefore waste electricity if encountering situations such as hot spot changes, be cannot connect to Hot spot, the second predetermined period scan hot spot also cannot connect to hot spot again for continuation.Since this position is connected to hot spot Likelihood ratio does not want small also in the probability that the coverage area of hot spot is connected to hot spot, therefore, from the angle of economize on electricity, third predetermined period What be can be set is longer, in this way, third predetermined period is T/j, wherein T is the first predetermined period, and j belongs to 0 to 1 area Between.
In one embodiment, Fig. 3 b is a kind of stream of scan period method of adjustment shown according to an exemplary embodiment Cheng Tu, as shown in Figure 3b, the scan period of step 102 in Fig. 1, i.e. shortening scan hot spot foreshorten to second by the first predetermined period After predetermined period, the method also includes:
In step 109, according to the hot spot around the scanning of the second predetermined period.
In step 110, when scanning is to the first hot spot, stored first hot spot password is obtained.
In step 111, the first hot spot is connected according to the first hot spot password.
Here, after being connected to hot spot, device can also scan hot spot, the period of the scanning is identical as the relevant technologies, The present embodiment is not detailed.
In step 112, stop obtaining location information.
Due to having connected upper first hot spot, location information is also useless, therefore, stops obtaining position letter Breath, at the same time, has also achieved the purpose of economize on electricity.
In one embodiment, Fig. 4 is a kind of stream of scan period method of adjustment shown according to an exemplary embodiment Cheng Tu, as shown in figure 4, the method also includes:
In step 113, when current location information is not in the coverage area of any hot spot in default coverage area set When, the holding scan period is the first predetermined period.
In the present embodiment, if being in the coverage area of at least two hot spots simultaneously, where is first scanning to which hot spot connection It is a.Hot spot in the present embodiment can be Wi-Fi hotspot.
Fig. 5 is a kind of flow chart of scan period method of adjustment shown according to an exemplary embodiment, as shown in figure 5, Scan period method of adjustment is used for smart phone, and this method may include step 201 to 209:
In step 201, when not connected any hot spot, current location information is obtained.
In step 202, whether detection current location information is in the covering of any hot spot in default coverage area set Range.If so, thening follow the steps 203;If it is not, thening follow the steps 209.
In step 203, the scan period for shortening scan hot spot foreshortens to the second predetermined period by the first predetermined period.
In step 204, according to the hot spot around the scanning of the second predetermined period.
In step 205, if being not attached to any hot spot within n scan period, it is pre- to third to extend the scan period If the period.
Here, n is positive integer, and third predetermined period is greater than the first predetermined period.
In step 206, when scanning is to the first hot spot, stored first hot spot password is obtained.
In step 207, the first hot spot is connected according to the first hot spot password.
In a step 208, stop obtaining location information.
In step 209, keeping the scan period is the first predetermined period.
The present embodiment can adjust the scan period of search hot spot according to the position of terminal, both ensure that energy fast search arrived The hot spot that can connect, and achieved the effect that economize on electricity.
Following is embodiment of the present disclosure, can be used for executing embodiments of the present disclosure.
Fig. 6 is a kind of block diagram of scan period adjustment device shown according to an exemplary embodiment, which can lead to Cross being implemented in combination with as some or all of of electronic equipment of software, hardware or both.As shown in fig. 6, the scan period Adjusting device includes:
First obtains module 301, for obtaining current location information when not connected any hot spot;
Shorten module 302, for being in covering for the first hot spot in default coverage area set when the current location information When lid range, the scan period for shortening scan hot spot foreshortens to the second predetermined period by the first predetermined period;First hot spot It is the hot spot connected.
In one embodiment, as shown in fig. 7, described device further include:
Second obtains module 303, for when First Contact Connections second hot area, obtaining the hot spot letter of the second hot area Breath, the hot information includes second hot area title, second hot area password and second hot area coverage distance;
Mark module 304, for marking the coverage area of the second hot area;
Memory module 305, for storing the coverage area of the second hot area to the default coverage area set;Storage The second hot area title and second hot area password.
In one embodiment, as shown in figure 8, described device further include:
First scan module 306, for according to the hot spot around second predetermined period scanning;
Extend module 307, if extending the scanning for being not attached to any hot spot within the n scan periods Period is positive integer to third predetermined period, the n, and the third predetermined period is greater than first predetermined period.
In one embodiment, as shown in figure 9, described device further include:
Second scan module 308, for according to the hot spot around second predetermined period scanning;
Third obtains module 309, for obtaining stored first hot spot password when first hot spot is arrived in scanning;
Link block 310, for connecting first hot spot according to the first hot spot password;
Stopping modular 311 obtains location information for stopping.
In one embodiment, as shown in Figure 10, described device further include:
Module 312 is kept, for not being in any hot spot in default coverage area set when the current location information When coverage area, being kept for the scan period is the first predetermined period.
According to the third aspect of an embodiment of the present disclosure, a kind of scan period adjustment device is provided, comprising:
Processor;
Memory for storage processor executable instruction;
Wherein, processor is configured as:
When not connected any hot spot, current location information is obtained;
When the current location information is in the coverage area of the first hot spot in default coverage area set, shorten scanning The scan period of hot spot foreshortens to the second predetermined period by the first predetermined period;First hot spot is the hot spot connected.
Above-mentioned processor is also configured to:
The method also includes:
When First Contact Connections second hot area, the hot information of the second hot area is obtained, the hot information includes the Two hotspot names, second hot area password and second hot area coverage distance;
Mark the coverage area of the second hot area;
The coverage area of the second hot area is stored to the default coverage area set;
Store the second hot area title and second hot area password.
After the scan period to predetermined period for shortening scan hot spot, the method also includes:
According to the hot spot around second predetermined period scanning;
If being not attached to any hot spot within the n scan periods, extend the scan period to third default week Phase, the n are positive integers, and the third predetermined period is greater than first predetermined period.
After the scan period to predetermined period for shortening scan hot spot, the method also includes:
According to the hot spot around second predetermined period scanning;
When first hot spot is arrived in scanning, stored first hot spot password is obtained;
First hot spot is connected according to the first hot spot password;
Stop obtaining location information.
The method also includes:
When the current location information is not in the coverage area of any hot spot in default coverage area set, institute is kept Stating the scan period is the first predetermined period.
About the device in above-described embodiment, wherein modules execute the concrete mode of operation in related this method Embodiment in be described in detail, no detailed explanation will be given here.
Figure 11 is a kind of block diagram for scan period adjustment device shown according to an exemplary embodiment, and the device is suitable For terminal device.For example, device 1700 can be mobile phone, computer, digital broadcasting terminal, messaging device, trip Play console, tablet device, Medical Devices, body-building equipment, personal digital assistant etc..
Device 1700 may include following one or more components: processing component 1702, memory 1704, power supply module 1706, multimedia component 1708, audio component 1710, input/output (I/O) interface 1712, sensor module 1714, and Communication component 1716.
The integrated operation of the usual control device 1700 of processing component 1702, such as with display, telephone call, data communication, Camera operation and record operate associated operation.Processing component 1702 may include one or more processors 1720 to execute Instruction, to perform all or part of the steps of the methods described above.In addition, processing component 1702 may include one or more moulds Block, convenient for the interaction between processing component 1702 and other assemblies.For example, processing component 1702 may include multi-media module, To facilitate the interaction between multimedia component 1708 and processing component 1702.
Memory 1704 is configured as storing various types of data to support the operation in device 1700.These data Example includes the instruction of any application or method for operating on device 1700, contact data, telephone book data, Message, picture, video etc..Memory 1704 can by any kind of volatibility or non-volatile memory device or they Combination is realized, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), it is erasable can Program read-only memory (EPROM), programmable read only memory (PROM), read-only memory (ROM), magnetic memory, flash memory Reservoir, disk or CD.
Power supply module 1706 provides electric power for the various assemblies of device 1700.Power supply module 1706 may include power management System, one or more power supplys and other with for device 1700 generate, manage, and distribute the associated component of electric power.
Multimedia component 1708 includes the screen of one output interface of offer between described device 1700 and user.? In some embodiments, screen may include liquid crystal display (LCD) and touch panel (TP).If screen includes touch panel, Screen may be implemented as touch screen, to receive input signal from the user.Touch panel includes that one or more touch passes Sensor is to sense the gesture on touch, slide, and touch panel.The touch sensor can not only sense touch or sliding is dynamic The boundary of work, but also detect duration and pressure associated with the touch or slide operation.In some embodiments, more Media component 1708 includes a front camera and/or rear camera.When device 1700 is in operation mode, as shot mould When formula or video mode, front camera and/or rear camera can receive external multi-medium data.Each preposition camera shooting Head and rear camera can be a fixed optical lens system or have focusing and optical zoom capabilities.
Audio component 1710 is configured as output and/or input audio signal.For example, audio component 1710 includes one Microphone (MIC), when device 1700 is in operation mode, when such as call mode, recording mode, and voice recognition mode, microphone It is configured as receiving external audio signal.The received audio signal can be further stored in memory 1704 or via logical Believe that component 1716 is sent.In some embodiments, audio component 1710 further includes a loudspeaker, is used for output audio signal.
I/O interface 1712 provides interface, above-mentioned peripheral interface module between processing component 1702 and peripheral interface module It can be keyboard, click wheel, button etc..These buttons may include, but are not limited to: home button, volume button, start button and Locking press button.
Sensor module 1714 includes one or more sensors, and the state for providing various aspects for device 1700 is commented Estimate.For example, sensor module 1714 can detecte the state that opens/closes of device 1700, the relative positioning of component, such as institute The display and keypad that component is device 1700 are stated, sensor module 1714 can be with detection device 1700 or device 1,700 1 The position change of a component, the existence or non-existence that user contacts with device 1700,1700 orientation of device or acceleration/deceleration and dress Set 1700 temperature change.Sensor module 1714 may include proximity sensor, be configured in not any physics It is detected the presence of nearby objects when contact.Sensor module 1714 can also include optical sensor, as CMOS or ccd image are passed Sensor, for being used in imaging applications.In some embodiments, which can also include acceleration sensing Device, gyro sensor, Magnetic Sensor, pressure sensor or temperature sensor.
Communication component 1716 is configured to facilitate the communication of wired or wireless way between device 1700 and other equipment.Dress The wireless network based on communication standard, such as WiFi can be accessed by setting 1700,2G or 3G or their combination.It is exemplary at one In embodiment, communication component 1716 receives broadcast singal or broadcast correlation from external broadcasting management system via broadcast channel Information.In one exemplary embodiment, the communication component 1716 further includes near-field communication (NFC) module, to promote short distance Communication.For example, radio frequency identification (RFID) technology, Infrared Data Association (IrDA) technology, ultra wide band can be based in NFC module (UWB) technology, bluetooth (BT) technology and other technologies are realized.
In the exemplary embodiment, device 1700 can be by one or more application specific integrated circuit (ASIC), number Signal processor (DSP), digital signal processing appts (DSPD), programmable logic device (PLD), field programmable gate array (FPGA), controller, microcontroller, microprocessor or other electronic building bricks are realized, for executing the above method.
In the exemplary embodiment, a kind of non-transitorycomputer readable storage medium including instruction, example are additionally provided It such as include the memory 1704 of instruction, above-metioned instruction can be executed by the processor 1720 of device 1700 to complete the above method.Example Such as, the non-transitorycomputer readable storage medium can be ROM, random access memory (RAM), CD-ROM, tape, soft Disk and optical data storage devices etc..
A kind of non-transitorycomputer readable storage medium, when the instruction in the storage medium is by device 1700 When managing device execution, so that device 1700 is able to carry out above-mentioned scan period method of adjustment, which comprises
When not connected any hot spot, current location information is obtained;
When the current location information is in the coverage area of the first hot spot in default coverage area set, shorten scanning The scan period of hot spot foreshortens to the second predetermined period by the first predetermined period;First hot spot is the hot spot connected.
The method also includes:
When First Contact Connections second hot area, the hot information of the second hot area is obtained, the hot information includes the Two hotspot names, second hot area password and second hot area coverage distance;
Mark the coverage area of the second hot area;
The coverage area of the second hot area is stored to the default coverage area set;
Store the second hot area title and second hot area password.
After the scan period to predetermined period for shortening scan hot spot, the method also includes:
According to the hot spot around second predetermined period scanning;
If being not attached to any hot spot within the n scan periods, extend the scan period to third default week Phase, the n are positive integers, and the third predetermined period is greater than first predetermined period.
After the scan period to predetermined period for shortening scan hot spot, the method also includes:
According to the hot spot around second predetermined period scanning;
When first hot spot is arrived in scanning, stored first hot spot password is obtained;
First hot spot is connected according to the first hot spot password;
Stop obtaining location information.
The method also includes:
When the current location information is not in the coverage area of any hot spot in default coverage area set, institute is kept Stating the scan period is the first predetermined period.
Those skilled in the art will readily occur to its of the disclosure after considering specification and practicing disclosure disclosed herein Its embodiment.This application is intended to cover any variations, uses, or adaptations of the disclosure, these modifications, purposes or Person's adaptive change follows the general principles of this disclosure and including the undocumented common knowledge in the art of the disclosure Or conventional techniques.The description and examples are only to be considered as illustrative, and the true scope and spirit of the disclosure are by following Claim is pointed out.
It should be understood that the present disclosure is not limited to the precise structures that have been described above and shown in the drawings, and And various modifications and changes may be made without departing from the scope thereof.The scope of the present disclosure is only limited by the accompanying claims.

Claims (12)

1. a kind of scan period method of adjustment characterized by comprising
When not connected any hot spot, current location information is obtained;
When the current location information is in the coverage area of the first hot spot in default coverage area set, shorten scan hot spot Scan period the second predetermined period is foreshortened to by the first predetermined period;First hot spot is the hot spot connected.
2. the method according to claim 1, wherein the method also includes:
When First Contact Connections second hot area, the hot information of the second hot area is obtained, the hot information includes the second heat Point title, second hot area password;
Mark the coverage area of the second hot area;
The coverage area of the second hot area is stored to the default coverage area set;
Store the second hot area title and second hot area password.
3. the method according to claim 1, wherein the scan period for shortening scan hot spot is preset by first After cycle time to the second predetermined period, the method also includes:
According to the hot spot around second predetermined period scanning;
If being not attached to any hot spot within the n scan periods, extend the scan period to third predetermined period, institute Stating n is positive integer, and the third predetermined period is greater than first predetermined period.
4. the method according to claim 1, wherein the scan period for shortening scan hot spot is preset by first After cycle time to the second predetermined period, the method also includes:
According to the hot spot around second predetermined period scanning;
When first hot spot is arrived in scanning, stored first hot spot password is obtained;
First hot spot is connected according to the first hot spot password;
Stop obtaining location information.
5. method according to claim 1-4, which is characterized in that the method also includes:
When the current location information is not in the coverage area of any hot spot in default coverage area set, swept described in holding Retouching the period is the first predetermined period.
6. a kind of scan period adjusts device characterized by comprising
First obtains module, for obtaining current location information when not connected any hot spot;
Shorten module, for being in the coverage area of the first hot spot in default coverage area set when the current location information When, the scan period for shortening scan hot spot foreshortens to the second predetermined period by the first predetermined period;First hot spot is connection The hot spot crossed.
7. device according to claim 6, which is characterized in that described device further include:
Second obtains module, for obtaining the hot information of the second hot area, the heat when First Contact Connections second hot area Point information includes second hot area title, second hot area password and second hot area coverage distance;
Mark module, for marking the coverage area of the second hot area;;
Memory module, for storing the coverage area of the second hot area to the default coverage area set;Store described Two hotspot names and second hot area password.
8. device according to claim 6, which is characterized in that described device further include:
First scan module, for according to the hot spot around second predetermined period scanning;
Extend module, if extending the scan period to for being not attached to any hot spot within n scan periods Three predetermined periods, the n are positive integers, and the third predetermined period is greater than first predetermined period.
9. device according to claim 6, which is characterized in that described device further include:
Second scan module, for according to the hot spot around second predetermined period scanning;
Third obtains module, for obtaining stored first hot spot password when first hot spot is arrived in scanning;
Link block, for connecting first hot spot according to the first hot spot password;
Stopping modular obtains location information for stopping.
10. according to the described in any item devices of claim 6-9, which is characterized in that described device further include:
Module is kept, for not being in the coverage area of any hot spot in default coverage area set when the current location information When, being kept for the scan period is the first predetermined period.
11. a kind of scan period adjusts device characterized by comprising
Processor;
Memory for storage processor executable instruction;
Wherein, the processor is configured to:
When not connected any hot spot, current location information is obtained;
When the current location information is in the coverage area of the first hot spot in default coverage area set, shorten scan hot spot Scan period the second predetermined period is foreshortened to by the first predetermined period;First hot spot is the hot spot connected.
12. a kind of computer readable storage medium, is stored thereon with computer program, which is characterized in that the program is by processor The step of any one of claim 1-5 the method is realized when execution.
CN201811296210.4A 2018-11-01 2018-11-01 Scan period method of adjustment and device Pending CN109362120A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811296210.4A CN109362120A (en) 2018-11-01 2018-11-01 Scan period method of adjustment and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811296210.4A CN109362120A (en) 2018-11-01 2018-11-01 Scan period method of adjustment and device

Publications (1)

Publication Number Publication Date
CN109362120A true CN109362120A (en) 2019-02-19

Family

ID=65343777

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811296210.4A Pending CN109362120A (en) 2018-11-01 2018-11-01 Scan period method of adjustment and device

Country Status (1)

Country Link
CN (1) CN109362120A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110418292A (en) * 2019-07-31 2019-11-05 青岛海信移动通信技术股份有限公司 A kind of method and apparatus adjusting WLAN sweep spacing
CN116017632A (en) * 2022-12-02 2023-04-25 深圳康佳电子科技有限公司 A Wi-Fi automatic reconnection method, device, intelligent terminal and storage medium

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080014934A1 (en) * 2006-07-14 2008-01-17 Srinivasan Balasubramanian Wlan system scanning and selection
CN102714885A (en) * 2010-01-12 2012-10-03 三星电子株式会社 Method and apparatus for automatically connecting short range wireless network in portable terminal
US20150351012A1 (en) * 2014-05-30 2015-12-03 Apple Inc. Device and Method for WiFi Scan Optimization
CN105657651A (en) * 2015-07-31 2016-06-08 宇龙计算机通信科技(深圳)有限公司 WiFi connection control method, terminal equipment and server
CN105898705A (en) * 2016-06-24 2016-08-24 维沃移动通信有限公司 Method for controlling scanning frequency of wireless local area network and mobile terminal
CN107682825A (en) * 2017-09-23 2018-02-09 广东欧珀移动通信有限公司 Scanning frequency control method and related products
CN107820303A (en) * 2017-12-13 2018-03-20 广东欧珀移动通信有限公司 Mobile terminal wireless local area network scanning method and device, computer equipment
CN107820298A (en) * 2017-11-22 2018-03-20 广东欧珀移动通信有限公司 Wireless network management method, wireless network management device and intelligent terminal

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080014934A1 (en) * 2006-07-14 2008-01-17 Srinivasan Balasubramanian Wlan system scanning and selection
CN102714885A (en) * 2010-01-12 2012-10-03 三星电子株式会社 Method and apparatus for automatically connecting short range wireless network in portable terminal
US20150351012A1 (en) * 2014-05-30 2015-12-03 Apple Inc. Device and Method for WiFi Scan Optimization
CN105657651A (en) * 2015-07-31 2016-06-08 宇龙计算机通信科技(深圳)有限公司 WiFi connection control method, terminal equipment and server
CN105898705A (en) * 2016-06-24 2016-08-24 维沃移动通信有限公司 Method for controlling scanning frequency of wireless local area network and mobile terminal
CN107682825A (en) * 2017-09-23 2018-02-09 广东欧珀移动通信有限公司 Scanning frequency control method and related products
CN107820298A (en) * 2017-11-22 2018-03-20 广东欧珀移动通信有限公司 Wireless network management method, wireless network management device and intelligent terminal
CN107820303A (en) * 2017-12-13 2018-03-20 广东欧珀移动通信有限公司 Mobile terminal wireless local area network scanning method and device, computer equipment

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110418292A (en) * 2019-07-31 2019-11-05 青岛海信移动通信技术股份有限公司 A kind of method and apparatus adjusting WLAN sweep spacing
CN116017632A (en) * 2022-12-02 2023-04-25 深圳康佳电子科技有限公司 A Wi-Fi automatic reconnection method, device, intelligent terminal and storage medium

Similar Documents

Publication Publication Date Title
CN104540184B (en) Equipment networking method and device
CN104602204B (en) Visitor's based reminding method and device
CN105407473B (en) WLAN finds method and device
CN105120505B (en) The method, apparatus and system of smart machine couple in router
CN108810866A (en) Connect the method, apparatus and storage medium of smart machine
CN105278841B (en) Control method and device for terminal device
CN106231559A (en) Network access method, device and terminal
US12089101B2 (en) Cell handover method and apparatus, handover configuration method and apparatus, and user equipment
CN105301183B (en) Detection of Air Quality method and apparatus
CN110262692A (en) A kind of touch screen scanning method, device and medium
CN109129484A (en) robot control method, device and storage medium
CN109451811A (en) Unmanned plane management method and device, electronic equipment and computer readable storage medium
CN104837181A (en) Network access method and device
CN105828294B (en) Detection method and device
CN104811904B (en) Contact person's setting method and device
CN109362120A (en) Scan period method of adjustment and device
CN105307204B (en) signal display method and device
CN108156647A (en) Password acquisition methods and device
CN107484138A (en) Micro-base station localization method and device
CN106357504B (en) User list method for cleaning and device
CN106130908B (en) Message transmitting method and device, intelligent terminal
CN105142190B (en) Network cell reselecting method and device
CN109451832B (en) Wireless communication method, device and computer readable storage medium
CN106385430B (en) The management method and device of communication message
CN105101352A (en) Frequency band searching method and frequency band searching device

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
RJ01 Rejection of invention patent application after publication

Application publication date: 20190219

RJ01 Rejection of invention patent application after publication