WO2015131640A1 - Method and device for controlling background scans for wireless local area networks - Google Patents

Method and device for controlling background scans for wireless local area networks Download PDF

Info

Publication number
WO2015131640A1
WO2015131640A1 PCT/CN2014/095407 CN2014095407W WO2015131640A1 WO 2015131640 A1 WO2015131640 A1 WO 2015131640A1 CN 2014095407 W CN2014095407 W CN 2014095407W WO 2015131640 A1 WO2015131640 A1 WO 2015131640A1
Authority
WO
WIPO (PCT)
Prior art keywords
mobile terminal
local area
wireless local
area network
processing unit
Prior art date
Application number
PCT/CN2014/095407
Other languages
French (fr)
Chinese (zh)
Inventor
张百胜
曾慧鹏
Original Assignee
中兴通讯股份有限公司
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 中兴通讯股份有限公司 filed Critical 中兴通讯股份有限公司
Publication of WO2015131640A1 publication Critical patent/WO2015131640A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W48/00Access restriction; Network selection; Access point selection
    • H04W48/16Discovering, processing access restriction or access information
    • 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

Definitions

  • the present invention relates to mobile terminal application technologies, and in particular, to a method and apparatus for controlling background scanning of a wireless local area network.
  • Mobile terminals such as smart phones and tablets have been rapidly developed and widely used.
  • Mobile terminals generally support wireless local area network communication functions to support access to information by connecting to a wireless local area network such as the Internet.
  • wireless local area network background scanning is generally supported in mobile terminals.
  • the wireless local area network hotspot that is, the wireless local area network that can be accessed periodically (for example, once per minute), and successfully determines that the wireless local area network hotspot is the previously authenticated wireless local area network hot spot.
  • the wireless local area network hotspot is hot, the mobile terminal automatically connects to the WLAN hotspot.
  • the wireless LAN background scanning can improve the user experience of using the wireless local area network in the mobile terminal, when the wireless local area network background scanning is turned on, the scanning wireless local area network hot spot is performed by the mobile terminal's main processing unit such as a central processing unit (CPU), so each The main processing unit needs to be woken up when scanning the wireless LAN hotspot.
  • main processing unit such as a central processing unit (CPU)
  • the mobile terminal moves out at a higher speed, the coverage of the wireless local area network hotspot is removed in a short time, and the mobile terminal at this time generally uses the data communication service of wireless communication without accessing the network through the connection to the wireless local area network. Therefore, when the mobile terminal moves at a higher speed, it is not necessary for the main processing unit of the mobile terminal to perform wireless LAN background scanning.
  • the main processing unit is one of the most power-consuming devices in the mobile terminal.
  • the wireless local area network background scanning greatly increases the power consumption of the mobile terminal, thereby reducing the battery utilization rate of the mobile terminal.
  • the embodiment of the invention provides a method and a device for controlling the background scanning of the wireless local area network, which can avoid the wireless local area network background scanning that the main processing unit of the mobile terminal does not need to perform when the mobile terminal moves at a higher speed, thereby saving the mobile terminal. Power consumption.
  • the embodiment of the invention discloses a method for controlling background scanning of a wireless local area network, which comprises: when the mobile terminal is in a black screen state,
  • the positioning unit of the mobile terminal determines whether two or more detected moving speeds are greater than a preset speed threshold according to a preset comparison period;
  • the main processing unit of the mobile terminal stops the wireless local area network background scanning of the mobile terminal.
  • the method further includes: when the determining result is less than or equal to the speed threshold, the main processing unit turns on the wireless local area network background scanning.
  • the method further includes: when the mobile terminal is in a bright screen state, the main processing unit turns on the wireless local area network background scanning.
  • the embodiment of the invention further discloses an apparatus for controlling background scanning of a wireless local area network, comprising a positioning unit and a main processing unit in the mobile terminal, wherein
  • a positioning unit configured to determine, when the mobile terminal is in a black screen state, according to a preset comparison period, determining whether two or more detected moving speeds are greater than a preset speed threshold; when the determined result is greater than the speed Sending the first control information when the threshold is
  • the main processing unit is configured to stop the wireless local area network background scanning of the mobile terminal when receiving the first control information sent by the positioning unit.
  • the positioning unit is further configured to: when the determination result is less than or equal to the speed threshold, send the second control information;
  • the main processing unit is further configured to: when receiving the second control information sent by the positioning unit, turn on the wireless local area network background scanning.
  • the main processing unit is further configured to: when the mobile terminal is in a bright screen state, turn on the wireless local area network background scanning.
  • the embodiment of the invention further discloses a computer program and a carrier thereof, the computer program comprising program instructions, when the program instruction is executed by the mobile terminal device, the mobile terminal device is The above method for controlling the background scanning of the wireless local area network is implemented.
  • the technical solution of the embodiment of the present invention includes: when the mobile terminal is in a black screen state, the positioning unit of the mobile terminal determines whether two or more detected moving speeds are greater than a preset according to a preset comparison period. The set speed threshold; if the determined result is greater than the speed threshold, the main processing unit of the mobile terminal stops the wireless local area network background scanning.
  • the positioning unit such as the global positioning system chip (GPS chip) of the mobile terminal, compares the moving speed and the speed threshold in the comparison period, thereby realizing the mobile terminal at a higher speed.
  • GPS chip global positioning system chip
  • the main processing unit of the mobile terminal When the moving speed is greater than the speed threshold, the main processing unit of the mobile terminal automatically stops the unnecessary wireless network background scanning, and avoids waking up the main processing unit periodically (for example, once per minute) when the wireless local area network scanning is turned on.
  • the power consumption of the mobile terminal is improved, and the power consumption of the mobile terminal is improved. Improved user experience in wireless LANs in mobile terminals.
  • FIG. 1 is a flowchart of controlling a background scanning of a wireless local area network in a mobile terminal according to an embodiment of the present invention
  • FIG. 2 is a schematic structural diagram of a device for controlling background scanning of a wireless local area network in a mobile terminal according to an embodiment of the present invention.
  • FIG. 1 is a flowchart of controlling a background scanning of a wireless local area network in a mobile terminal according to an embodiment of the present invention, as shown in FIG. 1 , including:
  • Step 101 When the mobile terminal is in a black screen state, the positioning unit of the mobile terminal determines whether the detected two or more moving speeds are greater than a preset speed threshold according to a preset comparison period.
  • a positioning unit such as a GPS chip
  • it periodically detects the moving speed of the mobile terminal every 0.1 second.
  • the positioning unit can implement the present step by configuring relevant parameters of the positioning unit.
  • the comparison period may be preset to 1 second, 2 seconds, or 5 seconds
  • the speed threshold may be preset to 1 meter/second, 2 meters/second, and 5 meters/second.
  • the preset comparison period and the speed threshold may be reset by an external command, wherein the external command may be known by a person skilled in the art. Human-computer interaction technology is acquired.
  • Step 102 If the determined result is greater than a preset speed threshold, the main processing unit of the mobile terminal stops the wireless local area network background scanning.
  • the specific processing unit of the main processing unit stops the WLAN background scanning, which is a common technical means for those skilled in the art, and is not used to limit the protection scope of the present invention, and details are not described herein again.
  • the wireless local area network background scanning is stopped, thereby avoiding unnecessary wireless LAN background scanning by the main processing unit of the mobile terminal, that is, avoiding main processing.
  • the unit wakes up frequently.
  • the positioning unit sends the determination result to the main processing unit, and triggers it to stop the wireless local area network background scanning.
  • the method of the embodiment of the present invention further includes: the main processing unit turns on the wireless local area network background scanning.
  • the wireless local area network background scanning is turned on, so that when the user wants to operate the mobile terminal to obtain information through the wireless local area network, and the mobile terminal can scan the previous authentication.
  • the mobile terminal has automatically connected to the WLAN hotspot in advance, so that the user can directly obtain information through the WLAN without waiting for the mobile terminal to connect to the WLAN hotspot, thereby improving the user experience of using the WLAN in the mobile terminal.
  • the positioning unit sends the determination result to the main processing unit to trigger the wireless local area network background scanning.
  • the main processing unit unit wakes up periodically
  • the method of the embodiment of the present invention when the mobile terminal moves at a higher speed, on the one hand, the main processing unit wakes up once, on the other hand,
  • the power consumption of the positioning unit is significantly less than the power consumption of the main processing unit when the main processing unit is periodically woken up when the wireless LAN background scanning is turned on. Therefore, the method of the embodiment of the invention significantly reduces the number of wakeups of the main processing unit when the mobile terminal moves at a higher speed, thereby better reducing the power consumption of the mobile terminal and improving the utilization rate of the battery of the mobile terminal.
  • the method of the embodiment of the present invention further includes: the main processing unit turns on the wireless local area network background scanning.
  • the wireless local area network background scanning is always on, ensuring that the user can always obtain information by connecting to the wireless local area.
  • FIG. 2 is a schematic structural diagram of a device for controlling a background scanning of a wireless local area network in a mobile terminal according to an embodiment of the present invention. As shown in FIG. 2, the method includes a positioning unit and a main processing unit in a mobile terminal, where
  • the positioning unit is adapted to determine whether the detected two or more moving speeds are greater than a preset speed threshold according to a preset comparison period when the mobile terminal is in a black screen state, and the determined result is greater than a preset speed. Sending the first control information when the threshold is
  • the main processing unit is adapted to stop the wireless local area network background scanning when receiving the first control information from the positioning unit.
  • the positioning unit is further adapted to: when the determined result is less than or equal to the preset speed threshold, send the second control information;
  • the main processing unit is further adapted to: when receiving the second control information from the positioning unit, turn on the wireless local area network background scanning.
  • the main processing unit is further adapted to: when the mobile terminal is in a bright screen state, turn on the wireless local area network background scanning.
  • the method and device for controlling the background scanning of the wireless local area network are provided by the embodiment of the present invention.
  • the main processing unit of the mobile terminal stops the background scanning of the wireless local area network.
  • the wireless local area network background scan that the main processing unit does not need to perform when the mobile terminal moves at a higher speed is avoided, thereby saving power consumption of the mobile terminal.

