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.
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
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...
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