CN112537265A - Control method and device of vehicle-mounted terminal and automobile - Google Patents

Control method and device of vehicle-mounted terminal and automobile Download PDF

Info

Publication number
CN112537265A
CN112537265A CN201910898765.4A CN201910898765A CN112537265A CN 112537265 A CN112537265 A CN 112537265A CN 201910898765 A CN201910898765 A CN 201910898765A CN 112537265 A CN112537265 A CN 112537265A
Authority
CN
China
Prior art keywords
vehicle
mounted terminal
wake
signal
sleep
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
CN201910898765.4A
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.)
Beijing Qingxiang Technology Co ltd
Original Assignee
Beijing Qingxiang 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 Beijing Qingxiang Technology Co ltd filed Critical Beijing Qingxiang Technology Co ltd
Priority to CN201910898765.4A priority Critical patent/CN112537265A/en
Publication of CN112537265A publication Critical patent/CN112537265A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • BPERFORMING OPERATIONS; TRANSPORTING
    • B60VEHICLES IN GENERAL
    • B60RVEHICLES, VEHICLE FITTINGS, OR VEHICLE PARTS, NOT OTHERWISE PROVIDED FOR
    • B60R16/00Electric or fluid circuits specially adapted for vehicles and not otherwise provided for; Arrangement of elements of electric or fluid circuits specially adapted for vehicles and not otherwise provided for
    • B60R16/02Electric or fluid circuits specially adapted for vehicles and not otherwise provided for; Arrangement of elements of electric or fluid circuits specially adapted for vehicles and not otherwise provided for electric constitutive elements
    • B60R16/03Electric or fluid circuits specially adapted for vehicles and not otherwise provided for; Arrangement of elements of electric or fluid circuits specially adapted for vehicles and not otherwise provided for electric constitutive elements for supply of electrical power to vehicle subsystems or for
    • B60R16/033Electric or fluid circuits specially adapted for vehicles and not otherwise provided for; Arrangement of elements of electric or fluid circuits specially adapted for vehicles and not otherwise provided for electric constitutive elements for supply of electrical power to vehicle subsystems or for characterised by the use of electrical cells or batteries
    • BPERFORMING OPERATIONS; TRANSPORTING
    • B60VEHICLES IN GENERAL
    • B60RVEHICLES, VEHICLE FITTINGS, OR VEHICLE PARTS, NOT OTHERWISE PROVIDED FOR
    • B60R16/00Electric or fluid circuits specially adapted for vehicles and not otherwise provided for; Arrangement of elements of electric or fluid circuits specially adapted for vehicles and not otherwise provided for
    • B60R16/02Electric or fluid circuits specially adapted for vehicles and not otherwise provided for; Arrangement of elements of electric or fluid circuits specially adapted for vehicles and not otherwise provided for electric constitutive elements
    • B60R16/023Electric or fluid circuits specially adapted for vehicles and not otherwise provided for; Arrangement of elements of electric or fluid circuits specially adapted for vehicles and not otherwise provided for electric constitutive elements for transmission of signals between vehicle parts or subsystems
    • YGENERAL 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
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02TCLIMATE CHANGE MITIGATION TECHNOLOGIES RELATED TO TRANSPORTATION
    • Y02T10/00Road transport of goods or passengers
    • Y02T10/80Technologies aiming to reduce greenhouse gasses emissions common to all road transportation technologies
    • Y02T10/92Energy efficient charging or discharging systems for batteries, ultracapacitors, supercapacitors or double-layer capacitors specially adapted for vehicles

Abstract

The invention discloses a control method and a control device of a vehicle-mounted terminal and an automobile, wherein the method comprises the following steps: detecting whether the vehicle-mounted terminal needs to enter a sleep mode or not; when the fact that the vehicle-mounted terminal needs to enter a sleep mode is detected, determining the sleep type which the vehicle-mounted terminal needs to execute; controlling the vehicle-mounted terminal to enter a sleep state corresponding to the sleep type according to the determined sleep type; when the vehicle-mounted terminal is in a sleep mode, receiving a wake-up signal in real time; and controlling to wake up the vehicle-mounted terminal according to the wake-up signal so as to enable the vehicle-mounted terminal to enter a non-dormant working state. The control method of the vehicle-mounted terminal realizes that the vehicle-mounted terminal can receive data in real time and normally upload the data within the appointed time in a low power consumption state, reduces the power shortage risk of a small battery, prolongs the service life of the battery and ensures the normal operation of a vehicle.

Description