Landscapes

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

Abstract

A method and device for controlling background scans for wireless local area networks (WLAN), comprising: when a mobile terminal screen is dark, a locating unit of the mobile terminal determines whether two or more than two moving speeds, detected according to pre-set comparison cycles, are all greater than a pre-set speed threshold; if so determined, the main processing unit of the mobile terminal stops the background scans for WLANs. The technical solutions provided by the embodiments of the present invention avoid the situation in which the main processing unit of the mobile terminal conducts unnecessary background scans for WLANs when the terminal is moving at a relatively high speed, thereby conserving the power consumption of the mobile terminal.

Description

一种控制无线局域网后台扫描的方法和装置Method and device for controlling background scanning of wireless local area network 技术领域Technical field
本发明涉及移动终端应用技术,尤其涉及一种控制无线局域网后台扫描的方法和装置。The present invention relates to mobile terminal application technologies, and in particular, to a method and apparatus for controlling background scanning of a wireless local area network.
背景技术Background technique
随着移动互联网技术的迅猛发展,移动终端如智能手机和平板电脑得到了高速发展和广泛应用。移动终端普遍支持无线局域网通信功能,从而支持通过连接到无线局域网访问网络如因特网来获取信息。目前,为了改善移动终端中使用无线局域网的用户体验,移动终端中普遍支持无线局域网后台扫描。当启动无线局域网后台扫描时,移动终端会定期(例如,每分钟一次)扫描无线局域网热点即能够接入的无线局域网,当确定出无线局域网热点为之前鉴权的无线局域网热点即之前成功连接过的无线局域网热点时,移动终端自动连接到该无线局域网热点。With the rapid development of mobile Internet technology, mobile terminals such as smart phones and tablets have been rapidly developed and widely used. Mobile terminals generally support wireless local area network communication functions to support access to information by connecting to a wireless local area network such as the Internet. Currently, in order to improve the user experience of using a wireless local area network in a mobile terminal, wireless local area network background scanning is generally supported in mobile terminals. When the wireless LAN background scan is started, the mobile terminal scans the wireless local area network hotspot, that is, the wireless local area network that can be accessed periodically (for example, once per minute), and successfully determines that the wireless local area network hotspot is the previously authenticated wireless local area network hot spot. When the WLAN hotspot is hot, the mobile terminal automatically connects to the WLAN hotspot.
无线局域网后台扫描虽然能够改善动终端中使用无线局域网的用户体验,但是当开启无线局域网后台扫描时,扫描无线局域网热点是由移动终端的主处理单元如中央处理器(CPU)进行的,因此每次需要扫描无线局域网热点时都需要唤醒主处理单元。Although the wireless LAN background scanning can improve the user experience of using the wireless local area network in the mobile terminal, when the wireless local area network background scanning is turned on, the scanning wireless local area network hot spot is performed by the mobile terminal's main processing unit such as a central processing unit (CPU), so each The main processing unit needs to be woken up when scanning the wireless LAN hotspot.
发明内容Summary of the invention
由于移动终端在以较高速度移动时,在很短时间内就会移出无线局域网热点的覆盖范围,此时的移动终端一般是通过无线通信的数据业务服务而不会通过连接到无线局域网访问网络,因此,当移动终端以较高速度移动时,移动终端的主处理单元进行无线局域网后台扫描是没有必要的。主处理单元是移动终端中功耗最大的器件之一,当移动终端以较高速度移动时无线局域网后台扫描会较大地增加移动终端的功耗,从而降低移动终端的电池的利用率。 Since the mobile terminal moves out at a higher speed, the coverage of the wireless local area network hotspot is removed in a short time, and the mobile terminal at this time generally uses the data communication service of wireless communication without accessing the network through the connection to the wireless local area network. Therefore, when the mobile terminal moves at a higher speed, it is not necessary for the main processing unit of the mobile terminal to perform wireless LAN background scanning. The main processing unit is one of the most power-consuming devices in the mobile terminal. When the mobile terminal moves at a higher speed, the wireless local area network background scanning greatly increases the power consumption of the mobile terminal, thereby reducing the battery utilization rate of the mobile terminal.
本发明实施例提供了一种控制无线局域网后台扫描的方法和装置,能够避免当移动终端以较高速度移动时移动终端的主处理单元不必要进行的无线局域网后台扫描,从而能够节省移动终端的功耗。The embodiment of the invention provides a method and a device for controlling the background scanning of the wireless local area network, which can avoid the wireless local area network background scanning that the main processing unit of the mobile terminal does not need to perform when the mobile terminal moves at a higher speed, thereby saving the mobile terminal. Power consumption.
本发明实施例公开了一种控制无线局域网后台扫描的方法,包括:当移动终端处于黑屏状态时,The embodiment of the invention discloses a method for controlling background scanning of a wireless local area network, which comprises: when the mobile terminal is in a black screen state,
所述移动终端的定位单元按照预先设置的比较周期,确定检测到的两个或两个以上移动速度是否均大于预先设置的速度阈值;The positioning unit of the mobile terminal determines whether two or more detected moving speeds are greater than a preset speed threshold according to a preset comparison period;
当确定结果是均大于所述速度阈值时,所述移动终端的主处理单元停止所述移动终端的无线局域网后台扫描。When the determined result is greater than the speed threshold, the main processing unit of the mobile terminal stops the wireless local area network background scanning of the mobile terminal.
可选地,所述方法还包括:当所述确定结果是均小于或等于所述速度阈值时,所述主处理单元开启所述无线局域网后台扫描。Optionally, the method further includes: when the determining result is less than or equal to the speed threshold, the main processing unit turns on the wireless local area network background scanning.
可选地,所述方法还包括:当所述移动终端处于亮屏状态时,所述主处理单元开启所述无线局域网后台扫描。Optionally, the method further includes: when the mobile terminal is in a bright screen state, the main processing unit turns on the wireless local area network background scanning.
本发明实施例还公开了一种控制无线局域网后台扫描的装置,包括移动终端中的定位单元和主处理单元,其中,The embodiment of the invention further discloses an apparatus for controlling background scanning of a wireless local area network, comprising a positioning unit and a main processing unit in the mobile terminal, wherein
定位单元,设置为当移动终端处于黑屏状态时,按照预先设置的比较周期,确定检测到的两个或两个以上移动速度是否均大于预先设置的速度阈值;当确定结果是均大于所述速度阈值时,发送第一控制信息;a positioning unit, configured to determine, when the mobile terminal is in a black screen state, according to a preset comparison period, determining whether two or more detected moving speeds are greater than a preset speed threshold; when the determined result is greater than the speed Sending the first control information when the threshold is
主处理单元,设置为当接收到所述定位单元发送的所述第一控制信息时,停止所述移动终端的无线局域网后台扫描。The main processing unit is configured to stop the wireless local area network background scanning of the mobile terminal when receiving the first control information sent by the positioning unit.
可选地,所述定位单元还设置为:当所述确定结果是均小于或等于所述速度阈值时,发送第二控制信息;Optionally, the positioning unit is further configured to: when the determination result is less than or equal to the speed threshold, send the second control information;
所述主处理单元还设置为:当接收到所述定位单元发送的所述第二控制信息时,开启所述无线局域网后台扫描。The main processing unit is further configured to: when receiving the second control information sent by the positioning unit, turn on the wireless local area network background scanning.
可选地,所述主处理单元还设置为:当移动终端处于亮屏状态时,开启所述无线局域网后台扫描。Optionally, the main processing unit is further configured to: when the mobile terminal is in a bright screen state, turn on the wireless local area network background scanning.
本发明实施例还公开了一种计算机程序及其载体,所述计算机程序包括程序指令,当该程序指令被移动终端设备执行时,使得该移动终端设备可实 施上述控制无线局域网后台扫描的方法。The embodiment of the invention further discloses a computer program and a carrier thereof, the computer program comprising program instructions, when the program instruction is executed by the mobile terminal device, the mobile terminal device is The above method for controlling the background scanning of the wireless local area network is implemented.
与相关技术相比,本发明实施例的技术方案包括:当移动终端处于黑屏状态时,移动终端的定位单元按照预先设置的比较周期确定检测到的两个或两个以上移动速度是否均大于预先设置的速度阈值;如果确定结果是均大于所述速度阈值时,移动终端的主处理单元停止无线局域网后台扫描。通过本发明实施例的技术方案,当移动终端处于黑屏状态时,定位单元如移动终端的全球定位***芯片(GPS芯片)在比较周期内比较移动速度与速度阈值,实现了移动终端以较高速度移动即移动速度均大于速度阈值时,移动终端的主处理单元自动停止不必要进行的无线局域网后台扫描,避免了开启无线局域网后台扫描时,定期(例如,每分钟一次)唤醒主处理单元。由于定位单元的功耗明显小于定期唤醒主处理单元时主处理单元的功耗,因此本发明实施例的技术方案节省了移动终端的功耗,提高了移动终端的电池的利用率,较好地改善了移动终端中使用无线局域网的用户体验。Compared with the related art, the technical solution of the embodiment of the present invention includes: when the mobile terminal is in a black screen state, the positioning unit of the mobile terminal determines whether two or more detected moving speeds are greater than a preset according to a preset comparison period. The set speed threshold; if the determined result is greater than the speed threshold, the main processing unit of the mobile terminal stops the wireless local area network background scanning. With the technical solution of the embodiment of the present invention, when the mobile terminal is in a black screen state, the positioning unit, such as the global positioning system chip (GPS chip) of the mobile terminal, compares the moving speed and the speed threshold in the comparison period, thereby realizing the mobile terminal at a higher speed. When the moving speed is greater than the speed threshold, the main processing unit of the mobile terminal automatically stops the unnecessary wireless network background scanning, and avoids waking up the main processing unit periodically (for example, once per minute) when the wireless local area network scanning is turned on. The power consumption of the mobile terminal is improved, and the power consumption of the mobile terminal is improved. Improved user experience in wireless LANs in mobile terminals.
本发明实施例的其它特征和优点将在随后的说明书中阐述,并且,部分地从说明书中变得显而易见,或者通过实施本发明而了解。本发明实施例的目的和其他优点可通过在说明书、权利要求书以及附图中所特别指出的结构来实现和获得。Other features and advantages of the embodiments of the invention will be set forth in the description in the description which The objectives and other advantages of the embodiments of the present invention can be realized and obtained by the structure of the invention.
附图概述BRIEF abstract
图1为本发明实施例的移动终端中控制无线局域网后台扫描的流程图;1 is a flowchart of controlling a background scanning of a wireless local area network in a mobile terminal according to an embodiment of the present invention;
图2为本发明实施例的移动终端中控制无线局域网后台扫描的装置的组成结构示意图。FIG. 2 is a schematic structural diagram of a device for controlling background scanning of a wireless local area network in a mobile terminal according to an embodiment of the present invention.
本发明的较佳实施方式Preferred embodiment of the invention
下文中将结合附图对本发明的实施例进行详细说明。需要说明的是,在不冲突的情况下,本申请中的实施例及实施例中的特征可以相互任意组合。Embodiments of the present invention will be described in detail below with reference to the accompanying drawings. It should be noted that, in the case of no conflict, the features in the embodiments and the embodiments in the present application may be arbitrarily combined with each other.
在附图的流程图示出的步骤可以在诸如一组计算机可执行指令的计算机***中执行。并且,虽然在流程图中示出了逻辑顺序,但是在某些情况下, 可以以不同于此处的顺序执行所示出或描述的步骤。The steps illustrated in the flowchart of the figures may be executed in a computer system such as a set of computer executable instructions. And, although the logical order is shown in the flowchart, in some cases, The steps shown or described may be performed in an order different than that herein.
图1为本发明实施例的移动终端中控制无线局域网后台扫描的流程图,如图1所示,包括:FIG. 1 is a flowchart of controlling a background scanning of a wireless local area network in a mobile terminal according to an embodiment of the present invention, as shown in FIG. 1 , including:
步骤101:当移动终端处于黑屏状态时,移动终端的定位单元按照预先设置的比较周期确定检测到的两个或两个以上移动速度是否均大于预先设置的速度阈值。Step 101: When the mobile terminal is in a black screen state, the positioning unit of the mobile terminal determines whether the detected two or more moving speeds are greater than a preset speed threshold according to a preset comparison period.
本领域技术人员熟知的是,当定位单元如GPS芯片工作时,其定期如每0.1秒钟检测移动终端的移动速度。本领域技术人员容易理解的是,可以通过配置定位单元的相关参数使得定位单元实现本步骤。It is well known to those skilled in the art that when a positioning unit, such as a GPS chip, operates, it periodically detects the moving speed of the mobile terminal every 0.1 second. It will be readily understood by those skilled in the art that the positioning unit can implement the present step by configuring relevant parameters of the positioning unit.
本步骤中,比较周期可以预先设置为1秒、2秒或5秒,速度阈值可以预先设置为1米/秒、2米/秒,5米/秒。In this step, the comparison period may be preset to 1 second, 2 seconds, or 5 seconds, and the speed threshold may be preset to 1 meter/second, 2 meters/second, and 5 meters/second.
需要说明的是,当移动终端处于亮屏状态(例如,用户操作移动终端)时,预先设置的比较周期和速度阈值可以通过外部指令进行重新设置,其中,外部指令可以通过本领域技术人员公知的人机交互技术进行获取。It should be noted that when the mobile terminal is in a bright screen state (for example, the user operates the mobile terminal), the preset comparison period and the speed threshold may be reset by an external command, wherein the external command may be known by a person skilled in the art. Human-computer interaction technology is acquired.
其中,确定移动终端处于黑屏状态或者亮屏状态的技术是本领域技术人员公知的。Among them, a technique for determining that the mobile terminal is in a black screen state or a bright screen state is well known to those skilled in the art.
步骤102:如果确定结果是均大于预先设置的速度阈值,移动终端的主处理单元停止无线局域网后台扫描。Step 102: If the determined result is greater than a preset speed threshold, the main processing unit of the mobile terminal stops the wireless local area network background scanning.
其中,主处理单元停止无线局域网后台扫描的具体实现,为本领域技术人员的惯用技术手段,不用于限制本发明的保护范围,此处不再赘述。The specific processing unit of the main processing unit stops the WLAN background scanning, which is a common technical means for those skilled in the art, and is not used to limit the protection scope of the present invention, and details are not described herein again.
如果移动速度均大于速度阈值,说明移动终端以较高速度移动,则停止无线局域网后台扫描,这样避免了移动终端的主处理单元不必要进行的无线局域网后台扫描,也就是说,避免了主处理单元频繁唤醒。If the moving speed is greater than the speed threshold, indicating that the mobile terminal moves at a higher speed, the wireless local area network background scanning is stopped, thereby avoiding unnecessary wireless LAN background scanning by the main processing unit of the mobile terminal, that is, avoiding main processing. The unit wakes up frequently.
需要说明的是,当前比较周期结束即下一个比较周期开始,且确定结果是均大于预先设置的速度阈值时,定位单元发送确定结果给主处理单元,触发其停止无线局域网后台扫描。It should be noted that, when the current comparison period ends, that is, the next comparison period starts, and the determination result is greater than the preset speed threshold, the positioning unit sends the determination result to the main processing unit, and triggers it to stop the wireless local area network background scanning.
可选地,如果确定结果是均小于或等于速度阈值,本发明实施例的方法还包括:主处理单元开启无线局域网后台扫描。 Optionally, if the determined result is less than or equal to the speed threshold, the method of the embodiment of the present invention further includes: the main processing unit turns on the wireless local area network background scanning.
其中,主处理单元开启无线局域网后台扫描的具体实现,为本领域技术人员的惯用技术手段,不用于限制本发明的保护范围,此处不再赘述。The specific implementation of the WLAN back-end scanning by the main processing unit is a common technical means for those skilled in the art, and is not used to limit the protection scope of the present invention, and details are not described herein again.
如果移动速度均小于或等于速度阈值,说明移动终端以较低速度移动或者静止,则开启无线局域网后台扫描,这样当用户想操作移动终端通过无线局域网获取信息,且移动终端能够扫描到之前鉴权的无线局域网热点时,移动终端已经提前自动连接到该无线局域网热点,使得用户直接可以通过无线局域网获取信息而不用等待移动终端连接到无线局域网热点,从而改善了移动终端中使用无线局域网的用户体验。If the moving speed is less than or equal to the speed threshold, indicating that the mobile terminal moves at a lower speed or is stationary, the wireless local area network background scanning is turned on, so that when the user wants to operate the mobile terminal to obtain information through the wireless local area network, and the mobile terminal can scan the previous authentication. When the WLAN hotspot is hot, the mobile terminal has automatically connected to the WLAN hotspot in advance, so that the user can directly obtain information through the WLAN without waiting for the mobile terminal to connect to the WLAN hotspot, thereby improving the user experience of using the WLAN in the mobile terminal. .
需要说明的是,当前检测周期结束即下一个检测周期开始,且确定结果是均小于或等于速度阈值时,定位单元发送确定结果给主处理单元,触发其开启无线局域网后台扫描。It should be noted that, when the current detection period ends, that is, the next detection period starts, and the determination result is less than or equal to the speed threshold, the positioning unit sends the determination result to the main processing unit to trigger the wireless local area network background scanning.
综上所述,当开启无线局域网后台扫描时,主处理单元单元定期唤醒,而本发明实施例的方法在移动终端以较高速度移动时,一方面,主处理单元唤醒一次,另一方面,定位单元的功耗明显小于当开启无线局域网后台扫描时定期唤醒主处理单元时主处理单元的功耗。因此,本发明实施例的方法明显降低了移动终端以较高速度移动时主处理单元的唤醒次数,从而较好地降低了移动终端的功耗,提高了移动终端的电池的利用率。In summary, when the WLAN background scan is enabled, the main processing unit unit wakes up periodically, and the method of the embodiment of the present invention, when the mobile terminal moves at a higher speed, on the one hand, the main processing unit wakes up once, on the other hand, The power consumption of the positioning unit is significantly less than the power consumption of the main processing unit when the main processing unit is periodically woken up when the wireless LAN background scanning is turned on. Therefore, the method of the embodiment of the invention significantly reduces the number of wakeups of the main processing unit when the mobile terminal moves at a higher speed, thereby better reducing the power consumption of the mobile terminal and improving the utilization rate of the battery of the mobile terminal.
可选地,当移动终端处于亮屏状态时,本发明实施例的方法还包括:主处理单元开启无线局域网后台扫描。这样实现了在该情况下,无线局域网后台扫描始终开启,保证了用户能够始终通过连接到无线局域获取信息。Optionally, when the mobile terminal is in a bright screen state, the method of the embodiment of the present invention further includes: the main processing unit turns on the wireless local area network background scanning. This achieves that in this case, the wireless LAN background scan is always on, ensuring that the user can always obtain information by connecting to the wireless local area.
图2为本发明实施例的移动终端中控制无线局域网后台扫描的装置的组成结构示意图,如图2所示,包括移动终端中的定位单元和主处理单元,其中,2 is a schematic structural diagram of a device for controlling a background scanning of a wireless local area network in a mobile terminal according to an embodiment of the present invention. As shown in FIG. 2, the method includes a positioning unit and a main processing unit in a mobile terminal, where
定位单元,适用于当移动终端处于黑屏状态时,按照预先设置的比较周期确定检测到的两个或两个以上移动速度是否均大于预先设置的速度阈值,当确定结果是均大于预先设置的速度阈值时,发送第一控制信息;The positioning unit is adapted to determine whether the detected two or more moving speeds are greater than a preset speed threshold according to a preset comparison period when the mobile terminal is in a black screen state, and the determined result is greater than a preset speed. Sending the first control information when the threshold is
主处理单元,适用于当接收到来自所述定位单元的第一控制信息时,停止无线局域网后台扫描。 The main processing unit is adapted to stop the wireless local area network background scanning when receiving the first control information from the positioning unit.
可选地,定位单元还适用于:当确定结果是均小于或等于预先设置的速度阈值时,发送第二控制信息;Optionally, the positioning unit is further adapted to: when the determined result is less than or equal to the preset speed threshold, send the second control information;
主处理单元还适用于:当接收到来自所述定位单元的第二控制信息时,开启无线局域网后台扫描。The main processing unit is further adapted to: when receiving the second control information from the positioning unit, turn on the wireless local area network background scanning.
可选地,主处理单元还适用于:当移动终端处于亮屏状态时,开启无线局域网后台扫描。Optionally, the main processing unit is further adapted to: when the mobile terminal is in a bright screen state, turn on the wireless local area network background scanning.
本领域普通技术人员可以理解上述方法中的全部或部分步骤可通过程序来指令相关硬件完成,所述程序可以存储于计算机可读存储介质中,如只读存储器、磁盘或光盘等。可选地,上述实施例的全部或部分步骤也可以使用一个或多个集成电路来实现。相应地,上述实施例中的各模块/单元可以采用硬件的形式实现,也可以采用软件功能模块的形式实现。本发明不限制于任何特定形式的硬件和软件的结合。One of ordinary skill in the art will appreciate that all or a portion of the steps described above can be accomplished by a program that instructs the associated hardware, such as a read-only memory, a magnetic or optical disk, and the like. Alternatively, all or part of the steps of the above embodiments may also be implemented using one or more integrated circuits. Correspondingly, each module/unit in the foregoing embodiment may be implemented in the form of hardware or in the form of a software function module. The invention is not limited to any specific form of combination of hardware and software.
当然,本发明还可有其他多种实施例,在不背离本发明精神及其实质的情况下,熟悉本领域的技术人员当可根据本发明作出各种相应的改变和变形,但这些相应的改变和变形都应属于本发明的权利要求的保护范围。The invention may, of course, be embodied in a variety of other embodiments without departing from the spirit and scope of the invention. Changes and modifications are intended to fall within the scope of the appended claims.
工业实用性Industrial applicability
本发明实施例提供的一种控制无线局域网后台扫描的方法和装置,当移动终端处于黑屏状态时且移动速度大于预先设置的速度阈值时,使移动终端的主处理单元停止无线局域网后台扫描,可以避免当移动终端以较高速度移动时主处理单元不必要进行的无线局域网后台扫描,从而节省移动终端的功耗。 The method and device for controlling the background scanning of the wireless local area network are provided by the embodiment of the present invention. When the mobile terminal is in a black screen state and the moving speed is greater than a preset speed threshold, the main processing unit of the mobile terminal stops the background scanning of the wireless local area network. The wireless local area network background scan that the main processing unit does not need to perform when the mobile terminal moves at a higher speed is avoided, thereby saving power consumption of the mobile terminal.

