Software resource downloading method and device, equipment and vehicle

By establishing the correspondence between the model code and the software resource storage address in the inspection server, the platform download of the software resources of the on-board cockpit system is realized, solving the problem of software special vehicles for different models, and reducing the need for R&D and testing resources.

CN120151334APending Publication Date: 2025-06-13CHONGQING CHANGAN AUTOMOBILE CO LTD
View PDF 6 Cites 0 Cited by

Patent Information

Application Number
CN202510620491.8
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-05-14
Publication Date
2025-06-13

AI Technical Summary

Technical Problem

It is difficult for the existing technology to realize platform download of software resources for on-board cockpit systems, resulting in the software of different models being used for special vehicles, which increases the R&D and testing burden of traditional car companies.

Method used

By establishing a first mapping table in the inspection server, the correspondence between the vehicle model code and the software resource storage address is characterized, and the software resource download platform of vehicles with different vehicle model codes is realized.

Benefits of technology

It realizes that vehicles with different vehicle models download their corresponding software resources through the same inspection server, reducing the need for research and development and testing resources for software resources.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120151334A_ABST
    Figure CN120151334A_ABST
Patent Text Reader

Abstract

The invention provides a software resource downloading method and device, equipment and a vehicle. The method is applied to an electric detection server and comprises the steps that a software resource downloading request sent by a vehicle is received, and the software resource downloading request carries a vehicle identification code of the vehicle; wherein the vehicle is a vehicle which is transferred to an electric detection station on a production line; based on the vehicle identification code, determining a vehicle type code of the vehicle; querying a first mapping table based on the vehicle type code to obtain a storage address of software resources of the vehicle; wherein the first mapping table is used for representing a corresponding relationship between the vehicle type code and the storage address of the software resource; sending the storage address of the software resource to the vehicle; wherein the vehicle is used for downloading the software resource corresponding to the vehicle based on the storage address of the software resource.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of electronic technology, and particularly to a method and device, equipment, and vehicle for downloading software resources. Background Art

[0002] With the development of vehicle intelligence, the functions of in-vehicle cockpit systems are becoming increasingly complex, integrating multiple functions such as navigation, entertainment, and assisted driving. However, as the presentation platform for the vehicle's human-machine interface, to meet personalized needs, there are differences in the picture resources, 3D model resources, etc. of many application programs. Therefore, the software for different vehicle models is dedicated to specific vehicles, which poses a great challenge to traditional vehicle manufacturers with a heavy historical burden. Summary of the Invention

[0003] This application provides a method and device, equipment, and vehicle for downloading software resources; among them, In a first aspect, an embodiment of this application provides a method for downloading software resources. The method is applied to an electrical inspection server, and the method includes: receiving a software resource download request sent by a vehicle, where the vehicle identification code of the vehicle is carried in the software resource download request; where the vehicle is a vehicle flowing to the electrical inspection station on the production line; based on the vehicle identification code, determining the vehicle model code of the vehicle; querying a first mapping table based on the vehicle model code to obtain the storage address of the software resources of the vehicle; where the first mapping table is used to represent the correspondence between the vehicle model code and the storage address of the software resources; sending the storage address of the software resources to the vehicle; where the vehicle is used to download the software resources corresponding to the vehicle based on the storage address of the software resources.

[0004] It can be understood that in the download method provided by the embodiment of this application, since the relationship between different vehicle model codes and the storage addresses of software resources is represented by a first mapping table in the electrical inspection server, for vehicles with different vehicle model codes, when the vehicle model code of the vehicle is obtained based on the vehicle identification code, the storage address of the software resources corresponding to the vehicle model code can be queried based on the first mapping table, and the storage address of the software resources is sent to the vehicle, so that vehicles with different vehicle model codes can all download the software resources corresponding to the vehicle through the same electrical inspection server. In this way, the platformization of software resource download is realized, which is beneficial to reducing the R & D resources and test resources of the vehicle's software resources.

[0005] In some embodiments, the method further includes: receiving a software resource package and a second mapping table sent by a cloud device; wherein, the software resource package includes: software resources corresponding to multiple different vehicle type codes; the second mapping table is used to represent the corresponding relationship between the vehicle type code and the software resource; storing the software resources in the software resource package; and based on the second mapping table and the storage address of the software resource, establishing a corresponding relationship between the vehicle type code and the storage address of the software resource corresponding thereto, to obtain a first mapping table.

[0006] It can be understood that in the download method provided in the embodiments of the present application, the electrical inspection server receives a software resource package including software resources of different vehicle type codes and a second mapping table for representing the corresponding relationship between the vehicle type code and the software resource sent by the cloud device, stores the software resources in the software resource package, and based on the second mapping table and the storage address of the software resource, establishes the storage address of the vehicle type code and the software resource corresponding thereto, to obtain a first mapping table. Therefore, for vehicles with different vehicle type codes, when the vehicle type code of the vehicle is obtained based on the vehicle identification code, the storage address of the software resource corresponding to the vehicle type code can be queried based on the first mapping table, and the storage address of the software resource is sent to the vehicle, so that vehicles with different vehicle type codes can download the software resources corresponding to the vehicle through the same electrical inspection server and the same cloud device. In this way, the platformization of software resource download is realized, which is beneficial to reducing the R & D resources and test resources of the software resources of the vehicle.

[0007] In a second aspect, an embodiment of the present application provides a method for downloading software resources, and the method is applied to a vehicle. The method includes: when the vehicle is transferred to the electrical inspection station on the production line, sending a software resource download request to the electrical inspection server, where the software resource download request carries the vehicle identification code of the vehicle; wherein, the electrical inspection server is configured to determine the vehicle type code of the vehicle based on the vehicle identification code, and query the first mapping table based on the vehicle type code of the vehicle to obtain the storage address of the software resource of the vehicle, and send the storage address of the software resource to the vehicle; wherein, the first mapping table is used to represent the corresponding relationship between the vehicle type code and the storage address of the software resource; downloading the target software resource of the vehicle from the electrical inspection server based on the storage address of the software resource; wherein, multiple software resources corresponding to different vehicle type codes are stored in the electrical inspection server; the first mapping table is obtained based on the second mapping table sent by the cloud device and the storage address of the software resource; the second mapping table is used to represent the corresponding relationship between the vehicle type code and the software resource.

[0008] It can be understood that in the download method provided in the embodiments of the present application, when the vehicle moves to the electrical inspection station on the production line, a vehicle identification code of the vehicle is sent to the electrical inspection server, so that when the electrical inspection server obtains the vehicle model code based on the vehicle identification code, based on the first mapping table used to represent the relationship between the vehicle model code and the storage address of the software resource and the vehicle model code of the vehicle, query the storage address of the software resource corresponding to the vehicle model code, and send the storage address of the software resource to the vehicle. Since the first mapping table is obtained based on the second mapping table sent by the cloud device and the storage address of the software resource; and the second mapping table is used to represent the corresponding relationship between the vehicle model code and the software resource. In this way, the vehicle with this vehicle model code does not require a dedicated electrical inspection server and a dedicated cloud device, but can use the same electrical inspection server and the same cloud device as vehicles with different vehicle model codes to implement the download of the software resource corresponding to the vehicle. In this way, the platformization of software resource download is realized, which is beneficial to reducing the R & D resources of the vehicle's software resources and the test resources of the software resources.

[0009] In some embodiments, downloading the target software resource of the vehicle from the electrical inspection server includes: in response to the current network status satisfying the network switching condition, determining the identifier of the current first network access point; wherein, each electrical inspection station on the production line corresponds to an optimal network access point; the identifier is generated by sequentially numbering the optimal network access points based on the transfer order of the vehicle on the production line; determining the identifier of the second network access point to be connected; wherein, the identifier of the second network access point is determined from the sequence of network access points in sequence based on the identifier of the first network access point; accessing the second network access point based on the identifier of the second network access point; and downloading the target software resource through the second network access point.

[0010] It can be understood that in the download method provided in the embodiments of the present application, during the process of the vehicle flowing along the production line, the cockpit system can determine the identifier of the current first network access point in response to the current network status meeting the network switching condition; thus, based on the identifier of the first network access point, the identifier of the second network access point to be connected is determined from the sequence of network access points in sequence. Further, the cockpit system accesses the second network access point based on the identifier of the second network access point; and downloads the target software resource through the second network access point to perform software flashing on the vehicle. In this way, on the one hand, the cockpit system can switch from the current first network access point to the second network access point in sequence according to the network status and network switching condition, and reduce the time consumed by the cockpit system to switch between multiple network access points back and forth through the pre-defined network access point identifier, improving the timeliness and stability of network connection, and further improving the download efficiency of the target software resource; on the other hand, performing software flashing on the vehicle by downloading the target software resource after dynamically switching to a better network access point can provide a reliable network foundation for subsequent software resource download and software flashing, improve the integrity and accuracy of the software resource, thereby enhancing the success rate of software flashing and laying a good foundation for the subsequent normal use of the vehicle.

[0011] In some embodiments, determining the identifier of the second network access point to be connected includes: determining the identifiers of at least one candidate network access point that meets the first condition from the sequence of network access points; wherein, the first condition includes that the identifier of the network access point is greater than the identifier of the first network access point, and the signal strength of the network access point is greater than the signal strength of the first network access point; and determining the identifier of the second network access point from the identifiers of multiple candidate network access points according to the identifier order of each candidate network access point.

[0012] It can be understood that in the download method provided in the embodiments of the present application, the cockpit system can quickly determine candidate access points through the identifier and signal strength of the network access point, reduce the search time, and improve the network switching efficiency. Further, the cockpit system can sort the candidate access points by identifier and then determine the second network access point, reducing the time consumed by the vehicle to switch between multiple network access points back and forth, thereby improving the timeliness and stability of network connection.

[0013] In some embodiments, determining the identifier of the second network access point from the identifiers of multiple candidate network access points according to the identifier order of each candidate network access point includes: determining the identifier of the candidate network access point with the smallest identifier among the multiple candidate network access points as the identifier of the second network access point; or determining the identifier of the candidate network access point with the largest signal strength among the multiple candidate network access points as the identifier of the second network access point.

[0014] It can be understood that in the download method provided by the embodiments of the present application, the cockpit system can quickly locate the access point with the smallest identifier among multiple candidate network access points according to the identifier sorting through the pre-defined network access point identifier, reducing the time consumed by the cockpit system to switch connections between multiple network access points back and forth, so that the vehicle can accurately access a better network access point. Among multiple candidate network access points, by selecting the network access point with the strongest signal strength, the cockpit system can make more effective use of network resources, realize the reasonable allocation and efficient utilization of network resources, and thus improve the download efficiency of the target software resources.

[0015] In some embodiments, determining the identifier of the second network access point to be connected includes: sending the identifier of the first network access point to the electrical inspection server and receiving the identifier of the second network access point sent by the electrical inspection server; wherein, the electrical inspection server is configured to determine the identifiers of candidate network access points that meet the first condition from the identifiers of multiple network access points based on the identifier of the first network access point; and determine the identifier of the second network access point from the identifiers of multiple candidate network access points according to the identifier order of each candidate network access point; the first condition includes that the identifier of the network access point is greater than the identifier of the first network access point, and the signal strength of the network access point is greater than the signal strength of the first network access point.

[0016] It can be understood that in the download method provided by the embodiments of the present application, considering the limited computing power of the cockpit system, the network access point determination algorithm is deployed on the server side, which can reduce the computing pressure on the cockpit system. Further, determining the second network access point based on the identifier order can reduce the number of times the cockpit system frequently switches between multiple candidate network access points, thereby improving the stability of the network connection.

[0017] In some embodiments, receiving the identifier of the second network access point sent by the electrical inspection server includes: receiving the identifier of the second network access point sent by the electrical inspection server when the vehicle switches the network access point for the first time; wherein, the electrical inspection server is configured to determine the identifiers of candidate network access points that meet the second condition from the identifiers of multiple network access points based on the identifier of the first network access point; and determine the identifier of the second network access point from the identifiers of multiple candidate network access points according to the identifier order of each candidate network access point; the second condition includes at least one of the following: the number of access devices of the network access point is less than a preset number threshold, the identifier of the network access point is greater than the identifier of the first network access point, and the signal strength of the network access point is greater than the signal strength of the first network access point.

[0018] It can be understood that in the download method provided in the embodiments of the present application, when a newly launched vehicle switches the network access point for the first time, the vehicle is diverted to an access point with a lower load, which can reduce the probability of overload and flashing failure. Subsequently, the switch can be made according to the pre-planned access point identifier without real-time load calculation, thereby reducing the communication burden. At the same time, through the management of the access point identifier, reverse zero switching of the vehicle is achieved, the switching frequency is reduced, and the timeliness and stability of the network connection are improved.

[0019] In some embodiments, downloading the target software resource through the second network access point includes: obtaining the download address of the target software resource corresponding to the configuration information from the electrical inspection server according to the configuration information of the vehicle; and downloading the target software resource based on the download address through the second network access point.

[0020] It can be understood that in the download method provided in the embodiments of the present application, by matching the configuration information of the vehicle with the fifth mapping table in the electrical inspection server, the vehicle can only download software resources that are fully compatible with its hardware, thereby reducing the probability that the cockpit system downloads incompatible software due to version errors. The cockpit system does not need to store a large number of irrelevant software, thus saving storage space.

[0021] In some embodiments, the method further includes: in response to a flashing instruction, controlling the microcontroller of the vehicle to perform the following operations: stopping sending network wake-up messages to function modules inside the cockpit system that are irrelevant to software flashing, so that the function modules enter the low-power mode; and stopping sending the network wake-up messages to electronic control units outside the cockpit system that are irrelevant to software flashing, so that the electronic control units enter the low-power mode.

[0022] It can be understood that in the download method provided in the embodiments of the present application, the cockpit system stops sending network wake-up messages to modules irrelevant to software flashing, causing them to enter the low-power mode and reducing ineffective power consumption. Further, in the low-power mode, the circuit activities of the irrelevant modules and electronic control units are reduced, reducing electromagnetic radiation and noise interference, thereby further improving the download efficiency.

[0023] In some embodiments, stopping sending network wake-up messages to function modules inside the cockpit system that are irrelevant to software flashing includes: determining the predicted completion time of software flashing according to the size of the target software resource and the predicted network bandwidth; and controlling the microcontroller of the vehicle to stop sending network wake-up messages to function modules inside the cockpit system that are irrelevant to software flashing when the predicted completion time is greater than a preset time.

