Timer calling method, device and equipment and computer readable storage medium

A timer and timing technology, used in computing, energy-saving computing, multi-programming devices, etc., can solve problems such as increased resource consumption and increased equipment power consumption.

Pending Publication Date: 2021-05-18
GOERTEK INC
View PDF6 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] The main purpose of the present invention is to provide a timer calling method, device, equipment and computer-readable storage medium, aiming to solve the problem that the d...

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
  • Timer calling method, device and equipment and computer readable storage medium
  • Timer calling method, device and equipment and computer readable storage medium
  • Timer calling method, device and equipment and computer readable storage medium

Examples

Experimental program
Comparison scheme
Effect test

no. 1 example

[0084] Based on the first embodiment, the second embodiment of the timer calling method of the present invention is proposed, referring to image 3 , in this embodiment, step S30 includes:

[0085] Step S31, taking the timing duration with the smallest duration in the time series as the target timing duration, and applying for a target timer according to the target timing duration, wherein the timing duration of the target timer is consistent with the target timing duration;

[0086] Step S32, when calling the timing duration in the time sequence, use the timing duration currently called in the time sequence as the pending timing duration, and call the target according to the multiple relationship between the pending timing duration and the target timing duration timer.

[0087]In this embodiment, after obtaining the time sequence corresponding to the group timing duration, according to the multiple relationship of each timing duration in the time sequence, determine the timi...

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 discloses a timer calling method, device and equipment, and a computer readable storage medium. The timer calling method comprises the following steps: collecting timing duration corresponding to a timer applied by each task in an embedded real-time operating system; grouping the timing durations in multiple relation in the timing durations into the same time sequence to obtain the time sequence corresponding to the timing durations; and applying for a target timer corresponding to the time sequence according to the time sequence, and calling the target timer when the timing duration in the time sequence is called. According to the method and the device, the situation that each task in the embedded real-time operating system needs to apply for a plurality of timers and the situation that the tasks need to apply for a plurality of timers when the tasks are executed can be avoided, so that the embedded real-time operating system calls fewer timers when the tasks are executed, and then the wakeup frequency of the system is reduced; therefore, the power consumption is reduced and the system performance is improved.

Description

technical field [0001] The invention relates to the technical field of embedded real-time operating systems, in particular to a timer calling method, device, equipment and computer-readable storage medium. Background technique [0002] In the embedded real-time operating system, when performing tasks, timers are often used to perform specified tasks. In fact, different tasks will apply for multiple timers with different durations, and each time the timer is called to calculate the time, the device needs to be woken up for timing. Therefore, when executing a task, due to the large number of timers that need to be called, the device needs to be woken up for timing when the timer is called multiple times, which not only occupies system resources, but also leads to increased power consumption of the device and increased consumption of system resources. [0003] The above content is only used to assist in understanding the technical solution of the present invention, and does no...

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
IPC IPC(8): G06F9/48
CPCG06F9/4825Y02D10/00
Inventor 侯赛
Owner GOERTEK INC
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products