CN110750150A - Automatic energy-saving method, system and terminal for TBOX - Google Patents

Automatic energy-saving method, system and terminal for TBOX Download PDF

Info

Publication number
CN110750150A
CN110750150A CN201910974712.6A CN201910974712A CN110750150A CN 110750150 A CN110750150 A CN 110750150A CN 201910974712 A CN201910974712 A CN 201910974712A CN 110750150 A CN110750150 A CN 110750150A
Authority
CN
China
Prior art keywords
task
tbox
time
scheduling
module
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.)
Pending
Application number
CN201910974712.6A
Other languages
Chinese (zh)
Inventor
陈列勇
王长喜
杨会岭
集立业
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
SHENZHEN LANDU AUTOMOBILE ELECTRIC CONTROL TECHNOLOGY Co Ltd
Original Assignee
SHENZHEN LANDU AUTOMOBILE ELECTRIC CONTROL TECHNOLOGY Co Ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by SHENZHEN LANDU AUTOMOBILE ELECTRIC CONTROL TECHNOLOGY Co Ltd filed Critical SHENZHEN LANDU AUTOMOBILE ELECTRIC CONTROL TECHNOLOGY Co Ltd
Priority to CN201910974712.6A priority Critical patent/CN110750150A/en
Publication of CN110750150A publication Critical patent/CN110750150A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F1/00Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
    • G06F1/26Power supply means, e.g. regulation thereof
    • G06F1/32Means for saving power
    • G06F1/3203Power management, i.e. event-based initiation of a power-saving mode
    • G06F1/3234Power saving characterised by the action undertaken
    • G06F1/324Power saving characterised by the action undertaken by lowering clock frequency

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Power Sources (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The invention relates to the technical field of automotive electronics and Internet of vehicles, in particular to an automatic energy-saving method, system and terminal of TBOX, wherein the automatic energy-saving method of TBOX comprises the following steps: establishing a work task queue; acquiring the awakening time of an RTC clock; monitoring whether the wake-up time of the RTC clock is reached; if the task arrives, executing the task of the task queue; if not, the equipment is in a dormant state. The TBOX automatic energy-saving method, the system and the terminal can achieve the effect of saving energy to a greater extent.

Description

Automatic energy-saving method, system and terminal for TBOX
Technical Field
The invention relates to the technical field of automotive electronics and Internet of vehicles, in particular to a TBOX automatic energy-saving method, system and terminal.
Background
In the fields of automotive electronics and car networking, TBOX drive box equipment power is from the car storage battery. TBOX needs to be kept in an operating state all the time when the vehicle is running, and needs to be in a sleep state when the vehicle is not running. But during sleep some detection or reporting tasks need to be performed on time.
In the prior art, when a vehicle is not started, equipment is operated for a period of time at regular time and then sleeps for a period of time. Even if TBOX has little work to do, it will mechanically stay awake and wait a fixed time to prevent missing important work. Even so, there is no guarantee that the task will be executed on time, because the device wakes up at regular intervals.
In order to solve the problems, the invention provides an automatic energy-saving method, system and terminal for TBOX, which can achieve the effect of energy saving to a greater extent.
Disclosure of Invention
The invention provides an automatic energy-saving method, an automatic energy-saving system, a terminal and an automatic energy-saving system for TBOX. The TBOX automatic energy-saving method, the system and the terminal can achieve the effect of saving energy to a greater extent.
In order to solve the technical problems, the technical scheme provided by the invention is as follows:
an automated energy saving method for a TBOX, comprising:
establishing a work task queue;
acquiring the awakening time of an RTC clock;
monitoring whether the wake-up time of the RTC clock is reached;
if the task arrives, executing the task of the task queue;
if not, the equipment is in a dormant state.
Preferably, the work task queues are arranged according to the time sequence of task execution.
Preferably, the method for acquiring the wake-up time comprises the following steps: the difference between the execution time of the first work task in the queue and the current time is taken as the wake-up time.
Preferably, if the task arrives, the task of executing the task queue specifically includes: if the task arrives, the equipment is awakened, the expired task is immediately checked, and the task is executed.
Preferably, when the tasks are executed, the tasks are executed one by one through a scheduling method of the equipmentWake-up N (N)
Figure DEST_PATH_IMAGE002
1) And the equipment performs the execution of the task. .
Preferably, the method for scheduling the device includes:
generating an initialization schedule for all devices;
the initialization schedule is optimized.
Preferably, the method for optimizing the initialization scheduling comprises:
when a plurality of devices are awakened, after each task generates local optimization scheduling, selecting scheduling with lowest energy consumption from all scheduling as initialization scheduling;
the local optimization scheduling is an iterative local optimization by using three operations of task selection, equipment grouping and scheduling evolution.
An automated energy saving system for a TBOX, comprising:
a task queue establishing module: the task queue establishing module is used for establishing a work task queue;
a wake-up time acquisition module: the awakening time acquisition module is used for acquiring the awakening time of the RTC clock;
a monitoring module: the monitoring module is used for monitoring whether the awakening time of the RTC clock arrives;
an execution module: the execution module is used for executing the tasks of the task queue if the execution module arrives;
a dormancy module: and the dormancy module is used for enabling the equipment to be in a dormant state if the dormancy module does not arrive.
Preferably, the task queue establishing module is configured to establish a work task queue, and the work task queue is arranged according to a time sequence of task execution.
Preferably, the wakeup time acquisition module is configured to acquire a wakeup time of the RTC clock, and the wakeup time acquisition method includes: the difference between the execution time of the first work task in the queue and the current time is taken as the wake-up time.
Preferably, the monitoring module is used for monitoring whether the wake-up time of the RTC clock has arrived,
preferably, the execution module is configured to execute the task of the task queue if the task arrives, and the executing the task of the task queue if the task arrives specifically includes: if the task arrives, the equipment is awakened, the expired task is immediately checked, and the task is executed. When the task is executed, the N (N) is wakened one by one through a scheduling method of the equipment
Figure 127285DEST_PATH_IMAGE002
1) And the equipment performs the execution of the task. The scheduling method of the equipment comprises the following steps: generating an initialization schedule for all devices; the initialization schedule is optimized. The method for optimizing the initialization scheduling comprises the following steps: when a plurality of devices are awakened, after each task generates local optimization scheduling, selecting scheduling with lowest energy consumption from all scheduling as initialization scheduling;
preferably, the local optimization scheduling is an iterative local optimization performed by using three operations of task selection, device grouping and scheduling evolution.
Preferably, the hibernation module is used for enabling the device to be in a hibernation state if the device does not arrive.
A computer readable storage medium having stored thereon computer program instructions adapted to be loaded by a processor and to execute an automatic power saving method for TBOX.
A mobile terminal comprises a processor and a memory, wherein the processor is used for executing a program stored in the memory so as to realize an automatic energy-saving method of a TBOX.
Compared with the prior art, the invention has the beneficial effects that: according to the automatic energy-saving method, the system and the terminal of the TBOX, the awakening time of the RTC is set, the awakening time is monitored, and when the awakening time is reached, the equipment is awakened to execute the task, so that the time when the equipment enters the sleep can be dynamically determined, the effect of saving power can be achieved in the sleep interval, the accurate execution of the task is ensured, delay is avoided, and the work is not influenced. When the automobile is awakened, the task execution at the moment may involve the awakening and matching of a plurality of devices to execute the task, and at the moment, how the devices can work in a more energy-saving mode is a problem.
Drawings
The invention is further illustrated with reference to the following figures and examples.
FIG. 1 is a schematic flow diagram of an automated energy saving method for TBOX in accordance with the present invention;
figure 2 is a block diagram of an automatic energy saving system for a TBOX according to the present invention.
Detailed Description
The present invention will now be described in further detail with reference to the accompanying drawings. These drawings are simplified schematic drawings and illustrate only the basic flow diagram of the invention, and therefore they show only the flow associated with the invention.
As shown in FIG. 1, the invention relates to an automatic energy-saving method of TBOX, which comprises the following steps:
s1, establishing a work task queue;
s2, acquiring the awakening time of the RTC clock;
s3, monitoring whether the awakening time of the RTC clock is reached;
s4, if the task arrives, executing the task of the task queue;
and S5, if the current time does not reach, enabling the equipment to be in a dormant state.
Step S1: and establishing a work task queue, wherein the work task queue is arranged according to the time sequence of task execution.
Step S2: acquiring the awakening time of an RTC clock, wherein the acquiring method of the awakening time comprises the following steps: the difference between the execution time of the first work task in the queue and the current time is taken as the wake-up time.
Step S3: monitoring whether the wake-up time of the RTC clock is reached;
step S4: if the task arrives, executing the task of the task queue; if the task queue arrives, the task of executing the task queue specifically comprises the following steps: if the task arrives, the equipment is awakened, the expired task is immediately checked, and the task is executed.
When a task is executed, a plurality of devices are often needed to cooperate, and the method can quickly realize the scheduling method for selecting the device with the lowest energy consumption through the algorithm when the plurality of devices are awakened.
When the task is executed, the N (N) is wakened one by one through a scheduling method of the equipment
Figure 247688DEST_PATH_IMAGE002
1) And the equipment performs the execution of the task.
The scheduling method of the equipment comprises the following steps:
generating an initialization schedule for all devices;
the initialization schedule is optimized. First, to ensure that all tasks can be executed normally, an initialized device schedule is performed. In order to make such scheduling more energy efficient and more optimal, the initialization scheduling is optimized as described below.
The method for optimizing the initialization scheduling comprises the following steps:
when a plurality of devices are awakened, after each task generates local optimization scheduling, selecting scheduling with lowest energy consumption from all scheduling as initialization scheduling;
the local optimization scheduling is an iterative local optimization by using three operations of task selection, equipment grouping and scheduling evolution.
That is, a plurality of equipment scheduling modes are generated by executing tasks in an iterative manner, the plurality of scheduling modes are evolved, each scheduling mode is simulated, energy consumption information is calculated, and the scheduling mode with the lowest energy consumption is selected to replace the original scheduling.
Step S5: if not, the equipment is in a dormant state.
As shown in fig. 2, the present invention provides an automatic energy saving system for TBOX:
task queue building module 1: the task queue establishing module is used for establishing a work task queue;
the wake-up time acquisition module 2: the awakening time acquisition module is used for acquiring the awakening time of the RTC clock;
the monitoring module 3: the monitoring module is used for monitoring whether the awakening time of the RTC clock arrives;
the execution module 4: the execution module is used for executing the tasks of the task queue if the execution module arrives;
the dormancy module 5: and the dormancy module is used for enabling the equipment to be in a dormant state if the dormancy module does not arrive.
The task queue establishing module is used for establishing a work task queue, and the work task queue is arranged according to the time sequence of task execution.
The wakeup time acquisition module is used for acquiring the wakeup time of the RTC clock, and the wakeup time acquisition method comprises the following steps: the difference between the execution time of the first work task in the queue and the current time is taken as the wake-up time.
The monitoring module is used for monitoring whether the wake-up time of the RTC clock is reached,
the execution module is used for executing the task of the task queue if the task arrives, and the task executing the task queue specifically comprises the following steps: if the task arrives, the equipment is awakened, the expired task is immediately checked, and the task is executed. When the task is executed, the N (N) is wakened one by one through a scheduling method of the equipment
Figure 293004DEST_PATH_IMAGE002
1) And the equipment performs the execution of the task.
The scheduling method of the equipment comprises the following steps: generating an initialization schedule for all devices; the initialization schedule is optimized. The method for optimizing the initialization scheduling comprises the following steps: when a plurality of devices are awakened, after each task generates local optimization scheduling, selecting scheduling with lowest energy consumption from all scheduling as initialization scheduling;
the local optimization scheduling is an iterative local optimization by using three operations of task selection, equipment grouping and scheduling evolution.
And the dormancy module is used for enabling the equipment to be in a dormant state if the dormancy module does not arrive.
A computer readable storage medium having stored thereon computer program instructions adapted to be loaded by a processor and to execute an automatic power saving method for TBOX.
A mobile terminal comprises a processor and a memory, wherein the processor is used for executing a program stored in the memory so as to realize an automatic energy-saving method of a TBOX.
According to the automatic energy-saving method, the system and the terminal of the TBOX, the awakening time of the RTC is set, the awakening time is monitored, and when the awakening time is reached, the equipment is awakened to execute the task, so that the time when the equipment enters the sleep can be dynamically determined, the effect of saving power can be achieved in the sleep interval, the accurate execution of the task is ensured, delay is avoided, and the work is not influenced. When the automobile is awakened, the task execution at the moment may involve the awakening and matching of a plurality of devices to execute the task, and at the moment, how the devices can work in a more energy-saving mode is a problem.
The above detailed description is specific to possible embodiments of the present invention, and the above embodiments are not intended to limit the scope of the present invention, and all equivalent implementations or modifications that do not depart from the scope of the present invention should be included in the present claims.

