Methods, devices, media, electronic equipment, and vehicles for starting electronic control units

By differentiating startup scenarios based on scenario markers and adopting differentiated startup methods, the problems of long ECU startup time and performance loss are solved, achieving a more efficient startup process.

CN123104549APending Publication Date: 2026-11-17XIAOMI EV TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202611552975.4
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2026-10-08
Publication Date
2026-11-17

AI Technical Summary

Technical Problem

In existing technologies, the startup time of vehicle ECUs is long and can easily cause unnecessary performance loss.

Method used

The startup scenarios are distinguished based on the scenario markers of the electronic control unit, and different startup methods are adopted, including sleep-wake scenarios and non-sleep-wake scenarios. Trust chain verification and anomaly handling are performed separately to avoid unnecessary end-to-end integrity verification.

Benefits of technology

It shortens the ECU startup time, avoids unnecessary performance loss, and improves startup efficiency.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN123104549A_ABST
    Figure CN123104549A_ABST
Patent Text Reader

Abstract

This disclosure belongs to the field of automotive technology and relates to a method, apparatus, medium, electronic device, and vehicle for starting an electronic control unit (ECU). The method includes: acquiring scene markers for the ECU, where each scene marker represents a startup scenario of the ECU. The scene markers include at least a first scene marker or a second scene marker, where the first scene marker represents a sleep-to-wake scenario and the second scene marker represents a non-sleep-to-wake scenario; and starting the ECU according to the startup method corresponding to each scene marker, with different scene markers corresponding to different startup methods. This disclosure allows the ECU to be started according to the startup method corresponding to each scene marker, distinguishing different startup scenarios in a smart cockpit, avoiding unnecessary performance loss, solving the problem of performing full-link integrity checks every time, and further addressing the issue of long startup times for the ECU.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This disclosure relates to the field of automotive technology, and in particular to a method for starting an electronic control unit, a device for starting an electronic control unit, a computer-readable storage medium, an electronic device, and a vehicle. Background Technology

[0002] Using a fixed procedure to start the vehicle's ECU (Electronic Control Unit) usually results in a long startup time and can easily cause unnecessary performance loss. Summary of the Invention

[0003] To overcome the problems existing in the related technologies, this disclosure provides a method for starting an electronic control unit, a device for starting an electronic control unit, a computer-readable storage medium, an electronic device, and a vehicle.

[0004] According to a first aspect of the present disclosure, a method for starting an electronic control unit is provided, comprising: Obtain the scene marker of the electronic control unit, the scene marker representing the startup scene of the electronic control unit, the scene marker including at least a first scene marker or a second scene marker, the first scene marker representing the startup scene of the electronic control unit is a sleep-wake scene, and the second scene marker representing the startup scene of the electronic control unit is a non-sleep-wake scene; The electronic control unit is activated according to the activation method corresponding to the scene marker, and the activation method is different for different scene markers.

[0005] In some possible implementations, activating the electronic control unit according to the activation method corresponding to the scene marker includes: In response to the scene being marked as the first scene, the electronic control unit is activated and the application is run.

[0006] In some possible implementations, the second scene marker includes at least a first sub-marker, which represents a normal power-on scene. The step of activating the electronic control unit according to the activation method corresponding to the scene marker includes: In response to the scenario being marked as the first sub-marker, a preset trust chain verification is performed to activate the electronic control unit.

[0007] In some possible implementations, the second scene marker includes at least a second sub-marker, which represents an abnormal restart scene. The step of activating the electronic control unit according to the activation method corresponding to the scene marker includes: In response to the scenario being marked as the second sub-marker, a preset trust chain verification is performed, and anomaly handling is performed using a target counter to activate the electronic control unit.

[0008] In some possible implementations, the step of using a target counter for anomaly handling to activate the electronic control unit includes: In response to passing the trust chain verification, the target counter is triggered to count; Upon startup of the electronic control unit, the application program is run to clear the target counter to zero.

[0009] In some possible implementations, the method further includes: In response to the application not running, the target counter is triggered to accumulate counts.

[0010] In some possible implementations, the method further includes: In response to the target counter reaching a preset threshold, the backup area being upgraded, and the storage space not being partitioned, the system switches from the execution area to the backup area. The storage space of the electronic control unit includes the execution area and the backup area.

[0011] In some possible implementations, the method further includes: In response to switching to the backup area and the target counter reaching a preset threshold again, the electronic control unit is flashed and upgraded.

