[go: up one dir, main page]

CN107969025B - Mobile terminal wireless local area network scanning method and device and computer equipment - Google Patents

Mobile terminal wireless local area network scanning method and device and computer equipment Download PDF

Info

Publication number
CN107969025B
CN107969025B CN201711240811.9A CN201711240811A CN107969025B CN 107969025 B CN107969025 B CN 107969025B CN 201711240811 A CN201711240811 A CN 201711240811A CN 107969025 B CN107969025 B CN 107969025B
Authority
CN
China
Prior art keywords
mobile terminal
movement
scanning
scanning mode
local 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.)
Active
Application number
CN201711240811.9A
Other languages
Chinese (zh)
Other versions
CN107969025A (en
Inventor
肖龙
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN201711240811.9A priority Critical patent/CN107969025B/en
Publication of CN107969025A publication Critical patent/CN107969025A/en
Application granted granted Critical
Publication of CN107969025B publication Critical patent/CN107969025B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W48/00Access restriction; Network selection; Access point selection
    • H04W48/16Discovering, processing access restriction or access information
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W52/00Power management, e.g. Transmission Power Control [TPC] 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
    • 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]
    • 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)
  • Telephone Function (AREA)

Abstract

本申请提供一种移动终端无线局域网扫描方法和装置、计算机设备。移动终端无线局域网扫描方法包括:当移动终端的无线局域网功能开启时,获取当前移动终端的移动信息;根据预设的移动等级与扫描方式的映射关系,确定当前移动信息对应的扫描方式;根据确定的扫描方式进行扫描以搜索无线局域网,这样能够根据当前移动终端的移动等级自动匹配相应的扫描方式进行扫描以搜索无线局域网,能够节省功耗,提高续航能力和扫描效率,同时还可以减少辐射。

The present application provides a mobile terminal wireless local area network scanning method and device, and a computer device. The mobile terminal wireless local area network scanning method includes: when the wireless local area network function of the mobile terminal is turned on, obtaining the current mobile terminal's mobile information; determining the scanning mode corresponding to the current mobile information according to the preset mapping relationship between the mobile level and the scanning mode; scanning according to the determined scanning mode to search for the wireless local area network, so that the corresponding scanning mode can be automatically matched according to the current mobile level of the mobile terminal to scan and search for the wireless local area network, which can save power consumption, improve battery life and scanning efficiency, and reduce radiation.

Description

移动终端无线局域网扫描方法和装置、计算机设备Mobile terminal wireless local area network scanning method and device, computer equipment

技术领域technical field

本申请涉及计算机技术,特别是涉及移动终端无线局域网扫描方法和装置、计算机设备、计算机可读存储介质。The present application relates to computer technology, and in particular, to a method and apparatus for scanning a wireless local area network of a mobile terminal, computer equipment, and a computer-readable storage medium.

背景技术Background technique

无线局域网(Wireless Local Network,WLAN)是指以无线信道来替代传统有线传输介质所构成的局域网络,是计算机网络与无线通信技术相结合的产物,应用无线通信技术将计算机设备互联起来,构成可以互相通信和实现资源共享的网络体系。在WiFi通信中,移动终端(工作站STA)可以通过接入点(Access Point,AP)实现无线网络的接入,其中,移动终端必须先通过扫描机制得到可用接入点的相关信息。但是,移动终端通过同一种扫描机制获取可用接入点的过程中,存在功耗大、续航时间短的问题。Wireless Local Network (WLAN) refers to a local area network formed by replacing traditional wired transmission media with wireless channels. It is the product of the combination of computer network and wireless communication technology. A network system that communicates with each other and realizes resource sharing. In WiFi communication, a mobile terminal (station STA) can access a wireless network through an access point (Access Point, AP), wherein the mobile terminal must first obtain relevant information of available access points through a scanning mechanism. However, in the process of acquiring available access points by the mobile terminal through the same scanning mechanism, there are problems of high power consumption and short battery life.

发明内容SUMMARY OF THE INVENTION

本申请实施例提供一种移动终端无线局域网扫描方法和装置、计算机设备、计算机可读存储介质,可以根据移动等级选择合适的扫描方式,降低了功耗,提高了续航能力。Embodiments of the present application provide a wireless local area network scanning method and device for a mobile terminal, computer equipment, and a computer-readable storage medium, which can select an appropriate scanning mode according to the mobility level, reduce power consumption, and improve battery life.

本申请实施例提供一种移动终端无线局域网扫描方法,包括:An embodiment of the present application provides a wireless local area network scanning method for a mobile terminal, including:

当移动终端的无线局域网功能开启时,获取当前所述移动终端的移动信息;When the wireless local area network function of the mobile terminal is enabled, acquiring the current movement information of the mobile terminal;

根据预设的移动等级与扫描方式的映射关系,确定当前所述移动信息对应的扫描方式;According to the preset mapping relationship between the movement level and the scanning mode, determine the scanning mode corresponding to the current movement information;

根据确定的所述扫描方式进行扫描以搜索无线局域网。Scanning is performed according to the determined scanning mode to search for a wireless local area network.

本申请实施例提供一种移动终端无线局域网扫描装置,包括:An embodiment of the present application provides a wireless local area network scanning device for a mobile terminal, including:

获取模块,用于当移动终端的无线局域网功能开启时,获取当前所述移动终端的移动信息;an acquisition module, configured to acquire the current movement information of the mobile terminal when the wireless local area network function of the mobile terminal is enabled;

确定模块,用于根据预设的移动等级与扫描方式的映射关系,确定当前所述移动信息对应的扫描方式;a determining module, configured to determine the scanning mode corresponding to the current movement information according to the preset mapping relationship between the movement level and the scanning mode;

扫描模块,用于根据确定的所述扫描方式进行扫描以搜索无线局域网。The scanning module is used for scanning according to the determined scanning mode to search for the wireless local area network.

本申请实施例提供一种计算机可读存储介质,其上存储有计算机程序,其特征在于,所述计算机程序被处理器执行时实现如上述的移动终端无线局域网扫描方法的步骤。An embodiment of the present application provides a computer-readable storage medium on which a computer program is stored, characterized in that, when the computer program is executed by a processor, the steps of the above-mentioned method for scanning a wireless local area network of a mobile terminal are implemented.

本申请实施例提供一种计算机设备,包括存储器及处理器,所述存储器中储存有计算机可读指令,所述指令被所述处理器执行时,使得所述处理器执行如上述的移动终端无线局域网扫描方法。An embodiment of the present application provides a computer device, including a memory and a processor, wherein computer-readable instructions are stored in the memory, and when the instructions are executed by the processor, the processor causes the processor to execute the above-mentioned mobile terminal wireless LAN scanning method.

上述移动终端无线局域网扫描方法和装置、计算机设备、计算机可读存储介质,当移动终端的无线局域网功能开启时,获取当前所述移动终端的移动信息;根据预设的移动等级与扫描方式的映射关系,确定当前所述移动信息对应的扫描方式;根据确定的所述扫描方式进行扫描以搜索无线局域网,这样能够根据当前移动终端的移动等级自动匹配相应的扫描方式进行扫描以搜索无线局域网,能够节省功耗,提高续航能力和扫描效率,同时还可以减少辐射。The above-mentioned mobile terminal wireless local area network scanning method and device, computer equipment, and computer-readable storage medium, when the wireless local area network function of the mobile terminal is turned on, obtain the current movement information of the mobile terminal; according to the preset movement level and scanning mode mapping relationship, determine the scanning mode corresponding to the current mobile information; scan according to the determined scanning mode to search for the wireless local area network, so that the corresponding scanning mode can be automatically matched according to the current mobile terminal movement level to scan to search for the wireless local area network, which can Save power consumption, improve battery life and scanning efficiency, while also reducing radiation.

附图说明Description of drawings

为了更清楚地说明本申请实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本申请的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the following briefly introduces the accompanying drawings required for the description of the embodiments or the prior art. Obviously, the drawings in the following description are only These are some embodiments of the present application. For those of ordinary skill in the art, other drawings can also be obtained based on these drawings without any creative effort.

图1为一个实施例中移动终端无线局域网扫描方法的流程图;1 is a flowchart of a method for scanning a wireless local area network of a mobile terminal in one embodiment;

图2为一个实施例中所述根据预设的移动等级与扫描方式的映射关系,确定当前所述移动信息对应的扫描方式的流程图;2 is a flow chart of determining a scanning mode corresponding to the current movement information according to a preset mapping relationship between a movement level and a scanning mode according to an embodiment;

图3为一个实施例中获取当前所述移动终端的移动信息的流程图;Fig. 3 is a flow chart of acquiring the current movement information of the mobile terminal in one embodiment;

图4为另一个实施例中获取当前所述移动终端的移动信息的流程图;FIG. 4 is a flow chart of acquiring the current movement information of the mobile terminal in another embodiment;