Control method and device of vehicle-mounted terminal and automobile
Technical Field
The invention relates to the technical field of automobiles, in particular to a control method and device of a vehicle-mounted terminal and an automobile.
Background
With the rapid popularization of the concept of 'shared economy' and the development of technology, a shared automobile as a new shared economy enters the visual field of people, and brings convenience and rapidness to the life of people.
The time-sharing leasing vehicle-mounted terminal in the existing shared vehicle keeps network link with the background server by keeping a full-function working mode so as to receive data in real time and normally upload the data within a specified time. However, the power consumption of the full-function working mode is too large, so that the power shortage of the small battery is easily caused, and the service life of the small battery and the operation of the vehicle are influenced.
Disclosure of Invention
In order to solve the technical problems, the invention provides a control method and device of a vehicle-mounted terminal and an automobile, and solves the problems that the power consumption of a small battery is high in a working mode of the conventional vehicle-mounted terminal, the power shortage of the small battery is easily caused, the service life of the small battery is influenced, and the operation of the automobile is influenced.
According to a first aspect of the present invention, there is provided a control method of a vehicle-mounted terminal, the method including:
detecting whether the vehicle-mounted terminal needs to enter a sleep mode or not;
when the fact that the vehicle-mounted terminal needs to enter a sleep mode is detected, determining the sleep type which the vehicle-mounted terminal needs to execute;
controlling the vehicle-mounted terminal to enter a sleep state corresponding to the sleep type according to the determined sleep type;
when the vehicle-mounted terminal is in a sleep mode, receiving a wake-up signal in real time;
and controlling to wake up the vehicle-mounted terminal according to the wake-up signal so as to enable the vehicle-mounted terminal to enter a non-dormant working state.
Optionally, detecting whether the vehicle-mounted terminal needs to enter a sleep mode includes:
acquiring a first electric quantity value and vehicle state information of a storage battery; the battery is used for supplying power to the vehicle-mounted terminal in a vehicle flameout state; the vehicle state information includes: a flameout condition or an ignition condition;
when the first electric quantity value is lower than a first threshold value and the vehicle is in a flameout state, detecting that the vehicle-mounted terminal needs to enter a sleep mode;
and when the first electric quantity value is higher than a first threshold value or the vehicle is in an ignition state, detecting that the vehicle-mounted terminal enters a full-speed mode, wherein the full-speed mode is a mode that all modules of the vehicle-mounted terminal are in a normal working state.
Optionally, when it is detected that the vehicle-mounted terminal needs to enter the sleep mode, determining a sleep type that the vehicle-mounted terminal needs to execute includes:
acquiring the order state of the vehicle;
wherein the order status comprises: with or without an order;
and determining the type of the dormancy to be executed by the vehicle-mounted terminal according to the order state of the vehicle.
Optionally, determining the type of the hibernation to be executed by the vehicle-mounted terminal according to the order state of the vehicle includes:
when the order state of the vehicle is an order and the vehicle is in a flameout state, determining that the sleep type which needs to be executed by the vehicle-mounted terminal is as follows: a Micro Controller Unit (MCU) module and a communication module of the vehicle-mounted terminal are not dormant, and other modules are dormant except the MCU module and the communication module in the vehicle-mounted terminal;
when the order state of the vehicle is no order and the vehicle is in a flameout state, determining that the sleep type which needs to be executed by the vehicle-mounted terminal is as follows: and all modules of the vehicle-mounted terminal are dormant.
Optionally, the wake-up signal includes at least one of:
a preset timing wake-up signal for waking up the vehicle-mounted terminal at a timing;
an external interrupt wake-up signal;
and the background server sends a network data wake-up signal.
Optionally, when the wake-up signal includes the timing wake-up signal, controlling to wake up the vehicle-mounted terminal according to the wake-up signal, including:
judging whether timing data needs to be sent or not according to the timing wake-up signal, wherein the timing data comprises a heartbeat data packet;
when the timing data is judged to need to be sent, a communication module is awakened and used for sending the timing data; after the communication module sends the timing data, clearing the watchdog and controlling the vehicle-mounted terminal to continuously enter a sleep mode;
and when the timing data does not need to be sent, clearing the watchdog and controlling the vehicle-mounted terminal to continuously enter a sleep mode.
Optionally, when the wake-up signal includes the external interrupt wake-up signal, controlling to wake up the vehicle-mounted terminal according to the wake-up signal, including:
controlling to wake up a first module in the vehicle-mounted terminal according to the external interrupt wake-up signal, and starting a Global Positioning System (GPS);
the first module is used for executing a first control instruction triggered by the external interrupt wakeup signal.
Optionally, when the wake-up signal includes the network data wake-up signal, controlling to wake up the vehicle-mounted terminal according to the wake-up signal, including:
and controlling to wake up a second module of the vehicle-mounted terminal according to the network data wake-up signal so as to enable the second module to execute a second control command carried by the network data wake-up signal.
According to a second aspect of the present invention, there is provided a control apparatus of a vehicle-mounted terminal, the apparatus including:
the detection module is used for detecting whether the vehicle-mounted terminal needs to enter a sleep mode;
the determining module is used for determining the sleep type which needs to be executed by the vehicle-mounted terminal when the vehicle-mounted terminal is detected to need to enter the sleep mode;
the first control module is used for controlling the vehicle-mounted terminal to enter a sleep state corresponding to the sleep type according to the determined sleep type;
the receiving module is used for receiving the awakening signal in real time when the vehicle-mounted terminal is in the sleep mode;
and the second control module is used for controlling and awakening the vehicle-mounted terminal according to the awakening signal so as to enable the vehicle-mounted terminal to enter a non-dormant working state.
According to a third aspect of the present invention, there is provided an automobile comprising a processor, a memory, and a computer program stored on the memory and operable on the processor, the processor implementing the steps of the control method of the in-vehicle terminal as described above when executing the computer program.
According to a fourth aspect of the present invention, there is provided a computer-readable storage medium having stored thereon a computer program which, when executed by a processor, implements the steps of the control method of the in-vehicle terminal as described above.
The embodiment of the invention has the beneficial effects that:
in the scheme, whether the vehicle-mounted terminal needs to enter the sleep mode is detected; when the fact that the vehicle-mounted terminal needs to enter a sleep mode is detected, determining the sleep type which the vehicle-mounted terminal needs to execute; controlling the vehicle-mounted terminal to enter a sleep state corresponding to the sleep type according to the determined sleep type; when the vehicle-mounted terminal is in a sleep mode, receiving a wake-up signal in real time; and controlling to wake up the vehicle-mounted terminal according to the wake-up signal so as to enable the vehicle-mounted terminal to enter a non-dormant working state. Through supporting multiple sleep mode to real-time receipt awakening signal has realized that vehicle terminal can real-time reception data and normally upload data in appointed time under the low-power consumption state, has reduced the insufficient voltage risk of little storage battery, has improved the life of storage battery, has guaranteed the normal operation of vehicle.
Drawings
Fig. 1 shows one of flowcharts of a control method of a vehicle-mounted terminal of an embodiment of the invention;
fig. 2 is a block diagram showing a configuration of a control device of the in-vehicle terminal according to the embodiment of the present invention;
fig. 3 shows a second flowchart of a control method of the in-vehicle terminal according to the embodiment of the invention;
fig. 4 shows a timing alarm clock wake-up flowchart in the control method of the vehicle-mounted terminal according to the embodiment of the present invention;
fig. 5 is a flowchart illustrating an external interrupt wakeup process in a control method of a vehicle-mounted terminal according to an embodiment of the present invention;
fig. 6 shows a network data wake-up flowchart in the control method of the in-vehicle terminal according to the embodiment of the present invention.
Detailed Description
Exemplary embodiments of the present invention will be described in more detail below with reference to the accompanying drawings. While exemplary embodiments of the invention are shown in the drawings, it should be understood that the invention can be embodied in various forms and should not be limited to the embodiments set forth herein. Rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the scope of the invention to those skilled in the art.
As shown in fig. 1, an embodiment of the present invention provides a method for controlling a vehicle-mounted terminal, where the method includes:
step S11, detecting whether the vehicle-mounted terminal needs to enter a sleep mode;
here, the in-vehicle terminal may specifically include: time-sharing leasing intelligent vehicle-mounted terminal (RT-BOX for short). The sleep mode of the vehicle-mounted terminal is used for reducing the power consumption of the vehicle-mounted terminal when the vehicle is in a flameout state and the electric quantity of the storage battery is lower than a first threshold value.
Further, step S11 may include:
acquiring a first electric quantity value and vehicle state information of a storage battery; the battery is used for supplying power to the vehicle-mounted terminal in a vehicle flameout state; the vehicle state information includes: a flameout condition or an ignition condition;
when the first electric quantity value is lower than a first threshold value and the vehicle is in a flameout state, detecting that the vehicle-mounted terminal needs to enter a sleep mode;
and when the first electric quantity value is higher than a first threshold value or the vehicle is in an ignition state, detecting that the vehicle-mounted terminal enters a full-speed mode, wherein the full-speed mode is a mode that all modules of the vehicle-mounted terminal are in a normal working state. It can be understood that the vehicle-mounted terminal can be powered by power when the vehicle is in the ignition state, and therefore the vehicle-mounted terminal does not need to be controlled to enter the sleep mode. All modules of the vehicle-mounted terminal should be kept in a full-speed mode in a normal working state, so that efficient real-time processing and data receiving can be guaranteed.
This embodiment, through when vehicle flameout state or storage battery electric quantity are less than first threshold, detect the judgement vehicle mounted terminal need get into sleep mode to the effect of the consumption that realizes reducing vehicle mounted terminal avoids the storage battery to lack of electricity, influences the vehicle operation.
Step S12, when detecting that the vehicle-mounted terminal needs to enter the sleep mode, determining the sleep type that the vehicle-mounted terminal needs to execute;
it should be noted that the sleep types include two types: one is that: all modules of the vehicle-mounted terminal are dormant; the other is as follows: the MCU module and the communication module of the vehicle-mounted terminal are not dormant, and other modules except the MCU module and the communication module in the vehicle-mounted terminal are all dormant.
In an alternative embodiment of the present invention, step S12 may include:
acquiring the order state of the vehicle; wherein the order status comprises: with or without an order;
and determining the type of the dormancy to be executed by the vehicle-mounted terminal according to the order state of the vehicle.
Here, the order refers to that the time-sharing rental intelligent vehicle-mounted terminal receives a vehicle rental order of a vehicle rented by a user. Wherein the content of the first and second substances,
when the order state of the vehicle is an order and the vehicle is in a flameout state, determining that the sleep type which needs to be executed by the vehicle-mounted terminal is as follows: the MCU module and the communication module of the vehicle-mounted terminal are not dormant, and the rest modules are dormant except the MCU module and the communication module in the vehicle-mounted terminal;
when the order state of the vehicle is no order and the vehicle is in a flameout state, determining that the sleep type which needs to be executed by the vehicle-mounted terminal is as follows: and all modules of the vehicle-mounted terminal are dormant.
In the embodiment, when the vehicle is flamed out but an order is provided, the MCU module and the communication module of the vehicle-mounted terminal are controlled not to sleep, so that the communication module can be controlled by the MCU to send or receive data in real time, and the network communication connection between the vehicle-mounted terminal and the background server is ensured.
Step S13, controlling the vehicle-mounted terminal to enter a sleep state corresponding to the sleep type according to the determined sleep type;
in this implementation, the determined sleep type is: when all modules of the vehicle-mounted terminal are dormant, controlling all modules of the vehicle-mounted terminal to execute a dormant mode; when the determined sleep type is: and when the MCU module and the communication module of the vehicle-mounted terminal are not in dormancy and the modules except the MCU module and the communication module in the vehicle-mounted terminal are in dormancy, controlling the MCU module and the communication module of the vehicle-mounted terminal to execute a non-dormancy mode, and controlling the modules except the MCU module and the communication module to execute a dormancy mode. When the vehicle is flamed out, different sleep states are respectively executed on the vehicle-mounted terminal aiming at the situations of an order and no order, and the MCU module and the communication module are further executed when the order is available, so that the power consumption of the vehicle-mounted terminal is effectively reduced under the condition that the service processing of the vehicle-mounted terminal is not influenced, and the electric quantity loss of a power supply storage battery of the vehicle-mounted terminal is avoided, and the operation of the vehicle is influenced.
Step S14, receiving a wake-up signal in real time when the vehicle-mounted terminal is in a sleep mode;
it should be noted that the wake-up signal includes at least one of the following: a preset timing wake-up signal for waking up the vehicle-mounted terminal at a timing; an external interrupt wake-up signal; and the background server sends a network data wake-up signal. The timing awakening signal is used for awakening the vehicle-mounted terminal at a timing mode, so that the terminal can keep network connection with the background server in a dormant low-power-consumption state, can receive data in real time and can upload the data normally in a specified time. The external interrupt awakening signal can comprise a starting signal of the vehicle and an abnormal signal (such as an abnormal meter) of the vehicle, and the safety of the vehicle is ensured by receiving the external interrupt awakening signal in real time, such as the vehicle is prevented from being stolen. Furthermore, the network data wake-up signal sent by the background server is received in real time, so that the vehicle-mounted terminal can receive the instruction sent by the background server in a dormant low-power-consumption state, and can perform functions of controlling the vehicle, collecting data and the like in real time.
And step S15, controlling and waking up the vehicle-mounted terminal according to the wake-up signal so as to enable the vehicle-mounted terminal to enter a non-sleep working state.
It should be noted that the vehicle-mounted terminal supports multiple wake-up modes, including: CAN network awakening, network data awakening, vibration awakening, high-voltage detection awakening, timing awakening and other various awakening modes.
According to the difference of the wake-up signal, the following three wake-up modes are described as follows:
the first method comprises the following steps:
when the wake-up signal includes the timing wake-up signal, controlling to wake up the vehicle-mounted terminal according to the wake-up signal, including:
judging whether timing data needs to be sent or not according to the timing wake-up signal, wherein the timing data comprises a heartbeat data packet;
when the timing data is judged to need to be sent, a communication module is awakened and used for sending the timing data; after the communication module sends the timing data, clearing the watchdog and controlling the vehicle-mounted terminal to continuously enter a sleep mode;
and when the timing data does not need to be sent, clearing the watchdog and controlling the vehicle-mounted terminal to continuously enter a sleep mode.
In this embodiment, the timed wake-up signal (timed alarm clock wake-up) is sent at a certain time interval, and when the timed wake-up signal is received, if it is determined that the condition for sending the timed data is met, the communication module is woken up, and the timed data is sent through the communication module. The vehicle-mounted terminal is in network connection with the background server in a dormant low-power-consumption state, can receive data in real time and can normally upload the data within a specified time.
And the second method comprises the following steps:
when the wake-up signal includes the external interrupt wake-up signal, controlling to wake up the vehicle-mounted terminal according to the wake-up signal, including:
controlling to wake up a first module in the vehicle-mounted terminal according to the external interrupt wake-up signal, and starting a Global Positioning System (GPS); the first module is used for executing a first control instruction triggered by the external interrupt wakeup signal.
It should be noted that the external interrupt wakeup is set for ensuring real-time processing of a randomly occurring event, where the external interrupt wakeup includes startup wakeup, abnormal wakeup, and the like, and after receiving the external interrupt wakeup signal, the external interrupt wakeup signal controls to wake up a first module in the vehicle-mounted terminal for executing an external interrupt related operation, where the first module corresponds to at least one module of the vehicle-mounted terminal according to a specific situation. Further, after the relevant operation of external interrupt awakening is completed, data related to the external interrupt awakening is fed back to the background server, so that the alarm function of the external interrupt is realized, and the safe operation and protection of the vehicle are guaranteed.
And the third is that:
when the wake-up signal includes the network data wake-up signal, controlling to wake up the vehicle-mounted terminal according to the wake-up signal, including:
and controlling to wake up a second module of the vehicle-mounted terminal according to the network data wake-up signal so as to enable the second module to execute a second control command carried by the network data wake-up signal.
It should be noted that the method includes receiving a network data wake-up signal sent by a background server, and controlling to wake up a second module used for executing the network data wake-up in the vehicle-mounted terminal, where the second module may correspond to at least one module of the vehicle-mounted terminal according to a command (a second control command) indicated in the network data wake-up. By receiving the network data wake-up signal sent by the background server in real time, the vehicle-mounted terminal can receive the instruction issued by the background server in a dormant low-power-consumption state, and can execute the functions of controlling the vehicle, collecting data and the like in real time.
Corresponding to the method embodiment, the embodiment of the invention also provides a control device of the vehicle-mounted terminal. The following describes a control device of a vehicle-mounted terminal according to an embodiment of the present invention.
As shown in fig. 2, the present invention provides a control apparatus of a vehicle-mounted terminal, the apparatus 200 including:
a detection module 201, configured to detect whether the vehicle-mounted terminal needs to enter a sleep mode;
a determining module 202, configured to determine, when it is detected that the vehicle-mounted terminal needs to enter a sleep mode, a sleep type that the vehicle-mounted terminal needs to execute;
the first control module 203 is configured to control the vehicle-mounted terminal to enter a sleep state corresponding to the sleep type according to the determined sleep type;
the receiving module 204 is configured to receive a wake-up signal in real time when the vehicle-mounted terminal is in a sleep mode;
and the second control module 205 is configured to control to wake up the vehicle-mounted terminal according to the wake-up signal, so that the vehicle-mounted terminal enters a non-sleep working state.
Optionally, the detection module 201 includes:
the first obtaining submodule is used for obtaining a first electric quantity value and vehicle state information of the storage battery; the battery is used for supplying power to the vehicle-mounted terminal in a vehicle flameout state; the vehicle state information includes: a flameout condition or an ignition condition;
the first detection submodule is used for detecting that the vehicle-mounted terminal needs to enter a sleep mode when the first electric quantity value is lower than a first threshold value and the vehicle is in a flameout state;
and the second detection submodule is used for detecting that the vehicle-mounted terminal enters a full-speed mode when the first electric quantity value is higher than a first threshold value or the vehicle is in an ignition state, wherein the full-speed mode is a mode that all modules of the vehicle-mounted terminal are in a normal working state.
Optionally, the determining module 202 includes:
the second acquisition submodule is used for acquiring the order state of the vehicle; wherein the order status comprises: with or without an order;
and the first determining submodule is used for determining the type of the dormancy which needs to be executed by the vehicle-mounted terminal according to the order state of the vehicle.
Optionally, the first determining submodule is specifically configured to:
when the order state of the vehicle is an order and the vehicle is in a flameout state, determining that the sleep type which needs to be executed by the vehicle-mounted terminal is as follows: the MCU module and the communication module of the vehicle-mounted terminal are not dormant, and the rest modules are dormant except the MCU module and the communication module in the vehicle-mounted terminal;
when the order state of the vehicle is no order and the vehicle is in a flameout state, determining that the sleep type which needs to be executed by the vehicle-mounted terminal is as follows: and all modules of the vehicle-mounted terminal are dormant.
Optionally, the wake-up signal includes at least one of:
a preset timing wake-up signal for waking up the vehicle-mounted terminal at a timing;
an external interrupt wake-up signal;
and the background server sends a network data wake-up signal.
Optionally, when the wake-up signal includes the timing wake-up signal, the second control module 605 is specifically configured to:
judging whether timing data needs to be sent or not according to the timing wake-up signal, wherein the timing data comprises a heartbeat data packet;
when the timing data is judged to need to be sent, a communication module is awakened and used for sending the timing data; after the communication module sends the timing data, clearing the watchdog and controlling the vehicle-mounted terminal to continuously enter a sleep mode;
and when the timing data does not need to be sent, clearing the watchdog and controlling the vehicle-mounted terminal to continuously enter a sleep mode.
Optionally, when the wake-up signal includes the external interrupt wake-up signal, the second control module 205 is specifically configured to:
controlling to wake up a first module in the vehicle-mounted terminal according to the external interrupt wake-up signal, and starting a Global Positioning System (GPS);
the first module is used for executing a first control instruction triggered by the external interrupt wakeup signal.
Optionally, when the wake-up signal includes the network data wake-up signal, the second control module 205 is specifically configured to:
and controlling to wake up a second module of the vehicle-mounted terminal according to the network data wake-up signal so as to enable the second module to execute a second control command carried by the network data wake-up signal.
The device is a device corresponding to the method embodiment, and all implementation manners in the method embodiment are applicable to the device embodiment, and the same technical effects as the method embodiment can be achieved.
As shown in fig. 3, as an implementation manner, the control method of the vehicle-mounted terminal may be specifically implemented as follows:
fig. 3 is a flowchart of a control method of the in-vehicle terminal, which realizes low power consumption control of the in-vehicle terminal. The method specifically comprises the following steps:
firstly, a process of executing dormancy by a terminal is as follows:
step 31, detecting whether the vehicle-mounted terminal needs to enter a sleep mode; specifically, when the vehicle is turned off and the electric quantity of the battery is lower than a first threshold value, the vehicle-mounted terminal needs to be controlled to enter a sleep mode.
Further, when it is detected that the vehicle-mounted terminal needs to perform the sleep, it is necessary to determine a type of the sleep that the vehicle-mounted terminal needs to perform, which may include:
in step 321, if an order is provided, the vehicle is shut down and the task execution of the vehicle-mounted terminal is completed, it is determined that the execution MCU and the communication module are not dormant. Specifically, in the vehicle-mounted terminal, other modules than the MCU and the communication module perform sleep.
And 322, if no order is made and the vehicle is flamed out, determining that all modules in the vehicle-mounted terminal are in sleep.
And 323, uploading data at regular time after dormancy. And the communication connection between the vehicle-mounted terminal and the background server is ensured by waking up the communication module at regular time and uploading the timing data.
And step 33, the vehicle-mounted terminal is in a dormant state.
According to the scheme, different low power consumption modes are executed according to different storage battery voltage states, vehicle states and order states by collecting the voltage states, the vehicle states and the order states of the small storage battery (storage battery). The method specifically comprises the following steps: when the vehicle is in an ignition state, the vehicle-mounted terminal enters a full-speed mode, and all modules work normally. When the vehicle has an order and the vehicle is in a flameout state, the execution communication module is started, and other modules are in a dormant state. When no order is provided, the vehicle-mounted terminal has no unexecuted task and the whole vehicle is in a dormant state, and all the modules enter the dormant state. The flexible support of a plurality of different low power consumption modes is realized.
Secondly, the terminal executes the awakening process after dormancy, which specifically comprises the following steps:
step 34, judging whether to awaken the vehicle-mounted terminal or not, and determining the type of awakening;
when the vehicle-mounted terminal is judged to need to be awakened, at least one of the awakening flows in the steps 351, 352 and 353 is correspondingly executed:
step 351, waking up by a timing alarm clock (timing waking up);
step 352, external interrupt wakeup;
step 353, waking up the network data;
after the wake-up procedure is executed, the method further comprises:
and step 36, the vehicle-mounted terminal is in a non-sleep state. By performing the wake-up of the vehicle-mounted terminal, the vehicle-mounted terminal enters a non-sleep state.
The three wake-up procedures are described below with reference to fig. 4 to 6.
As shown in fig. 4, it shows a flowchart of one implementation of the timed alarm clock wake-up. In step 33, when the vehicle-mounted terminal is in the sleep mode state, the waking may specifically include:
step 351, determining the awakening type as timed alarm clock awakening;
step 3511, determine whether to send timing data;
step 3512, if the timing data needs to be sent, waking up a module used for sending the timing data in the vehicle-mounted terminal; such as a communication module.
Step 3513, executing a data transmission flow to complete timing data transmission;
step 3514, after sending the timing data, clearing the watchdog. The terminal re-enters the sleep state. And if the timing data does not need to be sent, clearing the watchdog to enable the terminal to enter the dormant state again.
Through timing awakening, the communication module uploads timing data at a timing, and network link between the vehicle-mounted terminal and the background server is guaranteed.
As shown in fig. 5, a flow diagram of one implementation of an external interrupt wakeup is shown. In step 33, when the vehicle-mounted terminal is in the sleep mode state, the waking up may be performed through external interrupt, and specifically includes:
step 352, determining the wake-up type as external interrupt wake-up;
step 3521, waking up a module for executing external interrupt wakeup, and turning on a GPS; after receiving the external interrupt wake-up signal, the GPS is started through execution, and the vehicle is positioned.
Step 3522, after the external interrupt wakeup is performed, data related to the external interrupt wakeup is sent to the background server. By sending data related to external interrupt awakening to the background server, the alarm process of abnormal random interrupt events is realized, and the safety protection of vehicles is realized.
As shown in fig. 6, a flow chart of one implementation of wake-up of network data is shown. In step 33, when the vehicle-mounted terminal is in the sleep mode state, the waking up may specifically include:
step 353, determining the awakening type as network data awakening;
step 3531, wake up the CAN and wake up the communication module.
Step 3532, execute the command issued by the network.
In step 3533, the execution result is checked.
Step 3534, return the execution result to the backend server.
Through the steps of awakening the network data, the function that the vehicle-mounted terminal supports receiving the network data in the low power consumption mode is achieved.
Through the scheme, the time-sharing leasing vehicle-mounted terminal (vehicle-mounted terminal) is in network connection with the background server in the dormant low-power-consumption state, can receive data in real time and can normally upload the data in the appointed time. And the functions of controlling the vehicle, acquiring data and the like can be executed in real time after receiving the instruction issued by the background server in a low power consumption state. The power shortage risk of the small storage battery is reduced, the service life of the storage battery is prolonged, and the normal operation of the vehicle is guaranteed.
While the preferred embodiments of the present invention have been described, it will be understood by those skilled in the art that various changes and modifications may be made without departing from the spirit and scope of the invention as defined in the following claims.