[0012] According to a second aspect of the present disclosure, a starting device for an electronic control unit is provided, comprising: The tag acquisition module is configured to acquire scene tags of the electronic control unit, the scene tags representing the startup scene of the electronic control unit, the scene tags including a first scene tag or a second scene tag, the first scene tag representing the startup scene of the electronic control unit as a sleep-wake scene, and the second scene tag representing the startup scene of the electronic control unit as a non-sleep-wake scene; The differential start module is configured to start the electronic control unit according to the start method corresponding to the scene marker, and the start method corresponding to different scene markers is different.

[0013] In some possible implementations, the differential initiation module is configured to: In response to the scene being marked as the first scene, the electronic control unit is activated and the application is run.

[0014] According to a third aspect of the present disclosure, a computer-readable storage medium is provided that stores computer program instructions thereon, which, when executed by a processor, implement the steps of the starting method of the electronic control unit provided in any of the first aspects of the present disclosure.

[0015] According to a fourth aspect of the present disclosure, an electronic device is provided, comprising: processor; Memory used to store processor-executable instructions; The processor is configured to execute the executable instructions to implement the startup method of the electronic control unit provided in any of the first aspects of this disclosure.

[0016] According to a fifth aspect of the present disclosure, a vehicle is provided, comprising: processor; Memory used to store processor-executable instructions; The processor is configured to execute executable instructions stored in the memory to implement the steps of the startup method of the electronic control unit provided in any of the first aspects of this disclosure.

[0017] The technical solutions provided by the embodiments of this disclosure may include the following beneficial effects: the electronic control unit is started according to the start-up method corresponding to the scene marker, which can distinguish different start-up scenarios of the electronic control unit, avoid unnecessary performance loss, solve the problem of performing full-link integrity verification every time, and further solve the problem of long start-up time of the electronic control unit.

[0018] It should be understood that the above general description and the following detailed description are exemplary and explanatory only, and are not intended to limit this disclosure. Attached Figure Description

[0019] The accompanying drawings, which are incorporated in and form a part of this specification, illustrate embodiments consistent with this disclosure and, together with the description, serve to explain the principles of this disclosure.

[0020] Figure 1 This is a flowchart illustrating a startup method for an electronic control unit according to an exemplary embodiment.

[0021] Figure 2 This is a block diagram illustrating a starting device for an electronic control unit according to an exemplary embodiment.

[0022] Figure 3 This is a block diagram illustrating a vehicle according to an exemplary embodiment.

[0023] Figure 4This is a block diagram illustrating a starting device for an electronic control unit according to an exemplary embodiment.

[0024] Figure 5 This is a block diagram illustrating a starting device for an electronic control unit according to an exemplary embodiment. Detailed Implementation

[0025] Exemplary embodiments will now be described in detail, examples of which are illustrated in the accompanying drawings. When the following description relates to the drawings, unless otherwise indicated, the same numerals in different drawings denote the same or similar elements. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with this disclosure. Rather, they are merely examples of apparatuses and methods consistent with some aspects of this disclosure as detailed in the appended claims.

[0026] It should be noted that all actions involving the acquisition of signals, information, or data in this disclosure are carried out in compliance with the relevant data protection laws and policies of the country where the location is situated, and with authorization from the owner of the relevant device.

[0027] Figure 1 This is a flowchart illustrating a startup method for an electronic control unit according to an exemplary embodiment, such as... Figure 1 As shown, the startup method of the electronic control unit includes the following steps: In step S110, the scene marker of the electronic control unit is obtained. The scene marker represents the startup scene of the electronic control unit. The scene marker includes at least a first scene marker or a second scene marker. The first scene marker represents the startup scene of the electronic control unit as a sleep-wake scene, and the second scene marker represents the startup scene of the electronic control unit as a non-sleep-wake scene.

[0028] In step S120, the electronic control unit is activated according to the activation method corresponding to the scene marker. Different scene markers correspond to different activation methods.

[0029] In the exemplary embodiments of this disclosure, the electronic control unit is started according to the start-up method corresponding to the scene marker, which can distinguish different start-up scenarios of the electronic control unit, avoid unnecessary performance loss, solve the problem of performing full-link integrity verification every time, and further solve the problem of long start-up time of the electronic control unit.

[0030] The following is a detailed explanation of each step in the startup method of the electronic control unit.