图5为一个实施例中的根据确定的所述扫描方式进行扫描以搜索无线局域网的流程图;5 is a flowchart of scanning according to the determined scanning mode to search for a wireless local area network in one embodiment;

图6为一个实施例中移动终端无线局域网扫描装置的内部结构框架图;Fig. 6 is the internal structure frame diagram of the wireless local area network scanning device of the mobile terminal in one embodiment;

图7为与本申请实施例提供的计算机设备相关的手机的部分结构的框图。FIG. 7 is a block diagram of a partial structure of a mobile phone related to a computer device provided by an embodiment of the present application.

具体实施方式Detailed ways

为了使本申请的目的、技术方案及优点更加清楚明白,以下结合附图及实施例,对本申请进行进一步详细说明。应当理解,此处所描述的具体实施例仅仅用以解释本申请,并不用于限定本申请。In order to make the purpose, technical solutions and advantages of the present application more clearly understood, the present application will be described in further detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application, but not to limit the present application.

如图1所示,本申请实施例提供一种移动终端无线局域网扫描方法,扫描方法包括:As shown in FIG. 1 , an embodiment of the present application provides a method for scanning a wireless local area network of a mobile terminal. The scanning method includes:

步骤102:当移动终端的无线局域网功能开启时,获取当前所述移动终端的移动信息。Step 102: When the wireless local area network function of the mobile terminal is enabled, the current movement information of the mobile terminal is acquired.

移动终端采用默认的扫描方式对其预设范围内的AP进行搜索以获取无线网络的前提是需要开启无线局域网功能。The premise that the mobile terminal uses the default scanning method to search for APs within its preset range to obtain the wireless network is that the wireless local area network function needs to be enabled.

在本实施例中,当移动终端开启无线局域网功能时,不会立即对周围可用的AP进行扫描,而是先获取当前移动终端的移动信息,移动信息包括移动速度、移动方向、屏幕的亮灭信息。其中,移动信息中包括移动类型信息,移动类型信息可以包括静止状态和移动状态。进一步地,移动状态可以结合屏幕信息划分为亮屏移动、灭屏移动;移动状态可以结合移动速度划分为高速移动和低速移动;移动状态可以根据移动动作划分为翻转移动、抬起移动、水平移动等等。In this embodiment, when the mobile terminal enables the wireless local area network function, it does not immediately scan the available APs around it, but first obtains the movement information of the current mobile terminal. information. The movement information includes movement type information, and the movement type information may include a stationary state and a moving state. Further, the movement state can be divided into screen-on movement and screen-off movement in combination with the screen information; the movement state can be divided into high-speed movement and low-speed movement in combination with the movement speed; the movement state can be divided into flip movement, lift movement, and horizontal movement according to the movement action. and many more.

需要说明的是,不同属性的所述移动类型对应一种或多种移动等级。也即,移动类型为静止状态时,由于静止状态的稳定性,可以将静止状态对应的移动等级定义为一级移动等级;而移动状态根据不同的属性可以划分为多种场景的移动,将不同场景的移动状态一一对应于不同的移动等级。It should be noted that the movement types of different attributes correspond to one or more movement levels. That is, when the movement type is static state, due to the stability of the static state, the movement level corresponding to the static state can be defined as the first-level movement level; and the mobile state can be divided into movements of various scenarios according to different attributes, and different The movement states of the scene correspond to different movement levels one by one.

步骤104:根据预设的移动等级与扫描方式的映射关系,确定当前所述移动信息对应的扫描方式。Step 104: Determine the scanning mode corresponding to the current movement information according to the preset mapping relationship between the movement level and the scanning mode.

根据用户的需求,预设构建移动等级与扫描方式的映射关系,在映射关系中,一种移动等级对应一种的扫描方式。其中,扫描方式包括主动扫描和被动扫描。According to the needs of the user, a mapping relationship between the mobility level and the scanning mode is preset and constructed. In the mapping relationship, one mobility level corresponds to one scanning mode. Among them, the scanning mode includes active scanning and passive scanning.

需要说明的是,对于主动扫描方式,移动终端会主动在其所支持的信道上依次发送探测信号,用于探测周围存在的无线网络。移动终端发送的探测信号称为探测请求帧(Probe Request),通过接受探查响应帧(Probe Response)来获取网络信号。探测请求帧又可以分为两类,一类是未指定服务集标识(Service Set Identifier,SSID),一类是指定服务集标识。若探测请求帧里面未没指定服务集标识,意味着这个探测请求想要获取到周围所有能够获取到的无线网络信号,所有收到这个广播探测请求帧的无线接入点都会回应移动终端。若探测请求帧中指定了服务集标识,意味着移动终端只想找到特定的服务集标识,不需要除指定服务集标识之外的其它无线网络。无线接入点接收探测请求帧后,只有发现探测请求帧中的服务集标识和自己的服务集标识是相同的情况下,才会回应移动终端。It should be noted that, for the active scanning mode, the mobile terminal will actively send detection signals in sequence on the channels supported by the mobile terminal, so as to detect the surrounding wireless networks. The probe signal sent by the mobile terminal is called a probe request frame (Probe Request), and a network signal is obtained by receiving a probe response frame (Probe Response). The probe request frame can be further divided into two categories, one is an unspecified service set identifier (Service Set Identifier, SSID), and the other is a specified service set identifier. If the service set identifier is not specified in the probe request frame, it means that the probe request wants to obtain all available wireless network signals around, and all wireless access points that receive the broadcast probe request frame will respond to the mobile terminal. If the service set ID is specified in the probe request frame, it means that the mobile terminal only wants to find a specific service set ID, and does not need other wireless networks other than the specified service set ID. After the wireless access point receives the probe request frame, it will respond to the mobile terminal only when it finds that the service set ID in the probe request frame is the same as its own service set ID.

需要说明的是,对于被动扫描方式,移动终端不会主动发送探测请求帧,就是被动的接收无线接入点定期发送的信标帧(Beacon)来发现网络。信标帧包括有无线接入点AP的服务集标识、支持速率、无线接入点的MAC地址、支持的认证方式,加密算法、信标帧发送间隔,使用的信道等信息。例如,无线接入点发送信标帧的默认周期为100ms,即无线接入点每100ms都会广播发送一次信标帧。STA就是通过在其支持的每个信道上侦听信标帧,来获知周围存在的无线网络。It should be noted that, for the passive scanning mode, the mobile terminal does not actively send a probe request frame, but passively receives a beacon frame (Beacon) periodically sent by the wireless access point to discover the network. The beacon frame includes information such as the service set identifier of the wireless access point AP, the supported rate, the MAC address of the wireless access point, the supported authentication method, the encryption algorithm, the beacon frame sending interval, and the channel used. For example, the default period for the wireless access point to send the beacon frame is 100ms, that is, the wireless access point broadcasts and sends the beacon frame every 100ms. The STA learns the surrounding wireless network by listening to the beacon frame on each channel it supports.

根据获取的当前移动终端的移动信息,可以知晓当前的移动等级,进而可以根据映射关系获取与该移动等级对应的扫描方式(主动扫描或者被动扫描),可以避免移动终端在任何情况下仅采用一种固定的扫描方式对AP进行扫描,而是根据当前移动终端的移动等级选择与该移动等级相适配的扫描方式对AP进行扫描。According to the acquired mobility information of the current mobile terminal, the current mobility level can be known, and then the scanning mode (active scan or passive scan) corresponding to the mobility level can be acquired according to the mapping relationship, which can prevent the mobile terminal from using only one A fixed scanning mode is used to scan the AP, but a scanning mode suitable for the current mobile terminal is selected to scan the AP according to the current mobility level of the mobile terminal.

步骤106:根据确定的所述扫描方式进行扫描以搜索无线局域网。Step 106: Scan according to the determined scanning mode to search for a wireless local area network.

根据在映射关系中确定的扫描方式(主动扫描或被动扫描)对周围AP进行扫描以搜索可用的无线局域网。According to the scanning mode (active scanning or passive scanning) determined in the mapping relationship, the surrounding APs are scanned to search for available wireless local area networks.

上述移动终端无线局域网扫描方法,当移动终端的无线局域网功能开启时,获取当前所述移动终端的移动信息;根据预设的移动等级与扫描方式的映射关系,确定当前所述移动信息对应的扫描方式;根据确定的所述扫描方式进行扫描以搜索无线局域网,这样能够根据当前移动终端的移动等级自动匹配相应的扫描方式进行扫描以搜索无线局域网,能够节省功耗,提高续航能力和扫描效率,同时还可以减少辐射。In the above method for scanning the wireless local area network of a mobile terminal, when the wireless local area network function of the mobile terminal is enabled, the current movement information of the mobile terminal is obtained; according to the preset mapping relationship between the movement level and the scanning mode, the scanning corresponding to the current movement information is determined. scanning according to the determined scanning mode to search for the wireless local area network, so that the corresponding scanning mode can be automatically matched according to the current mobility level of the mobile terminal to scan to search for the wireless local area network, which can save power consumption, improve battery life and scanning efficiency, It also reduces radiation.