Claims (8)

  1. 一种控制无线局域网后台扫描的方法,包括:当移动终端处于黑屏状态时,所述移动终端的定位单元按照预先设置的比较周期,确定检测到的两个或两个以上所述移动终端的移动速度是否均大于预先设置的速度阈值;A method for controlling a background scanning of a wireless local area network, comprising: when a mobile terminal is in a black screen state, the positioning unit of the mobile terminal determines the movement of the detected two or more mobile terminals according to a preset comparison period Whether the speed is greater than a preset speed threshold;
    当确定结果是均大于所述速度阈值时,所述移动终端的主处理单元停止所述移动终端的无线局域网后台扫描。When the determined result is greater than the speed threshold, the main processing unit of the mobile terminal stops the wireless local area network background scanning of the mobile terminal.
  2. 根据权利要求1所述的方法,还包括:当所述确定结果是均小于或等于所述速度阈值时,所述主处理单元开启所述无线局域网后台扫描。The method of claim 1, further comprising the main processing unit turning on the wireless local area network background scan when the determination results are all less than or equal to the speed threshold.
  3. 根据权利要求1或2所述的方法,还包括:当所述移动终端处于亮屏状态时,所述主处理单元开启所述无线局域网后台扫描。The method of claim 1 or 2, further comprising the main processing unit turning on the wireless local area network background scan when the mobile terminal is in a bright screen state.
  4. 一种控制无线局域网后台扫描的装置,包括移动终端中的定位单元和主处理单元,其中,An apparatus for controlling background scanning of a wireless local area network, comprising: a positioning unit and a main processing unit in the mobile terminal, wherein
    定位单元,设置为当所述移动终端处于黑屏状态时,按照预先设置的比较周期,确定检测到的两个或两个以上所述移动终端的移动速度是否均大于预先设置的速度阈值;当确定结果是均大于所述速度阈值时,发送第一控制信息;a positioning unit, configured to determine, when the mobile terminal is in a black screen state, according to a preset comparison period, whether the detected moving speeds of the two or more mobile terminals are greater than a preset speed threshold; When the result is greater than the speed threshold, the first control information is sent;
    主处理单元,设置为当接收到所述定位单元发送的所述第一控制信息时,停止所述移动终端的无线局域网后台扫描。The main processing unit is configured to stop the wireless local area network background scanning of the mobile terminal when receiving the first control information sent by the positioning unit.
  5. 根据权利要求4所述的装置,其中,The apparatus according to claim 4, wherein
    所述定位单元还设置为:当所述确定结果是均小于或等于所述速度阈值时,发送第二控制信息;The positioning unit is further configured to: when the determination result is less than or equal to the speed threshold, send the second control information;
    所述主处理单元还设置为:当接收到所述定位单元发送的所述第二控制信息时,开启所述无线局域网后台扫描。The main processing unit is further configured to: when receiving the second control information sent by the positioning unit, turn on the wireless local area network background scanning.
  6. 根据权利要求4或5所述的装置,其中,所述主处理单元还设置为:当移动终端处于亮屏状态时,开启所述无线局域网后台扫描。The apparatus according to claim 4 or 5, wherein the main processing unit is further configured to: turn on the wireless local area network background scan when the mobile terminal is in a bright screen state.
  7. 一种计算机程序,包括程序指令,当该程序指令被移动终端设备执行时,使得该移动终端设备可实施权利要求1-3任一项的方法。A computer program comprising program instructions that, when executed by a mobile terminal device, cause the mobile terminal device to implement the method of any of claims 1-3.
  8. 一种载有权利要求7所述计算机程序的载体。 A carrier carrying the computer program of claim 7.