[0031] In step S110, the scene marker of the electronic control unit is obtained. The scene marker represents the startup scene of the electronic control unit. The scene marker includes at least a first scene marker or a second scene marker. The first scene marker represents the startup scene of the electronic control unit as a sleep-wake scene, and the second scene marker represents the startup scene of the electronic control unit as a non-sleep-wake scene.

[0032] In an exemplary embodiment of this disclosure, the scene marker of the electronic control unit may include CLDRSTSTAT.STBY1WKP (a register), and may also include parameters reflecting data stored in Retention RAM (RRAM) and the count value of a target counter. The target counter is a counter whose count value is first counted and then cleared.

[0033] The first scenario marker can be CLDRSTSTAT.STBY1WKP == 1, which indicates that the electronic control unit is currently in a sleep-wake scenario; the second scenario marker can be CLDRSTSTAT.STBY1WKP != 1, which indicates that the electronic control unit is currently in a non-sleep-wake scenario.

[0034] Considering that non-sleep wake-up scenarios can also include normal power-on scenarios and abnormal restart scenarios, specific non-sleep wake-up scenarios can be further distinguished based on the parameters reflecting the data stored in the Retention RAM and the count value of the target counter.

[0035] Specifically, when the parameter reflecting the data stored in the Retention RAM indicates that there is currently no stored data, it means that the electronic control unit is starting up for the first time, or when the count value of the target counter is 0, the startup scenario of the electronic control unit at this time can be determined as a normal power-on scenario.

[0036] When the count value of the target counter is greater than 0, it can be determined that the startup scenario of the electronic control unit is an abnormal restart scenario.

[0037] In step S120, the electronic control unit is activated according to the activation method corresponding to the scene marker. Different scene markers correspond to different activation methods.

[0038] In an exemplary embodiment of this disclosure, after determining the startup scenario of the electronic control unit based on the scenario marker, the electronic control unit can be started according to the startup method corresponding to the scenario marker.

[0039] In an optional embodiment, the electronic control unit is activated according to the activation method corresponding to the scene marker, including: In response to the scene being marked as the first scene, the electronic control unit is activated and the application is run.

[0040] When the scenario is marked as CLDRSTSTAT.STBY1WKP == 1, it indicates that the electronic control unit has already undergone trust chain verification before going into sleep mode, and no further verification is required. Therefore, the electronic control unit can be started, thus jumping to the application to run.

[0041] In this exemplary embodiment, considering that the Flash power supply is not interrupted during hibernation and there is no possibility of tampering, the trust chain verification result before hibernation is still valid. By directly applying the trust chain verification result, the startup time can be shortened and the startup speed of the application can be improved.

[0042] In an optional embodiment, the second scene marker includes at least a first sub-marker, which represents a normal power-on scene. Based on the activation method corresponding to the scene marker, activate the electronic control unit, including: In response to the scene being marked as the first sub-marker, a preset trust chain verification is performed to activate the electronic control unit.

[0043] The first sub-marker may include CLDRSTSTAT.STBY1WKP != 1, a parameter reflecting that no data is currently stored in the Retention RAM, or CLDRSTSTAT.STBY1WKP != 1, where the count value of the target counter is 0.

[0044] When the scene is marked as the first sub-marker, it can be confirmed that the electronic control unit is in a known safe state. Therefore, by performing the preset trust chain verification, the electronic control unit can be started.

[0045] The preset trust chain verification can be AVB (Android Verified Boot) verification, also known as CS (Core). Secure kernel (core to FBL, Flash Bootloader) and FBL to APP (Application) verification rely on RSA (an asymmetric encryption algorithm) asymmetric signature and SHA. 256 (Secure Hash Algorithm 256-bit) hash verification verifies the authenticity and integrity of the firmware.

[0046] In this exemplary embodiment, the second scene marker includes at least a second sub-marker, which represents an abnormal restart scene. Based on the activation method corresponding to the scene marker, activate the electronic control unit, including: In response to the scene being marked as the second sub-marker, a preset trust chain verification is performed, and anomaly handling is performed using the target counter to activate the electronic control unit.

[0047] The second sub-flag can include CLDRSTSTAT.STBY1WKP != 1 and the count value of the target counter being greater than 0.

[0048] When the scene is marked as the second sub-marker, it can be confirmed that the electronic control unit is in an uncertain state. Therefore, a preset trust chain verification can be performed, and the target counter can be used for exception handling to achieve the effect of starting the electronic control unit.