如图2所示,在一个实施例中,所述根据预设的移动等级与扫描方式的映射关系,确定当前所述移动信息对应的扫描方式,包括:As shown in FIG. 2 , in one embodiment, determining the scanning mode corresponding to the current movement information according to the preset mapping relationship between the movement level and the scanning mode includes:

步骤202:解析当前所述移动终端的移动信息以获取当前移动终端的移动等级。Step 202: Parse the current movement information of the mobile terminal to obtain the movement level of the current mobile terminal.

解析获取的移动终端的移动信息,也即,分析移动信息中的移动类型,根据移动类型,获取对应的移动等级。The obtained movement information of the mobile terminal is analyzed, that is, the movement type in the movement information is analyzed, and the corresponding movement level is obtained according to the movement type.

需要说明的是,在获取当前移动终端的移动信息的过程中,首先获取当前移动终端的移动类型,若该移动类型为静止状态,则将静止状态对应的移动等级为记为一级移动等级;若获取的当前移动终端的移动类型为移动状态,则根据用户的需求,设定相应的场景判断标准,获取不同场景下的移动状态对应的移动等级,其中,移动状态对应的移动等级为多级。It should be noted that, in the process of obtaining the movement information of the current mobile terminal, the movement type of the current mobile terminal is first obtained, and if the movement type is a stationary state, the movement level corresponding to the stationary state is recorded as the first-level movement level; If the acquired movement type of the current mobile terminal is the mobile state, according to the needs of the user, set the corresponding scene judgment criteria, and obtain the movement levels corresponding to the movement states in different scenarios, wherein the movement levels corresponding to the mobile states are multi-level .

步骤204:根据当前移动终端的移动等级,在所述映射关系中匹配对应的扫描方式,作为当前所述移动信息对应的扫描方式。Step 204: According to the current movement level of the mobile terminal, match the corresponding scanning mode in the mapping relationship as the scanning mode corresponding to the current mobile information.

根据当前移动终端的移动等级,在预设的移动等级与扫描方式的映射关系中匹配与该移动等级对应的扫描方式,并将匹配出的扫描方式作为目标扫描方式,采用该目标扫描方式对周围的AP进行扫描。According to the current movement level of the mobile terminal, the preset mapping relationship between the movement level and the scan mode is matched with the scan mode corresponding to the mobile level, and the matched scan mode is used as the target scan mode, and the target scan mode is used to scan the surrounding area. AP to scan.

在一个实施例中,在根据预设的移动等级与扫描方式的映射关系,确定当前所述移动信息对应的扫描方式的步骤前,还包括,构建移动等级与扫描方式的映射关系。In one embodiment, before the step of determining the scanning mode corresponding to the current movement information according to the preset mapping relationship between the movement level and the scanning mode, the method further includes constructing a mapping relationship between the movement level and the scanning mode.

其中,移动等级可以根据移动类型来确定,而移动类型的确定需要通过内置在移动终端内的加速度传感器和/或陀螺仪来确定。Wherein, the movement level can be determined according to the movement type, and the determination of the movement type needs to be determined by an acceleration sensor and/or a gyroscope built in the mobile terminal.

在一个实施例中,所述获取当前所述移动终端的移动信息,包括:In one embodiment, the obtaining the current movement information of the mobile terminal includes:

步骤302:获取所述移动终端在预设时间内的加速度变化量或角速度变化量。Step 302: Acquire the acceleration variation or the angular velocity variation of the mobile terminal within a preset time.

可以通过内置在移动终端内的加速度传感器来检测移动终端的移动信息,即,在预设时间内通过采集加速度传感器在X、Y、Z三轴的加速度变化量来判断移动终端的移动信息。The movement information of the mobile terminal can be detected by the built-in acceleration sensor in the mobile terminal, that is, the movement information of the mobile terminal can be judged by collecting the acceleration variation of the acceleration sensor in the three axes of X, Y and Z within a preset time.

可选的,还可以通过内置在移动终端内的陀螺仪来检测移动终端的移动信息,即,在预设时间内通过采集加速度传感器围绕X、Y、Z三轴旋转的角速度变化量来判断移动终端的移动信息。Optionally, the movement information of the mobile terminal can also be detected by the built-in gyroscope in the mobile terminal, that is, the movement is judged by collecting the angular velocity change of the acceleration sensor rotating around the three axes of X, Y, and Z within a preset time. Mobile information of the terminal.

步骤304:根据所述加速度变化量或角速度变化量确定所述移动终端的移动类型,所述移动类型包括静止状态和移动状态;其中,所述静止状态对应一种移动等级,所述移动状态对应多种移动等级。Step 304: Determine the movement type of the mobile terminal according to the acceleration change amount or the angular velocity change amount, and the movement type includes a static state and a moving state; wherein, the static state corresponds to a movement level, and the moving state corresponds to Multiple mobile levels.

当X、Y、Z三轴中至少一个分量(加速度或角速度)产生变化时,则认为该移动终端发生了移动,当X、Y、Z三轴中三个分量(加速度或角速度)均为发生变化时,则认为该移动终端处于静止状态。When at least one component (acceleration or angular velocity) in the three axes of X, Y and Z changes, it is considered that the mobile terminal has moved. When it changes, the mobile terminal is considered to be in a stationary state.

需要说明的是,若当前移动终端的移动类型为静止状态时,则将该静止状态对应的移动等级定义为一级移动等级。在映射关系中,该一级移动等级对应被动扫描方式。例如,当用户将该移动终端固定在某一位置播放视屏、音乐或黑屏待机状态时,无论此时移动终端是否连接AP,移动终端对AP扫描的及时性要求并不高,若此时移动终端仍然维持主动扫描方式,则会无形中增加了移动终端的功耗,缩短了整机的待机时长,同时可能给用户带来额外的辐射;此时,可以将主动扫描方式切换为被动扫描方式,以便节省功耗,增加待机时长,同时减少辐射。It should be noted that, if the current movement type of the mobile terminal is a stationary state, the movement level corresponding to the stationary state is defined as a first-level movement level. In the mapping relationship, the first-level mobility level corresponds to the passive scanning mode. For example, when the user fixes the mobile terminal in a certain position to play video, music or black screen standby, no matter whether the mobile terminal is connected to the AP or not, the mobile terminal does not have high requirements on the timeliness of AP scanning. If the active scanning mode is still maintained, the power consumption of the mobile terminal will be increased invisibly, the standby time of the whole machine will be shortened, and additional radiation may be brought to the user; at this time, the active scanning mode can be switched to the passive scanning mode. In order to save power consumption, increase standby time, and reduce radiation.

需要说明的是,默认状态下,移动终端均采用主动扫描的方式周围AP进行扫描,其中主动扫描能够快速扫描到可用AP,及时性好、响应快;但是功耗高、辐射大。It should be noted that, by default, the mobile terminal uses active scanning to scan surrounding APs. Active scanning can quickly scan available APs, with good timeliness and fast response; however, the power consumption is high and the radiation is large.

如图4所示,在一个实施例中,获取当前移动终端的移动信息,还包括:As shown in FIG. 4 , in one embodiment, acquiring the movement information of the current mobile terminal further includes:

步骤402:当所述移动类型为移动状态时,检测所述移动终端的屏幕状态和移动速度。Step 402: When the movement type is a movement state, detect the screen state and movement speed of the mobile terminal.

具体地,当当前移动终端的移动类型为移动状态时,进一步检测当前终端的屏幕状态。其中,移动终端屏幕状态可以为亮屏状态和灭屏状态,可以根据移动终端的屏幕状态来对应确定移动状态对应的移动等级。Specifically, when the movement type of the current mobile terminal is a moving state, the screen state of the current terminal is further detected. Wherein, the screen state of the mobile terminal may be a screen-on state and a screen-off state, and a mobile level corresponding to the mobile state may be determined correspondingly according to the screen state of the mobile terminal.

进一步地,当当前移动终端的移动类型为移动状态且屏幕状态为亮屏时,进一步检测当前移动终端的移动速度。Further, when the movement type of the current mobile terminal is the moving state and the screen state is the bright screen, the movement speed of the current mobile terminal is further detected.

本实施例中可以通过GPS定位技术、北斗定位技术或基站定位技术检测移动终端的移动速度,通过设置于移动终端内的陀螺仪检测移动终端的移动方向,但本申请实施例不限于此,还可以采用其他方式检测移动终端的移动速度和移动方向。In this embodiment, the moving speed of the mobile terminal can be detected by using the GPS positioning technology, the Beidou positioning technology or the base station positioning technology, and the moving direction of the mobile terminal can be detected by using the gyroscope set in the mobile terminal, but the embodiments of the present application are not limited to this. The moving speed and moving direction of the mobile terminal may be detected in other ways.

步骤404:根据所述屏幕状态和移动速度获取所述多种移动等级。Step 404: Acquire the various movement levels according to the screen state and the movement speed.

