CN116185712A - Restarting control method for realizing blocking of vehicle-mounted system - Google Patents
Restarting control method for realizing blocking of vehicle-mounted system Download PDFInfo
- Publication number
- CN116185712A CN116185712A CN202211689566.0A CN202211689566A CN116185712A CN 116185712 A CN116185712 A CN 116185712A CN 202211689566 A CN202211689566 A CN 202211689566A CN 116185712 A CN116185712 A CN 116185712A
- Authority
- CN
- China
- Prior art keywords
- running time
- timer
- android system
- controlling
- continuous working
- 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.)
- Granted
Links
- 238000000034 method Methods 0.000 title claims abstract description 40
- 230000000903 blocking effect Effects 0.000 title claims abstract description 9
- 230000005059 dormancy Effects 0.000 claims abstract description 15
- 230000007958 sleep Effects 0.000 claims description 4
- 230000005611 electricity Effects 0.000 description 4
- 238000012544 monitoring process Methods 0.000 description 2
- 230000001186 cumulative effect Effects 0.000 description 1
- 238000010586 diagram Methods 0.000 description 1
- 230000007774 longterm Effects 0.000 description 1
- 230000004044 response Effects 0.000 description 1
Images
Abstract
The invention relates to the technical field of electronic digital data processing, in particular to a restarting control method for realizing the blocking of a vehicle-mounted system, which comprises the steps of recording the running time of an android system and an embedded system through a timer to obtain accumulated running time and continuous working time; when the embedded system detects a shutdown signal of the android system, judging whether the accumulated running time and the continuous working time meet the conditions, if so, controlling the android system to restart and then enter dormancy in the shutdown process of the android system.
Description
Technical Field
The invention relates to the technical field of electronic digital data processing, in particular to a restarting control method for realizing the blocking of a vehicle-mounted system.
Background
Whether the control response of the vehicle-mounted system is smooth is very important to the user use experience, and after the vehicle-mounted system uses a hot start mode of an Android (Android) system, the Android system is blocked after long-term operation, so that the user operation experience is affected.
Disclosure of Invention
The invention aims to provide a restarting control method for realizing the jamming of a vehicle machine system, and aims to solve the problem that the jamming is caused after the android system runs for a long time, and the operation experience of a user is affected.
In order to achieve the above purpose, the present invention provides a restart control method for implementing a vehicle-mounted system blocking, comprising the following steps:
recording the running time of the android system and the embedded system through a timer to obtain accumulated running time and continuous working time;
when the embedded system detects a shutdown signal of the android system, judging whether the accumulated running time and the continuous working time meet the conditions, and if the accumulated running time and the continuous working time meet the conditions, controlling the android system to enter into dormancy after restarting in the shutdown process of the android system.
The timer comprises a first timer and a second timer.
Before the running time of the android system and the embedded system is recorded through the timer to obtain the accumulated running time and the continuous working time, the method further comprises the following steps:
the first timer and the second timer are initialized.
The method for recording the running time of the android system and the embedded system through the timer to obtain the accumulated running time and the continuous working time comprises the following steps:
recording the running time of the android system through the first timer to obtain accumulated running time;
and recording the running time of the embedded system through the second timer to obtain continuous working time.
Wherein the conditions include a first preset condition and a second preset condition.
Wherein the first preset condition includes any one of the cumulative operating time being greater than 7 days and the continuous operating time being greater than 12 hours;
the second preset condition is that the active wake-up times of the embedded system are larger than 3.
The step of judging whether the accumulated running time and the continuous working time meet the conditions or not, if yes, controlling the android system to enter dormancy after restarting in the shutdown process of the android system, wherein the step of controlling the android system to enter dormancy comprises the following steps:
if the accumulated running time is less than 7 days or the continuous working time is less than 12 hours, controlling the android system to sleep; and if the accumulated running time is more than 7 days or the continuous working time is more than 12 hours, controlling the android system to be powered off, and if the active wakeup times of the embedded system is more than 3, controlling the android system to enter dormancy after being powered off.
According to the restarting control method for realizing the vehicle-mounted system blocking, the running time of the android system and the embedded system is recorded through the timer, and the accumulated running time and the continuous working time are obtained; when the embedded system detects a shutdown signal of the android system, judging whether the accumulated running time and the continuous working time meet the conditions, if so, controlling the android system to restart and then enter dormancy in the shutdown process of the android system.
Drawings
In order to more clearly illustrate the embodiments of the invention or the technical solutions in the prior art, the drawings that are required in the embodiments or the description of the prior art will be briefly described, it being obvious that the drawings in the following description are only some embodiments of the invention, and that other drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
Fig. 1 is a flowchart of a method for implementing a restart control of a vehicle system.
FIG. 2 is a flow chart of recording the running time of the android system and the embedded system by a timer to obtain the accumulated running time and the continuous working time.
Fig. 3 is a schematic diagram of a restarting control method for implementing a vehicle system lock.
Detailed Description
Embodiments of the present invention are described in detail below, examples of which are illustrated in the accompanying drawings, wherein like or similar reference numerals refer to like or similar elements or elements having like or similar functions throughout. The embodiments described below by referring to the drawings are illustrative and intended to explain the present invention and should not be construed as limiting the invention.
Referring to fig. 1 to 3, the present invention provides a restart control method for implementing a vehicle-mounted system blocking, comprising the following steps:
s1, recording the running time of an android system and the running time of an embedded system through a timer to obtain accumulated running time and continuous working time;
specifically, the timer includes a first timer counter1 and a second timer counter2.
Before the running time of the android system and the embedded system is recorded through the timer to obtain the accumulated running time and the continuous working time, the method further comprises the following steps:
the first timer and the second timer are initialized.
The method for recording the running time of the android system and the embedded system through the timer to obtain the accumulated running time and the continuous working time comprises the following steps:
s11, recording the running time of the android system through the first timer to obtain accumulated running time;
specifically, in the step, the running time of the android system is recorded through the first timer, and the accumulated running time is obtained, and the method further includes:
collecting historical electricity consumption conditions of the first timer and the second timer; analyzing the historical electricity consumption condition to obtain a power supply scheme; the first timer and the second timer are powered based on the power scheme. The corresponding power supply scheme is designed according to the power consumption conditions of the first timer and the second timer, so that the first timer and the second timer can be continuously powered when in work, and the problem of timing error caused by electric shock power interruption when the first timer and the second timer work is avoided.
S12, recording the running time of the embedded system through the second timer to obtain continuous working time.
S2, when the embedded system detects a shutdown signal of the android system, judging whether the accumulated running time and the continuous working time meet the conditions, and if so, controlling the android system to enter into dormancy after restarting in the shutdown process of the android system.
Specifically, the conditions include a first preset condition and a second preset condition.
The first preset condition includes any one of the accumulated operating time being greater than 7 days and the continuous operating time being greater than 12 hours;
the second preset condition is that the active wake-up times of the embedded system are larger than 3.
Judging whether the accumulated running time and the continuous working time meet the conditions or not, if yes, controlling the android system to enter dormancy after restarting in the shutdown process of the android system, wherein the method comprises the following steps:
if the accumulated running time is less than 7 days or the continuous working time is less than 12 hours, controlling the android system to sleep; and if the accumulated running time is more than 7 days or the continuous working time is more than 12 hours, controlling the android system to be powered off, and if the active wakeup times of the embedded system is more than 3, controlling the android system to enter dormancy after being powered off, so as to finish cold start.
Specifically, in the step of judging whether the accumulated running time and the continuous working time meet the conditions, if so, after the android system is controlled to enter into dormancy after being restarted in the shutdown process of the android system, the method further comprises the steps of:
the working state of the embedded system is monitored in real time, and monitoring data are obtained; performing fault analysis on the monitoring data to obtain an analysis result; and carrying out fault early warning reminding based on the analysis result.
The invention discloses a restarting control method for realizing the blocking of a vehicle machine system. Meanwhile, collecting historical electricity utilization conditions of the first timer and the second timer; analyzing the historical electricity consumption condition to obtain a power supply scheme; the first timer and the second timer are powered based on the power scheme. And secondly, recording the running time of the android system through the initialized first timer to obtain accumulated running time, and recording the running time of the embedded system through the initialized second timer to obtain continuous working time. And then judging whether the accumulated running time and the continuous working time meet the conditions, and if so, controlling the android system to enter dormancy after restarting in the shutdown process of the android system. Specifically, if the accumulated running time is less than 7 days or the continuous working time is less than 12 hours, controlling the android system to sleep; if the accumulated running time is greater than 7 days or the continuous working time is greater than 12 hours, the android system is controlled to be powered off, if the active wakeup times of the embedded system is greater than 3, the embedded system is controlled to enter dormancy after being powered off, and cold start is completed.
The above disclosure is only a preferred embodiment of a method for implementing a lock-on control of a vehicle system, but it should be understood that the scope of the invention is not limited thereto, and those skilled in the art will understand that all or part of the procedures for implementing the above embodiment are equivalent and still fall within the scope of the invention.
Claims (7)
1. The restarting control method for realizing the blocking of the vehicle-mounted system is characterized by comprising the following steps of:
recording the running time of the android system and the embedded system through a timer to obtain accumulated running time and continuous working time;
when the embedded system detects a shutdown signal of the android system, judging whether the accumulated running time and the continuous working time meet the conditions, and if the accumulated running time and the continuous working time meet the conditions, controlling the android system to enter into dormancy after restarting in the shutdown process of the android system.
2. The method for controlling the restarting of the vehicle system according to claim 1, wherein,
the timer includes a first timer and a second timer.
3. The method for controlling the restarting of the vehicle system according to claim 2, wherein,
before the running time of the android system and the embedded system is recorded through the timer to obtain the accumulated running time and the continuous working time, the method further comprises the following steps:
the first timer and the second timer are initialized.
4. The method for controlling the restarting of the vehicle system according to claim 3, wherein,
the method for recording the running time of the android system and the embedded system through the timer to obtain the accumulated running time and the continuous working time comprises the following steps:
recording the running time of the android system through the first timer to obtain accumulated running time;
and recording the running time of the embedded system through the second timer to obtain continuous working time.
5. The method for controlling the restarting of the vehicle system according to claim 4, wherein,
the conditions include a first preset condition and a second preset condition.
6. The method for controlling the restarting of the vehicle system according to claim 5, wherein,
the first preset condition includes any one of the accumulated operating time being greater than 7 days and the continuous operating time being greater than 12 hours;
the second preset condition is that the active wake-up times of the embedded system are larger than 3.
7. The method for controlling the restarting of the vehicle system according to claim 6, wherein,
judging whether the accumulated running time and the continuous working time meet the conditions or not, if yes, controlling the android system to enter dormancy after restarting in the shutdown process of the android system, wherein the method comprises the following steps:
if the accumulated running time is less than 7 days or the continuous working time is less than 12 hours, controlling the android system to sleep; and if the accumulated running time is more than 7 days or the continuous working time is more than 12 hours, controlling the android system to be powered off, and if the active wakeup times of the embedded system is more than 3, controlling the android system to enter dormancy after being powered off.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202211689566.0A CN116185712B (en) | 2022-12-27 | 2022-12-27 | Restarting control method for realizing blocking of vehicle-mounted system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202211689566.0A CN116185712B (en) | 2022-12-27 | 2022-12-27 | Restarting control method for realizing blocking of vehicle-mounted system |
Publications (2)
Publication Number | Publication Date |
---|---|
CN116185712A true CN116185712A (en) | 2023-05-30 |
CN116185712B CN116185712B (en) | 2024-03-19 |
Family
ID=86441414
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202211689566.0A Active CN116185712B (en) | 2022-12-27 | 2022-12-27 | Restarting control method for realizing blocking of vehicle-mounted system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN116185712B (en) |
Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106331863A (en) * | 2016-08-16 | 2017-01-11 | Tcl集团股份有限公司 | Turn-off control method and device for Android system television, and the Android system television |
CN107499138A (en) * | 2017-07-24 | 2017-12-22 | 广州小鹏汽车科技有限公司 | A kind of power control method and system of electric automobile central control system |
WO2017219485A1 (en) * | 2016-06-20 | 2017-12-28 | 深圳Tcl数字技术有限公司 | Smart television and control method therefor |
CN107729181A (en) * | 2017-10-09 | 2018-02-23 | 深圳市沃特沃德股份有限公司 | Restart the method and apparatus of onboard system |
CN108345464A (en) * | 2018-03-06 | 2018-07-31 | 播思通讯技术(北京)有限公司 | A kind of the startup method and Android vehicle device of Android system |
CN111885420A (en) * | 2020-07-31 | 2020-11-03 | 深圳创维-Rgb电子有限公司 | Standby protection method and device, smart television and readable storage medium |
CN114077216A (en) * | 2021-11-17 | 2022-02-22 | 神思电子技术股份有限公司 | Device and method for monitoring running state and abnormal recovery of android equipment |
CN114764393A (en) * | 2021-01-15 | 2022-07-19 | 上海擎感智能科技有限公司 | Vehicle control method, vehicle-mounted terminal, automobile and computer-readable storage medium |
-
2022
- 2022-12-27 CN CN202211689566.0A patent/CN116185712B/en active Active
Patent Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2017219485A1 (en) * | 2016-06-20 | 2017-12-28 | 深圳Tcl数字技术有限公司 | Smart television and control method therefor |
CN106331863A (en) * | 2016-08-16 | 2017-01-11 | Tcl集团股份有限公司 | Turn-off control method and device for Android system television, and the Android system television |
CN107499138A (en) * | 2017-07-24 | 2017-12-22 | 广州小鹏汽车科技有限公司 | A kind of power control method and system of electric automobile central control system |
CN107729181A (en) * | 2017-10-09 | 2018-02-23 | 深圳市沃特沃德股份有限公司 | Restart the method and apparatus of onboard system |
CN108345464A (en) * | 2018-03-06 | 2018-07-31 | 播思通讯技术(北京)有限公司 | A kind of the startup method and Android vehicle device of Android system |
CN111885420A (en) * | 2020-07-31 | 2020-11-03 | 深圳创维-Rgb电子有限公司 | Standby protection method and device, smart television and readable storage medium |
CN114764393A (en) * | 2021-01-15 | 2022-07-19 | 上海擎感智能科技有限公司 | Vehicle control method, vehicle-mounted terminal, automobile and computer-readable storage medium |
CN114077216A (en) * | 2021-11-17 | 2022-02-22 | 神思电子技术股份有限公司 | Device and method for monitoring running state and abnormal recovery of android equipment |
Non-Patent Citations (1)
Title |
---|
陈颖: "东风车机自动化测试平台", 《中国优秀硕士学位论文全文数据库 工程科技Ⅱ辑》, 15 January 2020 (2020-01-15), pages 035 - 649 * |
Also Published As
Publication number | Publication date |
---|---|
CN116185712B (en) | 2024-03-19 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN108958106B (en) | Electric automobile controller dormancy awakening system and control method | |
CN104714620A (en) | Method and device for adjusting wakeup frequency of intelligent terminal | |
CN107302789B (en) | Method and system for improving battery endurance of android device | |
CN106020415B (en) | Application control method and device under smart machine standby mode | |
CN102981825B (en) | A kind of management method of mobile terminal back-end data and system | |
EP0656579A2 (en) | Power management for computer system | |
CN111984108B (en) | Control method, circuit and system for reducing standby power consumption of computer mainboard | |
WO2021233219A1 (en) | Automatic wake-up and diagnosis method for battery management system, battery management system, and vehicle | |
CN113525094A (en) | Battery control method and device, vehicle system and storage medium | |
CN116185712B (en) | Restarting control method for realizing blocking of vehicle-mounted system | |
CN102339118A (en) | Terminal shutdown control method and system | |
CN106484075A (en) | Method and device for adjusting application program wake-up time | |
CN112668211A (en) | Limit power consumption control system and control method based on equipment power supply state | |
CN111064584B (en) | Switch POE power supply abnormity recovery method and device and switch | |
CN106598193B (en) | Power consumption control method and device | |
CA2436081A1 (en) | Fan control | |
CN112486311A (en) | Low-power-consumption control method and system of embedded system and storage medium | |
CN113810983B (en) | Power management optimization method and device based on remote monitoring module | |
CN112698981B (en) | Protection circuit and method for preventing single chip microcomputer reset signal from losing efficacy | |
CN112554998B (en) | Anti-adhesion control method and device for urea box heating electromagnetic valve and storage medium | |
CN115000533A (en) | Low-voltage energy storage battery management system and control method | |
CN211844095U (en) | Low-power consumption battery box fire monitoring and alarm device | |
CN116661869A (en) | T-BOX exception recovery method and system | |
CN117914006A (en) | Power distribution and utilization intelligent device based on embedded operating system and control method thereof | |
CN115593231B (en) | Intelligent control circuit and method for actively preventing power shortage of storage battery of new energy bus |
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 | ||
CB02 | Change of applicant information |
Address after: 518102, 7th Floor, Building C, Huafeng International Robot Industrial Park, Hangcheng Avenue, Nanchang Community, Xixiang Street, Bao'an District, Shenzhen City, Guangdong Province Applicant after: Shenzhen Blue Whale Zhilian Technology Co.,Ltd. Address before: 518102, 7th Floor, Building C, Huafeng International Robot Industrial Park, Hangcheng Avenue, Nanchang Community, Xixiang Street, Bao'an District, Shenzhen City, Guangdong Province Applicant before: Shenzhen Lanjing Zhilian Technology Co.,Ltd. |
|
GR01 | Patent grant | ||
GR01 | Patent grant |