PCT/CN2014/095407 2014-10-15 2014-12-29 Method and device for controlling background scans for wireless local area networks WO2015131640A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201410544866.9 2014-10-15
CN201410544866.9A CN105517109A (en) 2014-10-15 2014-10-15 Method and device for controlling background scanning of wireless local area network in mobile terminal

Publications (1)

Publication Number Publication Date
WO2015131640A1 true WO2015131640A1 (en) 2015-09-11

Family

ID=54054503

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2014/095407 WO2015131640A1 (en) 2014-10-15 2014-12-29 Method and device for controlling background scans for wireless local area networks

Country Status (2)

Country Link
CN (1) CN105517109A (en)
WO (1) WO2015131640A1 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110418396A (en) * 2019-07-12 2019-11-05 宇龙计算机通信科技(深圳)有限公司 Control method, device, terminal and the storage medium of WIFI network
CN110602762A (en) * 2018-06-13 2019-12-20 精工爱普生株式会社 Information processing apparatus

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106162830A (en) * 2016-09-27 2016-11-23 维沃移动通信有限公司 The method of attachment of a kind of WLAN and mobile terminal
CN106793039A (en) * 2016-12-30 2017-05-31 深圳天珑无线科技有限公司 Terminal control method and device
CN107124751A (en) * 2017-04-26 2017-09-01 努比亚技术有限公司 A kind of terminal and terminal control method
CN107820302B (en) * 2017-11-30 2021-01-26 Oppo广东移动通信有限公司 Mobile terminal wireless local area network scanning method and device and computer equipment
CN108769392A (en) * 2018-05-14 2018-11-06 Oppo(重庆)智能科技有限公司 The bright screen control method of terminal, device, terminal and storage medium