[0024] It can be understood that in the download method provided by the embodiments of the present application, when the predicted completion time is greater than the preset time, it indicates that the vehicle requires a long time for flashing. Therefore, by stopping the function modules in the cockpit system that are irrelevant to software flashing and the network wake-up messages of external electronic control units, the irrelevant modules are put into the low-power mode, so that the battery life can be extended to ensure the flashing stability. Further, when the predicted completion time is less than the preset time, it indicates that the vehicle requires a short flashing time. Only the wake-up messages of external irrelevant electronic control units are stopped while the internal modules of the cockpit system are kept running. This can not only reduce the time loss caused by frequent shutdown and restart of modules, make the flashing process more coherent, but also enable the cockpit system to quickly respond to other operation instructions of the production line after the vehicle flashing is completed, and at the same time reduce the hardware loss of storage devices or network modules.

[0025] In some embodiments, the method further includes: sending an application update request to a cloud device, where the application update request carries a first identification code of the application to be updated; wherein, the cloud device is configured to query a third mapping table based on the first identification code to obtain a storage address of the application to be updated; and send the storage address of the application to be updated to the vehicle; download the application to be updated from the storage address of the application to be updated to update the application to be updated.

[0026] It can be understood that in the download method provided by the embodiments of the present application, when a certain application in the target software resource is to be updated, only the application to be updated corresponding to the application to be updated needs to be downloaded. Therefore, when a certain application in the target software resource is to be updated, it is not necessary to download the target software resource, and the update of the application to be updated can still be achieved, which is beneficial to improving the update efficiency of the application to be updated.

[0027] In some embodiments, the method further includes: sending a resource update request to a cloud device, where the resource update request carries a second identification code of the resource to be updated; wherein, the cloud device is configured to query a fourth mapping table based on the second identification code to obtain a storage address of the resource to be updated, and send the storage address of the resource to be updated to the vehicle; download the resource to be updated from the storage address of the application to be updated to update the resource to be updated.

[0028] It can be understood that in the download method provided by the embodiments of the present application, when a certain resource in the target software resource needs to be updated, only the resource for update corresponding to the resource to be updated needs to be downloaded. Therefore, when a certain resource in the target software resource needs to be updated, it is not necessary to download the target software resource, and the update of the resource to be updated can still be achieved, which is beneficial to improving the update efficiency of the resource to be updated.

[0029] In some embodiments, the software resource is the software resource of the vehicle's cockpit system.

[0030] It can be understood that in the download method provided by the embodiments of the present application, since the software resources of the cockpit systems of vehicles corresponding to different vehicle model codes are different, when downloading the software resources of the cockpit systems of vehicles corresponding to different vehicle model codes, when the vehicle is transferred to the electrical inspection station on the production line, the vehicle sends the vehicle identification code of the vehicle to the electrical inspection server, so that when the electrical inspection server obtains the vehicle model code of the vehicle based on the vehicle identification code, based on the first mapping table used to represent the relationship between the vehicle model code and the storage address of the software resource and the vehicle model code of the vehicle, query the storage address of the software resource corresponding to the vehicle model code, and send the storage address of the software resource to the vehicle. Since the first mapping table is obtained based on the second mapping table sent by the cloud device and the storage address of the software resource; and the second mapping table is used to represent the corresponding relationship between the vehicle model code and the software resource. In this way, the vehicle with this vehicle model code does not require a dedicated electrical inspection server and a dedicated cloud device, but can use the same electrical inspection server and the same cloud device as vehicles with different vehicle model codes to achieve the download of the software resource corresponding to the vehicle. In this way, the platformization of the software resource download of the cockpit system is realized, which is beneficial to reducing the R & D resources of the software resources of the vehicle's cockpit system and the test resources of the software resources of the cockpit system.

[0031] In a third aspect, an embodiment of the present application provides a software resource download device, the device includes: a receiving module configured to receive a software resource download request sent by a vehicle, and the vehicle identification code of the vehicle is carried in the software resource download request; wherein, the vehicle is a vehicle transferred to the electrical inspection station on the production line; a determination module configured to determine the vehicle model code of the vehicle based on the vehicle identification code; a obtaining module configured to query a first mapping table based on the vehicle model code to obtain the storage address of the software resource of the vehicle; wherein, the first mapping table is used to represent the corresponding relationship between the vehicle model code and the storage address of the software resource; a first sending module configured to send the storage address of the software resource to the vehicle; wherein, the vehicle is used to download the software resource corresponding to the vehicle based on the storage address of the software resource.

[0032] Fourth aspect, an embodiment of the present application provides a software resource download device, the device includes: a second sending module, configured to send a software resource download request to an electrical inspection server when the vehicle is transferred to the electrical inspection station on the production line, and the vehicle identification code of the vehicle is carried in the software resource download request; wherein, the electrical inspection server is used to determine the vehicle model code of the vehicle based on the vehicle identification code, and query a first mapping table based on the vehicle model code of the vehicle to obtain the storage address of the software resource of the vehicle, and send the storage address of the software resource to the vehicle; wherein, the first mapping table is used to represent the correspondence between the vehicle model code and the storage address of the software resource; a download module, configured to download the target software resource of the vehicle from the electrical inspection server based on the storage address of the software resource; wherein, multiple software resources corresponding to different vehicle model codes are stored in the electrical inspection server; the first mapping table is obtained based on a second mapping table sent by a cloud device and the storage address of the software resource; the second mapping table is used to represent the correspondence between the vehicle model code and the software resource.

[0033] Fifth aspect, an embodiment of the present application provides a software resource download device, including a memory and a processor, the memory stores a computer program that can run on the processor, and when the processor executes the program, it implements the method described in the first aspect; or, when the processor executes the program, it implements the method described in the second aspect.

[0034] Sixth aspect, an embodiment of the present application provides a computer-readable storage medium, on which a computer program is stored, and when the computer program is executed by a processor, it implements the method described in the first aspect, or when the computer program is executed by a processor, it implements the method described in the second aspect.

[0035] Seventh aspect, an embodiment of the present application provides a computer program product, including a computer program or instruction, when the computer program or instruction is executed by a processor, it implements the method described in the first aspect; or when the computer program or instruction is executed by a processor, it implements the method described in the second aspect. Description of the Drawings

[0036] Figure 1 Schematic diagram of the implementation process of a software resource download method provided by an embodiment of the present application Figure 1 ; Figure 2 Schematic diagram of the implementation process of obtaining a first mapping table provided by an embodiment of the present application; Figure 3 Schematic diagram of the implementation process of a software resource download method provided by an embodiment of the present application Figure 2 ; Figure 4Schematic diagram of the implementation process for downloading a target software resource provided by an embodiment of the present application Figure 1 ; Figure 5 Schematic diagram of the production line layout of a vehicle factory provided by an embodiment of the present application; Figure 6 Schematic diagram of the implementation process for downloading a target software resource provided by an embodiment of the present application Figure 2 ; Figure 7 Schematic diagram of the implementation process for downloading a target software resource provided by an embodiment of the present application Figure 3 ; Figure 8 Schematic diagram of the implementation process for downloading a target software resource provided by an embodiment of the present application Figure 4 ; Figure 9 Schematic diagram of the implementation process for the method of downloading a software resource provided by an embodiment of the present application Figure 3 ; Figure 10 Schematic diagram of the implementation process for the method of downloading a software resource provided by an embodiment of the present application Figure 4 ; Figure 11 Schematic diagram of the structure of a software resource download system provided by an embodiment of the present application; Figure 12 Schematic diagram of the structure of an ITOS provided by an embodiment of the present application; Figure 13 Schematic diagram of the structure of a configurable BOM provided by an embodiment of the present application; Figure 14 Schematic diagram of the structure of an OTA management provided by an embodiment of the present application; Figure 15 Schematic diagram of the structure of a cockpit system provided by an embodiment of the present application; Figure 16 Schematic diagram of the implementation process for the method of downloading a software resource provided by an embodiment of the present application Figure 5 ; Figure 17 Schematic diagram of the installation process of a software resource provided by an embodiment of the present application; Figure 18 Schematic diagram of the implementation process for the update of an application program or resource provided by an embodiment of the present application; Figure 19 Schematic diagram of the implementation process for downloading a target software resource provided by an embodiment of the present application Figure 5 ; Figure 20 Schematic diagram of the implementation process for downloading a target software resource provided by an embodiment of the present application Figure 6 ; Figure 21 Schematic diagram of a software resource download device provided by an embodiment of the present application Figure 1 ; Figure 22 Schematic diagram of a software resource download device provided by an embodiment of the present application Figure 2 ; Figure 23 Hardware entity schematic diagram of a software resource download device provided by an embodiment of the present application. Detailed implementation manners

[0037] Next, the technical solutions in the embodiments of the present application will be clearly and completely described in conjunction with the accompanying drawings in the embodiments of the present application.

[0038] In order to make the objectives, technical solutions, and advantages of the present application clearer, the present application will be further described in conjunction with the accompanying drawings. The described embodiments are only a part of the embodiments of the present application, rather than all the embodiments. Therefore, the described embodiments should not be regarded as a limitation to the present application. All other embodiments obtained by those of ordinary skill in the art without creative efforts fall within the scope of protection of the present application.

[0039] In the following description, "some embodiments\other embodiments" are involved, which describe subsets of all possible embodiments. However, it can be understood that "some embodiments\other embodiments" can be the same subset or different subsets of all possible embodiments, and can be combined with each other without conflict.

[0040] In the following description, the terms "first\second" only distinguish similar objects and do not represent a specific order for the objects. It can be understood that "first\second" can be interchanged with a specific order or sequence when allowed, so that the embodiments of the present application described here can be implemented in an order other than that illustrated or described here.

[0041] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as commonly understood by those of ordinary skill in the technical field to which this application belongs. The terms used herein are only for the purpose of describing the embodiments of the present application and are not intended to limit the present application.

[0042] With the rapid development of intelligent connected vehicles, the functions of in-vehicle infotainment systems are becoming increasingly rich, and the requirements for hardware performance and software functions in different vehicle models show significant differences. Currently, the industry mainly adopts a full-compatibility solution or a multi-part number solution, but both have obvious defects: The full-compatibility solution uses a high-performance hardware platform, resulting in a hardware utilization rate of less than 40% in low-end vehicle models, causing serious performance redundancy and energy consumption waste; while the multi-part number solution requires the development of independent versions for different configurations, exponentially increasing the complexity of supply chain management and seriously affecting the production efficiency of vehicle manufacturers.

[0043] In a related technology, as the cockpit serves as the presentation platform for the vehicle's human-machine interface, to meet personalized needs, there are differences in the picture resources and 3D model resources of many application programs. Therefore, the application programs of different vehicle models are all dedicated to specific vehicles. After the current vehicle models are launched, the Over-The-Air (OTA) new functions or iterative program bugs (i.e., BUGs) have become essential functions for each connected vehicle, thus being a necessary function to enhance the user experience. The vehicle-specific software poses a great challenge to traditional vehicle manufacturers with a heavy historical burden. When dozens or even hundreds of vehicle models are being iterated, the corresponding R & D resources and test resources are extremely large. Therefore, how to achieve the platformization of cockpit software and improve the flexibility and scalability of the system, enabling the same version of software to be platformized and upgraded across different vehicle models, has become an urgent problem to be solved.

[0044] In another related technology, in terms of software flashing technology, traditional wired flashing is limited by the bandwidth of the Controller Area Network (CAN) bus and is only applicable to small-sized software packages, unable to meet the requirements of the second-level beat of modern production lines; while the wireless flashing solution faces problems such as the switching of wireless access points (APs) caused by vehicle movement and the download rate fluctuations caused by multiple vehicles sharing the bandwidth in the factory environment. With the increase in the complexity of in-vehicle software, the volume of software packages has increased exponentially, and the existing flashing technology has been difficult to meet the needs of function iteration and user experience optimization. The contradiction between transmission efficiency and production line beat has become increasingly prominent, resulting in a low efficiency of vehicle software flashing and affecting function iteration and user experience.

[0045] Furthermore, during the software flashing process of the cockpit system, due to the large installation package, the download and flashing time may be up to more than 10 minutes. For fuel vehicles, when the engine is not running, it relies only on the battery for power supply. Long-time high-load operation may cause the battery to discharge, affecting the normal start of the vehicle. During the software download and installation stage, only the cockpit system needs to complete it independently, and other controllers do not need to participate. However, in related technologies, the vehicle network remains in the wake-up state, increasing the ineffective power consumption and causing waste of the vehicle's overall power.

[0046] In an embodiment of the present application, a method for downloading software resources is provided. The method is applied to an electrical inspection server. Figure 1 It is a schematic implementation process of a method for downloading software resources provided by an embodiment of the present application. Figure 1 As Figure 1 shown, the method includes steps 101 to 104: Step 101, receiving a software resource download request sent by a vehicle. The vehicle identification code of the vehicle is carried in the software resource download request. Wherein, the vehicle is a vehicle flowing to the electrical inspection station on the production line. Step 102, determining the vehicle model code of the vehicle based on the vehicle identification code. Step 103, querying a first mapping table based on the vehicle model code to obtain the storage address of the software resources of the vehicle. Wherein, the first mapping table is used to represent the correspondence between the vehicle model code and the storage address of the software resources. Step 104, sending the storage address of the software resources to the vehicle. Wherein, the vehicle is used to download the software resources corresponding to the vehicle based on the storage address of the software resources.

[0047] It can be understood that in the download method provided by the embodiment of the present application, since the relationship between different vehicle model codes and the storage addresses of software resources is represented by a first mapping table in the electrical inspection server, for vehicles with different vehicle model codes, when the vehicle model code of the vehicle is obtained based on the vehicle identification code, the storage address of the software resources corresponding to the vehicle model code can be queried based on the first mapping table, and the storage address of the software resources is sent to the vehicle, so that vehicles with different vehicle model codes can all download the software resources corresponding to the vehicle through the same electrical inspection server. In this way, the platformization of software resource download is realized, which is beneficial to reducing the R & D resources and test resources of the software resources of the vehicle.

[0048] The further optional implementation manners of each of the above steps and related terms will be described below.

[0049] In step 101, receiving a software resource download request sent by a vehicle. The vehicle identification code of the vehicle is carried in the software resource download request. Wherein, the vehicle is a vehicle flowing to the electrical inspection station on the production line.

[0050] It should be understood that in the embodiment of the present application, no limitation is imposed on the vehicle identification code. In some embodiments, the vehicle identification code (Vehicle Identification Number, VIN code) is a group of globally unique codes assigned by the vehicle manufacturer to each vehicle for identifying the identity and characteristics of the vehicle.

[0051] In some embodiments, the vehicle identification number of the vehicle is obtained by the electrical inspection device by scanning the two-dimensional code of the vehicle, and the electrical inspection device sends the obtained vehicle identification number of the vehicle to the vehicle. The electrical inspection server is the cloud of the electrical inspection device.