[0049] The preset trust chain verification is the same as above, and will not be repeated here.

[0050] In an optional embodiment, an anomaly is handled using a target counter to activate the electronic control unit, including: In response to passing the trust chain verification, the target counter is triggered to count; In response to the electronic control unit starting up, the application runs and the target counter is cleared to zero.

[0051] The target counter is a pre-set exception counter, denoted as swdl_app_fail_cnt, meaning that the target counter adopts a strategy of setting exceptions first and then canceling them.

[0052] Specifically, when the trust chain verification is successful, the target counter can be incremented by 1, indicating that the current startup of the electronic control unit is assumed to have failed.

[0053] Once the electronic control unit starts up, the application runs normally. When the application reaches the safety phase, the target counter can be reset to zero.

[0054] In an optional embodiment, the target counter is triggered to accumulate counts in response to the application not running.

[0055] When the electronic control unit is not started, causing the application not to run, or the electronic control unit is started but the application does not run, or the electronic control unit is started and the application runs normally but does not run for the preset time, it indicates that the application has not reached the safety stage. Therefore, the target counter has no chance to be cleared and can continue to accumulate count, that is, it keeps jumping to the application and increments by 1 according to the running status of the application.

[0056] In this exemplary embodiment, the target counter can simultaneously cover the states of the application failing to start and the application crashing after running for a period of time after starting, without having to forcibly write to memory when the application crashes, thus ensuring the accuracy and reliability of anomaly detection and providing a valid basis for subsequent anomaly recovery processing.

[0057] In an optional embodiment, in response to the target counter reaching a preset threshold, the backup area being upgraded, and the storage space not being partitioned, the system switches from the execution area to the backup area. The storage space of the electronic control unit includes the execution area and the backup area.

[0058] For example, the preset threshold can be 32, or other values ​​can be set according to the actual situation. This exemplary embodiment does not impose any special limitations on this.

[0059] The system can operate normally as the target counter's count value swdl_app_fail_cnt accumulates from 0 to 32, serving as a form of stealth protection. When the target counter's count value swdl_app_fail_cnt reaches 32, the degradation recovery strategy for that target counter can be triggered.

[0060] Specifically, when the other side of the Flash OTA (Over-The-Air)... the If the over-the-air (OTA) download completion flag is valid and no partition switching has been performed (swdl_switch_fail_cnt == 0), the system can switch from the current execution partition to the backup partition on the other side to resolve abnormal situations without external dependencies. The electronic control unit's Flash memory is divided into two identical storage spaces, partition A and partition B.

[0061] In addition, the application can also restart normally in the backup area, and reset the target counter value after reaching the safe phase to support the next use.

[0062] In an optional embodiment, in response to switching to the backup area and the target counter's count value reaching a preset threshold again, the electronic control unit is flashed and upgraded.

[0063] After switching from the current execution area to the backup area, the target counter can still be used to count during application restart. When the target counter value reaches a preset threshold of 32 again, an emergency flashing mode can be entered to wait for the diagnostic tool to upgrade via CAN (Controller Area Network), thereby ensuring recovery from abnormal situations.

[0064] Specifically, the diagnostic tool sends a challenge value request via UDS (Unified Diagnostic Services) 22 (UDS diagnostic service, read data by ID) F1 00, and FBL can return the corresponding challenge value. Further, the diagnostic tool calls an external authentication tool to generate a response value and sends a UDS 2E (write data by ID) F1 00 to write the response value. FBL then verifies the response value, and if successful, marks it as successfully authenticated. The subsequent UDS 27 (secure access service, unlock ECU flashing permissions) service directly reuses the authentication result, enters the Programming Session, and executes the CAN upgrade process.

[0065] Generally, the count value of the target counter is stored in a preset memory, and the count value is read and written through a preset check code. The preset memory retains the count value when there is no power failure.

[0066] The FBL and APP achieve cross-image and cross-reset state sharing through the FBL-APP Share Context (FASC, a storage area used to store the counter values ​​to be transferred between the bootloader FBL and the business APP). The count value of the target counter is stored in a preset Retention RAM, which has a capacity of 4KB (kilobyte) and can retain the count value in reset or hibernation conditions.

[0067] In addition, all reads and writes of the counter value are protected by CRC32 (Cyclic Redundancy Check 32). In the event of a read failure, all fields can be reset to safe default values. That is, each time data is written to FASC, the CRC32 checksum is calculated simultaneously, and the checksum is recalculated when reading data. If the checksum does not match, it means that the counter value is incorrect.

