CN106900041B - Energy-saving method and device for nodes of Internet of things - Google Patents
Energy-saving method and device for nodes of Internet of things Download PDFInfo
- Publication number
- CN106900041B CN106900041B CN201710122678.0A CN201710122678A CN106900041B CN 106900041 B CN106900041 B CN 106900041B CN 201710122678 A CN201710122678 A CN 201710122678A CN 106900041 B CN106900041 B CN 106900041B
- Authority
- CN
- China
- Prior art keywords
- task
- internet
- things
- instant
- processing
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W52/00—Power management, e.g. Transmission Power Control [TPC] or power classes
- H04W52/02—Power saving arrangements
- H04W52/0209—Power saving arrangements in terminal devices
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L12/00—Data switching networks
- H04L12/02—Details
- H04L12/12—Arrangements for remote connection or disconnection of substations or of equipment thereof
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02D—CLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
- Y02D30/00—Reducing energy consumption in communication networks
- Y02D30/50—Reducing energy consumption in communication networks in wire-line communication networks, e.g. low power modes or reduced link rate
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02D—CLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
- Y02D30/00—Reducing energy consumption in communication networks
- Y02D30/70—Reducing energy consumption in communication networks in wireless communication networks
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Power Sources (AREA)
- Telephonic Communication Services (AREA)
- Mobile Radio Communication Systems (AREA)
Abstract
The invention provides an energy-saving method and device for nodes of the Internet of things, wherein the energy-saving method for the nodes of the Internet of things comprises the following steps: s1, the node of the Internet of things starts to process the instant task; s2, the node of the Internet of things judges the load state of the microprocessing unit when processing the instant task; s3 the node of Internet of things judges whether to process non-instant tasks except the instant tasks according to the judgment result of the step S2; and S4 the node of the Internet of things simultaneously processes a plurality of tasks according to the judgment result of the step S3, so that the energy conservation of the node of the Internet of things is realized. After the Internet of things node starts to process the instant task, whether the non-instant task can be processed simultaneously or not is immediately judged under the load state, and if the non-instant task and the instant task can be processed simultaneously, the non-instant task and the instant task are processed simultaneously, so that the non-instant task is processed simultaneously in the process of processing the instant task, and the power consumption of the Internet of things node is saved.
Description
Technical Field
The invention relates to the technical field of Internet of things, in particular to an energy-saving method and device for nodes of the Internet of things.
Background
The concept of internet of things is rapidly developed after the development of computers and internet communication networks, and is recognized as a big wave of world information industry, and the concept of internet of things together with media internet, service internet and enterprise internet forms future internet, and any object or process needing monitoring, connection and interaction is collected in real time through various information sensing devices, such as sensors, Radio Frequency Identification (RFID), global positioning system, infrared sensor, laser scanner, gas sensor and other various devices and technologies, and various required information such as sound, light, heat, electricity, mechanics, biology, position and the like is collected, and a huge network is formed by combining with the internet, so that the connection between objects, objects and people is realized, and the identification, management and control are convenient.
Generally, when an internet of things node receives a wirelessly transmitted message, a Micro-controller Unit (MCU) in the node is always in a working state; in addition, when the micro control unit in the node processes the local task, the micro control unit is also in the working state all the time and in the full power running state, which undoubtedly consumes a large amount of electric energy.
Disclosure of Invention
Aiming at the problems, the invention provides an energy-saving method and device for nodes of the Internet of things, which effectively solve the technical problem of overlarge power consumption of the nodes of the Internet of things.
The technical scheme provided by the invention is as follows:
an energy-saving method for nodes of the Internet of things comprises a plurality of tasks to be processed, wherein the tasks to be processed comprise instant tasks and non-instant tasks, and the energy-saving method for the nodes of the Internet of things comprises the following steps:
s1, the node of the Internet of things starts to process the instant task;
s2, the node of the Internet of things judges the load state of the microprocessing unit when processing the instant task;
s3 the node of Internet of things judges whether to process the non-instant task except the instant task according to the judgment result of the step S2;
and S4 the node of the Internet of things simultaneously processes a plurality of tasks according to the judgment result of the step S3, so that the energy conservation of the node of the Internet of things is realized.
In the technical scheme, after the node of the internet of things starts to process the instant task, whether the non-instant task can be processed simultaneously under the load state is immediately judged, and if the instant task and the non-instant task can be processed simultaneously, the non-instant task is processed simultaneously, so that the non-instant task is processed simultaneously in the process of processing the instant task, and the power consumption of the node of the internet of things is saved.
Further preferably, in step S2, if the load status of the micro processing unit is less than the preset load threshold when the internet of things node processes the instant task, the method proceeds to step S3;
in step S3, the internet of things node determines the load status of the micro processing unit when processing the non-immediate tasks except the immediate task, selects at least one non-immediate task whose load status is less than the preset load threshold when processing the immediate task at the same time, and proceeds to step S4.
In the technical scheme, as long as the micro-processing unit in the node of the Internet of things can be loaded, a plurality of non-instant tasks are processed simultaneously in the process of processing the instant tasks, so that the electric quantity is saved to the maximum extent, and the efficiency of the node of the Internet of things on the tasks to be processed is improved.
Further preferably, in step S2, the internet of things node determines the time length for processing the instant task and the load state of the micro processing unit in the internet of things node when processing the instant task.
Further preferably, in step S2, if the time length for processing the instant task by the internet of things node is greater than the preset time threshold and the load state of the micro processing unit is less than the preset load threshold, the process goes to step S3;
in step S3, the internet of things node determines the load status of the micro processing unit when processing the non-immediate tasks except the immediate task, selects at least one non-immediate task whose load status is less than the preset load threshold when processing the immediate task at the same time, and proceeds to step S4.
In the technical scheme, the internet of things node judges the load state of the microprocessing unit in the process of processing the instant task and simultaneously judges the processing time of the internet of things node, and when the internet of things node is judged to be in the working state for a long time and the load state is smaller than a preset load threshold value, the non-instant task is judged, so that the processing efficiency is improved, and the electric quantity is saved.
Further preferably, in step S2, if the time length for processing the instant task by the internet of things node is greater than the preset time threshold and the load state of the micro processing unit is less than the preset load threshold, the process goes to step S3;
in step S3, the internet of things node determines the processing time length for processing the non-immediate task excluding the immediate task and the load state of the micro processing unit, selects at least one non-immediate task whose load state is less than the preset load threshold and whose processing time length is less than the processing time length of the immediate task when the immediate task is processed at the same time, and proceeds to step S4.
In the technical scheme, the nodes of the internet of things judge the load state of the microprocessing unit in the process of processing the instant tasks and judge the processing time of the nodes of the internet of things, and when the nodes of the internet of things are judged to be in the working state for a long time and the load state is smaller than the preset load threshold value, the nodes of the internet of things start to judge the non-instant tasks, so that the non-instant tasks are processed and completed in the process of processing the instant tasks, the processing efficiency is improved, and the electric quantity is saved.
The invention also provides an energy-saving device for the nodes of the internet of things, which operates on the nodes of the internet of things and comprises a plurality of tasks to be processed, wherein the tasks to be processed comprise instant tasks and non-instant tasks, and the energy-saving device for the nodes of the internet of things comprises:
the task processing module is used for processing the instant task or simultaneously processing the instant task and at least one non-instant task;
and the judging module is connected with the task processing module and is used for judging the load state of the micro-processing unit when the nodes of the Internet of things process the instant tasks and judging whether to process non-instant tasks except the instant tasks or not.
In the technical scheme, after the node of the internet of things starts to process the instant task, whether the non-instant task can be processed simultaneously under the load state is immediately judged, and if the instant task and the non-instant task can be processed simultaneously, the non-instant task is processed simultaneously, so that the non-instant task is processed simultaneously in the process of processing the instant task, and the power consumption of the node of the internet of things is saved.
Further preferably, the internet of things node energy saving device further comprises a selection module respectively connected with the task processing module and the judgment module, wherein,
in the judging module, judging whether the load state of the micro-processing unit is smaller than a preset load threshold value when the node of the Internet of things processes the instant task, and judging the load state of the micro-processing unit when the node of the Internet of things processes a non-instant task except the instant task;
in the selection module, selecting at least one non-immediate task of which the load state of the micro-processing unit is smaller than a preset load threshold value when the immediate tasks are processed simultaneously according to the judgment result of the judgment module;
in the task processing module, an instant task and at least one non-instant task are processed simultaneously according to the selection of the selection module.
In the technical scheme, as long as the micro-processing unit in the node of the Internet of things can be loaded, a plurality of non-instant tasks are processed simultaneously in the process of processing the instant tasks, so that the electric quantity is saved to the maximum extent, and the efficiency of the node of the Internet of things on the tasks to be processed is improved.
Further preferably, in the determining module, the length of the time for processing the instant task by the node of the internet of things and the load state of the micro-processing unit in the node of the internet of things when processing the instant task are determined.
Further preferably, the internet of things node energy saving device further comprises a selection module respectively connected with the task processing module and the judgment module, wherein,
in the judging module, judging whether the load state of the micro-processing unit is smaller than a preset load threshold value when the node of the Internet of things processes the instant task, judging whether the time length for processing the instant task is larger than a preset time threshold value and judging the load state of the micro-processing unit when the non-instant task except the instant task is processed;
in the selection module, selecting at least one non-immediate task of which the load state of the micro-processing unit is smaller than a preset load threshold value when the immediate tasks are processed simultaneously according to the judgment result of the judgment module;
in the task processing module, an instant task and at least one non-instant task are processed simultaneously according to the selection of the selection module.
In the technical scheme, the internet of things node judges the load state of the microprocessing unit in the process of processing the instant task and simultaneously judges the processing time of the internet of things node, and when the internet of things node is judged to be in the working state for a long time and the load state is smaller than a preset load threshold value, the non-instant task is judged, so that the processing efficiency is improved, and the electric quantity is saved.
Further preferably, the internet of things node energy saving device further comprises a selection module respectively connected with the task processing module and the judgment module, wherein,
in the judging module, judging whether the load state of the micro-processing unit is smaller than a preset load threshold value when the node of the Internet of things processes the instant task, judging whether the time length for processing the instant task is larger than a preset time threshold value, judging the load state of the micro-processing unit when the non-instant task except the instant task is processed, and judging whether the processing time length of the non-instant task is smaller than the processing time length of the instant task;
in the selection module, selecting at least one non-immediate task of which the load state of the micro-processing unit is smaller than a preset load threshold and the processing time length is smaller than the time length for processing the immediate task when the immediate task is processed simultaneously according to the judgment result of the judgment module;
in the task processing module, an instant task and at least one non-instant task are processed simultaneously according to the selection of the selection module.
In the technical scheme, the nodes of the internet of things judge the load state of the microprocessing unit in the process of processing the instant tasks and judge the processing time of the nodes of the internet of things, and when the nodes of the internet of things are judged to be in the working state for a long time and the load state is smaller than the preset load threshold value, the nodes of the internet of things start to judge the non-instant tasks, so that the non-instant tasks are processed and completed in the process of processing the instant tasks, the processing efficiency is improved, and the electric quantity is saved.
Drawings
The foregoing features, technical features, advantages and embodiments are further described in the following detailed description of the preferred embodiments, which is to be read in connection with the accompanying drawings.
Fig. 1 is a schematic flow chart of an embodiment of an energy saving method for nodes of the internet of things in the invention;
fig. 2 is a schematic flow chart of another embodiment of the energy saving method for the nodes of the internet of things in the invention;
FIG. 3 is a schematic diagram illustrating respective execution times for executing an instant task and a non-instant task according to an embodiment of the present invention;
FIG. 4 is a schematic diagram illustrating the execution of the instant task and the non-instant task in the example of FIG. 3 while executing the same time;
fig. 5 is a schematic diagram of an embodiment of an energy saving device for nodes of the internet of things in the invention;
fig. 6 is a schematic diagram of another embodiment of an energy saving device for nodes of the internet of things in the invention.
Reference numerals:
the method comprises the steps of 100-an internet of things node energy-saving device, 110-a task processing module, 120-a judging module, 130-a selecting module, A-instant task execution time and B-non-instant task execution time.
Detailed Description
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the following description will be made with reference to the accompanying drawings. It is obvious that the drawings in the following description are only some examples of the invention, and that for a person skilled in the art, other drawings and embodiments can be derived from them without inventive effort.
As shown in fig. 1, a schematic flow chart of an embodiment of an energy saving method for a node of an internet of things provided by the present invention is shown, specifically, the node of the internet of things includes a plurality of tasks to be processed, where the tasks to be processed include an instant task and a non-instant task (at least one), and the instant task and the non-instant task both arrive at the node of the internet of things under a random condition, and the processing time is separated and asynchronous.
As can be seen from the figure, the energy saving method for the nodes of the internet of things comprises the following steps: s1, the node of the Internet of things starts to process the instant task; s2, the node of the Internet of things judges the load state of the microprocessing unit when processing the instant task; s3 the node of Internet of things judges whether to process non-instant tasks except the instant tasks according to the judgment result of the step S2; and S4 the node of the Internet of things simultaneously processes a plurality of tasks according to the judgment result of the step S3, so that the energy conservation of the node of the Internet of things is realized.
In this embodiment, immediately after the internet of things node starts processing the instant task, according to whether the node can simultaneously process the non-instant task in the load state of processing the instant task, if it is determined that the instant task and the non-instant task can be simultaneously processed, the non-instant task is not processed, and only the instant task is processed. Specifically, if the load state of the micro processing unit is smaller than the preset load threshold when the internet of things node processes the instant task, which indicates that the micro processing unit can process the non-instant task at the same time, the load state of the micro processing unit when the non-instant task is processed is further judged, and at least one non-instant task, the load state of which is smaller than the preset load threshold when the micro processing unit processes the instant task at the same time, is selected according to the judged load state and is processed at the same time. It should be noted that, here, the preset load threshold is not specifically limited, and for example, the preset load threshold is 70% or 80% of the full load, and can be set by itself according to the actual situation.
In one example, the internet of things node includes an immediate task and a non-immediate task, and the preset load threshold is 80% of the full load. When the node of the Internet of things starts to process the instant task, judging the load state of the node of the Internet of things, and if the load state of processing the instant task is judged to be 50% to 80% of the full load; and further judging the load state of the non-immediate task, and if the load state of the non-immediate task is judged to be 10% of the full load. Therefore, the micro-processing unit in the node of the internet of things can process the instant task and the non-instant task at the same time (50% + 10% < 80%), so that the node of the internet of things can process the instant task and the non-instant task at the same time. In this example, if it is determined that the load state in which the non-immediate task is processed is 40% (50% + 40% > 80%) of the full load, only the immediate task is processed without processing the non-immediate task at that time.
In another example, the internet of things node includes one immediate task and two non-immediate tasks (including a first task and a second task), and the preset load threshold is 70% of the full load. When the node of the Internet of things starts to process the instant task, judging the load state of the node of the Internet of things, and if the load state of processing the instant task is judged to be 50% to 70% of the full load; further, the load state of the processing of the non-immediate task is judged, and if the load state of the processing of the first task is judged to be 25% of the full load, the load state of the processing of the second task is judged to be 10% of the full load. Then, according to the judgment result, it is judged that the micro-processing unit in the node of the internet of things can process the instant task and the second task at the same time (50% + 10% < 70%), so that the node of the internet of things can process the instant task and the second task at the same time.
As shown in fig. 2, in the embodiment, the method for saving energy for a node of the internet of things includes: s1, the node of the Internet of things starts to process the instant task; s2 the node of Internet of things judges the time length for processing the instant task and the load state of the micro-processing unit in the node of Internet of things when processing the instant task; s3 the node of Internet of things judges whether to process non-instant tasks except the instant tasks according to the judgment result of the step S2; and S4 the node of the Internet of things simultaneously processes a plurality of tasks according to the judgment result of the step S3, so that the energy conservation of the node of the Internet of things is realized.
In this embodiment, immediately after the node of the internet of things starts to process the instant task, whether the non-instant task can be processed simultaneously is determined according to the load state of the node of the internet of things in processing the instant task (including the determination of the load state and the processing duration), if the node of the internet of things determines that the instant task and the non-instant task can be processed simultaneously, the non-instant task is processed simultaneously, otherwise, the non-instant task is not processed, and only the instant task is processed. Specifically, if the load state of the micro processing unit is smaller than the preset load threshold when the internet of things node processes the instant task and the time length of the internet of things node for processing the instant task is greater than the preset time threshold, which indicates that the micro processing unit can process the non-instant task at the same time, the load state of the micro processing unit when the non-instant task is processed is further judged, and at least one non-instant task of which the load state is smaller than the preset load threshold when the instant task is processed at the same time is selected according to the judged load state and is processed at the same time. In this embodiment, the preset load threshold and the preset time threshold are not specifically limited, and for example, the preset load threshold is 70% or 80% of the full load, and the preset time threshold is set to 60s (seconds) or 0.5h (hours), and can be set by the user according to the actual situation. In addition, in the embodiment, the processing time of the non-instant task is not specifically limited, and the processing time may even be longer than a preset time threshold, and at this time, the internet of things node may continue to complete the processing of the non-instant task after processing the instant task, so that the processing time and the electric quantity can be saved as well.
In one example, the internet of things node includes an instant task and a non-instant task, and the preset load threshold is 80% of the full load, and the preset time threshold is 60 s. When the node of the Internet of things starts to process the instant task, judging the load state of the node of the Internet of things, and if the load state of processing the instant task is judged to be 50% to 80% of the full load, the processing time is 70 s; the load state of processing the non-immediate task is further judged, and if the load state of processing the non-immediate task is judged to be 10% of the full load (at the moment, the processing time length of the non-immediate task is not judged). Therefore, the micro-processing unit in the node of the internet of things can process the instant task and the non-instant task at the same time (50% + 10% < 80%), so that the node of the internet of things can process the instant task and the non-instant task at the same time.
Based on this, in another embodiment, after determining that the micro-processing units can simultaneously process the non-immediate tasks, the load status of the micro-processing units when processing the non-immediate tasks is further determined, and at least one non-immediate task whose load status is smaller than the preset load threshold and whose processing duration is smaller than the processing duration of the immediate tasks is selected according to the determined load status when simultaneously processing the immediate tasks.
In one example, the internet of things node comprises an instant task and two non-instant tasks (including a first task and a second task), and the preset load threshold is 70% of the full load; the preset time threshold is 60s, the processing time of the instant task is 70s, the processing time of the first task is 30s, and the processing time of the second task is 80 s. When the nodes of the internet of things start to process the instant tasks, judging the load state of the nodes of the internet of things, and if the load state of the nodes of the internet of things is judged to be 50% to 70% of the full load, the processing time is 70s and is greater than a preset time threshold value 60 s; the load status of processing the non-immediate task is further determined, and if the load status of processing the first task is determined to be 25% of full load, the load status of processing the second task is determined to be 10% of full load. It can be known that the micro-processing unit in the node of the internet of things cannot process the instant task and the non-instant task at the same time (wherein, the processing time of the first task is 50% + 25% > 80%, and the processing time of the second task is 80s >70s), so that the node of the internet of things only processes the instant task at the moment.
In another example, the internet of things node includes an instant task (specifically, a local task, which takes 60s, and the load status of the processing process is 50% of the full load) and a non-instant task (specifically, a remote task, which downloads a file from a server to the internet of things node, which takes 30s, and the load status of the processing process is 10% of the full load), the preset load threshold is 70% of the full load, and the preset time threshold is 50s, as shown in fig. 3, the instant task and the non-instant task are executed at different time periods, where a represents an instant task execution time, and B represents a non-instant task execution time. When the micro-processing unit in the node of the internet of things starts to process the instant task, an indication message is sent to the server, the micro-processing unit is identified to be in a working state within a long time period, and the server immediately sends a file to the node of the internet of things, so that the network node starts to process the non-instant task while processing the instant task, as shown in fig. 4. Therefore, the total time of the micro-processing unit for simultaneously processing the instant task and the non-instant task is 60s < the sum of the time for separately processing the instant task and the non-instant task is <90s, so that the time of the micro-processing unit in a working state is saved, and the electric quantity is saved.
Fig. 5 is a schematic diagram of an embodiment of an energy saving device 100 for a node of the internet of things, which is applied to the energy saving method for a node of the internet of things, specifically, the node of the internet of things includes a plurality of tasks to be processed, where the tasks to be processed include an instant task and a non-instant task (at least one), and the instant task and the non-instant task both arrive at the node of the internet of things at random, and the processing times are separated and asynchronous; in addition, the instant task is specifically a task which is required to be executed by the node of the internet of things currently, and the non-instant task is a task which is not required to be executed by the node of the internet of things currently and is only required to be executed within a certain time, such as within 24 h.
As can be seen from the figure, the internet of things node energy saving device 100 includes a task processing module 110 and a determining module 120 connected to each other. Specifically, in the working process, after the internet of things node starts to process the instant task, it is immediately determined whether the module 120 can simultaneously process the non-instant task in the load state of processing the instant task, if it is determined that the instant task and the non-instant task can be simultaneously processed, the task processing module 110 simultaneously processes the non-instant task, otherwise, the non-instant task is not processed, and only the instant task is processed.
As shown in fig. 6, in this embodiment, the energy saving device 100 of a node of the internet of things further includes a selecting module 130 in addition to the task processing module 110 and the determining module 120. Specifically, in the working process, if the determining module 120 determines that the load state of the micro processing unit is smaller than the preset load threshold when processing the instant task, which indicates that the micro processing unit can process the non-instant task at the same time, the determining module further determines the load state of the micro processing unit when processing the non-instant task, so that the selecting module 130 selects at least one non-instant task whose load state is smaller than the preset load threshold when processing the instant task at the same time according to the determined load state, and the task processing module 110 processes the non-instant tasks at the same time. It should be noted that, here, the preset load threshold is not specifically limited, and for example, the preset load threshold is 70% or 80% of the full load, and can be set by itself according to the actual situation.
In this embodiment, after the internet of things node starts to process the instant task, the immediate judgment module 120 judges whether the non-instant task can be processed simultaneously (including the judgment of the load state and the processing duration) according to the load state of the immediate task, if the immediate task and the non-instant task can be processed simultaneously, the task processing module 110 processes the non-instant task simultaneously, otherwise, the non-instant task is not processed, and only the immediate task is processed. Specifically, if the determining module 120 determines that the load state of the micro processing unit is smaller than the preset load threshold when the real-time task is processed and the time duration for processing the real-time task by the node of the internet of things is greater than the preset time threshold, it indicates that the micro processing unit can process the non-real-time tasks at the same time, and further determines the load state of the micro processing unit when the non-real-time tasks are processed, so that the selecting module 130 selects at least one non-real-time task whose load state is smaller than the preset load threshold when the real-time task is processed at the same time according to the determined load state, and the task processing module 110 processes the non-.
In this embodiment, after the internet of things node starts to process the instant task, the immediate judgment module 120 judges whether the non-instant task can be processed simultaneously (including the judgment of the load state and the processing duration) according to the load state of the immediate task, if the immediate task and the non-instant task can be processed simultaneously, the task processing module 110 processes the non-instant task simultaneously, otherwise, the non-instant task is not processed, and only the immediate task is processed. Specifically, after the determining module 120 determines that the micro-processing units can process the non-immediate tasks simultaneously, the load status of the micro-processing units when processing the non-immediate tasks is further determined, the selecting module 130 selects at least one non-immediate task whose load status is smaller than the preset load threshold and whose processing duration is smaller than the processing duration of the immediate tasks when processing the immediate tasks simultaneously according to the determined load status, and the task processing module 110 processes the non-immediate tasks simultaneously.
In another example, the internet of things node includes an instant task (specifically, the internet of things node is a sweeping robot, the instant task is sweeping by the sweeping robot, the time consumption is 60s, and the load state of the processing process is 50% of a full load) and a non-instant task (specifically, a remote task, an upgrade file is downloaded from a server, the time consumption is 30s, and the load state of the processing process is 10% of the full load), the preset load threshold is 70% of the full load, and the preset time threshold is 50 s. When the sweeping robot starts sweeping, an indication message is sent to the server, the identification micro-processing unit is in a working state for a long time, the server immediately sends the upgrade file to the sweeping robot, and the sweeping robot downloads the upgrade file at the same time when sweeping, so that the time that the micro-processing unit in the sweeping robot is in the working state is saved, and power consumption is saved.
It should be noted that the above embodiments can be freely combined as necessary. The foregoing is only a preferred embodiment of the present invention, and it should be noted that, for those skilled in the art, various modifications and decorations can be made without departing from the principle of the present invention, and these modifications and decorations should also be regarded as the protection scope of the present invention.
Claims (10)
1. An energy-saving method for nodes of the Internet of things is characterized in that the nodes of the Internet of things comprise a plurality of tasks to be processed, the tasks to be processed comprise instant tasks and non-instant tasks, and the energy-saving method for the nodes of the Internet of things comprises the following steps:
s1, the node of the Internet of things starts to process the instant task;
s2, the node of the Internet of things judges the load state of the microprocessing unit when processing the instant task;
s3 the node of Internet of things judges whether to process the non-instant task except the instant task according to the judgment result of the step S2;
and S4 the node of the Internet of things simultaneously processes the instant task and at least one non-instant task according to the judgment result of the step S3, so that the energy conservation of the node of the Internet of things is realized.
2. The Internet of things node energy saving method of claim 1,
in step S2, if the load status of the micro processing unit is less than the preset load threshold when the internet of things node processes the instant task, go to step S3;
in step S3, the internet of things node determines the load status of the micro processing unit when processing the non-immediate tasks except the immediate task, selects at least one non-immediate task whose load status is less than the preset load threshold when processing the immediate task at the same time, and proceeds to step S4.
3. The energy saving method for the nodes of the internet of things as claimed in claim 1 or 2, wherein in step S2, the nodes of the internet of things determine the time length for processing the instant tasks and the load status of the micro processing units in the nodes of the internet of things when processing the instant tasks.
4. The Internet of things node energy saving method of claim 3,
in step S2, if the time length for processing the instant task by the internet of things node is greater than the preset time threshold and the load state of the micro processing unit is less than the preset load threshold, the process goes to step S3;
in step S3, the internet of things node determines the load status of the micro processing unit when processing the non-immediate tasks except the immediate task, selects at least one non-immediate task whose load status is less than the preset load threshold when processing the immediate task at the same time, and proceeds to step S4.
5. The Internet of things node energy saving method of claim 3,
in step S2, if the time length for processing the instant task by the internet of things node is greater than the preset time threshold and the load state of the micro processing unit is less than the preset load threshold, the process goes to step S3;
in step S3, the internet of things node determines the processing time length for processing the non-immediate task excluding the immediate task and the load state of the micro processing unit, selects at least one non-immediate task whose load state is less than the preset load threshold and whose processing time length is less than the processing time length of the immediate task when the immediate task is processed at the same time, and proceeds to step S4.
6. The utility model provides a thing networking node economizer, its characterized in that, thing networking node economizer operates in thing networking node, just the thing networking node includes a plurality of pending tasks, pending task includes instant task and non-instant task, thing networking node economizer includes:
the task processing module is used for processing the instant task or simultaneously processing the instant task and at least one non-instant task;
and the judging module is connected with the task processing module and is used for judging the load state of the micro-processing unit when the nodes of the Internet of things process the instant tasks and judging whether to process non-instant tasks except the instant tasks or not.
7. The Internet of things node energy saving device of claim 6,
the node energy-saving device of the Internet of things further comprises a selection module respectively connected with the task processing module and the judgment module, wherein,
in the judging module, judging whether the load state of the micro-processing unit is smaller than a preset load threshold value when the node of the Internet of things processes the instant task, and judging the load state of the micro-processing unit when the node of the Internet of things processes a non-instant task except the instant task;
in the selection module, selecting at least one non-immediate task of which the load state of the micro-processing unit is smaller than a preset load threshold value when the immediate tasks are processed simultaneously according to the judgment result of the judgment module;
in the task processing module, an instant task and at least one non-instant task are processed simultaneously according to the selection of the selection module.
8. The energy-saving device for nodes of internet of things of claim 6, wherein in the judging module, the length of time for processing the instant task and the load state of the micro-processing unit in the node of internet of things when processing the instant task are judged by the node of internet of things.
9. The internet-of-things node energy saving device of claim 8, further comprising a selection module respectively connected to the task processing module and the judgment module, wherein,
in the judging module, judging whether the load state of the micro-processing unit is smaller than a preset load threshold value when the node of the Internet of things processes the instant task, judging whether the time length for processing the instant task is larger than a preset time threshold value and judging the load state of the micro-processing unit when the non-instant task except the instant task is processed;
in the selection module, selecting at least one non-immediate task of which the load state of the micro-processing unit is smaller than a preset load threshold value when the immediate tasks are processed simultaneously according to the judgment result of the judgment module;
in the task processing module, an instant task and at least one non-instant task are processed simultaneously according to the selection of the selection module.
10. The Internet of things node energy saving device of claim 8,
the node energy-saving device of the Internet of things further comprises a selection module respectively connected with the task processing module and the judgment module, wherein,
in the judging module, judging whether the load state of the micro-processing unit is smaller than a preset load threshold value when the node of the Internet of things processes the instant task, judging whether the time length for processing the instant task is larger than a preset time threshold value, judging the load state of the micro-processing unit when the non-instant task except the instant task is processed, and judging whether the processing time length of the non-instant task is smaller than the processing time length of the instant task;
in the selection module, selecting at least one non-immediate task of which the load state of the micro-processing unit is smaller than a preset load threshold and the processing time length is smaller than the time length for processing the immediate task when the immediate task is processed simultaneously according to the judgment result of the judgment module;
in the task processing module, an instant task and at least one non-instant task are processed simultaneously according to the selection of the selection module.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710122678.0A CN106900041B (en) | 2017-03-03 | 2017-03-03 | Energy-saving method and device for nodes of Internet of things |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710122678.0A CN106900041B (en) | 2017-03-03 | 2017-03-03 | Energy-saving method and device for nodes of Internet of things |
Publications (2)
Publication Number | Publication Date |
---|---|
CN106900041A CN106900041A (en) | 2017-06-27 |
CN106900041B true CN106900041B (en) | 2020-08-18 |
Family
ID=59185848
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710122678.0A Active CN106900041B (en) | 2017-03-03 | 2017-03-03 | Energy-saving method and device for nodes of Internet of things |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106900041B (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110855463B (en) * | 2018-08-21 | 2022-04-08 | 中兴通讯股份有限公司 | Method, device and equipment for upgrading aerial firmware and computer readable medium |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102364447A (en) * | 2011-10-28 | 2012-02-29 | 北京航空航天大学 | A Job Scheduling Method for Optimizing Communication Energy Consumption Between Multitasks |
CN102905315A (en) * | 2012-09-24 | 2013-01-30 | 华为终端有限公司 | Non-real-time traffic scheduling method, equipment and system |
CN104509155A (en) * | 2013-06-29 | 2015-04-08 | 华为技术有限公司 | Method and device for transmitting service |
CN105451310A (en) * | 2015-03-12 | 2016-03-30 | 白昀 | Sensor energy saving method of available Wi-Fi in internet of things and deriving method thereof |
CN105976420A (en) * | 2015-08-28 | 2016-09-28 | 深圳市彬讯科技有限公司 | Online rendering method and system |
Family Cites Families (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
DE202007019706U1 (en) * | 2006-03-22 | 2016-02-22 | Media Tek Inc. | Device and data carrier for improving the performance of the services of a multi-task system and a corresponding multi-task system |
KR101666395B1 (en) * | 2013-10-14 | 2016-10-14 | 한국전자통신연구원 | Priority based RTOS task scheduling method in multicore environment |
CN105991474A (en) * | 2015-05-18 | 2016-10-05 | 杭州迪普科技有限公司 | Traffic scheduling method, traffic scheduling device and network device |
-
2017
- 2017-03-03 CN CN201710122678.0A patent/CN106900041B/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102364447A (en) * | 2011-10-28 | 2012-02-29 | 北京航空航天大学 | A Job Scheduling Method for Optimizing Communication Energy Consumption Between Multitasks |
CN102905315A (en) * | 2012-09-24 | 2013-01-30 | 华为终端有限公司 | Non-real-time traffic scheduling method, equipment and system |
CN104509155A (en) * | 2013-06-29 | 2015-04-08 | 华为技术有限公司 | Method and device for transmitting service |
CN105451310A (en) * | 2015-03-12 | 2016-03-30 | 白昀 | Sensor energy saving method of available Wi-Fi in internet of things and deriving method thereof |
CN105976420A (en) * | 2015-08-28 | 2016-09-28 | 深圳市彬讯科技有限公司 | Online rendering method and system |
Non-Patent Citations (3)
Title |
---|
并行实时任务调度判定分析;周正勇等;《小型微型计算机系统》;20150415;全文 * |
时间可预测实时调度器研究;马运南;《中国优秀硕士学位论文全文数据库 信息科技辑》;20150930;全文 * |
线性加速比并行实时任务的节能研究;林宇晗等;《计算机学报》;20130215;全文 * |
Also Published As
Publication number | Publication date |
---|---|
CN106900041A (en) | 2017-06-27 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN103619056A (en) | Method and terminal for reporting sensor data | |
CN108573247B (en) | Method for detecting parking space parking state based on edge calculation | |
JP2010049584A (en) | Sensor node and sensor network system | |
Tran et al. | OCO: Optimized communication & organization for target tracking in wireless sensor networks | |
CN110831050B (en) | Sensor node control method and system | |
CN107942958A (en) | The industrial control system and method for a kind of internet of things oriented | |
CN106900041B (en) | Energy-saving method and device for nodes of Internet of things | |
CN106375382B (en) | Method, system, control server and the node client of data distribution | |
Hribar et al. | Energy-aware deep reinforcement learning scheduling for sensors correlated in time and space | |
CN112016380B (en) | Wild animal monitoring method and system | |
CN110925936A (en) | Air conditioner control method and device, computer equipment and storage medium | |
CN110426081A (en) | A kind of Forestry Information monitor control system based on Internet of Things | |
CN107566156A (en) | The switching method and device of a kind of battery saving mode | |
CN115002126A (en) | Service scheduling method and device based on edge server cluster | |
CN107453918B (en) | Distributed object tracking and device under a kind of loss of data and communication failure | |
CN104573864A (en) | A data analysis and alarm method based on autoregressive prediction | |
Engel et al. | Hardware-accelerated wireless sensor network for distributed structural health monitoring | |
Boltov et al. | Performance evaluation of real-time system for vision-based navigation of small autonomous mobile robots | |
CN115242648B (en) | Expansion and contraction capacity discrimination model training method and operator expansion and contraction capacity method | |
CN112667334B (en) | Configuration method and device of equipment control information, electronic equipment and storage medium | |
CN115551060A (en) | Low-power consumption data monitoring method | |
CN115185769A (en) | Monitoring method, device, equipment and medium for server cluster | |
Sakya et al. | Machine learning based MAC protocol design for pipeline leakage detection in smart city project | |
CN114518761A (en) | Object processing method, device, computer equipment and storage medium | |
Yi et al. | Notice of retraction: The research of bridge state monitoring system based on IoT technology |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
TA01 | Transfer of patent application right |
Effective date of registration: 20200717 Address after: Room a416, building 24, No. 588, Xinjun Ring Road, Minhang District, Shanghai, 201100 Applicant after: Shanghai Duyiwulian Technology Co.,Ltd. Address before: 201616 Shanghai city Songjiang District Sixian Road No. 3666 Applicant before: Phicomm (Shanghai) Co.,Ltd. |
|
TA01 | Transfer of patent application right | ||
GR01 | Patent grant | ||
GR01 | Patent grant |