Claims (10)

1. An automated energy saving method for a TBOX, comprising:
establishing a work task queue;
acquiring the awakening time of an RTC clock;
monitoring whether the wake-up time of the RTC clock is reached;
if the task arrives, executing the task of the task queue;
if not, the equipment is in a dormant state.
2. An automatic power saving method for TBOX as claimed in claim 1 wherein the work task queue is arranged in order of time of task execution.
3. An automatic energy-saving method for TBOX according to claim 1, characterized in that the method for acquiring the wake-up time comprises: the difference between the execution time of the first work task in the queue and the current time is taken as the wake-up time.
4. The automatic energy-saving method for the TBOX according to claim 1, wherein if the task arrives, the task of executing the task queue is specifically as follows: if the task arrives, the equipment is awakened, the expired task is immediately checked, and the task is executed.
5. The automatic energy-saving method for TBOX (tunnel boring machine) as claimed in claim 4, wherein the task is executed by waking up N (N) one by one through a scheduling method of the equipment1) And the equipment performs the execution of the task.
6. An automatic energy-saving method for TBOX as claimed in claim 5, wherein the scheduling method of the equipment is as follows:
generating an initialization schedule for all devices;
the initialization schedule is optimized.
7. An automatic energy-saving method for TBOX as recited in claim 6, wherein the method for optimizing the initialization schedule comprises:
when a plurality of devices are awakened, after each task generates local optimization scheduling, selecting scheduling with lowest energy consumption from all scheduling as initialization scheduling;
the local optimization scheduling is an iterative local optimization by using three operations of task selection, equipment grouping and scheduling evolution.
8. An automated energy saving system for a TBOX, comprising:
a task queue establishing module: the task queue establishing module is used for establishing a work task queue;
a wake-up time acquisition module: the awakening time acquisition module is used for acquiring the awakening time of the RTC clock;
a monitoring module: the monitoring module is used for monitoring whether the awakening time of the RTC clock arrives;
an execution module: the execution module is used for executing the tasks of the task queue if the execution module arrives;
a dormancy module: and the dormancy module is used for enabling the equipment to be in a dormant state if the dormancy module does not arrive.
9. A computer-readable storage medium, characterized in that it stores computer program instructions adapted to be loaded by a processor and to execute the method of any of claims 1 to 7.
10. A mobile terminal comprising a processor and a memory, the processor being configured to execute a program stored in the memory to implement the method of any one of claims 1 to 7.
CN201910974712.6A 2019-10-14 2019-10-14 Automatic energy-saving method, system and terminal for TBOX Pending CN110750150A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910974712.6A CN110750150A (en) 2019-10-14 2019-10-14 Automatic energy-saving method, system and terminal for TBOX

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910974712.6A CN110750150A (en) 2019-10-14 2019-10-14 Automatic energy-saving method, system and terminal for TBOX