[0068] In this exemplary embodiment, the count value of the target counter is protected by a preset check code, which avoids the leakage of the count value and can also discard the count value when it is incorrect, thus avoiding the situation of making decisions based on erroneous values ​​and ensuring the reliability of the count value.

[0069] In the exemplary embodiments of this disclosure, the electronic control unit is started according to the start-up method corresponding to the scene marker, which can distinguish different start-up scenarios of the electronic control unit, avoid unnecessary performance loss, solve the problem of performing full-link integrity verification every time, and further solve the problem of long start-up time of the electronic control unit.

[0070] Furthermore, in an exemplary embodiment of this disclosure, a starting device for an electronic control unit is also provided. Figure 2 This is a block diagram illustrating an activation device for an electronic control unit according to an exemplary embodiment. (Refer to...) Figure 2 The starting device 200 of the electronic control unit includes a tag acquisition module 210 and a difference starting module 220.

[0071] The tag acquisition module 210 is configured to acquire scene tags of the electronic control unit, the scene tags representing the startup scene of the electronic control unit, and the scene tags including at least a first scene tag or a second scene tag, the first scene tag representing that the startup scene of the electronic control unit is a sleep-wake scene, and the second scene tag representing that the startup scene of the electronic control unit is a non-sleep-wake scene; The differential start module 220 is configured to start the electronic control unit according to the start method corresponding to the scene marker, and the start method corresponding to different scene markers is different.

[0072] In some embodiments of this disclosure, the differential initiation module 220 is configured to: In response to the scene being marked as the first scene, the electronic control unit is activated and the application is run.

[0073] In some embodiments of this disclosure, the second scene marker includes at least a first sub-marker, the first sub-marker representing a normal power-on scene. The differential startup module 220 is configured to: In response to the scenario being marked as the first sub-marker, a preset trust chain verification is performed to activate the electronic control unit.

[0074] In some embodiments of this disclosure, the second scene marker includes at least a second sub-marker, the second sub-marker representing an abnormal restart scene. The differential startup module 220 is configured to: In response to the scenario being marked as the second sub-marker, a preset trust chain verification is performed, and anomaly handling is performed using a target counter to activate the electronic control unit.

[0075] In some embodiments of this disclosure, the differential initiation module 220 is configured to: In response to passing the trust chain verification, the target counter is triggered to count; Upon startup of the electronic control unit, the application program is run to clear the target counter to zero.

[0076] In some embodiments of this disclosure, the starting device 200 of the electronic control unit is further configured to: In response to the application not running, the target counter is triggered to accumulate counts.

[0077] In some embodiments of this disclosure, the starting device 200 of the electronic control unit is further configured to: In response to the target counter reaching a preset threshold, the backup area being upgraded, and the storage space not being partitioned, the system switches from the execution area to the backup area. The storage space of the electronic control unit includes the execution area and the backup area.

[0078] In some embodiments of this disclosure, the starting device 200 of the electronic control unit is further configured to: In response to switching to the backup area and the target counter reaching a preset threshold again, the electronic control unit is flashed and upgraded.

[0079] Regarding the apparatus in the above embodiments, the specific manner in which each module performs its operation has been described in detail in the embodiments related to the method, and will not be elaborated upon here.

[0080] This disclosure also provides a computer-readable storage medium having stored thereon computer program instructions that, when executed by a processor, implement the steps of the starting method for the electronic control unit provided in this disclosure.

[0081] Figure 3 This is a block diagram illustrating a vehicle 300 according to an exemplary embodiment. For example, vehicle 300 may be a hybrid vehicle, a non-hybrid vehicle, an electric vehicle, a fuel cell vehicle, or other types of vehicle. Vehicle 300 may have driver assistance functions.

[0082] Reference Figure 3 The vehicle 300 may include various subsystems, such as an infotainment system 310, a perception system 320, a decision control system 330, a drive system 340, and a computing platform 350. The vehicle 300 may also include more or fewer subsystems, and each subsystem may include multiple components. Furthermore, each subsystem and component of the vehicle 300 can be interconnected via wired or wireless means.

[0083] In some embodiments, the infotainment system 310 may include a communication system, an entertainment system, and a navigation system, etc.