[0052] In the embodiments of the present application, no limitation is imposed on the software resources. In some embodiments, software resources refer to all elements on which the software depends during operation, including the code itself and the resources called by the code. In some embodiments, the resources called by the code include: pictures, configuration files, theme modes, services, etc.

[0053] In step 102, based on the vehicle identification number, the vehicle model code of the vehicle is determined.

[0054] It should be understood that in the embodiments of the present application, no limitation is imposed on the vehicle model code. In some embodiments, the vehicle model code is used to identify the specific model, configuration or version of the vehicle.

[0055] In some embodiments, the vehicle identification number can be understood as the "ID number" of the vehicle, which is globally unique and used to accurately identify an individual. The vehicle model code can be understood as the "category label" of the vehicle, which is used to distinguish different vehicle models or configurations. The vehicle identification number is used to uniquely identify the vehicle and runs through the entire life cycle of the vehicle (production, sales, maintenance, insurance). The vehicle model code is used to identify the vehicle category and is used for market classification, production management and user identification.

[0056] In step 103, based on the vehicle model code, the storage address of the software resources of the vehicle is queried from the first mapping table; wherein, the first mapping table is used to represent the corresponding relationship between the vehicle model code and the storage address of the software resources.

[0057] In some embodiments, Figure 2 is a schematic diagram of the implementation process for obtaining the first mapping table provided by the embodiments of the present application. As Figure 2 shown, the first mapping table can be obtained through the following steps 201 to 203: Step 201, receiving a software resource package and a second mapping table sent by the cloud device; wherein, the software resource package includes: software resources corresponding to multiple different vehicle model codes; the second mapping table is used to represent the corresponding relationship between the vehicle model code and the software resources; Step 202, storing the software resources in the software resource package; Step 203, based on the second mapping table and the storage address of the software resources, establishing the corresponding relationship between the vehicle model code and the storage address of its corresponding software resources to obtain the first mapping table.

[0058] It can be understood that in the download method provided in the embodiments of the present application, the electrical inspection server receives a software resource package including software resources with different vehicle type codes and a second mapping table for characterizing the correspondence between the vehicle type codes and the software resources from the cloud device, stores the software resources in the software resource package, and based on the second mapping table and the storage address of the software resources, establishes the storage address of the vehicle type code and its corresponding software resources to obtain a first mapping table. Therefore, for vehicles with different vehicle type codes, when the vehicle type code of the vehicle is obtained based on the vehicle identification code, the storage address of the software resources corresponding to the vehicle type code can be queried based on the first mapping table, and the storage address of the software resources is sent to the vehicle, so that vehicles with different vehicle type codes can all download the software resources corresponding to the vehicle through the same electrical inspection server and the same cloud device. In this way, the platformization of software resource download is realized, which is beneficial to reducing the R & D resources and test resources of the software resources of the vehicle.

[0059] In step 104, send the storage address of the software resources to the vehicle; wherein, the vehicle is used to download the software resources corresponding to the vehicle based on the storage address of the software resources.

[0060] In the embodiments of the present application, a method for downloading software resources is provided, and the method is applied to a vehicle. Figure 3 Schematic diagram of the implementation process of a method for downloading software resources provided by the embodiments of the present application Figure 2 , such as Figure 3 shown, the method includes step 301 and step 302: Step 301, when the vehicle flows to the electrical inspection station on the production line, send a software resource download request to the electrical inspection server, and the vehicle identification code of the vehicle is carried in the software resource download request; wherein, the electrical inspection server is used to determine the vehicle type code of the vehicle based on the vehicle identification code, query the first mapping table based on the vehicle type code of the vehicle to obtain the storage address of the software resources of the vehicle, and send the storage address of the software resources to the vehicle; the first mapping table is used to characterize the correspondence between the vehicle type code and the storage address of the software resources. Step 302, download the target software resources of the vehicle from the electrical inspection server based on the storage address of the software resources; wherein, the electrical inspection server stores software resources corresponding to multiple vehicle type codes respectively; the first mapping table is obtained based on the second mapping table sent by the cloud device and the storage address of the software resources; the second mapping table is used to characterize the correspondence between the vehicle type code and the software resources.

[0061] It can be understood that in the download method provided by the embodiments of the present application, when the vehicle moves to the electrical inspection station on the production line, a vehicle identification code of the vehicle is sent to the electrical inspection server, so that when the electrical inspection server obtains the vehicle model code based on the vehicle identification code, based on the first mapping table used to represent the relationship between the vehicle model code and the storage address of the software resource and the vehicle model code of the vehicle, query the storage address of the software resource corresponding to the vehicle model code, and send the storage address of the software resource to the vehicle. Since the first mapping table is obtained based on the second mapping table sent by the cloud device and the storage address of the software resource; and the second mapping table is used to represent the corresponding relationship between the vehicle model code and the software resource. In this way, the vehicle with this vehicle model code does not require a dedicated electrical inspection server and a dedicated cloud device, but can use the same electrical inspection server and the same cloud device as vehicles with different vehicle model codes to realize the download of the software resource corresponding to the vehicle. In this way, the platformization of software resource download is realized, which is beneficial to reducing the R & D resources of the vehicle's software resources and the test resources of the software resources.

[0062] The further optional implementation manners of the above steps and related terms will be described below respectively.

[0063] In step 301, when the vehicle moves to the electrical inspection station on the production line, a software resource download request is sent to the electrical inspection server, and the vehicle identification code of the vehicle is carried in the software resource download request; wherein, the electrical inspection server is used to determine the vehicle model code of the vehicle based on the vehicle identification code, and query the first mapping table based on the vehicle model code of the vehicle to obtain the storage address of the software resource of the vehicle, and send the storage address of the software resource to the vehicle; wherein, the first mapping table is used to represent the corresponding relationship between the vehicle model code and the storage address of the software resource.

[0064] It should be understood that in the embodiments of the present application, the vehicle identification code is not limited. In some embodiments, the vehicle identification code (Vehicle Identification Number, VIN code) is a group of globally unique codes assigned by the vehicle manufacturer to each vehicle for identifying the identity and characteristics of the vehicle.

[0065] In some embodiments, the vehicle identification code of the vehicle is obtained by the electrical inspection device scanning the two-dimensional code of the vehicle, and the electrical inspection device sends the obtained vehicle identification code of the vehicle to the vehicle, and the electrical inspection server is the cloud of the electrical inspection device.

[0066] In the embodiments of the present application, the software resources are not limited. In some embodiments, software resources refer to all elements that a software depends on during operation, including the code itself and the resources called by the code. In some embodiments, the resources called by the code include: pictures, configuration files, theme modes, services, etc.

[0067] It should be understood that in the embodiments of the present application, the vehicle model code is not limited. In some embodiments, the vehicle model code is used to identify the specific model, configuration, or version of a vehicle.

[0068] In some embodiments, the vehicle identification number can be understood as the "ID number" of the vehicle, which is unique globally and is used to accurately identify an individual. The vehicle model code can be understood as the "category label" of the vehicle and is used to distinguish different vehicle models or configurations. The vehicle identification number is used to uniquely identify a vehicle and runs through the entire life cycle of the vehicle (production, sales, maintenance, insurance). The vehicle model code is used to identify the vehicle category and is used for market classification, production management, and user identification.

[0069] In step 302, based on the storage address of the software resource, download the target software resource of the vehicle from the electrical inspection server; wherein, the electrical inspection server stores software resources corresponding to multiple vehicle model codes; the first mapping table is obtained based on the second mapping table sent by the cloud device and the storage address of the software resource; the second mapping table is used to represent the correspondence between the vehicle model code and the software resource.

[0070] In some embodiments, Figure 4 is a schematic diagram of the implementation process for downloading the target software resource provided by the embodiments of the present application. As Figure 4 shown, the target software resource of the vehicle can be downloaded from the electrical inspection server through the following steps 401 to 404: Step 401, in response to the current network status satisfying the network switching condition, determine the identifier of the current first network access point; wherein, each electrical inspection station on the production line corresponds to an optimal network access point; the identifier is generated by sequentially numbering the optimal network access points based on the transfer sequence of the vehicle on the production line; Step 402, determine the identifier of the second network access point to be connected; wherein, the identifier of the second network access point is determined from the sequence of network access points based on the identifier of the first network access point in sequence; Step 403, access the second network access point based on the identifier of the second network access point; Step 404, download the target software resource through the second network access point.

[0071] It can be understood that in the download method provided in the embodiments of the present application, during the process of the vehicle flowing along the production line, the cockpit system can determine the identifier of the current first network access point in response to the current network status meeting the network switching condition; thus, based on the identifier of the first network access point, the identifier of the second network access point to be connected is determined in sequence from the sequence of network access points. Further, the cockpit system accesses the second network access point based on the identifier of the second network access point; the target software resource is downloaded through the second network access point to perform software flashing on the vehicle. In this way, on the one hand, the cockpit system can switch from the current first network access point to the second network access point in sequence according to the network status and network switching conditions, and reduce the time consumed by the cockpit system to switch and connect back and forth between multiple network access points through the pre-defined network access point identifiers, improving the timeliness and stability of network connection, and further improving the download efficiency of the target software resource; on the other hand, performing software flashing on the vehicle by downloading the target software resource after dynamically switching to a better network access point can provide a reliable network foundation for subsequent software resource download and software flashing, improve the integrity and accuracy of the software resource, thereby enhancing the success rate of software flashing, and laying a good foundation for the subsequent normal use of the vehicle.

[0072] In step 401, in response to the current network status meeting the network switching condition, determine the identifier of the current first network access point; wherein, the optimal network access points respectively correspond to the electrical inspection workstations on the production line; the identifier is generated by sequentially numbering the optimal network access points according to the flow sequence of the vehicle on the production line.

[0073] In the embodiments of the present application, the production line refers to an automated assembly line arranged according to processes in an automobile manufacturing factory. It consists of multiple consecutive electrical inspection workstations, each electrical inspection workstation completes specific assembly / inspection processes, and multiple wireless access points are deployed along the line to form a continuously covered industrial wireless network. When the vehicle is off the production line, the vehicle can move at a fixed rhythm (such as 60 seconds / unit).

[0074] In some embodiments, the layout of the production line can be diverse. For example, the production line can be in a U-shaped layout, a W-shaped layout, or a straight-line layout, and can be set according to the actual factory manufacturing scenario, which is not limited herein.

[0075] Exemplarily, Figure 5 is a schematic diagram of the layout of a vehicle factory production line provided in the embodiments of the present application; as Figure 5 shown, the vehicle factory production line consists of N consecutive electrical inspection workstations (as shown in the figure, the factory production line includes electrical inspection workstation 1, electrical inspection workstation 2... electrical inspection workstation N), and N network access points are deployed along the electrical inspection workstations (such as Figure 5As shown in the figure, the factory production line includes network access points 1, 2,..., N), forming an industrial wireless network with continuous coverage. The identifier of network access point 1 is AP_001; the identifier of network access point 2 is AP_002; and so on. The identifier of network access point N is AP_00N. When the vehicle is produced offline, the vehicle can move at a fixed rhythm. During the process of flowing along with the production line, the vehicle can sequentially switch to the optimal network access point according to the order of the identifiers of the pre-set network access points to download and flash the target software resources.

[0076] In some embodiments, the first network access point refers to the optimal network access point corresponding to the current electrical inspection station where the vehicle is located.

[0077] In some embodiments, the identifier refers to a unique number generated for the optimal network access point in the order of electrical inspection stations based on the flow order of the vehicle on the production line. Each network access point can cover one or more electrical inspection stations.

[0078] Exemplarily, in a possible implementation manner, the identifiers of the network access points can be 001, 002, 003...; the identifiers of the network access points can also be A, B, C..., and the embodiments of the present application do not limit this.

[0079] In some embodiments, the naming of the network access point can be jointly determined according to the production line section code and the identifier, that is, the naming format of the network access point can be <production line section>_<identifier>.

[0080] In the embodiments of the present application, the production line section code is a letter code used to distinguish different physical areas in the vehicle production / repair production line, usually divided based on functions or layouts. For example, area A is the general assembly area; area B is the software flashing area; area C is the repair area.

[0081] Exemplarily, in a possible implementation manner, if the naming of the network access point is AP_B_001, it means that this network access point is the first AP in the software flashing area; if the naming of the network access point is AP_A_003, it means that this network access point is the 3rd AP in the general assembly area.

[0082] In some embodiments, the electrical inspection server can obtain the current network status and determine whether the current network status meets the network switching condition. When it is determined that the current network status meets the network switching condition, the electrical inspection server can send a network switching signal to the cockpit system. In response to the network switching signal, the cockpit system determines the identifier of the first network access point currently accessed by the vehicle.

[0083] In some embodiments, the network switching conditions may include, but are not limited to, at least one of the following: the signal strength of the first network access point is less than a preset strength threshold, the first network access point fails, and the network load of the first network access point is greater than a preset load threshold.

[0084] In step 402, determine the identifier of the second network access point to be connected; wherein, the identifier of the second network access point is determined from the sequence of network access points in order based on the identifier of the first network access point.

[0085] In the embodiments of the present application, the sequence of network access points is a predefined set of ordered AP collections based on the vehicle flow sequence and the production line layout.

[0086] In some embodiments, after the cockpit system determines the identifier of the currently connected first network access point, it obtains the sequence of network access points after the first network access point, and may determine the identifier of the second network access point to be connected from the sequence of network access points in order based on the identifier of the first network access point.

[0087] Exemplarily, in a possible implementation, a certain production line deploys 5 APs, which sequentially cover 5 electrical inspection stations on the assembly line. The predefined sequence of network access points is: [AP_001, AP_002, AP_003, AP_004, AP_005]; after the cockpit system determines that the identifier of the currently connected first network access point is AP_002, the cockpit system may directly select, in order, the network access point with the smallest identifier after the identifier of the first network access point in the sequence as the identifier of the second network access point to be connected, that is, the identifier of the second network access point to be connected is AP_003.

[0088] In some embodiments, the cockpit system may determine, from multiple network access points, the network access point with the identifier greater than the identifier of the first network access point and the highest signal strength as the second network access point to be connected based on the identifier of the first network access point and the signal strengths of the multiple network access points.

[0089] Exemplarily, in a possible implementation, 5 APs are deployed on a production line, covering 5 electrical inspection stations on the assembly line in sequence. The predefined network access point sequence is: [AP_001, AP_002, AP_003, AP_004, AP_005]; after the cockpit system determines that the identifier of the first network access point currently connected is AP_002, the cockpit system can, based on the identifier of the first network access point, scan the signal strengths of the APs after the identifier of the first network access point. If the signal strength of AP_003 is -60 dBm; the signal strength of AP_004 is -50 dBm; the signal strength of AP_005 is -70 dBm, then the cockpit system selects the network access point with the highest signal strength and an identifier greater than AP_002 as the second network access point to be connected, that is, the identifier of the second network access point to be connected is AP_004.

