Timing method, device and electronic equipment
A technology of timing device and timer, which is applied in the computer field, can solve the problems of complicated use of timer updating main thread UI, updating UI cannot be executed in sub-threads, etc., and achieves the effect of high usability
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
no. 1 example
[0027] Please refer to figure 2 , figure 2 The flow chart of the timing method provided by the preferred embodiment of the present invention is shown. The timing method includes the following steps:
[0028] In step S101, the timer sub-thread acquires the time difference between the timing start moment and the first moment of the current time.
[0029] In the embodiment of the present invention, the timing start time may be, but not limited to, the time of the current operating system when the timer is first started, for example, the time of the operating system when the timer is first started is "09:00:00", Then the timing start time is "09:00:00".
[0030] In the embodiment of the present invention, the first moment of the current time may be, but not limited to, the moment currently displayed on the display screen 105 of the electronic device 100 after the timer is turned on and set for a period of time. This moment may be provided by the operating system Interface ac...
no. 2 example
[0065] Please refer to Figure 4 , Figure 4 A schematic block diagram of a timing device 200 provided by a preferred embodiment of the present invention is shown. The timer device 200 includes a time difference acquisition module 201 , a timing judgment module 202 , a first execution module 203 , a second execution module 204 and a timing trigger module 205 .
[0066] The time difference acquiring module 201 is configured to acquire the time difference between the timing start moment and the first moment of the current time.
[0067] In the embodiment of the present invention, the time difference acquiring module 201 may be used to execute step S101.
[0068] Timing judging module 202, configured to judge whether the time difference is less than a preset time.
[0069] In the embodiment of the present invention, the timing judging module 202 may be used to execute step S102.
[0070] The first execution module 203 is configured to determine that the timing sub-thread has ...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com