Publications (1)

Publication Number Publication Date
CN110750150A true CN110750150A (en) 2020-02-04

Family

ID=69278296

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910974712.6A Pending CN110750150A (en) 2019-10-14 2019-10-14 Automatic energy-saving method, system and terminal for TBOX

Country Status (1)

Country Link
CN (1) CN110750150A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113810983A (en) * 2021-08-25 2021-12-17 东风汽车集团股份有限公司 Power management optimization method and device based on remote monitoring module

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104219746A (en) * 2014-09-03 2014-12-17 深圳市中兴移动通信有限公司 Method, device and terminal for self-adjustment of wake-up time
US20160026507A1 (en) * 2014-07-24 2016-01-28 Qualcomm Innovation Center, Inc. Power aware task scheduling on multi-processor systems
CN109976501A (en) * 2017-12-28 2019-07-05 中移物联网有限公司 A kind of Low-power-consumptiocontrol control method, device, system and storage medium

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20160026507A1 (en) * 2014-07-24 2016-01-28 Qualcomm Innovation Center, Inc. Power aware task scheduling on multi-processor systems
CN104219746A (en) * 2014-09-03 2014-12-17 深圳市中兴移动通信有限公司 Method, device and terminal for self-adjustment of wake-up time
CN109976501A (en) * 2017-12-28 2019-07-05 中移物联网有限公司 A kind of Low-power-consumptiocontrol control method, device, system and storage medium

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113810983A (en) * 2021-08-25 2021-12-17 东风汽车集团股份有限公司 Power management optimization method and device based on remote monitoring module
CN113810983B (en) * 2021-08-25 2024-01-02 东风汽车集团股份有限公司 Power management optimization method and device based on remote monitoring module

