Electronic rearview mirror upgrading method and device, electronic equipment and storage medium
By classifying and grading the upgrade package of the electronic rearview mirror and selecting the upgrade mode based on the current status information of the vehicle, the problem of personalized upgrade in the existing technology is solved, and the upgrade effect is achieved that is more in line with user needs, reducing the probability of failure and improving safety.
Patent Information
- Application Number
- CN202411601789.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-11-11
- Publication Date
- 2025-02-25
AI Technical Summary
The prior art cannot personalize the electronic rearview mirror according to user habits, resulting in the upgrade not meeting user needs.
By obtaining the upgrade package of the electronic rearview mirror and the current status information of the vehicle, performing function classification and performance grading, selecting the target upgrade function based on the preset upgrade mode, and performing local or overall upgrades.
It realizes personalized upgrades according to user needs, reduces the probability of upgrade failure, saves time costs, and improves vehicle safety.
Smart Images

Figure CN119512596A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of OTA technology, and in particular to an electronic rearview mirror upgrade method, device, electronic device and storage medium. Background Art
[0002] Electronic rearview mirrors, as a major innovation in modern automotive technology, capture real-time images behind the car through cameras and display them on the display screen inside the car, greatly improving the driver's field of vision and driving safety. The origin of this technology can be traced back to the 1990s, when some high-end car brands pursuing cutting-edge technology took the lead in introducing cameras and displays into car rearview mirror systems. With the continuous advancement of technology and the continuous reduction of costs, electronic rearview mirrors have gradually become the mainstream technology in the automotive industry. Especially in the context of the rise of smart connected cars, electronic rearview mirrors are more important due to their built-in rearview mirror controllers and their ability to connect with other vehicle systems. However, with the widespread application of automotive over-the-air (OTA) technology, electronic rearview mirrors are also facing new challenges. OTA technology allows cars to receive and install software updates over wireless networks, thereby continuously optimizing and upgrading vehicle performance. As one of the key components of a car, the electronic rearview mirror naturally needs to support OTA functions in order to obtain performance improvements and new features in a timely manner.
[0003] But the problem is that different users have significantly different usage habits and needs for electronic rearview mirrors. For example, some users may pay more attention to the breadth of the field of view and hope that the display can provide a wider viewing angle; while other users may pay more attention to the accuracy of the dirt detection function and hope that the system can remind them to clean the camera in time. The upgrade method of traditional electronic rearview mirrors often adopts a one-size-fits-all strategy and cannot be customized according to the personalized needs of users. Summary of the invention
[0004] The present application provides an electronic rearview mirror upgrading method, device, electronic device and storage medium to solve the above-mentioned technical problem that the electronic rearview mirror cannot be upgraded in a personalized manner according to user habits.
[0005] In one embodiment of the present application, the present application provides an electronic rearview mirror upgrade method, including: obtaining an upgrade package of the electronic rearview mirror and current status information of a vehicle, the current status information including at least one of sensor perception information of vehicle position changes, on / off status of components affecting vehicle braking, and health monitoring values of vehicle battery operation, the types of the sensor perception information, the on / off status of components, and the health monitoring values including at least one category; functionally classifying the upgrade package to obtain functional upgrade packages of different functional categories, and performance grading the functional upgrade packages of the same functional category to obtain functional upgrade packages of different performance levels; based on a preset upgrade mode, selecting a functional upgrade package corresponding to a target upgrade function, and based on the current status information and the functional upgrade package corresponding to the target upgrade function, partially upgrading the electronic rearview mirror, or, overall upgrading the electronic rearview mirror, wherein the preset upgrade mode includes different upgrade start times.
[0006] In one embodiment of the present application, based on a preset upgrade mode, a function upgrade package corresponding to a target upgrade function is selected, including: estimating the upgrade completion time of function upgrade packages of different function categories and different performance levels; and selecting a function upgrade package corresponding to the target upgrade mode and the target upgrade function based on the preset upgrade mode and each upgrade completion time.
[0007] In one embodiment of the present application, based on the current status information and the function upgrade package corresponding to the target upgrade function, the electronic rearview mirror is partially upgraded, or the electronic rearview mirror is upgraded as a whole, including: if the current time meets the upgrade start time in the target upgrade mode, the current status information corresponding to the current time is conditionally checked based on the preset status condition information; if the conditional check passes, the current version information of each hardware module in the electronic rearview mirror is consistency checked; if the consistency check passes, the function upgrade package corresponding to the target upgrade function is signature verified and decrypted, and the electronic rearview mirror is partially upgraded or upgraded as a whole according to the upgrade priority and the decrypted function upgrade package; wherein the upgrade priority is obtained based on the dependency, selection order or default order of the function upgrade packages of different function categories.
[0008] In one embodiment of the present application, after the electronic rearview mirror is partially upgraded or the electronic rearview mirror is fully upgraded, the following further comprises: if the upgrade result of the electronic rearview mirror is an upgrade failure and the rollback selection mark is to be selected, then the target rollback function is selected, and the electronic rearview mirror is partially rolled back or the electronic rearview mirror is fully rolled back; if the rollback result of the electronic rearview mirror is a rollback success and an upgrade instruction is received again, then the upgrade state of the rearview mirror controller is reset to partially upgrade or fully upgrade the electronic rearview mirror again.
[0009] In one embodiment of the present application, before selecting the target rollback function, it also includes: if the upgrade result of the electronic rearview mirror is an upgrade failure, the electronic rearview mirror is reflashed to obtain a new upgrade result; if the new upgrade result is an upgrade failure, and the number of version reflashes is greater than or equal to a preset number threshold, the rollback flag of the electronic rearview mirror is determined as to be selected.
[0010] In one embodiment of the present application, after conditional verification is performed on the current status information corresponding to the current time based on the preset status condition information, it also includes: if the conditional verification fails, and the reason for failing the conditional verification is that the vehicle is in charging mode, the current charging status is recorded and charging is stopped; if the upgrade result of the electronic rearview mirror is that the upgrade is successful, and the vehicle is in a suspended charging state, charging is resumed based on the current charging status.
[0011] In one embodiment of the present application, obtaining an upgrade package for an electronic rearview mirror includes: receiving an upgradeable download tag issued by an upgrade server; downloading the upgrade package for the electronic rearview mirror from the upgrade server based on the upgradeable download tag; if the download is interrupted and the download policy in the upgradeable download tag supports breakpoint resumption, recording the current download progress and storing the downloaded upgrade package in the corresponding partition; if the download is resumed, downloading the remaining data from the upgrade server based on the current download progress and storing it after the stored data; and performing an integrity check on the upgraded package that has been downloaded.
[0012] In one embodiment of the present application, the present application provides an electronic rearview mirror upgrade device, including: an information acquisition module, used to obtain an upgrade package of the electronic rearview mirror and current status information of the vehicle, the current status information includes at least one of sensor perception information of vehicle position changes, on / off status of components affecting vehicle braking, and health monitoring values of vehicle battery operation, and the types of the sensor perception information, the on / off status of the components, and the health monitoring values include at least one category; a splitting module, used to functionally classify the upgrade package to obtain functional upgrade packages of different functional categories, and to perform performance grading on functional upgrade packages of the same functional category to obtain functional upgrade packages of different performance levels; an upgrade module, used to select a functional upgrade package corresponding to a target upgrade function based on a preset upgrade mode, and based on the current status information and the functional upgrade package corresponding to the target upgrade function, partially upgrade the electronic rearview mirror, or, overall upgrade the electronic rearview mirror, wherein the preset upgrade mode includes different upgrade start times.
[0013] In one embodiment of the present application, the present application provides an electronic device, which includes: one or more processors; a storage device for storing one or more programs, and when the one or more programs are executed by the one or more processors, the electronic device implements the electronic rearview mirror upgrade method as described in any of the above embodiments.
[0014] In one embodiment of the present application, the present application provides a computer-readable storage medium having a computer program stored thereon. When the computer program is executed by a processor of a computer, the computer executes the electronic rearview mirror upgrading method described in any one of the above embodiments.
[0015] The beneficial effects of the embodiments of the present application: The present application provides an electronic rearview mirror upgrade method, device, electronic device and storage medium. The embodiments of the present application classify and grade the upgrade packages to obtain function upgrade packages of different function categories and different performance levels. Based on the preset upgrade mode, the functions to be upgraded in the electronic rearview mirror can be selected in a personalized manner, thereby reducing the probability of upgrade failure due to long upgrade time, saving time costs, and reducing the safety hazards caused by the vehicle being powered on for a long time without anyone due to the upgrade, thereby improving the safety of the vehicle.
[0016] It should be understood that the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the present application. BRIEF DESCRIPTION OF THE DRAWINGS
[0017] The drawings herein are incorporated into the specification and constitute a part of the specification, showing embodiments consistent with the present application, and together with the specification, are used to explain the principles of the present application. Obviously, the drawings described below are only some embodiments of the present application, and for those of ordinary skill in the art, other drawings can be obtained based on these drawings without creative work. In the drawings:
[0018] Figure 1 A schematic diagram showing an exemplary system architecture to which the technical solution of the embodiments of the present application can be applied;
[0019] Figure 2 A schematic diagram of a process of upgrading an electronic rearview mirror according to an embodiment of the present application is shown;
[0020] Figure 3 A schematic diagram of the architecture of an electronic rearview mirror upgrade according to an embodiment of the present application is shown;
[0021] Figure 4 A schematic diagram of an implementation process of an electronic rearview mirror upgrade method according to an embodiment of the present application is shown;
[0022] Figure 5A block diagram of an electronic rearview mirror upgrading device according to an embodiment of the present application is shown;
[0023] Figure 6 A schematic diagram of the structure of a computer system suitable for implementing an electronic device of an embodiment of the present application is shown. DETAILED DESCRIPTION
[0024] The following describes the embodiments of the present application through specific examples, and those skilled in the art can easily understand other advantages and effects of the present application from the contents disclosed in this specification. The present application can also be implemented or applied through other different specific embodiments, and the details in this specification can also be modified or changed in various ways based on different viewpoints and applications without departing from the spirit of the present application. It should be noted that the following embodiments and features in the embodiments can be combined with each other without conflict.
[0025] It should be noted that the illustrations provided in the following embodiments are only schematic illustrations of the basic concept of the present application, and thus the drawings only show components related to the present application rather than being drawn according to the number, shape and size of components in actual implementation. In actual implementation, the type, quantity and proportion of each component may be changed at will, and the component layout may also be more complicated.
[0026] In the following description, a large number of details are discussed to provide a more thorough explanation of the embodiments of the present application. However, it is obvious to those skilled in the art that the embodiments of the present application can be implemented without these specific details. In other embodiments, well-known structures and devices are shown in the form of block diagrams rather than in detail to avoid making the embodiments of the present application difficult to understand.
[0027] See also Figure 1 , Figure 1 A schematic diagram of an exemplary system architecture to which the technical solution of the embodiment of the present application can be applied is shown. Figure 1 As shown, the system architecture may include a vehicle 101 and an upgrade server 102. The upgrade server 102 is used to manage the upgrade of the electronic rearview mirror and send an upgrade package to the vehicle 101 to upgrade the electronic rearview mirror.
[0028] Exemplarily, vehicle 101 obtains an upgrade package for the electronic rearview mirror and current status information of the vehicle, the current status information including at least one of sensor perception information of vehicle position changes, on / off status of components affecting vehicle braking, and health monitoring values of vehicle battery operation, and the types of sensor perception information, component on / off status, and health monitoring values include at least one category; the upgrade packages are functionally classified to obtain function upgrade packages of different function categories, and function upgrade packages of the same function category are performance graded to obtain function upgrade packages of different performance levels; based on a preset upgrade mode, a function upgrade package corresponding to a target upgrade function is selected, and based on the current status information and the function upgrade package corresponding to the target upgrade function, the electronic rearview mirror is partially upgraded, or the electronic rearview mirror is upgraded as a whole, wherein the preset upgrade mode includes different upgrade start times.
[0029] In the related art, there is a technical problem that the electronic rearview mirror cannot be personalized and upgraded according to user habits.
[0030] In order to solve the above technical problems, the present application provides an electronic rearview mirror upgrading method, device, electronic device and storage medium. The implementation details of the technical solution of the embodiment of the present application are elaborated in detail below.
[0031] See also Figure 2 , Figure 2 FIG. 1 is a flow chart of a method for upgrading an electronic rearview mirror according to an embodiment of the present application. Figure 2 As shown, in an exemplary embodiment, the electronic rearview mirror upgrade method includes at least steps S210 to S230, which are described in detail as follows:
[0032] Step S210, obtaining the upgrade package of the electronic rearview mirror and the current status information of the vehicle.
[0033] Among them, the current status information includes at least one of sensor perception information of vehicle position changes, the start and close status of components affecting vehicle braking, and the health monitoring value of the vehicle battery operation, and the types of sensor perception information, component start and close status and health monitoring value include at least one category.
[0034] In one embodiment of the present application, the types of sensor perception information include vehicle speed perception data, acceleration perception data, gyroscope perception data, and positioning perception data.
[0035] In one embodiment of the present application, whether the vehicle is stationary is determined by using sensor sensing information of vehicle position changes and / or the opening and closing states of components that affect vehicle braking.
[0036] In one embodiment of the present application, the on / off status of components affecting vehicle braking includes the on / off status of an electronic parking brake (EPB) system, the on / off status of the P gear, and the like.
[0037] In one embodiment of the present application, the types of health monitoring values include the state of charge (SOC) of the vehicle battery and the charging on / off status of the vehicle battery.
[0038] In one embodiment of the present application, see Figure 3 , Figure 3 FIG. 1 shows a schematic diagram of an electronic rearview mirror upgrade architecture according to an embodiment of the present application. Figure 3 As shown, the vehicle communication terminal (Telematics Box, T-BOX) communicates with the central display controller (CDC) through the gateway via the vehicle Ethernet (ETH). The T-BOX includes a universal controller master (UCM) for vehicle over the air (OTA), that is, the vehicle-side OTA master program. The T-BOX communicates with the upgrade server through a mobile communication network, such as 4G and 5G networks; the rearview mirror controller communicates with the CDC through the vehicle Ethernet, and the left exterior camera, streaming camera, right exterior camera, left screen, streaming rearview mirror screen, and right screen are respectively connected to the rearview mirror controller, and the rearview mirror controller is connected to a microcontroller unit (MCU) and two electronic modules for communication and storage, such as M55_1 and M55_2.
[0039] In one embodiment of the present application, obtaining an upgrade package for an electronic rearview mirror includes: obtaining the vehicle version information of the vehicle; sending the vehicle version information to an upgrade server, so that the upgrade server determines an upgradeable download tag based on the vehicle version information, and sends it to the vehicle, so that the vehicle downloads the upgrade package for the electronic rearview mirror based on the upgradeable download tag.
[0040] In one embodiment of the present application, version detection includes: T-BOX collects the vehicle version information and feeds it back to the upgrade server corresponding to OTA, and the upgrade server confirms one by one whether there is an upgradeable version. The upgrade server packages the downloaded program to obtain an upgrade package, and adds installation information and an upgradeable download tag; the upgrade server prompts T-BOX that there is a new upgrade package through the upgradeable download tag. Among them, the installation information is used to characterize the control information when the upgrade package is installed, such as version information, installation steps, dependencies, installation conditions, installation time, etc.
[0041] In one embodiment of the present application, the upgrade server includes an OTA management platform, which is used for making upgrade packages, policy management, task management, software management, vehicle model management, data statistics and log management.
[0042] In one embodiment of the present application, the production of an upgrade package includes: supporting the uploading of differential files of a camera monitoring system (CMS); supporting the automatic generation of differential files based on a complete version of the CMS, supporting the production, verification, and uploading of differential packages, etc.
[0043] In one embodiment of the present application, policy management includes: supporting customized vehicle upgrade policies, such as precedence, dependency, etc., and having testing and auditing functions.
[0044] In one embodiment of the present application, task management includes: supporting configurable upgrade tasks, such as task publishing, task review, task initiation, etc.; supporting configurable upgrade scenarios, such as immediate upgrade, scheduled upgrade, forced upgrade, etc.; supporting retry after the update activity fails or is rejected by the user, and the number and time interval are configurable.
[0045] In one embodiment of the present application, software management includes: supporting management and maintenance of CMS firmware information and corresponding vehicles, models, etc.; supporting updates of all software types, including firmware, operating systems, maps, configuration files, and content, etc. Among them, firmware information includes software packages and differential packages.
[0046] In one embodiment of the present application, vehicle model management includes: after supporting hardware replacement, if the current information of the CMS is inconsistent with the recorded information of the car, the page will be marked at the top, and the engineering staff can make a specific upgrade plan for the car.
[0047] In one embodiment of the present application, data statistics include: supporting data statistics for upgrade results of any version or any upgrade activity.
[0048] In one embodiment of the present application, log management includes: supporting the query and storage of upgrade logs, supporting the collection of log data and operating status of vehicle-side firmware installation or flashing activities, such as active uploading to the server, active collection by the server, and scheduled uploading; supporting recording of all administrators' operations; supporting exporting of all administrators' activities, supporting review and export of all components, update files, areas, imported data, update activities, operation information and historical records.
[0049] In one embodiment of the present application, obtaining an upgrade package for an electronic rearview mirror includes: receiving an upgradeable download tag issued by an upgrade server; downloading the upgrade package for the electronic rearview mirror from the upgrade server based on the upgradeable download tag; if the download is interrupted and the download policy in the upgradeable download tag supports breakpoint resumption, recording the current download progress and storing the downloaded upgrade package in the corresponding partition; if the download is resumed, downloading the remaining data from the upgrade server based on the current download progress and storing it after the stored data; and performing an integrity check on the downloaded upgrade package.
[0050] In one embodiment of the present application, the functions of T-BOX include: T-BOX is connected to the OTA management platform to download the upgrade package; T-BOX dominates the pre-condition check of the vehicle status of the whole vehicle OTA, the whole vehicle OTA flashing, and realizes human-computer interaction with the in-vehicle infotainment system (IVI); CMS is upgraded through the vehicle Ethernet; management and reporting of upgrade logs and upgrade results; for the conditions of dual partitions, T-BOX needs to read the data identifier (Data Identifier, DID) of the flashed rearview mirror controller before flashing the rearview mirror controller, such as F100 confirming the currently running partition, and then feeding back to the OTA management platform, and the OTA management platform determines to send the upgrade package corresponding to the non-running area; and the OTA management platform also needs to count the historical upgrade situation. If the corresponding partition has always failed to upgrade, the OTA management platform can send the corresponding upgrade package of the currently running partition.
[0051] In one embodiment of the present application, T-BOX determines whether the upgradeable download tag sent by the upgrade server has been downloaded, the IVI interface prompts the user whether to download, and T-BOX sequentially requests data download, storage space size verification, and voltage status verification; T-BOX receives the upgrade package and installation information pushed by the upgrade server and stores them; and performs integrity verification and size verification on the upgrade package.
[0052] In one embodiment of the present application, during the OTA download process, the downloaded data needs to be saved in order to resume the download progress; when the download is interrupted, the current download progress is recorded and the downloaded data is saved; when the user tries to download again, the downloaded data is first read, and then the download is continued from the location where the last download was interrupted; when the download is completed, it is necessary to verify whether the downloaded data is correct to ensure that the firmware and software can be used normally.
[0053] Step S220, classifying the upgrade packages by function to obtain function upgrade packages of different function categories, and performing performance grading on the function upgrade packages of the same function category to obtain function upgrade packages of different performance levels.
[0054] In one embodiment of the present application, the upgrade package can be functionally split according to the function identifiers corresponding to different function categories to obtain function upgrade packages of different function categories; and the function upgrade package of the same function category can be performance-split according to the performance identifiers of different performance levels corresponding to the same function category to obtain function upgrade packages of different performance levels.
[0055] In one embodiment of the present application, the functional categories include anti-glare function, blind spot detection function, field of view adjustment function, power consumption management function, dirt detection function and the like.
[0056] In one embodiment of the present application, the performance is used to characterize the functional accuracy of different performance levels of the same functional category, for example, different detection accuracy corresponding to the dirt detection function, different adjustment accuracy corresponding to the field of view adjustment mark function, etc.
[0057] In one embodiment of the present application, for example, for steering field of view adjustment and reversing field of view adjustment, the OEM can design two solutions: default field of view and default field of view width and height proportionally expanded by 1.2 times. When the user receives the OTA prompt, he can choose whether to upgrade any function; when the left and right camera fields of view are 30% blocked, the CMS will send a camera blocked signal, and the corresponding side screen will display a "camera blocked" prompt until the blockage is processed. If the OEM optimizes the performance and the detection accuracy is increased to 20%, the user may be disgusted by the frequent prompts to the user to deal with the dirt problem due to the high detection accuracy. Functional classification and performance grading can solve the troubles of such problems and realize personalized upgrades based on user habits.
[0058] In one embodiment of the present application, after the upgrade server pushes the upgrade package of the electronic rearview mirror to the T-BOX, the T-BOX splits the entire upgrade package into independent small modules based on the function identifier and the performance identifier and stores them in separate packages. Each module represents any small function that needs to be upgraded or optimized performance. After completion, the T-BOX feeds back information to the IVI to prompt the user to select the target upgrade mode corresponding to the upgrade start time and the target upgrade function through the IVI.
[0059] Step S230, based on the preset upgrade mode, select the function upgrade package corresponding to the target upgrade function, and based on the current state information and the function upgrade package corresponding to the target upgrade function, partially upgrade the electronic rearview mirror, or upgrade the electronic rearview mirror as a whole.
[0060] The preset upgrade mode includes different upgrade start times.
[0061] In one embodiment of the present application, based on a preset upgrade mode, a function upgrade package corresponding to a target upgrade function is selected, including: estimating the upgrade completion time of function upgrade packages of different function categories and different performance levels; and selecting a function upgrade package corresponding to the target upgrade mode and the target upgrade function based on the preset upgrade mode and each upgrade completion time.
[0062] In one embodiment of the present application, the preset upgrade modes include immediate upgrade, scheduled upgrade and silent upgrade.
[0063] In one embodiment of the present application, the user selects a function or performance to be upgraded on the IVI interface, obtains a target upgrade function, and thereby obtains a corresponding function upgrade package.
[0064] In one embodiment of the present application, the present application can estimate the upgrade completion time required for each small module upgrade, and push it to the vehicle screen to remind the user to upgrade. The user can select the target upgrade mode according to his own free time, and then select the module to be upgraded. Local batch function upgrades can be performed, or the whole package upgrade can be performed. Compared with the traditional whole package upgrade, the time is more flexible, which is conducive to users to make good use of the free time at each stage to upgrade, and reduces some objective concerns of customers caused by the long time of the whole package upgrade, for example, reducing the probability of upgrade failure due to long time and network interruption, reducing the risk of hidden dangers caused by the vehicle being powered on due to long periods of no one, and saving time costs.
[0065] In one embodiment of the present application, based on the current state information and the function upgrade package corresponding to the target upgrade function, the electronic rearview mirror is partially upgraded, or the electronic rearview mirror is upgraded as a whole, including: if the current time meets the upgrade start time in the target upgrade mode, the current state information corresponding to the current time is conditionally checked based on the preset state condition information; if the conditional check passes, the current version information of each hardware module in the electronic rearview mirror is consistency checked; if the consistency check passes, the function upgrade package corresponding to the target upgrade function is signature verified and decrypted, and the electronic rearview mirror is partially upgraded or upgraded as a whole according to the upgrade priority and the decrypted function upgrade package; wherein the upgrade priority is obtained based on the dependency, selection order or default order of function upgrade packages of different function categories.
[0066] In one embodiment of the present application, a pre-check is performed on the upgrade environment of the electronic rearview mirror through the current status information of the vehicle.
[0067] In one embodiment of the present application, the preset state condition information includes that the vehicle is stationary, the gear is in P gear, the electronic parking brake system (EPB) is clamped, the state of charge (State of Charge, SOC) of the power battery is greater than the preset power threshold, and the power battery is not in charging mode. Among them, the charging state includes mutual charging, and the preset power threshold can be set to 25%.
[0068] In one embodiment of the present application, the electronic rearview mirror is partially or completely upgraded according to the upgrade priority and the decrypted function upgrade package, including: flashing data according to a preset flashing specification. The preset flashing specification is used to control the flashing environment required for the session mode switching, information reading, security access, reset, start and stop of the fault code record, and clearing of the rearview mirror controller.
[0069] In one embodiment of the present application, after conditional verification is performed on the current status information corresponding to the current time based on the preset status condition information, it also includes: if the conditional verification fails, and the reason for failing the conditional verification is that the vehicle is in charging mode, the current charging status is recorded and charging is stopped; if the upgrade result of the electronic rearview mirror is that the upgrade is successful, and the vehicle is in a suspended charging state, charging is resumed based on the current charging status.
[0070] In one embodiment of the present application, if the vehicle is in charging mode, the T-BOX records the current charging status to resume charging after the upgrade is completed. The T-BOX sends a stop charging signal to the body control module (BCM), such as the 5-frame T-BOX_ChargeControl=CANCEL signal; after receiving the stop charging signal, the BCM feeds back to the vehicle control unit (VCU) to suspend charging.
[0071] In one embodiment of the present application, after the vehicle upgrade pre-condition check is passed, the CMS version number is checked for consistency, that is, whether the current version information of each hardware module in the electronic rearview mirror is consistent, such as the versions of the left exterior camera, streaming media camera, right exterior camera and other hardware modules.
[0072] In one embodiment of the present application, a signature verification is performed on a function upgrade package corresponding to a target upgrade function, and the function upgrade package that passes the signature verification is decrypted. After decryption, the OTA mode is entered to upgrade the electronic rearview mirror.
[0073] In one embodiment of the present application, T-BOX records the upgrade result and upgrade record information, and feeds back to the upgrade server, IVI, and mobile terminal application, thereby prompting the user whether the upgrade failed or succeeded.
[0074] In one embodiment of the present application, the present application supports version re-flash and version rollback.
[0075] In one embodiment of the present application, after partially upgrading the electronic rearview mirror or upgrading the entire rearview mirror, it also includes: if the upgrade result of the electronic rearview mirror is an upgrade failure and the rollback selection mark is to be selected, then the target rollback function is selected, and the electronic rearview mirror is partially rolled back, or the electronic rearview mirror is rolled back as a whole; if the rollback result of the electronic rearview mirror is a rollback success and an upgrade instruction is received again, then the upgrade status of the rearview mirror controller is reset to partially upgrade or upgrade the electronic rearview mirror again.
[0076] In one embodiment of the present application, before selecting the target rollback function, it also includes: if the upgrade result of the electronic rearview mirror is an upgrade failure, the electronic rearview mirror is reflashed to obtain a new upgrade result; if the new upgrade result is an upgrade failure, and the number of version reflashes is greater than or equal to a preset number threshold, the rollback flag of the electronic rearview mirror is determined as to be selected.
[0077] In one embodiment of the present application, after the upgrade fails, the mirror controller corresponding to the electronic rearview mirror can be reset and re-written. If the re-writing fails and still fails after the preset number of re-writing configurations, the mirror controller of the electronic rearview mirror performs a major version rollback.
[0078] In one embodiment of the present application, version rollback includes: T-BOX controls the diagnostic session mode of the rearview mirror controller to the extended session mode, such as sending instruction 10 03 through physical addressing to enter the extended session mode; performs security authentication on the rearview mirror controller through T-BOX, such as sending instruction 2701 / 02 through physical addressing; starts the rollback of the rearview mirror controller through T-BOX, and clears the start timer T1, the rearview mirror controller feeds back the rollback result, and T-BOX performs detection, such as sending instruction 31 01 02 08 through physical addressing to start the rollback of the rearview mirror controller; T-BOX clears the rollback timer T2, T-BOX sends instruction 31 03 02 08 with a period of 1000ms to query the rollback result of the rearview mirror controller, and T-BOX performs detection until the rollback is successful.
[0079] In one embodiment of the present application, the OTA flashing time and upgrade success rate may be monitored. For example, the OTA flashing time cannot exceed 10 minutes, and the upgrade success rate is not less than 99.9%.
[0080] In one embodiment of the present application, the upgrade status of the rearview mirror controller is reset, including: switching the diagnostic session mode of the rearview mirror controller from the extended diagnostic mode back to the default session mode, and then switching it to the extended session mode again; disabling the fault code recording function of the rearview mirror controller, and turning off the communication control function of the rearview mirror controller; clearing the existing fault codes of the rearview mirror controller, and causing the rearview mirror controller to perform safety verification; and turning on the ready-to-upgrade status of the rearview mirror controller.
[0081] In one embodiment of the present application, the default session mode and the extended session mode have different diagnostic functions and application scenarios. The default session mode has low diagnostic authority, can read and clear fault codes, monitor the controller operating status in real time, and is applied to routine diagnosis and quick diagnosis; the extended session mode has high diagnostic authority, can read and modify the controller's internal parameters, etc., and can be applied to deep diagnosis and OTA upgrade scenarios.
[0082] In one embodiment of the present application, after the rearview mirror controller is rolled back successfully, for the rearview mirror controller that needs to enter OTA again: T-BOX sends physical addressing instruction 10 01 to the rearview mirror controller to make the rearview mirror controller enter the default session mode; T-BOX sends physical addressing instruction 10 03 to the rearview mirror controller to make the rearview mirror controller enter the extended session mode; T-BOX sends physical addressing instruction 85 82 to the rearview mirror controller to prohibit the recording of diagnostic trouble code (DTC); T-BOX sends physical addressing instruction 28 83 to the rearview mirror controller to close the communication control; T-BOX sends physical addressing instruction 14FF FF FF to the rearview mirror controller to clear the fault code; T-BOX sends physical addressing instruction 27 01 / 02 to the rearview mirror controller to make the rearview mirror controller perform safety verification; T-BOX sends physical addressing instruction 31 03 02 04 to the rearview mirror controller to request the rearview mirror controller to enter OTA again.
[0083] In one embodiment of the present application, T-BOX records the rollback result of the rearview mirror controller and feeds it back to the client or the upgrade server.
[0084] In one embodiment of the present application, see Figure 4 , Figure 4 FIG. 1 is a schematic diagram showing an implementation flow of an electronic rearview mirror upgrade method according to an embodiment of the present application. Figure 4As shown, version detection: detect whether the electronic rearview mirror needs to be upgraded; download software package: if it is detected that an upgrade is required, download the upgrade package from the upgrade server; T-BOX sub-package storage: classify the upgrade package by function to obtain function upgrade packages of different functional categories, and perform performance grading on the function upgrade packages of the same functional category to obtain function upgrade packages of different performance levels, such as software package 1, software package 2, software package 3, etc., to achieve personalized upgrades of different functions and performances of the electronic rearview mirror, and each software package corresponds to a functional module; after the download is completed, T-BOX feedbacks information to IVI, and IVI prompts the user to select an upgrade mode, such as immediate upgrade, scheduled upgrade, silent upgrade, and select the function to be upgraded, such as function 1, function 2, function 3 or all functions, to support batch upgrades of any number of functional modules, obtain the function upgrade package corresponding to the target upgrade function, and confirm the upgrade; vehicle upgrade precondition verification, such as file bit, high and low voltage, whether it is charging. If it is charging, the current charging status is recorded and charging is suspended. Charging will be resumed after the upgrade is completed; CMS version number consistency check to verify whether the versions of the hardware modules of the electronic rearview mirror are consistent; upgrade package signature verification / upgrade package decryption: through the signature verification of the function upgrade package corresponding to the target upgrade function, to determine the integrity of the data and that it has not been tampered with, and decrypt the function upgrade package that has passed the signature verification; enter OTA mode: partially or completely upgrade the electronic rearview mirror through the decrypted function upgrade package; T-BOX records the upgrade record information and upgrade results, and feeds back to the platform / IVI / mobile phone APP. IVI / mobile phone APP prompts the user: If the upgrade result is an upgrade failure, the number of reflashes is greater than the preset number threshold, and a rollback is required, select a partial rollback or a full rollback through IVI, such as selecting rollback function 1, function 2, function 3; execute the rollback control process and rollback successfully.
[0085] In one embodiment of the present application, after the upgrade package is split, you can freely select the functions to be upgraded, or you can choose to upgrade the entire package; if the upgrade fails, you can choose to roll back partially or as a whole, and a partial rollback means only rolling back the module that failed to upgrade, thereby greatly reducing the rollback time and reducing the risk of data being forged and tampered with during transmission.
[0086] In one embodiment of the present application, the traditional electronic rearview mirror OTA solution packages the functions and performance that need to be iterated this time and pushes them to the vehicle side, and the user upgrades all of them at one time, but some of the optimization points are not suitable for all users, and users often complain that the old version is more useful after the upgrade; to address this phenomenon, the present application can select some of the required functions for upgrading according to the different car-using habits and preferences of thousands of users, making the CMS upgrade options more diversified and satisfying the user's pursuit of personalization.
[0087] In one embodiment of the present application, the present application can package the update content into a firmware package and publish it through an upgrade server. The firmware package contains compressed data, verification information, update scripts and other information. The present application can manage and track the firmware version of the automotive electronic control unit (ECU), ensure that the ECU can be updated from the current version to the target version, and prevent version conflicts and upgrade failures. The present application protects the data in the update process through encryption, digital signatures and other measures to prevent the update package from being tampered with and forged.
[0088] See also Figure 5 , Figure 5 A block diagram of an electronic rearview mirror upgrade device according to an embodiment of the present application is shown. The device can be applied to Figure 1 The implementation environment shown is specifically configured in the vehicle 101. The device may also be applicable to other exemplary implementation environments and specifically configured in other devices. This embodiment does not limit the implementation environment to which the device is applicable.
[0089] like Figure 5 As shown, an electronic rearview mirror upgrading device 500 according to an embodiment of the present application includes: an information acquisition module 501, a splitting module 502 and an upgrading module 503.
[0090] An information acquisition module 501 is used to acquire an upgrade package of the electronic rearview mirror and current status information of the vehicle, wherein the current status information includes at least one of sensor perception information of vehicle position change, on / off status of components affecting vehicle braking, and health monitoring value of vehicle battery operation, and the types of sensor perception information, component on / off status, and health monitoring value include at least one category;
[0091] The splitting module 502 is used to classify the upgrade packages by function to obtain function upgrade packages of different function categories, and to classify the function upgrade packages of the same function category by performance to obtain function upgrade packages of different performance levels;
[0092] The upgrade module 503 is used to select a function upgrade package corresponding to a target upgrade function based on a preset upgrade mode, and to perform a partial upgrade on the electronic rearview mirror based on current status information and the function upgrade package corresponding to the target upgrade function, or to perform an overall upgrade on the electronic rearview mirror, wherein the preset upgrade mode includes different upgrade start times.
[0093] It should be noted that the electronic rearview mirror upgrade device provided in the above embodiment and the electronic rearview mirror upgrade method provided in the above embodiment belong to the same concept, wherein the specific manner in which each module and unit performs the operation has been described in detail in the method embodiment, and will not be repeated here. In actual application, the electronic rearview mirror upgrade device provided in the above embodiment can allocate the above functions to different functional modules as needed, that is, divide the internal structure of the device into different functional modules to complete all or part of the functions described above, and this is not limited here.
[0094] An embodiment of the present application also provides an electronic device, comprising: one or more processors; a storage device for storing one or more programs, when the one or more programs are executed by one or more processors, the electronic device implements the electronic rearview mirror upgrade method provided in the above-mentioned embodiments.
[0095] See also Figure 6 , Figure 6 The structure diagram of the computer system suitable for implementing the electronic device of the embodiment of the present application is shown. It should be noted that: Figure 6 The computer system 600 of the electronic device shown is only an example and should not bring any limitation to the functions and scope of use of the embodiments of the present application.
[0096] like Figure 6 As shown, the computer system 600 includes a central processing unit (CPU) 601, which can perform various appropriate actions and processes according to the program stored in the read-only memory (ROM) 602 or the program loaded from the storage part 608 to the random access memory (RAM) 603, such as executing the method in the above embodiment. In the random access memory 603, various programs and data required for system operation are also stored. The central processing unit 601, the read-only memory 602 and the random access memory 603 are connected to each other through a bus 604. An input / output (I / O) interface 605 is also connected to the bus 604.
[0097] The following components are connected to the input / output interface 605: an input section 606 including a keyboard, a mouse, etc.; an output section 607 including a cathode ray tube (CRT), a liquid crystal display (LCD), etc., and a speaker, etc.; a storage section 608 including a hard disk, etc.; and a communication section 609 including a network interface card such as a LAN (Local Area Network) card, a modem, etc. The communication section 609 performs communication processing via a network such as the Internet. A drive 610 is also connected to the input / output interface 605 as needed. A removable medium 611, such as a magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory, etc., is installed on the drive 610 as needed so that a computer program read therefrom is installed into the storage section 608 as needed.
[0098] In particular, according to an embodiment of the present application, the process described above with reference to the flowchart can be implemented as a computer software program. For example, an embodiment of the present application includes a computer program product, which includes a computer program carried on a computer-readable medium, and the computer program includes a computer program for executing the method shown in the flowchart. In such an embodiment, the computer program can be downloaded and installed from a network through a communication section 609, and / or installed from a removable medium 611. When the computer program is executed by a central processing unit (CPU) 601, various functions defined in the system of the present application are executed.
[0099] It should be noted that the computer-readable medium shown in the embodiment of the present application can be a computer-readable signal medium or a computer-readable storage medium or any combination of the above two. The computer-readable storage medium can be, for example, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or device, or any combination of the above. More specific examples of computer-readable storage media can include, but are not limited to: an electrical connection with one or more wires, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM), a flash memory, an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above. In the present application, a computer-readable signal medium may include a data signal propagated in a baseband or as part of a carrier wave, wherein a computer-readable computer program is carried. This propagated data signal can take a variety of forms, including but not limited to an electromagnetic signal, an optical signal, or any suitable combination of the above. A computer-readable signal medium may also be any computer-readable medium other than a computer-readable storage medium, which may send, propagate or transmit a program for use by or in conjunction with an instruction execution system, apparatus or device. A computer program contained on a computer-readable medium may be transmitted using any appropriate medium, including but not limited to: wireless, wired, etc., or any suitable combination of the above.
[0100] The flowchart and block diagram in the accompanying drawings illustrate the possible architecture, functions and operations of the system, method and computer program product according to various embodiments of the present application. Wherein, each box in the flowchart or block diagram can represent a module, a program segment, or a part of the code, and the above-mentioned module, program segment, or a part of the code contains one or more executable instructions for realizing the specified logical function. It should also be noted that in some alternative implementations, the functions marked in the box can also occur in a different order from the order marked in the accompanying drawings. For example, two boxes represented in succession can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each box in the block diagram or flowchart, and the combination of boxes in the block diagram or flowchart can be implemented with a dedicated hardware-based system that performs a specified function or operation, or can be implemented with a combination of dedicated hardware and computer instructions.
[0101] The units involved in the embodiments described in the present application can be implemented by software or by hardware, and the units described can also be set in a processor. Among them, the names of these units do not constitute a limitation on the units themselves under certain circumstances. Therefore, the technical solution according to the implementation mode of the present application can be embodied in the form of a software product, which can be stored in a non-volatile storage medium (which can be a CD-ROM, a USB flash drive, a mobile hard disk, etc.) or on a network, including a number of instructions to enable a computing device (which can be a personal computer, a server, a touch terminal, or a network device, etc.) to execute the method according to the implementation mode of the present application.
[0102] Another aspect of the present application further provides a computer-readable storage medium on which a computer program is stored. When the computer program is executed by a processor of a computer, the computer executes the electronic rearview mirror upgrade method provided in the above embodiments. The computer-readable storage medium may be included in the electronic device described in the above embodiments, or may exist independently without being assembled into the electronic device.
[0103] In the above embodiments, unless otherwise specified, by using serial numbers such as "first" and "second" to describe common objects, it only means that they refer to different instances of the same object, rather than indicating that the objects being described must adopt a given order, whether in time, space, sorting or any other way.
[0104] The above embodiments are merely illustrative of the principles and effects of the present application, and are not intended to limit the present application. Anyone familiar with the technology may modify or change the above embodiments without violating the spirit and scope of the present application. Therefore, all equivalent modifications or changes made by a person of ordinary skill in the art without departing from the spirit and technical ideas disclosed in the present application shall still be covered by the claims of the present application.
Claims
1. A method for upgrading an electronic rearview mirror, characterized in that: The method comprises: Obtaining an upgrade package for the electronic rearview mirror and current status information of the vehicle, wherein the current status information includes at least one of sensor perception information of vehicle position change, on / off status of components affecting vehicle braking, and health monitoring value of vehicle battery operation, wherein the sensor perception information, on / off status of components, and health monitoring value include at least one type; Functionally classifying the upgrade packages to obtain function upgrade packages of different function categories, and performing performance grading on the function upgrade packages of the same function category to obtain function upgrade packages of different performance levels; Based on a preset upgrade mode, a function upgrade package corresponding to a target upgrade function is selected, and based on the current status information and the function upgrade package corresponding to the target upgrade function, the electronic rearview mirror is partially upgraded, or the electronic rearview mirror is upgraded as a whole, wherein the preset upgrade mode includes different upgrade start times.
2. The electronic rearview mirror upgrading method according to claim 1, characterized in that: Based on the preset upgrade mode, select the function upgrade package corresponding to the target upgrade function, including: Estimate the upgrade completion time for function upgrade packages of different function categories and performance levels; A function upgrade package corresponding to a target upgrade mode and a target upgrade function is selected based on a preset upgrade mode and each of the upgrade completion times.
3. The electronic rearview mirror upgrading method according to claim 2, characterized in that: Based on the current state information and the function upgrade package corresponding to the target upgrade function, the electronic rearview mirror is partially upgraded, or the electronic rearview mirror is upgraded as a whole, including: If the current time meets the upgrade start time in the target upgrade mode, conditionally checking the current state information corresponding to the current time based on the preset state condition information; If the conditional check is passed, a consistency check is performed on the current version information of each hardware module in the electronic rearview mirror; If the consistency check passes, the function upgrade package corresponding to the target upgrade function is signature verified and decrypted, and the electronic rearview mirror is partially or completely upgraded according to the upgrade priority and the decrypted function upgrade package; The upgrade priority is obtained based on the dependency, selection order or default order of the function upgrade packages of different function categories.
4. The electronic rearview mirror upgrading method according to claim 1, characterized in that: After partially upgrading the electronic rearview mirror or upgrading the entire electronic rearview mirror, the method further includes: If the upgrade result of the electronic rearview mirror is an upgrade failure, and the rollback selection mark is to be selected, then select the target rollback function, and perform a partial rollback on the electronic rearview mirror, or perform a whole rollback on the electronic rearview mirror; If the rollback result of the electronic rearview mirror is successful and an upgrade instruction is received again, the upgrade state of the rearview mirror controller is reset to partially or completely upgrade the electronic rearview mirror again.
5. The electronic rearview mirror upgrading method according to claim 4, characterized in that: Before selecting the target rollback function, also include: If the upgrade result of the electronic rearview mirror is an upgrade failure, re-flashing the electronic rearview mirror to obtain a new upgrade result; If the new upgrade result is an upgrade failure, and the number of times the version is reflashed is greater than or equal to a preset number threshold, the rollback mark of the electronic rearview mirror is determined as pending selection.
6. The electronic rearview mirror upgrading method according to claim 3, characterized in that: After conditionally checking the current state information corresponding to the current time based on the preset state condition information, the method further includes: If the condition check fails, and the reason for failing the condition check is that the vehicle is in charging mode, the current charging state is recorded and charging is stopped; If the upgrade result of the electronic rearview mirror is successful, and the vehicle is in a suspended charging state, charging is resumed based on the current charging state.
7. The electronic rearview mirror upgrading method according to any one of claims 1 to 6, characterized in that: Get the electronic mirror upgrade package, including: Receive the upgradeable download tag sent by the upgrade server; Downloading an upgrade package of the electronic rearview mirror from the upgrade server based on the upgradeable download tag; If the download is interrupted and the download policy in the upgradeable download tag supports breakpoint resumption, the current download progress is recorded and the downloaded upgrade package is stored in the corresponding partition; If the download is resumed, the remaining data is downloaded from the update server based on the current download progress and stored after the stored data; Perform integrity check on the downloaded upgrade package.
8. An electronic rearview mirror upgrade device, characterized in that: The device comprises: An information acquisition module, used to acquire an upgrade package of the electronic rearview mirror and current status information of the vehicle, wherein the current status information includes at least one of sensor perception information of vehicle position change, on / off status of components affecting vehicle braking, and health monitoring value of vehicle battery operation, wherein the types of the sensor perception information, the on / off status of components, and the health monitoring value include at least one category; A splitting module is used to classify the upgrade packages by function to obtain function upgrade packages of different function categories, and to perform performance grading on the function upgrade packages of the same function category to obtain function upgrade packages of different performance levels; An upgrade module is used to select a function upgrade package corresponding to a target upgrade function based on a preset upgrade mode, and to partially upgrade the electronic rearview mirror based on the current status information and the function upgrade package corresponding to the target upgrade function, or to upgrade the electronic rearview mirror as a whole, wherein the preset upgrade mode includes different upgrade start times.
9. An electronic device, characterized in that: The electronic device comprises: one or more processors; A storage device for storing one or more programs, which, when executed by the one or more processors, enables the electronic device to implement the electronic rearview mirror upgrading method as described in any one of claims 1 to 7.
10. A computer-readable storage medium, characterized in that: A computer program is stored thereon, and when the computer program is executed by a processor of a computer, the computer is caused to execute the electronic rearview mirror upgrading method according to any one of claims 1 to 7.
Citation Information
Cited By
OTA upgrading method and equipment of intelligent equipment, medium and program product
CN120730291A