Claims (11)

1. A control method of a vehicle-mounted terminal is characterized by comprising the following steps:
detecting whether the vehicle-mounted terminal needs to enter a sleep mode or not;
when the fact that the vehicle-mounted terminal needs to enter a sleep mode is detected, determining the sleep type which the vehicle-mounted terminal needs to execute;
controlling the vehicle-mounted terminal to enter a sleep state corresponding to the sleep type according to the determined sleep type;
when the vehicle-mounted terminal is in a sleep mode, receiving a wake-up signal in real time;
and controlling to wake up the vehicle-mounted terminal according to the wake-up signal so as to enable the vehicle-mounted terminal to enter a non-dormant working state.
2. The method for controlling the vehicle-mounted terminal according to claim 1, wherein detecting whether the vehicle-mounted terminal needs to enter the sleep mode comprises:
acquiring a first electric quantity value and vehicle state information of a storage battery; the battery is used for supplying power to the vehicle-mounted terminal in a vehicle flameout state; the vehicle state information includes: a flameout condition or an ignition condition;
when the first electric quantity value is lower than a first threshold value and the vehicle is in a flameout state, detecting that the vehicle-mounted terminal needs to enter a sleep mode;
and when the first electric quantity value is higher than a first threshold value or the vehicle is in an ignition state, detecting that the vehicle-mounted terminal enters a full-speed mode, wherein the full-speed mode is a mode that all modules of the vehicle-mounted terminal are in a normal working state.
3. The method for controlling the vehicle-mounted terminal according to claim 1, wherein when it is detected that the vehicle-mounted terminal needs to enter the sleep mode, determining the sleep type that the vehicle-mounted terminal needs to execute comprises:
acquiring the order state of the vehicle;
wherein the order status comprises: with or without an order;
and determining the type of the dormancy to be executed by the vehicle-mounted terminal according to the order state of the vehicle.
4. The method for controlling the vehicle-mounted terminal according to claim 3, wherein determining the type of the sleep that the vehicle-mounted terminal needs to execute according to the order state of the vehicle comprises:
when the order state of the vehicle is an order and the vehicle is in a flameout state, determining that the sleep type which needs to be executed by the vehicle-mounted terminal is as follows: the MCU module and the communication module of the vehicle-mounted terminal are not dormant, and the rest modules are dormant except the MCU module and the communication module in the vehicle-mounted terminal;
when the order state of the vehicle is no order and the vehicle is in a flameout state, determining that the sleep type which needs to be executed by the vehicle-mounted terminal is as follows: and all modules of the vehicle-mounted terminal are dormant.
5. The method according to claim 1, wherein the wake-up signal comprises at least one of:
a preset timing wake-up signal for waking up the vehicle-mounted terminal at a timing;
an external interrupt wake-up signal;
and the background server sends a network data wake-up signal.
6. The method for controlling the vehicle-mounted terminal according to claim 5, wherein when the wake-up signal comprises the timing wake-up signal, controlling to wake up the vehicle-mounted terminal according to the wake-up signal comprises:
judging whether timing data needs to be sent or not according to the timing wake-up signal, wherein the timing data comprises a heartbeat data packet;
when the timing data is judged to need to be sent, a communication module is awakened and used for sending the timing data; after the communication module sends the timing data, clearing the watchdog and controlling the vehicle-mounted terminal to continuously enter a sleep mode;
and when the timing data does not need to be sent, clearing the watchdog and controlling the vehicle-mounted terminal to continuously enter a sleep mode.
7. The method for controlling the vehicle-mounted terminal according to claim 5, wherein when the wake-up signal includes the external interrupt wake-up signal, controlling to wake up the vehicle-mounted terminal according to the wake-up signal comprises:
controlling to wake up a first module in the vehicle-mounted terminal according to the external interrupt wake-up signal, and starting a Global Positioning System (GPS);
the first module is used for executing a first control instruction triggered by the external interrupt wakeup signal.
8. The method for controlling the vehicle-mounted terminal according to claim 5, wherein when the wake-up signal includes the network data wake-up signal, controlling to wake up the vehicle-mounted terminal according to the wake-up signal comprises:
and controlling to wake up a second module of the vehicle-mounted terminal according to the network data wake-up signal so as to enable the second module to execute a second control command carried by the network data wake-up signal.
9. A control device for a vehicle-mounted terminal, comprising:
the detection module is used for detecting whether the vehicle-mounted terminal needs to enter a sleep mode;
the determining module is used for determining the sleep type which needs to be executed by the vehicle-mounted terminal when the vehicle-mounted terminal is detected to need to enter the sleep mode;
the first control module is used for controlling the vehicle-mounted terminal to enter a sleep state corresponding to the sleep type according to the determined sleep type;
the receiving module is used for receiving the awakening signal in real time when the vehicle-mounted terminal is in the sleep mode;
and the second control module is used for controlling and awakening the vehicle-mounted terminal according to the awakening signal so as to enable the vehicle-mounted terminal to enter a non-dormant working state.
10. An automobile, characterized in that the automobile comprises a processor, a memory, and a computer program stored on the memory and operable on the processor, the processor implementing the steps of the control method of the in-vehicle terminal according to any one of claims 1 to 8 when executing the computer program.
11. A computer-readable storage medium, characterized in that the computer-readable storage medium has stored thereon a computer program which, when executed by a processor, implements the steps of the control method of the in-vehicle terminal according to any one of claims 1 to 8.
CN201910898765.4A 2019-09-23 2019-09-23 Control method and device of vehicle-mounted terminal and automobile Pending CN112537265A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910898765.4A CN112537265A (en) 2019-09-23 2019-09-23 Control method and device of vehicle-mounted terminal and automobile

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910898765.4A CN112537265A (en) 2019-09-23 2019-09-23 Control method and device of vehicle-mounted terminal and automobile

