WO2018141167A1 - 移动终端传感器的控制方法、装置、存储介质及移动终端 - Google Patents

移动终端传感器的控制方法、装置、存储介质及移动终端 Download PDF

Info

Publication number
WO2018141167A1
WO2018141167A1 PCT/CN2017/106612 CN2017106612W WO2018141167A1 WO 2018141167 A1 WO2018141167 A1 WO 2018141167A1 CN 2017106612 W CN2017106612 W CN 2017106612W WO 2018141167 A1 WO2018141167 A1 WO 2018141167A1
Authority
WO
WIPO (PCT)
Prior art keywords
sensor
power
mobile terminal
delay
target
Prior art date
Application number
PCT/CN2017/106612
Other languages
English (en)
French (fr)
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 广东欧珀移动通信有限公司
Priority to EP17894709.9A priority Critical patent/EP3579531A4/en
Priority to US16/483,693 priority patent/US10666789B2/en
Publication of WO2018141167A1 publication Critical patent/WO2018141167A1/zh

Links

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/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72466User interfaces specially adapted for cordless or mobile telephones with selection means, e.g. keys, having functions defined by the mode or the status of the device
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F1/00Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
    • G06F1/26Power supply means, e.g. regulation thereof
    • G06F1/32Means for saving power
    • G06F1/3203Power management, i.e. event-based initiation of a power-saving mode
    • G06F1/3234Power saving characterised by the action undertaken
    • G06F1/325Power saving in peripheral device
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F1/00Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
    • G06F1/26Power supply means, e.g. regulation thereof
    • G06F1/32Means for saving power
    • G06F1/3203Power management, i.e. event-based initiation of a power-saving mode
    • G06F1/3206Monitoring of events, devices or parameters that trigger a change in power modality
    • G06F1/3209Monitoring remote activity, e.g. over telephone lines or network connections
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F1/00Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
    • G06F1/26Power supply means, e.g. regulation thereof
    • G06F1/32Means for saving power
    • G06F1/3203Power management, i.e. event-based initiation of a power-saving mode
    • G06F1/3234Power saving characterised by the action undertaken
    • G06F1/3243Power saving in microcontroller unit
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F1/00Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
    • G06F1/26Power supply means, e.g. regulation thereof
    • G06F1/32Means for saving power
    • G06F1/3203Power management, i.e. event-based initiation of a power-saving mode
    • G06F1/3234Power saving characterised by the action undertaken
    • G06F1/3287Power saving characterised by the action undertaken by switching off individual functional units in the computer system
    • 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/724User interfaces specially adapted for cordless or mobile telephones
    • 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/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72448User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions
    • H04M1/72454User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions according to context-related or environment-related conditions
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W52/00Power management, e.g. TPC [Transmission Power Control], power saving or power classes
    • H04W52/02Power saving arrangements
    • H04W52/0209Power saving arrangements in terminal devices
    • H04W52/0261Power saving arrangements in terminal devices managing power supply demand, e.g. depending on battery level
    • H04W52/0274Power saving arrangements in terminal devices managing power supply demand, e.g. depending on battery level by switching on or off the equipment or parts thereof
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M2201/00Electronic components, circuits, software, systems or apparatus used in telephone systems
    • H04M2201/14Delay circuits; Timers
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M2250/00Details of telephonic subscriber devices
    • H04M2250/12Details of telephonic subscriber devices including a sensor for measuring a physical value, e.g. temperature or motion
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W52/00Power management, e.g. TPC [Transmission Power Control], power saving or power classes
    • H04W52/02Power saving arrangements
    • H04W52/0209Power saving arrangements in terminal devices
    • H04W52/0225Power saving arrangements in terminal devices using monitoring of external events, e.g. the presence of a signal
    • H04W52/0229Power saving arrangements in terminal devices using monitoring of external events, e.g. the presence of a signal where the received signal is a wanted signal
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W52/00Power management, e.g. TPC [Transmission Power Control], power saving or power classes
    • H04W52/02Power saving arrangements
    • H04W52/0209Power saving arrangements in terminal devices
    • H04W52/0261Power saving arrangements in terminal devices managing power supply demand, e.g. depending on battery level
    • H04W52/0267Power saving arrangements in terminal devices managing power supply demand, e.g. depending on battery level by controlling user interface components
    • H04W52/027Power saving arrangements in terminal devices managing power supply demand, e.g. depending on battery level by controlling user interface components by controlling a display operation or backlight unit
    • 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
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management
    • 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 embodiments of the present invention relate to the field of data processing technologies, and in particular, to a method, an apparatus, a storage medium, and a mobile terminal for controlling a mobile terminal sensor.
  • the ambient light sensor can be used to adjust the brightness of the automatic backlight of the mobile phone screen
  • the proximity sensor can be used to assist the control of the lighting and extinction of the screen, and the acceleration.
  • Sensors can be used for step counting, gravity sensors can be applied to gravity sensing games, magnetic field sensors can be applied to map navigation, compass, gyroscopes can be used to control perspectives in games, in global positioning systems (Global Positioning System, GPS) When there is no signal, inertial navigation is performed according to the motion state of the object.
  • GPS Global Positioning System
  • the embodiment of the present invention provides a method, a device, a storage medium, and a mobile terminal for controlling a mobile terminal sensor, which can improve the reporting speed of the sensor data of the mobile terminal.
  • the embodiment of the present application provides a method for controlling a mobile terminal sensor, including:
  • the target sensor includes at least the to-be-enabled sensor, when the target sensor is one, The power-on delay of the target sensor is less than the maximum power-on delay of the mobile terminal sensor;
  • the to-be-enabled sensor When it is detected that the to-be-enabled sensor completes the state reset, the to-be-enabled sensor is enabled as an enable sensor, and the acquired data of the enabled sensor is reported.
  • the embodiment of the present application provides a control device for a mobile terminal sensor, including:
  • the to-be-enabled sensor determining module is configured to determine a to-be-enabled sensor in the mobile terminal sensor according to the sensor enable command;
  • a power-on delay acquisition module configured to acquire a power-on delay of the target sensor of the mobile terminal when the power-on event of the mobile terminal sensor is detected, where the target sensor includes at least the to-be-enabled sensor When the target sensor is one, the power-on delay of the target sensor is less than the maximum power-on delay of the mobile terminal sensor;
  • a target sensor state resetting module configured to perform a state reset operation on the target sensor when the power-on delay corresponding to the target sensor is reached at a current time
  • a sensor data reporting module configured to enable the to-be-enabled sensor as an enable sensor when the state-initiated reset operation is detected, and report the acquired data of the enable sensor .
  • the embodiment of the present application provides a storage medium, where the storage medium stores a plurality of instructions, and the instructions are adapted to be loaded by a processor to perform a control method of the mobile terminal sensor provided by the embodiment of the present application.
  • the embodiment of the present application provides a mobile terminal, including a memory, a processor, and a computer program stored on the memory and operable on the processor, and the processor implements the following steps when executing the computer program:
  • the target sensor includes at least the to-be-enabled sensor, when the target sensor is one, The power-on delay of the target sensor is less than the maximum power-on delay of the mobile terminal sensor;
  • the to-be-enabled sensor When it is detected that the to-be-enabled sensor completes the state reset, the to-be-enabled sensor is enabled as an enable sensor, and the acquired data of the enabled sensor is reported.
  • the embodiment of the present invention provides a method, a device, a storage medium, and a mobile terminal for controlling a mobile terminal sensor, which can improve the reporting speed of the sensor data of the mobile terminal.
  • FIG. 1 is a flowchart of a method for controlling a mobile terminal sensor according to an embodiment of the present application
  • FIG. 2 is a flowchart of a method for controlling a sensor of a mobile terminal according to an embodiment of the present application
  • FIG. 3 is a flowchart of a method for controlling a mobile terminal sensor according to an embodiment of the present application
  • FIG. 4 is a schematic structural diagram of a control device for a mobile terminal sensor according to an embodiment of the present application.
  • FIG. 5 is a schematic structural diagram of a mobile terminal according to an embodiment of the present application.
  • the control of the sensor generally goes through the following processes: powering up each sensor, powering on the delay, resetting the state of each sensor, enabling one or several sensors, The data of one or several sensors after being enabled is reported.
  • the control method of the mobile terminal sensor in the related art has drawbacks and needs to be improved.
  • An embodiment of the present application provides a method for controlling a mobile terminal sensor, including:
  • a power-on event of the mobile terminal sensor is triggered to acquire a power-on delay of the target sensor of the mobile terminal, wherein the target sensor includes at least the to-be-enabled sensor, and when the target sensor is one, the target The power-on delay of the sensor is less than the maximum power-on delay of the mobile terminal sensor;
  • the acquiring a power-on delay of the target sensor of the mobile terminal includes:
  • performing a state reset operation on the target sensor includes:
  • the state-reset operation is performed on the to-be-enabled sensor.
  • the acquiring a power-on delay of the target sensor of the mobile terminal includes:
  • performing a state reset operation on the target sensor includes:
  • the state reset operation is performed on the corresponding sensor when the power-on delay of the corresponding sensor in each of the sensors is reached at the current time.
  • the method further includes:
  • the method for controlling the mobile terminal sensor further includes:
  • the method for controlling the mobile terminal sensor further includes:
  • performing state reset operations on the corresponding sensors includes:
  • the state reset operation is performed on the corresponding sensor when the timing value reaches the power-on delay of the corresponding sensor in each of the sensors.
  • FIG. 1 is a flowchart of a method for controlling a mobile terminal sensor according to an embodiment of the present application.
  • the method of this embodiment may be performed by a control device of a mobile terminal sensor, and the device may be implemented by hardware and/or software.
  • the device may be disposed inside the mobile terminal as part of a mobile terminal.
  • the method for controlling a mobile terminal sensor includes the following steps:
  • Step 101 Determine a to-be-enabled sensor in the mobile terminal sensor according to the sensor enable command.
  • the mobile terminal in this embodiment includes, but is not limited to, a mobile phone, a notebook, a tablet computer, etc.
  • the sensors of the mobile terminal include but are not limited to an ambient light sensor, a proximity sensor, an acceleration sensor, a gravity sensor, a magnetic field induction sensor, a gyroscope, Fingerprint sensor, Hall sensor, air pressure sensor, heart rate sensor and UV sensor.
  • the sensor enable command is sent to the hardware abstraction layer of the mobile terminal through the application layer of the mobile terminal.
  • some applications such as preventing false triggering of the application
  • some applications For example, an automatic backlight adjustment application sends an enable command that enables an ambient light sensor to the hardware abstraction layer to obtain data for the ambient light sensor.
  • sensors in the mobile terminal maybe only one or a few sensors are to be enabled. Such sensors are called to be enabled sensors. Then, according to the sensor enable command, the to-be-enabled in the mobile terminal sensor can be determined.
  • the sensor may be used to acquire data after the sensor is enabled, for example, to acquire ambient light parameters using an ambient light sensor, to obtain a distance parameter between the user or other target object and the mobile terminal, and the like using the proximity sensor.
  • the to-be-enabled sensors may be one or more.
  • Step 102 Determine that a power-on event of the mobile terminal sensor is triggered, and obtain a power-on delay of the target sensor of the mobile terminal, where the target sensor includes at least the to-be-enabled sensor, when the target sensor is one, The power-on delay of the target sensor is less than the maximum power-on delay of the mobile terminal sensor.
  • the power-on event of the mobile terminal sensor is triggered to include the mobile terminal being woken up from a sleep state (eg, from a blackout state to a bright-screen state), or the sensor is woken up from a sleep state, or an enable command for the sensor is detected.
  • a sleep state eg, from a blackout state to a bright-screen state
  • an enable command for the sensor is detected.
  • the power-on delay refers to the minimum time that is sustained from the moment of power-on to ensure stable and normal power-on of the sensor.
  • the power-on delay of each sensor may be different.
  • the power-on delay of the ambient light sensor is 20ms
  • the power-on delay of the proximity sensor is 30ms
  • the power-on delay of the gyroscope is 150ms.
  • the target sensor may be a sensor to be enabled or a sensor to be enabled and other sensors.
  • Step 103 Determine whether the current time reaches the power-on delay corresponding to the target sensor, and if yes, execute step 104, otherwise continue to perform step 103 until the current time reaches the power-on delay.
  • the inventors have found that since many sensors in a mobile terminal are often shared by a total of I2C and a common power source, when the sensor is powered on, often all of the sensors are powered on at the same time.
  • the power-on delay selects the maximum power-on delay for the highest power-on delay of all sensors to ensure that the sensor can be powered up normally.
  • a gyroscope often requires a large power-on delay of up to 150 ms, but the ambient light sensor or proximity sensor has a small power-on delay, and does not even require a power-on delay. If the application only enables the ambient light sensor, it will cause the state light sensor to be reset and enabled after 150ms delay. As a result, the data report of the ambient light sensor is delayed a lot, and the sensor data is reduced. Reporting speed.
  • Example 1 if the target sensor is the to-be-enabled sensor ambient light sensor and the to-be-enabled sensor proximity sensor, then the state light sensor is subjected to a state reset operation 20 ms after the start of power-on, 30 ms after the start of power-on. At the time, a state reset operation is performed on the proximity sensor.
  • Example 2 if the target sensor is the sensor ambient light sensor and other sensor gyroscopes, then the state light sensor is subjected to a state reset operation 20 ms after the start of power-on, 150 ms after the start of power-on, Perform a state reset operation on the gyroscope.
  • the state reset is used to ensure that the sensor after power-on is in a normal state.
  • Step 104 Perform a state reset operation on the target sensor.
  • the power-on delay corresponding to the target sensor is reached, and the target sensor is reset.
  • the state reset operation of the sensor can be performed when the power-on delay of a certain sensor is reached.
  • Step 105 Determine that the to-be-enabled sensor completes the state reset, enables the to-be-enabled sensor to be an enable sensor, and reports the acquired data of the enable sensor.
  • the enable sensor is enabled as the enable sensor.
  • a state reset operation is performed on the environmental sensor, and when the environmental sensor completion state reset is determined, the environmental sensor is enabled, and the acquired data of the environmental sensor is performed. Reporting; at 30 ms after the start of power-on, a state reset operation is performed on the proximity sensor, and when the proximity sensor completion state reset is determined, the proximity sensor is enabled, and the acquired data of the proximity sensor is reported.
  • the reporting speed of the sensor data is greatly improved.
  • the state light sensor performs a state reset operation at 20 ms after the start of power-on, and when the ambient light sensor complete state reset is determined, the ambient light sensor is enabled, and the acquired ambient light is obtained. The data of the sensor is reported, and the state of the gyroscope is reset at 150 ms after the start of power-on.
  • step 105 may be performed during the execution of step 104, or may be performed after step 104 is performed.
  • FIG. 1 only exemplarily shows the execution order of steps 104 and 105.
  • the target sensor is the to-be-enabled sensor ambient light sensor
  • step 105 determines that the ambient light sensor completes the state reset, enabling the environment.
  • Light sensor As in the foregoing example 2, after performing the state reset operation on the ambient light sensor at step 20 ms after the power-on is started, step 105 is performed to determine that the ambient light sensor completes the state reset, and the ambient light sensor is enabled. Then, step 104 is performed to perform a state reset operation on the gyroscope.
  • FIG. 2 is a flow chart showing a method for controlling a mobile terminal sensor according to an embodiment of the present application. As shown in FIG. 2, the method provided in this embodiment includes the following steps:
  • Step 201 Determine a to-be-enabled sensor in the mobile terminal sensor according to the sensor enable command.
  • Step 202 Determine that a power-on event of the mobile terminal sensor is triggered, and acquire a first power-on delay of the to-be-enabled sensor.
  • the corresponding first power-on delays are also multiple.
  • Step 203 Determine whether the current time reaches the first power-on delay. If yes, execute step 204. Otherwise, continue to step 203 until the current time reaches the first power-on delay.
  • Step 204 Perform a state reset operation on the to-be-enabled sensor.
  • the state reset operation of the sensor may be performed when the first power-on delay of a certain sensor is reached at the current time.
  • Step 205 Determine that the to-be-enabled sensor completes the state reset, enables the to-be-enabled sensor to be an enable sensor, and reports the acquired data of the enable sensor.
  • the sensor When there are multiple sensors to be enabled, the sensor is enabled immediately whenever it is determined that one of the sensors has completed a state reset.
  • the method further includes: performing a state reset operation on the sensor other than the enable sensor in the mobile terminal.
  • FIG. 3 is a flowchart of a method for controlling a mobile terminal sensor according to an embodiment of the present application. As shown in FIG. 3, the method for controlling a mobile terminal sensor provided by this embodiment includes the following steps:
  • Step 301 Determine a to-be-enabled sensor in the mobile terminal sensor according to the sensor enable command.
  • Step 302 Determine that a power-on event of the mobile terminal sensor is triggered, and obtain a power-on delay of each sensor of the mobile terminal.
  • Step 303 Perform a state reset operation on the corresponding sensor when the power-on delay of the corresponding sensor in each of the sensors is reached at the current time.
  • the step may include: determining, according to the order from short to long, the respective power-on delays corresponding to the respective sensors; respectively, using the respective power-on delays as the current power-on delay; and reaching the current current moment at the current time.
  • a state reset operation is performed on the sensor corresponding to the current power-on delay.
  • the power-on delays of the respective sensors of the mobile terminal are 20ms, 30ms, 50ms, and 150ms, respectively. Then, at 20 ms after the start of power-on, the state reset operation is performed on the sensor with the power-on delay of 20 ms, and the state reset operation is performed on the sensor with the power-on delay of 30 ms at 30 ms after the start of power-on. At 50 ms after the start of power-on, the state reset operation is performed on the sensor with a power-on delay of 50 ms, and the state reset operation is performed on the sensor with a power-on delay of 150 ms at 150 ms after the start of power-on.
  • Step 304 Determine that the to-be-enabled sensor completes the state reset, enables the to-be-enabled sensor to be an enable sensor, and reports the acquired data of the enable sensor.
  • step 303 may include: respectively, when the timing value reaches the power-on delay of the corresponding sensor in each of the sensors, The sensor performs a status reset operation.
  • performing a state reset operation on the corresponding sensor may include: determining, according to the order from short to long, the respective sensors corresponding to The respective power-on delays are respectively used as the current power-on delay; when the timing value reaches the current power-on delay, the state corresponding to the current power-on delay is heavy. Set the operation.
  • the embodiment of the present application provides a control device for a mobile terminal sensor, including:
  • the to-be-enabled sensor determining module is configured to determine a to-be-enabled sensor in the mobile terminal sensor according to the sensor enable command;
  • a power-on delay acquisition module configured to determine that a power-on event of the mobile terminal sensor is triggered, and obtain a power-on delay of the target sensor of the mobile terminal, where the target sensor includes at least the to-be-enabled sensor, when When the target sensor is one, the power-on delay of the target sensor is less than the maximum power-on delay of the mobile terminal sensor;
  • a target sensor state resetting module configured to perform a state reset operation on the target sensor when the power-on delay corresponding to the target sensor is reached at a current time
  • the sensor data reporting module is configured to determine that the to-be-enabled sensor completes a state reset, enables the to-be-enabled sensor to be an enable sensor, and reports the acquired data of the enabled sensor.
  • the power-on delay acquisition module is configured to: determine that a power-on event of the mobile terminal sensor is triggered, and acquire a first power-on delay of the to-be-enabled sensor;
  • the sensor state reset module is configured to perform a state reset operation on the to-be-enabled sensor when the first power-on delay is reached at the current time.
  • the power-on delay acquisition module is configured to: determine that a power-on event of the mobile terminal sensor is triggered, and obtain a power-on delay of each sensor of the mobile terminal;
  • the sensor state reset module is configured to perform a state reset operation on the corresponding sensor when the power-on delay of the corresponding sensor in each of the sensors is reached at a current time.
  • the device further includes:
  • a first other sensor state resetting module configured to perform a state reset operation on the sensor other than the enable sensor after the obtained data of the enabled sensor is reported.
  • the device further includes:
  • a second other sensor state resetting module configured to perform a state reset operation on the sensor other than the enable sensor in the mobile terminal when the current power-on time of the mobile terminal sensor is reached at the current time.
  • the device further includes:
  • a timer starting module configured to start a timer while determining that a power-on event of the mobile terminal sensor is triggered
  • the state reset operation of the corresponding sensor includes:
  • the state reset operation is performed on the corresponding sensor when the timing value reaches the power-on delay of the corresponding sensor in each of the sensors.
  • FIG. 4 is a structural block diagram of a control device for a mobile terminal sensor according to an embodiment of the present disclosure.
  • the device may be implemented by software and/or hardware and integrated in a mobile terminal.
  • the device includes a to-be-enabled sensor determination module 41, a power-on delay acquisition module 42, a target sensor state reset module 43, and a sensor data reporting module 44.
  • the to-be-enabled sensor determining module 41 is configured to determine a to-be-enabled sensor in the mobile terminal sensor according to the sensor enable command;
  • the power-on delay acquisition module 42 is configured to determine that a power-on event of the mobile terminal sensor is triggered, and obtain a power-on delay of the target sensor of the mobile terminal, where the target sensor includes at least the to-be-enabled sensor. When the target sensor is one, the power-on delay of the target sensor is less than the maximum power-on delay of the mobile terminal sensor;
  • the target sensor state resetting module 43 is configured to perform a state reset operation on the target sensor when the power-on delay corresponding to the target sensor is reached at a current time;
  • the sensor data reporting module 44 is configured to determine that the to-be-enabled sensor completes a state reset, enables the to-be-enabled sensor to be an enable sensor, and reports the acquired data of the enabled sensor.
  • the power-on delay acquisition module is configured to: determine that a power-on event of the mobile terminal sensor is triggered, and obtain a first power-on delay of the to-be-enabled sensor;
  • the sensor state reset module is configured to perform a state reset operation on the to-be-enabled sensor when the first power-on delay is reached at the current time.
  • the power-on delay acquisition module is configured to: determine that a power-on event of the mobile terminal sensor is triggered, and obtain a power-on delay of each sensor of the mobile terminal;
  • the sensor state reset module is configured to perform a state reset operation on the corresponding sensor when the power-on delay of the corresponding sensor in each of the sensors is reached at a current time.
  • the device may further include a first other sensor state reset module, configured to perform, after the acquired data of the enabled sensor is reported, a sensor other than the enable sensor in the mobile terminal Status reset operation.
  • a first other sensor state reset module configured to perform, after the acquired data of the enabled sensor is reported, a sensor other than the enable sensor in the mobile terminal Status reset operation.
  • the device may further include a second other sensor state reset module, configured to perform a state of the sensor other than the enable sensor in the mobile terminal when the current power-on time of the mobile terminal sensor is reached at the current time Reset operation.
  • a second other sensor state reset module configured to perform a state of the sensor other than the enable sensor in the mobile terminal when the current power-on time of the mobile terminal sensor is reached at the current time Reset operation.
  • the device may further include a timer starting module, configured to start a timer while determining that the power-on event of the mobile terminal sensor is triggered;
  • the state reset operation of the corresponding sensor includes:
  • the state reset operation is performed on the corresponding sensor when the timing value reaches the power-on delay of the corresponding sensor in each of the sensors.
  • the embodiment of the present application provides a storage medium, where the storage medium stores a plurality of instructions, and the instructions are adapted to be loaded by a processor to perform a control method of the mobile terminal sensor provided by the embodiment of the present application.
  • the embodiment of the present application provides a mobile terminal, including a memory, a processor, and a computer program stored on the memory and operable on the processor, and the processor implements the following steps when executing the computer program:
  • a power-on event of the mobile terminal sensor is triggered to acquire a power-on delay of the target sensor of the mobile terminal, wherein the target sensor includes at least the to-be-enabled sensor, and when the target sensor is one, the target The power-on delay of the sensor is less than the maximum power-on delay of the mobile terminal sensor;
  • the acquiring a power-on delay of the target sensor of the mobile terminal includes:
  • performing a state reset operation on the target sensor includes:
  • the state-reset operation is performed on the to-be-enabled sensor.
  • the acquiring a power-on delay of the target sensor of the mobile terminal includes:
  • performing a state reset operation on the target sensor includes:
  • the state reset operation is performed on the corresponding sensor when the power-on delay of the corresponding sensor in each of the sensors is reached at the current time.
  • the method further includes:
  • the mobile terminal further includes:
  • the mobile terminal further includes:
  • a timer is started while determining that the power-on event of the mobile terminal sensor is triggered
  • performing state reset operations on the corresponding sensors includes:
  • the state reset operation is performed on the corresponding sensor when the timing value reaches the power-on delay of the corresponding sensor in each of the sensors.
  • FIG. 5 is a schematic structural diagram of a mobile terminal according to an embodiment of the present disclosure.
  • the mobile terminal may include a control device for a mobile terminal sensor according to any embodiment of the present application.
  • the mobile terminal may include: 501, Central Processing Unit (Central Processing Unit (CPU) 502 (also referred to as a processor, hereinafter referred to as CPU), the memory 501 for storing executable program code; the processor 502 is operated by reading executable program code stored in the memory 501 a program corresponding to the executable program code for performing: determining a to-be-enabled sensor in the mobile terminal sensor according to the sensor enable command; determining that a power-on event of the mobile terminal sensor is triggered, acquiring a target sensor of the mobile terminal a power-on delay, wherein the target sensor includes at least the to-be-enabled sensor, and when the target sensor is one, a power-on delay of the target sensor is less than a maximum power-on delay of the mobile terminal sensor;
  • CPU Central Processing Unit
  • the mobile terminal further includes: a peripheral interface 503, RF (Radio) Frequency, RF circuit 505, audio circuit 506, speaker 511, power management chip 508, input/output (I/O) subsystem 509, touch screen 512, other input/control devices 510, and external port 504, these components are passed through one or A plurality of communication buses or signal lines 507 are in communication.
  • RF Radio
  • the illustrated mobile terminal 500 is merely one example of a mobile terminal, and that the mobile terminal 500 may have more or fewer components than those shown in the figures, and two or more components may be combined. Or it can have different component configurations.
  • the various components shown in the figures can be implemented in hardware, software, or a combination of hardware and software, including one or more signal processing and/or application specific integrated circuits.
  • the mobile terminal for controlling the mobile terminal sensor provided in this embodiment is described in detail below.
  • the mobile terminal takes a mobile phone as an example.
  • the memory 501 can be accessed by the CPU 502, the peripheral interface 503, etc., and the memory 501 can include a high speed random access memory, and can also include a non-volatile memory, such as one or more magnetic disk storage devices, flash memory devices. Or other volatile solid-state storage devices.
  • a non-volatile memory such as one or more magnetic disk storage devices, flash memory devices. Or other volatile solid-state storage devices.
  • Peripheral interface 503 which can connect the input and output peripherals of the device to CPU 502 and memory 501.
  • the I/O subsystem 509 which can connect input and output peripherals on the device, such as touch screen 512 and other input/control devices 510, to peripheral interface 503.
  • the I/O subsystem 509 can include a display controller 5091 and one or more input controllers 5092 for controlling other input/control devices 510.
  • one or more input controllers 5092 receive electrical signals from other input/control devices 510 or transmit electrical signals to other input/control devices 510, and other input/control devices 510 may include physical buttons (press buttons, rocker buttons, etc.) ), dial, slide switch, joystick, click wheel.
  • the input controller 5092 can be connected to any of the following: a keyboard, an infrared port, a USB interface, and a pointing device such as a mouse.
  • the touch screen 512 is an input interface and an output interface between the user terminal and the user, and displays the visual output to the user.
  • the visual output may include graphics, text, icons, videos, and the like.
  • Display controller 5091 in I/O subsystem 509 receives electrical signals from touch screen 512 or transmits electrical signals to touch screen 512.
  • the touch screen 512 detects the contact on the touch screen, and the display controller 5091 converts the detected contact into an interaction with the user interface object displayed on the touch screen 512, that is, realizes human-computer interaction, and the user interface object displayed on the touch screen 512 can be operated.
  • the icon of the game, the icon of the network to the corresponding network, and the like.
  • the device may also include a light mouse, which is a touch sensitive surface that does not display a visual output, or an extension of a touch sensitive surface formed by the touch screen.
  • the RF circuit 505 is mainly used for establishing communication between the mobile phone and the wireless network (ie, the network side), and realizing data reception and transmission between the mobile phone and the wireless network. For example, sending and receiving short messages, emails, and the like. Specifically, the RF circuit 505 receives and transmits an RF signal, which is also referred to as an electromagnetic signal, and the RF circuit 505 converts the electrical signal into an electromagnetic signal or converts the electromagnetic signal into an electrical signal, and through the electromagnetic signal and communication network and other devices Communicate.
  • an RF signal which is also referred to as an electromagnetic signal
  • RF circuitry 505 may include known circuitry for performing these functions including, but not limited to, an antenna system, an RF transceiver, one or more amplifiers, a tuner, one or more oscillators, a digital signal processor, a CODEC ( COder-DECoder, codec) chipset, user identification module (Subscriber Identity Module, SIM) and more.
  • CODEC COder-DECoder, codec
  • the audio circuit 506 is mainly used to receive audio data from the peripheral interface 503, convert the audio data into an electrical signal, and transmit the electrical signal to the speaker 511.
  • the speaker 511 is configured to restore the voice signal received by the mobile phone from the wireless network through the RF circuit 505 to sound and play the sound to the user.
  • the power management chip 508 is used for power supply and power management of the hardware connected to the CPU 502, the I/O subsystem, and the peripheral interface 503.
  • control method of the mobile terminal sensor in the embodiment of the present application a person skilled in the art may understand all or part of the process for implementing the control method of the mobile terminal sensor in the embodiment of the present application, which may be through a computer.
  • the program is implemented by controlling related hardware, which may be stored in a computer readable storage medium, such as in a memory, and executed by at least one processor, and may include, as the mobile terminal, The flow of an embodiment of a method of controlling a sensor.
  • the storage medium may be a magnetic disk, an optical disk, a read only memory (ROM, Read) Only Memory), random access memory (RAM, Random Access Memory), etc.

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • General Engineering & Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • General Physics & Mathematics (AREA)
  • Physics & Mathematics (AREA)
  • Environmental & Geological Engineering (AREA)
  • Computing Systems (AREA)
  • Computer Hardware Design (AREA)
  • Telephone Function (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

一种移动终端传感器的控制方法,所述方法包括:根据传感器使能指令确定移动终端传感器中的待使能传感器;确定移动终端传感器的上电事件被触发,获取移动终端的目标传感器的上电延时,其中,所述目标传感器至少包括所述待使能传感器,当所述目标传感器为一个时,所述目标传感器的上电延时小于移动终端传感器的最大上电延时;在当前时刻达到所述目标传感器对应的所述上电延时时,对所述目标传感器进行状态重置操作;确定所述待使能传感器完成状态重置,使能所述待使能传感器为使能传感器,并将获取到的所述使能传感器的数据进行上报。

Description

移动终端传感器的控制方法、装置、存储介质及移动终端
本申请要求于2017年2月4日提交中国专利局、申请号为201710065209.X、发明名称为“移动终端传感器的控制方法、装置及移动终端”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。
技术领域
本申请实施例涉及数据处理技术领域,尤其涉及一种移动终端传感器的控制方法、装置、存储介质及移动终端。
背景技术
手机等移动终端中集成了各种传感器,用于辅助手机各项功能的实现,例如,环境光传感器可用于调节手机屏幕自动背光的亮度,接近传感器可用于辅助控制屏幕的点亮和熄灭,加速度传感器可用于计步,重力传感器可应用于重力感应类游戏,磁场感应传感器可应用于地图导航、指南针,陀螺仪可用于在游戏中控制视角、在全球定位系统(Global Positioning System,GPS)没有信号时,根据物体运动状态实现惯性导航等等。
技术问题
本申请实施例提供一种移动终端传感器的控制方法、装置、存储介质及移动终端,可以提升移动终端传感器数据的上报速度。
技术解决方案
本申请实施例提供了一种移动终端传感器的控制方法,包括:
根据传感器使能指令确定移动终端传感器中的待使能传感器;
在检测到移动终端传感器的上电事件被触发时,获取移动终端的目标传感器的上电延时,其中,所述目标传感器至少包括所述待使能传感器,当所述目标传感器为一个时,所述目标传感器的上电延时小于移动终端传感器的最大上电延时;
在当前时刻达到所述目标传感器对应的所述上电延时时,对所述目标传感器进行状态重置操作;以及
在检测到所述待使能传感器完成状态重置时,使能所述待使能传感器为使能传感器,并将获取到的所述使能传感器的数据进行上报。
本申请实施例提供了一种移动终端传感器的控制装置,包括:
待使能传感器确定模块,用于根据传感器使能指令确定移动终端传感器中的待使能传感器;
上电延时获取模块,用于在检测到移动终端传感器的上电事件被触发时,获取移动终端的目标传感器的上电延时,其中,所述目标传感器至少包括所述待使能传感器,当所述目标传感器为一个时,所述目标传感器的上电延时小于移动终端传感器的最大上电延时;
目标传感器状态重置模块,用于在当前时刻达到所述目标传感器对应的所述上电延时时,对所述目标传感器进行状态重置操作;以及
传感器数据上报模块,用于在检测到所述待使能传感器完成状态重置操作时,使能所述待使能传感器为使能传感器,并将获取到的所述使能传感器的数据进行上报。
本申请实施例提供了一种存储介质,所述存储介质中存储有多条指令,所述指令适于由处理器加载以执行本申请实施例提供的移动终端传感器的控制方法。
本申请实施例提供了一种移动终端,包括存储器、处理器及存储在存储器上并可在处理器上运行的计算机程序,所述处理器执行所述计算机程序时实现以下步骤:
根据传感器使能指令确定移动终端传感器中的待使能传感器;
在检测到移动终端传感器的上电事件被触发时,获取移动终端的目标传感器的上电延时,其中,所述目标传感器至少包括所述待使能传感器,当所述目标传感器为一个时,所述目标传感器的上电延时小于移动终端传感器的最大上电延时;
在当前时刻达到所述目标传感器对应的所述上电延时时,对所述目标传感器进行状态重置操作;以及
在检测到所述待使能传感器完成状态重置时,使能所述待使能传感器为使能传感器,并将获取到的所述使能传感器的数据进行上报。
有益效果
本申请实施例提供一种移动终端传感器的控制方法、装置、存储介质及移动终端,可以提升移动终端传感器数据的上报速度。
附图说明
图1是本申请一个实施例提供的一种移动终端传感器的控制方法的流程图;
图2是本申请一个实施例提供的一种移动终端传感器的控制方法的流程图;
图3是本申请一个实施例提供的一种移动终端传感器的控制方法的流程图;
图4是本申请一个实施例提供的一种移动终端传感器的控制装置的结构示意图;
图5是本申请一个实施例提供的一种移动终端的结构示意图。
本发明的最佳实施方式
为了使本申请的目的、技术方案和优点更加清楚,下面结合附图对本申请具体实施例作进一步的详细描述。可以理解的是,此处所描述的具体实施例仅仅用于解释本申请,而非对本申请的限定。另外还需要说明的是,为了便于描述,附图中仅示出了与本申请相关的部分而非全部内容。在更加详细地讨论示例性实施例之前应当提到的是,一些示例性实施例被描述成作为流程图描绘的处理或方法。虽然流程图将各项操作(或步骤)描述成顺序的处理,但是其中的许多操作可以被并行地、并发地或者同时实施。此外,各项操作的顺序可以被重新安排。当其操作完成时所述处理可以被终止,但是还可以具有未包括在附图中的附加步骤。所述处理可以对应于方法、函数、规程、子例程、子程序等等。
移动终端在从休眠状态被唤醒时,对传感器的控制一般会经历以下过程:对各个传感器进行上电、上电延时、重置各个传感器的状态,使能某一个或某几个传感器、将使能后的某一个或某几个传感器的数据进行上报。相关技术中的移动终端传感器的控制方法存在缺陷,需要改进。
本申请实施例提供一种移动终端传感器的控制方法,包括:
根据传感器使能指令确定移动终端传感器中的待使能传感器;
确定移动终端传感器的上电事件被触发,获取移动终端的目标传感器的上电延时,其中,所述目标传感器至少包括所述待使能传感器,当所述目标传感器为一个时,所述目标传感器的上电延时小于移动终端传感器的最大上电延时;
在当前时刻达到所述目标传感器对应的所述上电延时时,对所述目标传感器进行状态重置操作;以及
确定所述待使能传感器完成状态重置,使能所述待使能传感器为使能传感器,并将获取到的所述使能传感器的数据进行上报。
在一种实施方式中,所述获取移动终端的目标传感器的上电延时包括:
获取所述待使能传感器的第一上电延时;以及
所述在当前时刻达到所述目标传感器对应的所述上电延时时,对所述目标传感器进行状态重置操作包括:
在当前时刻达到所述第一上电延时时,对所述待使能传感器进行状态重置操作。
在一种实施方式中,所述获取移动终端的目标传感器的上电延时包括:
获取移动终端的各个传感器的上电延时;以及
所述在当前时刻达到所述目标传感器对应的所述上电延时时,对所述目标传感器进行状态重置操作包括:
分别在当前时刻达到所述各个传感器中相应的传感器的上电延时时,对所述相应的传感器进行状态重置操作。
在一种实施方式中,在将获取到的所述使能传感器的数据进行上报之后,还包括:
对所述移动终端中除所述使能传感器之外的传感器进行状态重置操作。
在一种实施方式中,所述移动终端传感器的控制方法还包括:
在当前时刻达到移动终端传感器的最大上电延时时,对所述移动终端中除所述使能传感器之外的传感器进行状态重置操作。
在一种实施方式中,所述移动终端传感器的控制方法还包括:
确定移动终端传感器的上电事件被触发的同时,启动计时器;以及
所述分别在当前时刻达到所述各个传感器中相应的传感器的上电延时时,对所述相应的传感器进行状态重置操作包括:
分别在计时值达到所述各个传感器中相应的传感器的上电延时时,对所述相应的传感器进行状态重置操作。
图1给出了本申请一个实施例提供的一种移动终端传感器的控制方法的流程图,本实施例的方法可以由移动终端传感器的控制装置来执行,该装置可通过硬件和/或软件的方式实现,所述装置可作为移动终端一部分设置在所述移动终端的内部。
如图1所示,本实施例提供的移动终端传感器的控制方法包括以下步骤:
步骤101、根据传感器使能指令确定移动终端传感器中的待使能传感器。
本实施例中的移动终端包括但不限定于手机、笔记本、平板电脑等设备,移动终端的传感器包括但不限定于环境光传感器、接近传感器、加速度传感器、重力传感器、磁场感应传感器、陀螺仪、指纹传感器、霍尔感应传感器、气压传感器、心率传感器和紫外线传感器等。
当移动终端的应用需要利用传感器获取数据时,会通过移动终端的应用层向移动终端的硬件抽象层发送传感器使能指令。例如,当移动终端由熄屏变化为亮屏时,某些应用(比如防止误触发应用)会向硬件抽象层发送使能接近传感器的使能指令,以获取接近传感器的数据,某些应用(比如说自动背光调节应用)会向硬件抽象层发送使能环境光传感器的使能指令,以获取环境光传感器的数据。移动终端中的传感器有很多,可能只是一个或者某几个传感器要被使能,这类传感器被称为待使能传感器,那么,根据传感器使能指令即可确定移动终端传感器中的待使能传感器。当传感器被使能之后可利用传感器获取数据,例如,利用环境光传感器获取环境光参数,利用接近传感器获取用户或其他目标对象与移动终端之间的距离参数等。其中,所述待使能传感器可以为一个或者多个。
步骤102、确定移动终端传感器的上电事件被触发,获取移动终端的目标传感器的上电延时,其中,所述目标传感器至少包括所述待使能传感器,当所述目标传感器为一个时,所述目标传感器的上电延时小于移动终端传感器的最大上电延时。
移动终端传感器的上电事件被触发包括移动终端从休眠状态被唤醒(例如从熄屏状态到亮屏状态),或者传感器从休眠状态被唤醒,或者检测到传感器的使能指令。
所述上电延时是指为保证传感器稳定正常上电,从上电即刻开始所持续的最小时间。每个传感器的上电延时可能都不同,例如,环境光传感器的上电延时为20ms,接近传感器的上电延时为30ms,陀螺仪的上电延时为150ms。
所述目标传感器可以为待使能传感器,也可以为待使能传感器和其他传感器。
步骤103、判断当前时刻是否达到所述目标传感器对应的所述上电延时,若是,则执行步骤104,否则继续执行步骤103直到当前时刻达到所述上电延时。
发明人发现由于移动终端中的很多传感器往往都是共I2C、共电源的,所以在对传感器进行上电时,往往是所有的传感器都会同时上电。上电延时就会选择所有传感器中上电延时最大的最大上电延时,以保证该传感器可以正常上电。比如说陀螺仪往往需要较大的上电延时,长达150ms,但是环境光传感器或者接近传感器的上电延时很小,甚至不需要上电延时。如果应用只是使能环境光传感器,那么就会导致延时150ms之后才会执行环境光传感器的状态重置和使能,那么就导致环境光传感器的数据上报被延后很多,降低了传感器数据的上报速度。
示例1,若目标传感器为待使能传感器环境光传感器和待使能传感器接近传感器,那么在上电开始之后的20ms时,即对环境光传感器进行状态重置操作,在上电开始之后的30ms时,即对接近传感器进行状态重置操作。
示例2,若目标传感器为待使能传感器环境光传感器和其他传感器陀螺仪,那么在上电开始之后的20ms时,即对环境光传感器进行状态重置操作,在上电开始之后的150ms时,对陀螺仪进行状态重置操作。
其中,因为有些传感器的初始状态可能是不正常的,状态重置是用于保证上电后的传感器处于正常状态。
步骤104、对所述目标传感器进行状态重置操作。
在当前时刻达到目标传感器对应的上电延时,对目标传感器进行状态重置操作。
若目标传感器有多个,则可以分别在达到某一个传感器的上电延时时,对该传感器进行状态重置操作。
步骤105、确定所述待使能传感器完成状态重置,使能所述待使能传感器为使能传感器,并将获取到的所述使能传感器的数据进行上报。
在对目标传感器进行重置操作的过程中,若待使能传感器完成状态重置,则使能待使能传感器为使能传感器。
如上述示例1,在上电开始之后的20ms时,对环境传感器进行状态重置操作,在确定环境传感器完成状态重置时,使能环境传感器,并将获取到的所述环境传感器的数据进行上报;在上电开始之后的30ms时,对接近传感器进行状态重置操作,在确定接近传感器完成状态重置时,使能接近传感器,并将获取到的所述接近传感器的数据进行上报。相比于上电之后的150ms之后再进行接近传感器和环境光传感器的状态重置和使能,大大提升了传感器数据的上报速度。
如上述示例2,在上电开始之后的20ms时,对环境光传感器进行状态重置操作,在确定环境光传感器完成状态重置时,使能所述环境光传感器,并将获取到的环境光传感器的数据进行上报,在上电开始之后的150ms时,对陀螺仪进行状态重置操作。
需要说明的是,步骤105可能在执行步骤104的过程中执行,也可能是在执行完步骤104之后执行,图1仅示例性的给出了步骤104和105的执行顺序。示例性的,若目标传感器为待使能传感器环境光传感器,则在执行完步骤104对环境光传感器进行状态重置操作之后,执行步骤105确定环境光传感器完成状态重置,使能所述环境光传感器。又如上述示例2,在上电开始之后的20ms时,执行步骤104对环境光传感器进行状态重置操作之后,执行步骤105,确定环境光传感器完成状态重置,使能所述环境光传感器,然后再执行步骤104,对陀螺仪进行状态重置操作。
图2给出了本申请一个实施例提供的移动终端传感器的控制方法的流程图。如图2所示,本实施例提供的方法包括以下步骤:
步骤201、根据传感器使能指令确定移动终端传感器中的待使能传感器。
步骤202、确定移动终端传感器的上电事件被触发,获取所述待使能传感器的第一上电延时。
当所述待使能传感器为多个时,相应的第一上电延时也为多个。
步骤203、判断当前时刻是否达到所述第一上电延时,若是,则执行步骤204,否则继续执行步骤203直到当前时刻达到所述第一上电延时。
步骤204、对所述待使能传感器进行状态重置操作。
在所述第一上电延时为多个时,可以分别在当前时刻达到某一个传感器的第一上电延时时,对该传感器进行状态重置操作。
步骤205、确定所述待使能传感器完成状态重置,使能所述待使能传感器为使能传感器,并将获取到的所述使能传感器的数据进行上报。
当待使能传感器为多个时,每当确定其中的某一个传感器完成状态重置时,就立即使能该传感器。
在将获取到的所述使能传感器的数据进行上报之后,还可以包括:对所述移动终端中除所述使能传感器之外的传感器进行状态重置操作。
在当前时刻达到移动终端传感器的最大上电延时时,对所述移动终端中除所述使能传感器之外的传感器进行状态重置操作。
图3给出了本申请一个实施例提供的移动终端传感器的控制方法的流程图。如图3所示,本实施例提供的移动终端传感器的控制方法包括以下步骤:
步骤301、根据传感器使能指令确定移动终端传感器中的待使能传感器。
步骤302、确定移动终端传感器的上电事件被触发,获取移动终端的各个传感器的上电延时。
步骤303、分别在当前时刻达到所述各个传感器中相应的传感器的上电延时时,对所述相应的传感器进行状态重置操作。
该步骤可以包括:按照由短到长的顺序,确定所述各个传感器对应的各个上电延时;将所述各个上电延时分别作为当前上电延时;在当前时刻达到所述当前上电延时时,对所述当前上电延时对应的传感器进行状态重置操作。
示例性的,移动终端各个传感器的上电延时分别为20ms、30ms、50ms、150ms。则在上电开始之后的20ms时,对上电延时为20ms的传感器进行状态重置操作,在上电开始之后的30ms时,对上电延时为30ms的传感器进行状态重置操作,在上电开始之后的50ms时,对上电延时为50ms的传感器进行状态重置操作,在上电开始之后的150ms时,对上电延时为150ms的传感器进行状态重置操作。
步骤304、确定所述待使能传感器完成状态重置,使能所述待使能传感器为使能传感器,并将获取到的所述使能传感器的数据进行上报。
确定移动终端传感器的上电事件被触发的同时,启动计时器,相应的,步骤303可以包括:分别在计时值达到所述各个传感器中相应的传感器的上电延时时,对所述相应的传感器进行状态重置操作。其中,分别在计时值达到所述各个传感器中相应的传感器的上电延时时,对所述相应的传感器进行状态重置操作可以包括:按照由短到长的顺序,确定所述各个传感器对应的各个上电延时;将所述各个上电延时分别作为当前上电延时;在计时值达到所述当前上电延时时,对所述当前上电延时对应的传感器进行状态重置操作。
本申请实施例提供一种移动终端传感器的控制装置,包括:
待使能传感器确定模块,用于根据传感器使能指令确定移动终端传感器中的待使能传感器;
上电延时获取模块,用于确定移动终端传感器的上电事件被触发,获取移动终端的目标传感器的上电延时,其中,所述目标传感器至少包括所述待使能传感器,当所述目标传感器为一个时,所述目标传感器的上电延时小于移动终端传感器的最大上电延时;
目标传感器状态重置模块,用于在当前时刻达到所述目标传感器对应的所述上电延时时,对所述目标传感器进行状态重置操作;
传感器数据上报模块,用于确定所述待使能传感器完成状态重置,使能所述待使能传感器为使能传感器,并将获取到的所述使能传感器的数据进行上报。
在一种实施方式中,所述上电延时获取模块用于:确定移动终端传感器的上电事件被触发,获取所述待使能传感器的第一上电延时;
所述传感器状态重置模块用于:在当前时刻达到所述第一上电延时时,对所述待使能传感器进行状态重置操作。
在一种实施方式中,所述上电延时获取模块用于:确定移动终端传感器的上电事件被触发,获取移动终端的各个传感器的上电延时;
所述传感器状态重置模块用于:分别在当前时刻达到所述各个传感器中相应的传感器的上电延时时,对所述相应的传感器进行状态重置操作。
在一种实施方式中,所述装置还包括:
第一其他传感器状态重置模块,用于在将获取到的所述使能传感器的数据进行上报之后,对所述移动终端中除所述使能传感器之外的传感器进行状态重置操作。
在一种实施方式中,所述装置还包括:
第二其他传感器状态重置模块,用于在当前时刻达到移动终端传感器的最大上电延时时,对所述移动终端中除所述使能传感器之外的传感器进行状态重置操作。
在一种实施方式中,所述装置还包括:
计时器启动模块,用于确定移动终端传感器的上电事件被触发的同时,启动计时器;
所述传感器状态重置模块分别在当前时刻达到所述各个传感器中相应的传感器的上电延时时,对所述相应的传感器进行状态重置操作包括:
分别在计时值达到所述各个传感器中相应的传感器的上电延时时,对所述相应的传感器进行状态重置操作。
图4为本申请一个实施例提供的移动终端传感器的控制装置的结构框图,该装置可由软件和/或硬件实现,集成在移动终端中。如图4所示,该装置包括待使能传感器确定模块41、上电延时获取模块42、目标传感器状态重置模块43和传感器数据上报模块44。
所述待使能传感器确定模块41,用于根据传感器使能指令确定移动终端传感器中的待使能传感器;
所述上电延时获取模块42,用于确定移动终端传感器的上电事件被触发,获取移动终端的目标传感器的上电延时,其中,所述目标传感器至少包括所述待使能传感器,当所述目标传感器为一个时,所述目标传感器的上电延时小于移动终端传感器的最大上电延时;
所述目标传感器状态重置模块43,用于在当前时刻达到所述目标传感器对应的所述上电延时时,对所述目标传感器进行状态重置操作;
所述传感器数据上报模块44,用于确定所述待使能传感器完成状态重置,使能所述待使能传感器为使能传感器,并将获取到的所述使能传感器的数据进行上报。
所述上电延时获取模块用于:确定移动终端传感器的上电事件被触发,获取所述待使能传感器的第一上电延时;
所述传感器状态重置模块用于:在当前时刻达到所述第一上电延时时,对所述待使能传感器进行状态重置操作。
所述上电延时获取模块用于:确定移动终端传感器的上电事件被触发,获取移动终端的各个传感器的上电延时;
所述传感器状态重置模块用于:分别在当前时刻达到所述各个传感器中相应的传感器的上电延时时,对所述相应的传感器进行状态重置操作。
所述装置还可以包括第一其他传感器状态重置模块,用于在将获取到的所述使能传感器的数据进行上报之后,对所述移动终端中除所述使能传感器之外的传感器进行状态重置操作。
所述装置还可以包括第二其他传感器状态重置模块,用于在当前时刻达到移动终端传感器的最大上电延时时,对所述移动终端中除所述使能传感器之外的传感器进行状态重置操作。
所述装置还可以包括计时器启动模块,用于确定移动终端传感器的上电事件被触发的同时,启动计时器;
所述传感器状态重置模块分别在当前时刻达到所述各个传感器中相应的传感器的上电延时时,对所述相应的传感器进行状态重置操作包括:
分别在计时值达到所述各个传感器中相应的传感器的上电延时时,对所述相应的传感器进行状态重置操作。
本申请实施例提供了一种存储介质,所述存储介质中存储有多条指令,所述指令适于由处理器加载以执行本申请实施例提供的移动终端传感器的控制方法。本申请实施例提供了一种移动终端,包括存储器、处理器及存储在存储器上并可在处理器上运行的计算机程序,所述处理器执行所述计算机程序时实现以下步骤:
根据传感器使能指令确定移动终端传感器中的待使能传感器;
确定移动终端传感器的上电事件被触发,获取移动终端的目标传感器的上电延时,其中,所述目标传感器至少包括所述待使能传感器,当所述目标传感器为一个时,所述目标传感器的上电延时小于移动终端传感器的最大上电延时;
在当前时刻达到所述目标传感器对应的所述上电延时时,对所述目标传感器进行状态重置操作;
确定所述待使能传感器完成状态重置,使能所述待使能传感器为使能传感器,并将获取到的所述使能传感器的数据进行上报。
在一种实施方式中,所述获取移动终端的目标传感器的上电延时包括:
获取所述待使能传感器的第一上电延时;
所述在当前时刻达到所述目标传感器对应的所述上电延时时,对所述目标传感器进行状态重置操作包括:
在当前时刻达到所述第一上电延时时,对所述待使能传感器进行状态重置操作。
在一种实施方式中,所述获取移动终端的目标传感器的上电延时包括:
获取移动终端的各个传感器的上电延时;
所述在当前时刻达到所述目标传感器对应的所述上电延时时,对所述目标传感器进行状态重置操作包括:
分别在当前时刻达到所述各个传感器中相应的传感器的上电延时时,对所述相应的传感器进行状态重置操作。
在一种实施方式中,在将获取到的所述使能传感器的数据进行上报之后,还包括:
对所述移动终端中除所述使能传感器之外的传感器进行状态重置操作。
在一种实施方式中,所述移动终端还包括:
在当前时刻达到移动终端传感器的最大上电延时时,对所述移动终端中除所述使能传感器之外的传感器进行状态重置操作。
在一种实施方式中,所述移动终端还包括:
确定移动终端传感器的上电事件被触发的同时,启动计时器;
所述分别在当前时刻达到所述各个传感器中相应的传感器的上电延时时,对所述相应的传感器进行状态重置操作包括:
分别在计时值达到所述各个传感器中相应的传感器的上电延时时,对所述相应的传感器进行状态重置操作。
图5为本申请一个实施例提供的一种移动终端的结构示意图,该移动终端可以包括本申请任意实施例提供的移动终端传感器的控制装置,如图5所示,该移动终端可以包括:存储器501、中央处理器(Central Processing Unit,CPU)502(又称处理器,以下简称CPU)、所述存储器501,用于存储可执行程序代码;所述处理器502通过读取所述存储器501中存储的可执行程序代码来运行与所述可执行程序代码对应的程序,以用于执行:根据传感器使能指令确定移动终端传感器中的待使能传感器;确定移动终端传感器的上电事件被触发,获取移动终端的目标传感器的上电延时,其中,所述目标传感器至少包括所述待使能传感器,当所述目标传感器为一个时,所述目标传感器的上电延时小于移动终端传感器的最大上电延时;在当前时刻达到所述目标传感器对应的所述上电延时时,对所述目标传感器进行状态重置操作;确定所述待使能传感器完成状态重置,使能所述待使能传感器为使能传感器,并将获取到的所述使能传感器的数据进行上报。
所述移动终端还包括:外设接口503、RF(Radio Frequency,射频)电路505、音频电路506、扬声器511、电源管理芯片508、输入/输出(I/O)子系统509、触摸屏512、其他输入/控制设备510以及外部端口504,这些部件通过一个或多个通信总线或信号线507来通信。
应该理解的是,图示移动终端500仅仅是移动终端的一个范例,并且移动终端500可以具有比图中所示出的更多的或者更少的部件,可以组合两个或更多的部件,或者可以具有不同的部件配置。图中所示出的各种部件可以在包括一个或多个信号处理和/或专用集成电路在内的硬件、软件、或硬件和软件的组合中实现。
下面就本实施例提供的用于控制移动终端传感器的移动终端进行详细的描述,该移动终端以手机为例。
存储器501,所述存储器501可以被CPU502、外设接口503等访问,所述存储器501可以包括高速随机存取存储器,还可以包括非易失性存储器,例如一个或多个磁盘存储器件、闪存器件、或其他易失性固态存储器件。
外设接口503,所述外设接口503可以将设备的输入和输出外设连接到CPU502和存储器501。
I/O子系统509,所述I/O子系统509可以将设备上的输入输出外设,例如触摸屏512和其他输入/控制设备510,连接到外设接口503。I/O子系统509可以包括显示控制器5091和用于控制其他输入/控制设备510的一个或多个输入控制器5092。其中,一个或多个输入控制器5092从其他输入/控制设备510接收电信号或者向其他输入/控制设备510发送电信号,其他输入/控制设备510可以包括物理按钮(按压按钮、摇臂按钮等)、拨号盘、滑动开关、操纵杆、点击滚轮。值得说明的是,输入控制器5092可以与以下任一个连接:键盘、红外端口、USB接口以及诸如鼠标的指示设备。
触摸屏512,所述触摸屏512是用户终端与用户之间的输入接口和输出接口,将可视输出显示给用户,可视输出可以包括图形、文本、图标、视频等。
I/O子系统509中的显示控制器5091从触摸屏512接收电信号或者向触摸屏512发送电信号。触摸屏512检测触摸屏上的接触,显示控制器5091将检测到的接触转换为与显示在触摸屏512上的用户界面对象的交互,即实现人机交互,显示在触摸屏512上的用户界面对象可以是运行游戏的图标、联网到相应网络的图标等。值得说明的是,设备还可以包括光鼠,光鼠是不显示可视输出的触摸敏感表面,或者是由触摸屏形成的触摸敏感表面的延伸。
RF电路505,主要用于建立手机与无线网络(即网络侧)的通信,实现手机与无线网络的数据接收和发送。例如收发短信息、电子邮件等。具体地,RF电路505接收并发送RF信号,RF信号也称为电磁信号,RF电路505将电信号转换为电磁信号或将电磁信号转换为电信号,并且通过该电磁信号与通信网络以及其他设备进行通信。RF电路505可以包括用于执行这些功能的已知电路,其包括但不限于天线系统、RF收发机、一个或多个放大器、调谐器、一个或多个振荡器、数字信号处理器、CODEC(COder-DECoder,编译码器)芯片组、用户标识模块(Subscriber Identity Module,SIM)等等。
音频电路506,主要用于从外设接口503接收音频数据,将该音频数据转换为电信号,并且将该电信号发送给扬声器511。
扬声器511,用于将手机通过RF电路505从无线网络接收的语音信号,还原为声音并向用户播放该声音。
电源管理芯片508,用于为CPU502、I/O子系统及外设接口503所连接的硬件进行供电及电源管理。
需要说明的是,对本申请实施例所述移动终端传感器的控制方法而言,本领域普通技术人员可以理解实现本申请实施例所述移动终端传感器的控制方法的全部或部分流程,是可以通过计算机程序来控制相关的硬件来完成,所述计算机程序可存储于一计算机可读取存储介质中,如存储在存储器中,并被至少一个处理器执行,在执行过程中可包括如所述移动终端传感器的控制方法的实施例的流程。其中,所述的存储介质可为磁碟、光盘、只读存储器(ROM,Read Only Memory)、随机存取记忆体(RAM,Random Access Memory)等。
上述仅为本申请的较佳实施例及所运用的技术原理。本申请不限于这里所述的特定实施例,对本领域技术人员来说能够进行的各种明显变化、重新调整及替代均不会脱离本申请的保护范围。因此,虽然通过以上实施例对本申请进行了较为详细的说明,但是本申请不仅仅限于以上实施例,在不脱离本申请构思的情况下,还可以包括更多其他等效实施例,而本申请的范围由权利要求的范围决定。

Claims (19)

  1. 一种移动终端传感器的控制方法,其中,包括:
    根据传感器使能指令确定移动终端传感器中的待使能传感器;
    确定移动终端传感器的上电事件被触发,获取移动终端的目标传感器的上电延时,其中,所述目标传感器至少包括所述待使能传感器,当所述目标传感器为一个时,所述目标传感器的上电延时小于移动终端传感器的最大上电延时;
    在当前时刻达到所述目标传感器对应的所述上电延时时,对所述目标传感器进行状态重置操作;以及
    确定所述待使能传感器完成状态重置,使能所述待使能传感器为使能传感器,并将获取到的所述使能传感器的数据进行上报。
  2. 根据权利要求1所述的方法,其中,所述获取移动终端的目标传感器的上电延时包括:
    获取所述待使能传感器的第一上电延时;以及
    所述在当前时刻达到所述目标传感器对应的所述上电延时时,对所述目标传感器进行状态重置操作包括:
    在当前时刻达到所述第一上电延时时,对所述待使能传感器进行状态重置操作。
  3. 根据权利要求1所述的方法,其中,所述获取移动终端的目标传感器的上电延时包括:
    获取移动终端的各个传感器的上电延时;以及
    所述在当前时刻达到所述目标传感器对应的所述上电延时时,对所述目标传感器进行状态重置操作包括:分别在当前时刻达到所述各个传感器中相应的传感器的上电延时时,对所述相应的传感器进行状态重置操作。
  4. 根据权利要求2所述的方法,其中,在将获取到的所述使能传感器的数据进行上报之后,还包括:
    对所述移动终端中除所述使能传感器之外的传感器进行状态重置操作。
  5. 根据权利要求2所述的方法,其中,还包括:
    在当前时刻达到移动终端传感器的最大上电延时时,对所述移动终端中除所述使能传感器之外的传感器进行状态重置操作。
  6. 根据权利要求3所述的方法,其中,还包括:
    确定移动终端传感器的上电事件被触发的同时,启动计时器;以及
    所述分别在当前时刻达到所述各个传感器中相应的传感器的上电延时时,对所述相应的传感器进行状态重置操作包括:
    分别在计时值达到所述各个传感器中相应的传感器的上电延时时,对所述相应的传感器进行状态重置操作。
  7. 一种移动终端传感器的控制装置,其中,包括:
    待使能传感器确定模块,用于根据传感器使能指令确定移动终端传感器中的待使能传感器;
    上电延时获取模块,用于确定移动终端传感器的上电事件被触发,获取移动终端的目标传感器的上电延时,其中,所述目标传感器至少包括所述待使能传感器,当所述目标传感器为一个时,所述目标传感器的上电延时小于移动终端传感器的最大上电延时;
    目标传感器状态重置模块,用于在当前时刻达到所述目标传感器对应的所述上电延时时,对所述目标传感器进行状态重置操作;以及
    传感器数据上报模块,用于确定所述待使能传感器完成状态重置,使能所述待使能传感器为使能传感器,并将获取到的所述使能传感器的数据进行上报。
  8. 根据权利要求7所述的装置,其中:
    所述上电延时获取模块用于:确定移动终端传感器的上电事件被触发,获取所述待使能传感器的第一上电延时;以及
    所述传感器状态重置模块用于:在当前时刻达到所述第一上电延时时,对所述待使能传感器进行状态重置操作。
  9. 根据权利要求7所述的装置,其中:
    所述上电延时获取模块用于:确定移动终端传感器的上电事件被触发,获取移动终端的各个传感器的上电延时;以及
    所述传感器状态重置模块用于:分别在当前时刻达到所述各个传感器中相应的传感器的上电延时时,对所述相应的传感器进行状态重置操作。
  10. 根据权利要求8所述的装置,其中,还包括:
    第一其他传感器状态重置模块,用于在将获取到的所述使能传感器的数据进行上报之后,对所述移动终端中除所述使能传感器之外的传感器进行状态重置操作。
  11. 根据权利要求8所述的装置,其中,还包括:
    第二其他传感器状态重置模块,用于在当前时刻达到移动终端传感器的最大上电延时时,对所述移动终端中除所述使能传感器之外的传感器进行状态重置操作。
  12. 根据权利要求9所述的装置,其中,还包括:
    计时器启动模块,用于确定移动终端传感器的上电事件被触发的同时,启动计时器;以及
    所述传感器状态重置模块分别在当前时刻达到所述各个传感器中相应的传感器的上电延时时,对所述相应的传感器进行状态重置操作包括:
    分别在计时值达到所述各个传感器中相应的传感器的上电延时时,对所述相应的传感器进行状态重置操作。
  13. 一种存储介质,其中,所述存储介质中存储有多条指令,所述指令适于由处理器加载以执行如权利要求1至6中任一项所述的移动终端传感器的控制方法。
  14. 一种移动终端,包括存储器、处理器及存储在存储器上并可在处理器上运行的计算机程序,其中,所述处理器执行所述计算机程序时实现以下步骤:
    根据传感器使能指令确定移动终端传感器中的待使能传感器;
    确定移动终端传感器的上电事件被触发,获取移动终端的目标传感器的上电延时,其中,所述目标传感器至少包括所述待使能传感器,当所述目标传感器为一个时,所述目标传感器的上电延时小于移动终端传感器的最大上电延时;
    在当前时刻达到所述目标传感器对应的所述上电延时时,对所述目标传感器进行状态重置操作;以及
    确定所述待使能传感器完成状态重置,使能所述待使能传感器为使能传感器,并将获取到的所述使能传感器的数据进行上报。
  15. 如权利要求14所述的移动终端,其中,所述获取移动终端的目标传感器的上电延时包括:
    获取所述待使能传感器的第一上电延时;以及
    所述在当前时刻达到所述目标传感器对应的所述上电延时时,对所述目标传感器进行状态重置操作包括:
    在当前时刻达到所述第一上电延时时,对所述待使能传感器进行状态重置操作。
  16. 如权利要求14所述的移动终端,其中,所述获取移动终端的目标传感器的上电延时包括:
    获取移动终端的各个传感器的上电延时;以及
    所述在当前时刻达到所述目标传感器对应的所述上电延时时,对所述目标传感器进行状态重置操作包括:
    分别在当前时刻达到所述各个传感器中相应的传感器的上电延时时,对所述相应的传感器进行状态重置操作。
  17. 如权利要求15所述的移动终端,其中,在将获取到的所述使能传感器的数据进行上报之后,还包括:
    对所述移动终端中除所述使能传感器之外的传感器进行状态重置操作。
  18. 如权利要求15所述的移动终端,其中,还包括:
    在当前时刻达到移动终端传感器的最大上电延时时,对所述移动终端中除所述使能传感器之外的传感器进行状态重置操作。
  19. 如权利要求14所述的移动终端,其中,还包括:
    确定移动终端传感器的上电事件被触发的同时,启动计时器;以及
    所述分别在当前时刻达到所述各个传感器中相应的传感器的上电延时时,对所述相应的传感器进行状态重置操作包括:
    分别在计时值达到所述各个传感器中相应的传感器的上电延时时,对所述相应的传感器进行状态重置操作。
PCT/CN2017/106612 2017-02-04 2017-10-17 移动终端传感器的控制方法、装置、存储介质及移动终端 WO2018141167A1 (zh)

Priority Applications (2)

Application Number Priority Date Filing Date Title
EP17894709.9A EP3579531A4 (en) 2017-02-04 2017-10-17 MOBILE TERMINAL SENSOR CONTROL METHOD, DEVICE, INFORMATION MEDIUM, AND MOBILE TERMINAL
US16/483,693 US10666789B2 (en) 2017-02-04 2017-10-17 Control method and device for sensors of mobile terminal, storage medium and mobile terminal

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201710065209.XA CN106850985B (zh) 2017-02-04 2017-02-04 移动终端传感器的控制方法、装置及移动终端
CN201710065209.X 2017-02-04

Publications (1)

Publication Number Publication Date
WO2018141167A1 true WO2018141167A1 (zh) 2018-08-09

Family

ID=59121336

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2017/106612 WO2018141167A1 (zh) 2017-02-04 2017-10-17 移动终端传感器的控制方法、装置、存储介质及移动终端

Country Status (4)

Country Link
US (1) US10666789B2 (zh)
EP (1) EP3579531A4 (zh)
CN (1) CN106850985B (zh)
WO (1) WO2018141167A1 (zh)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106850985B (zh) * 2017-02-04 2019-07-05 Oppo广东移动通信有限公司 移动终端传感器的控制方法、装置及移动终端

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104503565A (zh) * 2015-01-04 2015-04-08 华为技术有限公司 移动设备的功耗管理方法、装置及移动设备
CN105843365A (zh) * 2016-03-24 2016-08-10 广东欧珀移动通信有限公司 一种传感器控制方法及装置
CN106249874A (zh) * 2016-07-14 2016-12-21 广东欧珀移动通信有限公司 一种传感器数据的上报方法、处理器和移动终端
CN106850985A (zh) * 2017-02-04 2017-06-13 广东欧珀移动通信有限公司 移动终端传感器的控制方法、装置及移动终端

Family Cites Families (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8952832B2 (en) * 2008-01-18 2015-02-10 Invensense, Inc. Interfacing application programs and motion sensors of a device
US20090259865A1 (en) * 2008-04-11 2009-10-15 Qualcomm Incorporated Power Management Using At Least One Of A Special Purpose Processor And Motion Sensing
US8405505B2 (en) * 2009-05-26 2013-03-26 Qualcomm Incorporated Power management of sensors within a mobile device
US7873849B2 (en) * 2009-09-02 2011-01-18 Apple Inc. Motion sensor data processing using various power management modes
KR101624903B1 (ko) * 2009-09-16 2016-05-30 삼성전자주식회사 휴대용 단말기에서 전력 소모를 줄이기 위한 장치 및 방법
US20130039230A1 (en) 2011-08-09 2013-02-14 Jaesik Lee Method and Device for Wireless Broadcast Power-up Sequence in Wireless Sensor Network
US20150005039A1 (en) 2013-06-29 2015-01-01 Min Liu System and method for adaptive haptic effects
US10031000B2 (en) * 2014-05-29 2018-07-24 Apple Inc. System on a chip with always-on processor
CN108255937B (zh) 2017-12-08 2020-09-29 未鲲(上海)科技服务有限公司 基于sdn的资源清理方法、装置、存储介质和计算机设备
CN108249874A (zh) 2018-01-26 2018-07-06 山东农业大学 一种杨木纤维砖

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104503565A (zh) * 2015-01-04 2015-04-08 华为技术有限公司 移动设备的功耗管理方法、装置及移动设备
CN105843365A (zh) * 2016-03-24 2016-08-10 广东欧珀移动通信有限公司 一种传感器控制方法及装置
CN106249874A (zh) * 2016-07-14 2016-12-21 广东欧珀移动通信有限公司 一种传感器数据的上报方法、处理器和移动终端
CN106850985A (zh) * 2017-02-04 2017-06-13 广东欧珀移动通信有限公司 移动终端传感器的控制方法、装置及移动终端

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
See also references of EP3579531A4 *

Also Published As

Publication number Publication date
US20200028957A1 (en) 2020-01-23
EP3579531A1 (en) 2019-12-11
CN106850985B (zh) 2019-07-05
EP3579531A4 (en) 2020-02-05
US10666789B2 (en) 2020-05-26
CN106850985A (zh) 2017-06-13

Similar Documents

Publication Publication Date Title
WO2017213358A1 (en) Electronic device and method for activating applications therefor
WO2017179820A1 (en) Authentication method and electronic device using the same
WO2018129977A1 (zh) 一种充电控制方法、装置、存储介质和计算机设备
EP3568744A1 (en) Electronic device and method for displaying screen thereof
WO2017164585A1 (en) Electronic device and control method thereof
WO2016080747A1 (en) User terminal and method for controlling display apparatus
WO2019124908A1 (ko) 영상 동기 신호에 기반하여 터치 센서 컨트롤러를 제어하기 위한 전자 장치 및 방법
WO2018161601A1 (zh) 屏幕背光调节方法、装置、存储介质及电子设备
EP3482341A1 (en) Electronic device and operating method thereof
WO2018161584A1 (zh) 应用程序的控制方法、装置、介质及电子设备
WO2018208093A1 (ko) 햅틱 피드백을 제공하는 방법 및 이를 수행하는 전자 장치
EP3281089A1 (en) Smart device and method of operating the same
WO2018026164A1 (en) Method of processing touch events and electronic device adapted thereto
WO2018161580A1 (zh) 广播的控制方法、装置、存储介质及电子设备
WO2018048217A1 (en) Electronic apparatus and operating method thereof
WO2018145597A1 (zh) 基于移动终端的屏幕补光拍照方法及系统、移动终端
WO2017206870A1 (zh) 一种传感器关闭方法、装置、存储介质及电子设备
WO2018076881A1 (zh) 数据同步方法、装置、存储介质及服务器
WO2020106019A1 (en) Electronic device and method for providing in-vehicle infotainment service
WO2020032636A1 (en) Electronic device for providing notification message and method thereof
WO2019039729A1 (en) METHOD FOR CHANGING THE CONTENT SIZE DISPLAYED ON A DISPLAY DEVICE, AND RELATED ELECTRONIC DEVICE
WO2019039707A1 (en) METHOD FOR CONFIGURING ACTION OF AN EXTERNAL DEVICE AND ELECTRONIC DEVICE SUPPORTING THE SAME
WO2020106085A1 (en) Electronic device and method for obtaining information associated with fingerprint
WO2017206881A1 (zh) 一种关联应用的处理方法、装置、存储介质及电子设备
AU2018321518B2 (en) Method for determining input detection region corresponding to user interface and electronic device thereof

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

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

ENP Entry into the national phase

Ref document number: 2017894709

Country of ref document: EP

Effective date: 20190904