将灭屏时移动状态对应的移动等级定位为二级移动等级;二级移动等级在映射关系中对应于被动扫描。The mobile level corresponding to the mobile state when the screen is off is positioned as the secondary mobile level; the secondary mobile level corresponds to passive scanning in the mapping relationship.

例如,用户睡觉时若将移动终端放置在床上,用户一个翻身动作使移动终端产生至少两个方向上的加速度,此时,移动终端的移动类型为移动状态中的翻转或挪动,但是,移动终端仍处于灭屏状态,可以说明此时用户并没有使用移动终端,移动终端对AP扫描的及时性要求并不高,若此时移动终端仍采用主动扫描方式,则会无形中增加了移动终端的功耗,缩短了整机的待机时长;此时,可以将主动扫描方式切换为被动扫描方式或维持被动扫描方式,以便节省功耗,增加待机时长,同时减少辐射。For example, if the user places the mobile terminal on the bed while sleeping, a turning action of the user causes the mobile terminal to generate accelerations in at least two directions. It is still in the off-screen state, which means that the user is not using the mobile terminal at this time, and the mobile terminal does not have high requirements on the timeliness of AP scanning. The power consumption shortens the standby time of the whole machine; at this time, the active scanning mode can be switched to the passive scanning mode or the passive scanning mode can be maintained to save power consumption, increase the standby time, and reduce radiation.

进一步地,将获取的移动速度与预设速度值进行比较,若当前获取的移动速度大于预设速度值时,则认为移动终端处理快速移动过程中;当移动速度低于预设速度值时,则认为移动终端处于慢速移动过程中。Further, the obtained moving speed is compared with the preset speed value, and if the currently obtained moving speed is greater than the preset speed value, it is considered that the mobile terminal is in the process of fast moving; when the moving speed is lower than the preset speed value, It is considered that the mobile terminal is in a slow moving process.

将亮屏时快速移动状态对应的移动等级定位为三级移动等级;三级移动等级在映射关系中对应于被动扫描。The movement level corresponding to the fast moving state when the screen is bright is positioned as the third-level movement level; the third-level movement level corresponds to the passive scan in the mapping relationship.

例如,亮屏状态下的移动终端处于快速移动过程中,移动终端的位置在不断且快速地变化,即使在有可用AP的情形下,移动终端也很难保持与可用AP的连接,若在这种情况下,移动终端仍然采用主动扫描方式,不但会增加移动终端功耗,还会增加对用户的辐射。此时,可以将主动扫描方式切换为被动扫描方式或维持被动扫描方式,以便节省功耗,增加待机时长,同时减少辐射。For example, the mobile terminal in the bright screen state is in the process of rapid movement, and the position of the mobile terminal is constantly and rapidly changing. Even if there is an available AP, it is difficult for the mobile terminal to maintain the connection with the available AP. In this case, the mobile terminal still adopts the active scanning method, which will not only increase the power consumption of the mobile terminal, but also increase the radiation to the user. At this time, the active scanning mode can be switched to the passive scanning mode or the passive scanning mode can be maintained, so as to save power consumption, increase the standby time, and reduce radiation.

将亮屏时慢速移动状态对应的移动等级定位为四级移动等级;四级移动等级在映射关系中对应于主动扫描。The movement level corresponding to the slow movement state when the screen is bright is positioned as the fourth-level movement level; the fourth-level movement level corresponds to the active scan in the mapping relationship.

例如,亮屏状态下的移动终端处于慢速移动过程中,移动终端的位置虽然发生变化,但是其变化较慢,在有可用AP的情形下,移动终端可以保持与可用AP的连接,此时,移动终端可以采用主动扫描方式,主动扫能够快速扫描到可用AP,及时性好、响应快。For example, the mobile terminal in the bright screen state is in the process of slow movement. Although the position of the mobile terminal changes, it changes slowly. In the case of an available AP, the mobile terminal can maintain the connection with the available AP. At this time , the mobile terminal can use the active scanning method, and the active scanning can quickly scan the available APs, with good timeliness and fast response.

表1为移动类型-移动等级与扫描方式的映射关系对应表Table 1 is the correspondence table of the mapping relationship between mobility type-mobility level and scanning mode

移动类型type of movement 移动等级mobile level 扫描方式scanning method 静止状态Stationary state 一级移动等级first move class 被动扫描passive scan 移动状态(灭屏)Mobile state (screen off) 二级移动等级2nd move class 被动扫描passive scan 移动状态(亮屏快速移动)Mobile state (quick movement with bright screen) 三级移动等级3rd move class 被动扫描passive scan 移动状态(亮屏慢速移动)Movement status (bright screen and slow movement) 四级移动等级Level 4 Mobile 主动扫描Active scan

如表1所示,可以明确移动类型与移动等级的对应关系,同时也明确了移动等级与扫描方式的映射关系,根据预设的移动等级与扫描方式的映射关系,就可以确定当前移动终端的移动信息所对应的扫描方式。根据确定的扫描方式(主动扫描或被动扫描)进行扫描,这样就能够根据当前移动终端的移动信息自动切换到与之匹配的扫描方式扫描可用AP,能够节省功耗,提高续航能力和扫描效率,同时还可以减少辐射。As shown in Table 1, the corresponding relationship between the movement type and the movement level can be clarified, and the mapping relationship between the movement level and the scanning mode is also specified. According to the preset mapping relationship between the movement level and the scanning mode, the current mobile terminal can be determined. Scanning method corresponding to mobile information. Scanning is performed according to the determined scanning mode (active scanning or passive scanning), so that it can automatically switch to the matching scanning mode to scan available APs according to the current mobile terminal's movement information, which can save power consumption, improve battery life and scanning efficiency. It also reduces radiation.

在一个实施例中,根据确定的所述扫描方式进行扫描以搜索无线局域网,包括:In one embodiment, scanning according to the determined scanning mode to search for a wireless local area network includes:

步骤502:获取当前移动终端的位置信息。Step 502: Obtain the location information of the current mobile terminal.

可以通过GPS定位技术、北斗定位技术或基站定位技术检测移动终端的位置信息。在本实施例中,采用基站定位技术获取当前移动终端的位置信息,而不必主动打开GPS定位,以降低使用GPS定位的功耗。The location information of the mobile terminal can be detected through GPS positioning technology, Beidou positioning technology or base station positioning technology. In this embodiment, the location information of the current mobile terminal is obtained by using the base station positioning technology, and it is not necessary to actively turn on the GPS positioning, so as to reduce the power consumption of using the GPS positioning.

步骤504:获取与所述位置信息相匹配的预设热点数据库。Step 504: Acquire a preset hotspot database matching the location information.

其中,所述预设热点数据库中存储有能够覆盖当前位置区域的多个热点。也即,预设热点数据库中存储的热点的覆盖范围包括了当前所述移动终端所在的位置区域。Wherein, the preset hotspot database stores a plurality of hotspots that can cover the current location area. That is, the coverage of the hotspots stored in the preset hotspot database includes the current location area where the mobile terminal is located.

需要说明的是,预设热点数据库中的热点可以为常用热点,也可以是该移动终端进行曾经连接的安全热点。It should be noted that the hotspots in the preset hotspot database may be commonly used hotspots, or may be secure hotspots that the mobile terminal used to connect to.

步骤506:从所述预设热点数据库中选择对应的热点进行扫描。Step 506: Select a corresponding hotspot from the preset hotspot database to scan.

其中,数据库中存储了各个热点与移动终端连接的稳定性信息。预设数据库中的热点数量可以是任意的,例如,可以是1个、2个或多个,当热点数量为一个时,可以直接对该热点进行优先扫描。当热点数量为多个时,可以根据各个热点与移动终端连接的稳定性信息进行扫描,其稳定性越高,其扫描的优先级越高,也即,优先对优先级高的热点进行扫描。The database stores the stability information of the connection between each hotspot and the mobile terminal. The number of hotspots in the preset database may be arbitrary, for example, there may be one, two or more, and when the number of hotspots is one, the hotspot may be directly scanned preferentially. When the number of hotspots is multiple, scanning can be performed according to the stability information of the connection between each hotspot and the mobile terminal.

本实施例中,可以能够使移动终端尽可能优先扫描预设热点数据库中稳定性高的WiFi热点,可以提高扫描的准确度,避免移动终端对所有的WiFi热点进行盲目的扫描连接,减小了额外的功耗,提升了用户的体验度。In this embodiment, the mobile terminal may be able to preferentially scan the WiFi hotspots with high stability in the preset hotspot database as much as possible, which can improve the scanning accuracy, avoid the mobile terminal from blindly scanning and connecting all WiFi hotspots, and reduce the number of WiFi hotspots. The extra power consumption improves the user experience.

在一个实施例中,移动终端无线局域网扫描方法,还包括当采用主动扫描方式连接到所述无线局域网时,将所述主动扫描方式切换为被动扫描方式的步骤。In one embodiment, the wireless local area network scanning method for a mobile terminal further includes the step of switching the active scanning mode to a passive scanning mode when connecting to the wireless local area network in an active scanning mode.