[0090] In step 403, access the second network access point based on the identifier of the second network access point.

[0091] In some embodiments, after the cockpit system determines the identifier of the second network access point to be connected, it can access the second network access point based on the identifier of the second network access point.

[0092] In some embodiments, the cockpit system sends an association request frame to the second network access point, including the supported wireless standards and frequency band information. After successful connection, the cockpit system continuously monitors the signal strength, packet loss rate, and bandwidth utilization of the second network access point. Further, the cockpit system reports the identifier of the second network access point to the electrical inspection server to update the production line network topology record, providing a network status basis for subsequent processes (such as software flashing or log uploading).

[0093] In step 404, download the target software resource through the second network access point.

[0094] In the embodiments of the present application, the target resource software package refers to the software version that the vehicle currently needs to upgrade. For example, in-vehicle entertainment system V3.2.1, autonomous driving module V2.5, etc. The target software resource may include, but is not limited to, at least one of the following: application layer software, vehicle model resources, etc.

[0095] In some embodiments, the target software resource can be stored in the electrical inspection server, and the target software resource can be classified according to vehicle models and hardware versions.

[0096] In some embodiments, after the cockpit system accesses the second network access point, it can obtain the download address of the target software resource from the electrical inspection server. After that, it downloads the target software resource through the second network access point. After the download is completed, it performs software flashing on the vehicle based on the target software resource.

[0097] Exemplarily, in a possible implementation, the cockpit system sends a request to the electrical inspection server, including the current software version of the vehicle identification number (VIN) (such as V3.1.0). The server returns the download address of the corresponding target software resource, and downloads the target software resource through the second network access point, and then performs software flashing on the vehicle based on the target software resource.

[0098] In some embodiments, determining the identifier of the second network access point to be connected includes: determining the identifiers of at least one candidate network access point that meets the first condition from the sequence of network access points; wherein, the first condition includes that the identifier of the network access point is greater than the identifier of the first network access point, and the signal strength of the network access point is greater than the signal strength of the first network access point; and determining the identifier of the second network access point from the identifiers of the multiple candidate network access points according to the order of the identifiers of the candidate network access points.

[0099] It can be understood that in the download method provided in the embodiments of the present application, the cockpit system can quickly determine candidate access points through the identifier and signal strength of the network access point, reduce the search time, and improve the network switching efficiency. Further, the cockpit system can sort the candidate access points by identifier and then determine the second network access point, reducing the time consumed by the vehicle to switch and connect between multiple network access points, thereby improving the timeliness and stability of network connection.

[0100] In some embodiments, the signal strength of the network access point can be detected by installing a network signal detection module or software on the cockpit system. These modules or software can monitor the signal strength of the surrounding network access points in real time and feedback the data to the cockpit system for subsequent judgment and selection.

[0101] In some embodiments, the signal strength of the network access point can also be obtained in real time by the electrical inspection device and the obtained signal strength is sent to the cockpit system.

[0102] In some embodiments, the cockpit system can obtain multiple network access points on the production line and the sequence of network access points from the electrical inspection server. Further, the cockpit system determines multiple network access points whose identifiers of the network access points are greater than the identifier of the first network access point and the signal strength of the network access point is greater than the signal strength of the first network access point from the sequence of network access points, and determines the identifiers of the multiple network access points as the identifiers of the candidate network access points.

[0103] Exemplarily, in a possible implementation, on an automotive production line, after the cockpit system determines that the network access point currently connected is AP1 with an identifier of AP_001 and a signal strength of -60 dBm, the cockpit system obtains the signal strength information of surrounding network access points through the installed network signal detection module or software. The cockpit system obtains the sequence of network access points on the production line from the electrical inspection server, including AP1 (AP_001, -60 dBm), AP2 (AP_002, -55 dBm), AP3 (AP_003, -50 dBm), AP4 (AP_004, -80 dBm), etc. Then, the cockpit system filters according to the first condition, that is, the identifier of the network access point is greater than AP_001 and the signal strength is greater than -60 dBm. Furthermore, the candidate network access points AP2 (AP_002, -55 dBm) and AP3 (AP_003, -50 dBm) are determined.

[0104] In some embodiments, for "determining the identifier of the second network access point from the identifiers of multiple candidate network access points according to the order of the identifiers of each candidate network access point", after the cockpit system determines the identifiers of at least one candidate network access point, it can sort the identifiers of each candidate network access point in ascending order. Further, according to the sorted identifiers, it determines the network access point with the smallest identifier among the identifiers of multiple candidate network access points as the second network access point.

[0105] Exemplarily, in a possible implementation, Figure 6 Schematic diagram of an implementation process for downloading a target software resource provided by an embodiment of the present application Figure 2 ; as Figure 6 shown, Vehicle A is connected to network access point 1 (identifier: AP_001) at the electrical inspection station 1. During the process of Vehicle A flowing along with the production line, after Vehicle A obtains the software version and download address through network access point 1, and obtains the signal strength of network access point 2 as -50 dBm, the signal strength of network access point 3 as -60 dBm, and the signal strength of network access point 4 as -80 dBm, the electrical inspection server detects that network access point 2 is connected to 3 vehicles, and network access points 3 and 4 are not connected to vehicles. The electrical inspection server will notify the cockpit system to skip network access point 2 through the wireless channel. Then, the cockpit system determines the second network access point as network access point 3 according to the signal strengths of network access points 3 and 4. Therefore, Vehicle A accesses network access point 3 at the electrical inspection station 2 to continue downloading the target software resource.

[0106] Exemplarily, in a possible implementation, after the cockpit system determines candidate network access points AP2 (AP_002, -55dBm), AP4 (AP_004, -80dBm), and AP3 (AP_003, -50dBm), it can sort the identifiers of the candidate network access points in ascending order. After sorting, we get AP2 (AP_002, -55dBm), AP3 (AP_003, -50dBm), and AP4 (AP_004, -80dBm). Further, the cockpit system can determine the network access point with the smallest identifier among the identifiers of multiple candidate network access points as the second network access point according to the sorted identifiers. That is to say, the cockpit system can determine that the identifier of the second network access point is AP_002.

[0107] In some embodiments, determining the identifier of the second network access point from the identifiers of multiple candidate network access points according to the order of the identifiers of each candidate network access point includes: determining the identifier of the candidate network access point with the smallest identifier among the multiple candidate network access points as the identifier of the second network access point; or, determining the identifier of the candidate network access point with the strongest signal strength among the multiple candidate network access points as the identifier of the second network access point.

[0108] It can be understood that in the download method provided in the embodiments of the present application, the cockpit system can quickly locate the network access point with the smallest identifier among multiple candidate network access points according to the sorted identifiers through the pre-defined network access point identifiers, reducing the time consumed by the cockpit system to switch connections back and forth among multiple network access points, enabling the vehicle to accurately access a better network access point. Among multiple candidate network access points, by selecting the network access point with the strongest signal strength, the cockpit system can make more effective use of network resources, achieve reasonable allocation and efficient utilization of network resources, and thus improve the download efficiency of the target software resource.

[0109] In some embodiments, after the cockpit system determines the identifiers of at least one candidate network access point, it can sort the identifiers of each candidate network access point in ascending order. Further, according to the sorted identifiers, it determines the network access point with the smallest identifier among the identifiers of multiple candidate network access points as the second network access point.

[0110] In some embodiments, after the cockpit system determines the identifiers of at least one candidate network access point, it can sort the signal strengths of each candidate network access point in ascending order. Further, according to the identifiers of each candidate network access point after sorting, it determines the network access point with the strongest signal strength among the identifiers of multiple candidate network access points as the second network access point.

[0111] Exemplarily, after the cockpit system determines candidate network access points AP2 (AP_002, -55dBm), AP4 (AP_004, -80dBm), and AP3 (AP_003, -50dBm), it can sort the signal strengths of the candidate network access points in ascending order. After sorting, we get AP4 (AP_004, -80dBm), AP2 (AP_002, -55dBm), and AP3 (AP_003, -50dBm). Further, the cockpit system can determine the network access point with the maximum signal strength as the second network access point from the identifiers of multiple candidate network access points according to the sorted identifiers. That is to say, the cockpit system can determine that the identifier of the second network access point is AP_003.

[0112] In some embodiments, after the cockpit system determines the identifiers of at least one candidate network access point, it can perform a weighted calculation on the signal strengths of each candidate network access point and the identifiers of each candidate network access point, and then sort the identifiers of each candidate network access point according to the comprehensive weight. Further, according to the sorted identifiers of each candidate network access point, it determines the network access point with the maximum comprehensive weight as the second network access point from the identifiers of multiple candidate network access points.

[0113] In some embodiments, determining the identifier of the second network access point to be connected includes: sending the identifier of the first network access point to the electrical inspection server and receiving the identifier of the second network access point sent by the electrical inspection server; wherein, the electrical inspection server is used to determine the identifiers of candidate network access points that meet the first condition from the identifiers of multiple network access points based on the identifier of the first network access point; and determine the identifier of the second network access point from the identifiers of multiple candidate network access points according to the order of the identifiers of each candidate network access point; the first condition includes that the identifier of the network access point is greater than the identifier of the first network access point, and the signal strength of the network access point is greater than the signal strength of the first network access point.

[0114] It can be understood that in the download method provided in the embodiments of the present application, considering the limited computing power of the cockpit system, the network access point determination algorithm is deployed on the server side, which can reduce the computing pressure on the cockpit system. Further, determining the second network access point based on the identifier order can reduce the number of times the cockpit system frequently switches between multiple candidate network access points, thereby improving the stability of network connection.

[0115] In the embodiments of the present application, the electrical inspection server refers to the electrical inspection platform in the factory. The electrical inspection server can be used to store the correspondence between the download addresses of each software resource and the vehicle configuration information; it can also be used to obtain the signal strengths of each network access point and send the identifier of the next network access point that the vehicle needs to connect to the cockpit system.

[0116] In some embodiments, after the vehicle cockpit system determines the current first network access point, it sends the identifier of the first network access point to the electrical inspection server. Subsequently, based on the identifier of the first network access point, the electrical inspection server determines the identifiers of candidate network access points from among the identifiers of multiple network access points, where the identifier of the network access point is greater than the identifier of the first network access point and the signal strength of the network access point is greater than the signal strength of the first network access point. Further, the electrical inspection server determines the identifier of the second network access point from among the identifiers of multiple candidate network access points according to the order of the identifiers of each candidate network access point, and sends the identifier of the second network access point to the cockpit system. Subsequently, the cockpit system receives the identifier of the second network access point sent by the electrical inspection server.

[0117] In some embodiments, after the electrical inspection server determines the identifiers of at least one candidate network access point, it can sort the identifiers of each candidate network access point in ascending order. Further, according to the sorted identifiers, it determines the network access point with the smallest identifier among the identifiers of multiple candidate network access points as the second network access point.

[0118] In some embodiments, after the electrical inspection server determines the identifiers of at least one candidate network access point, it can sort the signal strengths of each candidate network access point in ascending order. Further, according to the identifiers of each candidate network access point after sorting, it determines the network access point with the greatest signal strength among the identifiers of multiple candidate network access points as the second network access point.

[0119] In some embodiments, the receiving the identifier of the second network access point sent by the electrical inspection server includes: in the case where the vehicle is switching the network access point for the first time, receiving the identifier of the second network access point sent by the electrical inspection server; wherein, the electrical inspection server is used to determine the identifiers of candidate network access points that meet the second condition from among the identifiers of multiple network access points based on the identifier of the first network access point; and determine the identifier of the second network access point from among the identifiers of multiple candidate network access points according to the order of the identifiers of each candidate network access point; the second condition includes at least one of the following: the number of access devices of the network access point is less than a preset number threshold, the identifier of the network access point is greater than the identifier of the first network access point, and the signal strength of the network access point is greater than the signal strength of the first network access point.

[0120] It can be understood that in the download method provided in the embodiments of the present application, when a newly launched vehicle switches the network access point for the first time, the vehicle is diverted to an access point with a lower load, which can reduce the probability of overload and flashing failure. Subsequently, the switch can be made according to the pre-planned access point identifier without real-time load calculation, thereby reducing the communication burden. At the same time, through the access point identifier management, reverse zero switching of the vehicle is realized, the switching frequency is reduced, and the timeliness and stability of the network connection are improved.

[0121] In the embodiments of the present application, the first switch refers to the first time the vehicle switches the network access point after entering the production line.

[0122] In some embodiments, it can be determined whether the vehicle is switching the network access point for the first time through a switching counter. For example, a switching counter is set in the cockpit system. If the value of the switching counter is 0, it means that no switching has occurred, that is, the first switch; if the value of the switching counter is 1, it means that 1 switch has occurred.

[0123] In some embodiments, after determining that the vehicle is switching the network access point for the first time, the cockpit system can send the identifier of the determined first network access point to the electrical inspection server. Subsequently, based on the identifier of the first network access point, the electrical inspection server determines the identifier of a candidate network access point from the identifiers of multiple network access points, where the number of access devices of the network access point is less than the preset number threshold, the identifier of the network access point is greater than the identifier of the first network access point, and the signal strength of the network access point is greater than the signal strength of the first network access point. Further, the electrical inspection server determines the identifier of the second network access point from the identifiers of multiple candidate network access points according to the identifier order of each candidate network access point, and sends the identifier of the second network access point to the cockpit system. Subsequently, the cockpit system receives the identifier of the second network access point sent by the electrical inspection server.

[0124] In some embodiments, after determining the identifiers of at least one candidate network access point, the electrical inspection server can sort the identifiers of each candidate network access point in ascending order. Further, according to the sorted identifiers, the network access point with the smallest identifier is determined as the second network access point from the identifiers of multiple candidate network access points.

[0125] In some embodiments, after determining the identifiers of at least one candidate network access point, the electrical inspection server can sort the signal strengths of each candidate network access point in ascending order. Further, according to the identifiers of each candidate network access point after sorting, the network access point with the greatest signal strength is determined as the second network access point from the identifiers of multiple candidate network access points.