Citations (3)

* 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
CN102740417A (en) * 2011-04-15 2012-10-17 捷讯研究有限公司 Methods and apparatus for use in efficiently scanning for wireless networks based on mobile device velocity
WO2013122838A2 (en) * 2012-02-14 2013-08-22 Apple Inc. Wifi process

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1758796A (en) * 2004-09-21 2006-04-12 三星电子株式会社 Use the auxiliary double-mode phone of GPS power-saving
US20090131081A1 (en) * 2007-11-19 2009-05-21 Research In Motion Limited Adjusting wlan scanning parameters based on rate of change of location of mobile device
CN103974394B (en) * 2014-05-30 2019-01-22 努比亚技术有限公司 Mobile terminal and its power consumption control method

Patent Citations (3)

* 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
CN102740417A (en) * 2011-04-15 2012-10-17 捷讯研究有限公司 Methods and apparatus for use in efficiently scanning for wireless networks based on mobile device velocity
WO2013122838A2 (en) * 2012-02-14 2013-08-22 Apple Inc. Wifi process

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110602762A (en) * 2018-06-13 2019-12-20 精工爱普生株式会社 Information processing apparatus
CN110602762B (en) * 2018-06-13 2022-05-17 精工爱普生株式会社 Information processing apparatus
CN110418396A (en) * 2019-07-12 2019-11-05 宇龙计算机通信科技(深圳)有限公司 Control method, device, terminal and the storage medium of WIFI network