也即,当移动终端通过主动扫描方式扫描到附近、可接入的无线局域网,且移动终端接入到该无线局域网时,则可以将移动终端当前使用的主动扫描方式切换为被动扫描方式。当移动终端连接了网络接入设备时,则用户对搜索其他网络接入设备的实时性要求也就不高了,此时将主动扫描方式切换为被动扫描方式,可以节省功耗,增加续航时间,同时减少辐射。如图6所示,本申请实施例还提供一种移动终端无线局域网扫描装置,包括:That is, when the mobile terminal scans a nearby and accessible wireless local area network through the active scanning method, and the mobile terminal accesses the wireless local area network, the active scanning method currently used by the mobile terminal can be switched to the passive scanning method. When the mobile terminal is connected to the network access device, the user's requirement for real-time searching for other network access devices is not high. In this case, switching the active scanning mode to the passive scanning mode can save power consumption and increase battery life. , while reducing radiation. As shown in FIG. 6 , an embodiment of the present application further provides a wireless local area network scanning device for a mobile terminal, including:

获取模块610,用于当移动终端的无线局域网功能开启时,获取当前所述移动终端的移动信息;an acquisition module 610, configured to acquire the current movement information of the mobile terminal when the wireless local area network function of the mobile terminal is enabled;

确定模块620,用于根据预设的移动等级与扫描方式的映射关系,确定当前所述移动信息对应的扫描方式;A determination module 620, configured to determine the scanning mode corresponding to the current movement information according to the preset mapping relationship between the movement level and the scanning mode;

扫描模块630,用于根据确定的所述扫描方式进行扫描以搜索无线局域网,其中,扫描方式包括主动扫描和被动扫描。The scanning module 630 is configured to scan according to the determined scanning mode to search the wireless local area network, wherein the scanning mode includes active scanning and passive scanning.

上述移动终端无线局域网扫描装置,当移动终端的无线局域网功能开启时,获取模块610能够获取当前所述移动终端的移动信息;确定模块620能够根据预设的移动等级与扫描方式的映射关系,确定当前所述移动信息对应的扫描方式;扫描模块630能够根据确定的所述扫描方式进行扫描以搜索无线局域网,这样扫描装置能够根据当前移动终端的移动等级自动匹配相应的扫描方式进行扫描以搜索无线局域网,能够节省功耗,提高续航能力和扫描效率,同时还可以减少辐射。In the above-mentioned mobile terminal wireless local area network scanning device, when the wireless local area network function of the mobile terminal is enabled, the acquisition module 610 can acquire the current movement information of the mobile terminal; the determination module 620 can determine the mapping relationship between the preset movement level and the scanning mode The scanning mode corresponding to the current mobile information; the scanning module 630 can scan according to the determined scanning mode to search the wireless local area network, so that the scanning device can automatically match the corresponding scanning mode according to the current mobile terminal's mobility level to scan to search for wireless local area networks. Local area network can save power consumption, improve battery life and scanning efficiency, and reduce radiation.

在一个实施例中,所述移动信息包括移动类型,不同属性的所述移动类型对应一种或多种移动等级;在所述映射关系中,一种所述移动等级对应一种的扫描方式。In one embodiment, the movement information includes movement types, and the movement types with different attributes correspond to one or more movement levels; in the mapping relationship, one type of the movement level corresponds to one type of scanning mode.

在一个实施例中,确定模块,包括:In one embodiment, the determining module includes:

解析单元,用于解析当前所述移动终端的移动信息以获取当前移动终端的移动等级;a parsing unit for parsing the current movement information of the mobile terminal to obtain the movement level of the current mobile terminal;

确定单元,用于根据当前移动终端的移动等级,在所述映射关系中匹配对应的扫描方式,作为当前所述移动信息对应的扫描方式。The determining unit is configured to match the corresponding scanning mode in the mapping relationship according to the current movement level of the mobile terminal, as the scanning mode corresponding to the current movement information.

在一个实施例中,获取模块,包括:In one embodiment, the acquisition module includes:

变化量获取单元,用于获取所述移动终端在预设时间内的加速度变化量或角速度变化量;a variation acquiring unit, configured to acquire the acceleration variation or the angular velocity variation of the mobile terminal within a preset time;

移动确定单元,用于根据所述加速度变化量或角速度变化量确定所述移动终端的移动类型,所述移动类型包括静止状态和移动状态;其中,所述静止状态对应一种移动等级,所述移动状态对应多种移动等级。a movement determination unit, configured to determine a movement type of the mobile terminal according to the acceleration change amount or the angular velocity change amount, where the movement type includes a stationary state and a moving state; wherein the stationary state corresponds to a movement level, and the Movement states correspond to various movement levels.

在一个实施例中,所述获取模块,还包括:In one embodiment, the obtaining module further includes:

检测单元,当所述移动类型为移动状态时,检测所述移动终端的屏幕状态和移动速度;a detection unit, when the movement type is a movement state, to detect the screen state and movement speed of the mobile terminal;

等级确定单元,还用于根据所述屏幕状态和移动速度获取所述多种移动等级。The level determination unit is further configured to acquire the various movement levels according to the screen state and the movement speed.

本实施例中,可以明确移动类型与移动等级的对应关系,同时也明确了移动等级与扫描方式的映射关系,根据预设的移动等级与扫描方式的映射关系,就可以确定当前移动终端的移动信息所对应的扫描方式。根据确定的扫描方式(主动扫描或被动扫描)进行扫描,这样就能够根据当前移动终端的移动信息自动切换到与之匹配的扫描方式扫描可用AP,能够节省功耗,提高续航能力和扫描效率,同时还可以减少辐射。In this embodiment, the corresponding relationship between the movement type and the movement level can be clarified, and the mapping relationship between the movement level and the scanning mode can also be specified. According to the preset mapping relationship between the movement level and the scanning mode, the current movement of the mobile terminal can be determined. The scanning method corresponding to the information. Scanning is performed according to the determined scanning mode (active scanning or passive scanning), so that it can automatically switch to the matching scanning mode to scan available APs according to the current mobile terminal's movement information, which can save power consumption, improve battery life and scanning efficiency. It also reduces radiation.

在一个实施例中,扫描模块,包括:In one embodiment, the scanning module includes:

位置获取单元,用于获取当前移动终端的位置信息;a location acquisition unit, used for acquiring the location information of the current mobile terminal;

热点获取单元,用于获取与所述位置信息相匹配的预设热点数据库;所述预设热点数据库中存储有能够覆盖当前位置区域的多个热点;a hotspot acquiring unit, configured to acquire a preset hotspot database matching the location information; the preset hotspot database stores a plurality of hotspots that can cover the current location area;

扫描单元,用于从所述预设热点数据库中选择对应的热点进行扫描。A scanning unit, configured to select a corresponding hotspot from the preset hotspot database for scanning.

本实施例中,扫描模块可以能够使移动终端尽可能优先扫描预设热点数据库中稳定性高的WiFi热点,可以提高扫描的准确度,避免移动终端对所有的WiFi热点进行盲目的扫描连接,减小了额外的功耗,提升了用户的体验度。In this embodiment, the scanning module can enable the mobile terminal to scan the WiFi hotspots with high stability in the preset hotspot database as much as possible, which can improve the scanning accuracy, avoid the mobile terminal from blindly scanning and connecting all the WiFi hotspots, and reduce the The extra power consumption is reduced, and the user experience is improved.

在一个实施例中,所述扫描方式包括主动扫描和被动扫描。In one embodiment, the scanning mode includes active scanning and passive scanning.

上述移动终端无线局域网扫描装置中各个模块的划分仅用于举例说明,在其他实施例中,可将扫描装置按照需要划分为不同的模块,以完成上述扫描装置的全部或部分功能。The division of each module in the above-mentioned mobile terminal wireless local area network scanning device is only for illustration. In other embodiments, the scanning device may be divided into different modules as required to complete all or part of the functions of the above-mentioned scanning device.

本申请实施例还提供了一种计算机可读存储介质。一个或多个包含计算机可执行指令的非易失性计算机可读存储介质,当所述计算机可执行指令被一个或多个处理器执行时,使得所述处理器执行以下步骤:The embodiment of the present application also provides a computer-readable storage medium. One or more non-volatile computer-readable storage media containing computer-executable instructions that, when executed by one or more processors, cause the processors to perform the following steps:

当移动终端的无线局域网功能开启时,获取当前所述移动终端的移动信息;When the wireless local area network function of the mobile terminal is enabled, acquiring the current movement information of the mobile terminal;

根据预设的移动等级与扫描方式的映射关系,确定当前所述移动信息对应的扫描方式;According to the preset mapping relationship between the movement level and the scanning mode, determine the scanning mode corresponding to the current movement information;

根据确定的所述扫描方式进行扫描以搜索无线局域网。Scanning is performed according to the determined scanning mode to search for a wireless local area network.

