CN109407817B - Control method and device of screen-off clock, electronic equipment and storage medium - Google Patents
Control method and device of screen-off clock, electronic equipment and storage medium Download PDFInfo
- Publication number
- CN109407817B CN109407817B CN201811296437.9A CN201811296437A CN109407817B CN 109407817 B CN109407817 B CN 109407817B CN 201811296437 A CN201811296437 A CN 201811296437A CN 109407817 B CN109407817 B CN 109407817B
- Authority
- CN
- China
- Prior art keywords
- state
- screen
- electronic device
- clock
- electronic equipment
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
- 238000000034 method Methods 0.000 title claims abstract description 67
- 230000003068 static effect Effects 0.000 claims description 11
- 230000002093 peripheral effect Effects 0.000 claims description 9
- 210000000707 wrist Anatomy 0.000 claims description 4
- 230000001133 acceleration Effects 0.000 description 17
- 230000006870 function Effects 0.000 description 14
- 238000013459 approach Methods 0.000 description 12
- 238000012545 processing Methods 0.000 description 7
- 238000005070 sampling Methods 0.000 description 7
- 238000004458 analytical method Methods 0.000 description 6
- 238000013507 mapping Methods 0.000 description 5
- 238000010586 diagram Methods 0.000 description 4
- 230000008569 process Effects 0.000 description 4
- 230000005021 gait Effects 0.000 description 3
- 230000009471 action Effects 0.000 description 2
- 230000000694 effects Effects 0.000 description 2
- 238000009877 rendering Methods 0.000 description 2
- 238000012360 testing method Methods 0.000 description 2
- 230000001052 transient effect Effects 0.000 description 2
- 206010027336 Menstruation delayed Diseases 0.000 description 1
- 230000004913 activation Effects 0.000 description 1
- 230000000712 assembly Effects 0.000 description 1
- 238000000429 assembly Methods 0.000 description 1
- 238000013475 authorization Methods 0.000 description 1
- 230000006399 behavior Effects 0.000 description 1
- 230000009286 beneficial effect Effects 0.000 description 1
- 238000004364 calculation method Methods 0.000 description 1
- 238000005265 energy consumption Methods 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 239000011521 glass Substances 0.000 description 1
- 238000005286 illumination Methods 0.000 description 1
- 239000012528 membrane Substances 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 230000035945 sensitivity Effects 0.000 description 1
- 239000010409 thin film Substances 0.000 description 1
- 239000002699 waste material Substances 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F1/00—Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
- G06F1/26—Power supply means, e.g. regulation thereof
- G06F1/32—Means for saving power
- G06F1/3203—Power management, i.e. event-based initiation of a power-saving mode
- G06F1/3234—Power saving characterised by the action undertaken
- G06F1/325—Power saving in peripheral device
- G06F1/3265—Power saving in display device
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- User Interface Of Digital Computer (AREA)
- Controls And Circuits For Display Device (AREA)
Abstract
The embodiment of the application discloses a control method and device of a screen turn-off clock, electronic equipment and a storage medium, and belongs to the technical field of computers. The electronic equipment can determine the corresponding second screen extinguishing state according to the state parameters, and when the current first screen extinguishing state of the electronic equipment is different from the second screen extinguishing state, the screen of the electronic equipment is adjusted to the second screen extinguishing state, so that the matching between the state of the screen of the electronic equipment and the state of the electronic equipment is improved, the efficiency of displaying the screen extinguishing clock of the electronic equipment is improved, and the overall power consumption of the electronic equipment for displaying the screen extinguishing clock is reduced.
Description
Technical Field
The embodiment of the application relates to the technical field of computers, in particular to a method and a device for controlling a screen-off clock, electronic equipment and a storage medium.
Background
With the wide application of intelligent electronic devices in life, the behaviors of users viewing the current system time by using the electronic devices are also gradually increased.
In the related art, the electronic apparatus is capable of displaying a current system time in a taskbar of a system in a state where a screen is lit. When the electronic device is in a state that the screen is off, the electronic device may display the current system time by turning off the screen clock.
When the electronic equipment is in the screen-off state, the electronic equipment always displays the screen-off clock, so that the large software and hardware expenses are caused.
Disclosure of Invention
The embodiment of the application provides a control method and device for a screen-off clock, an electronic device and a storage medium, and can solve the problem that the electronic device always displays the screen-off clock when the electronic device is in a screen-off state, so that the large software and hardware overhead is caused. The technical scheme is as follows:
according to an aspect of the present application, there is provided a method for controlling a screen-off clock, which is applied to an electronic device, where the states of a screen of the electronic device include a screen-on state and a screen-off state, and the screen-off state includes a screen-black state and a screen-off clock display state, the method for controlling the screen-off clock includes:
when the state of the screen is a first screen-off state, acquiring state information of the electronic equipment, wherein the state information is used for indicating the state of the electronic equipment in time and/or space, and the first screen-off state is the black screen state or the screen-off clock display state;
determining a corresponding second screen-off state according to the state information, wherein the second screen-off state is the black screen state or the screen-off clock display state;
and when the first screen extinguishing state is different from the second screen extinguishing state, adjusting the state of the screen to the second screen extinguishing state.
According to another aspect of the present application, there is provided a device for controlling an off-screen clock, which is applied to an electronic device, where the states of a screen of the electronic device include a bright screen state and an off-screen state, and the off-screen state includes a black screen state and an off-screen clock display state, the device including:
the acquisition module is used for acquiring state information of the electronic equipment when the state of the screen is a first screen-off state, wherein the state information is used for indicating the state of the electronic equipment in time and/or space, and the first screen-off state is the black screen state or the screen-off clock display state;
the determining module is used for determining a corresponding second screen-off state according to the state information, wherein the second screen-off state is the black screen state or the screen-off clock display state;
and the adjusting module is used for adjusting the state of the screen to be the second screen-off state when the first screen-off state is different from the second screen-off state.
According to another aspect of the present application, there is provided an electronic device including a processor and a memory, the memory having at least one instruction stored therein, the instruction being loaded and executed by the processor to implement the method for controlling a screen-out clock as provided in the implementations of the present application.
According to another aspect of the present application, there is provided a computer-readable storage medium having at least one instruction stored therein, the instruction being loaded and executed by a processor to implement a method for controlling a screen-out clock as provided in the implementations of the present application.
The beneficial effects brought by the technical scheme provided by the embodiment of the application can include:
the screen state of the electronic equipment is divided into a screen lightening state and a screen extinguishing state, when the screen is in a first screen extinguishing state, state information of the electronic equipment is obtained, a corresponding second screen extinguishing state is determined according to the state information, and when the first screen extinguishing state is different from the second screen extinguishing state, the screen state is adjusted to be the second screen extinguishing state. The electronic equipment can determine the corresponding second screen extinguishing state according to the state parameters of the electronic equipment, and when the current first screen extinguishing state of the electronic equipment is different from the second screen extinguishing state, the screen of the electronic equipment is adjusted to the second screen extinguishing state, so that the matching performance of the state of the screen of the electronic equipment and the state of the electronic equipment is improved, the efficiency of displaying the screen extinguishing clock of the electronic equipment is improved, and the overall power consumption of the electronic equipment for displaying the screen extinguishing clock is reduced.
Drawings
In order to more clearly describe the technical solutions in the embodiments of the present application, the drawings needed to be used in the description of the embodiments of the present application will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present application, and it is obvious for those skilled in the art that other drawings can be obtained according to these drawings without creative efforts.
FIG. 1 is a block diagram of an electronic device provided in an exemplary embodiment of the present application;
FIG. 2 is a flow chart of a method for controlling a screen-out clock provided in an exemplary embodiment of the present application;
FIG. 3 is a flow chart of a method for controlling a screen-out clock provided in another exemplary embodiment of the present application;
FIG. 4 is a flow chart of a method for controlling a screen-out clock provided in another exemplary embodiment of the present application;
FIG. 5 is a flowchart of a method for controlling a screen-off clock according to the embodiment of FIG. 4;
FIG. 6 is a flow chart of another method of controlling a screen-out clock provided in accordance with the embodiment of FIG. 5;
fig. 7 is a block diagram of a control apparatus for a screen-out clock according to an exemplary embodiment of the present application.
Detailed Description
To make the objects, technical solutions and advantages of the present application more clear, embodiments of the present application will be described in further detail below with reference to the accompanying drawings.
When the following description refers to the accompanying drawings, like numbers in different drawings represent the same or similar elements unless otherwise indicated. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present application. Rather, they are merely examples of apparatus and methods consistent with certain aspects of the present application, as detailed in the appended claims.
In order to make the solution shown in the embodiments of the present application easy to understand, several terms appearing in the embodiments of the present application will be described below.
The bright screen state: the screen of the electronic device is in an illuminated state and displays a user interface. In one possible approach, the bright screen state includes a bright screen locked state and a bright screen unlocked state. The bright screen locked state indicates that the electronic device is in a screen locked state and a backlight assembly of the screen has been illuminated to display a locked user interface. The bright screen unlocked state indicates that the electronic device is in the screen unlocked state and the backlight assembly of the screen has been illuminated to display the active user interface. In one possible approach, the active user interface is a system desktop. In another possible approach, the active user interface is a user interface of an application.
In another way of description, the bright screen state is a display state of a screen of the electronic device in a power-on state.
The screen extinguishing state: it means that the screen of the electronic device is in a extinguished state. In one possible approach, the screen-off state includes a black screen state and a screen-off clock display state. When the screen of the electronic equipment is in the black screen state, no content is displayed in the screen of the electronic equipment, and the screen is in the black screen state. When the screen of the electronic equipment is in the screen-off clock display state, a screen-off clock is displayed in the screen of the electronic equipment. Optionally, when the screen of the electronic device is in the off-screen clock display state, a reminding message such as the number of unread messages or the number of missed calls may also be displayed in the screen of the electronic device, which is not limited herein.
State information: the system is used for indicating the state of the electronic equipment in time and/or space, and the state in time can refer to the current system moment; in one approach, the state in space refers to the current geographic location of the electronic device; in another way, the state in space refers to a motion parameter. That is, the status information includes at least one of a current geographic location, a system time, and a motion parameter of the electronic device. In one possible scenario, the status information further includes current peripheral side device connection information of the electronic device.
It should be noted that the term "and/or" is used to indicate that the status information includes three meanings. In one case, the status information is used to indicate the status of the electronic device over time. In another case, the status information is used to indicate the status of the electronic device in space. In yet another case, the status information is used to indicate the status of the electronic device in space and time.
Extinguishing the screen clock: a clock displayed in the screen in the off-screen clock display state. In this embodiment, the electronic device can select, in the setting interface, a control method for enabling the screen-off clock provided in this embodiment. In addition, the electronic device may further have a function of turning off the screen-off clock, that is, turning off the screen-off clock. Or, the electronic device may also have a normally on state of the screen-off clock, that is, the electronic device always displays the screen-off clock in the screen-off state.
It should be noted that, the embodiment of the present application does not limit the specific implementation manner of the state information, and any information that indicates the state of the electronic device in time and/or space may be implemented as the state information referred to in the present application.
For example, the method for controlling the screen off clock shown in the embodiment of the present application may be applied to an electronic device having a display screen and a function of controlling the screen off clock. The electronic devices may include cell phones, tablet computers, smart watches, digital cameras, MP4 player electronics, MP5 player electronics, learning machines, point-and-read machines, electronic books or electronic dictionaries, and the like.
Referring to fig. 1, which is a block diagram of an electronic device according to an exemplary embodiment of the present application, as shown in fig. 1, the electronic device includes a processor 120, a memory 140, and a screen assembly 160, where the memory 140 stores at least one instruction, and the instruction is loaded and executed by the processor 120 to implement the method for controlling the screen-off clock according to the above embodiments. The screen assembly 160 includes a bright screen state and a screen-off state, and the screen-off state includes a dark screen state and a screen-off clock display state. The screen assembly 160 has corresponding backlight illumination modes and displayed contents in different states.
In the present application, the electronic device 100 is an electronic device having a function of displaying an off-screen clock. When the screen of the electronic device 100 is in the first screen-off state, the corresponding second screen-off state is determined according to the state information of the electronic device, and when the first screen-off state is different from the second screen-off state, the electronic device 100 can adjust the screen state to the second screen-off state.
It should be noted that the terms "first" and "second" in the first and second screen-out states are used for descriptive purposes only and are not to be construed as indicating or implying relative importance.
The processor 120 may include one or more Processing cores, the processor 120 may be connected to various parts throughout the electronic device 100 using various interfaces and lines, and may perform various functions of the electronic device 100 and process data by executing or executing instructions, programs, code sets, or instruction sets stored in the memory 140, and calling data stored in the memory 140. alternatively, the processor 120 may be implemented in at least one hardware form of Digital Signal Processing (DSP), Field-Programmable Gate Array (FPGA), Programmable logic Array (Programmable L analog Array, P L a), the processor 120 may be implemented in the form of a Central Processing Unit (CPU), Graphics Processing Unit (GPU), or a combination of one or more of a modem, etc., wherein the CPU is primarily responsible for Processing operating systems, user interfaces, application programs, etc., the GPU may be implemented for displaying desired content, and the wireless rendering, and the modem may be implemented for rendering, or a separate chip.
It should be noted that the plurality of processing cores indicates two or more processing cores of an integer number.
The Memory 140 may include a Random Access Memory (RAM) or a Read-Only Memory (Read-Only Memory). Optionally, the memory 140 includes a non-transitory computer-readable medium. The memory 140 may be used to store instructions, programs, code sets, or instruction sets. The memory 140 may include a stored program area and a stored data area, wherein the stored program area may store instructions for implementing an operating system, instructions for at least one function (such as a touch function, a sound playing function, an image playing function, etc.), instructions for implementing various method embodiments described below, and the like; the storage data area may store data and the like referred to in the following respective method embodiments.
In the embodiment of the present application, the electronic device can adjust the display state of the screen-off clock by acquiring the state information of the electronic device, and the following embodiment may be referred to for details.
Please refer to fig. 2, which is a flowchart illustrating a method for controlling a screen-out clock according to an exemplary embodiment of the present application. The control method of the screen-off clock can be applied to the electronic equipment shown above. The screen of the electronic equipment comprises a bright screen state and a screen off state, and the screen off state comprises a black screen state and a screen off clock display state. In fig. 2, the method for controlling the screen-off clock includes:
In one possible approach, the electronic device may determine the state of the screen through a process, background service, or application. Thereby determining whether the current state of the electronic equipment is a bright screen state or a screen-off state.
In another possible approach, the electronic device may indicate the current state of its screen by setting an identification bit. In this implementation, the electronic device does not need to additionally launch a process, background service, or application to determine the state of the screen.
When the state of the screen is the first screen-off state, the electronic equipment acquires the state information of the electronic equipment. That is, when the electronic device determines that the electronic device is in the black screen state or the off-screen clock display state, the state information of the electronic device is acquired. It should be noted that the status information is used to indicate the status of the electronic device in time and/or space.
Optionally, the status information may be at least one of a current geographic location of the electronic device, a current system time of the electronic device, and a current motion parameter of the electronic device.
In one possible implementation, the state information is a single piece of information. In one scenario, the status information is the current geographic location of the electronic device. In another scenario, the state information is a current system time of the electronic device. In yet another scenario, the state information is a current motion parameter of the electronic device.
In another possible implementation, the status information is a combined information composed of two kinds of information. In one scenario, the status information is the current geographic location of the electronic device and the current system time of the electronic device. In another scenario, the status information is a current geographic location of the electronic device and a current motion parameter of the electronic device. In yet another scenario, the state information is a current system time of the electronic device and a current motion parameter of the electronic device.
In yet another possible implementation, the state information is combined information composed of three kinds of information. That is, the state information is information including a current geographical location of the electronic device, a current system time of the electronic device, and a current motion parameter of the electronic device.
And step 220, determining a corresponding second screen-off state according to the state information, wherein the second screen-off state is a black screen state or a screen-off clock display state.
In this embodiment of the application, the electronic device can determine the corresponding second screen-off state according to the state information. It should be noted that the electronic device can implement, in a designated electronic component in the electronic device, determining the corresponding second screen-off state according to the state information.
In one possible approach, the electronic device can enable a processor in the electronic device to determine the corresponding second screen-off state according to the state information and the pre-stored correspondence. Or the processor determines the corresponding second screen-off state through calculation according to the state information.
In another possible manner, the electronic device may also not enable the processor, and determine the corresponding second screen-off state according to the state information by using a driving chip for driving the screen display in the electronic device. In this embodiment, the electronic device can select the driving chip to implement, instead of the processor, an operation of determining the corresponding second screen-off state according to the state information. The driving chip and the processor can complete the operation of determining the corresponding second screen-off state according to the state information, and when the electronic device is switched off, the processor needs to be awakened to execute the operation, and the driving chip can directly execute the operation. In the same case, the power consumption using the driver chip is low, so that the overall power consumption of the electronic device is reduced.
And step 230, when the first screen extinguishing state and the second screen extinguishing state are different, adjusting the state of the screen to be the second screen extinguishing state.
In the embodiment of the application, the electronic device compares the first screen-off state with the second screen-off state, and adjusts the state of the screen to the second screen-off state when the first screen-off state is different from the second screen-off state.
For example, when the first screen-off state is a black screen state and the second screen-off state is a screen-off clock display state, the electronic device adjusts the screen state to the screen-off clock display state.
When the first screen off state is a screen off clock display state and the second screen off state is a black screen state, the electronic equipment adjusts the state of the screen to be the black screen state.
Accordingly, as another implementation manner parallel to step 230, when the electronic device determines that the first screen-off state and the second screen-off state are the same, the electronic device does not make any adjustment, and maintains the electronic device in the current screen-off state.
In summary, in this embodiment, the screen state of the electronic device is divided into a screen-on state and a screen-off state, when the screen state is a first screen-off state, the state information of the electronic device is obtained, a corresponding second screen-off state is determined according to the state information, and when the first screen-off state and the second screen-off state are different, the screen state is adjusted to the second screen-off state. Wherein the status information is used to indicate the status of the electronic device in time and/or space. The electronic equipment can determine the corresponding second screen-off state according to at least one state parameter of the current geographic position, the system time and the motion parameter of the electronic equipment, and when the current first screen-off state of the electronic equipment is different from the second screen-off state, the screen of the electronic equipment is adjusted to the second screen-off state, so that the matching between the state of the screen of the electronic equipment and the state of the electronic equipment is improved, the efficiency of displaying the screen-off clock of the electronic equipment is improved, and the overall power consumption of displaying the screen-off clock of the electronic equipment is reduced.
Based on the scheme disclosed in the previous embodiment, when the state information includes the current motion parameter of the electronic device, the electronic device can further determine the corresponding operation in the second screen-off state according to the state information, so as to achieve an effect of adjusting the screen-off clock of the electronic device according to the motion condition of the electronic device, please refer to the following embodiments.
Please refer to fig. 3, which is a flowchart illustrating a method for controlling a screen-out clock according to another exemplary embodiment of the present application. The control method of the screen-off clock can be applied to the electronic equipment shown above. In fig. 3, the method for controlling the screen-off clock includes:
In the embodiment of the application, the electronic device can acquire the current motion parameter of the electronic device when the state of the screen is the first screen-off state. In a possible implementation manner, the electronic device can start a service to monitor the state of the screen, and in the first screen-off state of the screen state, the current motion parameters of the electronic device are acquired through the same service, or other services are enabled to acquire the current motion parameters of the electronic device.
In a possible mode, the current motion parameter of the electronic device is acquired, and the electronic device may acquire the corresponding motion parameter by calling a specified motion parameter acquisition interface through a service.
It should be noted that the motion parameter may include at least one physical quantity of speed, acceleration, angular velocity, angular acceleration, and average speed. In one possible implementation, the electronic device may obtain the motion parameters through a gyroscope and/or an acceleration sensor (english: G-sensor).
That is, in one possible approach, the electronic device acquires the motion parameters through an acceleration sensor. In another possible approach, the electronic device obtains the motion parameters through a gyroscope. In another possible manner, the electronic device combines the acceleration sensor and the gyroscope to obtain the motion parameters, and in the method for obtaining the motion parameters, the electronic device may use one of the two devices as a main acquisition device and the other as an auxiliary acquisition device, and adjust the motion parameters acquired by the main acquisition device by using the motion parameters acquired by the auxiliary acquisition device through a preset adjustment algorithm, so as to obtain more accurate motion parameters.
And step 320, determining corresponding motion state information according to the current motion parameters of the electronic equipment.
In the embodiment of the application, the motion state information is used for indicating the motion state with the specified motion parameters. The specified motion parameter is a parameter, or a set of parameters. When the motion parameter is a parameter, the motion parameter needs to conform to a specified motion model. When the motion parameter is a set of parameters, each motion parameter in the set of motion parameters needs to conform to a specified motion model.
In one possible approach, the electronic device can determine the corresponding motion state through the motion parameters of the transient state. In this mode, the electronic device obtains the motion parameter at the sampling time, and determines the motion state corresponding to the motion parameter according to the preset corresponding relationship.
In another possible approach, the electronic device determines the corresponding motion state through the motion parameters over a period of time. In this manner, the electronic device obtains the motion parameters over the period of time. And if the motion parameters in the period of time conform to the variation trend of the motion parameters in the motion model, determining the motion state corresponding to the motion model as the motion state of the electronic equipment. The period of time may also be referred to as a sampling period.
And step 330, determining a corresponding second screen-off state according to the motion state information.
In this embodiment, the electronic device determines the corresponding second screen-off state according to the motion state information. The electronic equipment can find and determine a corresponding second screen-off state according to the preset mapping relation and the motion state information. It should be noted that a motion state information is used to indicate a motion state. In one possible way, the preset mapping relationship of the movement states preset in the electronic device is 4, and the preset mapping relationship can be referred to the data shown in table one.
Watch 1
According to the mapping relation provided by the first table, the electronic equipment can obtain a corresponding second screen-off state according to the motion state. Based on the preset mapping relationship provided by table one, the electronic device in this embodiment can implement the determination of the second screen extinguishing state in the corresponding state.
(1) In one possible implementation of the manner of determining the second screen-out state corresponding to the motion state, the motion state of the electronic device is a stationary state. In this state, the electronic device determines the black screen state as a corresponding second screen-off state according to the stationary state. It should be noted that the electronic device in the static state may include at least two scenarios.
In one scenario, the electronic device determines that the electronic device is in a stationary state through transient parameters. For example, the electronic device acquires motion parameters at sampling instants. When the motion parameter at the sampling moment indicates that the electronic equipment is in a static state, the electronic equipment determines that the motion state is the static state.
In another scenario, the electronic device determines that the electronic device is in a stationary state through parameters over a period of time. For example, the electronic device acquires samples of motion parameters within a segment. When the motion parameter in the sampling time period indicates that the electronic equipment is in a static state, the electronic equipment determines that the electronic equipment is in the static state when in the motion state. For example, the electronic device may determine a period of a specified duration, such as 1 second, 2 seconds, or 5 seconds, as the sampling period. The electronic device will determine that the motion state of the electronic device is a stationary state by remaining in a stationary state for a specified sampling period.
(2) In another possible implementation of the manner of determining the second screen-out state corresponding to the motion state, the motion state of the electronic device is a walking follow-up state. In this state, the electronic apparatus determines the black screen state as a corresponding second screen-off state according to the walking follow-up state.
In one manner of determining that the motion state is a walking follow-up state, the electronic device may determine whether the electronic device is in a state of moving with the user walking through a preset gait analysis algorithm. That is, the walking follower state is used to indicate that the electronic device is in a state of moving with the user walking.
In one possible gait analysis algorithm, the algorithm has a walking motion model which can be formed by parameters of at least one dimension of vertical direction speed, horizontal direction speed, vertical direction acceleration and horizontal direction acceleration. And when the current motion parameters of the electronic equipment conform to the walking motion model, determining the motion state of the electronic equipment as a walking follow-up state.
For example, when the user carries the electronic device, such as when the user is carrying the electronic device in a pocket or a backpack, or is holding the electronic device in a hand, or is hanging on the body, or is strapped to an arm, the processor or the driving chip in the electronic device can determine whether the electronic device is in the walking follow-up state through the gait analysis algorithm, and when the electronic device is in the walking follow-up state, the electronic device determines the second screen-out state as the black screen state.
Alternatively, the electronic device may determine the second screen-out state based on the light parameter when the motion state is determined to be the walking follow-up state. And when the brightness parameter is not larger than the first brightness threshold, the electronic equipment determines the second screen extinguishing state as a black screen state. And when the light parameter is larger than the first light threshold value, the terminal determines the second screen extinguishing state as the screen extinguishing clock display state. In this scenario, when the electronic device is able to follow the user walking and is in a pocket or a backpack, the black screen state is determined as a second screen-off state; the display state of the screen-off clock can be determined as a second screen-off state when the user walks along with the user and is in a state of being held by the user.
It should be noted that the units of the values of the light parameter and the first light threshold value may be candela, abbreviated as cd.
(3) In yet another possible implementation manner of determining the second screen-off state corresponding to the motion state, the motion state of the electronic device is a wrist-raising follow-up state. In the state, the electronic equipment determines the display state of the screen off clock as a corresponding second screen off state according to the wrist-lifting follow-up state.
Similar to the electronic device judging that the motion state is in the walking follow-up state, when the electronic device judges that the electronic device is in the wrist-lifting follow-up state, the electronic device can determine whether the electronic device is lifted up along with the hand of the user through a preset wrist-lifting motion analysis algorithm.
The possible wrist-lifting motion analysis algorithm is provided with a wrist-lifting motion model, and the wrist-lifting motion model can be formed by parameters of at least one dimension of vertical direction speed, horizontal direction speed, vertical direction acceleration and horizontal direction acceleration. And when the current motion parameters of the electronic equipment conform to the wrist lifting motion model, determining the motion state of the electronic equipment as a wrist lifting follow-up state.
For example, when a user holds the electronic device and picks it up from a pocket, backpack, or table top, the electronic device will lift along with the user's wrist. At the moment, the processor or the driving chip in the electronic equipment can determine whether the electronic equipment is in the wrist-lifting follow-up state or not through the wrist-lifting motion analysis algorithm, and when the electronic equipment is in the wrist-lifting follow-up state, the electronic equipment determines the second screen extinguishing state as the screen extinguishing clock display state.
(4) In another possible implementation manner of determining the second screen-off state corresponding to the motion state, the motion state of the electronic device is a touch state. In the state, the electronic equipment determines the display state of the screen-off clock as a corresponding second screen-off state according to the touch state.
In a manner of determining that the motion state is the touch state, the electronic device may call the corresponding sensor element to implement the motion parameter, and further determine whether the motion state of the electronic device is the touch state. In this embodiment, the electronic device can be implemented in several alternative implementations according to different selected sensor components.
In a possible mode of determining the second screen-off state through the sensor assembly, the electronic device selects a gyroscope as the sensor assembly for acquiring the motion parameter, and when the motion parameter acquired by the gyroscope indicates that the electronic device receives a touch action in a static state, the electronic device determines the display state of the screen-off clock as the corresponding second screen-off state.
In another possible mode of determining the second screen-off state through the sensor component, the electronic device selects the acceleration sensor as the sensor component for acquiring the motion parameter, and when the motion parameter collected by the acceleration sensor indicates that the electronic device receives a touch action in a stationary state, the electronic device determines the display state of the screen-off clock as the corresponding second screen-off state.
Optionally, the electronic device may also acquire the motion parameters by simultaneously using an acceleration sensor and a gyroscope. The acceleration sensor is used as a main acquisition device, and the gyroscope is used as an auxiliary acquisition device. Or, the acceleration sensor is used as an auxiliary acquisition device, and the gyroscope is used as a main acquisition device.
It should be noted that, when the electronic device selects at least one sensor component of the acceleration sensor and the gyroscope to acquire the motion parameter, the electronic device can monitor the actual touch state of the electronic device without a dead angle. Because, when the whole electronic equipment is touched to move in a static state, the speed value and the acceleration value are inevitably generated, and the numerical value can be acquired by at least one sensor component in an acceleration sensor and a gyroscope. Therefore, according to the scheme, when any one part of the outer surface of the electronic equipment is touched, the electronic equipment can be determined to be in the touch state, the sensitivity of determining that the electronic equipment is in the touch state is improved, and the hardware overhead of installing other sensor assemblies on the electronic equipment is saved. It should be noted that the external surfaces of the electronic device include, but are not limited to, the housing, the screen, and the camera.
In yet another possible manner of determining the second screen-out state by the sensor assembly, the electronic device selects a pressure sensor for acquiring the motion parameter. In one possible arrangement of the pressure sensor, the pressure sensor may be in the form of a membrane. A glass cover plate in the screen covers over the pressure sensor in the form of a thin film. In yet another arrangement of the pressure sensor, the pressure sensor may be arranged in a designated area of a middle frame of the electronic device.
The electronic equipment can detect a pressure value through the pressure sensor, the pressure value is used as a motion parameter, and when the pressure value exceeds a specified pressure threshold value, the motion state of the electronic equipment is determined as a touch state.
It should be noted that, in a manner of determining the touch state, the electronic device obtains the screen-off duration of the electronic device entering the first screen-off state. When the screen-off duration is not shorter than the activation determination threshold duration, the electronic device performs the step of determining whether the motion state is the touch state in steps 310, 320, and 330. For example, the duration of the screen-off may be a constant, such as 5 seconds or 10 seconds.
And 340, when the first screen extinguishing state and the second screen extinguishing state are different, adjusting the state of the screen to be the second screen extinguishing state.
In this embodiment, the execution manner of step 340 is the same as the execution manner of step 230, and is not described herein again.
In summary, in this embodiment, when the screen state is the first screen-off state, the motion state information is determined according to the motion parameter of the electronic device, and the corresponding second screen-off state is determined according to the motion state information, when the first screen-off state and the second screen-off state are different, the screen state is adjusted to the second screen-off state, so that the electronic device determines, according to the motion state information of the electronic device, a correct state that the screen should be currently in, that is, the second screen-off state, and when the first screen-off state and the second screen-off state that the electronic device is currently in are different, the screen state of the electronic device is adjusted to the second screen-off state. Therefore, the embodiment can improve the display accuracy of the electronic equipment along with the motion state of the electronic equipment, improve the display efficiency of the screen-off clock and reduce the power consumption of the electronic equipment for displaying the screen-off clock.
Based on the method shown in the foregoing embodiment, an embodiment of the present application further provides a method for controlling a screen turn-off clock, which can implement a manner of determining a corresponding second screen turn-off state according to state information when the state information includes a current system time of an electronic device, please refer to the following embodiments.
Please refer to fig. 4, which is a flowchart illustrating a method for controlling a screen-out clock according to another exemplary embodiment of the present application. The method may be applied in the electronic device shown in fig. 1. In fig. 4, the following steps are included:
In this embodiment, the electronic device may obtain the current system time of the electronic device from the time function. The system time may be stored in a state function, and the storage location and the obtaining manner of the current system time of the electronic device are not limited in this embodiment.
And step 421, when the system time is in the first preset time period, determining that the second screen-off state is a screen-off clock display state.
In the present embodiment, the first preset period is a period in which the screen-off state is designated as a screen-off clock display state in the electronic apparatus.
In one implementation of the first preset period, the first preset period is a period of time having a specified time length and continuing on the time axis.
In another implementation of the first preset period, the first preset period is a plurality of continuous time instants on the time axis, and is a time instant set composed of discrete time instants.
In this embodiment, when the current system time of the electronic device is within a first preset time period, the electronic device determines that the second screen-off state is a screen-off clock display state. That is, the first preset time period may be a preset screen-off clock specified display time period in the electronic device, and when the current system time of the electronic device is in the screen-off clock specified display time period, the electronic device sets the second screen-off state to the screen-off clock display state.
In a possible setting manner of the first preset time period, the first preset time period can be provided for a user to manually set.
In another possible setting manner of the first preset time period, the first preset time period may be set by the electronic device automatically. In an automatic setting scheme, the electronic device sets a first preset contextual period to a first preset period, the first preset contextual period including, but not limited to, a commute early period, a lunch period, a tea-off period, and a commute late period. The electronic device determines a first preset contextual period by sensor data, schedule information disclosed in the electronic device, and/or a work and rest time authorized by the user.
And step 422, when the system is in a second preset time period at the moment, determining that the second screen-off state is a black screen state.
In this embodiment, the second preset period is a period in which the electronic device designates the screen-off state as the black screen state. Similarly to the setting of the first preset time period, the second preset time period may be a time set including a plurality of discrete time points. The second preset period may also be a continuous period of time on the time axis.
In a possible setting manner of the second preset time period, the second preset time period can be provided for a user to set manually.
In another possible setting manner of the second preset time period, the second preset time period may be set by the electronic device automatically. In the automatic setting scheme, the electronic device sets a second preset contextual period to a second preset period, including, but not limited to, an office in the morning period, a lunch break period, an office in the afternoon period, and a rest period at home. The electronic device determines a second preset contextual period by sensor data, schedule information disclosed in the electronic device, and/or a work and rest time authorized by the user for the electronic device.
And step 430, when the first screen extinguishing state and the second screen extinguishing state are different, adjusting the state of the screen to be the second screen extinguishing state.
In this embodiment, the execution manner of step 430 is the same as the execution manner of step 230, and is not described herein again.
In summary, the method for controlling the screen-off clock according to this embodiment can determine the time period of the current system time of the electronic device after obtaining the current system time, and determine that the second screen-off state is the screen-off clock display state when the system time is in the first preset time period; when the system is in a second preset time period, the second screen-off state is determined to be a black screen state, and when the first screen-off state is different from the second screen-off state, the state of the screen of the electronic equipment is adjusted to be the second screen-off state, so that the capability of adapting the screen-off clock to the appointed time period for displaying is improved.
Optionally, in this embodiment, the electronic device can also intelligently determine a first preset scenario period and/or a second preset scenario period of the electronic device, and when the current system time of the electronic device is within the first preset scenario period, it is determined that the second screen-off state is a screen-off clock display state; when the current system time of the electronic equipment is in a second preset scene time period, the second screen-off state is determined to be a black screen state, and when the first screen-off state is different from the second screen-off state, the state of the screen of the electronic equipment is adjusted to be the second screen-off state, so that the electronic equipment can be intelligently kept to be the screen-off clock display state in the time period when a user possibly frequently views the screen-off clock, and kept to be the black screen state in the time period when the user views the screen-off clock with low possibility. On the premise that the function of frequently using the screen-off clock by a user is met with high possibility, energy consumption waste caused by displaying the screen-off clock when the user views the screen-off clock is saved, and display efficiency of the screen-off clock is improved.
In another possible control method of the screen-off clock provided by the present application, the electronic device can determine the first preset time period according to the scheduled trip, so as to implement a function of intelligently displaying the screen-off clock according to the scheduled trip in the electronic device, please refer to the embodiment shown in fig. 5.
Please refer to fig. 5, which is a flowchart of a method for controlling a screen-off clock according to the embodiment of fig. 4, and the method can be applied to the electronic device shown in fig. 1. In fig. 5, the method includes:
In this embodiment, the execution manner of step 510 is the same as the execution manner of step 410, and is not described herein again.
In the present embodiment, the end time of the first preset period is not later than the start time of the reserved trip.
And step 521b, when the system time is in a first preset time period, acquiring a reserved journey in the electronic equipment.
In this embodiment, the reserved itinerary is used to indicate itineraries that are made in the future relative to the system time of day. In one implementation, the reserved itinerary may be an itinerary determined by the electronic device based on itinerary information obtained after authorization. For example, the electronic device obtains the reservation travel from a short message, a taxi-taking application, a ticketing application, a travel application, or a group purchase application, among others. The time period during which the reservation trip occurs is in the future relative to the system time of day. For example, if the system time is time a, the time at which the reservation trip starts is time B, and time B is a future time with respect to time a.
And step 530, when the system time is in a first preset time period, determining that the second screen-off state is a screen-off clock display state.
In the embodiment of the present application, the execution manner of step 530 is the same as the execution manner of step 421, and is not described herein again.
And 540, when the first screen extinguishing state and the second screen extinguishing state are different, adjusting the state of the screen to be the second screen extinguishing state.
In the embodiment of the present application, the execution manner of step 540 is the same as the execution manner of step 230, and is not described herein again.
In the embodiment of the application, for the setting of the first preset time period, the state of the screen is determined as the off-screen clock display state due to the fact that the electronic equipment is in the first preset time period. Therefore, the electronic device needs to continuously display the screen-off clock in the screen-off state within the first preset time period to prompt the user to execute the reservation stroke without delaying the reservation stroke. Therefore, the end time of the first preset time period is set to be not later than the starting time of the reserved travel, the effect of timely reminding the user of the current system time is achieved, the operation that the user frequently and actively operates the electronic equipment to check the time before the starting time of the reserved travel is saved, and the display efficiency of the screen-off clock along with the reserved travel is improved.
In a possible implementation manner, the electronic device may obtain the current geographic location of the electronic device based on the embodiment shown in fig. 5, and regard the geographic location as a part of the status information. In this scenario, the electronic device can execute the following scheme when the system time is in the first preset time period, please refer to fig. 6 for details.
Referring to fig. 6, a flowchart of another method for controlling the screen-out clock according to the embodiment shown in fig. 5 is shown. Fig. 6 may be applied in an electronic device as shown in fig. 1. In fig. 6, the method comprises:
In this embodiment, the execution manner of step 610 is the same as the execution manner of step 410, and is not described herein again.
In this embodiment, the execution manner of step 620 is the same as that of step 521a, and is not described herein again.
In this embodiment, the execution manner of step 630 is the same as that of step 521b, and is not described herein again.
And step 640, determining the current geographic position of the electronic device when the system time is in a first preset time period.
In this embodiment, the electronic device is capable of determining the current geographic location of the electronic device when the system time is within a first preset time period.
In one possible method of determining the geographic location, the electronic device may determine the current geographic location of the electronic device via a navigation satellite system. The Navigation satellite System includes, but is not limited to, at least one of a beidou satellite Navigation Test System (hereinafter, referred to as beidou satellite Navigation Test System), a Global positioning System (hereinafter, referred to as GPS) and a glonass Navigation satellite System (hereinafter, referred to as glonass Navigation satellite System).
In another possible method of determining the geographical location, the electronic device may be located by connection to a surrounding wireless local area network. The connection status is used to indicate information such as signal strength and wlan representation of the electronic device accessing the surrounding wlan. Optionally, the information corresponding to the connection condition may be a wireless local area network fingerprint.
In another possible geographic location determination method, the electronic device may determine the current geographic location of the electronic device through a point selection operation on a map received by the electronic device. For example, the electronic device presents a map application, receives a map selection operation on a user interface, and determines a geographic position corresponding to the map selection operation as a current geographic position of the electronic device.
And step 650, when the current geographical position of the electronic device is the target location corresponding to the reserved travel, determining that the second screen-off state is a screen-off clock display state.
In this embodiment, the destination locations include at least one of parking lots, car stops, bus stations, subway stations, train stations, airports, ports, ferries, movie theatre lounges, stadium auditorium, and theatre lounges
And when the electronic equipment determines that the current geographic position of the electronic equipment is the target location corresponding to the reserved travel, determining that the second screen-off state is a screen-off clock display state. It should be noted that when the booked itineraries are different, the target location may be changed accordingly.
When the reserved trip is a driving trip, the target location may be a parking lot.
When the reserved trip is a taxi trip, the target location may be a car stop.
When the reserved trip is a bus taking trip, the target location may be a bus stop.
When the reserved trip is a trip to take a subway, the target location may be a subway station.
When the reserved trip is a trip by train, the target location may be a train station.
When the reserved itinerary is an airline itinerary, the target location may be an airport.
When the reserved trip is a ship-riding trip, the target location may be a port or a ferry.
When the reserved itinerary is a movie watching itinerary, the destination location may be a movie theater rest area.
When the reservation itinerary is a concert-watching itinerary or a performance-watching itinerary, the target location may be a theater rest area.
When the reserved itinerary is a viewing itinerary, the target location may be a stadium auditorium.
In one embodiment provided by the present application, the electronic device can further include current peripheral side device connection information of the electronic device in the status information. Wherein the peripheral side device connection information is used for indicating the short-distance wireless connection condition between the electronic device and other electronic devices. In this scenario, the electronic device can acquire the current geographic location of the electronic device when the peripheral side device connection information indicates that the electronic device establishes a connection with the automobile. It should be noted that, the connection between the electronic device and the vehicle may refer to the connection between the electronic device and a vehicle-mounted computer fixed in the vehicle through a short-distance wireless connection technology. And when the position of the electronic equipment is in the target place, the electronic equipment determines that the second screen-off state is a screen-off clock display state.
For example, in a scene that a user stops a vehicle to a target place and other users get on the vehicle, the electronic device can continuously display the screen-off clock in the screen-off state, so that the situation that the user frequently starts a mobile phone to check time when waiting for other passengers in the vehicle is avoided, and the display efficiency of the screen-off clock in the scene of the people waiting for the passengers is improved.
And 660, when the first screen extinguishing state and the second screen extinguishing state are different, adjusting the state of the screen to be the second screen extinguishing state.
In this embodiment, the execution procedure of step 660 is the same as the execution procedure of step 230, and is not described herein again.
It should be noted that, in the embodiments of the present application, the methods shown in fig. 2 to 6 can be arbitrarily combined according to actual requirements. For example, the state information may be any one of a current system time, a current geographical position of the electronic device, a current motion parameter of the electronic device, and current peripheral side device connection information of the electronic device, and when the state information includes corresponding specific information, the electronic device may perform a corresponding method operation, which is not limited in this embodiment.
In summary, the method for controlling the screen-off clock provided in this embodiment can determine whether the current location of the electronic device is the target location corresponding to the reserved trip when the electronic device is in the first preset time period in which the screen-off clock needs to be continuously displayed, and when the electronic device is in the target location, it is described that the electronic device needs to continuously display the screen-off clock, so that the user frequently checks the time.
The following are embodiments of the apparatus of the present application that may be used to perform embodiments of the method of the present application. For details which are not disclosed in the embodiments of the apparatus of the present application, reference is made to the embodiments of the method of the present application.
Referring to fig. 7, a block diagram of a control apparatus for a screen-off clock according to an exemplary embodiment of the present application is shown. The control device of the screen-off clock is applied to electronic equipment, the screen state of the electronic equipment comprises a screen-on state and a screen-off state, and the screen-off state comprises a screen-black state and a screen-off clock display state. The control means of the screen-off clock may be implemented as all or part of the electronic device by software, hardware or a combination of both. The device includes:
an obtaining module 710, configured to obtain state information of the electronic device when a state of the screen is a first screen-off state, where the state information is used to indicate a state of the electronic device in time and/or space, and the first screen-off state is the black screen state or the screen-off clock display state;
a determining module 720, configured to determine, according to the state information, a corresponding second screen-off state, where the second screen-off state is the black screen state or the screen-off clock display state;
the adjusting module 730 is configured to adjust the state of the screen to the second screen-off state when the first screen-off state is different from the second screen-off state.
In an optional embodiment, the state information includes a current motion parameter of the electronic device, and the obtaining module 710 is configured to obtain the current motion parameter of the electronic device when the state of the screen is the first screen-off state; determining corresponding motion state information according to the current motion parameters of the electronic equipment, wherein the motion state is a motion state with the specified motion parameters; the determining module 720 is configured to determine the corresponding second screen-off state according to the motion state information.
In an optional embodiment, the state information includes a static state or a walking follow-up state, and the determining module 720 is configured to determine the black screen state as the corresponding second screen-off state according to the static state or the walking follow-up state.
In an optional embodiment, the motion state information includes a wrist-lifting follow-up state or a touch state, and the determining module 720 is configured to determine the display state of the screen-off clock as the corresponding second screen-off state according to the wrist-lifting follow-up state or the touch state.
In an optional embodiment, the state information includes a current system time of the electronic device, and the determining module 720 is configured to determine that the second screen-off state is a screen-off clock display state when the system time is in a first preset time period, where the first preset time period is a time period in the electronic device, in which the screen-off state is designated as the screen-off clock display state; and when the system is in a second preset time period at the moment, determining that the second screen-off state is a black screen state, wherein the second preset time period is a time period in which the screen-off state is designated as the black screen state in the electronic equipment.
In an optional embodiment, the apparatus further comprises an execution module for obtaining a reserved itinerary in the electronic device, the reserved itinerary for indicating an itinerary to be made in the future relative to the system time of day; and determining the first preset time period according to the starting time of the reserved travel, wherein the ending time of the first preset time period is not later than the starting time.
In an optional embodiment, the status information includes a current geographic location of the electronic device, and the determining module 720 is configured to determine the current geographic location of the electronic device when the system time is within a first preset time period; and when the current geographical position of the electronic equipment is the target place corresponding to the reserved travel, determining that the second screen-off state is a screen-off clock display state.
In an optional embodiment, the status information includes current peripheral side device connection information of the electronic device, and the determining module 720 is configured to obtain a current geographic location of the electronic device when the peripheral side device connection information indicates that the electronic device establishes a connection with an automobile; and when the current geographical position of the electronic equipment is in the target place, determining that the second screen-off state is a screen-off clock display state.
In an alternative embodiment, the destination location comprises at least one of a parking lot, a car stop, a bus station, a subway station, a train station, an airport, a port, a ferry, a movie theater rest area, a stadium auditorium, and a theater rest area.
The embodiment of the present application further provides a computer-readable medium, where at least one instruction is stored, and the at least one instruction is loaded and executed by the processor to implement the method for controlling a screen-out clock according to the above embodiments.
It should be noted that: when the control device for the screen off clock provided in the above embodiment executes the control method for the screen off clock, only the division of the above functional modules is taken as an example, and in practical applications, the above function distribution may be completed by different functional modules according to needs, that is, the internal structure of the device is divided into different functional modules, so as to complete all or part of the above described functions. In addition, the control device of the screen-off clock and the control method embodiment of the screen-off clock provided by the above embodiments belong to the same concept, and specific implementation processes thereof are detailed in the method embodiments and are not described herein again.
The above-mentioned serial numbers of the embodiments of the present application are merely for description and do not represent the merits of the embodiments.
It will be understood by those skilled in the art that all or part of the steps for implementing the above embodiments may be implemented by hardware, or may be implemented by a program instructing relevant hardware, where the program may be stored in a computer-readable storage medium, and the above-mentioned storage medium may be a read-only memory, a magnetic disk or an optical disk, etc.
The above description is only exemplary of the implementation of the present application and is not intended to limit the present application, and any modifications, equivalents, improvements, etc. made within the spirit and principle of the present application should be included in the protection scope of the present application.
Claims (9)
1. A method for controlling a screen-off clock is applied to an electronic device, wherein the states of a screen of the electronic device include a screen-on state and a screen-off state, and the screen-off state includes a screen-black state and a screen-off clock display state, and the method comprises the following steps:
when the state of the screen is a first screen-off state, acquiring state information of the electronic equipment through a sensor, wherein the state information comprises current motion parameters of the electronic equipment, the current motion parameters of the electronic equipment are used for determining the current motion state information of the electronic equipment, the first screen-off state is the black screen state or the screen-off clock display state, and the state of the screen is indicated through an identification bit;
if the motion state information comprises a wrist-lifting follow-up state or a touch state, determining the display state of the screen-off clock as a corresponding second screen-off state;
if the motion state information comprises a static state or a walking follow-up state, determining the black screen state as a corresponding second screen turn-off state;
and when the first screen extinguishing state is different from the second screen extinguishing state, adjusting the state of the screen to the second screen extinguishing state.
2. The method of claim 1, wherein the status information comprises a current system time of day of the electronic device, the method further comprising:
when the system is in a first preset time period, determining that the second screen off state is a screen off clock display state, wherein the first preset time period is a time period in which the screen off state is designated as the screen off clock display state in the electronic equipment;
and when the system is in a second preset time period at the moment, determining that the second screen-off state is a black screen state, wherein the second preset time period is a time period in which the screen-off state is designated as the black screen state in the electronic equipment.
3. The method of claim 2, further comprising:
obtaining a reserved itinerary in the electronic device, the reserved itinerary being indicative of itineraries in the future relative to the system time of day;
and determining the first preset time period according to the starting time of the reserved travel, wherein the ending time of the first preset time period is not later than the starting time.
4. The method of claim 3, wherein the status information comprises a current geographical location of the electronic device, and wherein determining that the second off-screen state is an off-screen clock display state when the system time is within a first preset time period comprises:
when the system is in a first preset time period, determining the current geographic position of the electronic equipment;
and when the current geographical position of the electronic equipment is the target place corresponding to the reserved travel, determining that the second screen-off state is a screen-off clock display state.
5. The method of claim 4, wherein the status information further includes current peripheral side device connection information of the electronic device, the method further comprising:
when the connection information of the peripheral side equipment indicates that the electronic equipment is connected with the automobile, acquiring the current geographic position of the electronic equipment;
and when the current geographical position of the electronic equipment is in the target place, determining that the second screen-off state is a screen-off clock display state.
6. The method of claim 4 or 5, wherein the destination location comprises at least one of a parking lot, a car stop, a bus station, a subway station, a train station, an airport, a port, a ferry, a theater rest area, a stadium auditorium, and a theater rest area.
7. The control device of the screen-off clock is applied to electronic equipment, the state of a screen of the electronic equipment comprises a screen-on state and a screen-off state, the screen-off state comprises a screen-black state and a screen-off clock display state, and the device comprises:
an obtaining module, configured to obtain, by a sensor, state information of the electronic device when a state of the screen is a first screen-off state, where the state information includes a current motion parameter of the electronic device, the current motion parameter of the electronic device is used to determine current motion state information of the electronic device, the first screen-off state is the screen-off state or the screen-off clock display state, and the state of the screen is indicated by an identification bit;
the determining module is used for determining the display state of the screen off clock as a corresponding second screen off state under the condition that the motion state information comprises a wrist lifting follow-up state or a touch state; determining the black screen state as a corresponding second screen-off state under the condition that the motion state information comprises a static state or a walking follow-up state;
and the adjusting module is used for adjusting the state of the screen to be the second screen-off state when the first screen-off state is different from the second screen-off state.
8. An electronic device comprising a processor and a memory, the memory having stored therein at least one instruction that is loaded and executed by the processor to implement the method of controlling a screen-out clock according to any of claims 1 to 6.
9. A computer-readable storage medium having stored thereon at least one instruction which is loaded and executed by a processor to implement a method of controlling a screen-out clock according to any one of claims 1 to 6.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811296437.9A CN109407817B (en) | 2018-11-01 | 2018-11-01 | Control method and device of screen-off clock, electronic equipment and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811296437.9A CN109407817B (en) | 2018-11-01 | 2018-11-01 | Control method and device of screen-off clock, electronic equipment and storage medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN109407817A CN109407817A (en) | 2019-03-01 |
CN109407817B true CN109407817B (en) | 2020-08-04 |
Family
ID=65471094
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201811296437.9A Active CN109407817B (en) | 2018-11-01 | 2018-11-01 | Control method and device of screen-off clock, electronic equipment and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109407817B (en) |
Families Citing this family (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110275637B (en) * | 2019-06-24 | 2023-03-24 | Oppo广东移动通信有限公司 | Method and device for calibrating proximity sensor, storage medium and electronic equipment |
CN110989882B (en) * | 2019-11-28 | 2021-04-02 | 维沃移动通信有限公司 | Control method, electronic device and computer readable storage medium |
CN111356217B (en) * | 2020-02-17 | 2023-07-21 | Oppo广东移动通信有限公司 | Terminal control method, device, terminal device and storage medium |
CN112083905A (en) * | 2020-09-16 | 2020-12-15 | 青岛海信移动通信技术股份有限公司 | Electronic equipment and layer drawing method thereof |
CN114449096A (en) * | 2020-10-30 | 2022-05-06 | 华为技术有限公司 | Method and device for adjusting state of breath screen |
CN115866342B (en) * | 2022-11-11 | 2024-11-22 | 深圳创维-Rgb电子有限公司 | Television control method, device, electronic equipment and storage medium |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107608728A (en) * | 2017-09-04 | 2018-01-19 | 维沃移动通信有限公司 | A kind of display control method and mobile terminal |
CN107659986A (en) * | 2017-09-18 | 2018-02-02 | 维沃移动通信有限公司 | A screen-off clock control method and mobile terminal |
CN107835286A (en) * | 2017-10-27 | 2018-03-23 | 维沃移动通信有限公司 | It is a kind of to prevent from misreading the method locked and mobile terminal |
Family Cites Families (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
BR112016003734B1 (en) * | 2014-05-22 | 2021-11-03 | Huawei Technologies Co., Ltd | TIME DISPLAY METHOD AND APPARATUS AND ELECTRONIC DEVICE |
CN106095473A (en) * | 2016-08-24 | 2016-11-09 | 宇龙计算机通信科技(深圳)有限公司 | A kind of time display method and device thereof |
CN106527896B (en) * | 2016-10-31 | 2020-01-07 | 维沃移动通信有限公司 | Information display method and mobile terminal in a screen-off state |
-
2018
- 2018-11-01 CN CN201811296437.9A patent/CN109407817B/en active Active
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107608728A (en) * | 2017-09-04 | 2018-01-19 | 维沃移动通信有限公司 | A kind of display control method and mobile terminal |
CN107659986A (en) * | 2017-09-18 | 2018-02-02 | 维沃移动通信有限公司 | A screen-off clock control method and mobile terminal |
CN107835286A (en) * | 2017-10-27 | 2018-03-23 | 维沃移动通信有限公司 | It is a kind of to prevent from misreading the method locked and mobile terminal |
Also Published As
Publication number | Publication date |
---|---|
CN109407817A (en) | 2019-03-01 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109407817B (en) | Control method and device of screen-off clock, electronic equipment and storage medium | |
CN113722028B (en) | Dynamic card display method and device | |
CN110243386B (en) | Navigation information display method, device, terminal and storage medium | |
WO2020244622A1 (en) | Notification prompt method, terminal and system | |
EP2327270B1 (en) | Orientation based control of mobile device | |
EP2974268B1 (en) | Always-on camera sampling strategies | |
KR20180074373A (en) | Vehicle and Method for controlling thereof | |
US20170038740A1 (en) | Timeline user interface | |
CN109887268B (en) | Vehicle scheduling method, device and storage medium | |
EP4132122A1 (en) | Power optimization method and electronic device | |
WO2018131873A1 (en) | Electronic device and vehicle including same | |
CN105426179A (en) | Application program control method and terminal | |
CN111428937A (en) | User loss prediction method and device, electronic equipment and readable storage medium | |
KR102598270B1 (en) | Method for recognizing of boarding vehicle and electronic device for the same | |
US20240185373A1 (en) | Itinerary information prompting method and electronic device | |
CN113973153B (en) | Display method, graphical interface and related device | |
US11874716B2 (en) | Embedded computing device management | |
CN115038032B (en) | Metro travel detection method and electronic equipment | |
CN114997728B (en) | Vehicle scheduling method, device, equipment and storage medium | |
CN118945815B (en) | Service scene identification method, electronic equipment and storage medium | |
CN111970766B (en) | Information processing method, device and storage medium | |
CN115022448A (en) | Subway trip detection method and electronic equipment | |
CN111343331A (en) | Embedded computing device management | |
CN115361728B (en) | Location service configuration method for user terminal, computer device and storage medium | |
US20240167838A1 (en) | Information processing device, information processing method, and program |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |