CN116302137A - Quick start method, automobile and storage medium - Google Patents

Quick start method, automobile and storage medium Download PDF

Info

Publication number
CN116302137A
CN116302137A CN202310301392.4A CN202310301392A CN116302137A CN 116302137 A CN116302137 A CN 116302137A CN 202310301392 A CN202310301392 A CN 202310301392A CN 116302137 A CN116302137 A CN 116302137A
Authority
CN
China
Prior art keywords
control unit
condition
operating system
micro control
automobile
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
CN202310301392.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.)
Chongqing Changan Automobile Co Ltd
Original Assignee
Chongqing Changan Automobile 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 Chongqing Changan Automobile Co Ltd filed Critical Chongqing Changan Automobile Co Ltd
Priority to CN202310301392.4A priority Critical patent/CN116302137A/en
Publication of CN116302137A publication Critical patent/CN116302137A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/4401Bootstrapping
    • G06F9/4418Suspend and resume; Hibernate and awake
    • 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
    • B60R16/0231Circuits relating to the driving or the functioning of the vehicle
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/445Program loading or initiating
    • G06F9/44505Configuring for program initiating, e.g. using registry, configuration files
    • 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
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Security & Cryptography (AREA)
  • Automation & Control Theory (AREA)
  • Mechanical Engineering (AREA)
  • Power Sources (AREA)

Abstract

The application discloses a quick start method, an automobile and a storage medium. The method comprises the following steps: receiving a control signal of an automobile through a micro control unit; under the condition that the control signal is a shutdown signal, receiving a registration key task through the micro control unit; judging whether the micro control unit receives a key registration task within a preset time interval; judging whether the vehicle-mounted system meets a sleep condition or not under the condition that the micro control unit does not receive a registration key task within a preset time interval; under the condition that the vehicle-mounted system meets the dormancy condition, sequentially controlling the controller local area network bus, the cabin entertainment system, the QNX operating system, the remote information processor and the micro control unit to enter the dormancy state so as to control the vehicle-mounted system of the automobile to be rapidly powered off. The automobile in the application can realize the quick start and the quick shutdown of the automobile through dormancy and awakening dormancy, is favorable to reducing the energy consumption of the system and improves the use experience of a user.

Description

Quick start method, automobile and storage medium
Technical Field
The application relates to the technical field of vehicle-mounted entertainment systems, in particular to a quick start method, an automobile and a storage medium.
Background
The automobile is taken as a riding instead of walking tool for people, brings various convenience to the life of people, forms a part of the life of people, and the requirements of people on vehicle-mounted systems are continuously improved nowadays. Currently, most vehicle-mounted entertainment systems are developed based on 8155 chips, and the vehicle-mounted entertainment systems comprise QNX instrument systems, namely the whole vehicle-mounted entertainment system realized by starting a Hypervisor virtual process by QNX and starting an android cabin entertainment system in the Hypervisor. However, the startup time and the shutdown time of the android system are long, which can seriously affect the experience of the user. In addition, if the vehicle system is in a standby state for a long time, the battery power can be rapidly consumed, so that the electric power of the electric vehicle is greatly consumed or the battery power of the fuel vehicle is consumed to influence the ignition starting.
Therefore, the 8155 vehicle system in the prior art has the problems of low startup and shutdown speed and higher energy consumption.
Disclosure of Invention
The embodiment of the application aims to provide a quick start method, an automobile and a storage medium, which are used for solving the problems of slow start and shutdown speed and higher energy consumption of a 8155 automobile machine system in the prior art.
In order to achieve the above object, a first aspect of the present application provides a method for fast power on/off, applied to an automobile, the automobile including a QNX operating system, a controller area network bus, a cabin entertainment system, a micro control unit, and a telematics unit, the micro control unit being in communication with the QNX operating system, the controller area network bus, the cabin entertainment system, and the telematics unit, respectively, the QNX operating system being in communication with the cabin entertainment system, the method comprising:
receiving a control signal of an automobile through a micro control unit;
under the condition that the control signal is a shutdown signal, receiving a registration key task through the micro control unit;
judging whether the micro control unit receives a key registration task within a preset time interval;
judging whether the vehicle-mounted system meets a sleep condition or not under the condition that the micro control unit does not receive a registration key task within a preset time interval;
under the condition that the vehicle-mounted system meets the dormancy condition, sequentially controlling the controller local area network bus, the cabin entertainment system, the QNX operating system, the remote information processor and the micro control unit to enter the dormancy state so as to control the vehicle-mounted system of the automobile to be rapidly powered off.
In an embodiment of the present application, the method further includes:
sending a shutdown signal to a cabin entertainment system and a QNX operating system through a micro control unit;
detecting whether a cabin entertainment system and a QNX operating system have critical tasks or not;
in case of critical tasks of the cabin entertainment system and/or the QNX operating system, the critical tasks are registered and sent to the micro control unit.
In an embodiment of the present application, the method further includes:
in the case that the cabin entertainment system and/or the QNX operating system have critical tasks, performing the critical tasks;
and under the condition that the execution of the critical task is completed, stopping registering the critical task and sending an execution completion signal to the micro control unit.
In this embodiment of the present application, sequentially controlling the controller lan bus, the cabin entertainment system, the QNX operating system, the telematics unit, and the micro control unit to enter a sleep state, so as to control the vehicle-mounted system of the automobile to quickly shut down includes:
a dormancy message is sent to a controller area network bus through a micro control unit so as to control the controller area network bus to dormancy;
under the condition that the controller area network bus finishes dormancy, a dormancy message is sent to the QNX operating system through the micro control unit;
simulating a keyPower key message and sending the key message to a cabin entertainment system under the condition that the QNX operating system receives the dormancy message;
and under the condition that the cabin entertainment system receives the keyPower key message, controlling the cabin entertainment system to enter an STR sleep state.
In an embodiment of the present application, the method further includes:
under the condition that the cabin entertainment system enters an STR dormant state, controlling the QNX operating system to enter the STR dormant state;
under the condition that the QNX operating system enters a dormant state, sending a dormant message to a remote information processor through a micro control unit;
and under the condition that the remote information processor enters a dormant state, controlling the micro control unit to enter a low-energy consumption mode so as to enable an on-board system of the automobile to be quickly powered off.
In an embodiment of the present application, the method further includes:
under the condition that the control signal is a starting signal, controlling the micro control unit to execute a power-on flow and sending a wake-up message to the remote information processor and the QNX operating system;
under the condition that the remote information processor receives the wake-up message, controlling the remote information processor to recover to a normal working state;
under the condition that the QNX operating system receives the wake-up message, controlling the QNX operating system to recover to a normal working state;
under the condition that the QNX operating system is restored to a normal working state, controlling the QNX operating system to send a wake-up message to the cabin entertainment system through a virtual key event;
and under the condition that the cabin entertainment system receives the wake-up message, controlling the cabin entertainment system to recover to a normal working state from the STR mode so as to control the on-board system of the automobile to start.
In an embodiment of the present application, the power-on signal includes at least one of the following:
a starting signal sent by a local area network bus of the whole vehicle controller;
a power supply is switched to a starting signal generated by a starting gear;
the remote information processor wakes up a starting signal generated by the micro control unit;
and (5) a startup signal sent at fixed time.
A second aspect of the present application provides a controller comprising:
a memory configured to store instructions; and
a processor configured to call instructions from memory and to enable the above-described method of fast power up and down when executing the instructions.
A third aspect of the present application provides an automobile, comprising:
the controller described above;
a micro control unit in communication with the controller;
a remote information processor which is respectively communicated with the controller and the micro control unit;
a controller area network bus which is respectively communicated with the controller and the micro control unit;
the QNX operating system is respectively communicated with the controller and the micro-control unit;
a cabin entertainment system in communication with the controller, the micro-control unit, and the QNX operating system, respectively.
A fourth aspect of the present application provides a machine-readable storage medium having stored thereon instructions for causing a machine to perform the method of fast power on and off described above.
Through the technical scheme, the control signal of the automobile is received through the micro control unit; under the condition that the control signal is a shutdown signal, receiving a registration key task through the micro control unit; judging whether the micro control unit receives a key registration task within a preset time interval; judging whether the vehicle-mounted system meets a sleep condition or not under the condition that the micro control unit does not receive a registration key task within a preset time interval; under the condition that the vehicle-mounted system meets the dormancy condition, sequentially controlling the controller local area network bus, the cabin entertainment system, the QNX operating system, the remote information processor and the micro control unit to enter the dormancy state so as to control the vehicle-mounted system of the automobile to be rapidly powered off. The automobile in the application can realize the quick start and the quick shutdown of the automobile through dormancy and awakening dormancy, is favorable to reducing the energy consumption of the system and improves the use experience of a user.
Additional features and advantages of embodiments of the present application will be set forth in the detailed description that follows.
Drawings
The accompanying drawings are included to provide a further understanding of embodiments of the present application and are incorporated in and constitute a part of this specification, illustrate embodiments of the present application and together with the description serve to explain, without limitation, the embodiments of the present application. In the drawings:
fig. 1 is a schematic structural diagram of an automobile according to an embodiment of the present application;
fig. 2 is a flowchart of a method for fast power-on and power-off according to an embodiment of the present application
Fig. 3 is a block diagram of a controller according to an embodiment of the present application.
Wherein, 100-the micro control unit; 200-a telematics processor; a 300-QNX operating system; 400-cabin entertainment system; 500-controller area network bus.
Detailed Description
For the purposes of making the objects, technical solutions and advantages of the embodiments of the present application more clear, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it should be understood that the specific implementations described herein are only for illustrating and explaining the embodiments of the present application, and are not intended to limit the embodiments of the present application. All other embodiments, which can be made by one of ordinary skill in the art without undue burden from the present disclosure, are within the scope of the present application based on the embodiments herein.
It should be noted that, in the embodiment of the present application, directional indications (such as up, down, left, right, front, and rear … …) are referred to, and the directional indications are merely used to explain the relative positional relationship, movement conditions, and the like between the components in a specific posture (as shown in the drawings), and if the specific posture is changed, the directional indications are correspondingly changed.
In addition, if there is a description of "first", "second", etc. in the embodiments of the present application, the description of "first", "second", etc. is for descriptive purposes only and is not to be construed as indicating or implying a relative importance or implicitly indicating the number of technical features indicated. Thus, a feature defining "a first" or "a second" may explicitly or implicitly include at least one such feature. In addition, the technical solutions of the embodiments may be combined with each other, but it is necessary to base that the technical solutions can be realized by those skilled in the art, and when the technical solutions are contradictory or cannot be realized, the combination of the technical solutions should be regarded as not exist and not within the protection scope of the present application.
Fig. 1 is a schematic structural diagram of an automobile according to an embodiment of the present application. As shown in fig. 1, the embodiment of the present application provides an automobile, which uses a qnx+android onboard system, including a QNX operating system 300, a controller area network bus 500 (Controller Area Network, CAN), a cabin entertainment system 400, a micro-control unit 100 (Microcontroller Unit, MCU), and a Telematics BOX 200 (Tbox). The micro control unit 100 is responsible for power related timing, initiating sleep requests, controlling a screen backlight power switch and an audio switch, and the like, and is also responsible for exception handling of a final stage. The controller area network bus 500 is directly connected to the micro control unit 100. The QNX operating system 300 is an on-board instrument system, communicates with the MCU, runs on a 8155 chip, and is used for providing a hupervisor virtual process. 8155 is a general-purpose multifunctional programmable RAM/IO expander, programmable meaning that its function can be changed by the instructions of a computer. The cabin entertainment system 400 employs an android system in communication with the MCU for providing in-car entertainment services, and the cabin entertainment system 400 is started by the Hypervisor virtual process of the QNX operating system 300. The telematics unit 200 communicates with the MCU, also known as an onboard T-BOX, for providing network services to the overall system, and is integrated in the form of a module on a 8155 chip. The remote information processor is a component of the Internet of vehicles system, and the Internet of vehicles system comprises four parts, namely a host, the remote information processor, a mobile phone APP and a background system. Through the structure, the QNX instrument system and android entertainment system on the 8155 chip can be quickly powered off, so that the vehicle can be quickly started and powered off.
Fig. 2 is a flowchart of a method for fast power-on and power-off according to an embodiment of the present application. As shown in fig. 1, an embodiment of the present application provides a method for fast power on and power off, applied to an automobile, where the automobile includes a QNX operating system, a controller area network bus, a cabin entertainment system, a micro control unit, and a telematics unit, the micro control unit communicates with the QNX operating system, the controller area network bus, the cabin entertainment system, and the telematics unit, and the QNX operating system communicates with the cabin entertainment system, the method may include the following steps:
step 101, receiving control signals of an automobile through a micro control unit;
102, receiving a registration key task through a micro control unit under the condition that a control signal is a shutdown signal;
step 103, judging whether the micro control unit receives a registration key task in a preset time interval;
104, judging whether the vehicle-mounted system meets a sleep condition under the condition that the micro control unit does not receive a registration key task within a preset time interval;
step 105, under the condition that the vehicle-mounted system meets the sleep condition, sequentially controlling the controller local area network bus, the cabin entertainment system, the QNX operating system, the remote information processor and the micro control unit to enter a sleep state so as to control the vehicle-mounted system of the automobile to be quickly powered off.
In the embodiment of the application, the control signal of the automobile may include a start signal and a shutdown signal. In one example, the control signal of the vehicle is a shutdown signal when the power range of the vehicle is switched from ON to OFF. In another example, when the control signal of the automobile is a start signal, there may be multiple wake-up sources, for example, the entire automobile CAN wake-up, the power gear is switched from OFF to ON, the Tbox wakes up the MCU, and the timing wakes up, which may trigger the start signal.
In the embodiment of the present application, in the case where the control signal is a shutdown signal, the implementation manner of the sleep flow of the vehicle may be as follows:
after receiving the starting signal, the MCU starts to receive key task registration of each controller. In one example, the MCU is directly connected to the CAN bus, and may receive a shutdown signal from the CAN bus that the power state is switched from ON to OFF. In another example, the QNX operating system and the cabin entertainment system may receive the shutdown signal from the SPI of the MCU to monitor whether they are being tasked by the key, and if so, send a message to the MCU to register the key; and if the key task does not exist, sending a message to the MCU to inform the MCU.
Further, the process of receiving the registration of the critical tasks of each controller by the MCU has a timeout mechanism with a preset time interval, and it is required to determine whether the micro control unit receives the registration of the critical tasks within the preset time interval. In one example, the preset time interval may be set according to actual requirements. And in a preset time interval, if the MCU does not receive any controller key task registration, executing a judging program of whether the sleep condition is met. In one example, when the micro control unit receives the registration key task within a preset time interval, the timing is cleared, and the timing is rechemed and judged. For example, the preset time interval is 5 seconds, if the MCU does not receive any controller critical task registration within 5 seconds, executing a judging program of whether the sleep condition is satisfied; if the key task registration is received within 5 seconds, the time is cleared, and the timeout mechanism for 5 seconds is rechemed.
Further, after executing the judging program of whether the sleep condition is met, under the condition that the vehicle-mounted system meets the sleep condition, the CAN, the cabin entertainment system, the QNX operating system, the Tbox and the CAN are sequentially controlled to enter the sleep state so as to control the vehicle-mounted system of the automobile to be quickly powered off. Specifically, the MCU initiates CAN dormancy first, and after CAN dormancy is completed, the MCU sends dormancy information to the QNX operating system. After receiving the dormancy message, the QNX operating system sends the dormancy message to the cabin entertainment system, and the cabin entertainment system enters a dormancy state; when the QNX operating system detects that the cabin entertainment system enters the sleep state, the QNX operating system enters the sleep state and feeds back to the MCU. And after receiving the message that both the QNX operating system and the cabin entertainment system enter the sleep state, the MCU initiates Tbox sleep, and finally the MCU enters a low-energy mode, so that the whole vehicle-mounted system completes the sleep, and the vehicle-mounted system of the automobile is rapidly powered off. Through the technical scheme, the control signal of the automobile is received through the micro control unit; under the condition that the control signal is a shutdown signal, receiving a registration key task through the micro control unit; judging whether the micro control unit receives a key registration task within a preset time interval; judging whether the vehicle-mounted system meets a sleep condition or not under the condition that the micro control unit does not receive a registration key task within a preset time interval; under the condition that the vehicle-mounted system meets the dormancy condition, sequentially controlling the controller local area network bus, the cabin entertainment system, the QNX operating system, the remote information processor and the micro control unit to enter the dormancy state so as to control the vehicle-mounted system of the automobile to be rapidly powered off. The automobile in the application can realize the quick start and the quick shutdown of the automobile through dormancy and awakening dormancy, is favorable to reducing the energy consumption of the system and improves the use experience of a user.
In an embodiment of the present application, the method may further include:
sending a shutdown signal to a cabin entertainment system and a QNX operating system through a micro control unit;
detecting whether a cabin entertainment system and a QNX operating system have critical tasks or not;
in case of critical tasks of the cabin entertainment system and/or the QNX operating system, the critical tasks are registered and sent to the micro control unit.
In the embodiment of the application, after receiving the power-on signal, the power-off signal may be sent to the cabin entertainment system and the QNX operating system through the MCU, and the QNX operating system and the cabin entertainment system may receive the power-off signal from the SPI of the MCU. At the same time, the cabin entertainment system and the QNX operating system each monitor whether the cabin entertainment system and the QNX operating system have critical tasks, namely whether the cabin entertainment system and the QNX operating system have unprocessed tasks, such as OAT upgrading and child monitoring modes and the like. If no critical task exists, the cabin entertainment system and the QNX operating system send a message to the MCU to inform the MCU, respectively. If one of the cabin entertainment system and the QNX operating system has a critical task or both the cabin entertainment system and the QNX operating system have a critical task, a message registration critical task is sent to the MCU every set time. The set time is less than a preset time interval, for example, the preset time interval is 5 seconds, and the set time may be 2 seconds. Therefore, intelligent judgment of the shutdown program can be realized, so that the safety of the whole vehicle system is improved, and the use experience of a user is improved.
In an embodiment of the present application, the method may further include:
in the case that the cabin entertainment system and/or the QNX operating system have critical tasks, performing the critical tasks;
and under the condition that the execution of the critical task is completed, stopping registering the critical task and sending an execution completion signal to the micro control unit.
In the embodiment of the application, if one of the cabin entertainment system and the QNX operating system has a critical task, or the cabin entertainment system and the QNX operating system both have a critical task, the critical task can be continuously executed while a message is sent to the MCU every set time to register the critical task. And under the condition that the execution of the critical task is completed, stopping sending a message to the MCU to register the critical task, and sending an execution completion signal to the MCU. Therefore, the automobile can safely enter the shutdown state, the safety of the whole automobile system is improved, and the use experience of a user is improved.
In this embodiment of the present application, sequentially controlling the controller lan bus, the cabin entertainment system, the QNX operating system, the telematics unit, and the micro control unit to enter a sleep state, so as to control the vehicle-mounted system of the automobile to quickly shut down may include:
a dormancy message is sent to a controller area network bus through a micro control unit so as to control the controller area network bus to dormancy;
under the condition that the controller area network bus finishes dormancy, a dormancy message is sent to the QNX operating system through the micro control unit;
simulating a keyPower key message and sending the key message to a cabin entertainment system under the condition that the QNX operating system receives the dormancy message;
and under the condition that the cabin entertainment system receives the keyPower key message, controlling the cabin entertainment system to enter an STR sleep state.
In the embodiment of the application, after the MCU judges that the condition of entering into dormancy is met, the MCU initiates CAN dormancy, and after the CAN dormancy is completed, the MCU CAN send dormancy information to the QNX operating system in a mode of pulling up GPIO. The QNX operating system receives the sleep message, and may simulate a keyPower key message to send to the cabin entertainment system to notify the cabin entertainment system of sleep. After the cabin entertainment system receives the keyPower key message, all processes of the cabin entertainment system can be suspended to enter a suspend state, so that the whole cabin entertainment system enters an STR dormant state.
In an embodiment of the present application, the method may further include:
under the condition that the cabin entertainment system enters an STR dormant state, controlling the QNX operating system to enter the STR dormant state;
under the condition that the QNX operating system enters a dormant state, sending a dormant message to a remote information processor through a micro control unit;
and under the condition that the remote information processor enters a dormant state, controlling the micro control unit to enter a low-energy consumption mode so as to enable an on-board system of the automobile to be quickly powered off.
In the embodiment of the application, after the QNX operating system detects that the cabin entertainment system enters the STR sleep state, the QNX operating system starts to enter the STR sleep state. After the QNX operating system enters STR, 8155 chip feeds back the sleep completion message of both cabin entertainment system and QNX operating system to MCU through PMIC IO port. Because the Tbox is the last controller disconnected from the server except the MCU, after the MCU receives a message that both the cabin entertainment system and the QNX operating system enter the STR sleep state, the MCU starts to initiate Tbox sleep. After the Tbox enters a dormant state, the MCU enters a low-power consumption mode, so that the whole vehicle-mounted system completes STR dormancy, and the vehicle-mounted system of the vehicle is rapidly powered off.
In an embodiment of the present application, the method may further include:
under the condition that the control signal is a starting signal, controlling the micro control unit to execute a power-on flow and sending a wake-up message to the remote information processor and the QNX operating system;
under the condition that the remote information processor receives the wake-up message, controlling the remote information processor to recover to a normal working state;
under the condition that the QNX operating system receives the wake-up message, controlling the QNX operating system to recover to a normal working state;
under the condition that the QNX operating system is restored to a normal working state, controlling the QNX operating system to send a wake-up message to the cabin entertainment system through a virtual key event;
and under the condition that the cabin entertainment system receives the wake-up message, controlling the cabin entertainment system to recover to a normal working state from the STR mode so as to control the on-board system of the automobile to start.
In this embodiment of the present application, when the control signal of the automobile is a startup signal, there may be multiple wake-up sources, for example, the entire automobile CAN wake-up ON network, the power gear is switched from OFF to ON, the Tbox wakes up the MCU, and the timing wakes up, where the above wake-up sources CAN trigger the startup signal.
Specifically, under the condition that the control signal of the automobile is a starting signal, the automobile machine system can realize quick starting in the following manner:
firstly, the MCU executes the power-on flow of some peripheral devices and screens, and sends a wake-up message to the Tbox and QNX operating systems by pulling the GPIO high. And after receiving the wake-up message, the Tbox resumes the relevant process or restarts the relevant process to complete normal network supply and work. After the QNX operating system receives the wake-up message through the GPIO, the interrupt triggers the QNX operating system Qcore and resumes the execution of the Resume process from STR mode. In one example, the system can be quickly awakened to restore to the state before Suspend by enabling data in DDR, so that quick response is realized to speed up the starting speed of the system. Furthermore, the whole QNX operating system re-activates the resources, the state and the like stored before entering the STR dormant state, the PMIC indicates that the pins are pulled down, and the SOC resumes to enter the normal working state. Further, the QNX operating system notifies the cabin entertainment to restore to a normal working state through a virtual key IO event. In the event that a wake-up message is received, the cabin entertainment system likewise resumes the execution of the Resume process from STR mode.
Therefore, through the process, the QNX operating system can realize quick recovery starting within 2 seconds, and the cabin entertainment system can realize quick recovery starting within 3 seconds, so that the whole automobile system of the automobile can be quickly started and normally works within 5 seconds, and the quick starting and starting of the whole automobile are realized.
In an embodiment of the present application, the power-on signal may include at least one of the following:
a starting signal sent by a local area network bus of the whole vehicle controller;
a power supply is switched to a starting signal generated by a starting gear;
the remote information processor wakes up a starting signal generated by the micro control unit;
and (5) a startup signal sent at fixed time.
In this embodiment of the present application, when the control signal of the automobile is a startup signal, there may be multiple wake-up sources, for example, the entire automobile CAN wake-up ON network, the power gear is switched from OFF to ON, the Tbox wakes up the MCU, and the timing wakes up, where all the four wake-up sources may trigger the startup signal. In one example, any one of conditions of CAN network wake-up, power gear switching from OFF to ON, tbox wake-up MCU and timing wake-up is satisfied, namely, a start-up signal is triggered, and the vehicle system is controlled to execute a start-up program. Therefore, a plurality of wake-up sources coexist, the user requirements can be better met, and the use experience of the user is improved.
Fig. 3 is a block diagram of a controller according to an embodiment of the present application. As shown in fig. 3, an embodiment of the present application provides a controller, which may include:
a memory 310 configured to store instructions; and
processor 320 is configured to call instructions from memory 310 and to implement the fast power on and off method described above when executing instructions.
Specifically, in embodiments of the present application, processor 320 may be configured to:
receiving a control signal of an automobile through a micro control unit;
under the condition that the control signal is a shutdown signal, receiving a registration key task through the micro control unit;
judging whether the micro control unit receives a key registration task within a preset time interval;
judging whether the vehicle-mounted system meets a sleep condition or not under the condition that the micro control unit does not receive a registration key task within a preset time interval;
under the condition that the vehicle-mounted system meets the dormancy condition, sequentially controlling the controller local area network bus, the cabin entertainment system, the QNX operating system, the remote information processor and the micro control unit to enter the dormancy state so as to control the vehicle-mounted system of the automobile to be rapidly powered off.
Further, the processor 320 may be further configured to:
sending a shutdown signal to a cabin entertainment system and a QNX operating system through a micro control unit;
detecting whether a cabin entertainment system and a QNX operating system have critical tasks or not;
in case of critical tasks of the cabin entertainment system and/or the QNX operating system, the critical tasks are registered and sent to the micro control unit.
Further, the processor 320 may be further configured to:
in the case that the cabin entertainment system and/or the QNX operating system have critical tasks, performing the critical tasks;
and under the condition that the execution of the critical task is completed, stopping registering the critical task and sending an execution completion signal to the micro control unit.
Further, the processor 320 may be further configured to:
sequentially controlling the controller local area network bus, the cabin entertainment system, the QNX operating system, the remote information processor and the micro control unit to enter a dormant state so as to control the vehicle-mounted system of the automobile to be quickly powered off, wherein the method comprises the following steps of:
a dormancy message is sent to a controller area network bus through a micro control unit so as to control the controller area network bus to dormancy;
under the condition that the controller area network bus finishes dormancy, a dormancy message is sent to the QNX operating system through the micro control unit;
simulating a keyPower key message and sending the key message to a cabin entertainment system under the condition that the QNX operating system receives the dormancy message;
and under the condition that the cabin entertainment system receives the keyPower key message, controlling the cabin entertainment system to enter an STR sleep state.
Further, the processor 320 may be further configured to:
under the condition that the cabin entertainment system enters an STR dormant state, controlling the QNX operating system to enter the STR dormant state;
under the condition that the QNX operating system enters a dormant state, sending a dormant message to a remote information processor through a micro control unit;
and under the condition that the remote information processor enters a dormant state, controlling the micro control unit to enter a low-energy consumption mode so as to enable an on-board system of the automobile to be quickly powered off.
Further, the processor 320 may be further configured to:
under the condition that the control signal is a starting signal, controlling the micro control unit to execute a power-on flow and sending a wake-up message to the remote information processor and the QNX operating system;
under the condition that the remote information processor receives the wake-up message, controlling the remote information processor to recover to a normal working state;
under the condition that the QNX operating system receives the wake-up message, controlling the QNX operating system to recover to a normal working state;
under the condition that the QNX operating system is restored to a normal working state, controlling the QNX operating system to send a wake-up message to the cabin entertainment system through a virtual key event;
and under the condition that the cabin entertainment system receives the wake-up message, controlling the cabin entertainment system to recover to a normal working state from the STR mode so as to control the on-board system of the automobile to start.
In an embodiment of the present application, the power-on signal includes at least one of the following:
a starting signal sent by a local area network bus of the whole vehicle controller;
a power supply is switched to a starting signal generated by a starting gear;
the remote information processor wakes up a starting signal generated by the micro control unit;
and (5) a startup signal sent at fixed time.
Through the technical scheme, the control signal of the automobile is received through the micro control unit; under the condition that the control signal is a shutdown signal, receiving a registration key task through the micro control unit; judging whether the micro control unit receives a key registration task within a preset time interval; judging whether the vehicle-mounted system meets a sleep condition or not under the condition that the micro control unit does not receive a registration key task within a preset time interval; under the condition that the vehicle-mounted system meets the dormancy condition, sequentially controlling the controller local area network bus, the cabin entertainment system, the QNX operating system, the remote information processor and the micro control unit to enter the dormancy state so as to control the vehicle-mounted system of the automobile to be rapidly powered off. The automobile in the application can realize the quick start and the quick shutdown of the automobile through dormancy and awakening dormancy, is favorable to reducing the energy consumption of the system and improves the use experience of a user.
As shown in fig. 1, an embodiment of the present application further provides an automobile, including:
the controller (not shown in the figures);
a micro control unit 100 in communication with the controller;
a telematics processor 200 in communication with the controller and the micro control unit 100, respectively;
a controller area network bus 500 in communication with the controller and the micro control unit 100, respectively;
a QNX operating system 300 in communication with the controller and the micro control unit 100, respectively;
cabin entertainment system 400 communicates with controller, micro-control unit 100, and QNX operating system 300, respectively.
In the embodiment of the present application, the micro control unit 100 is responsible for power related timing, initiating a sleep request, controlling a screen backlight power switch and an audio switch, and the like, and is also responsible for exception handling of a final stage. The controller area network bus 500 is directly connected to the micro control unit 100, and may transmit a power on signal or a power off signal generated by switching the power gear to the micro control unit 100. The QNX operating system 300 is an on-board instrument system, communicates with the MCU, runs on a 8155 chip, and is used for providing a hupervisor virtual process. The cabin entertainment system 400 employs an android system, which is a car-stand cabin entertainment system 400, in communication with the MCU for providing car-stand entertainment services, the cabin entertainment system 400 being started by a Hypervisor virtual process of the QNX operating system 300. The telematics processor 200 communicates with the MCU for providing network services to the overall system, integrated in the form of a module on the 8155 chip. Through the structure, the QNX instrument system and android entertainment system on the 8155 chip can be quickly powered off, so that the vehicle can be quickly started and powered off.
Embodiments of the present application also provide a machine-readable storage medium having stored thereon instructions for causing a machine to perform the above-described method of fast power on and off.
It will be appreciated by those skilled in the art that embodiments of the present application may be provided as a method, system, or computer program product. Accordingly, the present application may take the form of an entirely hardware embodiment, an entirely software embodiment, or an embodiment combining software and hardware aspects. Furthermore, the present application may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
The present application is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems) and computer program products according to embodiments of the application. It will be understood that each flow and/or block of the flowchart illustrations and/or block diagrams, and combinations of flows and/or blocks in the flowchart illustrations and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
In one typical configuration, a computing device includes one or more processors (CPUs), input/output interfaces, network interfaces, and memory.
The memory may include volatile memory in a computer-readable medium, random Access Memory (RAM) and/or nonvolatile memory, etc., such as Read Only Memory (ROM) or flash RAM. Memory is an example of a computer-readable medium.
Computer readable media, including both non-transitory and non-transitory, removable and non-removable media, may implement information storage by any method or technology. The information may be computer readable instructions, data structures, modules of a program, or other data. Examples of storage media for a computer include, but are not limited to, phase change memory (PRAM), static Random Access Memory (SRAM), dynamic Random Access Memory (DRAM), other types of Random Access Memory (RAM), read Only Memory (ROM), electrically Erasable Programmable Read Only Memory (EEPROM), flash memory or other memory technology, compact disc read only memory (CD-ROM), digital Versatile Discs (DVD) or other optical storage, magnetic cassettes, magnetic tape disk storage or other magnetic storage devices, or any other non-transmission medium, which can be used to store information that can be accessed by a computing device. Computer-readable media, as defined herein, does not include transitory computer-readable media (transmission media), such as modulated data signals and carrier waves.
It should also be noted that the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising one … …" does not exclude the presence of other like elements in a process, method, article or apparatus that comprises an element.
The foregoing is merely exemplary of the present application and is not intended to limit the present application. Various modifications and changes may be made to the present application by those skilled in the art. Any modifications, equivalent substitutions, improvements, etc. which are within the spirit and principles of the present application are intended to be included within the scope of the claims of the present application.