Similar Documents

Publication Publication Date Title
US20100169683A1 (en) Platform and processor power management
CN112530056B (en) Method for reducing power consumption of intelligent door lock, intelligent door lock and storage medium
CN106610611B (en) Circuit system and method for saving power consumption of electronic scale
CN102117114B (en) Electricity-saving method for embedded equipment
US8713348B2 (en) Apparatus for performing timer management regarding a system timer scheduler service, and associated method
CN113400957B (en) Self-starting charging method and device for extended range vehicle, electronic equipment and medium
CN109511158A (en) Aerial awakening method, remote-wireless electricity LoRa transmitter and receiver
CN109435761B (en) Storage battery voltage monitoring method and vehicle control unit
CN105630132A (en) Power consumption control method and system as well as terminal
CN114070447B (en) Clock correction method and device based on target wake-up time
CN112537265A (en) Control method and device of vehicle-mounted terminal and automobile
CN101932086A (en) Sensor dormancy mechanism integrating dynamic voltage scaling and dynamic energy management
CN110750150A (en) Automatic energy-saving method, system and terminal for TBOX
US9921638B2 (en) Data processing system with selective engagement of standby mode based on comparison with a break-even time
CN106063304B (en) System and method for message-based fine-grained system-on-chip power control
CN113829953A (en) Cooling control method and device for power battery of electric automobile
US20150286271A1 (en) System and method for predicting a central processing unit idle pattern for power saving in a modem system on chip
CN105101371B (en) A kind of mobile phone power saving management method
Cao et al. Optimal sleep scheduling for energy-efficient AoI optimization in industrial Internet of Things
CN112732062B (en) Energy management method and system for lightweight operating system of terminal of Internet of things
Hamachiyo et al. A cooperative power-saving technique using dvs and dms based on load prediction in sensor networks
WO2012064178A1 (en) Method for use in providing an adaptable sensor nodes schedule in a wireless sensor network
CN107809764B (en) Markov chain-based multi-event detection method
CN111923747B (en) Method and system for controlling processor work
CN215186048U (en) Power supply circuit with standby power

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
CB02 Change of applicant information

Address after: 518000 podium building 512, 514-516, building 12, Shenzhen Bay science and technology ecological park, No. 18, Keji South Road, high tech Zone, Yuehai street, Nanshan District, Shenzhen City, Guangdong Province

Applicant after: SHENZHEN LANDU AUTOMOBILE ELECTRIC CONTROL TECHNOLOGY Co.,Ltd.

Address before: Room 2-009, majialongtianxia Industrial Park, Yiyuan Road, Nantou street, Nanshan District, Shenzhen City, Guangdong Province

Applicant before: SHENZHEN LANDU AUTOMOBILE ELECTRIC CONTROL TECHNOLOGY Co.,Ltd.

CB02 Change of applicant information