CN114189798A - Method and equipment for determining scanning interval of Wireless Local Area Network (WLAN) network - Google Patents

Method and equipment for determining scanning interval of Wireless Local Area Network (WLAN) network Download PDF

Info

Publication number
CN114189798A
CN114189798A CN202010969756.2A CN202010969756A CN114189798A CN 114189798 A CN114189798 A CN 114189798A CN 202010969756 A CN202010969756 A CN 202010969756A CN 114189798 A CN114189798 A CN 114189798A
Authority
CN
China
Prior art keywords
terminal
wlan
target area
information
base station
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
CN202010969756.2A
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.)
Hisense Mobile Communications Technology Co Ltd
Original Assignee
Hisense Mobile Communications Technology 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 Hisense Mobile Communications Technology Co Ltd filed Critical Hisense Mobile Communications Technology Co Ltd
Priority to CN202010969756.2A priority Critical patent/CN114189798A/en
Publication of CN114189798A publication Critical patent/CN114189798A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/02Services making use of location information
    • H04W4/021Services related to particular areas, e.g. point of interest [POI] services, venue services or geofences
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/02Services making use of location information
    • H04W4/025Services making use of location information using location based information parameters
    • H04W4/027Services making use of location information using location based information parameters using movement velocity, acceleration information
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W48/00Access restriction; Network selection; Access point selection
    • H04W48/02Access restriction performed under specific conditions
    • H04W48/04Access restriction performed under specific conditions based on user or terminal location or mobility data, e.g. moving direction, speed
    • 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
    • H04W52/00Power management, e.g. TPC [Transmission Power Control], power saving or power classes
    • H04W52/02Power saving arrangements
    • H04W52/0209Power saving arrangements in terminal devices
    • H04W52/0225Power saving arrangements in terminal devices using monitoring of external events, e.g. the presence of a signal
    • H04W52/0248Power saving arrangements in terminal devices using monitoring of external events, e.g. the presence of a signal dependent on the time of the day, e.g. according to expected transmission activity
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W52/00Power management, e.g. TPC [Transmission Power Control], power saving or power classes
    • H04W52/02Power saving arrangements
    • H04W52/0209Power saving arrangements in terminal devices
    • H04W52/0251Power saving arrangements in terminal devices using monitoring of local events, e.g. events related to user activity
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

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 discloses a method and equipment for determining a scanning interval of a Wireless Local Area Network (WLAN) network, which are used for solving the problem that the existing terminal has a single WLAN scanning mode and improving the efficiency of establishing connection between the terminal and a WLAN hotspot. The method comprises the steps that when a terminal is in a WLAN starting state, the current position information of the terminal is determined, whether the terminal is in a target area or not is judged according to the current position information of the terminal, and the target area is the area where the terminal is located when the terminal is successfully accessed into a WLAN network historically; and when the terminal is in the target area, determining the motion state of the current terminal, thereby determining the scanning interval used for WLAN scanning. The terminal determines to be located in the target area, and further adjusts the scanning interval according to the motion state reported by the terminal, so that the terminal can scan the stored WLAN hot spot as soon as possible and can quickly establish connection with the scanned stored WLAN hot spot, the connection establishing efficiency of the terminal and the WLAN hot spot is improved, and the system power consumption is reduced.

Description