[0126] Exemplarily, Figure 7 Schematic diagram of the implementation process for downloading target software resources provided by the embodiments of the present application Figure 3; As shown in Figure 7 Figure 1, during the process of vehicle A flowing along the production line, when vehicle A is connected to the network access point 4 (identified as AP_004) at the electrical inspection station 3, but when at the electrical inspection station 4, the signal strength of network access point 3 is detected to be -50 dBm, and the signal strength of network access point 4 is -60 dBm. That is, the signal strength of network access point 3 (identified as AP_003) is greater than that of network access point 4. However, since the identifier of network access point 3 is less than that of network access point 4, vehicle A still connects to network access point 4 when it flows to the electrical inspection station 4. Further, when vehicle A flows to the electrical inspection station 5, the signal strength of network access point 5 (identified as AP_005) is detected to be -50 dBm, which is greater than the signal strength of network access point 4. At this time, vehicle A will switch to network access point 5 (AP_005) to continue downloading the target software resource, thus reducing 2 meaningless switches.

[0127] In some embodiments, downloading the target software resource through the second network access point includes: obtaining the download address of the target software resource corresponding to the configuration information from the electrical inspection server according to the configuration information of the vehicle; downloading the target software resource based on the download address through the second network access point.

[0128] It can be understood that in the download method provided in the embodiments of the present application, by matching the configuration information of the vehicle with the fifth mapping table in the electrical inspection server, the vehicle can only download software resources that are fully compatible with its hardware, thereby reducing the probability that the cockpit system downloads incompatible software due to version errors. The cockpit system does not need to store a large number of irrelevant software, thus saving storage space.

[0129] In the embodiments of the present application, the configuration information at least includes a vehicle identification number (Vehicle Identification Number, VIN).

[0130] In some embodiments, the electrical inspection server can determine the corresponding vehicle model information based on the vehicle identification number. The electrical inspection server determines the storage address (i.e., the download address) of the target software resource of the vehicle based on the vehicle model information.

[0131] Here, the vehicle model information of the vehicle includes vehicle models, vehicle series, etc.; among them, the vehicle model refers to vehicles of different models under the same brand; the vehicle series refers to product classifications under the same vehicle model, such as sedan series, off-road series, etc.

[0132] In some embodiments, there is a corresponding relationship between the vehicle model information and the download address of the target software resource. During the version distribution phase, the Integrated Transportation Operating System (ITOS) is responsible for integrating the resource file with the information of the cockpit system, and sending the resource address and its corresponding relationship with the cockpit system to the electrical inspection server through the Manufacturing Execution System (MES) or the Manufacturing Operations Management (MOM) platform. After receiving the configuration information, the electrical inspection server will establish a mapping relationship between the vehicle model information corresponding to the vehicle identification number and the resource file.

[0133] In some embodiments, the cockpit system can send the configuration information (i.e., the vehicle identification number) to the electrical inspection server through the MES or MOM platform. After receiving the configuration information, the electrical inspection server will look up the corresponding vehicle model information of the vehicle that matches the configuration information in the fifth mapping table. The electrical inspection server determines the storage address (i.e., the download address) of the target software resource of the vehicle based on the vehicle model information and returns the download address to the cockpit system for subsequent software resource download and update operations.

[0134] In some embodiments, during the vehicle off-line production process, the operator can connect to the cockpit system through a handheld device, write the WIFI name and password of the factory into the cockpit system to ensure that the vehicle can access the factory network; and write the configuration information of this vehicle (such as specific identifiers such as F1F0, FD01, etc.) into the cockpit system.

[0135] In some embodiments, for "downloading the target software resource based on the download address through the second network access point", the cockpit system can download the target software resource according to the download address returned by the electrical inspection server through the second network access point.

[0136] Further, after the download is completed, software flashing is performed in the cockpit system by the bootloader and the Firmware Over-The-Air Application (FOTA APP). The cockpit system synchronously displays the flashing progress and returns to the electrical inspection server at the same time.

[0137] In some embodiments, the method further includes: in response to a flashing instruction, controlling a microcontroller of the vehicle to perform the following operations: stopping sending network wake-up messages to functional modules inside the cockpit system that are irrelevant to software flashing, so that the functional modules enter a low-power mode; and stopping sending the network wake-up messages to electronic control units outside the cockpit system that are irrelevant to software flashing, so that the electronic control units enter a low-power mode.

[0138] It can be understood that in the download method provided in the embodiments of the present application, the cockpit system stops sending network wake-up messages to modules that are irrelevant to software flashing, causing them to enter a low-power mode and reducing ineffective power consumption. Further, in the low-power mode, the circuit activities of the irrelevant modules and electronic control units are reduced, reducing electromagnetic radiation and noise interference, thereby further improving the download efficiency.

[0139] In the embodiments of the present application, a microcontroller unit (MCU) is used to control the vehicle electronic system. Functional modules inside the cockpit system that are irrelevant to software flashing refer to functional modules directly integrated inside the head unit, powered by the cockpit system, but not participating in software download and flashing, and may still run in the background and consume electrical energy.

[0140] In some embodiments, the functional modules may include, but are not limited to, at least one of the following: a multimedia playback module, a navigation module, a voice assistant background service, and an in-vehicle entertainment program.

[0141] In the embodiments of the present application, electronic control units outside the cockpit system that are irrelevant to software flashing refer to other control units in the vehicle that are independent of the cockpit system and irrelevant to software flashing, and will continuously consume power if awakened.

[0142] In some embodiments, the electronic control units may include, but are not limited to, at least one of the following: a body control module (BCM), an instrument panel, an air-conditioning control module, and a door / window control module.

[0143] In some embodiments, a network wake-up message refers to a specific signal or message sent on a vehicle network (such as a CAN bus), used to prevent each electronic control unit from entering a sleep mode and keeping it in a wake-up state.

[0144] In some embodiments, after receiving a flashing instruction, the cockpit system, in response to the flashing instruction, controls the microcontroller of the vehicle to stop sending network wake-up messages to functional modules inside the cockpit system that are irrelevant to software flashing, and to stop sending network wake-up messages to electronic control units outside the cockpit system that are irrelevant to software flashing.

[0145] Exemplarily,Figure 8 Schematic diagram of the implementation process for downloading target software resources provided by an embodiment of the present application Figure 4 ; As Figure 8 shown, the method includes steps 801 to 807, where: Step 801, the microcontroller receives an instruction to trigger flashing.

[0146] Step 802, the microcontroller sends a flashing request notification to the modules related to flashing inside the cockpit system.

[0147] Step 803, the microcontroller of the vehicle stops sending network wake-up messages to the modules unrelated to flashing inside the cockpit system.

[0148] Step 804, the modules related to flashing inside the cockpit system connect to the wireless network to download, install, and flash the target software resources.

[0149] Step 805, the modules unrelated to flashing inside the cockpit system enter the low-power mode.

[0150] Step 806, the microcontroller stops sending network wake-up messages to the controllers unrelated to the cockpit system outside.

[0151] Step 807, the controllers unrelated to the cockpit system outside enter the low-power mode.

[0152] In the embodiment of the present application, the microcontroller of the vehicle controlled by the cockpit system also enters the low-power mode.

[0153] In some embodiments, the stopping of sending network wake-up messages to the functional modules unrelated to software flashing inside the cockpit system includes: determining the predicted completion time of software flashing according to the size of the target software resources and the predicted network bandwidth; and controlling the microcontroller of the vehicle to stop sending network wake-up messages to the functional modules unrelated to software flashing inside the cockpit system when the predicted completion time is greater than the preset time.

[0154] It can be understood that in the downloading method provided by the embodiment of the present application, when the predicted completion time is greater than the preset time, it indicates that the vehicle requires a long time for flashing. Therefore, by stopping the network wake-up messages of the functional modules unrelated to software flashing inside the cockpit system and the external electronic control unit, the unrelated modules enter the low-power mode, so as to extend the battery life to ensure the flashing stability. Further, when the predicted completion time is less than the preset time, it indicates that the vehicle requires a short time for flashing. Only the wake-up messages of the external unrelated electronic control units are stopped while keeping the internal modules of the cockpit system running, which can not only reduce the time loss caused by frequent shutdown and restart of the modules, make the flashing process more coherent, but also enable the cockpit system to quickly respond to other operation instructions of the production line after the vehicle flashing is completed, and at the same time reduce the hardware loss of the storage device or network module.

[0155] In some embodiments, the cockpit system can determine the size of the target software resource from the electrical inspection server, and determine the predicted network bandwidth through a preset bandwidth prediction model. Then, according to the relationship between the size of the target software resource and the predicted network bandwidth, the predicted completion time of the software flashing is determined. Exemplarily, the predicted completion time is equal to the size of the target software resource / the predicted network bandwidth.

[0156] In some embodiments, the preset bandwidth prediction model can be established based on the historical network usage records of the cockpit system, combined with factors such as time, location, and network type (4G / 5G / Wi-Fi). For example, time series analysis or machine learning algorithms are used to predict the bandwidth in a future period.

[0157] In some embodiments, after the cockpit system determines the predicted completion time of the flashing, it compares the predicted completion time with a preset time. If the predicted completion time is greater than the preset time, the cockpit system can control the vehicle's microcontroller to stop sending network wake-up messages to the functional modules inside the cockpit system that are irrelevant to the software flashing, so that the functional modules enter the low-power mode; and stop sending network wake-up messages to the electronic control units outside the cockpit system that are irrelevant to the software flashing, so that the electronic control units enter the low-power mode.

[0158] In some embodiments, if the predicted completion time is less than the preset time, the cockpit system can control the vehicle's microcontroller to stop sending network wake-up messages to the electronic control units outside the cockpit system that are irrelevant to the software flashing, so that the electronic control units enter the low-power mode.

[0159] In some embodiments of the present application, after the vehicle software is flashed, it further includes: after the vehicle completes the software flashing, obtaining the actual software version information of the vehicle; comparing the actual software version information with the expected software version information. If the actual software version information is consistent with the expected software version information, the flashing result is successful; if the actual software version information is inconsistent with the expected software version information, the flashing result is failed. Further, after the flashing result is a failure, the cockpit system can record the flashing error log and trigger a rollback mechanism; send a flashing failure warning to the electrical inspection server.

[0160] In the embodiments of the present application, through strict version verification after the vehicle software is flashed, it is beneficial to improve the success rate and reliability of the vehicle software flashing, ensure the stable operation of the vehicle software system, and provide strong support for the normal use and performance improvement of the vehicle.

[0161] In some embodiments, the flashing error log can record in detail the relevant information of the flashing failure, including but not limited to the time of the flashing operation, the error code, error description, and software modules involved during the flashing process.

[0162] In some embodiments, the rollback mechanism is to restore the vehicle's software system to the state before the flashing operation. In the case of a flashing failure, the new software may not work properly, and may even cause the vehicle to malfunction or have abnormal functions. Through the rollback mechanism, the vehicle's software version can be restored to a previous stable and reliable version to ensure that the vehicle can continue to operate normally.

[0163] Exemplarily, after the vehicle completes software flashing, if the cockpit system obtains the actual software version information of the vehicle as V2.3.1; but the expected version information is V2.3.2, and it is determined that the version information is different through comparison, then the flashing result is determined to be a flashing failure. After that, the cockpit system can record the flashing error log and send a flashing failure alarm to the electrical inspection server.

[0164] In some embodiments, Figure 9 Schematic diagram of the implementation process of a method for downloading software resources provided by an embodiment of the present application Figure 3 , as Figure 9 shown, the method includes steps 901 to 902: Step 901, send an application update request to the cloud device, and the application update request carries the first identification code of the application to be updated; wherein, the cloud device is used to query the third mapping table based on the first identification code to obtain the storage address of the application to be updated; and send the storage address of the application to be updated to the vehicle; the third mapping table is used to represent the correspondence between the first identification code and the storage address of the application. Step 902, download the application to be updated from the storage address of the application to be updated to update the application to be updated.

[0165] It can be understood that in the download method provided by the embodiment of the present application, since in the case of a certain application in the target software resource to be updated, only the application to be updated corresponding to the application to be updated needs to be downloaded. Therefore, in the case of a certain application in the target software resource to be updated, it is not necessary to download the target software resource, and the update of the application to be updated can also be realized, which is beneficial to improving the update efficiency of the application to be updated.

[0166] In some embodiments, Figure 10 Schematic diagram of the implementation process of a method for downloading software resources provided by an embodiment of the present application Figure 4 , as Figure 10As shown, the method includes Step 1001 to Step 1002: Step 1001, sending a resource update request to a cloud device, where the resource update request carries a second identification code of a resource to be updated; wherein, the cloud device is configured to query a fourth mapping table based on the second identification code to obtain a storage address of the resource to be updated, and send the storage address of the resource to be updated to the vehicle; the fourth mapping table is used to represent the correspondence between the second identification code and the storage address of the resource; Step 1002, downloading the resource to be updated from the storage address of the application to be updated to update the resource to be updated.

[0167] It can be understood that in the download method provided in the embodiments of the present application, since when a certain resource in the target software resource needs to be updated, only the resource to be updated corresponding to the resource to be updated needs to be downloaded. Therefore, when a certain resource in the target software resource needs to be updated, it is not necessary to download the target software resource, and the update of the resource to be updated can also be realized, which is beneficial to improving the update efficiency of the resource to be updated.

[0168] It should be understood that in the embodiments of the present application, the third mapping table and the fourth mapping table are not limited. In some embodiments, the third mapping table and the fourth mapping table are the same table, and it includes: the relationship between the first identification code and the storage address of the application, and the relationship between the second identification code and the storage address of the resource. In other embodiments, the third mapping table is different from the fourth mapping table.

[0169] Exemplarily, in a possible implementation manner, the target software resource can be decoupled through the following Steps 11 to 13: Step 11, extracting the operating system core part and necessary drivers from the target software resource to generate a minimized system firmware.

[0170] Step 12, separating the pre-set application from the system firmware and storing it separately.

[0171] Through the above steps, the size of the system firmware can be significantly reduced, thereby reducing the amount of data that needs to be downloaded during OTA updates.

[0172] Regarding the application platformization: For the same functional module, if an application is developed for each vehicle model, then for different vehicle models, different OTA packages need to be developed and different OTA upgrade packages need to be deployed, so the OTA push frequency will be affected. For the same functional feature, the push time for different vehicle models is different, which will also affect the user experience.

[0173] By platformizing the application, it can be developed and deployed once and then pushed to different vehicle models, improving the OTA deployment and push efficiency and enhancing user satisfaction.

[0174] In some embodiments, step 12 can be implemented through the following steps 12.1 to 12.2: Step 12.1. Standardize the separated application, remove the differential resources, and generate a common version application; Step 12.2. Store the differential resources separately and customize them according to different vehicle models; Through the above steps, the independence of the application can be achieved, enabling each project to only need to download and flash the corresponding differential resources instead of downloading the entire application again.

[0175] Step 13. Separate the resource files.