上述计算机可读存储介质中计算机程序(指令)在被执行时,当移动终端的无线局域网功能开启时,获取当前所述移动终端的移动信息;根据预设的移动等级与扫描方式的映射关系,确定当前所述移动信息对应的扫描方式;根据确定的所述扫描方式进行扫描以搜索无线局域网,这样能够根据当前移动终端的移动等级自动匹配相应的扫描方式进行扫描以搜索无线局域网,能够节省功耗,提高续航能力和扫描效率,同时还可以减少辐射。When the computer program (instruction) in the above-mentioned computer-readable storage medium is executed, when the wireless local area network function of the mobile terminal is turned on, the movement information of the current mobile terminal is obtained; according to the preset mapping relationship between the movement level and the scanning mode, Determine the scanning mode corresponding to the current mobile information; scan according to the determined scanning mode to search for the wireless local area network, so that the corresponding scanning mode can be automatically matched according to the current mobile terminal mobility level to scan to search for the wireless local area network, which can save energy. Consumption, improve battery life and scanning efficiency, while reducing radiation.

本申请实施例还提供了一种计算机设备。如图7所示,为了便于说明,仅示出了与本申请实施例相关的部分,具体技术细节未揭示的,请参照本申请实施例方法部分。该计算机设备可以为包括手机、平板电脑、PDA(Personal Digital Assistant,个人数字助理)、POS(Point of Sales,销售移动终端)、车载电脑、穿戴式设备等任意移动终端设备,以计算机设备为手机为例:The embodiments of the present application also provide a computer device. As shown in FIG. 7 , for the convenience of description, only the parts related to the embodiments of the present application are shown, and the specific technical details are not disclosed, please refer to the method part of the embodiments of the present application. The computer equipment can be any mobile terminal equipment including a mobile phone, a tablet computer, a PDA (Personal Digital Assistant, personal digital assistant), a POS (Point of Sales, a mobile terminal for sales), a vehicle-mounted computer, a wearable device, etc. The computer equipment is a mobile phone For example:

图7为与本申请实施例提供的计算机设备相关的手机的部分结构的框图。参考图7,手机包括:射频(Radio Frequency,RF)电路710、存储器720、输入单元730、显示单元740、传感器750、音频电路770、无线保真(wireless fidelity,WiFi)模块770、处理器780、以及电源790等部件。本领域技术人员可以理解,图7所示的手机结构并不构成对手机的限定,可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置。FIG. 7 is a block diagram of a partial structure of a mobile phone related to a computer device provided by an embodiment of the present application. Referring to FIG. 7 , the mobile phone includes: a radio frequency (RF) circuit 710 , a memory 720 , an input unit 730 , a display unit 740 , a sensor 750 , an audio circuit 770 , a wireless fidelity (WiFi) module 770 , and a processor 780 , and the power supply 790 and other components. Those skilled in the art can understand that the structure of the mobile phone shown in FIG. 7 does not constitute a limitation on the mobile phone, and may include more or less components than shown, or combine some components, or arrange different components.

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

存储器720可用于存储软件程序以及模块,处理器780通过运行存储在存储器720的软件程序以及模块,从而执行手机的各种功能应用以及数据处理。存储器720可主要包括程序存储区和数据存储区,其中,程序存储区可存储操作系统、至少一个功能所需的应用程序(比如声音播放功能的应用程序、图像播放功能的应用程序等)等;数据存储区可存储根据手机的使用所创建的数据(比如音频数据、通讯录等)等。此外,存储器720可以包括高速随机存取存储器,还可以包括非易失性存储器,例如至少一个磁盘存储器件、闪存器件、或其他易失性固态存储器件。The memory 720 can be used to store software programs and modules, and the processor 780 executes various functional applications and data processing of the mobile phone by running the software programs and modules stored in the memory 720 . The memory 720 may mainly include a program storage area and a data storage area, wherein the program storage area may store an operating system, an application program required for at least one function (such as an application program for a sound playback function, an application program for an image playback function, etc.), etc.; The data storage area may store data (such as audio data, address book, etc.) created according to the usage of the mobile phone, and the like. Additionally, memory 720 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.

输入单元730可用于接收输入的数字或字符信息,以及产生与手机700的用户设置以及功能控制有关的键信号输入。具体地,输入单元730可包括触控面板731以及其他输入设备732。触控面板731,也可称为触摸屏,可收集用户在其上或附近的触摸操作(比如用户使用手指、触笔等任何适合的物体或附件在触控面板731上或在触控面板731附近的操作),并根据预先设定的程式驱动相应的连接装置。在一个实施例中,触控面板731可包括触摸检测装置和触摸控制器两个部分。其中,触摸检测装置检测用户的触摸方位,并检测触摸操作带来的信号,将信号传送给触摸控制器;触摸控制器从触摸检测装置上接收触摸信息,并将它转换成触点坐标,再送给处理器780,并能接收处理器780发来的命令并加以执行。此外,可以采用电阻式、电容式、红外线以及表面声波等多种类型实现触控面板731。除了触控面板731,输入单元730还可以包括其他输入设备732。具体地,其他输入设备732可以包括但不限于物理键盘、功能键(比如音量控制按键、开关按键等)等中的一种或多种。The input unit 730 may be used to receive input numerical or character information, and generate key signal input related to user settings and function control of the mobile phone 700 . Specifically, the input unit 730 may include a touch panel 731 and other input devices 732 . The touch panel 731 , also referred to as a touch screen, can collect touch operations by the user on or near it (such as the user using a finger, a stylus, etc., any suitable object or accessory on or near the touch panel 731 ) operation), and drive the corresponding connection device according to the preset program. In one embodiment, the touch panel 731 may include two parts, a touch detection device and a touch controller. Among them, the touch detection device detects the user's touch orientation, detects the signal brought by the touch operation, and transmits the signal to the touch controller; the touch controller receives the touch information from the touch detection device, converts it into contact coordinates, and then sends it to the touch controller. To the processor 780, and can receive the command sent by the processor 780 and execute it. In addition, the touch panel 731 can be implemented in various types such as resistive, capacitive, infrared, and surface acoustic waves. In addition to the touch panel 731 , the input unit 730 may further include other input devices 732 . Specifically, other input devices 732 may include, but are not limited to, one or more of physical keyboards, function keys (such as volume control keys, switch keys, etc.), and the like.

显示单元740可用于显示由用户输入的信息或提供给用户的信息以及手机的各种菜单。显示单元740可包括显示面板741。在一个实施例中,可以采用液晶显示器(LiquidCrystal Display,LCD)、有机发光二极管(Organic Light-Emitting Diode,OLED)等形式来配置显示面板741。在一个实施例中,触控面板731可覆盖显示面板741,当触控面板731检测到在其上或附近的触摸操作后,传送给处理器780以确定触摸事件的类型,随后处理器780根据触摸事件的类型在显示面板741上提供相应的视觉输出。虽然在图7中,触控面板731与显示面板741是作为两个独立的部件来实现手机的输入和输入功能,但是在某些实施例中,可以将触控面板731与显示面板741集成而实现手机的输入和输出功能。The display unit 740 may be used to display information input by the user or information provided to the user and various menus of the mobile phone. The display unit 740 may include a display panel 741 . In one embodiment, the display panel 741 may be configured in the form of a Liquid Crystal Display (LCD), an Organic Light-Emitting Diode (OLED), or the like. In one embodiment, the touch panel 731 may cover the display panel 741. When the touch panel 731 detects a touch operation on or near it, the touch panel 731 transmits it to the processor 780 to determine the type of the touch event, and then the processor 780 determines the type of the touch event according to the The type of touch event provides a corresponding visual output on display panel 741 . Although in FIG. 7, the touch panel 731 and the display panel 741 are used as two independent components to realize the input and input functions of the mobile phone, in some embodiments, the touch panel 731 and the display panel 741 can be integrated to form Realize the input and output functions of the mobile phone.

手机700还可包括至少一种传感器750,比如光传感器、运动传感器以及其他传感器。具体地,光传感器可包括环境光传感器及接近传感器,其中,环境光传感器可根据环境光线的明暗来调节显示面板741的亮度,接近传感器可在手机移动到耳边时,关闭显示面板741和/或背光。运动传感器可包括加速度传感器,通过加速度传感器可检测各个方向上加速度的大小,静止时可检测出重力的大小及方向,可用于识别手机姿态的应用(比如横竖屏切换)、振动识别相关功能(比如计步器、敲击)等;此外,手机还可配置陀螺仪、气压计、湿度计、温度计、红外线传感器等其他传感器等。Cell phone 700 may also include at least one sensor 750, such as light sensors, motion sensors, and other sensors. Specifically, the light sensor may include an ambient light sensor and a proximity sensor, wherein the ambient light sensor may adjust the brightness of the display panel 741 according to the brightness of the ambient light, and the proximity sensor may turn off the display panel 741 and/or when the mobile phone is moved to the ear. or backlight. Motion sensors can include acceleration sensors, which can detect the magnitude of acceleration in all directions, and can detect the magnitude and direction of gravity when stationary. It can be used for applications that recognize the posture of mobile phones (such as switching between horizontal and vertical screens), and vibration recognition related functions (such as Pedometer, tapping), etc.; in addition, the mobile phone can also be equipped with other sensors such as gyroscope, barometer, hygrometer, thermometer, infrared sensor, etc.

