WO2016123844A1 - Method and apparatus for controlling application in terminal - Google Patents

Method and apparatus for controlling application in terminal Download PDF

Info

Publication number
WO2016123844A1
WO2016123844A1 PCT/CN2015/074907 CN2015074907W WO2016123844A1 WO 2016123844 A1 WO2016123844 A1 WO 2016123844A1 CN 2015074907 W CN2015074907 W CN 2015074907W WO 2016123844 A1 WO2016123844 A1 WO 2016123844A1
Authority
WO
WIPO (PCT)
Prior art keywords
information
terminal
terminal device
mobile phone
specified application
Prior art date
Application number
PCT/CN2015/074907
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 WO2016123844A1 publication Critical patent/WO2016123844A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/725Cordless telephones
    • 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 the field of communications, and in particular to a method and apparatus for controlling a terminal application.
  • the working state of the mobile phone can be divided into two types, one is the use state when the screen is bright, and the other is the sleep state when the phone is off, and the power consumption of the mobile phone in the sleep state is very low.
  • the application scenarios of mobile phones consume a lot of power mainly include: video playback, GPS navigation, large games, calls, networking, and the like.
  • the working state of the mobile phone processor determines the power consumption, that is to say, the mobile phone processor is under high load working state, and the power consumption of the mobile phone is very high.
  • the mobile phone processor enters the sleep state, and most of the above applications are closed.
  • Mobile phone peripherals such as sensors have become an indispensable device for smartphones.
  • Common sensor applications include: closing the screen during a call through a distance sensor; gravity acceleration sensor can sense the angle of the mobile phone and realize automatic screen flipping; the light sensor can judge The ambient light intensity automatically adjusts the brightness of the mobile phone.
  • most mobile phone sensors will go into a sleep state and stop working when the mobile phone is in a sleep state, and thus cannot operate the application on the terminal device, and the user experience is poor.
  • the sensor on the mobile phone in order to reduce power consumption, the sensor on the mobile phone also enters a dormant state when the mobile phone sleeps, resulting in the inability to operate the application on the mobile phone, and an effective solution has not been proposed.
  • the embodiment of the invention provides a method and a device for controlling a terminal application to solve at least the above technical problem.
  • a method for controlling a terminal application includes: acquiring terminal state information corresponding to one or more peripheral devices of the terminal device when the terminal device is in a sleep state; A set of a plurality of the terminal state information performs a control operation corresponding to the set on a specified application on the terminal device.
  • Obtaining the terminal status information corresponding to the peripheral device of the terminal device including: acquiring the terminal status information by using a coprocessor in the terminal device.
  • the terminal status information includes at least one of: space coordinate information of the terminal device, location information of the terminal device, and time information of the terminal device, where the space coordinate information is set to determine the terminal device Gesture in space.
  • Performing a control operation corresponding to the set on the specified application on the terminal device according to the set includes: when the set includes one of the following, starting a specified application corresponding to the terminal state information included in the set: Spatial coordinate information, the time information, the location information; or when the set includes any combination of the following two types of information, initiating a specified application corresponding to the combination of any two kinds of information: the spatial coordinate information, The time information, the location information.
  • Performing a control operation corresponding to the set on the specified application on the terminal device according to the set including: when the set includes: the space coordinate information, the time information, and the location information, starting and The specified application corresponding to the terminal status information included in the set.
  • the peripheral device includes at least one of the following: a gyro sensor, an acceleration sensor, a Global Position System (GPS), a wireless fidelity WIFI network module, and a memory of the terminal device.
  • a gyro sensor an acceleration sensor
  • GPS Global Position System
  • wireless fidelity WIFI network module a wireless fidelity WIFI network module
  • a control device for a terminal application comprising: an obtaining module, configured to acquire, when the terminal device is in a sleep state, acquire one or more peripheral devices corresponding to the terminal device Terminal state information; a control module configured to perform a control operation corresponding to the set on a specified application on the terminal device according to a set of one or more of the terminal state information.
  • the acquiring module is configured to acquire the terminal state information by using a coprocessor in the terminal device.
  • the terminal status information acquired by the acquiring module includes at least one of: space coordinate information of the terminal device, location information of the terminal device, and time information of the terminal device, where the space coordinate information is set. In order to judge the posture of the terminal device in space.
  • the control module includes: a first activation unit, configured to: when the set includes one of the following, start a specified application corresponding to the terminal state information included in the set: the space coordinate information, the time information, the Position information; or a second initiating unit, configured to: when the set includes any combination of the following two types of information, start a specified application corresponding to the combination of any two kinds of information: the space coordinate information, the time information , the location information.
  • a first activation unit configured to: when the set includes one of the following, start a specified application corresponding to the terminal state information included in the set: the space coordinate information, the time information, the Position information
  • a second initiating unit configured to: when the set includes any combination of the following two types of information, start a specified application corresponding to the combination of any two kinds of information: the space coordinate information, the time information , the location information.
  • the control module further includes: a third activation unit configured to: when the set includes: the space coordinate information, the time information, and the location information, initiate designation corresponding to terminal state information included in the set application.
  • a technical means for controlling a terminal application according to a set of one or more terminal state information of a peripheral component of the terminal device when the terminal device is in a dormant state is used, and the related art is solved on the mobile phone.
  • the sensor In order to reduce power consumption, the sensor also enters a sleep state when the mobile phone sleeps, resulting in the inability to operate the application on the mobile phone, enriching the use function of the terminal device, and greatly improving the user experience.
  • FIG. 1 is a flowchart of a method of controlling a terminal application according to an embodiment of the present invention
  • FIG. 2 is a diagram showing the composition of a terminal system according to an embodiment of the present invention.
  • FIG. 3 is a structural block diagram of a control apparatus of a terminal application according to an embodiment of the present invention.
  • FIG. 4 is a block diagram showing another structure of a control device for a terminal application according to an embodiment of the present invention.
  • FIG. 5 is a flowchart of processing of scenario 1 according to a preferred embodiment of the present invention.
  • FIG. 6 is a process flow diagram of scenario 2 in accordance with a preferred embodiment of the present invention.
  • FIG. 7 is a process flow diagram of scenario 3 in accordance with a preferred embodiment of the present invention.
  • FIG. 1 is a flowchart of a method for controlling a terminal application according to an embodiment of the present invention. As shown in FIG. 1, the process includes the following steps:
  • Step S102 Acquire terminal state information corresponding to one or more peripheral devices of the terminal device when the terminal device is in a dormant state;
  • Step S104 Perform a control operation corresponding to the set on the specified application on the terminal device according to the set of one or more of the foregoing terminal state information.
  • the technical means capable of controlling the terminal application according to the set of one or more terminal state information acquired by the peripheral component (for example, the sensor) of the terminal device solves the related art.
  • the sensor on the mobile phone also enters the hibernation state when the mobile phone is in a sleep state, which may result in the inability to operate the application on the mobile phone, enriching the use function of the terminal device, and the user can still according to the terminal status information when the terminal is in the dormant state. Automatically control the terminal application, greatly improving the user experience.
  • step S102 is preferably implemented in the following manner: acquiring the terminal state information by using a coprocessor in the terminal device, that is, when the terminal is in a sleep state by using a coprocessor with low power consumption, The terminal status information is processed.
  • the mobile phone processor main processor
  • the coprocessor with low power consumption is still in the working state, and then the coprocessor is used to manage the information of the peripheral device and the application of the terminal, thereby realizing
  • the terminal can acquire terminal state information even if it is in a sleep state, thereby controlling the effect of the application on the terminal.
  • the terminal status information includes at least one of: space coordinate information of the terminal device, location information of the terminal device, and time information of the terminal device, where the space coordinate information is set to determine that the terminal device is in space. attitude.
  • step S104 There are various implementation manners in the step S104. The following implementations are provided in the embodiment of the present invention:
  • the terminal state information included in the set includes one of the following, start a specified application corresponding to the terminal state information included in the set: the space coordinate information, the time information, and the location information;
  • the terminal state information includes a combination of any two kinds of information described below
  • a specified application corresponding to the combination of any two kinds of information is activated: the space coordinate information, the time information, and the position information.
  • the terminal state information in the set includes at least the space coordinate information, the time information, and the location information, start a specified application corresponding to the terminal state information included in the set.
  • the terminal state information is not limited to only three types of information defined by the foregoing embodiment: space coordinate information of the terminal device, location information of the terminal device, time information of the terminal device, and the present invention.
  • the technical solution provided by the embodiment may be configured to pre-set the corresponding relationship between the one or more terminal state information and the application on the terminal device, and details are not repeatedly described herein.
  • the peripheral device includes at least one of the following: a gyro sensor, an acceleration sensor, a GPS, a wireless fidelity WIFI network module, and a memory of the terminal device.
  • the mobile phone supports a small power consumption coprocessor in addition to the main processor, and the coprocessor can manage the mobile phone while the mobile phone is in a sleep state.
  • the sensor or peripheral device collects the information of the mobile phone in the sleep state of the mobile phone, including the space coordinate information or the time information or the location information of the mobile phone, and performs data aggregation and data calculation desired by the user, and then executes the application function desired by the user.
  • a plurality of processors are integrated inside the terminal, including a main processor and a coprocessor.
  • the main processor is responsible for the processing of the mobile phone working state, and the coprocessor can perform some specific processing tasks in the sleep state of the mobile phone, including controlling the sensor or peripheral device of the mobile phone.
  • External devices may include: gyroscopes, GPS, Wi-Fi, storage devices, and the like. The following describes the function and function of each component:
  • Main processor responsible for the normal operation of the mobile phone. Takes over the work of the coprocessor after the phone exits the sleep state, and reads the data processed by the coprocessor and saved in the storage unit during sleep.
  • Coprocessor Takes over some functions of the main processor in the sleep state of the terminal, and is responsible for the management of sensors or external devices, including data collection, data analysis, data filtering, and data storage. And perform the application function desired by the user under certain conditions.
  • the control flow of the terminal device in the foregoing embodiment may be summarized as follows: when the terminal is in the sleep state, the coprocessor in the terminal maintains the working state, and the coprocessor collects the data of the sensor or the external device, and the process may need to be saved.
  • the data is stored in a storage unit inside the phone.
  • the coprocessor can wake up the phone under certain conditions and perform the application functions desired by the user. After the mobile phone exits hibernation, the coprocessor work can be handed over to the main processor, and the saved data information can also be used by the main processor.
  • the working and using time of the mobile phone can be improved, and the operation of the mobile phone can be maintained under the sleep state of the mobile phone, so as to provide more innovative application functions and continuously improve the user experience.
  • FIG. 3 is a structural block diagram of a control apparatus of a terminal application according to an embodiment of the present invention. As shown in Figure 3, the device comprises:
  • the obtaining module 30 is configured to acquire terminal state information corresponding to one or more peripheral devices of the terminal device when the terminal device is in a sleep state;
  • the control module 32 is connected to the obtaining module 30, and is configured to perform a control operation corresponding to the set on the specified application on the terminal device according to the set of one or more of the foregoing terminal state information.
  • the technical means capable of controlling the terminal application according to the set of one or more terminal state information acquired by the peripheral components (for example, sensors) of the terminal device is solved.
  • the sensor on the mobile phone also enters a sleep state when the mobile phone is hibernating in order to reduce the power consumption, which may result in the inability to operate the application on the mobile phone, enriching the use function of the terminal device, and the user can still according to the terminal when the terminal is in the sleep state.
  • the terminal status information automatically controls the terminal application, which greatly improves the user experience.
  • the obtaining module 30 is configured to acquire the terminal status information by using a coprocessor in the terminal device.
  • the terminal status information acquired by the acquiring module 30 includes at least one of the following: a space coordinate information of the terminal device, location information of the terminal device, and time information of the terminal device, where the space coordinate information is set to be determined.
  • the attitude of the above terminal device in space includes at least one of the following: a space coordinate information of the terminal device, location information of the terminal device, and time information of the terminal device, where the space coordinate information is set to be determined. The attitude of the above terminal device in space.
  • the control module 32 may further include the following unit: the first startup unit 320.
  • the terminal state information in the set includes one of the following, the specified application corresponding to the terminal state information included in the set is started: the space coordinate information, the time information, the location information, or the second activation unit 322,
  • the terminal state information includes a combination of any two kinds of information described below, a specified application corresponding to the combination of any two types of information is activated: the space coordinate information, the time information, and the location information; and the third activation unit 324,
  • the set includes at least the space coordinate information, the time information, and the location information
  • the specified application corresponding to the terminal state information included in the set is started.
  • the spatial coordinate information in the preferred embodiment of the present invention refers to the mobile phone collecting and judging the coordinate information of the mobile phone in space through sensors such as acceleration or (and) gyroscope, and the processor can use the information according to the information. Determine the posture and position of the phone in the space.
  • Time information that is, the phone needs to extract the time at the time of sleep.
  • the coprocessor can use the method of timer calculation. After the coprocessor extracts the current timestamp of the mobile phone when the mobile phone enters hibernation, it opens its own internal timer, and uses the timestamp plus timer to calculate the specific time after the mobile phone sleeps.
  • the phone can obtain location information via satellite or network. This includes obtaining location information by acquiring satellite information, surrounding Wi-Fi network information, nearby mobile base stations, and the like.
  • Scene 1 Spatial coordinate information + time information
  • the user picks up the phone at home and keeps a space up and up, then the phone automatically wakes up from hibernation, automatically opens the Wi-Fi network, and then automatically opens the Baidu homepage. .
  • FIG. 5 is a flowchart of processing of scenario 1 according to a preferred embodiment of the present invention, as shown below, including the following process:
  • Step S502 the terminal is in a dormant state, the coprocessor in the terminal and the Wi-Fi and the gyroscope are in a working state, and the coprocessor collects relevant device data (including the current time) in real time;
  • Step S504 it is determined whether the coprocessor finds that a Wi-Fi network SSID value is the SSID value marked as "Home" by the user, and if yes, proceeds to step S506, and if not, proceeds to step S512;
  • Step S506 determining that the current time period is between 20:00 and 21:00, if yes, proceeding to step S508, if not, proceeding to step S512;
  • Step S508 determining that the data generated by the gyroscope finds that the user's mobile phone has an operation that is up and up, if yes, then go to step S510, if not, go to step S512;
  • Step S510 the mobile phone automatically wakes up from the sleep state, and automatically connects to the Wi-Fi network with the SSID “Home”, and then automatically opens the Baidu homepage;
  • step S512 the process ends.
  • the mobile phone that is carried with him automatically collects the location information of the user's movement. According to the route and speed of the action, it is judged that the user is driving after the work, and the mobile phone broadcast is automatically turned on. , broadcast morning news.
  • FIG. 6 is a flowchart of processing of scenario 2 according to a preferred embodiment of the present invention, as shown below, including the following process:
  • Step S602 the terminal is in a dormant state, the coprocessor and the GPS in the terminal are in a working state, and the coprocessor can learn the current time;
  • Step S604 the coprocessor determines the current time Monday to Friday between 7:00 and 7:30, if yes, then go to step S606, if not, then go to step S610;
  • Step S606 collecting GPS satellite signals, and analyzing whether the location information of the GPS indicates that the user is on the way to work, if yes, proceeding to step S608, if not, proceeding to step S610;
  • Step S608 automatically opening the mobile phone broadcast, and broadcasting the morning news
  • step S610 the process ends.
  • Scene 3 Spatial coordinate information + time information + location information
  • the mobile phone detects that the user is in a restaurant that is frequented.
  • the mobile phone immediately opens the data network and activates the payment software to facilitate payment by the user.
  • FIG. 7 is a flowchart of processing of scenario 3 according to a preferred embodiment of the present invention, as shown below, including the following process:
  • Step S702 the terminal is in a dormant state, the coprocessor in the terminal and the GPS and Wi-Fi are in a working state, and the coprocessor can learn the current time;
  • Step S704 the coprocessor determines the current time Sunday noon between 11:30 and 12:30, if yes, then proceeds to step S706, if not, then proceeds to step S712;
  • Step S706 the coprocessor determines that the mobile phone GPS signal disappears at a restaurant preset by the user, and the coprocessor determines that the mobile phone has found a Wi-Fi network with an SSID value of “restaurant”, and if yes, proceeds to step S708. If not, go to step S712;
  • Step S708 the coprocessor determines that the mobile phone suddenly appears a specific air slide track, and if so, then proceeds to step S710, if not, then proceeds to step S712;
  • Step S710 the mobile phone immediately opens the data network and activates the payment software, so that the user can pay the bill;
  • step S712 the flow is ended.
  • the embodiment of the present invention achieves the following technical effects: in the related art, the sensor on the mobile phone also enters a sleep state when the mobile phone is hibernating in order to reduce power consumption, resulting in the inability to operate the application on the mobile phone, enriching the problem.
  • the function of the terminal device allows the user to automatically control the terminal application according to the terminal status information when the terminal is in the sleep state, thereby greatly improving the user experience.
  • a software is provided that is configured to perform the technical solutions described in the above embodiments and preferred embodiments.
  • a storage medium is further provided, wherein the software includes the above-mentioned software, including but not limited to: an optical disk, a floppy disk, a hard disk, an erasable memory, and the like.
  • modules or steps of the present invention described above can be implemented by a general-purpose computing device that can be centralized on a single computing device or distributed across a network of multiple computing devices. Alternatively, they may be implemented by program code executable by the computing device such that they may be stored in the storage device by the computing device and, in some cases, may be different from the order herein.
  • the steps shown or described are performed, or they are separately fabricated into individual integrated circuit modules, or a plurality of modules or steps thereof are fabricated as a single integrated circuit module.
  • the invention is not limited to any specific combination of hardware and software.
  • a method and apparatus for controlling a terminal application provided by an embodiment of the present invention have the following beneficial effects: in the related art, a sensor on a mobile phone enters a sleep state when the mobile phone sleeps in order to reduce power consumption. The problem of the application on the mobile phone cannot be operated, the use function of the terminal device is enriched, and the user experience is greatly improved.