[0176] The separation of resource files is a prerequisite for realizing the platformization of the application. Different vehicle models have different functional characteristics in the same function. To achieve the platformization of the application, the differential parts need to be split out as independent resource packages. The common functions are retained in the original application, which can meet the requirement of deploying once and pushing to all vehicle models for OTA, thus improving the OTA efficiency. Since the split resource packages are related to the vehicle models, when there is an upgrade requirement for a single vehicle model, the resource packages need to be upgraded separately to achieve the purpose of improving the OTA efficiency.

[0177] In some embodiments, step 13 can be implemented through the following steps 13.1 to 13.3: Step 13.1. Analyze the differential resources of the application, including configuration files, language packs, icons, etc.; Step 13.2. Strip out the differential resources and customize them according to different vehicle models; Step 13.3. Each vehicle model only needs to download and flash the corresponding differential resources.

[0178] In some embodiments, the software resources are the software resources of the vehicle's cockpit system.

[0179] It can be understood that in the download method provided in the embodiments of the present application, since the software resources of the cockpit systems of vehicles corresponding to different vehicle type codes are different, when downloading the software resources of the cockpit systems of vehicles corresponding to different vehicle type codes, when the vehicle is transferred to the electrical inspection station on the production line, the vehicle sends the vehicle identification code of the vehicle to the electrical inspection server, so that when the electrical inspection server obtains the vehicle type code of the vehicle based on the vehicle identification code, based on the first mapping table used to represent the relationship between the vehicle type code and the storage address of the software resource and the vehicle type code of the vehicle, query the storage address of the software resource corresponding to the vehicle type code, and send the storage address of the software resource to the vehicle. Since the first mapping table is obtained based on the second mapping table sent by the cloud device and the storage address of the software resource; and the second mapping table is used to represent the correspondence between the vehicle type code and the software resource. In this way, the vehicle with this vehicle type code does not require a dedicated electrical inspection server and a dedicated cloud device, but can use the same electrical inspection server and the same cloud device as vehicles with different vehicle type codes to realize the download of the software resource corresponding to the vehicle. In this way, the platformization of the software resource download of the cockpit system is realized, which is beneficial to reducing the R & D resources of the software resources of the vehicle cockpit system and the test resources of the software resources of the vehicle cockpit system.

[0180] In some embodiments, the software resource may be the software resource of the intelligent driving domain controller. In other embodiments, the software resource may be the software resource of the body domain controller.

[0181] The following will illustrate the exemplary application of the embodiments of the present application in an actual application scenario.

[0182] In the embodiments of the present application, a system is provided that is based on realizing the platformization of the software resources of the cockpit system and can dynamically configure the software resources of the cockpit system based on the vehicle type code. Figure 11 The structural schematic diagram of a software resource download system provided for the embodiments of the present application is as Figure 11 shown. The system includes: a configuration word automatic generation configuration system integrated transportation operating system (ITOS) 1101, a configurable vehicle bill of materials (BOM) 1102, an electrical inspection server 1103, an over-the-air (OTA) management 1104, and a cockpit system 1105.

[0183] In some embodiments, ITOS1101 is mainly responsible for configuring the relationship between the vehicle model code and software resources, and transferring the software resources generated during the R & D process to the electrical inspection server 1103 and OTA management 1104; the configurable BOM1102 mainly provides vehicle information and the software and hardware part numbers to be installed in this vehicle for ITOS1101; the electrical inspection server 1103 mainly receives relevant content such as software packages and configuration files (i.e., an example of the second mapping table) of each vehicle model from ITOS1101, which is mainly used to automatically flash the differentiated content to the corresponding vehicle when the vehicle is produced in the factory; the OTA management 1104 is mainly responsible for, after the vehicle reaches the user, performing software upgrades with the same function for different vehicle models by dividing the vehicle model code, application programs, resources, etc. respectively; the cockpit system 1105, as the object to be platformized, needs to reconstruct the software architecture of its own software application module (i.e., an example of software resources), extract the resources related to vehicle attributes and store them separately, and can configure it separately. The cockpit system 1105, as the core of the entire software resource download system, needs to download the software resources of the corresponding vehicle from the electrical inspection device to the vehicle during the production stage. When the vehicle is in use (i.e., when used by the user), the resources or application programs for update can be downloaded from the OTA management 1104 to the vehicle in the OTA management 1104.

[0184] ITOS1101 is used to select specific function points to be carried based on the hardware capabilities and configuration of the vehicle model, and automatically generate a configuration file based on set rules (the second mapping table for the electrical inspection server 1103, and the third mapping table and / or the fourth mapping table for the OTA management 1104). The configuration file (i.e., an example of the second mapping table) is automatically pushed to the electrical inspection server 1103 or OTA management 1104 in the factory through ITOS1101 based on the vehicle model code in the cloud device. At the same time, the software versions during the R & D process of each project and the official versions after testing can be managed through the automatic transfer of ITOS1101.

[0185] Figure 12 The structure diagram of an ITOS provided for the embodiments of the present application is as Figure 12 shown. ITOS1101 includes: configuration word check 1201, configuration file management 1202, software package management 1203, vehicle model resource management 1204, map data management 1205, and voice resource management 1206.

[0186] The configurable BOM 1102 is used to match the platform-based hardware part numbers to the vehicle models equipped with this version of the platform software, and the part numbers of the software are used for itemized management of application programs and / or resources. It is also used in scenarios such as map data and certificate writing of subscriber identity module (SIM) cards that involve national attribute management. Relevant attributes can also be obtained in the configurable BOM 1102 to automatically write relevant resources and files to the specified directory.

[0187] Figure 13 FIG. is a schematic structural diagram of a configurable BOM provided by an embodiment of the present application. As Figure 13 shown, the configurable BOM 1102 includes: hardware part number management 1301, software part number management 1302, vehicle model export country management 1303, and vehicle model information management 1304.

[0188] The electrical inspection server 1103 is used to automatically push contents such as configuration files, software programs, and resource files required for each vehicle to the corresponding vehicle during the vehicle generation process, completing the distribution of vehicle-specific software modules and resource files.

[0189] The OTA management 1104 is used for relevant upgrades / updates on the user side after the software leaves the factory. For example, it can achieve separate upgrades / updates of application programs and / or resources; instead of downloading software resources (including system firmware, application programs, and resources of application programs) when application programs and / or resources need to be upgraded / updated, thereby improving the efficiency of upgrades / updates. It can be applied separately for upgrades / updates, can release versions quickly, solve problems or add new functions, and improve the user experience. The itemized management of application programs and / or resources is less affected by functional factors, has little change after the platform is finalized, has high stability, can also reduce the traffic requirements of users during upgrades / updates, and greatly reduces the upgrade / update costs of vehicle manufacturers.

[0190] Figure 14 FIG. is a schematic structural diagram of an OTA management provided by an embodiment of the present application. As Figure 14 shown, the OTA management 1104 includes: software package management 1401, configuration file management 1402, vehicle model resource management 1403, and voice resource management 1404.

[0191] Figure 15 FIG. is a schematic structural diagram of a cockpit system provided by an embodiment of the present application. As Figure 15 shown, the cockpit system 1105 includes: a production line writing module 1501, an SOTA module 1502, a boot installation module 1503, and an electrical inspection configuration module 1504; among them, the SOTA module is a software remote upgrade module.

[0192] Traditional cockpit systems integrate all applications strongly related to vehicle following attributes into a large package, and also integrate all vehicle attribute resources in a large scale. Therefore, it is very difficult to achieve platformization across different vehicle models, and the software is basically dedicated to specific vehicles. To achieve the platformization of software resources, the following three problems need to be solved. First, top-level design: it is necessary to plan in groups based on a vehicle group to ensure that the platform design of the hardware meets the requirements of maximizing compatibility projects, so as to ensure the consistency of software resources for vehicle cockpit systems across different projects, and a small amount of differentiated content can be achieved through configuration. Second, the software of the cockpit itself needs to be transformed. Instead of using the original large-package integration scheme, the application programs with strong vehicle-related attributes should be separated and installed and integrated separately. Only a few application program sets that maintain the basic normal operation of the system are used as an image package, and the image package should be minimized. At the same time, resources strongly related to vehicle attributes, such as vehicle models, vehicle pictures, and vehicle configuration parameters, are separately separated into independent targets and can be configured based on vehicle models. Third, since the more configuration items there are, the more complex the management is. Therefore, the transfer of packages and configuration files should be automatically transferred by the system to reduce the manual intervention link.

[0193] Figure 16 Schematic diagram of the implementation process of a software resource download method provided by an embodiment of this application Figure 5 , this method includes the following steps 1601-1616: Step 1601, ITOS1101 packs the software resource package; Step 1602, ITOS1101 sends the software resource package to the configurable BOM1102; Step 1603, the configurable BOM1102 saves the software resources in the software resource package; Step 1604, the configurable BOM1102 binds the storage address of the software resource with the vehicle model code to obtain the fifth mapping table; Step 1605, the configurable BOM1102 sends the fifth mapping table to the electrical inspection server 1103; Step 1606, the electrical inspection server 1103 obtains and saves the software resources based on the fifth mapping table; Step 1607, the electrical inspection server 1103 binds the storage address of the software resource with the vehicle model code to obtain the first mapping table; Step 1608, the electrical inspection device 1106 conducts an electrical inspection on the vehicle; Step 1609, the electrical inspection device 1106 sends the vehicle identification code to the cockpit system 1105; Step 1610, the cockpit system 1105 sends the vehicle identification code to the electrical inspection server 1103; Step 1611, the electrical inspection server 1103 obtains the vehicle model code based on the vehicle identification code; Step 1612: The electrical inspection server 1103 obtains the storage address of the software resource; Step 1613: The electrical inspection server 1103 sends the storage address of the software resource to the cockpit system 1105; Step 1614: The cockpit system 1105 downloads the software resource; Step 1615: The electrical inspection server 1103 sends the software resource to the cockpit system 1105; Step 1616: The cockpit system 1105 stores the downloaded software resource.

[0194] Figure 17 It is a schematic diagram of the installation process of a software resource provided by an embodiment of the present application. As Figure 17 shown, the method includes the following steps 1701-1708: Step 1701: Unzip the software resource; Step 1702: Obtain the vehicle configuration file; Step 1703: Compare whether the target software resource in the configuration file is the same as the downloaded software resource; if so, execute Step 1704, otherwise, execute Step 1705; Step 1704: Install the corresponding resource into the corresponding directory; Step 1705: Re-download the software resource in the corresponding directory; Step 1706: Read the configuration word of this vehicle; Step 1707: Configure the functions of each module; Step 1708: Complete the matching of the vehicle-specific version software.

[0195] Figure 18 It is a schematic diagram of the implementation process for updating an application program or resource provided by an embodiment of the present application. As Figure 18 shown, the update of the application program or resource can be achieved through the following steps 1801 to step 1813: Step 1801: ITOS 1101 packages the software resource package; Among them, the software resource package includes: an updated version of the application program and / or resource; Step 1802: ITOS 1101 sends the software resource package to the OTA management 1104; Step 1803: The OTA management 1104 stores the software resource package; Step 1804: The OTA management 1104 decompresses the software resource package into an application program and / or resource; Step 1805: The OTA management 1104 establishes a third mapping table and / or a fourth mapping table; Step 1806: The cockpit system 1105 detects that the application program and / or resource needs to be updated; Step 1807, the cockpit system 1105 sends the first identification code of the application program and / or the second identification code of the resource to the OTA management 1104; Step 1808, the OTA management 1104 obtains the storage address of the application program and / or the resource; Step 1809, the OTA management 1104 sends the storage address of the application program and / or the resource to the cockpit system 1105; Step 1810, the cockpit system 1105 downloads the application program and / or the resource; Step 1811, the cockpit system 1105 performs verification after the download is completed; Step 1812, after the verification by the cockpit system 1105 is passed, the application program and / or the resource are upgraded; Step 1813, after the upgrade of the cockpit system 1105 is completed, the software module is configured based on the configuration word.

[0196] The core point for the cockpit software to achieve platformization lies in separating the common logic and the resources related to vehicle personalization.

[0197] The matching management of software resources in the production line scenario is achieved through the following steps 21 to 23: Step 21, packaging and transfer of software resources: First, ITOS packages the software resources and the corresponding vehicle type codes in the R & D process, matches the software resources with the vehicle type codes, then ITOS transfers the packaged software resource package to the configurable BOM. The configurable BOM stores the software resources in the corresponding location, then identifies the vehicle type code of the software resources, and binds the storage address of the software resources with the vehicle type code. After the binding is completed, the vehicle type code and the storage address of the software resources are synchronized to the factory electrical inspection server. The factory electrical inspection server receives the software resources and stores them, and at the same time, binds the storage address of the software resources in the electrical inspection server with the vehicle type code again.

[0198] Step 22, automatic matching and downloading of software resources: When the vehicle moves to the electrical inspection station on the production line, the electrical inspection equipment writes the VIN code of this vehicle. After the cockpit system obtains the VIN code of this vehicle, it uploads the VIN code of this vehicle to the electrical inspection server. The electrical inspection server identifies the vehicle type code based on the VIN code, then obtains the storage address of the software resources of this vehicle type, and sends the storage address of the software resources to the cockpit system. After the cockpit system receives the storage address of the corresponding software resources, it downloads the software resources of this vehicle to the corresponding storage address.

[0199] Step 23, Software Resource Installation: On the production line, the cockpit system downloads software resources from the electrical inspection server through the production line flashing module. After the download is complete, the SOTA module extracts the software resources to the corresponding directory. After extraction, the boot installation module first reads the configuration file inside, obtains the software resources to be installed for this vehicle through the configuration file information, compares them with the currently downloaded software resources, and starts to install the resources to the corresponding directory of the application after passing the comparison. After installing the software resources, the boot installation program reads the configuration word of this vehicle again to hide the functions that do not need to be displayed for this vehicle. After each software module is configured, the cockpit system software becomes the exclusive software for this vehicle.

[0200] The software resource update for users using the OTA scenario is achieved through the following Step 31 and Step 32: Step 31, Packaging and Transfer of Software Resources: First, ITOS packages the software resources and the corresponding vehicle model codes during the R & D process, and matches the application program package, resource package, vehicle model code, software part number of each application program (i.e., the first identification code), and software part number of the resource (i.e., the second identification code). Then, ITOS transfers the packaged software resource package to OTA management. The software resources received by OTA management are the same as the configurable BOM, which is a large package software based on the vehicle model. The production line flashing is based on the large package flashing, and the small package upgrade strategy is adopted for the end - user. Therefore, OTA management needs to decompress the software resource package into an application program package and a resource package, and then associate the application program package and the resource package with the corresponding identification codes.