音频电路760、扬声器761和传声器762可提供用户与手机之间的音频接口。音频电路760可将接收到的音频数据转换后的电信号,传输到扬声器761,由扬声器761转换为声音信号输出;另一方面,传声器762将收集的声音信号转换为电信号,由音频电路760接收后转换为音频数据,再将音频数据输出处理器780处理后,经RF电路710可以发送给另一手机,或者将音频数据输出至存储器720以便后续处理。Audio circuit 760, speaker 761 and microphone 762 may provide an audio interface between the user and the cell phone. The audio circuit 760 can convert the received audio data into an electrical signal, and transmit it to the speaker 761, and the speaker 761 converts it into a sound signal for output; on the other hand, the microphone 762 converts the collected sound signal into an electrical signal, which is converted by the audio circuit 760 After receiving, the audio data is converted into audio data, and then the audio data is output to the processor 780 for processing, and can be sent to another mobile phone via the RF circuit 710, or the audio data can be output to the memory 720 for subsequent processing.

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

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

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

在一个实施例中,手机700还可以包括摄像头、蓝牙模块等。In one embodiment, the mobile phone 700 may further include a camera, a Bluetooth module, and the like.

在本申请实施例中,该移动终端所包括的处理器780执行存储在存储器上的计算机程序时实现以下步骤:In this embodiment of the present application, the processor 780 included in the mobile terminal implements the following steps when executing the computer program stored in the memory:

当移动终端的无线局域网功能开启时,获取当前所述移动终端的移动信息;When the wireless local area network function of the mobile terminal is enabled, acquiring the current movement information of the mobile terminal;

根据预设的移动等级与扫描方式的映射关系,确定当前所述移动信息对应的扫描方式;According to the preset mapping relationship between the movement level and the scanning mode, determine the scanning mode corresponding to the current movement information;

根据确定的所述扫描方式进行扫描以搜索无线局域网。Scanning is performed according to the determined scanning mode to search for a wireless local area network.

移动终端所包括的处理器780执行存储在存储器上的计算机程序时,当移动终端的无线局域网功能开启时,获取当前所述移动终端的移动信息;根据预设的移动等级与扫描方式的映射关系,确定当前所述移动信息对应的扫描方式;根据确定的所述扫描方式进行扫描以搜索无线局域网,这样能够根据当前移动终端的移动等级自动匹配相应的扫描方式进行扫描以搜索无线局域网,能够节省功耗,提高续航能力和扫描效率,同时还可以减少辐射。When the processor 780 included in the mobile terminal executes the computer program stored in the memory, when the wireless local area network function of the mobile terminal is turned on, the mobile information of the current mobile terminal is obtained; according to the preset mapping relationship between the mobile level and the scanning mode , determine the scanning mode corresponding to the current mobile information; scan according to the determined scanning mode to search the wireless local area network, so that the corresponding scanning mode can be automatically matched according to the current mobility level of the mobile terminal to search for the wireless local area network, which can save Power consumption, improve battery life and scanning efficiency, while also reducing radiation.

本申请实施例还提供一种包含指令的计算机程序产品,当其在计算机上运行时,使得计算机执行如下步骤:Embodiments of the present application also provide a computer program product containing instructions, which, when running on a computer, causes the computer to perform the following steps:

当移动终端的无线局域网功能开启时,获取当前所述移动终端的移动信息;When the wireless local area network function of the mobile terminal is enabled, acquiring the current movement information of the mobile terminal;

根据预设的移动等级与扫描方式的映射关系,确定当前所述移动信息对应的扫描方式;According to the preset mapping relationship between the movement level and the scanning mode, determine the scanning mode corresponding to the current movement information;

根据确定的所述扫描方式进行扫描以搜索无线局域网。Scanning is performed according to the determined scanning mode to search for a wireless local area network.

包含指令的计算机程序产品,当其在计算机上运行时,当移动终端的无线局域网功能开启时,获取当前所述移动终端的移动信息;根据预设的移动等级与扫描方式的映射关系,确定当前所述移动信息对应的扫描方式;根据确定的所述扫描方式进行扫描以搜索无线局域网,这样能够根据当前移动终端的移动等级自动匹配相应的扫描方式进行扫描以搜索无线局域网,能够节省功耗,提高续航能力和扫描效率,同时还可以减少辐射。The computer program product containing the instruction, when it runs on the computer, when the wireless local area network function of the mobile terminal is turned on, obtains the current movement information of the mobile terminal; The scanning mode corresponding to the mobile information; scanning according to the determined scanning mode to search for the wireless local area network, so that the corresponding scanning mode can be automatically matched according to the current mobile terminal movement level to scan to search for the wireless local area network, which can save power consumption, Improve battery life and scanning efficiency, while also reducing radiation.

本申请所使用的对存储器、存储、数据库或其它介质的任何引用可包括非易失性和/或易失性存储器。合适的非易失性存储器可包括只读存储器(ROM)、可编程ROM(PROM)、电可编程ROM(EPROM)、电可擦除可编程ROM(EEPROM)或闪存。易失性存储器可包括随机存取存储器(RAM),它用作外部高速缓冲存储器。作为说明而非局限,RAM以多种形式可得,诸如静态RAM(SRAM)、动态RAM(DRAM)、同步DRAM(SDRAM)、双数据率SDRAM(DDR SDRAM)、增强型SDRAM(ESDRAM)、同步链路(Synchlink)DRAM(SLDRAM)、存储器总线(Rambus)直接RAM(RDRAM)、直接存储器总线动态RAM(DRDRAM)、以及存储器总线动态RAM(RDRAM)。Any reference to a memory, storage, database, or other medium as used herein may include non-volatile and/or volatile memory. Suitable nonvolatile memory may include read only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM), or flash memory. Volatile memory may include random access memory (RAM), which acts as external cache memory. By way of illustration and not limitation, RAM is available in various forms such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double data rate SDRAM (DDR SDRAM), enhanced SDRAM (ESDRAM), synchronous Link (Synchlink) DRAM (SLDRAM), Memory Bus (Rambus) Direct RAM (RDRAM), Direct Memory Bus Dynamic RAM (DRDRAM), and Memory Bus Dynamic RAM (RDRAM).

以上所述实施例仅表达了本申请的几种实施方式,其描述较为具体和详细,但并不能因此而理解为对本申请专利范围的限制。应当指出的是,对于本领域的普通技术人员来说,在不脱离本申请构思的前提下,还可以做出若干变形和改进,这些都属于本申请的保护范围。因此,本申请专利的保护范围应以所附权利要求为准。The above-mentioned embodiments only represent several embodiments of the present application, and the descriptions thereof are relatively specific and detailed, but should not be construed as a limitation on the scope of the patent of the present application. It should be pointed out that for those skilled in the art, without departing from the concept of the present application, several modifications and improvements can be made, which all belong to the protection scope of the present application. Therefore, the scope of protection of the patent of the present application shall be subject to the appended claims.

Claims (10)

