Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Countdown method, device, electronic equipment and storage medium

A countdown and memory technology, applied in the computer field, can solve the problem that the countdown timer depends on the system time and so on

Pending Publication Date: 2022-01-04
北京房江湖科技有限公司
View PDF0 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] The present invention provides a countdown method, device, electronic equipment and storage medium to solve the problem that the countdown timer depends on the system time in the prior art

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Countdown method, device, electronic equipment and storage medium
  • Countdown method, device, electronic equipment and storage medium
  • Countdown method, device, electronic equipment and storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0072] In order to make the purpose, technical solutions and advantages of the present invention clearer, the technical solutions in the present invention will be clearly and completely described below in conjunction with the accompanying drawings in the present invention. Obviously, the described embodiments are part of the embodiments of the present invention , but not all examples. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without creative efforts fall within the protection scope of the present invention.

[0073] The technical solutions provided by various embodiments of the present invention will be described in detail below in conjunction with the accompanying drawings.

[0074] First, the terms and terms mentioned in the embodiments of the present invention are explained.

[0075] Countdown object: an entity that associates the graphical interface with the countdown logic. When the countdow...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention provides a countdown method, a device, electronic equipment and a storage medium. The method comprises the steps: obtaining a countdown object and countdown time, generating a first key value pair based on the countdown object and the countdown time, and displaying the countdown time; creating a corresponding countdown task according to the countdown object, and generating a second key value pair based on the countdown object and the countdown task; and calling a thread pool to obtain the countdown task in a set time period, executing the countdown task according to the first key value pair and the second key value pair, updating countdown time and displaying the countdown time. The countdown object, the countdown time and the key value pair of the countdown object and the countdown task are generated, the thread pool is called to obtain and execute the countdown task in the set time period, the system time does not need to be repeatedly called in the countdown period, the influence of system time change on a countdown timer so as to cause the timing time to be not accurate is solved.

Description

technical field [0001] The present invention relates to the field of computer technology, in particular to a countdown method, device, electronic equipment and storage medium. Background technique [0002] The countdown timer is applied to the Android system to provide precise countdown function on the graphical interface. The existing countdown timers are CountDownTimer provided by Android and Timer&TimerTask provided by Java. Among them, the CountDownTimer is implemented by using the Handler to send messages at regular intervals, which depends on the system time. According to the test results, there will be an error of 0.5 to 1 second every 60 seconds, and the size of the error varies with different mobile phones. Timer also depends on the system time when executing periodic tasks. If the current system time changes, it will affect the execution of Timer, resulting in inaccurate timing and other problems. Contents of the invention [0003] The invention provides a coun...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Applications(China)
IPC IPC(8): G06F9/48G06F9/451
CPCG06F9/4881G06F9/451
Inventor 阎奇
Owner 北京房江湖科技有限公司
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products