[0201] Step 32, Upgrade / Update of Application Programs and / or Resources: When the vehicle is on the market, for a group of co - edition vehicle models, when there is an upgrade on the application side, first build the application framework commonly used by each vehicle model into a software package, and at the same time package the different resources of different vehicle models separately. When the SOTA module on the vehicle end recognizes the version update of the application program and / or resource, it sends the first identification code of the application program and / or the second identification code of the resource and the corresponding updated version number to OTA management. OTA management finds the storage address of the application program and / or resource to be updated based on the first identification code of the application program and / or the second identification code of the resource and the corresponding version number, and synchronizes the storage address of the application program and / or resource to be updated to the cockpit system. After receiving the storage address of the application program and / or resource to be updated, the cockpit system downloads the application program and / or resource; after the download is complete, it performs a verification; if the verification is successful, it proceeds with the installation; after the installation is complete, it makes a configuration of the module based on the configuration word information once again to achieve the upgrade.

[0202] It can be understood that in the embodiments of the present application, through the matching development of the entire large system, the software resources of the cockpit system can be shared across multiple models of different projects, reducing the iterative maintenance cost in the later stage of the project, reducing the problems caused by project adaptation during the development process, and also significantly reducing the iteration cycle of the iterative version.

[0203] Figure 19 Schematic diagram of the implementation process for downloading target software resources provided by the embodiments of the present application Figure 5 , such as Figure 19 shown, the method includes steps 1901 to 1910, where: Step 1901, the cockpit system 1105 writes the vehicle's VIN code through the electrical inspection device.

[0204] Step 1902, the cockpit system 1105 receives a software flashing request.

[0205] Step 1903, the cockpit system 1105 obtains the VIN code and sends the VIN code to the electrical inspection server 1103.

[0206] Step 1904, the electrical inspection server 1103 determines the corresponding vehicle model information based on the VIN code.

[0207] Among them, the vehicle model information includes vehicle model, model series, etc.

[0208] Step 1905, the electrical inspection server 1103 determines the storage address (i.e., the download address) of the target software resources of the vehicle based on the model information.

[0209] Here, the cockpit system 1105 separates the software resources (separating the basic software and functional application software), and uploads each functional application software to the electrical inspection server. It should be understood that the functional application software is the target software resources in the above embodiments.

[0210] Step 1906, the electrical inspection server 1103 sends the download address to the cockpit system 1105.

[0211] Step 1907, the cockpit system 1105 sends a download request to the electrical inspection server according to the download address through the second network access point.

[0212] Step 1908, after receiving the download request, the electrical inspection server 1103 sends the corresponding target software resources to the cockpit system 1105.

[0213] Step 1909, the cockpit system 1105 receives and stores the target software resources.

[0214] Step 1910, the cockpit system 1105 performs software flashing according to the target software resources.

[0215] Figure 20 Schematic diagram of the implementation process for downloading the target software resource provided by the embodiment of the present application Figure 6 As Figure 20 shown, the method includes steps 2001 to 2008, where: Step 2001, determine the identifier of the current first network access point.

[0216] Among them, the determining the identifier of the current first network access point includes, during the process of the vehicle flowing along the production line, in response to the current network status meeting the network switching condition, determining the identifier of the current first network access point; each electrical inspection station on the production line corresponds to an optimal network access point respectively; the identifier is generated by sequentially numbering the optimal network access points based on the flow order of the vehicle on the production line.

[0217] Step 2002, determine whether the vehicle is switching the network access point for the first time. If so, execute step 2003; otherwise, execute step 2004.

[0218] Step 2003, receive the identifier of the second network access point sent by the electrical inspection server.

[0219] Among them, the electrical inspection server determines the identifier of the candidate network access point that meets the second condition from the identifiers of multiple network access points based on the identifier of the first network access point; and determines the identifier of the second network access point from the identifiers of multiple candidate network access points according to the order of the identifiers of each candidate network access point; the second condition includes the following conditions: the number of access devices of the network access point is less than the preset number threshold, the identifier of the network access point is greater than the identifier of the first network access point, and the signal strength of the network access point is greater than the signal strength of the first network access point.

[0220] Step 2004, determine the identifier of at least one candidate network access point that meets the first condition from the sequence of network access points.

[0221] Among them, the first condition includes that the identifier of the network access point is greater than the identifier of the first network access point, and the signal strength of the network access point is greater than the signal strength of the first network access point; among them, the identifier of the second network access point is determined sequentially from the sequence of network access points based on the identifier of the first network access point; Step 2005, determine the identifier of the candidate network access point with the smallest identifier among the multiple candidate network access points as the identifier of the second network access point.

[0222] Step 2006, access the second network access point based on the identifier of the second network access point.

[0223] Step 2007, obtain the download address of the target software resource corresponding to the configuration information from the electrical inspection server.

[0224] Step 2008, download the target software resource based on the download address through the second network access point.

[0225] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present application and are not intended to limit them. Although the present application has been described in detail with reference to the preferred embodiments, those of ordinary skill in the art should understand that the technical solutions of the present application can be modified or equivalently replaced without departing from the spirit and scope of the technical solutions of the present application, and they should all be covered by the protection scope of the present application.

[0226] It should be noted that although the steps of the method in the present application are described in a specific order in the drawings, this does not require or imply that these steps must be executed in this specific order, or that all the steps shown must be executed to achieve the desired result. Additionally or alternatively, some steps can be omitted, multiple steps can be combined into one step for execution, and / or one step can be decomposed into multiple steps for execution, etc.; or, the steps in different embodiments can be combined into a new technical solution. Based on the foregoing embodiments, an apparatus is provided in an embodiment of the present application. The apparatus includes each module included and each unit included in each module, and can be implemented by a processor; of course, it can also be implemented by specific logic circuits; during the implementation process, the processor can be an AI acceleration engine (such as an NPU, etc.), a graphics processing unit (GPU), a central processing unit (CPU), a microprocessor (MPU), a digital signal processor (DSP), or a field programmable gate array (FPGA), etc.

[0227] Figure 21 Schematic of a software resource download apparatus provided in an embodiment of the present application Figure 1 , such as Figure 21 shown, the download apparatus 210 includes: a receiving module 2101, a determining module 2102, a obtaining module 2103, and a first sending module 2104; wherein, The receiving module 2101 is configured to receive a software resource download request sent by a vehicle, and the vehicle identification code of the vehicle is carried in the software resource download request; wherein, the vehicle is a vehicle flowing to the electrical inspection station on the production line; The determining module 2102 is configured to determine the vehicle model code of the vehicle based on the vehicle identification code; The obtaining module 2103 is configured to query a first mapping table based on the vehicle model code to obtain the storage address of the software resource of the vehicle; wherein, the first mapping table is used to represent the correspondence between the vehicle model code and the storage address of the software resource; The first sending module 2104 is configured to send the storage address of the software resource to the vehicle; wherein, the vehicle is configured to download the software resource corresponding to the vehicle based on the storage address of the software resource.

[0228] In some embodiments, the downloading device 210 further includes a storage module and a establishing module; wherein, the receiving module 2101 is further configured to receive a software resource package and a second mapping table sent by the cloud device; wherein, the software resource package includes: software resources corresponding to multiple different vehicle type codes; the second mapping table is used to represent the corresponding relationship between the vehicle type code and the software resource; the storage module is configured to store the software resources in the software resource package; the establishing module is configured to establish the corresponding relationship between the vehicle type code and the storage address of the software resource corresponding thereto based on the second mapping table and the storage address of the software resource, so as to obtain a first mapping table.

[0229] Figure 22 Schematic diagram of a software resource downloading device provided by an embodiment of the present application Figure 2 as Figure 22 shown, the downloading device 220 includes: a second sending module 2201 and a downloading module 2202; wherein, The second sending module 2201 is configured to send a software resource download request to the electrical inspection server when the vehicle flows to the electrical inspection station on the production line, and the software resource download request carries the vehicle identification code of the vehicle; wherein, the electrical inspection server is configured to determine the vehicle type code of the vehicle based on the vehicle identification code, and query the first mapping table based on the vehicle type code of the vehicle to obtain the storage address of the software resource of the vehicle, and send the storage address of the software resource to the vehicle; wherein, the first mapping table is used to represent the corresponding relationship between the vehicle type code and the storage address of the software resource. The downloading module 2202 is configured to download the target software resource of the vehicle from the electrical inspection server based on the storage address of the software resource; wherein, the electrical inspection server stores software resources corresponding to multiple vehicle type codes; the first mapping table is obtained based on the second mapping table sent by the cloud device and the storage address of the software resource; the second mapping table is used to represent the corresponding relationship between the vehicle type code and the software resource.

[0230] In some embodiments, the download module 2202 is configured to determine the identifier of the current first network access point in response to the current network status satisfying the network switching condition; wherein, each electrical inspection station on the production line corresponds to an optimal network access point; the identifier is generated by sequentially numbering the optimal network access points based on the transfer order of the vehicle on the production line; determine the identifier of the second network access point to be connected; wherein, the identifier of the second network access point is determined from the sequence of network access points in sequence based on the identifier of the first network access point; access the second network access point based on the identifier of the second network access point; and download the target software resource through the second network access point.

[0231] In some embodiments, the download module 2202 is configured to determine the identifiers of at least one candidate network access point that satisfies the first condition from the sequence of network access points; wherein, the first condition includes that the identifier of the network access point is greater than the identifier of the first network access point, and the signal strength of the network access point is greater than the signal strength of the first network access point; and determine the identifier of the second network access point from the identifiers of the multiple candidate network access points according to the order of the identifiers of the candidate network access points.

[0232] In some embodiments, the download module 2202 is configured to determine the identifier of the candidate network access point with the smallest identifier among the multiple candidate network access points as the identifier of the second network access point; or determine the identifier of the candidate network access point with the strongest signal strength among the multiple candidate network access points as the identifier of the second network access point.

[0233] In some embodiments, the download module 2202 is configured to send the identifier of the first network access point to the electrical inspection server and receive the identifier of the second network access point sent by the electrical inspection server; wherein, the electrical inspection server is configured to determine the identifiers of the candidate network access points that satisfy the first condition from the identifiers of the multiple network access points based on the identifier of the first network access point; and determine the identifier of the second network access point from the identifiers of the multiple candidate network access points according to the order of the identifiers of the candidate network access points; the first condition includes that the identifier of the network access point is greater than the identifier of the first network access point, and the signal strength of the network access point is greater than the signal strength of the first network access point.

[0234] In some embodiments, the download module 2202 is configured to receive the identifier of the second network access point sent by the electrical inspection server when the vehicle switches the network access point for the first time; wherein, the electrical inspection server is configured to determine the identifier of the candidate network access point that meets the second condition from the identifiers of multiple network access points based on the identifier of the first network access point; and determine the identifier of the second network access point from the identifiers of multiple candidate network access points according to the order of the identifiers of each candidate network access point; the second condition includes at least one of the following: the number of access devices of the network access point is less than the preset number threshold, the identifier of the network access point is greater than the identifier of the first network access point, and the signal strength of the network access point is greater than the signal strength of the first network access point.

[0235] In some embodiments, the download module 2202 is configured to obtain the download address of the target software resource corresponding to the configuration information from the electrical inspection server according to the configuration information of the vehicle; and download the target software resource based on the download address through the second network access point.

[0236] In some embodiments, the download device 220 further includes a response module and a stop module; wherein, the response module is configured to control the microcontroller of the vehicle to perform the following operations in response to a flashing instruction: the stop module is configured to stop sending network wake-up messages to the function modules inside the cockpit system that are irrelevant to software flashing, so that the function modules enter the low-power mode; and stop sending the network wake-up messages to the electronic control units outside the cockpit system that are irrelevant to software flashing, so that the electronic control units enter the low-power mode In some embodiments, the stop module is configured to determine the predicted completion time of software flashing according to the size of the target software resource and the predicted network bandwidth; and control the microcontroller of the vehicle to stop sending network wake-up messages to the function modules inside the cockpit system that are irrelevant to software flashing when the predicted completion time is greater than the preset time.

[0237] In some embodiments, the download device 220 further includes an update module; wherein, the second sending module 2201 is further configured to send an application update request to the cloud device, and the application update request carries the first identification code of the application to be updated; wherein, the cloud device is configured to query the third mapping table based on the first identification code to obtain the storage address of the application to be updated; and send the storage address of the application to be updated to the vehicle; the third mapping table is used to represent the correspondence between the first identification code and the storage address of the application; the update module is configured to download the application to be updated from the storage address of the application to be updated to update the application to be updated.

[0238] In some embodiments, the download device 220 further includes an update module. Among them, the second sending module 2201 is further configured to send a resource update request to the cloud device, and the resource update request carries a second identification code of the resource to be updated. Among them, the cloud device is configured to query a fourth mapping table based on the second identification code to obtain the storage address of the resource to be updated, and send the storage address of the resource to be updated to the vehicle. The fourth mapping table is used to represent the correspondence between the second identification code and the storage address of the resource. The update module is configured to download the resource to be updated from the storage address of the application program to be updated to update the resource to be updated.

[0239] In some embodiments, the software resource is a software resource of the vehicle's cockpit system.

[0240] The description of the above device embodiments is similar to the description of the above method embodiments, and has beneficial effects similar to those of the method embodiments. For the technical details not disclosed in the device embodiments of the present application, please refer to the description of the method embodiments of the present application for understanding.

[0241] It should be noted that the division of modules in the embodiments of the present application is illustrative, only a logical function division, and there may be other division methods in actual implementation. In addition, each functional unit in the various embodiments of the present application may be integrated in one processing unit, may exist separately physically, or two or more units may be integrated in one unit. The above integrated unit may be implemented in the form of hardware, or in the form of a software functional unit, or in the form of a combination of software and hardware.

[0242] It should be noted that in the embodiments of the present application, if the above method is implemented in the form of a software function module and sold or used as an independent product, it may also be stored in a computer-readable storage medium. Based on such an understanding, the technical solution of the embodiments of the present application, in essence, or the part that contributes to the related technology, can be embodied in the form of a software product. The computer software product is stored in a storage medium and includes several instructions for causing the vehicle to execute all or part of the methods described in the various embodiments of the present application. The foregoing storage medium includes: various media such as USB flash drives, mobile hard disks, read-only memories (ROMs), magnetic disks, or optical discs that can store program codes. In this way, the embodiments of the present application are not limited to any specific combination of hardware and software.

[0243] The embodiments of the present application provide a download device for software resources. Figure 23 FIG. is a schematic diagram of the hardware entity of a download device for software resources provided by the embodiments of the present application, as Figure 23As shown, the hardware entities of the software resource download device 230 include: a processor 2301, a communication interface 2302, and a memory 2303, where: The processor 2301 is used to control the overall operation of the software resource download device 230.

[0244] The communication interface 2302 is used to enable the software resource download device 230 to communicate with other terminals or servers through a network.