1.一种移动终端无线局域网扫描方法,其特征在于,包括:1. a mobile terminal wireless local area network scanning method, is characterized in that, comprises: 当移动终端的无线局域网功能开启时,获取当前所述移动终端的移动信息;所述移动信息包括移动类型,不同所述移动类型对应一种或多种移动等级;When the wireless local area network function of the mobile terminal is enabled, the current movement information of the mobile terminal is obtained; the movement information includes a movement type, and different movement types correspond to one or more movement levels; 根据预设的移动等级与扫描方式的映射关系,确定当前所述移动信息对应的扫描方式;According to the preset mapping relationship between the movement level and the scanning mode, determine the scanning mode corresponding to the current movement information; 根据确定的所述扫描方式进行扫描以搜索无线局域网;所述述扫描方式包括主动扫描和被动扫描。Scanning is performed according to the determined scanning mode to search the wireless local area network; the scanning mode includes active scanning and passive scanning. 2.根据权利要求1所述的方法,其特征在于,在所述映射关系中,一种所述移动等级对应一种的扫描方式。2 . The method according to claim 1 , wherein, in the mapping relationship, one scanning mode corresponding to one of the mobility levels. 3 . 3.根据权利要求2所述的方法,其特征在于,所述根据预设的移动等级与扫描方式的映射关系,确定当前所述移动信息对应的扫描方式,包括:3. The method according to claim 2, wherein determining the scanning mode corresponding to the current movement information according to a preset mapping relationship between the movement level and the scanning mode, comprising: 解析当前所述移动终端的移动信息以获取当前移动终端的移动等级;Parse the current movement information of the mobile terminal to obtain the movement level of the current mobile terminal; 根据当前移动终端的移动等级,在所述映射关系中匹配对应的扫描方式,作为当前所述移动信息对应的扫描方式。According to the movement level of the current mobile terminal, the corresponding scanning mode is matched in the mapping relationship as the scanning mode corresponding to the current mobile information. 4.根据权利要求1所述的方法,其特征在于,所述获取当前所述移动终端的移动信息,包括:4. The method according to claim 1, wherein the acquiring the current movement information of the mobile terminal comprises: 获取所述移动终端在预设时间内的加速度变化量或角速度变化量;Acquire the acceleration variation or angular velocity variation of the mobile terminal within a preset time; 根据所述加速度变化量或角速度变化量确定所述移动终端的移动类型,所述移动类型包括静止状态和移动状态;其中,所述静止状态对应一种移动等级,所述移动状态对应多种移动等级。The movement type of the mobile terminal is determined according to the acceleration change amount or the angular velocity change amount, and the movement type includes a static state and a moving state; wherein, the static state corresponds to one movement level, and the moving state corresponds to multiple movements grade. 5.根据权利要求4所述的方法,其特征在于,还包括:5. The method of claim 4, further comprising: 当所述移动类型为移动状态时,检测所述移动终端的屏幕状态和移动速度;When the movement type is a movement state, detecting the screen state and movement speed of the mobile terminal; 根据所述屏幕状态和移动速度获取所述多种移动等级。The various movement levels are acquired according to the screen state and movement speed. 6.根据权利要求1所述的方法,其特征在于,根据确定的所述扫描方式进行扫描以搜索无线局域网,包括:6. The method according to claim 1, wherein scanning according to the determined scanning mode to search for a wireless local area network comprises: 获取当前移动终端的位置信息;Obtain the location information of the current mobile terminal; 获取与所述位置信息相匹配的预设热点数据库;所述预设热点数据库中存储有能够覆盖当前位置区域的多个热点;Acquire a preset hotspot database matching the location information; the preset hotspot database stores a plurality of hotspots that can cover the current location area; 从所述预设热点数据库中选择对应的热点进行扫描。A corresponding hotspot is selected from the preset hotspot database for scanning. 7.根据权利要求1所述的方法,其特征在于,还包括:7. The method of claim 1, further comprising: 当采用主动扫描方式连接到所述无线局域网时,将所述主动扫描方式切换为被动扫描方式。When the active scanning mode is used to connect to the wireless local area network, the active scanning mode is switched to the passive scanning mode. 8.一种移动终端无线局域网扫描装置,其特征在于,包括:8. A mobile terminal wireless local area network scanning device, comprising: 获取模块,用于当移动终端的无线局域网功能开启时,获取当前所述移动终端的移动信息;所述移动信息包括移动类型,不同所述移动类型对应一种或多种移动等级;an acquisition module, configured to acquire the current movement information of the mobile terminal when the wireless local area network function of the mobile terminal is enabled; the movement information includes a movement type, and different movement types correspond to one or more movement levels; 确定模块,用于根据预设的移动等级与扫描方式的映射关系,确定当前所述移动信息对应的扫描方式;a determining module, configured to determine the scanning mode corresponding to the current movement information according to the preset mapping relationship between the movement level and the scanning mode; 扫描模块,用于根据确定的所述扫描方式进行扫描以搜索无线局域网。The scanning module is used for scanning according to the determined scanning mode to search for the wireless local area network. 9.一种计算机可读存储介质,其上存储有计算机程序,其特征在于,所述计算机程序被处理器执行时实现如权利要求1至7中任一项所述的移动终端无线局域网扫描方法的步骤。9. A computer-readable storage medium on which a computer program is stored, wherein when the computer program is executed by a processor, the method for scanning a wireless local area network of a mobile terminal according to any one of claims 1 to 7 is implemented A step of. 10.一种计算机设备,包括存储器及处理器,所述存储器中储存有计算机可读指令,所述指令被所述处理器执行时,使得所述处理器执行如权利要求1至7中任一项所述的移动终端无线局域网扫描方法。10. A computer device comprising a memory and a processor, wherein computer-readable instructions are stored in the memory, and when the instructions are executed by the processor, the processor is caused to execute any one of claims 1 to 7 The mobile terminal wireless local area network scanning method described in item.
CN201711240811.9A 2017-11-30 2017-11-30 Mobile terminal wireless local area network scanning method and device and computer equipment Active CN107969025B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201711240811.9A CN107969025B (en) 2017-11-30 2017-11-30 Mobile terminal wireless local area network scanning method and device and computer equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201711240811.9A CN107969025B (en) 2017-11-30 2017-11-30 Mobile terminal wireless local area network scanning method and device and computer equipment

Publications (2)

Publication Number Publication Date
CN107969025A CN107969025A (en) 2018-04-27
CN107969025B true CN107969025B (en) 2019-12-27

Family

ID=61998200

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201711240811.9A Active CN107969025B (en) 2017-11-30 2017-11-30 Mobile terminal wireless local area network scanning method and device and computer equipment

Country Status (1)

Country Link
CN (1) CN107969025B (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108924908B (en) * 2018-06-12 2021-02-02 Oppo广东移动通信有限公司 WiFi scanning method and device and electronic device
WO2019237356A1 (en) * 2018-06-15 2019-12-19 华为技术有限公司 Method and device for scanning wireless fidelity network
CN112823546B (en) * 2018-12-03 2023-01-03 深圳市欢太科技有限公司 Network processing method, computer-readable storage medium, and electronic device
CN112866945B (en) * 2021-01-11 2022-12-16 元码森途(张家港)信息科技有限公司 Infectious disease prevention, control and tracing system based on sensor network and big data analysis

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101836486A (en) * 2007-10-22 2010-09-15 马维尔国际贸易有限公司 Location aware background access point scanning for WLAN

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP3845347B2 (en) * 2002-08-28 2006-11-15 Necインフロンティア株式会社 High speed roaming method
US9125113B2 (en) * 2011-09-30 2015-09-01 Nokia Technologies Oy Device mobility based scanning period control
HK1202757A1 (en) * 2012-05-03 2015-10-02 Interdigital Patent Holdings, Inc. Enhanced active scanning in wireless local area networks
US8805407B2 (en) * 2012-08-31 2014-08-12 The Nielsen Company (Us), Llc. Methods and apparatus to scan a wireless communication spectrum
KR20150135974A (en) * 2014-05-26 2015-12-04 한국전자통신연구원 Method and apparatus for discovering radio network
CN105407473B (en) * 2015-10-22 2019-07-05 小米科技有限责任公司 WLAN finds method and device

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101836486A (en) * 2007-10-22 2010-09-15 马维尔国际贸易有限公司 Location aware background access point scanning for WLAN

Also Published As

Publication number Publication date
CN107969025A (en) 2018-04-27

Similar Documents

Publication Publication Date Title
US10142845B2 (en) Network connection method and apparatus, and computer storage medium
CN108040357B (en) Mobile terminal wireless local area network scanning method and device, computer equipment
CN107949040B (en) Wireless local area network scanning method, device, computer equipment and storage medium
WO2018103492A1 (en) Method for setting wifi roaming, and terminal device
US10813058B2 (en) Method for processing information and terminal device
CN107820302B (en) Mobile terminal wireless local area network scanning method and device and computer equipment
CN107820303B (en) Mobile terminal wireless local area network scanning method and device and computer equipment
CN107172702B (en) Mobile terminal and WiFi transmission power adjusting method and device thereof
CN107969025B (en) Mobile terminal wireless local area network scanning method and device and computer equipment
CN107846723B (en) Wireless local area network scanning method and device, computer equipment and storage medium
CN107872875A (en) Method and device for network positioning
CN106028316B (en) A network search method and device for international roaming
CN106604314A (en) Network access method and terminal equipment for WiFi roaming
CN105898839A (en) Communication network access method and device
CN107896385B (en) Mobile terminal wireless local area network scanning method and device and computer equipment
CN107820301A (en) Control method, device, terminal and the storage medium of WLAN switch
CN108012304B (en) Wireless local area network scanning method and device, computer equipment and storage medium
WO2018145477A1 (en) Network access method and terminal
US12156068B2 (en) Cell measurement method based on frequency point optimization and terminal device
CN107896381B (en) Mobile terminal wireless local area network scanning method and device, computer equipment
CN106851784B (en) network scanning method and terminal equipment
CN106851690A (en) Wireless network scanning method, device and computer equipment
CN108601063A (en) Personal hot spot implementation method and Related product
CN112740827B (en) Network communication processing method, computer-readable storage medium, and electronic device
CN106507357A (en) An access control method, and terminal equipment

Legal Events

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

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

Applicant after: OPPO Guangdong Mobile Communications Co., Ltd.

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

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

CB02 Change of applicant information
GR01 Patent grant
GR01 Patent grant