[0084] The perception system 320 may include several sensors for sensing information about the environment surrounding the vehicle 300. For example, the perception system 320 may include a global positioning system (which may be GPS, BeiDou, or other positioning systems), an inertial measurement unit (IMU), lidar, millimeter-wave radar, ultrasonic radar, and a camera device.

[0085] The decision control system 330 may include a computing system, a vehicle controller, a steering system, a throttle, and a braking system.

[0086] The drive system 340 may include components that provide powered motion to the vehicle 300. In one embodiment, the drive system 340 may include an engine, an energy source, a transmission system, and wheels. The engine may be one or a combination of internal combustion engines, electric motors, and compressed air engines. The engine is capable of converting energy provided by the energy source into mechanical energy.

[0087] Some or all of the functions of the vehicle 300 are controlled by a computing platform 350. The computing platform 350 may include at least one processor 351 and a memory 352, the processor 351 being able to execute instructions 353 stored in the memory 352.

[0088] Processor 351 can be any conventional processor, such as a commercially available CPU. The processor may also include a GPU (Graphical Processing Unit), a Field Programmable Gate Array (FPGA), a System on Chip (SOC), an Application Specific Integrated Circuit (ASIC), or a combination thereof.

[0089] The memory 352 can be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic storage, flash memory, magnetic disk or optical disk.

[0090] In addition to instruction 353, memory 352 can also store data, such as road maps, route information, vehicle position, direction, speed, and other data. The data stored in memory 352 can be used by computing platform 350.

[0091] In this embodiment of the disclosure, the processor 351 may execute instructions 353 to complete all or part of the steps of the above-described electronic control unit startup method.

[0092] Figure 4 This is a block diagram illustrating an activation device 400 for an electronic control unit according to an exemplary embodiment. For example, device 400 may be a mobile phone, computer, digital broadcasting terminal, messaging device, game console, tablet device, medical device, fitness equipment, personal digital assistant, etc.

[0093] Reference Figure 4 The device 400 may include one or more of the following components: a first processing component 402, a first memory 404, a first power supply component 406, a multimedia component 408, an audio component 410, a first input / output interface 412, a sensor component 414, and a communication component 416.

[0094] The first processing component 402 typically controls the overall operation of the device 400, such as operations associated with display, telephone calls, data communication, camera operation, and recording. The first processing component 402 may include one or more first processors 420 to execute instructions to complete all or part of the steps of the methods described above. Furthermore, the first processing component 402 may include one or more modules to facilitate interaction between the first processing component 402 and other components. For example, the first processing component 402 may include a multimedia module to facilitate interaction between the multimedia component 408 and the first processing component 402.

[0095] The first memory 404 is configured to store various types of data to support the operation of the device 400. Examples of such data include instructions for any application or method operating on the device 400, contact data, phonebook data, messages, pictures, videos, etc. The first memory 404 can be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic storage, flash memory, magnetic disk, or optical disk.

[0096] The first power supply component 406 provides power to the various components of the device 400. The first power supply component 406 may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power to the device 400.

[0097] Multimedia component 408 includes a screen that provides an output interface between the device 400 and the user. In some embodiments, the screen may include a liquid crystal display (LCD) and a touch panel (TP). If the screen includes a touch panel, the screen may be implemented as a touchscreen to receive input signals from the user. The touch panel includes one or more touch sensors to sense touches, swipes, and gestures on the touch panel. The touch sensors may sense not only the boundaries of the touch or swipe action but also the duration and pressure associated with the touch or swipe operation. In some embodiments, multimedia component 408 includes a front-facing camera and / or a rear-facing camera. When the device 400 is in an operating mode, such as a shooting mode or a video mode, the front-facing camera and / or the rear-facing camera may receive external multimedia data. Each front-facing camera and rear-facing camera may be a fixed optical lens system or have focal length and optical zoom capabilities.

[0098] Audio component 410 is configured to output and / or input audio signals. For example, audio component 410 includes a microphone (MIC) configured to receive external audio signals when device 400 is in an operating mode, such as call mode, recording mode, and voice recognition mode. The received audio signals may be further stored in first memory 404 or transmitted via communication component 416. In some embodiments, audio component 410 also includes a speaker for outputting audio signals.

[0099] The first input / output interface 412 provides an interface between the first processing component 402 and the peripheral interface modules, which may be a keyboard, click wheel, buttons, etc. These buttons may include, but are not limited to, a home button, volume buttons, a start button, and a lock button.