[0245] The memory 2303 is configured to store instructions and applications executable by the processor 2301, and can also cache data to be processed or already processed by the processor 2301 and each module in the software resource download device 230 (for example, image data, audio data, voice communication data, and video communication data), and can be implemented by flash memory (FLASH) or RAM. Data transmission can be carried out between the processor 2301, the communication interface 2302, and the memory 2303 through a bus 2304.

[0246] In some embodiments, the software resource download device includes: an electrical inspection server or a cockpit system in a vehicle.

[0247] An embodiment of the present application provides a computer-readable storage medium, on which a computer program is stored. When the computer program is executed by a processor, the steps in the method provided in the above embodiment are implemented.

[0248] An embodiment of the present application provides a computer program product containing instructions. When it runs on a computer, it causes the computer to execute the steps in the method provided in the above method embodiment.

[0249] It should be noted here that: the descriptions of the above storage medium and the first vehicle embodiment are similar to the descriptions of the above method embodiment, and have beneficial effects similar to those of the method embodiment. For the technical details not disclosed in the storage medium and the first vehicle embodiment of the present application, please refer to the description of the method embodiment of the present application for understanding.

[0250] It should be understood that the "one embodiment" or "an embodiment" or "some embodiments" mentioned throughout the specification means that the specific features, structures or characteristics related to the embodiment are included in at least one embodiment of the present application. Therefore, the appearances of "in one embodiment" or "in an embodiment" or "in some embodiments" throughout the specification do not necessarily refer to the same embodiment. In addition, these specific features, structures or characteristics can be combined in one or more embodiments in any suitable manner. It should be understood that in various embodiments of the present application, the magnitude of the serial numbers of the above processes does not mean the order of execution, and the order of execution of each process should be determined by its function and internal logic, and should not constitute any limitation to the implementation process of the embodiments of the present application. The serial numbers of the embodiments of the present application above are only for description and do not represent the advantages or disadvantages of the embodiments. The descriptions of the above embodiments tend to emphasize the differences between the embodiments, and their similarities or similarities can be referred to each other. For the sake of brevity, they will not be elaborated herein.

[0251] The term "and / or" in this article is only a description of the association relationship of the associated objects, indicating that there can be three relationships. For example, object A and / or object B can represent: object A exists alone, object A and object B exist simultaneously, and object B exists alone.

[0252] It should be noted that in this article, the term "comprising", "including" or any other variant thereof is intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements not only includes those elements, but also includes other elements not expressly listed, or also includes elements inherent to such process, method, article or the first vehicle. Without further limitation, an element defined by the statement "including one..." does not exclude the existence of additional identical elements in the process, method, article or the first vehicle including the element.

[0253] In several embodiments provided by the present application, it should be understood that the disclosed first vehicle and method can be implemented in other ways. The above-described embodiments are merely illustrative. For example, the division of the modules is only a logical function division, and there can be other division methods in actual implementation. For example, multiple modules or components can be combined, or can be integrated into another system, or some features can be ignored, or not executed. In addition, the coupling, direct coupling or communication connection between the displayed or discussed components can be through some interfaces. The indirect coupling or communication connection of the first vehicle or module can be electrical, mechanical or other forms.

[0254] The modules described above as separate components may or may not be physically separated, and the components shown as modules may or may not be physical modules; they may be located in one place or distributed across multiple network elements; some or all of the modules can be selected according to actual needs to achieve the purpose of the solution of this embodiment.

[0255] In addition, each functional module in the embodiments of the present application may be all integrated in a processing unit, or each module may be separately used as a unit, or two or more modules may be integrated in a unit; the above integrated modules may be implemented in the form of hardware or in the form of a combination of hardware and software functional units.

[0256] Those of ordinary skill in the art can understand that all or part of the steps of implementing the above method embodiments can be completed by hardware related to program instructions. The foregoing program can be stored in a computer-readable storage medium. When the program is executed, it performs the steps including the above method embodiments; and the foregoing storage medium includes: removable storage devices, read-only memory (ROM), magnetic disks or optical disks and other various media that can store program codes.

[0257] Alternatively, if the above integrated unit of the present application is implemented in the form of a software functional module and sold or used as an independent product, it can also be stored in a computer-readable storage medium. Based on such an understanding, the technical solution of the embodiments of the present application essentially or the part that contributes to the related technology can be embodied in the form of a software product. The computer software product is stored in a storage medium and includes several instructions to enable a vehicle to execute all or part of the methods described in the various embodiments of the present application. And the foregoing storage medium includes: removable storage devices, ROM, magnetic disks or optical disks and other various media that can store program codes.

[0258] The methods disclosed in several method embodiments provided by the present application can be arbitrarily combined without conflict to obtain new method embodiments. The features disclosed in several product embodiments provided by the present application can be arbitrarily combined without conflict to obtain new product embodiments. The features disclosed in several method or first vehicle embodiments provided by the present application can be arbitrarily combined without conflict to obtain new method embodiments or first vehicle embodiments.

[0259] The above is only the implementation manner of the present application, but the protection scope of the present application is not limited thereto. Any person skilled in the art can easily think of changes or substitutions within the technical scope disclosed by the present application, and all of them should be covered by the protection scope of the present application.

Claims

1. A method for downloading software resources, characterized in that: The method is applied to an electrical inspection server, and the method comprises: Receiving a software resource download request sent by a vehicle, wherein the software resource download request carries a vehicle identification code of the vehicle; wherein the vehicle is a vehicle transferred to an electrical inspection station on a production line; Based on the vehicle identification code, determining a model code of the vehicle; Based on the vehicle model code, a first mapping table is queried to obtain a storage address of the software resource of the vehicle; wherein the first mapping table is used to represent the correspondence between the vehicle model code and the storage address of the software resource; The storage address of the software resource is sent to the vehicle; wherein the vehicle is used to download the software resource corresponding to the vehicle based on the storage address of the software resource.

2. The downloading method according to claim 1, characterized in that: The method further comprises: Receive a software resource package and a second mapping table sent by a cloud device; wherein the software resource package includes: software resources corresponding to a plurality of different vehicle model codes; the second mapping table is used to represent the correspondence between the vehicle model code and the software resources; Storing software resources in the software resource package; Based on the second mapping table and the storage address of the software resource, a corresponding relationship between the vehicle model code and the storage address of the corresponding software resource is established to obtain a first mapping table.

3. A method for downloading software resources, characterized in that: The method is applied to a vehicle, and comprises: When the vehicle is transferred to the electrical inspection station on the production line, a software resource download request is sent to the electrical inspection server, and the software resource download request carries the vehicle identification code of the vehicle; wherein the electrical inspection server is used to determine the vehicle model code of the vehicle based on the vehicle identification code, and to query the first mapping table based on the vehicle model code of the vehicle to obtain the storage address of the software resource of the vehicle, and send the storage address of the software resource to the vehicle; the first mapping table is used to characterize the correspondence between the vehicle model code and the storage address of the software resource; Based on the storage address of the software resource, the target software resource of the vehicle is downloaded from the electrical inspection server; wherein the electrical inspection server stores software resources corresponding to multiple vehicle model codes; the first mapping table is obtained based on the second mapping table sent by the cloud device and the storage address of the software resource; the second mapping table is used to characterize the correspondence between the vehicle model code and the software resource.

4. The downloading method according to claim 3, characterized in that: The downloading of the target software resource of the vehicle from the electronic inspection server comprises: In response to the current network state satisfying the network switching condition, determining the identifier of the current first network access point; wherein the electrical inspection stations on the production line respectively correspond to the optimal network access points; the identifier is generated by sequentially numbering the optimal network access points based on the flow order of the vehicles on the production line; Determine an identifier of a second network access point to be connected; wherein the identifier of the second network access point is determined in sequence from a sequence of network access points based on the identifier of the first network access point; accessing the second network access point based on the identifier of the second network access point; The target software resource is downloaded through the second network access point.

5. The downloading method according to claim 4, characterized in that: The determining the identifier of the second network access point to be connected includes: Determine, from the sequence of network access points, an identifier of at least one candidate network access point that satisfies a first condition; wherein the first condition includes that the identifier of the network access point is greater than the identifier of the first network access point, and the signal strength of the network access point is greater than the signal strength of the first network access point; According to the sequence of the identifiers of the candidate network access points, the identifier of the second network access point is determined from the identifiers of the multiple candidate network access points.

6. The downloading method according to claim 5, characterized in that: The step of determining the identifier of the second network access point from identifiers of a plurality of candidate network access points according to the identifier sequence of each candidate network access point comprises: determining the identifier of the candidate network access point with the smallest identifier among the multiple candidate network access points as the identifier of the second network access point; or, The identifier of the candidate network access point with the greatest signal strength among the multiple candidate network access points is determined as the identifier of the second network access point.

7. The downloading method according to claim 4, characterized in that: The determining the identifier of the second network access point to be connected includes: Sending the identifier of the first network access point to an electrical inspection server, and receiving the identifier of the second network access point sent by the electrical inspection server; The electronic inspection server is used to determine the identifier of a candidate network access point that meets the first condition from identifiers of multiple network access points based on the identifier of the first network access point; and determine the identifier of the second network access point from the identifiers of the multiple candidate network access points according to the identifier sequence of each candidate network access point; The first condition includes that an identifier of the network access point is greater than an identifier of the first network access point, and a signal strength of the network access point is greater than a signal strength of the first network access point.

8. The downloading method according to claim 7, characterized in that: The receiving the identifier of the second network access point sent by the electrical inspection server includes: When the vehicle switches the network access point for the first time, receiving an identifier of the second network access point sent by the electrical inspection server; The electronic inspection server is used to determine the identifier of a candidate network access point that meets the second condition from the identifiers of multiple network access points based on the identifier of the first network access point; and determine the identifier of the second network access point from the identifiers of the multiple candidate network access points according to the identifier sequence of each candidate network access point; The second condition includes at least one of the following: the number of access devices of the network access point is less than a preset number threshold, the identifier of the network access point is greater than the identifier of the first network access point, and the signal strength of the network access point is greater than the signal strength of the first network access point.

9. The downloading method according to any one of claims 4 to 8, characterized in that: The downloading of the target software resource through the second network access point includes: According to the configuration information of the vehicle, obtaining a download address of the target software resource corresponding to the configuration information from the electric inspection server; The target software resource is downloaded based on the download address through the second network access point.

10. The downloading method according to any one of claims 4 to 8, characterized in that: The method further comprises: In response to the flash command, the microcontroller controlling the vehicle performs the following operations: Stop sending network wake-up messages to functional modules in the cockpit system that are not related to software flashing, so that the functional modules enter a low-power mode; And, stop sending the network wake-up message to the electronic control unit outside the cockpit system that is not related to software flashing, so that the electronic control unit enters a low power consumption mode.

11. The downloading method according to claim 10, characterized in that: The stopping of sending a network wake-up message to a functional module in the cockpit system that is not related to software flashing includes: Determining a predicted completion time of the software flashing according to the size of the target software resource and the predicted network bandwidth; When the predicted completion time is greater than the preset time, the microcontroller controlling the vehicle stops sending network wake-up messages to functional modules in the cockpit system that are not related to software flashing.

12. The downloading method according to claim 3, characterized in that: The method further comprises: Sending an application update request to a cloud device, the application update request carrying a first identification code of an application to be updated; wherein the cloud device is used to query a third mapping table based on the first identification code to obtain a storage address of the application to be updated; and sending the storage address of the application to be updated to the vehicle; the third mapping table is used to characterize the correspondence between the first identification code and the storage address of the application; The application program to be updated is downloaded from the storage address of the application program to be updated to update the application program to be updated.

13. The downloading method according to claim 3 or 12, characterized in that: The method further comprises: Sending a resource update request to a cloud device, the resource update request carrying a second identification code of a resource to be updated; wherein the cloud device is used to query a fourth mapping table based on the second identification code to obtain a storage address of the resource to be updated, and send the storage address of the resource to be updated to the vehicle; the fourth mapping table is used to characterize the correspondence between the second identification code and the storage address of the resource; The resource for updating is downloaded from the storage address of the application for updating to update the resource to be updated.

14. The downloading method according to claim 3, characterized in that: The software resources are software resources of a cockpit system of the vehicle.

15. A software resource downloading device, characterized in that: The device comprises: A receiving module, configured to receive a software resource download request sent by a vehicle, wherein the software resource download request carries a vehicle identification code of the vehicle; wherein the vehicle is a vehicle transferred to an electrical inspection station on a production line; A determination module, configured to determine a vehicle model code of the vehicle based on the vehicle identification code; An obtaining module is configured to query a first mapping table based on the vehicle model code to obtain a storage address of the software resource of the vehicle; wherein the first mapping table is used to represent a corresponding relationship between the vehicle model code and the storage address of the software resource; The first sending module is configured to send the storage address of the software resource to the vehicle; wherein the vehicle is used to download the software resource corresponding to the vehicle based on the storage address of the software resource.

16. A software resource downloading device, characterized in that: The device comprises: The second sending module is configured to send a software resource download request to the electrical inspection server when the vehicle is transferred to the electrical inspection station on the production line, and the software resource download request carries the vehicle identification code of the vehicle; wherein the electrical inspection server is used to determine the vehicle model code of the vehicle based on the vehicle identification code, and query the first mapping table based on the vehicle model code of the vehicle to obtain the storage address of the software resource of the vehicle, and send the storage address of the software resource to the vehicle; wherein the first mapping table is used to characterize the correspondence between the vehicle model code and the storage address of the software resource; A download module is configured to download the target software resources of the vehicle from the electrical inspection server based on the storage address of the software resources; wherein the electrical inspection server stores software resources corresponding to multiple vehicle model codes; the first mapping table is obtained based on the second mapping table sent by the cloud device and the storage address of the software resources; the second mapping table is used to characterize the correspondence between the vehicle model code and the software resources.

17. A software resource downloading device, comprising a memory and a processor, wherein the memory stores a computer program that can be run on the processor, characterized in that: When the processor executes the program, the method according to claim 1 or 2 is implemented; or, When the processor executes the program, the method according to any one of claims 3 to 14 is implemented.

18. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the method according to claim 1 or 2 is implemented; or when the computer program is executed by a processor, the method according to any one of claims 3 to 14 is implemented.

Citation Information

Patent Citations

  • WiFi connection method and device, equipment and storage medium

    CN116056188A

  • Resource loading method and device, medium and equipment

    CN116225549A

  • Automobile software after-sales automatic upgrading method and system

    CN116643777A

  • Vehicle software identifier identification method and device, electronic equipment and storage medium

    CN116804932A

  • Software downloading and flashing system and method, vehicle, storage medium and processing equipment

    CN118819597A