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

Task scheduling method and device of smart home operating system and storage medium

An operating system and smart home technology, applied in the field of communications, can solve the problems of high scheduling overhead, time consumption, and operating overhead, and achieve the effect of reducing scheduling overhead and meeting real-time requirements.

Pending Publication Date: 2020-05-12
QINGDAO HAIER TECH
View PDF6 Cites 5 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

For example, the static scheduling algorithm is inefficient for non-periodic task processing, and the execution order cannot be changed during operation, so the flexibility is poor
The dynamic scheduling algorithm does not predict the jobs that will arrive, so the predictability of the dynamic scheduling algorithm is poor, and the running overhead is large, and the dynamic algorithm may cause a task to wander between processors multiple times, thus consuming more time
[0004] Aiming at technical problems such as large scheduling overhead when scheduling tasks in the smart home system in related technologies, no technical solutions have been proposed

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
  • Task scheduling method and device of smart home operating system and storage medium
  • Task scheduling method and device of smart home operating system and storage medium
  • Task scheduling method and device of smart home operating system and storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0040] An embodiment of the present invention provides a task scheduling method for a smart home operating system. figure 1 It is a flow chart of the task scheduling method of the smart home operating system according to the embodiment of the present invention, such as figure 1 shown, including:

[0041] Step S102, using the first scheduler to determine the priority of the task to be executed according to input parameters, wherein the input parameter includes at least one of the following: the importance of the task to be executed, the urgency of the task to be executed, and the State the task cycle of the task to be executed;

[0042] Step S104: Schedule the tasks to be executed in the task queue according to the priorities of the tasks to be executed, wherein, if the priority of the first task and the second task are the same, according to the priority of the first task and the deadline of the second task instructs the second scheduler to schedule the first task and the seco...

Embodiment 2

[0086] According to another embodiment of the present invention, a cooperative control device of a smart home operating system is provided, and the device is used to implement the above-mentioned embodiments and preferred implementation modes, and those that have already been described will not be repeated. As used below, the term "module" may be a combination of software and / or hardware that realizes a predetermined function. Although the devices described in the following embodiments are preferably implemented in software, implementations in hardware, or a combination of software and hardware are also possible and contemplated.

[0087] image 3 It is a structural block diagram of a task scheduling device of a smart home operating system according to an embodiment of the present invention, and the device includes:

[0088] The first determining module 302 is configured to determine the priority of the task to be executed according to the input parameters through the first s...

Embodiment 3

[0100] An embodiment of the present invention also provides a storage medium, the storage medium includes a stored program, wherein the above-mentioned program executes any one of the above-mentioned methods when running.

[0101] Optionally, in this embodiment, the above-mentioned storage medium may be configured to store program codes for performing the following steps:

[0102] S1. Using the first scheduler to determine the priority of the task to be executed according to input parameters, wherein the input parameter includes at least one of the following: the importance of the task to be executed, the urgency of the task to be executed, and the The task period of the task to be executed;

[0103] S2. Schedule the tasks to be executed in the task queue according to the priorities of the tasks to be executed, wherein, in the case that the first task and the second task have the same priority, according to the first task and the second task The deadline of the second task in...

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 task scheduling method and device of a smart home operating system and a storage medium. The method comprises the steps: determining the priority of a to-be-executed task through a first scheduler according to input parameters, wherein the input parameters comprise at least one of the importance degree of the to-be-executed task, the urgency degree of the to-be-executed task and the task period of the to-be-executed task; according to the priorities of the tasks to be executed, scheduling the to-be-executed tasks in the task queue; and under the condition that the priorities of the first task and the second task are the same, instructing the second scheduler to schedule the first task and the second task according to the deadlines of the first task and the second task, wherein the first task is the task with the highest priority in the task queue, and the second task is the currently executed task. By means of the task scheduling method and device, the technical problem that when tasks are scheduled in a smart home system, the scheduling expenditure is large can be solved, the real-time requirement of the system can be better met, and meanwhile the scheduling expenditure of the system is reduced.

Description

technical field [0001] The present invention relates to the communication field, in particular, to a task scheduling method, device, and storage medium for a smart home operating system. Background technique [0002] In the prior art, the smart home operating system mostly adopts an embedded real-time operating system. The task scheduling methods of real-time operating systems are divided into static scheduling algorithms and dynamic scheduling algorithms. The advantage of the static scheduling algorithm is that the running cost is small and the predictability is strong. The dynamic scheduling algorithm only considers the parameters of each job in the currently ready job set to determine the current scheduling sequence, and the dynamic scheduling algorithm is more flexible. [0003] Both static scheduling algorithms and dynamic scheduling algorithms have many disadvantages. For example, the static scheduling algorithm is inefficient for aperiodic task processing, and the ...

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/48G05B15/02
CPCG06F9/4881G05B15/02
Inventor 尹德帅徐志方刘超马成东李莹莹
Owner QINGDAO HAIER TECH
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