Publications (1)

Publication Number Publication Date
CN112537265A true CN112537265A (en) 2021-03-23

Family

ID=75012976

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910898765.4A Pending CN112537265A (en) 2019-09-23 2019-09-23 Control method and device of vehicle-mounted terminal and automobile

Country Status (1)

Country Link
CN (1) CN112537265A (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113393595A (en) * 2021-05-19 2021-09-14 上汽通用五菱汽车股份有限公司 Vehicle monitoring method, vehicle-mounted terminal and computer-readable storage medium
CN113613200A (en) * 2021-07-30 2021-11-05 江铃汽车股份有限公司 Bluetooth control method, system and automobile
CN113978398A (en) * 2021-10-29 2022-01-28 北京乐驾科技有限公司 System and method for detecting automobile ignition moment, electronic equipment and storage medium
CN114389888A (en) * 2022-01-20 2022-04-22 高新兴物联科技有限公司 Vehicle-mounted equipment, network awakening method and device thereof, and storage medium
CN114655144A (en) * 2022-03-09 2022-06-24 南京北路智控科技股份有限公司 Switching method and system for power-saving working mode of mining intrinsic safety type vehicle-mounted terminal
CN114691222A (en) * 2022-03-01 2022-07-01 深圳市武迪电子科技有限公司 High-reliability CAN dormancy awakening method for microprocessor

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104890594A (en) * 2015-04-20 2015-09-09 成都亿盟恒信科技有限公司 Vehicle-mounted wireless terminal capable of intelligent sleep and multistage sleep method of vehicle-mounted wireless terminal
CN105446238A (en) * 2016-01-05 2016-03-30 北京卓识达软件有限公司 Dormancy method and system of vehicle-mounted terminal, and vehicle-mounted terminal
CN105704738A (en) * 2014-11-25 2016-06-22 上海汽车集团股份有限公司 Communication control method and communication control device
CN105992321A (en) * 2015-03-05 2016-10-05 北京智视信息科技有限公司 Low power consumption vehicle networking terminal device and operation method thereof
CN106375396A (en) * 2016-08-30 2017-02-01 乐视控股(北京)有限公司 Method and device for dormancy and awakening of vehicle-mounted intelligent terminal
CN108648397A (en) * 2018-06-12 2018-10-12 上海博泰悦臻电子设备制造有限公司 Alarm system and method

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105704738A (en) * 2014-11-25 2016-06-22 上海汽车集团股份有限公司 Communication control method and communication control device
CN105992321A (en) * 2015-03-05 2016-10-05 北京智视信息科技有限公司 Low power consumption vehicle networking terminal device and operation method thereof
CN104890594A (en) * 2015-04-20 2015-09-09 成都亿盟恒信科技有限公司 Vehicle-mounted wireless terminal capable of intelligent sleep and multistage sleep method of vehicle-mounted wireless terminal
CN105446238A (en) * 2016-01-05 2016-03-30 北京卓识达软件有限公司 Dormancy method and system of vehicle-mounted terminal, and vehicle-mounted terminal
CN106375396A (en) * 2016-08-30 2017-02-01 乐视控股(北京)有限公司 Method and device for dormancy and awakening of vehicle-mounted intelligent terminal
CN108648397A (en) * 2018-06-12 2018-10-12 上海博泰悦臻电子设备制造有限公司 Alarm system and method

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
徐小涛: "《现代通信电源技术及应用》", 31 July 2009 *

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113393595A (en) * 2021-05-19 2021-09-14 上汽通用五菱汽车股份有限公司 Vehicle monitoring method, vehicle-mounted terminal and computer-readable storage medium
CN113613200A (en) * 2021-07-30 2021-11-05 江铃汽车股份有限公司 Bluetooth control method, system and automobile
CN113613200B (en) * 2021-07-30 2024-04-16 江铃汽车股份有限公司 Bluetooth control method and system and automobile
CN113978398A (en) * 2021-10-29 2022-01-28 北京乐驾科技有限公司 System and method for detecting automobile ignition moment, electronic equipment and storage medium
CN114389888A (en) * 2022-01-20 2022-04-22 高新兴物联科技有限公司 Vehicle-mounted equipment, network awakening method and device thereof, and storage medium
CN114389888B (en) * 2022-01-20 2024-03-08 高新兴物联科技股份有限公司 Vehicle-mounted equipment, network awakening method and device thereof and storage medium
CN114691222A (en) * 2022-03-01 2022-07-01 深圳市武迪电子科技有限公司 High-reliability CAN dormancy awakening method for microprocessor
CN114655144A (en) * 2022-03-09 2022-06-24 南京北路智控科技股份有限公司 Switching method and system for power-saving working mode of mining intrinsic safety type vehicle-mounted terminal
CN114655144B (en) * 2022-03-09 2024-04-16 南京北路智控科技股份有限公司 Mining intrinsic safety type vehicle-mounted terminal power-saving working mode switching method and system

Similar Documents

Publication Publication Date Title
CN112537265A (en) Control method and device of vehicle-mounted terminal and automobile
US6367022B1 (en) Power management fault strategy for automotive multimedia system
US6944779B2 (en) Power management fault strategy for automotive multimedia system
CN104035395A (en) Low power consumption vehicle-mounted terminal and low power consumption achieving method of vehicle-mounted terminal
CN101662370B (en) Dormancy/wakening method for server and server with dormancy/wakening function
JP4467160B2 (en) Engine start management in automotive computer systems
CN112208470B (en) Method for realizing low power consumption of equipment and vehicle-mounted terminal
KR102562458B1 (en) Dormancy controlling method for on board computing platform, device and readable storage medium
CN110360721B (en) Power consumption control method and device of air conditioner, storage medium and air conditioner
CN113525094B (en) Battery control method and device, vehicle system and storage medium
CN113923137A (en) Whole vehicle bus network abnormity monitoring method and system
CN116331231A (en) Vehicle-mounted terminal, automatic driving vehicle, control method and electronic equipment
CN111857841A (en) Awakening method of main control chip, storage medium and intelligent terminal
CN113259904B (en) Marine network system, method and computer readable storage medium
CN115402126A (en) Automobile quick charging control method, electronic equipment and storage medium
CN115729124A (en) Power management method, device, medium, domain controller, vehicle-mounted system and vehicle
CN114083984A (en) New energy vehicle static power supply control method and system
CN109857237B (en) Low-power-consumption control method for industrial vehicle-mounted display screen and industrial vehicle-mounted display device
CN103123463A (en) Method and device for controlling states of system
CN117841875A (en) Power supply system control method and device for vehicle and electronic equipment
CN111664081B (en) Control method and device for cooling water pump
CN117112277A (en) Standby exception handling method and related equipment of vehicle-mounted information entertainment system
CN114816474A (en) Power supply management method under abnormal vehicle OTA (over the air) upgrading condition
CN117608263A (en) Vehicle power consumption control method and system, vehicle and storage medium
CN117841765A (en) Automatic power supply method and device and computer equipment

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
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20210323