[0100] Sensor assembly 414 includes one or more sensors for providing status assessments of various aspects of device 400. For example, sensor assembly 414 may detect the on / off state of device 400, the relative positioning of components such as the display and keypad of device 400, changes in the position of device 400 or a component of device 400, the presence or absence of user contact with device 400, the orientation or acceleration / deceleration of device 400, and temperature changes of device 400. Sensor assembly 414 may include a proximity sensor configured to detect the presence of nearby objects without any physical contact. Sensor assembly 414 may also include a light sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, sensor assembly 414 may also include an accelerometer, a gyroscope, a magnetometer, a pressure sensor, or a temperature sensor.

[0101] Communication component 416 is configured to facilitate wired or wireless communication between device 400 and other devices. Device 400 can access wireless networks based on communication standards, such as WiFi, 2G, or 3G, or combinations thereof. In one exemplary embodiment, communication component 416 receives broadcast signals or broadcast-related information from an external broadcast management system via a broadcast channel. In one exemplary embodiment, communication component 416 also includes a near-field communication (NFC) module to facilitate short-range communication. For example, the NFC module may be implemented based on radio frequency identification (RFID) technology, Infrared Data Association (IrDA) technology, ultra-wideband (UWB) technology, Bluetooth (BT) technology, and other technologies.

[0102] In an exemplary embodiment, the apparatus 400 may be implemented by one or more application-specific integrated circuits (ASICs), digital signal processors (DSPs), digital signal processing devices (DSPDs), programmable logic devices (PLDs), field-programmable gate arrays (FPGAs), controllers, microcontrollers, microprocessors, or other electronic components to perform the methods described above.

[0103] In an exemplary embodiment, a non-transitory computer-readable storage medium including instructions is also provided, such as a first memory 404 including instructions that can be executed by a first processor 420 of the device 400 to perform the above-described method. For example, the non-transitory computer-readable storage medium may be a ROM, random access memory (RAM), CD-ROM, magnetic tape, floppy disk, and optical data storage device, etc.

[0104] In another exemplary embodiment, a computer program product is also provided, which includes a computer program executable by a programmable device, the computer program having a code portion for performing the above-described electronic control unit startup method when executed by the programmable device.

[0105] Figure 5 This is a block diagram illustrating a startup device 500 for an electronic control unit according to an exemplary embodiment. For example, device 500 may be provided as a server. (Refer to...) Figure 5 The apparatus 500 includes a second processing component 522, which further includes one or more processors, and memory resources represented by a second memory 532 for storing instructions, such as application programs, that can be executed by the second processing component 522. The application programs stored in the second memory 532 may include one or more modules, each corresponding to a set of instructions. Furthermore, the second processing component 522 is configured to execute instructions to perform the methods described above.

[0106] The device 500 may also include a second power supply component 526 configured to perform power management of the device 500, a wired or wireless network interface 550 configured to connect the device 500 to a network, and a second input / output interface 558. The device 500 can operate on an operating system stored in a second memory 532.

[0107] Furthermore, the term “exemplary” is used herein to mean serving as an example, instance, or illustration. Any aspect or design described herein as “exemplary” is not necessarily to be construed as advantageous compared to other aspects or designs. Rather, the use of the term “exemplary” is intended to present the concept in a concrete manner. As used herein, the term “or” is intended to mean an inclusive “or” rather than an exclusive “or.” That is, unless otherwise specified or clear from the context, “X applies A or B” is intended to mean any of the natural inclusive arrangements. That is, “X applies A or B” satisfies any of the foregoing instances if X applies A; X applies B; or both X applies A and B. Additionally, unless otherwise specified or clear from the context to refer to the singular form, the articles “a” and “an” as used in this application and the appended claims are generally understood to mean “one or more.”

[0108] Similarly, although this disclosure has been shown and described with respect to one or more implementations, equivalent variations and modifications will occur to those skilled in the art upon reading and understanding this specification and the accompanying drawings. This disclosure includes all such modifications and variations and is limited only by the scope of the claims. In particular, with respect to the various functions performed by the components described above (e.g., elements, resources, etc.), unless otherwise indicated, the terminology used to describe such components is intended to correspond to any component (functionally equivalent) that performs the specific function of the described component, even if structurally not equivalent to the disclosed structure. Furthermore, although specific features of this disclosure may have been disclosed with respect to only one of several implementations, such features may be combined with one or more other features of other implementations, as may be desired and advantageous to any given or particular application. Moreover, with regard to the terms “comprising,” “owning,” “having,” “having,” or variations thereof as used in the detailed description or claims, such terms are intended to be inclusive in a manner similar to the term “including.”