Landscapes

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

Abstract

A method and apparatus for controlling an application in a terminal. The method comprises: when a terminal is in a sleep state, acquiring terminal state information corresponding to one or more peripheral devices of a terminal device (S102); and according to a set formed by the terminal state information of one or more peripheral devices, performing a control operation, corresponding to a set, on a specified application in the terminal device (S104). By using the technical scheme, the problem in the related art is solved that an application in a mobile phone cannot be operated because, to reduce power consumption of a sensor in the mobile phone, the sensor also enters a sleep state when the mobile phone is in a sleep state; and accordingly, use functions of a terminal device is enriched, and the experience degree of a user is greatly improved.

Description

终端应用的控制方法及装置Terminal application control method and device 技术领域Technical field
本发明涉及通信领域,具体而言,涉及一种终端应用的控制方法及装置。The present invention relates to the field of communications, and in particular to a method and apparatus for controlling a terminal application.
背景技术Background technique
随着智能手机快速发展,屏幕越来越大,处理器速度越来越高,功耗问题逐渐成为制约其发展的一个瓶颈。智能手机如果节省功耗成为了一个非常重要的课题。手机开机时的工作状态可以分为两种,一种是亮屏时的使用状态,一种是关闭时的休眠状态,手机在休眠状态下功耗非常低。With the rapid development of smart phones, the screens are getting bigger and bigger, the processor speed is getting higher and higher, and the power consumption problem has gradually become a bottleneck restricting its development. Smartphones have become a very important issue if they save power. The working state of the mobile phone can be divided into two types, one is the use state when the screen is bright, and the other is the sleep state when the phone is off, and the power consumption of the mobile phone in the sleep state is very low.
目前手机消耗功耗较大的应用场景主要包括:视频播放、GPS导航、大型游戏、通话、联网等。在手机的使用中,手机处理器的工作状态决定了功耗消耗的大小,也就是说手机处理器处在高负载工作状态下,手机功耗非常高。然而当手机进入待机状态时手机处理器进入休眠态,上述大部分应用都会关闭。At present, the application scenarios of mobile phones consume a lot of power mainly include: video playback, GPS navigation, large games, calls, networking, and the like. In the use of the mobile phone, the working state of the mobile phone processor determines the power consumption, that is to say, the mobile phone processor is under high load working state, and the power consumption of the mobile phone is very high. However, when the mobile phone enters the standby state, the mobile phone processor enters the sleep state, and most of the above applications are closed.
随着智能手机快速发展,手机传感器和外围器件在不断增多,随之而来的新型手机应用不断创新,极大的提升了手机的用户体验。传感器等手机外围器件已经成为智能手机不可或缺的器件,常见的传感器类应用包括:通过距离传感器可实现通话中关闭屏幕;重力加速度传感器可以感知手机的角度,实现自动屏幕翻转;光线传感器可以判断环境光线强度,自动调整手机亮度,目前大多数的手机传感器在手机休眠时也会进入休眠状态而停止工作,进而不能够操作终端设备上的应用,用户体验度很差。With the rapid development of smart phones, mobile phone sensors and peripheral devices are increasing, and the new mobile phone applications that follow are constantly innovating, greatly improving the user experience of mobile phones. Mobile phone peripherals such as sensors have become an indispensable device for smartphones. Common sensor applications include: closing the screen during a call through a distance sensor; gravity acceleration sensor can sense the angle of the mobile phone and realize automatic screen flipping; the light sensor can judge The ambient light intensity automatically adjusts the brightness of the mobile phone. At present, most mobile phone sensors will go into a sleep state and stop working when the mobile phone is in a sleep state, and thus cannot operate the application on the terminal device, and the user experience is poor.
针对相关技术中,手机上的传感器为了减少功耗在手机休眠时也会进入休眠状态,导致不能操作手机上应用的问题,尚未提出有效的解决方案。In the related art, in order to reduce power consumption, the sensor on the mobile phone also enters a dormant state when the mobile phone sleeps, resulting in the inability to operate the application on the mobile phone, and an effective solution has not been proposed.
发明内容Summary of the invention
本发明实施例提供了一种终端应用的控制方法及装置,以至少解决上述技术问题。The embodiment of the invention provides a method and a device for controlling a terminal application to solve at least the above technical problem.
根据本发明的一个实施例,提供了一种终端应用的控制方法,包括:在终端设备处于休眠状态时,获取所述终端设备的一个或多个外围器件所对应的终端状态信息;根据一个或多个所述终端状态信息组成的集合对所述终端设备上的指定应用执行与所述集合对应的控制操作。 According to an embodiment of the present invention, a method for controlling a terminal application includes: acquiring terminal state information corresponding to one or more peripheral devices of the terminal device when the terminal device is in a sleep state; A set of a plurality of the terminal state information performs a control operation corresponding to the set on a specified application on the terminal device.
获取所述终端设备的外围器件所对应的终端状态信息,包括:通过终端设备中的协处理器获取所述终端状态信息。Obtaining the terminal status information corresponding to the peripheral device of the terminal device, including: acquiring the terminal status information by using a coprocessor in the terminal device.
所述终端状态信息包括以下至少之一:所述终端设备的空间坐标信息、所述终端设备的位置信息、所述终端设备的时间信息,其中,所述空间坐标信息设置为判断所述终端设备在空间中的姿态。The terminal status information includes at least one of: space coordinate information of the terminal device, location information of the terminal device, and time information of the terminal device, where the space coordinate information is set to determine the terminal device Gesture in space.
根据所述集合对所述终端设备上的指定应用执行与所述集合对应的控制操作,包括:当所述集合包括以下之一时,启动与该集合包括的终端状态信息对应的指定应用:所述空间坐标信息、所述时间信息、所述位置信息;或当所述集合包括以下任意两种信息的组合时,启动与所述任意两种信息的组合对应的指定应用:所述空间坐标信息、所述时间信息、所述位置信息。Performing a control operation corresponding to the set on the specified application on the terminal device according to the set, includes: when the set includes one of the following, starting a specified application corresponding to the terminal state information included in the set: Spatial coordinate information, the time information, the location information; or when the set includes any combination of the following two types of information, initiating a specified application corresponding to the combination of any two kinds of information: the spatial coordinate information, The time information, the location information.
根据所述集合对所述终端设备上的指定应用执行与所述集合对应的控制操作,包括:当所述集合包括:所述空间坐标信息、所述时间信息以及所述位置信息时,启动与该集合包括的终端状态信息对应的指定应用。Performing a control operation corresponding to the set on the specified application on the terminal device according to the set, including: when the set includes: the space coordinate information, the time information, and the location information, starting and The specified application corresponding to the terminal status information included in the set.
所述外围器件包括以下至少之一:陀螺仪传感器、加速度传感器、全球定位系统(Global Position System,简称为GPS)、无线保真WIFI网络模块、所述终端设备的存储器。The peripheral device includes at least one of the following: a gyro sensor, an acceleration sensor, a Global Position System (GPS), a wireless fidelity WIFI network module, and a memory of the terminal device.
根据本发明的另一个实施例,还提供了一种终端应用的控制装置,包括:获取模块,设置为在终端设备处于休眠状态时,获取所述终端设备的一个或多个外围器件所对应的终端状态信息;控制模块,设置为根据一个或多个所述终端状态信息组成的集合对所述终端设备上的指定应用执行与所述集合对应的控制操作。According to another embodiment of the present invention, there is provided a control device for a terminal application, comprising: an obtaining module, configured to acquire, when the terminal device is in a sleep state, acquire one or more peripheral devices corresponding to the terminal device Terminal state information; a control module configured to perform a control operation corresponding to the set on a specified application on the terminal device according to a set of one or more of the terminal state information.
所述获取模块设置为通过终端设备中的协处理器获取所述终端状态信息。The acquiring module is configured to acquire the terminal state information by using a coprocessor in the terminal device.
所述获取模块获取的所述终端状态信息包括以下至少之一:所述终端设备的空间坐标信息、所述终端设备的位置信息、所述终端设备的时间信息,其中,所述空间坐标信息设置为判断所述终端设备在空间中的姿态。The terminal status information acquired by the acquiring module includes at least one of: space coordinate information of the terminal device, location information of the terminal device, and time information of the terminal device, where the space coordinate information is set. In order to judge the posture of the terminal device in space.
所述控制模块,包括:第一启动单元,设置为当所述集合包括以下之一时,启动与该集合包括的终端状态信息对应的指定应用:所述空间坐标信息、所述时间信息、所述位置信息;或第二启动单元,设置为当所述集合包括以下任意两种信息的组合时,启动与所述任意两种信息的组合对应的指定应用:所述空间坐标信息、所述时间信息、所述位置信息。 The control module includes: a first activation unit, configured to: when the set includes one of the following, start a specified application corresponding to the terminal state information included in the set: the space coordinate information, the time information, the Position information; or a second initiating unit, configured to: when the set includes any combination of the following two types of information, start a specified application corresponding to the combination of any two kinds of information: the space coordinate information, the time information , the location information.
所述控制模块,还包括:第三启动单元,设置为当所述集合包括:所述空间坐标信息、所述时间信息以及所述位置信息时,启动与该集合包括的终端状态信息对应的指定应用。The control module further includes: a third activation unit configured to: when the set includes: the space coordinate information, the time information, and the location information, initiate designation corresponding to terminal state information included in the set application.
通过本发明实施例,采用在终端设备处于休眠状态时,仍然能够根据终端设备的外围部件的一个或多个终端状态信息的集合对终端应用进行控制的技术手段,解决了相关技术中,手机上的传感器为了减少功耗在手机休眠时也会进入休眠状态,导致不能操作手机上应用的问题,丰富了终端设备的使用功能,大大提高了用户的体验度。According to the embodiment of the present invention, a technical means for controlling a terminal application according to a set of one or more terminal state information of a peripheral component of the terminal device when the terminal device is in a dormant state is used, and the related art is solved on the mobile phone. In order to reduce power consumption, the sensor also enters a sleep state when the mobile phone sleeps, resulting in the inability to operate the application on the mobile phone, enriching the use function of the terminal device, and greatly improving the user experience.
附图说明DRAWINGS
此处所说明的附图用来提供对本发明的进一步理解,构成本申请的一部分,本发明的示意性实施例及其说明用于解释本发明,并不构成对本发明的不当限定。在附图中:The drawings described herein are intended to provide a further understanding of the invention, and are intended to be a part of the invention. In the drawing:
图1是根据本发明实施例的终端应用的控制方法的流程图;1 is a flowchart of a method of controlling a terminal application according to an embodiment of the present invention;
图2为根据本发明实施例的终端系统组成图;2 is a diagram showing the composition of a terminal system according to an embodiment of the present invention;
图3是根据本发明实施例的终端应用的控制装置的结构框图;FIG. 3 is a structural block diagram of a control apparatus of a terminal application according to an embodiment of the present invention; FIG.
图4是根据本发明实施例的终端应用的控制装置的另一结构框图;4 is a block diagram showing another structure of a control device for a terminal application according to an embodiment of the present invention;
图5为根据本发明优选实施例的场景1的处理流程图;FIG. 5 is a flowchart of processing of scenario 1 according to a preferred embodiment of the present invention; FIG.
图6为根据本发明优选实施例的场景2的处理流程图;6 is a process flow diagram of scenario 2 in accordance with a preferred embodiment of the present invention;
图7为根据本发明优选实施例的场景3的处理流程图。7 is a process flow diagram of scenario 3 in accordance with a preferred embodiment of the present invention.
具体实施方式detailed description
下文中将参考附图并结合实施例来详细说明本发明。需要说明的是,在不冲突的情况下,本申请中的实施例及实施例中的特征可以相互组合。The invention will be described in detail below with reference to the drawings in conjunction with the embodiments. It should be noted that the embodiments in the present application and the features in the embodiments may be combined with each other without conflict.
本发明的其它特征和优点将在随后的说明书中阐述,并且,部分地从说明书中变得显而易见,或者通过实施本发明而了解。本发明的目的和其他优点可通过在所写的说明书、权利要求书、以及附图中所特别指出的结构来实现和获得。 Other features and advantages of the invention will be set forth in the description which follows, The objectives and other advantages of the invention may be realized and obtained by means of the structure particularly pointed in the appended claims.
为了使本技术领域的人员更好地理解本发明方案,下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本发明一部分的实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都应当属于本发明保护的范围。The technical solutions in the embodiments of the present invention are clearly and completely described in the following with reference to the accompanying drawings in the embodiments of the present invention. It is an embodiment of the invention, but not all of the embodiments. All other embodiments obtained by those skilled in the art based on the embodiments of the present invention without creative efforts shall fall within the scope of the present invention.
在本实施例中提供了一种终端应用的控制方法,图1是根据本发明实施例的终端应用的控制方法的流程图,如图1所示,该流程包括如下步骤:In this embodiment, a method for controlling a terminal application is provided. FIG. 1 is a flowchart of a method for controlling a terminal application according to an embodiment of the present invention. As shown in FIG. 1, the process includes the following steps:
步骤S102,在终端设备处于休眠状态时,获取上述终端设备的一个或多个外围器件所对应的终端状态信息;Step S102: Acquire terminal state information corresponding to one or more peripheral devices of the terminal device when the terminal device is in a dormant state;
步骤S104,根据一个或多个上述终端状态信息组成的集合对上述终端设备上的指定应用执行与上述集合对应的控制操作。Step S104: Perform a control operation corresponding to the set on the specified application on the terminal device according to the set of one or more of the foregoing terminal state information.
通过上述各个步骤,即使终端设备处于休眠状态,仍然能够根据终端设备的外围部件(例如传感器)获取的一个或多个终端状态信息的集合对终端应用进行控制的技术手段,解决了相关技术中,手机上的传感器为了减少功耗在手机休眠时也会进入休眠状态,导致不能操作手机上应用的问题,丰富了终端设备的使用功能,用户可以在终端处于休眠状态时,仍然能够根据终端状态信息自动对终端应用进行控制,大大提高了用户的体验度。Through the above various steps, even if the terminal device is in the dormant state, the technical means capable of controlling the terminal application according to the set of one or more terminal state information acquired by the peripheral component (for example, the sensor) of the terminal device solves the related art. In order to reduce the power consumption, the sensor on the mobile phone also enters the hibernation state when the mobile phone is in a sleep state, which may result in the inability to operate the application on the mobile phone, enriching the use function of the terminal device, and the user can still according to the terminal status information when the terminal is in the dormant state. Automatically control the terminal application, greatly improving the user experience.
为了减少终端不必要的功耗,上述步骤S102优选采用以下方式实现:通过终端设备中的协处理器获取上述终端状态信息,即通过消耗功率小的协处理器在终端处于休眠状态时,对终端的终端状态信息进行处理。In order to reduce the unnecessary power consumption of the terminal, the foregoing step S102 is preferably implemented in the following manner: acquiring the terminal state information by using a coprocessor in the terminal device, that is, when the terminal is in a sleep state by using a coprocessor with low power consumption, The terminal status information is processed.
由于相关技术中,在终端处于休眠状态时,手机处理器(主处理器)为了避免功耗过大也会处于休眠状态,那么这种情况下,终端上很多应用自然也会处于一种关闭状态,而本发明实施例提供的上述技术方案,在终端处于休眠状态时,功耗很小的协处理器仍然处于工作状态,继而通过协处理器来管理外围器件的信息和终端的应用,实现了终端即使处于休眠状态仍然能够获取终端状态信息,进而控制终端上应用的效果。In the related art, when the terminal is in the dormant state, the mobile phone processor (main processor) is in a sleep state in order to avoid excessive power consumption, and in this case, many applications on the terminal are naturally in a closed state. In the above technical solution provided by the embodiment of the present invention, when the terminal is in the sleep state, the coprocessor with low power consumption is still in the working state, and then the coprocessor is used to manage the information of the peripheral device and the application of the terminal, thereby realizing The terminal can acquire terminal state information even if it is in a sleep state, thereby controlling the effect of the application on the terminal.
其中,上述终端状态信息包括以下至少之一:上述终端设备的空间坐标信息、上述终端设备的位置信息、上述终端设备的时间信息,其中,上述空间坐标信息设置为判断上述终端设备在空间中的姿态。 The terminal status information includes at least one of: space coordinate information of the terminal device, location information of the terminal device, and time information of the terminal device, where the space coordinate information is set to determine that the terminal device is in space. attitude.
步骤S104可以有多种实现方式,在本发明实施例中提供了以下几种实现情况:There are various implementation manners in the step S104. The following implementations are provided in the embodiment of the present invention:
1)当集合中包括的终端状态信息包括以下之一时,启动与该集合中包括的终端状态信息对应的指定应用:上述空间坐标信息、上述时间信息、上述位置信息;1) when the terminal state information included in the set includes one of the following, start a specified application corresponding to the terminal state information included in the set: the space coordinate information, the time information, and the location information;
2)当上述终端状态信息包括以下任意两种信息的组合时,启动与上述任意两种信息的组合对应的指定应用:上述空间坐标信息、上述时间信息、上述位置信息。2) When the terminal state information includes a combination of any two kinds of information described below, a specified application corresponding to the combination of any two kinds of information is activated: the space coordinate information, the time information, and the position information.
3)当集合中的上述终端状态信息至少包括:上述空间坐标信息、上述时间信息以及上述位置信息时,启动与该集合中包括的终端状态信息对应的指定应用。3) When the terminal state information in the set includes at least the space coordinate information, the time information, and the location information, start a specified application corresponding to the terminal state information included in the set.
需要说明的是,在实际应用过程中,终端状态信息并不仅仅限于上述实施例限定的三种信息:终端设备的空间坐标信息、终端设备的位置信息、终端设备的时间信息,并且,本发明实施例所提供的技术方案,可以实现预先设定一个或多个终端状态信息与终端设备上应用的对应关系,本发明实施例在此不再赘述。It should be noted that, in the actual application process, the terminal state information is not limited to only three types of information defined by the foregoing embodiment: space coordinate information of the terminal device, location information of the terminal device, time information of the terminal device, and the present invention. The technical solution provided by the embodiment may be configured to pre-set the corresponding relationship between the one or more terminal state information and the application on the terminal device, and details are not repeatedly described herein.
在本发明实施例中,上述外围器件包括以下至少之一:陀螺仪传感器、加速度传感器、GPS、无线保真WIFI网络模块、上述终端设备的存储器。In the embodiment of the present invention, the peripheral device includes at least one of the following: a gyro sensor, an acceleration sensor, a GPS, a wireless fidelity WIFI network module, and a memory of the terminal device.
以下结合一示例说明上述终端应用的控制方法的工作流程,如下所示:The following describes the workflow of the above control method of the terminal application in combination with an example, as follows:
图2为根据本发明实施例的终端系统组成图,如图2所示,手机除主处理器处支持一个小型的功耗较低的协处理器,协处理器可在手机休眠状态下管理手机的传感器或外围器件,在手机休眠状态下收集手机的信息,包括手机的空间坐标信息或时间信息或位置信息等,并进行用户期望的数据汇总和数据计算,然后执行用户所期望的应用功能。2 is a composition diagram of a terminal system according to an embodiment of the present invention. As shown in FIG. 2, the mobile phone supports a small power consumption coprocessor in addition to the main processor, and the coprocessor can manage the mobile phone while the mobile phone is in a sleep state. The sensor or peripheral device collects the information of the mobile phone in the sleep state of the mobile phone, including the space coordinate information or the time information or the location information of the mobile phone, and performs data aggregation and data calculation desired by the user, and then executes the application function desired by the user.
图2中,终端内部集成有多个处理器,包括主处理器和协处理器等。主处理器负责手机工作状态时的处理工作,协处理器可以在手机休眠状态下完成一些特定的处理工作,包括控制手机的传感器或外围器件等。外部器件可包括:陀螺仪、GPS、Wi-Fi、存储设备等。以下来具体说明每个组成部分的功能和作用:In FIG. 2, a plurality of processors are integrated inside the terminal, including a main processor and a coprocessor. The main processor is responsible for the processing of the mobile phone working state, and the coprocessor can perform some specific processing tasks in the sleep state of the mobile phone, including controlling the sensor or peripheral device of the mobile phone. External devices may include: gyroscopes, GPS, Wi-Fi, storage devices, and the like. The following describes the function and function of each component:
主处理器:负责手机正常的运算处理工作。在手机退出休眠状态后接管协处理器的工作,并读取休眠时由协处理器处理并保存在存储单元中的数据。Main processor: Responsible for the normal operation of the mobile phone. Takes over the work of the coprocessor after the phone exits the sleep state, and reads the data processed by the coprocessor and saved in the storage unit during sleep.
协处理器:在终端休眠状态下接管主处理器的部分功能,负责传感器或外部器件等的管理工作,包括数据的采集、数据分析、数据过滤、数据存储等。并在特定条件下执行用户期望的应用功能。 Coprocessor: Takes over some functions of the main processor in the sleep state of the terminal, and is responsible for the management of sensors or external devices, including data collection, data analysis, data filtering, and data storage. And perform the application function desired by the user under certain conditions.
上述实施例中的终端设备的控制流程可以大致总结如下:在终端处于休眠状态时,终端内的协处理器保持工作状态,协处理器采集传感器或外部器件的数据,过程中可将需要保存的数据保存在手机内部的存储单元。协处理器可在特定条件下唤醒手机,亦可执行用户期望的应用功能。在手机退出休眠后,协处理器工作可转交给主处理器,保存的数据信息亦可交由主处理器使用。The control flow of the terminal device in the foregoing embodiment may be summarized as follows: when the terminal is in the sleep state, the coprocessor in the terminal maintains the working state, and the coprocessor collects the data of the sensor or the external device, and the process may need to be saved. The data is stored in a storage unit inside the phone. The coprocessor can wake up the phone under certain conditions and perform the application functions desired by the user. After the mobile phone exits hibernation, the coprocessor work can be handed over to the main processor, and the saved data information can also be used by the main processor.
采用本发明实施例上述提供的技术方案,可以提高手机的工作和使用时间,并可以在手机休眠状态下保持手机的运算,以提供更多的创新应用功能,持续提升用户体验。By adopting the technical solution provided by the foregoing embodiment of the present invention, the working and using time of the mobile phone can be improved, and the operation of the mobile phone can be maintained under the sleep state of the mobile phone, so as to provide more innovative application functions and continuously improve the user experience.
需要说明的是,对于前述的各方法实施例,为了简单描述,故将其都表述为一系列的动作组合,但是本领域技术人员应该知悉,本发明并不受所描述的动作顺序的限制,因为依据本发明,某些步骤可以采用其他顺序或者同时进行。其次,本领域技术人员也应该知悉,说明书中所描述的实施例均属于优选实施例,所涉及的动作和模块并不一定是本发明所必需的。It should be noted that, for the foregoing method embodiments, for the sake of simple description, they are all expressed as a series of action combinations, but those skilled in the art should understand that the present invention is not limited by the described action sequence. Because certain steps may be performed in other sequences or concurrently in accordance with the present invention. Secondly, those skilled in the art should also understand that the embodiments described in the specification are all preferred embodiments, and the actions and modules involved are not necessarily required by the present invention.
在本实施例中还提供了一种终端应用的控制装置,设置为实现上述实施例及优选实施方式,已经进行过说明的不再赘述,下面对该装置中涉及到的模块进行说明。如以下所使用的,术语“模块”可以实现预定功能的软件和/或硬件的组合。尽管以下实施例所描述的装置较佳地以软件来实现,但是硬件,或者软件和硬件的组合的实现也是可能并被构想的。图3为根据本发明实施例的终端应用的控制装置的结构框图。如图3所示,该装置包括:In the embodiment, a control device for the terminal application is provided, which is configured to implement the above-mentioned embodiments and preferred embodiments. The descriptions of the modules involved in the device are described below. As used below, the term "module" may implement a combination of software and/or hardware of a predetermined function. Although the apparatus described in the following embodiments is preferably implemented in software, hardware, or a combination of software and hardware, is also possible and contemplated. FIG. 3 is a structural block diagram of a control apparatus of a terminal application according to an embodiment of the present invention. As shown in Figure 3, the device comprises:
获取模块30,设置为在终端设备处于休眠状态时,获取上述终端设备的一个或多个外围器件所对应的终端状态信息;The obtaining module 30 is configured to acquire terminal state information corresponding to one or more peripheral devices of the terminal device when the terminal device is in a sleep state;
控制模块32,与获取模块30连接,设置为根据一个或多个上述终端状态信息组成的集合对上述终端设备上的指定应用执行与上述集合对应的控制操作。The control module 32 is connected to the obtaining module 30, and is configured to perform a control operation corresponding to the set on the specified application on the terminal device according to the set of one or more of the foregoing terminal state information.
通过上述各个模块的综合作用,即使终端设备处于休眠状态,仍然能够根据终端设备的外围部件(例如传感器)获取的一个或多个终端状态信息的集合对终端应用进行控制的技术手段,解决了相关技术中,手机上的传感器为了减少功耗在手机休眠时也会进入休眠状态,导致不能操作手机上应用的问题,丰富了终端设备的使用功能,用户可以在终端处于休眠状态时,仍然能够根据终端状态信息自动对终端应用进行控制,大大提高了用户的体验度。 Through the combined action of the above various modules, even if the terminal device is in the dormant state, the technical means capable of controlling the terminal application according to the set of one or more terminal state information acquired by the peripheral components (for example, sensors) of the terminal device is solved. In the technology, the sensor on the mobile phone also enters a sleep state when the mobile phone is hibernating in order to reduce the power consumption, which may result in the inability to operate the application on the mobile phone, enriching the use function of the terminal device, and the user can still according to the terminal when the terminal is in the sleep state. The terminal status information automatically controls the terminal application, which greatly improves the user experience.
在本发明实施中,获取模块30设置为通过终端设备中的协处理器获取上述终端状态信息。In the implementation of the present invention, the obtaining module 30 is configured to acquire the terminal status information by using a coprocessor in the terminal device.
可选地,获取模块30获取的上述终端状态信息包括以下至少之一:上述终端设备的空间坐标信息、上述终端设备的位置信息、上述终端设备的时间信息,其中,上述空间坐标信息设置为判断上述终端设备在空间中的姿态。Optionally, the terminal status information acquired by the acquiring module 30 includes at least one of the following: a space coordinate information of the terminal device, location information of the terminal device, and time information of the terminal device, where the space coordinate information is set to be determined. The attitude of the above terminal device in space.
图4是根据本发明实施例的终端应用的控制装置的另一结构框图,为了完成控制模块32所完成的功能,在图4中,控制模块32还可以包括以下单元:第一启动单元320,设置为当上述集合中的终端状态信息包括以下之一时,启动与该集合中包括的终端状态信息对应的指定应用:上述空间坐标信息、上述时间信息、上述位置信息;或第二启动单元322,设置为当上述终端状态信息包括以下任意两种信息的组合时,启动与上述任意两种信息的组合对应的指定应用:上述空间坐标信息、上述时间信息、上述位置信息;第三启动单元324,设置为当上述集合至少包括:上述空间坐标信息、上述时间信息以及上述位置信息时,启动与该集合中包括的终端状态信息对应的指定应用。4 is a block diagram of another structure of the control device of the terminal application according to the embodiment of the present invention. In order to complete the functions performed by the control module 32, the control module 32 may further include the following unit: the first startup unit 320. When the terminal state information in the set includes one of the following, the specified application corresponding to the terminal state information included in the set is started: the space coordinate information, the time information, the location information, or the second activation unit 322, When the terminal state information includes a combination of any two kinds of information described below, a specified application corresponding to the combination of any two types of information is activated: the space coordinate information, the time information, and the location information; and the third activation unit 324, When the set includes at least the space coordinate information, the time information, and the location information, the specified application corresponding to the terminal state information included in the set is started.
为了更好的理解上述终端设备的控制过程,以下结合优选实施例进行说明:In order to better understand the control process of the above terminal device, the following describes the preferred embodiment:
首先,需要说明的是,本发明优选实施例中的空间坐标信息是指手机通过加速度或(和)陀螺仪等传感器,实时收集和判断手机在空间中的坐标信息,处理器可根据这些信息来判断出手机当前在空间中的姿态和位置。First, it should be noted that the spatial coordinate information in the preferred embodiment of the present invention refers to the mobile phone collecting and judging the coordinate information of the mobile phone in space through sensors such as acceleration or (and) gyroscope, and the processor can use the information according to the information. Determine the posture and position of the phone in the space.
时间信息:即手机在休眠时需要提取当时的时间。进入休眠状态后,协处理器可使用定时器计算的方法。协处理器在手机进入休眠时提取到手机当前的时间戳后,打开自己内部的定时器,通过时间戳加定时器来计算手机休眠后的具体时间。Time information: that is, the phone needs to extract the time at the time of sleep. After entering the sleep state, the coprocessor can use the method of timer calculation. After the coprocessor extracts the current timestamp of the mobile phone when the mobile phone enters hibernation, it opens its own internal timer, and uses the timestamp plus timer to calculate the specific time after the mobile phone sleeps.
位置信息:手机可通过卫星或网络获取位置信息。包括通过获取卫星信息、周边的Wi-Fi网络信息、附近的移动基站等方式来获取位置信息。Location information: The phone can obtain location information via satellite or network. This includes obtaining location information by acquiring satellite information, surrounding Wi-Fi network information, nearby mobile base stations, and the like.
场景1:空间坐标信息+时间信息Scene 1: Spatial coordinate information + time information
在晚上20:00到21:00点间,用户在家中把手机拿起并保持竖起向上的一个空间姿态,然后手机自动从休眠状态唤醒,同时自动打开Wi-Fi网络,然后自动打开百度主页。Between 20:00 and 21:00 in the evening, the user picks up the phone at home and keeps a space up and up, then the phone automatically wakes up from hibernation, automatically opens the Wi-Fi network, and then automatically opens the Baidu homepage. .
图5为根据本发明优选实施例的场景1的处理流程图,如下所示,包括以下流程: FIG. 5 is a flowchart of processing of scenario 1 according to a preferred embodiment of the present invention, as shown below, including the following process:
步骤S502,终端处于休眠状态,终端内协处理器和Wi-Fi和陀螺仪处于工作状态,协处理器实时收集相关器件数据(包括当前的时间);Step S502, the terminal is in a dormant state, the coprocessor in the terminal and the Wi-Fi and the gyroscope are in a working state, and the coprocessor collects relevant device data (including the current time) in real time;
步骤S504,判断协处理器是否发现到一个Wi-Fi网络SSID值为用户标记为“Home”的SSID值,如果是,则转步骤S506,如果不是,则转步骤S512;Step S504, it is determined whether the coprocessor finds that a Wi-Fi network SSID value is the SSID value marked as "Home" by the user, and if yes, proceeds to step S506, and if not, proceeds to step S512;
步骤S506,判断当前时间段为20:00到21:00点间,如果是,则转步骤S508,如果不是,则转步骤S512;Step S506, determining that the current time period is between 20:00 and 21:00, if yes, proceeding to step S508, if not, proceeding to step S512;
步骤S508,判断通过陀螺仪产生的数据发现用户手机发生了一次竖起向上的一个操作,如果是,则转步骤S510,如果不是,则转步骤S512;Step S508, determining that the data generated by the gyroscope finds that the user's mobile phone has an operation that is up and up, if yes, then go to step S510, if not, go to step S512;
步骤S510,手机自动从休眠状态唤醒,同时自动连接SSID为“Home”的Wi-Fi网络,然后自动打开百度主页;Step S510, the mobile phone automatically wakes up from the sleep state, and automatically connects to the Wi-Fi network with the SSID “Home”, and then automatically opens the Baidu homepage;
步骤S512,结束进程。In step S512, the process ends.
场景2:时间信息+位置信息Scene 2: Time information + location information
周一到周五早上7:00到7:30间,用户在路上时,随身携带的手机自动收集用户移动的位置信息,根据行动的路线和速度,判断用户正行驶在上班后,自动打开手机广播,播报早间新闻。From 7:00 to 7:30 in the morning from Monday to Friday, when the user is on the road, the mobile phone that is carried with him automatically collects the location information of the user's movement. According to the route and speed of the action, it is judged that the user is driving after the work, and the mobile phone broadcast is automatically turned on. , broadcast morning news.
图6为根据本发明优选实施例的场景2的处理流程图,如下所示,包括以下流程:FIG. 6 is a flowchart of processing of scenario 2 according to a preferred embodiment of the present invention, as shown below, including the following process:
步骤S602,终端处于休眠状态,终端内协处理器和GPS处于工作状态,协处理器可获知当前的时间;Step S602, the terminal is in a dormant state, the coprocessor and the GPS in the terminal are in a working state, and the coprocessor can learn the current time;
步骤S604,协处理器判断当时时间周一到周五早上7:00到7:30间,如果是,则转步骤S606,如果不是,则转步骤S610;Step S604, the coprocessor determines the current time Monday to Friday between 7:00 and 7:30, if yes, then go to step S606, if not, then go to step S610;
步骤S606,收集GPS卫星信号,通过分析发现GPS的位置信息是否显示用户正在上班的路线上,如果是,则转步骤S608,如果不是,则转步骤S610;Step S606, collecting GPS satellite signals, and analyzing whether the location information of the GPS indicates that the user is on the way to work, if yes, proceeding to step S608, if not, proceeding to step S610;
步骤S608,自动打开手机广播,播报早间新闻;Step S608, automatically opening the mobile phone broadcast, and broadcasting the morning news;
步骤S610,结束进程。In step S610, the process ends.
场景3:空间坐标信息+时间信息+位置信息 Scene 3: Spatial coordinate information + time information + location information
周日中午12:00左右,手机检测到用户位于常去的餐厅进餐,当用户以某种特定的动作在空中操作手机后,手机立即打开数据网络并激活支付软件,方便用户付款。At around 12:00 on Sunday, the mobile phone detects that the user is in a restaurant that is frequented. When the user operates the mobile phone in the air with a certain action, the mobile phone immediately opens the data network and activates the payment software to facilitate payment by the user.
图7为根据本发明优选实施例的场景3的处理流程图,如下所示,包括以下流程:FIG. 7 is a flowchart of processing of scenario 3 according to a preferred embodiment of the present invention, as shown below, including the following process:
步骤S702,终端处于休眠状态,终端内协处理器和GPS、Wi-Fi处于工作状态,协处理器可获知当前的时间;Step S702, the terminal is in a dormant state, the coprocessor in the terminal and the GPS and Wi-Fi are in a working state, and the coprocessor can learn the current time;
步骤S704,协处理器判断当前时间周日中午11:30到12:30间,如果是,则转步骤S706,如果不是,则转步骤S712;Step S704, the coprocessor determines the current time Sunday noon between 11:30 and 12:30, if yes, then proceeds to step S706, if not, then proceeds to step S712;
步骤S706,协处理器判断到手机GPS信号在用户预设的某餐厅门口消失了,协处理器判断到手机发现了一个SSID值为“restaurant”的Wi-Fi网络,如果是,则转步骤S708,如果不是,则转步骤S712;Step S706, the coprocessor determines that the mobile phone GPS signal disappears at a restaurant preset by the user, and the coprocessor determines that the mobile phone has found a Wi-Fi network with an SSID value of “restaurant”, and if yes, proceeds to step S708. If not, go to step S712;
步骤S708,协处理器判断到手机突然出现了一个特定的空中滑动轨迹,如果是,则转步骤S710,如果不是,则转步骤S712;Step S708, the coprocessor determines that the mobile phone suddenly appears a specific air slide track, and if so, then proceeds to step S710, if not, then proceeds to step S712;
步骤S710,手机立即打开数据网络并激活支付软件,方便用户买单;Step S710, the mobile phone immediately opens the data network and activates the payment software, so that the user can pay the bill;
步骤S712,结束流程。In step S712, the flow is ended.
综上所述,本发明实施例达到了以下技术效果:解决了相关技术中,手机上的传感器为了减少功耗在手机休眠时也会进入休眠状态,导致不能操作手机上应用的问题,丰富了终端设备的使用功能,用户可以在终端处于休眠状态时,仍然能够根据终端状态信息自动对终端应用进行控制,大大提高了用户的体验度。In summary, the embodiment of the present invention achieves the following technical effects: in the related art, the sensor on the mobile phone also enters a sleep state when the mobile phone is hibernating in order to reduce power consumption, resulting in the inability to operate the application on the mobile phone, enriching the problem. The function of the terminal device allows the user to automatically control the terminal application according to the terminal status information when the terminal is in the sleep state, thereby greatly improving the user experience.
在另外一个实施例中,还提供了一种软件,该软件设置为执行上述实施例及优选实施方式中描述的技术方案。In another embodiment, a software is provided that is configured to perform the technical solutions described in the above embodiments and preferred embodiments.
在另外一个实施例中,还提供了一种存储介质,该存储介质中存储有上述软件,该存储介质包括但不限于:光盘、软盘、硬盘、可擦写存储器等。In another embodiment, a storage medium is further provided, wherein the software includes the above-mentioned software, including but not limited to: an optical disk, a floppy disk, a hard disk, an erasable memory, and the like.
需要说明的是,本发明的说明书和权利要求书及上述附图中的术语“第一”、“第二”等是用于区别类似的对象,而不必用于描述特定的顺序或先后次序。应该理解这样使用的对象在适当情况下可以互换,以便这里描述的本发明的实施例能够以除了在这里图示或描述的那些以外的顺序实施。此外,术语“包括”和“具有”以及他们的任何变形,意图在于覆盖不排他的包含,例如,包含了一系列步骤或单元的过程、方法、系统、 产品或设备不必限于清楚地列出的那些步骤或单元,而是可包括没有清楚地列出的或对于这些过程、方法、产品或设备固有的其它步骤或单元。It is to be understood that the terms "first", "second" and the like in the specification and claims of the present invention are used to distinguish similar objects, and are not necessarily used to describe a particular order or order. It is to be understood that the objects so used are interchangeable, where appropriate, so that the embodiments of the invention described herein can be carried out in a sequence other than those illustrated or described herein. In addition, the terms "comprises" and "comprising" and "comprising" are intended to cover a non-exclusive inclusion, for example, a process, method, system, The product or device is not necessarily limited to those steps or units that are clearly listed, but may include other steps or units not explicitly listed or inherent to such processes, methods, products or devices.
显然,本领域的技术人员应该明白,上述的本发明的各模块或各步骤可以用通用的计算装置来实现,它们可以集中在单个的计算装置上,或者分布在多个计算装置所组成的网络上,可选地,它们可以用计算装置可执行的程序代码来实现,从而,可以将它们存储在存储装置中由计算装置来执行,并且在某些情况下,可以以不同于此处的顺序执行所示出或描述的步骤,或者将它们分别制作成各个集成电路模块,或者将它们中的多个模块或步骤制作成单个集成电路模块来实现。这样,本发明不限制于任何特定的硬件和软件结合。It will be apparent to those skilled in the art that the various modules or steps of the present invention described above can be implemented by a general-purpose computing device that can be centralized on a single computing device or distributed across a network of multiple computing devices. Alternatively, they may be implemented by program code executable by the computing device such that they may be stored in the storage device by the computing device and, in some cases, may be different from the order herein. The steps shown or described are performed, or they are separately fabricated into individual integrated circuit modules, or a plurality of modules or steps thereof are fabricated as a single integrated circuit module. Thus, the invention is not limited to any specific combination of hardware and software.
以上所述仅为本发明的优选实施例而已,并不用于限制本发明,对于本领域的技术人员来说,本发明可以有各种更改和变化。凡在本发明的精神和原则之内,所作的任何修改、等同替换、改进等,均应包含在本发明的保护范围之内。The above description is only the preferred embodiment of the present invention, and is not intended to limit the present invention, and various modifications and changes can be made to the present invention. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and scope of the present invention are intended to be included within the scope of the present invention.
工业实用性Industrial applicability
如上所述,本发明实施例提供的一种终端应用的控制方法及装置,具有以下有益效果:解决了相关技术中,手机上的传感器为了减少功耗在手机休眠时也会进入休眠状态,导致不能操作手机上应用的问题,丰富了终端设备的使用功能,大大提高了用户的体验度。 As described above, a method and apparatus for controlling a terminal application provided by an embodiment of the present invention have the following beneficial effects: in the related art, a sensor on a mobile phone enters a sleep state when the mobile phone sleeps in order to reduce power consumption. The problem of the application on the mobile phone cannot be operated, the use function of the terminal device is enriched, and the user experience is greatly improved.