Claims (10)

1. A method of fast power on and off, characterized by being applied to an automobile, the automobile comprising a QNX operating system, a controller area network bus, a cabin entertainment system, a micro-control unit, and a telematics unit, the micro-control unit being in communication with the QNX operating system, the controller area network bus, the cabin entertainment system, and the telematics unit, respectively, the QNX operating system being in communication with the cabin entertainment system, the method comprising:
receiving a control signal of the automobile through a micro control unit;
receiving a registration key task through a micro control unit under the condition that the control signal is a shutdown signal;
judging whether the micro control unit receives a key registration task within a preset time interval;
judging whether the vehicle-mounted system meets a dormancy condition or not under the condition that the micro control unit does not receive a registration key task within the preset time interval;
and under the condition that the vehicle-mounted system meets the dormancy condition, sequentially controlling a controller local area network bus, the cabin entertainment system, the QNX operating system, the remote information processor and the micro control unit to enter a dormancy state so as to control the vehicle-mounted system of the automobile to be rapidly powered off.
2. The method according to claim 1, wherein the method further comprises:
sending the shutdown signal to the cabin entertainment system and the QNX operating system through a micro control unit;
detecting whether the cabin entertainment system and the QNX operating system have critical tasks;
in case the cabin entertainment system and/or the QNX operating system has a critical task, the critical task is registered and sent to the micro control unit.
3. The method according to claim 2, wherein the method further comprises:
executing critical tasks in case of the cabin entertainment system and/or the QNX operating system having the critical tasks;
and stopping registering the critical task and sending an execution completion signal to the micro control unit under the condition that the execution of the critical task is completed.
4. The method of claim 1, wherein the sequentially controlling the controller area network bus, the cabin entertainment system, the QNX operating system, the telematics processor, and the micro-control unit to enter a sleep state to control a fast shutdown of an on-board system of the automobile comprises:
sending a dormancy message to the controller area network bus through the micro control unit so as to control the controller area network bus to dormancy;
under the condition that the controller area network bus finishes dormancy, sending dormancy information to the QNX operating system through the micro control unit;
simulating a keyPower key message and sending the key message to the cabin entertainment system under the condition that the QNX operating system receives the dormancy message;
and under the condition that the cabin entertainment system receives the keyPower key message, controlling the cabin entertainment system to enter an STR dormant state.
5. The method according to claim 4, wherein the method further comprises:
controlling the QNX operating system to enter an STR sleep state under the condition that the cabin entertainment system enters the STR sleep state;
sending the sleep message to the remote information processor through the micro control unit under the condition that the QNX operating system enters a sleep state;
and under the condition that the remote information processor enters a dormant state, controlling the micro control unit to enter a low-energy consumption mode so as to enable the vehicle-mounted system of the automobile to be quickly powered off.
6. The method according to claim 1, wherein the method further comprises:
under the condition that the control signal is a starting signal, controlling the micro control unit to execute a power-on flow and sending a wake-up message to the remote information processor and the QNX operating system;
under the condition that the remote information processor receives the wake-up message, controlling the remote information processor to recover to a normal working state;
under the condition that the QNX operating system receives the wake-up message, controlling the QNX operating system to recover to a normal working state;
under the condition that the QNX operating system is restored to a normal working state, controlling the QNX operating system to send a wake-up message to the cabin entertainment system through a virtual key event;
and under the condition that the cabin entertainment system receives the wake-up message, controlling the cabin entertainment system to recover to a normal working state from an STR mode so as to control the on-board system of the automobile to start.
7. The method of claim 6, wherein the power-on signal comprises at least one of:
the whole vehicle controller local area network bus sends out a starting signal;
a power supply is switched to a starting signal generated by a starting gear;
the remote information processor wakes up a starting signal generated by the micro control unit;
and (5) a startup signal sent at fixed time.
8. A controller, comprising:
a memory configured to store instructions; and
a processor configured to invoke the instructions from the memory and when executing the instructions is capable of implementing a method of fast power on and off according to any of claims 1 to 7.
9. An automobile, comprising:
the controller according to claim 8;
a micro control unit in communication with the controller;
a telematics processor in communication with the controller and the micro control unit, respectively;
a controller area network bus in communication with the controller and the micro control unit, respectively;
a QNX operating system which is respectively communicated with the controller and the micro control unit;
and the cabin entertainment system is respectively communicated with the controller, the micro-control unit and the QNX operating system.
10. A machine-readable storage medium having stored thereon instructions for causing a machine to perform the method of fast power up and down according to any one of claims 1 to 7.
CN202310301392.4A 2023-03-24 2023-03-24 Quick start method, automobile and storage medium Pending CN116302137A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202310301392.4A CN116302137A (en) 2023-03-24 2023-03-24 Quick start method, automobile and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202310301392.4A CN116302137A (en) 2023-03-24 2023-03-24 Quick start method, automobile and storage medium