Method and equipment for determining scanning interval of Wireless Local Area Network (WLAN) network
Technical Field
The present invention relates to the field of terminal technologies, and in particular, to a method and a device for determining a scan interval of a wireless local area network WLAN network.
Background
The terminal has a WLAN (Wireless Local Area Network) function, and performs WLAN scanning through a background after the terminal starts the WLAN, wherein the existing WLAN scanning mechanism executes WLAN scanning according to a preset time interval, and the scanning interval is from 10 seconds to 5 minutes.
The terminal scans the WLAN hotspots to increase the power consumption of the terminal, and when the terminal is out of the coverage range of the WLAN hotspots, the terminal executes WLAN scanning according to the preset time interval, so that the terminal increases extra power consumption; and the interval duration of the WLAN scanning determines the time for finding the WLAN hotspot by the terminal, and after the terminal enters the WLAN hotspot range, the WLAN scanning mode is carried out by adopting a preset time interval, so that for the terminal in the WLAN hotspot range, most of the time is in a waiting state, and the time for establishing connection with the WLAN hotspot is longer.
In summary, the existing terminal performs WLAN scanning in a single manner, which results in low efficiency of establishing connection between the terminal and the WLAN hotspot.
Disclosure of Invention
The embodiment of the invention provides a method for determining a scanning interval of a Wireless Local Area Network (WLAN) network, which is used for solving the problem that the existing terminal has a single WLAN scanning mode and improving the efficiency of establishing connection between the terminal and a WLAN hotspot.
According to a first aspect of the exemplary embodiments, there is provided a method of determining a scan interval of a wireless local area network, WLAN, network, the method comprising:
when a terminal is in a WLAN opening state, determining the current position information of the terminal;
if the terminal is determined to be in the target area according to the current position information of the terminal, the terminal determines the current motion state; the target area is an area where the terminal is located when the terminal is historically and successfully accessed to the WLAN network;
the terminal determines a scanning interval used for WLAN scanning according to the current motion state; wherein the scanning interval is inversely related to the moving speed of the terminal in different motion states.
In the above embodiment, when the terminal is in the WLAN on state, the current location information of the terminal is determined, and whether the terminal is in the target area is determined according to the current location information of the terminal; when the terminal is in the target area, determining the motion state of the current terminal so as to determine the scanning interval used for WLAN scanning; the terminal determines to be located in the target area, and further adjusts the scanning interval according to the motion state reported by the terminal, so that the terminal can scan the stored WLAN hotspots as soon as possible and can quickly establish connection with the scanned stored WLAN hotspots, the connection establishing efficiency of the terminal and the WLAN hotspots is improved, and the system power consumption is reduced.
In some exemplary embodiments, the terminal determining the current motion state includes:
the terminal collects sensor data through the motion detection sensor and determines the current motion state according to the collected sensor data.
In some exemplary embodiments, the determining, by the terminal, a scanning interval used for WLAN scanning according to the current motion state includes:
and the terminal determines the scanning interval used for scanning the WLAN network corresponding to the current motion state according to the corresponding relation between the current motion state and the scanning interval.
In the above embodiment, after determining that the terminal is in the target area according to the current position information of the terminal, the motion state of the current terminal may also be determined, and the moving speeds of the terminal are different in different motion states; in the target area, the faster the terminal moves, the faster the terminal can enter the coverage of the stored WLAN hotspot, and at this time, the terminal needs to use a smaller scanning interval to scan the stored WLAN hotspot as soon as possible, so as to quickly establish connection with the scanned stored WLAN hotspot; when the terminal moving speed is low, the time for the terminal to enter the coverage range of the stored WLAN hot spot is long, and at the moment, the terminal can use a large scanning interval to reduce the power consumption of the terminal.
In some exemplary embodiments, the determining, by the terminal, whether the terminal is in the target area according to the current location information includes:
the terminal judges whether the stored information of the target area contains the identification information of the currently accessed base station or not;
if so, determining that the terminal is in a target area, otherwise, determining that the terminal is not in the target area;
the information of the target area comprises identification information of a base station accessed when the terminal is in a WLAN connection state.
In some exemplary embodiments, the terminal updates the information of the target area according to the following ways, including:
the terminal adds the identification information of the base station currently accessed by the terminal and the corresponding WLAN network into the information of the target area after detecting that the network connection state is switched to the WLAN connection state and the information of the target area does not contain the identification information of the base station currently accessed by the terminal, or
The method comprises the steps that when the terminal detects that the identification information of a base station which is accessed by the terminal at present changes, the identification information of the base station which is accessed after the change is obtained; and if the network connection state of the terminal is a WLAN connection state and the information of the target area does not contain the identification information of the base station accessed after the change, adding the identification information of the base station accessed after the change of the terminal and the corresponding WLAN network into the information of the target area.
In some exemplary embodiments, the terminal updates the information of the target area according to the following ways, including:
in response to the instruction to remove the WLAN network, the terminal deletes the location information of the removed WLAN network and the corresponding base station included in the information of the target area.
According to a second aspect of the exemplary embodiments, there is provided a terminal comprising: processor and WiFi module:
the WiFi module is configured to turn on WLAN functionality;
the processor is configured to determine current location information while the WiFi module is in a WLAN on state; if the terminal is determined to be in the target area according to the current position information of the terminal, determining the current motion state; determining a scanning interval used for WLAN scanning according to the current motion state; the target area is an area where the terminal is located when the terminal is historically and successfully accessed to the WLAN, and the scanning interval is inversely related to the moving speed of the terminal in different motion states.
In some exemplary embodiments, the processor is configured to:
sensor data are acquired through the motion detection sensor, and the current motion state is determined according to the acquired sensor data.
In some exemplary embodiments, the processor is configured to:
and determining the scanning interval used for scanning the WLAN network corresponding to the current motion state according to the corresponding relation between the current motion state and the scanning interval.
In some exemplary embodiments, the processor is configured to:
judging whether the stored information of the target area contains the identification information of the currently accessed base station or not;
if so, determining that the terminal is in a target area, otherwise, determining that the terminal is not in the target area;
the information of the target area comprises identification information of a base station accessed when the terminal is in a WLAN connection state.
In some exemplary embodiments, the processor is configured to:
updating the information of the target area according to the following modes:
adding the identification information of the base station currently accessed by the terminal and the corresponding WLAN network into the information of the target area after detecting that the network connection state is switched to the WLAN connection state and the information of the target area does not contain the identification information of the base station currently accessed by the terminal, or
When detecting that the identification information of the base station currently accessed by the terminal changes, acquiring the identification information of the base station accessed after the change; and if the network connection state of the terminal is a WLAN connection state and the information of the target area does not contain the identification information of the base station accessed after the change, adding the identification information of the base station accessed after the change of the terminal and the corresponding WLAN network into the information of the target area.
In some exemplary embodiments, the processor is configured to:
updating the information of the target area according to the following modes:
and deleting the position information of the removed WLAN network and the corresponding base station contained in the information of the target area in response to the instruction of removing the WLAN network.
In a third aspect, an embodiment of the present invention provides a terminal, where the terminal includes:
the first determining module is used for determining the current position information of the terminal when the WLAN is in an opening state;
the second determining module is used for determining the current motion state of the terminal if the terminal is determined to be in the target area according to the current position information of the terminal; the target area is an area where the terminal is located when the terminal is historically and successfully accessed to the WLAN network;
a third determining module, configured to determine a scanning interval used for performing WLAN scanning according to the current motion state; wherein the scanning interval is inversely related to the moving speed of the terminal in different motion states.
In a fourth aspect, the present invention also provides a computer storage medium having a computer program stored thereon, which when executed by a processor, performs the steps of the method of the first aspect.
In addition, for technical effects brought by any one implementation manner of the second aspect to the fourth aspect, reference may be made to technical effects brought by different implementation manners of the first aspect, and details are not described here.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings needed to be used in the description of the embodiments will be briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without inventive exercise.
Fig. 1 schematically illustrates a structure of a terminal according to an embodiment of the present invention;
fig. 2 is a schematic diagram illustrating a software architecture of a terminal according to an embodiment of the present invention;
fig. 3 is a schematic diagram illustrating a user interface of a terminal provided by an embodiment of the present invention;
fig. 4 is a flowchart illustrating a method for determining a scan interval of a WLAN network according to an embodiment of the present invention;
fig. 5 exemplarily shows a display interface of a shortcut touch area of a terminal according to an embodiment of the present invention;
fig. 6 illustrates a setting page of WLAN network control options of a terminal according to an embodiment of the present invention;
fig. 7 is a schematic flowchart illustrating a complete method for updating a database by a terminal according to an embodiment of the present invention;
fig. 8 is a schematic flowchart illustrating a complete method for updating a database by a terminal according to another embodiment of the present invention;
fig. 9 is a schematic structural diagram illustrating a first terminal according to an embodiment of the present invention;
fig. 10 schematically illustrates a structure of a second terminal according to an embodiment of the present invention.
Detailed Description
The technical solution in the embodiments of the present invention will be described in detail and removed with reference to the accompanying drawings. In the description of the embodiments of the present invention, where "/" denotes an or meaning, for example, a/B may denote a or B; "and/or" in the text is only an association relationship describing an associated object, and means that three relationships may exist, for example, a and/or B may mean: three cases of a alone, a and B both, and B alone exist, and in addition, "a plurality" means two or more than two in the description of the embodiment of the present invention.
In the following, the terms "first", "second" are used for descriptive purposes only and are not to be understood as implying or implying relative importance or implicitly indicating the number of technical features indicated. Thus, features defined as "first" and "second" may explicitly or implicitly include one or more of the features, and in the description of embodiments of the invention, "plurality" means two or more unless indicated otherwise.
Some of the words that appear in the text are explained below:
1. the term "WLAN" of embodiments of the present invention generally refers to a wireless local area network. WLAN is a short for Wireless Local Area Network, and refers to a Network system that interconnects computer devices by using Wireless communication technology to communicate with each other and realize resource sharing. The wireless local area network is essentially characterized in that a communication cable is not used for connecting a computer with a network, but the computer is connected in a wireless mode, so that the network construction and the terminal movement are more flexible.
2. The terminal of the embodiment of the present invention may be a cellular phone, a cordless phone, a Session Initiation Protocol (SIP) phone, a Wireless Local Loop (WLL) station, a Personal Digital Assistant (PDA), or the like. The terminal of the embodiment of the invention has the function of accessing the WLAN hotspot.
Fig. 1 shows a schematic structural diagram of a terminal 100.
The following describes an embodiment specifically by taking the terminal 100 as an example. It should be understood that the terminal 100 shown in fig. 1 is merely an example, and that the terminal 100 may have more or fewer components than shown in fig. 1, may combine two or more components, or may have a different configuration of components. The various components shown in the figures may be implemented in hardware, software, or a combination of hardware and software, including one or more signal processing and/or application specific integrated circuits.
A block diagram of a hardware configuration of the terminal 100 according to an exemplary embodiment is exemplarily shown in fig. 1. As shown in fig. 1, the terminal 100 includes: a Radio Frequency (RF) circuit 110, a memory 120, a display unit 130, a camera 140, a sensor 150, an audio circuit 160, a Wireless Fidelity (Wi-Fi) module 170, a processor 180, a bluetooth module 181, and a power supply 190.
The RF circuit 110 may be used for receiving and transmitting signals during information transmission and reception or during a call, and may receive downlink data of a base station and then send the downlink data to the processor 180 for processing; the uplink data may be transmitted to the base station. Typically, the RF circuitry includes, but is not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a low noise amplifier, a duplexer, and the like.
The memory 120 may be used to store software programs and data. The processor 180 performs various functions of the terminal 100 and data processing by executing software programs or data stored in the memory 120. The memory 120 may include high speed random access memory and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device. The memory 120 stores an operating system that enables the terminal 100 to operate. The memory 120 may store an operating system and various application programs, and may also store codes for performing the methods described in the embodiments of the present application.
The display unit 130 may be used to receive input numeric or character information and generate signal input related to user settings and function control of the terminal 100, and particularly, the display unit 130 may include a touch screen 131 disposed on the front surface of the terminal 100 and may collect touch operations of a user thereon or nearby, such as clicking a button, dragging a scroll box, and the like.
The display unit 130 may also be used to display a Graphical User Interface (GUI) of information input by or provided to the user and various menus of the terminal 100. Specifically, the display unit 130 may include a display screen 132 disposed on the front surface of the terminal 100. The display screen 132 may be configured in the form of a liquid crystal display, a light emitting diode, or the like. The display unit 130 may be used to display various graphical user interfaces described herein.
The touch screen 131 may cover the display screen 132, or the touch screen 131 and the display screen 132 may be integrated to implement the input and output functions of the terminal 100, and after the integration, the touch screen may be referred to as a touch display screen for short. In the present application, the display unit 130 may display the application programs and the corresponding operation steps.
The camera 140 may be used to capture still images or video. The object generates an optical image through the lens and projects the optical image to the photosensitive element. The photosensitive element may be a Charge Coupled Device (CCD) or a complementary metal-oxide-semiconductor (CMOS) phototransistor. The light sensing elements convert the light signals into electrical signals which are then passed to the processor 180 for conversion into digital image signals.
The terminal 100 may further comprise at least one sensor 150, such as an acceleration sensor 151, a distance sensor 152, a fingerprint sensor 153, a temperature sensor 154. The terminal 100 may also be configured with other sensors such as a gyroscope, barometer, hygrometer, thermometer, infrared sensor, light sensor, motion sensor, etc.
Audio circuitry 160, speaker 161, and microphone 162 may provide an audio interface between a user and terminal 100. The audio circuit 160 may transmit the electrical signal converted from the received audio data to the speaker 161, and convert the electrical signal into a sound signal for output by the speaker 161. The terminal 100 may also be provided with a volume button for adjusting the volume of the sound signal. On the other hand, the microphone 162 converts the collected sound signal into an electrical signal, converts the electrical signal into audio data after being received by the audio circuit 160, and outputs the audio data to the RF circuit 110 to be transmitted to, for example, another terminal or outputs the audio data to the memory 120 for further processing. In this application, the microphone 162 may capture the voice of the user.
Wi-Fi belongs to a short-distance wireless transmission technology, and the terminal 100 can help a user to send and receive e-mails, browse webpages, access streaming media, and the like through the Wi-Fi module 170, and provides wireless broadband internet access for the user.
The processor 180 is a control center of the terminal 100, connects various parts of the entire terminal using various interfaces and lines, and performs various functions of the terminal 100 and processes data by running or executing software programs stored in the memory 120 and calling data stored in the memory 120. In some embodiments, processor 180 may include one or more processing units; the processor 180 may also integrate an application processor, which mainly handles operating systems, user interfaces, applications, etc., and a baseband processor, which mainly handles wireless communications. It will be appreciated that the baseband processor described above may not be integrated into the processor 180. In the present application, the processor 180 may run an operating system, an application program, a user interface display, and a touch response, and the processing method described in the embodiments of the present application. Further, the processor 180 is coupled with the display unit 130.
And the bluetooth module 181 is configured to perform information interaction with other bluetooth devices having a bluetooth module through a bluetooth protocol. For example, the terminal 100 may establish a bluetooth connection with a wearable electronic device (e.g., a smart watch) having a bluetooth module via the bluetooth module 181, so as to perform data interaction.
The terminal 100 also includes a power supply 190 (e.g., a battery) to power the various components. The power supply may be logically connected to the processor 180 through a power management system to manage charging, discharging, power consumption, etc. through the power management system. The terminal 100 may also be configured with power buttons for powering the terminal on and off, and locking the screen.
Fig. 2 is a block diagram of a software configuration of the terminal 100 according to the embodiment of the present invention.
The layered architecture divides the software into several layers, each layer having a clear role and division of labor. The layers communicate with each other through a software interface. In some embodiments, the Android system is divided into four layers, an application layer, an application framework layer, an Android runtime (Android runtime) and system library, and a kernel layer from top to bottom.
The application layer may include a series of application packages.
As shown in fig. 2, the application package may include applications such as camera, gallery, calendar, phone call, map, navigation, WLAN, bluetooth, music, video, short message, etc.
The application framework layer provides an Application Programming Interface (API) and a programming framework for the application program of the application layer. The application framework layer includes a number of predefined functions.
As shown in FIG. 2, the application framework layers may include a window manager, content provider, view system, phone manager, resource manager, notification manager, and the like.
The window manager is used for managing window programs. The window manager can obtain the size of the display screen, judge whether a status bar exists, lock the screen, intercept the screen and the like.
The content provider is used to store and retrieve data and make it accessible to applications. The data may include video, images, audio, calls made and received, browsing history and bookmarks, phone books, etc.
The view system includes visual controls such as controls to display text, controls to display pictures, and the like. The view system may be used to build applications. The display interface may be composed of one or more views. For example, the display interface including the short message notification icon may include a view for displaying text and a view for displaying pictures.
The phone manager is used to provide a communication function of the terminal 100. Such as management of call status (including on, off, etc.).
The resource manager provides various resources for the application, such as localized strings, icons, pictures, layout files, video files, and the like.
The notification manager enables the application to display notification information in the status bar, can be used to convey notification-type messages, can disappear automatically after a short dwell, and does not require user interaction. Such as a notification manager used to inform download completion, message alerts, etc. The notification manager may also be a notification that appears in the form of a chart or scroll bar text at the top status bar of the system, such as a notification of a background running application, or a notification that appears on the screen in the form of a dialog window. For example, text information is prompted in the status bar, a prompt tone is given, the terminal vibrates, an indicator light flashes, and the like.
The Android Runtime comprises a core library and a virtual machine. The Android runtime is responsible for scheduling and managing an Android system.
The core library comprises two parts: one part is a function which needs to be called by java language, and the other part is a core library of android.
The application layer and the application framework layer run in a virtual machine. And executing java files of the application program layer and the application program framework layer into a binary file by the virtual machine. The virtual machine is used for performing the functions of object life cycle management, stack management, thread management, safety and exception management, garbage collection and the like.
The system library may include a plurality of functional modules. For example: surface managers (surface managers), Media Libraries (Media Libraries), three-dimensional graphics processing Libraries (e.g., OpenGL ES), 2D graphics engines (e.g., SGL), and the like.
The surface manager is used to manage the display subsystem and provide fusion of 2D and 3D layers for multiple applications.
The media library supports a variety of commonly used audio, video format playback and recording, and still image files, among others. The media library may support a variety of audio-video encoding formats, such as MPEG4, h.264, MP3, AAC, AMR, JPG, PNG, and the like.
The three-dimensional graphic processing library is used for realizing three-dimensional graphic drawing, image rendering, synthesis, layer processing and the like.
The 2D graphics engine is a drawing engine for 2D drawing.
The kernel layer is a layer between hardware and software. The inner core layer at least comprises a display driver, a camera driver, an audio driver and a sensor driver.
The following describes exemplary workflow of the terminal 100 software and hardware in connection with capturing a photo scene.
When the touch screen 131 receives a touch operation, a corresponding hardware interrupt is issued to the kernel layer. The kernel layer processes the touch operation into an original input event (including touch coordinates, a time stamp of the touch operation, and other information). The raw input events are stored at the kernel layer. And the application program framework layer acquires the original input event from the kernel layer and identifies the control corresponding to the input event. Taking the touch operation as a touch click operation, and taking a control corresponding to the click operation as a control of a camera application icon as an example, the camera application calls an interface of an application framework layer, starts the camera application, further starts a camera drive by calling a kernel layer, and captures a still image or a video through the camera 140.
The terminal 100 in the embodiment of the present application may be a mobile phone, a tablet computer, a wearable device, a notebook computer, a television, and the like.
Fig. 3 is a schematic diagram for illustrating a user interface on a terminal (e.g., terminal 100 of fig. 1). In some implementations, a user can open a corresponding application by touching an application icon on the user interface, or can open a corresponding folder by touching a folder icon on the user interface.
Currently, most terminals have WLAN functionality. The terminal can discover nearby WLAN hotspots through WLAN scanning, and can realize the function of surfing the internet by establishing connection with the scanned available WLAN hotspots.
After the terminal starts the WLAN function, before the terminal is not accessed to the WLAN network, the terminal always executes WLAN scanning according to a fixed scanning interval, and the terminal can be automatically accessed to the WLAN network only in the coverage range of the WLAN hotspot storing access information; however, the terminal scans at a fixed scanning interval in an area not covering the WLAN hotspot and in a coverage area of the WLAN hotspot where access information is not stored, thereby increasing power consumption of the terminal.
In view of this, in the embodiment of the present invention, when the terminal is in the WLAN on state, the current location information of the terminal is determined, and whether the terminal is in the target area is determined according to the current location information of the terminal, where the target area is located when the terminal has historically and successfully accessed the WLAN network; when the terminal is in the target area, the terminal indicates that the WLAN network which is successfully accessed by the terminal history exists in the current area, and the terminal indicates that the WLAN hot spot which is stored by the terminal exists in the area, and the terminal performs WLAN scanning by using a shorter scanning interval, so that the stored WLAN hot spot can be quickly scanned; when the terminal is not in the target area, it indicates that there is no stored WLAN hotspot in the area where the terminal is currently located, and the terminal may use a longer scanning interval to perform WLAN scanning, or the terminal may not perform WLAN scanning when it is determined that the terminal is not in the target area, so that power consumption of the terminal in performing WLAN scanning can be effectively reduced.
Furthermore, after the terminal is determined to be in the target area according to the current position information of the terminal, the motion state of the current terminal can be determined, and the moving speeds of the terminal are different in different motion states; in the target area, the faster the terminal moves, the faster the terminal can enter the coverage of the stored WLAN hotspot, and at this time, the terminal needs to use a smaller scanning interval to scan the stored WLAN hotspot as soon as possible, so as to quickly establish connection with the scanned stored WLAN hotspot; when the terminal moving speed is low, the time for the terminal to enter the coverage range of the stored WLAN hot spot is long, and at the moment, the terminal can use a large scanning interval to reduce the power consumption of the terminal.
As shown in fig. 4, a method for determining a scan interval of a WLAN network according to an embodiment of the present invention includes:
step S401, when the terminal is in a WLAN starting state, determining the current position information of the terminal;
step S402, if the terminal is determined to be in the target area according to the current position information of the terminal, the terminal determines the current motion state; the target area is an area where the terminal is located when the terminal is successfully accessed to the WLAN network historically;
step S403, the terminal determines a scanning interval used for WLAN scanning according to the current motion state; wherein the scanning interval is inversely related to the moving speed of the terminal under different motion states.
Several scenarios in which the embodiment of the present invention needs to determine the scan interval of the WLAN network are described below:
scene 1: and the terminal screen is lightened.
Responding to the operation of starting the terminal triggered by a user, and lightening a terminal screen; when the terminal is determined to be in a WLAN starting state, the terminal acquires identification information of a base station currently accessed by the terminal, such as Lac and CellId, by calling a getCellLocation () interface in a TelephonManager class; and judging whether the current access base station is in a target area or not according to the identification information of the current access base station, if so, further judging the current motion state of the terminal, and determining the scanning interval for WLAN scanning according to the motion state of the terminal.
Scene 2: the terminal turns on the WLAN function.
For example, as shown in fig. 5, a user may turn on a WLAN function of the terminal through a WLAN network switch in a shortcut touch area in a terminal display interface; alternatively, as shown in fig. 6, the user may turn on the WLAN function of the terminal by setting a WLAN network control option in the page.
Responding to the operation of starting a WLAN function triggered by a user, determining that the terminal enters a WLAN starting state, and acquiring identification information, such as Lac and CellId, of a base station currently accessed by the terminal by calling a getCellLocation () interface in a TelephonManager class by the terminal; and judging whether the current access base station is in a target area or not according to the identification information of the current access base station, if so, further judging the current motion state of the terminal, and determining the scanning interval for WLAN scanning according to the motion state of the terminal.
Scene 3: the base station to which the terminal is accessed changes.
When the terminal is in a WLAN starting state, the terminal acquires identification information of a base station currently accessed by the terminal, such as Lac and CellId, by calling a getCellLocation () interface in a TelephonManager class; and the terminal judges whether the current terminal is in a target area according to the identification information of the current accessed base station, if so, further judges the current motion state of the terminal, and determines the scanning interval for carrying out WLAN scanning according to the motion state of the terminal.
Scene 4: the motion state reported by the terminal changes.
When the terminal is in a WLAN starting state, a motion detector of the terminal reports a new motion state, whether the current scanning interval is a longer scanning interval is judged, if so, the WiFi hotspot information currently connected to the terminal is not in a target area, and even if the motion state changes, the WLAN scanning interval does not need to be adjusted; if not, the WLAN hotspot information currently connected to the terminal is in the target area, and the terminal needs to adjust to a corresponding scanning interval according to the motion state.
In step S402, after determining the current location information, the terminal may determine whether the terminal is in the target area according to the following manner:
the terminal judges whether the stored information of the target area contains the identification information of the currently accessed base station; if so, determining that the terminal is in the target area, otherwise, determining that the terminal is not in the target area;
the information of the target area includes identification information of a base station accessed when the terminal is in a WLAN connection state.
It should be noted that, in the embodiment of the present invention, a database of a correspondence relationship between a target area and a WLAN hotspot is pre-constructed; in the database, the corresponding relation between the WLAN hotspot accessed by the terminal history and the base station accessed when the WLAN hotspot is accessed is stored;
an optional implementation manner is that, a database table structure is used in the database to store the corresponding relationship between the identification information of the WLAN hotspot and the identification information of the access base station;
wherein, the identification information of the base station comprises Lac (area code) and CellId (cell identification);
the identification information of the WLAN hotspot includes SSID (hotspot name) and Security, where the Security value is an integer and is defined as: security is 0, indicating an unencrypted hotspot; security is 1, indicating WEP encryption hotspot; the Security is 2, which represents a PSK encryption hotspot; security is 3, which represents EAP encryption hot spot; the Security is 4, which represents a WAPI _ PSK encryption hotspot; security is 5, indicating a WAPI _ CERT encryption hotspot.
For example, the database table structure in the database of the embodiment of the present invention may be as shown in table 1:
Lac CellId SSID Security
21507 56667915 X_2019 2
TABLE 1
And obtaining the Lac and the CellId of the base station accessed currently at the terminal, searching from the database, determining whether the database contains the Lac and the CellId of the base station accessed currently at the terminal, and if so, determining that the terminal is in the target area.
It should be noted that the database stored in advance in the embodiment of the present invention is generated according to the identification information of the base station accessed while accessing the WLAN network when the terminal accesses the WLAN network historically.
In practice, embodiments of the present invention may construct the database according to the following ways:
when a terminal establishes connection with a certain WLAN hotspot for the first time, the identification information of the WLAN hotspot connected at that time and the identification information of a currently accessed base station are acquired, and the acquired identification information of the WLAN hotspot and the identification information of the base station are bound and stored in a database.
It should be noted that, in the database according to the embodiment of the present invention, the identification information of the same WLAN hotspot may correspond to the identification information of one or more base stations, and the identification information of the same base station may also correspond to the identification information of one or more WLAN hotspots.
The embodiment of the present invention further needs to update the correspondence between the identification information of the WLAN hotspot stored in the database and the identification information of the access base station in real time, including but not limited to adding the correspondence between the identification information of the WLAN hotspot and the identification information of the access base station, and deleting the correspondence between the identification information of the WLAN hotspot and the identification information of the access base station.
Aiming at the situation of the corresponding relation between the identification information of the newly added WLAN hotspot and the identification information of the access base station:
case 1: the terminal is connected to the WLAN hotspot.
As shown in fig. 7, a schematic flow chart of a complete method for updating a database for a terminal under the circumstance mainly includes the following steps:
step S701, a hotspot position management module of the terminal receives a WLAN connection state change broadcast sent by a WLAN network connection module; for example, the network connection status CHANGE is broadcast as CONNECTIVITY _ CHANGE;
it should be noted that the WLAN connection state change broadcast includes a transition from the WLAN connected state to the WLAN disconnected state, or a transition from the WLAN disconnected state to the WLAN connected state.
Step S702, the hotspot position management module of the terminal judges whether the current WLAN connection state is a WLAN connected state according to the received WLAN connection state change broadcast, if so, step S704 is executed; otherwise, executing step S703;
step S703, the terminal scans the WLAN according to the current WLAN scanning interval;
step S704, the hotspot position management module of the terminal acquires Lac and CellId of a base station accessed by the current equipment by calling a getCellLocation () interface in a TelephonManager class, and simultaneously acquires SSID and Security of the current equipment connecting hotspot by using a getWifiInfo () interface in a WifiManager class;
the identification information of the WLAN hotspot currently connected to the terminal and the identification information of the base station currently connected to the terminal may be { Lac _ B, CellId _ B, SSID _1, Security _2 }.
Step S705, the terminal determines that the identification information of the WLAN hotspot and the identification information of the base station which are just acquired are not inquired through inquiring the database;
step S706, the terminal adds the acquired WLAN hotspot information and the identification information of the base station to a WiFi hotspot position database according to the { Lac _ B, CellId _ B, SSID _1 and Security _2} formats.
Wherein, let Lac _ B be 21075; CellId _ B is 59791836; SSID _1 is Android (Android); security _1 is 3. Table 2 below is the database after addition.
Lac CellId SSID Security
21507 56667915 X_2019 2
21075 59791836 Android 3
TABLE 2
Case 2: when the terminal is in the WLAN connection state, the base station to which the terminal accesses changes.
As shown in fig. 8, a schematic flow chart of a complete method for updating a database for another terminal under the above situation mainly includes the following steps:
step S801, a hotspot position management module of a terminal receives callback of base station change; for example, the callback of the CHANGE of the base station is CELL _ LOCATION _ CHANGE;
step S802, the hotspot position management module of the terminal acquires Lac and CellId of a base station accessed by the current equipment by calling a getCellLocation () interface in a TelephonManager class, and updates the identification information of the current base station;
step S803, the hotspot location management module of the terminal determines whether the current WLAN connection state is a WLAN connected state, and if so, executes step S805; otherwise, go to step S804;
step S804, the terminal scans the WLAN according to the current WLAN scanning interval;
step S805, the hotspot position management module of the terminal acquires the SSID and the Security of the current equipment connecting hotspot through a getWifiInfo () interface in a WifiManager class;
the identification information of the WLAN hotspot currently connected to the terminal and the identification information of the base station currently connected to the terminal may be { Lac _ C, CellId _ C, SSID _2, Security _2 }.
Step S806, the terminal queries a database through { Lac _ C, CellId _ C, SSID _2 and Security _2 to determine that the information of the WLAN hotspot just acquired and the identification information of the base station are not queried;
step S807, the terminal updates the acquired identification information of the WLAN hotspot and the identification information of the base station into the database according to the { Lac _ C, CellId _ C, SSID _2, Security _2} format.
Wherein, let Lac _ C be 21556; CellId _ C is 56697852; SSID _1 is Android (Android); security _1 is 3. The updated database is shown in table 3 below.
Lac CellId SSID Security
21507 56667915 X_2019 2
21075 59791836 Android 3
21556 56697852 Android 3
TABLE 3
Aiming at the situation of deleting the corresponding relation between the identification information of the WLAN hotspot and the identification information of the access base station:
in response to the instruction to remove the WLAN network, the terminal deletes the location information of the removed WLAN network and the corresponding base station included in the information of the target area.
When the stored WLAN hotspot is deleted according to the user operation, the terminal needs to delete the corresponding relationship related to the WLAN hotspot in all the corresponding relationships of the database.
After receiving the saved hotspot state CHANGE broadcast, the hotspot location management module of the terminal, for example, the saved hotspot state CHANGE broadcast is CONFIGURED _ network _ CHANGE; the terminal determines that the cause of the change is REMOVE, acquires the SSID and the Security of the removed hotspot, and deletes all the records corresponding to the SSID and the Security from the database. For example, if the hot spot name is X _2019 and the WiFi hot spot with the security parameter of 2 is removed, the updated state of the corresponding database is as shown in table 4 below:
Lac CellId SSID Security
21075 59791836 Android 3
21556 56697852 Android 3
TABLE 4
After the terminal is determined to be in the target area, determining a WLAN scanning interval according to the motion state;
in implementation, the terminal collects sensor data through the motion detection sensor, and determines the current motion state according to the collected sensor data.
Specifically, the Motion detection module of the terminal opens a Motion Detector Sensor through an interface in the SensorManager, and when the Sensor detects that the Motion state changes, the onsensor () method is called back to report the current Motion state to the Motion state detection module for recording.
The embodiment of the invention predefines the scanning intervals corresponding to different motion states;
after the current motion state of the terminal is determined, the scanning interval used for scanning the WLAN network corresponding to the current motion state is determined according to the corresponding relation between the current motion state and the scanning interval.
The motion state of the terminal includes but is not limited to:
a static state, a low-speed motion state and a high-speed motion state.
It should be noted that the moving speed ranges corresponding to the low-speed moving state and the high-speed moving state may be predefined, and after the terminal determines the moving speed of the terminal according to the collected sensor data, the moving state of the terminal is determined according to the current moving speed of the terminal.
For example, when the user walks, the terminal determines that the terminal is in a low-speed motion state when the terminal determines that the moving speed of the terminal is low according to the collected sensor data; when the user runs, the terminal determines that the moving speed of the terminal is high according to the collected sensor data, and determines that the terminal is in a high-speed motion state.
For example, the predefined correspondence between the terminal motion state and the scanning interval according to the embodiment of the present invention may be as shown in table 5 below:
state of motion of terminal Scanning interval
At rest state Interval WhenStill (600 seconds)
Low speed motion state Interval WhenWalk (60 seconds)
State of high speed motion Interval WhenRun (30 seconds)
TABLE 5
In addition, in the embodiment of the present invention, a scanning interval when the terminal is not in the target area may be preset, for example, when the terminal is not in the target area, a value of the corresponding scanning interval intervalOutRange may be 600 seconds.
It should be noted that, when the terminal is not in the target area, the corresponding scanning interval is greater than the scanning interval when the terminal is in the target area; and when the terminal is in the target area, different scanning intervals are corresponding to different motion states of the terminal, and the scanning intervals are shorter as the moving speed corresponding to the motion states is higher.
For example, when the terminal is not in the target area, a longer scanning interval is used, and the longer scanning interval may be set to intervalOutRange: {10 seconds, 30 seconds, 60 seconds, 180 seconds, 300 seconds, 600 seconds }, and finally keeping scanning once every 600 seconds;
it should be noted that the previous three scanning intervals are short, and it is considered that the current WLAN hotspot may correspond to identification information of many base stations, and the recorded identification information of the base stations is only a part, and at this time, the terminal may be connected to an unrecorded base station, but the actual position is still in the target area, so that the scanning is performed three times quickly.
When the terminal is in a target area, a shorter scanning interval is used, the shorter scanning interval is set according to the motion state of the terminal, when the motion state of the terminal is in a static state, the intervalWhenStill {30 seconds, 60 seconds, 120 seconds } is set, and the longest 120-second interval is kept for scanning in the static state; when the motion state of the terminal is a low-speed state, setting intervalWhenWalk {10 seconds, 20 seconds, 30 seconds, 60 seconds }, setting a maximum scanning interval of 60 seconds, and setting the scanning interval for the user terminal to walk, wherein generally, the possibility of walking into a WiFi hot spot coverage area is the highest, the walking speed is relatively not fast, and therefore the scanning interval is not suitable to be too short; when the motion state of the terminal is a high-speed state, intervalWhenRun {10 seconds, 20 seconds, 30 seconds } is set, and the maximum interval is 30 seconds, which is a scanning interval set when the user runs, and the motion speed is fast during running, and the time required for approaching the coverage area of the WiFi hotspot is short, so the scanning interval is set to be short.
Based on the same concept, as shown in fig. 9, a first terminal provided in an embodiment of the present invention includes a processor 900 and a WiFi module 901;
the WiFi module is configured to turn on WLAN functionality;
the processor is configured to determine current location information of the terminal when the WiFi module is in a WLAN on state; if the terminal is determined to be in the target area according to the current position information of the terminal, determining the current motion state; determining a scanning interval used for WLAN scanning according to the current motion state; the target area is an area where the terminal is located when the terminal is historically and successfully accessed to the WLAN, and the scanning interval is inversely related to the moving speed of the terminal in different motion states.
Optionally, the processor 900 is configured to:
sensor data are acquired through the motion detection sensor, and the current motion state is determined according to the acquired sensor data.
Optionally, the processor 900 is configured to:
and determining the scanning interval used for scanning the WLAN network corresponding to the current motion state according to the corresponding relation between the current motion state and the scanning interval.
Optionally, the processor 900 is configured to:
judging whether the stored information of the target area contains the identification information of the currently accessed base station or not;
if so, determining that the terminal is in a target area, otherwise, determining that the terminal is not in the target area;
the information of the target area comprises identification information of a base station accessed when the terminal is in a WLAN connection state.
Optionally, the processor 900 is configured to:
updating the information of the target area according to the following modes:
adding the identification information of the base station currently accessed by the terminal and the corresponding WLAN network into the information of the target area after detecting that the network connection state is switched to the WLAN connection state and the information of the target area does not contain the identification information of the base station currently accessed by the terminal, or
When detecting that the identification information of the base station currently accessed by the terminal changes, acquiring the identification information of the base station accessed after the change; and if the network connection state of the terminal is a WLAN connection state and the information of the target area does not contain the identification information of the base station accessed after the change, adding the identification information of the base station accessed after the change of the terminal and the corresponding WLAN network into the information of the target area.
Optionally, the processor 900 is configured to:
updating the information of the target area according to the following modes:
and deleting the position information of the removed WLAN network and the corresponding base station contained in the information of the target area in response to the instruction of removing the WLAN network.
Based on the same concept, as shown in fig. 10, a second terminal provided in an embodiment of the present invention includes:
a first determining module 1001, configured to determine current location information of the terminal when the terminal is in a WLAN on state;
a second determining module 1002, configured to determine, by the terminal, a current motion state if the terminal is determined to be in the target area according to the current location information of the terminal; the target area is an area where the terminal is located when the terminal is historically and successfully accessed to the WLAN network;
a third determining module 1003, configured to determine, according to the current motion state, a scanning interval used for performing WLAN scanning; wherein the scanning interval is inversely related to the moving speed of the terminal in different motion states.
Optionally, the second determining module 1002 is specifically configured to:
sensor data are acquired through the motion detection sensor, and the current motion state is determined according to the acquired sensor data.
Optionally, the third determining module 1003 is specifically configured to:
and determining the scanning interval used for scanning the WLAN network corresponding to the current motion state according to the corresponding relation between the current motion state and the scanning interval.
Optionally, the second determining module 1002 is specifically configured to:
the terminal judges whether the stored information of the target area contains the identification information of the currently accessed base station or not;
if so, determining that the terminal is in a target area, otherwise, determining that the terminal is not in the target area;
the information of the target area comprises identification information of a base station accessed when the terminal is in a WLAN connection state.
Optionally, the second determining module 1002 is specifically configured to:
adding the identification information of the base station currently accessed by the terminal and the corresponding WLAN network into the information of the target area after detecting that the network connection state is switched to the WLAN connection state and the information of the target area does not contain the identification information of the base station currently accessed by the terminal, or
The method comprises the steps that when the terminal detects that the identification information of a base station which is accessed by the terminal at present changes, the identification information of the base station which is accessed after the change is obtained; and if the network connection state of the terminal is a WLAN connection state and the information of the target area does not contain the identification information of the base station accessed after the change, adding the identification information of the base station accessed after the change of the terminal and the corresponding WLAN network into the information of the target area.
Optionally, the second determining module 1002 is specifically configured to:
and deleting the position information of the removed WLAN network and the corresponding base station contained in the information of the target area in response to the instruction of removing the WLAN network.
Since the computer storage medium in the embodiment of the present invention may be applied to the processing method, the technical effect obtained by the computer storage medium may also refer to the method embodiment described above, and the embodiment of the present invention is not described herein again.
Those of ordinary skill in the art will understand that: all or a portion of the steps of implementing the above-described method embodiments may be performed by hardware associated with program instructions. The program may be stored in a computer-readable storage medium. When executed, the program performs steps comprising the method embodiments described above; and the aforementioned storage medium includes: various media that can store program codes, such as ROM, RAM, magnetic or optical disks.
While specific embodiments of the invention have been described above, it will be appreciated by those skilled in the art that these are by way of example only, and that the scope of the invention is defined by the appended claims. Various changes and modifications to these embodiments may be made by those skilled in the art without departing from the spirit and scope of the invention, and these changes and modifications are within the scope of the invention.

Claims (10)

1. A terminal comprising a processor and a WiFi module;
the WiFi module is configured to turn on WLAN functionality;
the processor is configured to determine current location information of the terminal when the WiFi module is in a WLAN on state; if the terminal is determined to be in the target area according to the current position information of the terminal, determining the current motion state; determining a scanning interval used for WLAN scanning according to the current motion state; the target area is an area where the terminal is located when the terminal is historically and successfully accessed to the WLAN, and the scanning interval is inversely related to the moving speed of the terminal in different motion states.
2. The terminal of claim 1, wherein the processor is configured to:
sensor data are acquired through the motion detection sensor, and the current motion state is determined according to the acquired sensor data.
3. The terminal of claim 1, wherein the processor is configured to:
and determining the scanning interval used for scanning the WLAN network corresponding to the current motion state according to the corresponding relation between the current motion state and the scanning interval.
4. The terminal of claim 1, wherein the processor is configured to:
judging whether the stored information of the target area contains the identification information of the currently accessed base station or not;
if so, determining that the terminal is in a target area, otherwise, determining that the terminal is not in the target area;
the information of the target area comprises identification information of a base station accessed when the terminal is in a WLAN connection state.
5. The terminal of claim 4, wherein the processor is configured to:
updating the information of the target area according to the following modes:
adding the identification information of the base station currently accessed by the terminal and the corresponding WLAN network into the information of the target area after detecting that the network connection state is switched to the WLAN connection state and the information of the target area does not contain the identification information of the base station currently accessed by the terminal, or
When detecting that the identification information of the base station currently accessed by the terminal changes, acquiring the identification information of the base station accessed after the change; and if the network connection state of the terminal is a WLAN connection state and the information of the target area does not contain the identification information of the base station accessed after the change, adding the identification information of the base station accessed after the change of the terminal and the corresponding WLAN network into the information of the target area.
6. The terminal of any of claims 1 to 5, wherein the processor is configured to:
updating the information of the target area according to the following modes:
and deleting the position information of the removed WLAN network and the corresponding base station contained in the information of the target area in response to the instruction of removing the WLAN network.
7. A method of determining a scan interval for a wireless local area network, WLAN, network, the method comprising:
when a terminal is in a WLAN opening state, determining the current position information of the terminal;
if the terminal is determined to be in the target area according to the current position information of the terminal, the terminal determines the current motion state; the target area is an area where the terminal is located when the terminal is historically and successfully accessed to the WLAN network;
the terminal determines a scanning interval used for WLAN scanning according to the current motion state; wherein the scanning interval is inversely related to the moving speed of the terminal in different motion states.
8. The method of claim 7, wherein the terminal determining the current motion state comprises:
the terminal collects sensor data through the motion detection sensor and determines the current motion state according to the collected sensor data.
9. The method of claim 7, wherein the terminal determining a scanning interval for performing the WLAN scanning according to the current motion state comprises:
and the terminal determines the scanning interval used for scanning the WLAN network corresponding to the current motion state according to the corresponding relation between the current motion state and the scanning interval.
10. A computer storage medium having computer program instructions stored therein which, when run on a computer, cause the computer to perform the method of any of claims 7 to 9.
CN202010969756.2A 2020-09-15 2020-09-15 Method and equipment for determining scanning interval of Wireless Local Area Network (WLAN) network Pending CN114189798A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010969756.2A CN114189798A (en) 2020-09-15 2020-09-15 Method and equipment for determining scanning interval of Wireless Local Area Network (WLAN) network

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010969756.2A CN114189798A (en) 2020-09-15 2020-09-15 Method and equipment for determining scanning interval of Wireless Local Area Network (WLAN) network

Publications (1)

Publication Number Publication Date
CN114189798A true CN114189798A (en) 2022-03-15

Family

ID=80539761

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010969756.2A Pending CN114189798A (en) 2020-09-15 2020-09-15 Method and equipment for determining scanning interval of Wireless Local Area Network (WLAN) network

Country Status (1)

Country Link
CN (1) CN114189798A (en)

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20110267977A1 (en) * 2010-05-03 2011-11-03 Nokia Corporation Method and Apparatus for Assisted Network Discovery
CN107509168A (en) * 2017-08-29 2017-12-22 努比亚技术有限公司 WiFi hot spot scannings method and mobile terminal
CN107896385A (en) * 2017-11-30 2018-04-10 广东欧珀移动通信有限公司 Mobile terminal wireless local area network scan method and apparatus, computer equipment
CN107896381A (en) * 2017-11-30 2018-04-10 广东欧珀移动通信有限公司 Mobile terminal wireless local area network scan method and apparatus, computer equipment
CN108040357A (en) * 2017-11-30 2018-05-15 广东欧珀移动通信有限公司 Mobile terminal wireless local area network scan method and apparatus, computer equipment
JP2018155631A (en) * 2017-03-17 2018-10-04 株式会社Nttドコモ Transmitter detection system, transmitter detection program, mobile terminal, and transmitter detection terminal program
CN109195204A (en) * 2018-11-12 2019-01-11 Oppo广东移动通信有限公司 Wireless network access method and device, computer-readable medium, communication terminal
CN109672978A (en) * 2019-01-30 2019-04-23 腾讯大地通途(北京)科技有限公司 A kind of hotspot scan frequency control method and device
CN110418292A (en) * 2019-07-31 2019-11-05 青岛海信移动通信技术股份有限公司 A kind of method and apparatus adjusting WLAN sweep spacing

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20110267977A1 (en) * 2010-05-03 2011-11-03 Nokia Corporation Method and Apparatus for Assisted Network Discovery
JP2018155631A (en) * 2017-03-17 2018-10-04 株式会社Nttドコモ Transmitter detection system, transmitter detection program, mobile terminal, and transmitter detection terminal program
CN107509168A (en) * 2017-08-29 2017-12-22 努比亚技术有限公司 WiFi hot spot scannings method and mobile terminal
CN107896385A (en) * 2017-11-30 2018-04-10 广东欧珀移动通信有限公司 Mobile terminal wireless local area network scan method and apparatus, computer equipment
CN107896381A (en) * 2017-11-30 2018-04-10 广东欧珀移动通信有限公司 Mobile terminal wireless local area network scan method and apparatus, computer equipment
CN108040357A (en) * 2017-11-30 2018-05-15 广东欧珀移动通信有限公司 Mobile terminal wireless local area network scan method and apparatus, computer equipment
CN109195204A (en) * 2018-11-12 2019-01-11 Oppo广东移动通信有限公司 Wireless network access method and device, computer-readable medium, communication terminal
CN109672978A (en) * 2019-01-30 2019-04-23 腾讯大地通途(北京)科技有限公司 A kind of hotspot scan frequency control method and device
CN110418292A (en) * 2019-07-31 2019-11-05 青岛海信移动通信技术股份有限公司 A kind of method and apparatus adjusting WLAN sweep spacing

Similar Documents

Publication Publication Date Title
KR20210011027A (en) Application function implementation method and electronic device
US11435975B2 (en) Preview display method based on multi-angle and communication system
CN112114733B (en) Screen capturing and recording method, mobile terminal and computer storage medium
CN111294884A (en) Communication terminal supporting dual-card dual-standby single-pass and data service switching method
CN114065706A (en) Multi-device data cooperation method and electronic device
CN113835569A (en) Terminal device, quick start method for internal function of application and storage medium
CN111176766A (en) Communication terminal and component display method
CN113207115B (en) Mobile terminal and network searching control method
CN114201130A (en) Screen projection method and device and storage medium
CN111506237A (en) Terminal and method for starting operation function in application
CN113055585B (en) Thumbnail display method of shooting interface and mobile terminal
CN113253905B (en) Touch method based on multi-finger operation and intelligent terminal
CN114339591B (en) Method and related device for positioning based on ultra-wideband chip
CN113642010B (en) Method for acquiring data of extended storage device and mobile terminal
CN111600862B (en) User account management method and device
CN114189798A (en) Method and equipment for determining scanning interval of Wireless Local Area Network (WLAN) network
CN114007202A (en) Method for establishing binding relationship and related equipment
CN114071652A (en) Method for establishing binding relationship and related equipment
CN112954622A (en) Mobile terminal and short message sending method thereof
CN112000411B (en) Mobile terminal and display method of recording channel occupation information thereof
CN111159734A (en) Communication terminal and multi-application data inter-access processing method
CN114911394B (en) Terminal equipment and one-hand operation method
CN112929858B (en) Method and terminal for simulating access control card
CN114968013B (en) Terminal device, function setting method and storage medium
CN115334604A (en) Terminal device, network control method and storage medium

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