Claims (11)

  1. 一种终端应用的控制方法,包括:A method for controlling a terminal application, comprising:
    在终端设备处于休眠状态时,获取所述终端设备的一个或多个外围器件所对应的终端状态信息;Obtaining terminal state information corresponding to one or more peripheral devices of the terminal device when the terminal device is in a sleep state;
    根据一个或多个所述终端状态信息组成的集合对所述终端设备上的指定应用执行与所述集合对应的控制操作。Performing a control operation corresponding to the set on a specified application on the terminal device according to a set of one or more of the terminal state information.
  2. 根据权利要求1所述的方法,其中,获取所述终端设备的外围器件所对应的终端状态信息,包括:The method of claim 1, wherein the acquiring terminal status information corresponding to the peripheral device of the terminal device comprises:
    通过终端设备中的协处理器获取所述终端状态信息。The terminal status information is obtained by a coprocessor in the terminal device.
  3. 根据权利要求1所述的方法,其中,所述终端状态信息包括以下至少之一:所述终端设备的空间坐标信息、所述终端设备的位置信息、所述终端设备的时间信息,其中,所述空间坐标信息设置为判断所述终端设备在空间中的姿态。The method according to claim 1, wherein the terminal status information comprises at least one of: space coordinate information of the terminal device, location information of the terminal device, time information of the terminal device, where The spatial coordinate information is set to determine the posture of the terminal device in space.
  4. 根据权利要求3所述的方法,其中,根据所述集合对所述终端设备上的指定应用执行与所述集合对应的控制操作,包括:The method according to claim 3, wherein performing a control operation corresponding to the set on the specified application on the terminal device according to the set comprises:
    当所述集合包括以下之一时,启动与该集合中包括的终端状态信息对应的指定应用:所述空间坐标信息、所述时间信息、所述位置信息;或When the set includes one of the following, a specified application corresponding to the terminal state information included in the set is started: the space coordinate information, the time information, the location information; or
    当所述集合包括以下任意两种信息的组合时,启动与所述任意两种信息的组合对应的指定应用:所述空间坐标信息、所述时间信息、所述位置信息。When the set includes a combination of any two kinds of information below, a specified application corresponding to the combination of the two kinds of information is started: the space coordinate information, the time information, and the position information.
  5. 根据权利要求3所述的方法,其中,根据所述集合对所述终端设备上的指定应用执行与所述集合对应的控制操作,包括:The method according to claim 3, wherein performing a control operation corresponding to the set on the specified application on the terminal device according to the set comprises:
    当所述集合包括:所述空间坐标信息、所述时间信息以及所述位置信息时,启动与该集合包括的终端状态信息对应的指定应用。When the set includes the space coordinate information, the time information, and the location information, a specified application corresponding to the terminal state information included in the set is started.
  6. 根据权利要求1-5任一项所述的方法,其中,所述外围器件包括以下至少之一:陀螺仪传感器、加速度传感器、全球定位系统GPS、无线保真WIFI网络模块、所述终端设备的存储器。The method according to any one of claims 1 to 5, wherein the peripheral device comprises at least one of: a gyro sensor, an acceleration sensor, a global positioning system GPS, a wireless fidelity WIFI network module, the terminal device Memory.
  7. 一种终端应用的控制装置,包括: A terminal application control device includes:
    获取模块,设置为在终端设备处于休眠状态时,获取所述终端设备的一个或多个外围器件所对应的终端状态信息;An acquiring module, configured to acquire terminal state information corresponding to one or more peripheral devices of the terminal device when the terminal device is in a sleep state;
    控制模块,设置为根据一个或多个所述终端状态信息组成的集合对所述终端设备上的指定应用执行与所述集合对应的控制操作。And a control module, configured to perform a control operation corresponding to the set on the specified application on the terminal device according to the set of one or more of the terminal state information.
  8. 根据权利要求7所述的装置,其中,所述获取模块设置为通过终端设备中的协处理器获取所述终端状态信息。The apparatus of claim 7, wherein the acquisition module is configured to acquire the terminal status information by a coprocessor in the terminal device.
  9. 根据权利要求7所述的装置,其中,所述获取模块获取的所述终端状态信息包括以下至少之一:所述终端设备的空间坐标信息、所述终端设备的位置信息、所述终端设备的时间信息,其中,所述空间坐标信息设置为判断所述终端设备在空间中的姿态。The device according to claim 7, wherein the terminal status information acquired by the acquiring module comprises at least one of: spatial coordinate information of the terminal device, location information of the terminal device, and Time information, wherein the spatial coordinate information is set to determine a posture of the terminal device in space.
  10. 根据权利要求9所述的装置,其中,所述控制模块,包括:The device of claim 9, wherein the control module comprises:
    第一启动单元,设置为当所述集合包括以下之一时,启动与该集合包括的终端状态信息对应的指定应用:所述空间坐标信息、所述时间信息、所述位置信息;或a first starting unit, configured to: when the set includes one of the following, start a specified application corresponding to the terminal state information included in the set: the space coordinate information, the time information, the location information; or
    第二启动单元,设置为当所述集合包括以下任意两种信息的组合时,启动与所述任意两种信息的组合对应的指定应用:所述空间坐标信息、所述时间信息、所述位置信息。a second activation unit, configured to: when the set includes a combination of any two kinds of information, start a specified application corresponding to the combination of any two kinds of information: the space coordinate information, the time information, and the location information.
  11. 根据权利要求9所述的装置,其中,所述控制模块,还包括:The device according to claim 9, wherein the control module further comprises:
    第三启动单元,设置为当所述集合包括:所述空间坐标信息、所述时间信息以及所述位置信息时,启动与该集合包括的终端状态信息对应的指定应用。 And a third activation unit configured to: when the set includes: the space coordinate information, the time information, and the location information, start a specified application corresponding to the terminal state information included in the set.