Publications (1)

Publication Number Publication Date
CN116302137A true CN116302137A (en) 2023-06-23

Family

ID=86816609

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202310301392.4A Pending CN116302137A (en) 2023-03-24 2023-03-24 Quick start method, automobile and storage medium

Country Status (1)

Country Link
CN (1) CN116302137A (en)

Similar Documents

Publication Publication Date Title
US6367022B1 (en) Power management fault strategy for automotive multimedia system
CN110385991B (en) Multimedia entertainment system of vehicle, control method and vehicle
CN106375396A (en) Method and device for dormancy and awakening of vehicle-mounted intelligent terminal
CN105599706B (en) A kind of standby management method and system of intelligent vehicle-carried information entertainment
CN115576258B (en) Vehicle chip system control method, system-on-chip and vehicle
CN102169329A (en) Vehicle-mounted information terminal and control method thereof
WO2012087533A1 (en) Minimizing resource latency between processor application states in a portable computing device by using a next-active state set
CN116302137A (en) Quick start method, automobile and storage medium
JP2000172384A (en) On-vehicle computer and its control method
CN115756622B (en) Chip control method and chip
CN108241361B (en) Vehicle power supply control method, controller and vehicle
CN115009187A (en) Parking power supply management method and system
CN106471436A (en) Vehicle infotainment system
JP2002041189A (en) Unintegruptible power supply device
CN113656085B (en) Meter starting method, apparatus, device, storage medium and program product
JP2002229791A (en) Interface generating device, program, and storage medium
CN112783678A (en) Vehicle-mounted terminal power-off processing method and system and vehicle-mounted terminal
CN113504825B (en) Energy-saving method and device for instrument system and storage medium
CN115599457B (en) Slave chip awakening and starting method based on SPI interface
CN114312618B (en) Control method and system for Internet of vehicles system
CN103677867A (en) Electronic device rapidly recovering starting-up state, control unit and control method of electronic device
CN113115417B (en) Wireless upgrading method and device for remote controller program, remote controller and electric appliance system
CN211166755U (en) Remote vehicle-mounted monitoring system
CN110277096B (en) Method and device for controlling voice function between terminals
CN115476787A (en) Vehicle cabin system and starting method thereof

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