Also Published As

Publication number Publication date
CN105517109A (en) 2016-04-20

Similar Documents

Publication Publication Date Title
WO2015131640A1 (en) Method and device for controlling background scans for wireless local area networks
EP2996367B1 (en) Device, method, and system for starting mobile hotspot
EP3836642B1 (en) Proximity communication method and apparatus
US10299210B2 (en) Method and apparatus for reducing power consumption of electronic device
RU2628324C2 (en) Method and device for signal transmission control and electronic device
US9185648B2 (en) Intelligent beaconing by software-enabled access point
WO2014117535A1 (en) Method and apparatus for waking up device
CN109816830B (en) Unlocking method and device
WO2010141383A2 (en) Method and apparatus for adaptive power saving in a mobile computing device
US20140269476A1 (en) Power management for wireless access point
EP2718831A2 (en) Context awareness proximity-based wireless connection establishment
EP3226623B1 (en) Method for awakening wireless-fidelity network and terminal
WO2017166541A1 (en) User device and method for waking from hibernation, and computer storage medium
KR102368461B1 (en) Apparatus and method for managing a powre in an electronic device
WO2014023259A1 (en) Multifunctional intelligent terminal and energy management method thereof
WO2015172283A1 (en) Method, device and mobile terminal for reducing power consumption
KR102186552B1 (en) Apparatus and method for controlling communication module
EP2770784A1 (en) Wireless personal area network (pan) end device implementing power savings by transitioning between active and sleep states
WO2016177171A1 (en) Control method and apparatus for wireless access point device
CN106603526B (en) WiFi/hotspot starting method and device
US10681628B2 (en) Method and apparatus for scanning access points in a portable terminal
CN112616176B (en) Wake-up method and device and control method and device of equipment
JP6391015B2 (en) Wireless relay device
CN103309430A (en) Management method and relevant computer system
WO2020118711A1 (en) Wi-fi network processing method and apparatus, electronic device and storage medium

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 14884645

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 14884645

Country of ref document: EP

Kind code of ref document: A1