PCT/CN2015/074907 2015-02-03 2015-03-23 Method and apparatus for controlling application in terminal WO2016123844A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201510056026.2A CN105991822B (en) 2015-02-03 2015-02-03 Control method and device for terminal application
CN201510056026.2 2015-02-03

Publications (1)

Publication Number Publication Date
WO2016123844A1 true WO2016123844A1 (en) 2016-08-11

Family

ID=56563355

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2015/074907 WO2016123844A1 (en) 2015-02-03 2015-03-23 Method and apparatus for controlling application in terminal

Country Status (2)

Country Link
CN (1) CN105991822B (en)
WO (1) WO2016123844A1 (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN201259540Y (en) * 2008-09-02 2009-06-17 青岛海信移动通信技术股份有限公司 Low power consumption positioning terminal
CN102681784A (en) * 2012-05-09 2012-09-19 中兴通讯股份有限公司 Method and device for operating mobile terminal on basis of sensor, and mobile terminal
US20140013141A1 (en) * 2012-07-03 2014-01-09 Samsung Electronics Co. Ltd. Method and apparatus for controlling sleep mode in portable terminal
US20140059365A1 (en) * 2012-08-27 2014-02-27 Samsung Electronics Co., Ltd. Ultra low power apparatus and method to wake up a main processor
CN104052857A (en) * 2013-03-11 2014-09-17 百度国际科技(深圳)有限公司 Control device and method for mobile device
CN104267798A (en) * 2014-09-09 2015-01-07 联想(北京)有限公司 Data processing method and device

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103791473A (en) * 2012-10-31 2014-05-14 深圳富泰宏精密工业有限公司 System and method for starting flashlight application
CN103312902A (en) * 2013-07-04 2013-09-18 深圳市中兴移动通信有限公司 Method and device for starting application automatically
CN103581443A (en) * 2013-11-14 2014-02-12 惠州Tcl移动通信有限公司 Intelligent terminal automatic awakening method and system based on sensors

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN201259540Y (en) * 2008-09-02 2009-06-17 青岛海信移动通信技术股份有限公司 Low power consumption positioning terminal
CN102681784A (en) * 2012-05-09 2012-09-19 中兴通讯股份有限公司 Method and device for operating mobile terminal on basis of sensor, and mobile terminal
US20140013141A1 (en) * 2012-07-03 2014-01-09 Samsung Electronics Co. Ltd. Method and apparatus for controlling sleep mode in portable terminal
US20140059365A1 (en) * 2012-08-27 2014-02-27 Samsung Electronics Co., Ltd. Ultra low power apparatus and method to wake up a main processor
CN104052857A (en) * 2013-03-11 2014-09-17 百度国际科技(深圳)有限公司 Control device and method for mobile device
CN104267798A (en) * 2014-09-09 2015-01-07 联想(北京)有限公司 Data processing method and device

Also Published As

Publication number Publication date
CN105991822B (en) 2021-02-23
CN105991822A (en) 2016-10-05

Similar Documents

Publication Publication Date Title
EP3136793B1 (en) Method and apparatus for awakening electronic device
US9058128B1 (en) Power management for electronic devices
US9860440B2 (en) Power saving control method and electronic device supporting the same
CN106537946B (en) Scoring beacon messages for mobile device wake-up
CN106020670B (en) Screen lighting control method and device and electronic equipment
KR101722588B1 (en) Context aware localization, mapping, and tracking
CN111711752B (en) Open camera sampling strategy
CN106055097B (en) Bright screen control method and device and electronic equipment
US20170127355A1 (en) Apparatus and method for reducing power consumption in portable terminal
US20170185788A1 (en) Method and apparatus for managing application
EP3131235A1 (en) Method and apparatus for controlling device
US20180120794A1 (en) Method, apparatus and storage medium for controlling target device
EP2990949A1 (en) Methods and devices for backing up file
CN107666540B (en) Terminal control method, device and storage medium
EP3112979A1 (en) Method and device for waking up mcu
EP3056970A1 (en) Method and device for controlling power consumption
US20150057052A1 (en) Method for reducing current consumption and electronic device thereof
WO2022156598A1 (en) Bluetooth connection method and apparatus, and electronic device
CN113138560A (en) Terminal control method, device, equipment and readable storage medium
US11874716B2 (en) Embedded computing device management
US20240168779A1 (en) Display method and electronic device
WO2016123844A1 (en) Method and apparatus for controlling application in terminal
TWI736045B (en) Embedded computing device management
WO2016145854A1 (en) Gps function power-off method, device and terminal
CN110336881B (en) Method and device for executing service processing request

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: 15880799

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: 15880799

Country of ref document: EP

Kind code of ref document: A1