[0109] Other embodiments of this disclosure will readily occur to those skilled in the art upon consideration of the specification and practice of the invention disclosed herein. This application is intended to cover any variations, uses, or adaptations of this disclosure that follow the general principles of this disclosure and include common knowledge or customary techniques in the art not disclosed herein. The specification and examples are to be considered exemplary only, and the true scope and spirit of this disclosure are indicated by the appended claims.

[0110] It should be understood that this disclosure is not limited to the precise structures described above and shown in the accompanying drawings, and various modifications and changes can be made without departing from its scope. The scope of this disclosure is limited only by the appended claims.

Claims

1. A method of starting an electronic control unit, characterized by, include: Obtain the scene marker of the electronic control unit, the scene marker representing the startup scene of the electronic control unit, the scene marker including at least a first scene marker or a second scene marker, the first scene marker representing the startup scene of the electronic control unit is a sleep-wake scene, and the second scene marker representing the startup scene of the electronic control unit is a non-sleep-wake scene; The electronic control unit is activated according to the activation method corresponding to the scene marker, and the activation method is different for different scene markers.

2. The method of starting an electronic control unit according to claim 1, wherein The step of activating the electronic control unit according to the activation method corresponding to the scene marker includes: In response to the scene being marked as the first scene, the electronic control unit is activated and the application is run.

3. The method of starting an electronic control unit according to claim 1, wherein The second scene marker includes at least a first sub-marker, which represents a normal power-on scene. The step of activating the electronic control unit according to the activation method corresponding to the scene marker includes: In response to the scenario being marked as the first sub-marker, a preset trust chain verification is performed to activate the electronic control unit.

4. The method of starting an electronic control unit according to claim 1, wherein The second scene marker includes at least a second sub-marker, which represents an abnormal restart scene. The step of activating the electronic control unit according to the activation method corresponding to the scene marker includes: In response to the scenario being marked as the second sub-marker, a preset trust chain verification is performed, and anomaly handling is performed using a target counter to activate the electronic control unit.

5. The method of starting an electronic control unit according to claim 4, wherein The method of using a target counter for anomaly handling to activate the electronic control unit includes: In response to passing the trust chain verification, the target counter is triggered to count; Upon startup of the electronic control unit, the application program is run to clear the target counter to zero.

6. The method of starting an electronic control unit according to claim 5, wherein The method further includes: In response to the application not running, the target counter is triggered to accumulate counts.

7. The method of starting an electronic control unit according to claim 6, wherein The method further includes: In response to the target counter reaching a preset threshold, the backup area being upgraded, and the storage space not being partitioned, the system switches from the execution area to the backup area. The storage space of the electronic control unit includes the execution area and the backup area.

8. The method of starting an electronic control unit according to claim 7, wherein The method further includes: In response to switching to the backup area and the target counter reaching a preset threshold again, the electronic control unit is flashed and upgraded.

9. An apparatus for starting an electronic control unit, characterized by include: The tag acquisition module is configured to acquire scene tags of the electronic control unit, the scene tags representing the startup scene of the electronic control unit, the scene tags including a first scene tag or a second scene tag, the first scene tag representing the startup scene of the electronic control unit as a sleep-wake scene, and the second scene tag representing the startup scene of the electronic control unit as a non-sleep-wake scene; The differential start module is configured to start the electronic control unit according to the start method corresponding to the scene marker, and the start method corresponding to different scene markers is different.

10. The starting apparatus of an electronic control unit according to claim 9, wherein The differential startup module is configured as follows: In response to the scene being marked as the first scene, the electronic control unit is activated and the application is run.

11. A computer-readable storage medium having stored thereon computer program instructions, wherein, When executed by a processor, the program instructions implement the steps of the method described in any one of claims 1 to 8.

12. An electronic device, comprising: include: A memory on which computer programs are stored; A processor for executing the computer program in the memory to implement the steps of the method according to any one of claims 1 to 8.

13. A vehicle characterized by comprising: include: processor; Memory used to store processor-executable instructions; The processor is configured to execute executable instructions stored in the memory to implement the steps of the startup method of the electronic control unit according to any one of claims 1 to 8.