WO2015176278A1 - 显示时间的方法和装置 - Google Patents
显示时间的方法和装置 Download PDFInfo
- Publication number
- WO2015176278A1 WO2015176278A1 PCT/CN2014/078132 CN2014078132W WO2015176278A1 WO 2015176278 A1 WO2015176278 A1 WO 2015176278A1 CN 2014078132 W CN2014078132 W CN 2014078132W WO 2015176278 A1 WO2015176278 A1 WO 2015176278A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- electronic device
- display
- clock
- screen
- current time
- Prior art date
Links
Classifications
-
- G—PHYSICS
- G09—EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
- G09G—ARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
- G09G5/00—Control arrangements or circuits for visual indicators common to cathode-ray tube indicators and other visual indicators
- G09G5/36—Control arrangements or circuits for visual indicators common to cathode-ray tube indicators and other visual indicators characterised by the display of a graphic pattern, e.g. using an all-points-addressable [APA] memory
- G09G5/39—Control of the bit-mapped memory
- G09G5/393—Arrangements for updating the contents of the bit-mapped memory
-
- 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/3206—Monitoring of events, devices or parameters that trigger a change in power modality
- G06F1/3215—Monitoring of peripheral devices
- G06F1/3218—Monitoring of peripheral devices of display devices
-
- G—PHYSICS
- G04—HOROLOGY
- G04G—ELECTRONIC TIME-PIECES
- G04G21/00—Input or output devices integrated in time-pieces
-
- G—PHYSICS
- G04—HOROLOGY
- G04G—ELECTRONIC TIME-PIECES
- G04G9/00—Visual time or date indication means
- G04G9/0005—Transmission of control signals
-
- 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/16—Constructional details or arrangements
- G06F1/1613—Constructional details or arrangements for portable computers
- G06F1/1633—Constructional details or arrangements of portable computers not specific to the type of enclosures covered by groups G06F1/1615 - G06F1/1626
- G06F1/1684—Constructional details or arrangements related to integrated I/O peripherals not covered by groups G06F1/1635 - G06F1/1675
-
- 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
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/017—Gesture based interaction, e.g. based on a set of recognized hand gestures
-
- G—PHYSICS
- G09—EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
- G09G—ARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
- G09G5/00—Control arrangements or circuits for visual indicators common to cathode-ray tube indicators and other visual indicators
- G09G5/36—Control arrangements or circuits for visual indicators common to cathode-ray tube indicators and other visual indicators characterised by the display of a graphic pattern, e.g. using an all-points-addressable [APA] memory
- G09G5/39—Control of the bit-mapped memory
- G09G5/395—Arrangements specially adapted for transferring the contents of the bit-mapped memory to the screen
-
- G—PHYSICS
- G09—EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
- G09G—ARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
- G09G2330/00—Aspects of power supply; Aspects of display protection and defect management
- G09G2330/02—Details of power systems and of start or stop of display operation
- G09G2330/021—Power management, e.g. power saving
-
- G—PHYSICS
- G09—EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
- G09G—ARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
- G09G2360/00—Aspects of the architecture of display systems
- G09G2360/18—Use of a frame buffer in a display terminal, inclusive of the display panel
-
- Y—GENERAL 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
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02D—CLIMATE 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/00—Energy efficient computing, e.g. low power processors, power management or thermal management
-
- Y—GENERAL 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
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02D—CLIMATE 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/00—Reducing energy consumption in communication networks
- Y02D30/50—Reducing energy consumption in communication networks in wire-line communication networks, e.g. low power modes or reduced link rate
Definitions
- the present invention relates to electronic technology, and more particularly to a method and apparatus for displaying time. Background technique
- the principle is that the gravity sensor detects the state of the watch in real time and lights up the screen.
- the system periodically obtains the time value and refreshes the lock screen UI. This way, when you press the power button to light up the screen When, it is generally the latest time value, and there is no problem of time hopping.
- the background periodically acquires the time and updates the lock screen UI, which causes unnecessary power consumption and shortens the standby time. Therefore, it is not suitable for electronic devices such as smart watches that are extremely demanding in power consumption. Summary of the invention
- an embodiment of the present invention provides a method for displaying a time, where the method includes: when an electronic device in a standby state detects that a motion trajectory of the electronic device meets a first condition by using a first sensor, acquiring The current time of the electronic device;
- the clock display UI in the buffer is displayed on the screen of the electronic device.
- the motion trajectory of the electronic device meets the first condition, including:
- the angle at which the electronic device rotates about the first coordinate axis is greater than the rotational vector threshold or within a predetermined range of rotational vector thresholds.
- the screen of the electronic device is lit, specifically including:
- the electronic device When the electronic device detects that the angle change of the tilt of the electronic device satisfies the second condition, the electronic device lights the screen.
- the acquiring the current time of the electronic device includes:
- Reading the current time from a clock chip of the electronic device The current time is obtained through the network.
- the method further includes:
- the clock displays the UI of the user interface, including:
- the standby interface is generated according to the display style of the standby interface by using the current time and the battery power, and the standby interface includes the clock display UI.
- the method before or after the storing the UI display UI to the buffer, the method further includes:
- the electronic device locks a corresponding area in the buffer that stores the clock display UI
- the method further includes:
- the electronic device unlocks a corresponding area of the buffer in which the clock display UI is stored.
- an embodiment of the present invention provides a device for displaying time, where the device includes: a detecting unit, an acquiring unit, a processing unit, and a display unit;
- the detecting unit is configured to detect a motion track of the electronic device by using a first sensor, and trigger the acquiring unit when a motion track of the electronic device meets a first condition;
- the acquiring unit is configured to acquire a current time of the electronic device when triggered by the detecting unit;
- the processing unit is configured to generate a clock display user interface UI by using the current time acquired by the acquiring unit, and store the clock display UI into a buffer;
- the display unit is configured to display the clock display UI in the buffer to a screen of the electronic device when the screen of the electronic device is lit.
- the motion track of the electronic device meets the first condition, including:
- the angle at which the electronic device rotates about the first coordinate axis is greater than the rotational vector threshold or within a predetermined range of rotational vector thresholds.
- the electronic device changes, and when the angle change of the tilt of the electronic device satisfies the second condition, the screen is illuminated.
- the acquiring unit is specifically configured to: read the current time from a clock chip of the electronic device; or acquire the current by using a network time.
- the acquiring unit after acquiring the current time of the electronic device, is further configured to acquire a current battery power of the electronic device and the standby a display style of the interface, where the display style of the standby interface includes a background color and/or a clock style of the clock display UI;
- the display unit is specifically configured to generate a standby interface according to a display style of the standby interface by using the current time and a battery power, and the standby interface includes the clock display UI.
- the processing unit is further configured to store in the buffer before or after the clock display UI is stored in the buffer The clock displays a corresponding area of the UI to be locked;
- the processing unit is further configured to store the clock display UI in the buffer Unlock the corresponding area.
- an embodiment of the present invention provides an electronic device, where the electronic device includes: a first sensor, a central processing unit CPU, a memory, and a display;
- the first sensor is configured to detect a motion track of the electronic device, and when detecting that the motion track of the electronic device meets the first condition, triggering to generate a first interrupt signal, and sending the signal to the CPU;
- the CPU is configured to acquire a current time of the electronic device when the first interrupt signal sent by the first sensor is received, generate a clock display user interface UI by using the current time, and display the clock Displaying a buffer that the UI stores to the memory;
- the CPU is further configured to display the clock display UI in the buffer of the memory to the screen of the display when the screen of the display is illuminated.
- the motion track of the electronic device meets the first condition, including:
- the angle at which the electronic device rotates about the first coordinate axis is greater than the rotational vector threshold or within a predetermined range of rotational vector thresholds.
- the electronic device further includes: a second sensor, configured to detect an angle change of the tilt of the electronic device, when the second sensor detects When the angle change of the tilt of the electronic device satisfies the second condition, triggering to generate a second interrupt signal is sent to the CPU;
- the CPU receives the second interrupt signal sent by the second sensor to illuminate the screen of the display.
- the CPU is specifically configured to: read the current time from a clock chip of the electronic device, or acquire the current time by using a network .
- the CPU is further configured to acquire a current battery power of the electronic device and the standby interface.
- Display style wherein the display style of the standby interface includes a background color and/or a clock style of the clock display UI;
- the CPU is specifically configured to generate a standby interface according to a display style of the standby interface by using the current time and a battery power, where the standby interface includes the clock display UI.
- the CPU is further configured to store the buffer in the buffer before or after the clock display UI is stored in the buffer Description
- the clock displays the corresponding area of the UI to be locked
- the CPU is further configured to unlock a corresponding area in the buffer that stores the clock display UI.
- the electronic device is a smart watch, a smart wristband or a smart wristband.
- the present invention can predict in advance that the user needs to view the time by detecting the motion of the user (corresponding to the motion track of the electronic device), obtain the latest current time before lighting the screen, and display the latest after the screen is lit.
- the current time thus solving the problem that the time displayed by the electronic device when lighting the screen may jump, and reducing the power consumption of the electronic device.
- FIG. 1 is a structural diagram of an electronic device according to an embodiment of the present invention.
- FIG. 2 is a flowchart of a method for displaying time according to Embodiment 1 of the present invention
- FIG. 3 is a flowchart of a method for displaying time according to an embodiment of the present invention
- FIG. 4 is a flowchart of still another method for displaying time according to an embodiment of the present invention
- FIG. A schematic diagram of the device showing the time. detailed description
- the electronic device includes, but is not limited to, a wearable device with a screen such as a smart watch, a smart wristband, a smart wristband, and the operating system (Opera ting System, OS) used by the electronic device.
- OS Operating System
- a wearable device with a screen such as a smart watch, a smart wristband, a smart wristband, and the operating system (Opera ting System, OS) used by the electronic device.
- OS Operating System
- OS Operating System
- FIG. 1 is a structural diagram of an electronic device according to an embodiment of the present invention.
- the electronic device includes a central processing unit (Centra l Proce s ing Uni t, CPU) 101, a system clock 102, a sensor 103, a memory 104, and other peripherals 105.
- System clock 102, sensor 103, memory 104, and other peripherals 105 can both transfer data to and from CPU 101.
- At least one program is stored in the memory 104, and the program includes a processing program of the CPU 101.
- the CPU 101 can execute these programs to perform the corresponding functions.
- the processing program of the CPU 101 may include a plurality of interrupt processing subroutines, which may be regarded as relatively independent modules, for example, a time display optimization module for implementing the present invention, a standby interface display module for displaying a standby interface, and a point for The bright screen module of the bright screen, the power management module for managing the power supply, etc., the software module in the operating system OS, when the CPU needs to perform a certain processing, the corresponding module (interrupt processing subroutine) can be called, for example When the standby interface needs to be displayed, the standby interface display module is called.
- the software modules of the respective OSs are described, and the executors of these software modules are considered to be the CPU 101.
- the sensor 103 is a Micro-Electro-Mechanica Systems (MEMS) sensor.
- MEMS Micro-Electro-Mechanica Systems
- the memory 104 is used to store data of the electronic device system, wherein the memory 104 includes a frame buffer (FB) for buffering data.
- FB frame buffer
- the other peripherals 105 can be a display, which can be a light emitting diode
- the type of display screen is not limited in the present invention.
- the electronic device displays time on the screen of the display.
- the sensor 103 includes a first sensor, the first sensor is configured to detect a motion track of the electronic device, and when detecting that the motion track of the electronic device meets the first condition, triggering to generate a first interrupt signal, and sending the signal to the CPU 101 .
- the runtime display optimization module starts. After the time display optimization module is running, the current time of the electronic device is acquired from the system clock 102, the clock is displayed using the current time to generate a user interface UI, and the clock display UI is stored in a frame buffer of the memory 104.
- the time display optimization module displays the clock display UI in the frame buffer of the memory 104 onto the screen of the display.
- the motion track of the electronic device satisfies the first condition, and may include: the angle that the electronic device detects that the electronic device rotates around the first coordinate axis is greater than the rotation vector threshold.
- the current time refers to the time when the CPU 101 receives the first interrupt signal, which is also the time when the time display optimization module is triggered by the CPU 101.
- the CPU 101 generally stores the clock display UI to the frame buffer so that the stored clock display UI is directly read from the frame buffer when the screen is lit.
- other buffers may also be stored.
- the stored clock display UI is read from the buffer to the frame buffer and then displayed.
- the storage is directly performed to the frame buffer as an example.
- the way the electronic device screen lights up can be manually lit, that is, the screen is triggered by the button, and the screen can be illuminated when the user presses a specific button; or it can be automatically lit, and the electronic device is detected by the sensor. When the motion trajectory meets certain conditions, the screen is triggered to light up.
- the senor 103 may further include a second sensor, the second sensor is configured to detect an angle change of the tilt of the electronic device, and when the second sensor detects that the tilt angle of the electronic device changes to meet the second When the condition (for example: exceeds the preset inclination threshold), the trigger generates a second interrupt signal and sends it to the CPU 101.
- the condition for example: exceeds the preset inclination threshold
- the CPU 101 When receiving the second interrupt signal, the CPU 101 calls an automatic bright screen module in the OS.
- the automatic bright screen module recognizes that the signal is a signal for lighting the screen, the CPU 101 sends a request to the power management module in the OS to request lighting.
- the display On the screen, the display responds to the request and illuminates the screen, ie the screen of the display.
- the CPU 101 when receiving the second interrupt signal, the CPU 101 sends a first asynchronous event to the time display optimization module, and after the time display optimization module stores the clock display UI to the frame buffer, It is recognized whether the first asynchronous event is received, and if so, the CPU is requested to send a request to the power management module in the OS to light up the screen. The process is described in detail.
- FIG. 2 is a flowchart of a time display method according to an embodiment of the present invention. As shown in FIG. 2, the embodiment includes the following steps:
- Step 210 When the electronic device in the standby state detects that the motion track of the electronic device satisfies the first condition, acquire the current time of the electronic device.
- the electronic device detects that the motion trajectory of the electronic device meets the first condition by the first sensor.
- the motion trajectory of the electronic device satisfies the first condition, and may include: the angle at which the electronic device rotates around the first coordinate axis is greater than a rotation vector threshold, for example, 15°.
- a rotation vector threshold for example, 15°.
- the width of the rotation angle can be appropriately increased, for example, set to 20 ° or more.
- the first sensor may be a Rotating Vector Sensor (RV-sensor), and the RV-sens or does not directly correspond to the physical sensor, but requires an acceleration sensor (G_sensor), a direction sensor (0_sensor), The gyro sensor (Gyro-sensor) is calculated by an algorithm, or the first sensor may also be a gyroscope.
- RV_sensor the coordinate system of the RV_sensor is a three-dimensional coordinate, including three coordinate axes of X, Y, and , and a rotation vector threshold around the preset first coordinate axis is set in the RV-sensor in advance
- the preset first coordinate axis may be the Y axis
- the rotation vector width value may be the rotation angle around the Y axis.
- the smart watch is worn on the user's arm, and the Y axis is the arm of the user wearing the smart watch.
- the plane surrounded by the circle of the smart watch is the plane where the X axis and the Z axis are located, and can be rotated by 10 on the wrist. , 15 ° or 20.
- the rotation vector threshold when the RV_sensor detects the motion trajectory of the electronic device, that is, the rotation motion of the wrist worn by the user, and when the rotation angle of the rotation motion is greater than the rotation vector threshold, the first sensor generates an interruption signal, The interrupt signal wakes up the CPU in a preset manner, causing the CPU to start working, and the CPU starts to work by calling the time display optimization module.
- the interrupt signal wakes up the CPU in a preset manner.
- the preset method can be connected through a hardware pin to generate a high level signal, such as "1", to trigger the CPU to start working.
- the CPU starts to run the interrupt processing subroutine, wherein different interrupt signals correspond to different interrupt processing subroutines, where the CPU can generate a work instruction according to the interrupt signal sent by the first sensor, the work instruction.
- the triggered interrupt handling subroutine is named the time display optimization module.
- the motion trajectory satisfying the first condition can also be preset to other actions, for example, swaying around the first coordinate axis, etc., where the first coordinate axis is also the straight line where the user wears the wrist of the smart watch.
- the rotation action may not be for the watch.
- the rotation action is only a small angle swing, and the CPU is also triggered, and the power consumption is increased. Therefore, the appropriate rotation vector threshold can be selected to shield a large number of small actions, such as The rotation vector threshold can be set to 15. -20.
- the first sensor can generate an interrupt signal when the rotation angle is greater than the corresponding rotation vector threshold between 15 ° and -20 °.
- the first sensor of the electronic device detects that the motion trajectory of the electronic device meets the first condition, and may include: the electronic device detected by the first sensor of the electronic device rotates around the first coordinate axis The angle is within a predetermined range of rotation vector widths, for example, the rotation vector has a range of 15 ° -20 °.
- the current time can be obtained from the hardware chip.
- the time display optimization module acquires the current time from the clock chip of the system clock, and can also obtain the current time through software, for example, obtaining the current time from the network. Or obtain the current time through the Application Interface (API).
- the time display optimization module may be the time when the calling API obtains the current time, and the current time value is the year, month, day, hour, minute, and second information, and the obtained year, month, day, hour, minute, The second is displayed on the clock display user interface (User Interface, UI).
- the time display optimization module reads the current time from the clock chip, the clock chip has random acces s memory (RAM), the current time is stored in the RAM, and the time display optimization module reads the current current in the RAM. time.
- RAM random acces s memory
- Step 220 Generate a clock display user interface UI by using the current time, and store the clock display UI into a frame buffer.
- a clock display UI is generated in accordance with the clock display style of the electronic device.
- the method further includes: a time display optimization module acquiring a current battery power of the electronic device and a display style of the standby interface.
- the display style of the standby interface includes a background color and/or a clock pattern of the clock display UI.
- other display styles may also be included in the standby interface, which can also be obtained and displayed.
- the displaying the user interface UI by using the current time to generate the clock includes: the time display optimization module uses the current time and the battery power to call the standby interface display module, and generates a standby interface according to the display style of the standby interface,
- the clock display UI is included in the standby interface.
- the time display optimization module stores the clock display UI in the frame buffer FB.
- the time display optimization module may store the corresponding area of the UI data of the clock display UI in the frame buffer (the address segment in the frame buffer) Locking (lock), for example, the time display optimization module uses the memory lock mechanism provided by the 0S, that is, obtains the memory lock of the memory segment where the clock displays the UI, so that other processes have no
- the method accesses the memory segment to lock the clock display UI.
- the FB can be located in the graphics memory of the graphics processor (Graphic Proces s ing Uni t, GPU) or in the memory of the OS. When the FB exists in the memory of the OS, the FB can be provided by sharing the memory.
- the specific locking time may be before storage or after storage. For locking before storage, it means that the corresponding area of the UI data for storing the clock display UI has been obtained, and the corresponding The zone is locked to ensure that only the previously locked process can access this zone i or later (before unlocking).
- Step 230 When the screen of the electronic device is lit, display the clock display UI in the frame buffer to the screen of the electronic device.
- the screen lighting of the electronic device may be automatically performed after the motion track of the electronic device satisfies the first condition, the current time is acquired, the clock display UI is generated, and the clock display UI is stored.
- the second sensor detects that the angle change of the inclination of the electronic device satisfies the second condition.
- the electronic device is a smart watch worn on the user's arm
- the action of turning the wrist to watch the watch is actually decomposed into two actions, one is that the first sensor detects that the user has rotated the wrist more than 10°.
- the time is triggered to obtain the current time, and the other is to trigger the lighting screen when the user rotates the wrist more than 30° through the second sensor. Since the two actions are usually completed continuously, the time difference between the two is very short, the time and storage of the display The error between the times is small and does not affect the accuracy of the time display.
- the screen of the electronic device is lit, which may include the following two implementations:
- the electronic device illuminates the screen when the electronic device detects that the change in the tilt of the electronic device meets the second condition (e.g., exceeds a preset tilt threshold) by the second sensor of the electronic device.
- the second condition e.g., exceeds a preset tilt threshold
- the second sensor detects an angle between a screen of the electronic device and a direction of gravity acceleration, wherein the second sensor may be a gravity sensor (G_sensor),
- the inclination value of the inclination is set in the G-sensor
- the inclination angle may be an angle between the screen of the electronic device and the direction of the acceleration of gravity.
- the automatic bright screen module When the automatic bright screen module recognizes that the signal is a signal for lighting the screen, it sends a request to the power management module to request to light the screen, and the power management module turns on the display.
- the power supply, the screen of the display is illuminated, and the time display optimization module displays the clock display UI in the FB to the screen. If the corresponding area of the clock display UI in the FB is locked before or after storing the clock display UI to the frame buffer, then after the clock display UI in the FB is displayed on the screen, This includes unlocking the corresponding area of the clock display UI in the FB so that the area can store new data. If the timeout is encountered while waiting for the screen to light up, that is, after the clock display UI is stored in the frame buffer for locking, when the timeout does not detect that the screen is lit, the electronic device re-enters the sleep state, at this time,
- the CPU also needs to unlock the corresponding area of the clock display UI in the FB so that the area can store new data.
- FIG. 3 is a flowchart of processing a time display method of a smart watch according to an embodiment of the present invention. As shown in FIG. 3, the method includes the following steps:
- Step 301 The smart watch is in the standby state, and the screen is black.
- Step 302 When the first sensor detects that the rotating motion of the arm meets the first condition, generating a first interrupt signal.
- the first sensor is a rotation vector sensor.
- the smart watch is worn on the user's arm, and when the user's arm rotates, the rotation of the smart watch is detected.
- the rotation action satisfies the first condition, for example, the rotation angle exceeds 15°, the trigger generates the first interruption signal.
- Step 303 The first interrupt signal is sent to the CPU, which wakes up the sleeping CPU, and triggers the clock display module to start working.
- the clock display module is an interrupt service subroutine in the OS.
- Step 304 The clock display module acquires the current time of the system, and displays the sample according to the current clock. Generate a clock display UI.
- Step 305 The clock display module caches the clock display UI into a frame buffer of the smart watch.
- Step 306 Wait for the screen to light up. If the screen is not detected after the timeout, the process is abandoned and the sleep state is re-entered.
- Step 307 The second sensor detects the state of the watch. If it is found that the angle of the dial tilt changes by more than a certain angle, a second interrupt signal is generated and sent to the CPU to illuminate the screen.
- the second sensor is a gravity sensor.
- Step 308 The CPU triggers an automatic bright screen module to illuminate the screen.
- Step 309 The clock display module detects that the screen is lit, and displays the clock buffered in the frame buffer.
- the UI is drawn to the display.
- Step 310 Enter a subsequent normal processing flow.
- the electronic device detects, by the second sensor of the electronic device, whether the change in the tilt of the electronic device exceeds a preset tilt threshold, and if so, generates an asynchronous event, referred to as a first asynchronous event.
- the time display optimization module confirms whether the first asynchronous event is received after the clock display UI is stored in the frame buffer, and if so, requests to light the screen.
- the second sensor detects an angle between the screen of the electronic device and the direction of gravity acceleration, and when the second sensor detects that the angle between the screen of the electronic device and the gravity acceleration is greater than the inclination angle, the gravity sensor generates a specific electricity.
- the signal is sent to the CPU, and the CPU sends a first asynchronous event to the time display optimization module.
- the time display optimization module stores the UI data corresponding to the clock display UI to the FB, and locks the UI data, and locks the UI data here.
- the method is the same as above.
- the time display optimization module confirms that when the first asynchronous event is received, sends a request to the power management module to request to light up the screen.
- the time display optimization module displays the clock display UI in the FB to the screen. If before storing the clock display UI to the frame buffer or After that, the corresponding area of the clock display UI in the FB is locked. Then, after the clock display UI in the FB is displayed on the screen, the corresponding area of the clock display UI in the FB is also unlocked, so that This area is capable of storing new data.
- the electronic device If the timeout is encountered while waiting for the screen to light up, that is, after the clock display UI is stored in the frame buffer for locking, when the timeout does not detect that the screen is lit, the electronic device re-enters the sleep state, at this time, The CPU also needs to unlock the corresponding area of the clock display UI in the FB so that the area can store new data.
- FIG. 4 is a flowchart of still another time display method according to an embodiment of the present invention. As shown in FIG. 4, the method includes the following steps:
- Step 401 The smart watch is in the standby state, and the screen is black.
- Step 402 When the first sensor detects that the rotation motion of the arm meets the first condition, generating a first interrupt signal.
- Step 403 The first interrupt signal is sent to the CPU, and the CPU in hibernation is woken up, and the CPU calls the clock display module to start working.
- Step 404 The clock display module acquires a current time of the system, and generates a clock display UI according to the current clock display mode.
- Step 405 The second sensor detects the state of the watch. If it is found that the angle of the dial tilt changes by more than a certain angle, a second interrupt signal is generated and sent to the CPU, and the CPU calls the clock display optimization module.
- Step 406 The clock display module caches the clock display UI into a frame buffer of the smart watch.
- Step 407 The clock display module confirms that the request is lit, otherwise the process is abandoned after the timeout, and the sleep state is re-entered.
- Step 408 When the clock display module detects that the screen is lit, the clock display UI buffered in the frame buffer is drawn to the display.
- Step 409 Enter a subsequent normal processing flow.
- the difference between the above two methods is that the way to light the screen is different.
- the first sensor and the second sensor may be packaged together by MEMS technology to form a MEMS sensor.
- the time display optimization module, the automatic bright screen module and the power management module can be integrated in the OS in the form of software modules, and stored in the memory, when executed by the CPU, perform corresponding functions, or can be integrated in hardware coding.
- the coprocessor can be either the Sensor Hub coprocessor or the sensor center. When the coprocessor is a Sensor Hub coprocessor, it can acquire, integrate, and process data from different sensors, moving tasks that acquire, integrate, and process data from different sensors away from the main application processor, saving power and Improve performance.
- the action of lifting the arm to watch the watch during walking is generally about 500 ms (from the beginning of the arm to the standstill);
- the arm is placed on the table, just a simple rotation of the watch to watch the watch, usually about 300ms (wrist rotation process); and the MEMS sensor sample rate can generally reach several kilohertz, the gyroscope sample rate can generally reach 8KHz, that is, the interval between the gyroscopes is 0. 125ms, obviously the MEMS sensor or gyroscope can accurately recognize the user's wrist rotation (ie, watch action).
- the wrist rotation angle is 30 ° -90 °, and 30 ° is the lowest value of the tilt angle of the screen when the screen is lit. Because the screen tilt angle is too small, the screen is not bright.
- the interrupt signal has been sent.
- the clock displays the UI and stores UI data corresponding to the clock display UI to the FB.
- the method for displaying time is also applicable to an electronic device (such as a mobile phone) that is illuminated by a button. Compared with the smart watch, only the way of lighting the screen is different.
- the motion track is detected to satisfy the first condition, the current time is acquired and the time display UI is stored in the buffer, when the user lights up through the button.
- the time in the display buffer shows the UI.
- the method for displaying time provided by the embodiment of the present invention solves the problem that the time displayed by the electronic device when the device is illuminated, and the power consumption of the electronic device is reduced.
- FIG. 5 is a schematic diagram of a device for displaying time according to Embodiment 2 of the present invention.
- the apparatus for displaying time in this embodiment includes: a detecting unit 510, an obtaining unit 520, a processing unit 530, and a display unit 540.
- the detecting unit 510 is configured to detect a motion trajectory of the electronic device, and trigger the acquiring unit 520 when the motion trajectory of the electronic device satisfies the first condition.
- the motion trajectory of the electronic device satisfies the first condition, and specifically includes: the angle of the electronic device detected by the first sensor of the electronic device rotating around the first coordinate axis is greater than a rotation vector threshold or is wider at a predetermined rotation vector Within the range of values.
- the acquiring unit 520 is configured to acquire the current time of the electronic device when triggered by the detecting unit 510.
- the obtaining unit 520 is specifically configured to read the current time from the clock chip of the electronic device, or obtain the current time from the network through the application program interface API.
- the processing unit 530 is configured to generate a clock display user interface UI by using the current time acquired by the obtaining unit 520, and store the clock display UI to a frame buffer.
- the display unit 540 is configured to display the clock display UI in the frame buffer to the screen of the electronic device when the screen of the electronic device is lit.
- the screen of the electronic device is lit, and specifically includes:
- the second sensor of the electronic device detects whether the angle change of the tilt of the electronic device exceeds a preset tilt threshold, and if so, lights the screen.
- the second sensor of the electronic device detects whether the angle change of the tilt of the electronic device exceeds a preset tilt threshold, and if so, generates an asynchronous event, referred to as a first asynchronous event.
- the processing unit 530 after storing the clock display UI to the frame buffer, confirms whether the first asynchronous event is received, and if so, lights up the screen.
- the acquiring unit 520 is further configured to obtain a current battery power of the electronic device and a display style of the standby interface.
- the display style of the standby interface includes a background color and/or a clock pattern of the clock display UI.
- the display unit 540 is specifically configured to invoke the standby interface display module by using the current time and the battery power, and generate a standby interface according to the display style of the standby interface.
- the clock display UI is included in the standby interface.
- the processing unit 530 is further configured to lock a corresponding area of the frame buffer in which the clock display UI is stored before or after storing the clock display UI to the frame buffer.
- the processing unit 530 is further configured to store the corresponding of the clock display UI in the buffer. The area is unlocked.
- the functions of the above units may correspond to the processing steps of the above-described time display method described in detail in FIG. 2, and details are not described herein again.
- the device for displaying time provided by the embodiment of the present invention solves the problem that the time displayed by the electronic device when the screen is illuminated, and the power consumption of the electronic device is reduced.
- RAM random access memory
- ROM read only memory
- electrically programmable ROM electrically erasable programmable ROM
- registers hard disk, removable disk, CD-ROM, or any other form of storage known in the art. In the medium.
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- Computer Hardware Design (AREA)
- Human Computer Interaction (AREA)
- Electric Clocks (AREA)
- User Interface Of Digital Computer (AREA)
Abstract
Description
Claims
Priority Applications (5)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
PCT/CN2014/078132 WO2015176278A1 (zh) | 2014-05-22 | 2014-05-22 | 显示时间的方法和装置 |
EP14892463.2A EP2996019B1 (en) | 2014-05-22 | 2014-05-22 | Time display method and apparatus |
BR112016003734-0A BR112016003734B1 (pt) | 2014-05-22 | 2014-05-22 | Método e aparelho de exibição de tempo e dispositivo eletrônico |
CN201480002368.XA CN104798029B (zh) | 2014-05-22 | 2014-05-22 | 显示时间的方法和装置 |
US14/971,102 US9966047B2 (en) | 2014-05-22 | 2015-12-16 | Time display method and apparatus |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
PCT/CN2014/078132 WO2015176278A1 (zh) | 2014-05-22 | 2014-05-22 | 显示时间的方法和装置 |
Related Child Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
US14/971,102 Continuation US9966047B2 (en) | 2014-05-22 | 2015-12-16 | Time display method and apparatus |
Publications (1)
Publication Number | Publication Date |
---|---|
WO2015176278A1 true WO2015176278A1 (zh) | 2015-11-26 |
Family
ID=53561519
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/CN2014/078132 WO2015176278A1 (zh) | 2014-05-22 | 2014-05-22 | 显示时间的方法和装置 |
Country Status (5)
Country | Link |
---|---|
US (1) | US9966047B2 (zh) |
EP (1) | EP2996019B1 (zh) |
CN (1) | CN104798029B (zh) |
BR (1) | BR112016003734B1 (zh) |
WO (1) | WO2015176278A1 (zh) |
Families Citing this family (15)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105049635A (zh) * | 2015-08-21 | 2015-11-11 | 上海众人网络安全技术有限公司 | 移动终端及其功能触发方法以及商品地址快速获取系统 |
JP2017102429A (ja) * | 2015-11-19 | 2017-06-08 | パナソニック インテレクチュアル プロパティ コーポレーション オブ アメリカPanasonic Intellectual Property Corporation of America | ウェアラブル端末および制御方法 |
US10108462B2 (en) * | 2016-02-12 | 2018-10-23 | Microsoft Technology Licensing, Llc | Virtualizing sensors |
US10048837B2 (en) * | 2016-02-16 | 2018-08-14 | Google Llc | Target selection on a small form factor display |
CN106054581A (zh) * | 2016-07-28 | 2016-10-26 | 努比亚技术有限公司 | 一种智能手表屏幕的控制方法和智能手表 |
KR102473790B1 (ko) * | 2016-08-30 | 2022-12-05 | 삼성전자 주식회사 | 저전력 상태에서 시간 정보 제공 방법 및 이 방법을 포함하는 전자 장치 |
CN107908353B (zh) * | 2016-09-30 | 2020-12-18 | 禾瑞亚科技股份有限公司 | 电子系统、触控处理装置与其方法 |
CN106354272A (zh) * | 2016-11-29 | 2017-01-25 | 广东小天才科技有限公司 | 一种智能可穿戴设备的解锁方法及系统 |
CN107317929A (zh) * | 2017-06-26 | 2017-11-03 | 上海与德科技有限公司 | 一种时间显示的方法及装置 |
CN109270857B (zh) * | 2017-07-18 | 2020-10-20 | 比亚迪股份有限公司 | 车辆、车载显示屏的控制装置和方法 |
CN107577410A (zh) * | 2017-09-01 | 2018-01-12 | 歌尔科技有限公司 | 穿戴设备显示屏的点亮方法及装置 |
CN108427578B (zh) * | 2018-02-08 | 2021-06-04 | 上海惠芽信息技术有限公司 | 一种屏幕控制方法、计算机可读存储介质及一种智能终端 |
CN109407817B (zh) * | 2018-11-01 | 2020-08-04 | Oppo(重庆)智能科技有限公司 | 熄屏时钟的控制方法、装置、电子设备及存储介质 |
CN109744589A (zh) * | 2019-03-12 | 2019-05-14 | 深圳哈卡科技有限公司 | 电子烟及电子烟电量显示方法 |
CN109947448B (zh) * | 2019-03-15 | 2023-06-27 | 努比亚技术有限公司 | 一种时间更新方法、设备及计算机可读存储介质 |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102508594A (zh) * | 2011-09-30 | 2012-06-20 | 宇龙计算机通信科技(深圳)有限公司 | 终端和待机界面显示方法 |
CN103399811A (zh) * | 2013-08-14 | 2013-11-20 | 联宝(合肥)电子科技有限公司 | 当前时间日期和电池电量快速显示方法和系统 |
US20140028539A1 (en) * | 2012-07-29 | 2014-01-30 | Adam E. Newham | Anatomical gestures detection system using radio signals |
CN103793075A (zh) * | 2014-02-14 | 2014-05-14 | 北京君正集成电路股份有限公司 | 一种应用在智能手表上的识别方法及智能手表 |
Family Cites Families (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP4848732B2 (ja) * | 2005-10-17 | 2011-12-28 | 株式会社日立製作所 | 端末装置 |
WO2007144878A2 (en) * | 2006-06-12 | 2007-12-21 | Cellogic Ltd. | Mobile phone system and method |
KR101604696B1 (ko) * | 2009-08-12 | 2016-03-18 | 엘지전자 주식회사 | 이동 단말기 및 이것의 전원 제어 방법 |
CN102739847A (zh) * | 2011-04-14 | 2012-10-17 | 富泰华工业(深圳)有限公司 | 电子设备及其解锁方法 |
CN102244699A (zh) | 2011-07-29 | 2011-11-16 | 惠州Tcl移动通信有限公司 | 一种用加速度传感器解锁手机屏幕的方法及手机 |
BR112014007398B1 (pt) * | 2011-09-28 | 2022-04-05 | Hewlett-Packard Development Company, L.P | Método realizado por um dispositivo eletrônico e dispositivo eletrônico |
KR101899812B1 (ko) * | 2012-05-14 | 2018-09-20 | 엘지전자 주식회사 | 포터블 디바이스 및 그 제어 방법 |
US9367098B2 (en) * | 2013-02-08 | 2016-06-14 | Htc Corporation | Power saving method for handheld mobile electronic device and device using the same |
CN103472913B (zh) * | 2013-08-26 | 2016-10-05 | 沈阳东软熙康医疗系统有限公司 | 一种腕表屏幕激活方法及装置 |
-
2014
- 2014-05-22 BR BR112016003734-0A patent/BR112016003734B1/pt active IP Right Grant
- 2014-05-22 EP EP14892463.2A patent/EP2996019B1/en active Active
- 2014-05-22 CN CN201480002368.XA patent/CN104798029B/zh active Active
- 2014-05-22 WO PCT/CN2014/078132 patent/WO2015176278A1/zh active Application Filing
-
2015
- 2015-12-16 US US14/971,102 patent/US9966047B2/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102508594A (zh) * | 2011-09-30 | 2012-06-20 | 宇龙计算机通信科技(深圳)有限公司 | 终端和待机界面显示方法 |
US20140028539A1 (en) * | 2012-07-29 | 2014-01-30 | Adam E. Newham | Anatomical gestures detection system using radio signals |
CN103399811A (zh) * | 2013-08-14 | 2013-11-20 | 联宝(合肥)电子科技有限公司 | 当前时间日期和电池电量快速显示方法和系统 |
CN103793075A (zh) * | 2014-02-14 | 2014-05-14 | 北京君正集成电路股份有限公司 | 一种应用在智能手表上的识别方法及智能手表 |
Non-Patent Citations (1)
Title |
---|
See also references of EP2996019A4 * |
Also Published As
Publication number | Publication date |
---|---|
CN104798029A (zh) | 2015-07-22 |
BR112016003734A2 (pt) | 2018-05-15 |
CN104798029B (zh) | 2019-02-12 |
EP2996019A4 (en) | 2016-08-03 |
US20160104461A1 (en) | 2016-04-14 |
EP2996019B1 (en) | 2019-02-27 |
US9966047B2 (en) | 2018-05-08 |
BR112016003734B1 (pt) | 2021-11-03 |
EP2996019A1 (en) | 2016-03-16 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
WO2015176278A1 (zh) | 显示时间的方法和装置 | |
US11079261B2 (en) | System on a chip with always-on processor | |
US10915160B2 (en) | System on a chip with fast wake from sleep | |
US10261894B2 (en) | System on a chip with always-on processor which reconfigures SOC and supports memory-only communication mode | |
CN106233249B (zh) | 用于管理睡眠模式的处理器的图形缓冲区的装备和方法 | |
JP6784204B2 (ja) | 情報処理装置、情報処理方法及びプログラム | |
US9885734B2 (en) | Method of motion processing and related mobile device and microcontroller unit | |
US20150362980A1 (en) | Always-On Processor as a Coprocessor | |
CN108563387A (zh) | 显示控制方法和装置、终端、计算机可读存储介质 | |
CN106547204A (zh) | 一种智能手表及其亮显屏幕的方法 | |
US10175716B2 (en) | Technologies for low-power and high-accuracy timestamps | |
US20160274738A1 (en) | Display method using virtual widget and associated device | |
JPWO2018020792A1 (ja) | 情報処理装置、情報処理方法及びプログラム | |
CN114647294A (zh) | 功耗调节方法和装置、电子设备、可读存储介质 |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
WWE | Wipo information: entry into national phase |
Ref document number: 2014892463 Country of ref document: EP |
|
121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 14892463 Country of ref document: EP Kind code of ref document: A1 |
|
NENP | Non-entry into the national phase |
Ref country code: DE |
|
REG | Reference to national code |
Ref country code: BR Ref legal event code: B01A Ref document number: 112016003734 Country of ref document: BR |
|
ENP | Entry into the national phase |
Ref document number: 112016003734 Country of ref document: BR Kind code of ref document: A2 Effective date: 20160222 |