Software upgrading method and system in automobile development stage
Through the wireless update interactive interface of the infotainment controller and gateway controller, the in-vehicle Ethernet and cloud server are used to solve the problems of low efficiency and high cost of traditional software upgrade methods, and the rapid response and efficient update of software in the automotive development stage are achieved.
Patent Information
- Application Number
- CN202411138555.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-19
- Publication Date
- 2024-12-17
AI Technical Summary
The software upgrade method in the traditional automotive development stage relies on dedicated update software or manual labor, resulting in low update efficiency and high cost, making it difficult to quickly respond to market demand.
Through the infotainment controller and gateway controller, the wireless update interactive interface is displayed using the browser application unit, software information acquisition instructions are generated, software version detection and upgrade package management are realized through on-board Ethernet and cloud servers, avoiding dedicated software dependence and improving update efficiency .
It realizes rapid response to software upgrades in the automotive development stage, reduces update costs, improves software update efficiency and user experience, and ensures accurate acquisition and secure transmission of version information.
Smart Images

Figure CN119149065A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of vehicle networking, and in particular to a software upgrade method and system in an automobile development stage. Background Art
[0002] As consumers' demand for smart and connected cars increases, the iteration of car models is more rapid. In order to meet market demand, the need to update the software version of test prototypes in the car development stage is also stronger.
[0003] At present, the traditional software upgrade method in the automobile development stage is to upgrade the software of the automobile through dedicated update software or manual software upgrade. However, the traditional software upgrade method in the automobile development stage often relies on the development rhythm of dedicated update software or the efficiency of manual software installation, which makes it difficult to quickly respond to the software version update requirements of the test prototype car in the development stage, and the software update cost is high and the update efficiency is low. Summary of the invention
[0004] The present invention provides a software upgrade method and system in the automobile development stage, so as to achieve a rapid response to the software upgrade in the automobile development stage, avoid dependence on dedicated update software, reduce software update costs, and improve software update efficiency.
[0005] In a first aspect, an embodiment of the present invention provides a software upgrade method in a vehicle development stage, comprising:
[0006] The infotainment controller displays a wireless update interaction interface through a browser application unit, generates a target software information acquisition instruction corresponding to a target control software inside the target controller in response to a software detection trigger operation on the wireless update interaction interface, and sends the target software information acquisition instruction to the gateway controller through the vehicle Ethernet;
[0007] The gateway controller receives the target software information acquisition instruction through the browser service unit, and based on the received target software information acquisition instruction, calls the universal gateway interface program, and sends the target software information acquisition instruction to the wireless update control component in the gateway controller. The wireless update control component queries the current version information of the target control software, and when it is detected that the current version information is not the latest version, generates a software upgrade package acquisition instruction, and sends the software upgrade package acquisition instruction to the cloud server after pre-processing the software upgrade package acquisition instruction;
[0008] The cloud server parses the received pre-processed software upgrade package acquisition instruction, obtains the target software upgrade package corresponding to the target control software based on the software upgrade package acquisition instruction obtained by parsing, and sends the target software upgrade package to the gateway controller;
[0009] The gateway controller uses the received current version information and target software upgrade package corresponding to the target control software as target software information, and sends the target software information to the infotainment controller via the vehicle Ethernet;
[0010] The infotainment controller displays the received target software information on the wireless update interaction interface, and in response to a software update trigger operation on the target control software, updates the target control software based on a target software upgrade package corresponding to the target software information.
[0011] In a second aspect, an embodiment of the present invention further provides a software upgrade system in the automobile development stage, the system comprising: an infotainment controller, a gateway controller and a cloud server; wherein:
[0012] The infotainment controller is configured to display a wireless update interaction interface through a browser application unit, generate a target software information acquisition instruction corresponding to a target control software inside the target controller in response to a software detection trigger operation on the wireless update interaction interface, and send the target software information acquisition instruction to a gateway controller through an in-vehicle Ethernet;
[0013] The gateway controller is used to receive the target software information acquisition instruction through the browser service unit, and based on the received target software information acquisition instruction, call the universal gateway interface program to send the target software information acquisition instruction to the wireless update control component in the gateway controller, the wireless update control component queries the current version information of the target control software, and when it is detected that the current version information is not the latest version, generates a software upgrade package acquisition instruction, and sends the software upgrade package acquisition instruction to the cloud server after pre-processing the software upgrade package acquisition instruction;
[0014] The cloud server is used to parse the received pre-processed software upgrade package acquisition instruction, acquire the target software upgrade package corresponding to the target control software based on the software upgrade package acquisition instruction obtained by parsing, and send the target software upgrade package to the gateway controller;
[0015] The gateway controller is used to use the received current version information and target software upgrade package corresponding to the target control software as target software information, and send the target software information to the infotainment controller via the vehicle Ethernet;
[0016] The infotainment controller is used to display the received target software information on the wireless update interaction interface, and in response to a software update trigger operation on the target control software, update the target control software based on a target software upgrade package corresponding to the target software information.
[0017] According to the technical solution of the embodiment of the present invention, the infotainment controller displays the wireless update interactive interface through the browser application unit, and in response to the software detection trigger operation of the target controller on the wireless update interactive interface, generates a target software information acquisition instruction corresponding to the target control software inside the target controller, and sends the target software information acquisition instruction to the gateway controller through the vehicle Ethernet, so that the user can conveniently check and understand the current status of the vehicle software, and realize the rapid transmission of the instruction. The gateway controller receives the target software information acquisition instruction through the browser service unit, and based on the received target software information acquisition instruction, calls the universal gateway interface program, and sends the target software information acquisition instruction to the wireless update control component in the gateway controller. The wireless update control component queries the current version information of the target control software, and when it is detected that the current version information is not the latest version, generates a software upgrade package acquisition instruction, and sends the software upgrade package acquisition instruction to the cloud server after preprocessing, thereby ensuring the accurate execution of the instruction and the effective acquisition of the version information, and preventing unauthorized access and tampering. The cloud server parses the received pre-processed software upgrade package acquisition instruction, obtains the target software upgrade package corresponding to the target control software based on the software upgrade package acquisition instruction obtained by parsing, and sends the target software upgrade package to the gateway controller, thereby realizing remote management and distribution of the target software upgrade package and improving the flexibility and efficiency of the upgrade operation. The gateway controller uses the received current version information and the target software upgrade package corresponding to the target control software as the target software information, and sends the target software information to the infotainment controller through the vehicle Ethernet. The infotainment controller displays the received target software information on the wireless update interaction interface, and responds to the software update trigger operation of the target control software, based on the target software upgrade package corresponding to the target software information, updates the target control software. Through the intuitive wireless update interaction interface and the convenient update operation mode, the user experience in the vehicle software upgrade process is improved, and the automotive gateway, vehicle Ethernet and cloud server are used to achieve a rapid response to the software upgrade in the automotive development stage, avoid dependence on dedicated update software, reduce software update costs, and improve software update efficiency.
[0018] It should be understood that the contents described in this section are not intended to identify the key or important features of the embodiments of the present invention, nor are they intended to limit the scope of the present invention. Other features of the present invention will become easily understood through the following description. BRIEF DESCRIPTION OF THE DRAWINGS
[0019] In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the following briefly introduces the drawings required for use in the description of the embodiments. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.
[0020] Figure 1 is a flowchart of a software upgrade method in an automobile development stage provided according to a first embodiment of the present invention;
[0021] Figure 2 is a flowchart of a software upgrade method in an automobile development stage provided according to a second embodiment of the present invention;
[0022] Figure 3 It is a structural diagram of a software upgrade system in the automobile development stage provided according to the third embodiment of the present invention. DETAILED DESCRIPTION
[0023] In order to enable those skilled in the art to better understand the scheme of the present invention, the technical scheme in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work should fall within the scope of protection of the present invention.
[0024] It should be noted that the terms "target", "current", etc. in the specification and claims of the present invention and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchanged where appropriate, so that the embodiments of the present invention described herein can be implemented in an order other than those illustrated or described herein. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device that includes a series of steps or units is not necessarily limited to those steps or units clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.
[0025] Embodiment 1
[0026] Figure 1 The present invention provides a flowchart of a software upgrade method in the automobile development stage. This embodiment is applicable to the case of performing software upgrades on test vehicles in the automobile development stage. Figure 1As shown, the method can be performed by a software upgrade system in the automobile development stage, and the software upgrade system in the automobile development stage can be implemented in the form of hardware and / or software. Figure 1 As shown, the method specifically comprises the following steps:
[0027] S110. The infotainment controller displays a wireless update interaction interface through a browser application unit, and in response to a software detection trigger operation on a target controller on the wireless update interaction interface, generates a target software information acquisition instruction corresponding to the target control software inside the target controller, and sends the target software information acquisition instruction to the gateway controller through the vehicle Ethernet.
[0028] Among them, the infotainment controller may refer to an integrated electronic control unit located inside the vehicle, which is used to process data and instructions related to the vehicle infotainment system. The browser application unit may refer to a general browser application integrated on the infotainment controller, which is used to access various resources and services on the Internet. The wireless update interactive interface may refer to a user interface on the infotainment controller (such as the vehicle-mounted central control screen) for displaying and controlling the software upgrade process, which is implemented by the browser application unit. The software detection trigger operation may refer to a click operation on the target controller on the wireless update interactive interface. The target controller may refer to a specific control unit in the vehicle that needs to be updated or upgraded with software. These control units are important components of the vehicle's electronic system and are responsible for performing specific functions and control tasks. The target control software may refer to a software program installed in one or more control units (i.e., the target controller) in the vehicle, which is responsible for performing specific functions and control tasks. The target software information acquisition instruction may refer to an instruction for obtaining version information and software upgrade information of the target control software. In-vehicle Ethernet may refer to a network technology specifically used for vehicle communication, also known as an in-vehicle bus, which uses Ethernet technology to build a local area network for the vehicle so that various devices in the vehicle can exchange data with each other. The gateway controller can refer to a key component in the electronic and electrical architecture of the entire vehicle. As the data interaction hub of the entire vehicle network, it is responsible for converting different network protocols and data formats to achieve seamless communication between different systems.
[0029] Specifically, the infotainment controller (such as the in-vehicle central control screen) displays the wireless update interactive interface to the user through the built-in browser application unit. This interface allows the user to trigger the software detection operation of the target controller in the vehicle (such as the navigation module, audio system, etc.). Through the wireless update interactive interface, an intuitive user interaction method can be provided, allowing users to easily check and understand the current status of the vehicle software. After the user performs a software detection trigger operation on the target controller through the wireless update interactive interface, the infotainment controller generates the corresponding target software information acquisition instruction and sends this instruction to the gateway controller through the in-vehicle Ethernet to achieve rapid transmission of the instruction.
[0030] It should be noted that the software update of traditional test prototypes is carried out through dedicated update software, and it is necessary to ensure that the development progress of the dedicated update software does not lag behind the software development of the car. However, the development of dedicated update software requires a lot of resources, which squeezes the development resources in the car development stage and causes the software update of the test prototype to be delayed. Compared with the traditional software update method, this solution displays the wireless update interactive interface to the user through the browser application unit built into the infotainment controller, which can ensure in real time that the wireless update interactive interface displayed by the browser application unit matches the development progress of the vehicle, does not rely on dedicated update software, reduces development costs, ensures that the software update process of the test prototype is carried out smoothly, and can greatly improve the efficiency of software updates in the car development stage.
[0031] Exemplarily, before the infotainment controller displays the wireless update interaction interface through the browser application unit, it also includes: the infotainment controller generates a target access event in response to a trigger operation on the browser application unit, and sends the target access event to the gateway controller through the vehicle Ethernet; the gateway controller obtains target page display information corresponding to the target access event based on the received target access event through the browser service unit, and sends the target page display information to the browser application unit through the vehicle Ethernet, so that the browser application unit displays the wireless update interaction interface.
[0032] Among them, the target access event may refer to an operation event triggered by the user through the browser application unit on the infotainment controller, which contains the request information of the specific target page that the user wants to access. The browser service unit may refer to the server in the gateway controller that is responsible for processing requests and services related to the browser application unit. The target page display information may refer to the data set required to display a specific page or content in the browser application unit. This information usually includes various aspects such as page layout, content structure, style definition, interaction logic, etc., to ensure that users can obtain the desired visual and functional experience through the browser interface on the infotainment controller.
[0033] Specifically, the user performs a trigger operation (such as a click operation) on the browser application unit on the infotainment controller, and the infotainment controller generates a target access event in response to the trigger operation. The infotainment controller sends the generated target access event to the gateway controller via the vehicle Ethernet. After receiving the target access event, the gateway controller parses the event through its internal browser service unit and obtains the corresponding target page display information. The gateway controller again sends the obtained target page display information back to the infotainment controller via the vehicle Ethernet. After receiving the target page display information, the browser application unit of the infotainment controller renders it into a wireless update interactive interface visible to the user, so that the user can complete the software update operation through the infotainment controller, which improves the convenience of software updates and user experience, reduces the need for manual intervention, and improves the efficiency of software updates.
[0034] S120, the gateway controller receives the target software information acquisition instruction through the browser service unit, and based on the received target software information acquisition instruction, calls the universal gateway interface program, and sends the target software information acquisition instruction to the wireless update control component in the gateway controller. The wireless update control component queries the current version information of the target control software, and when it detects that the current version information is not the latest version, generates a software upgrade package acquisition instruction, and sends the software upgrade package acquisition instruction to the cloud server after pre-processing.
[0035] Among them, the universal gateway interface program may refer to a server-side interface program for initializing software services. The wireless update control component may refer to a software or hardware component responsible for managing and controlling the wireless update process of a device (such as an electronic control unit in a car). The current version information may refer to the version information of the target control software currently in use or installed, including: version number, release date, etc. The software upgrade package acquisition instruction may refer to an instruction for obtaining the latest software upgrade package for the target control software. A cloud server may be a virtual server provided based on cloud computing technology, which enables users to remotely access and use computing resources, storage resources, and network resources through an Internet connection.
[0036] Specifically, the gateway controller receives the target software information acquisition instruction through the browser service unit, and calls the general gateway interface program to forward the target software information acquisition instruction to the wireless update control component. The wireless update control component queries the current version information of the target control software, and compares it with the latest version information of the target control software on the cloud server, thereby ensuring the accurate execution of the instruction and the effective acquisition of the version information through the transfer and processing of the gateway controller, and providing a basis for judging whether an upgrade is needed. When it is detected that the current version information is not the latest version, the wireless update control component generates a software upgrade package acquisition instruction, and pre-processes the software upgrade package acquisition instruction (such as encryption, signing, etc.) and sends it to the cloud server. The security and reliability of the software upgrade package acquisition instruction are ensured through preprocessing, and unauthorized access and tampering are prevented.
[0037] Exemplarily, "the wireless update control component queries the current version information of the target control software" in S120 may include: the wireless update control component queries the current version information of the target control software through the version information storage unit, and compares the current version information with the latest version information of the target control software to determine whether the current version information is the latest version.
[0038] The version information storage unit may refer to a memory for storing version information of the target control software, which is usually a non-volatile storage device.
[0039] Specifically, the current version information of the target control software is usually stored in the firmware of the device or in a dedicated version information storage unit. The wireless update control component accesses the version information storage unit through a specific query interface or command to read the current version information of the target control software. The current version information read is compared with the latest version information in the version information storage unit to determine whether the current version information is the latest version. Through the process of querying the version information storage unit and comparing the version information, it is ensured that the target control software can always be kept up to date, thereby improving the security, stability and user experience of the system.
[0040] Exemplarily, the wireless update control component also includes a version information update unit, wherein the version information update unit sends a version information query request to the cloud server via a preset encrypted communication protocol; the cloud server returns the current version information and the latest version information of the target control software based on the received version information query request.
[0041] Among them, the preset encryption communication protocol may refer to a pre-set encryption communication protocol used when transmitting data between the wireless update control component and the cloud server, which aims to ensure the security, integrity and confidentiality of data transmission and prevent data from being illegally intercepted, tampered with or leaked during the transmission process.
[0042] Specifically, the communication between the version information update unit and the cloud server needs to adopt a preset encrypted communication protocol to ensure the security of data transmission. The version information update unit sends the constructed version information query request to the cloud server in real time through the preset encrypted communication protocol. After receiving the version information query request, the cloud server will perform identity authentication and request parsing, and then return the current version information and the latest version information of the target control software, thereby avoiding the lag and error of local storage and improving the accuracy of version information.
[0043] Exemplarily, "when it is detected that the current version information is not the latest version, generate a software upgrade package acquisition instruction, and send the software upgrade package acquisition instruction to the cloud server after preprocessing" in S120 may include: if the current version information is not the latest version, generate a software upgrade package acquisition instruction, and sign the software upgrade package acquisition instruction based on a preset digital certificate to obtain the preprocessed software upgrade package acquisition instruction, and send the preprocessed software upgrade package acquisition instruction to the cloud server through a preset encrypted communication protocol.
[0044] The preset digital certificate may refer to an electronic document issued by an authoritative and impartial third-party organization, and is mainly used as an important means of identity authentication in network communications.
[0045] Specifically, if it is found that the current version information is not the latest version, the wireless update control component will generate a software upgrade package acquisition instruction. This instruction usually contains the identification information of the target control software (such as software name, model, current version number, etc.), the version number requested for upgrade, and necessary authentication information. Based on the preset digital certificate, the software upgrade package acquisition instruction is signed to ensure the integrity and authenticity of the instruction and prevent the instruction from being tampered with or forged during transmission. Specifically, the signature processing usually involves encrypting the hash value of the instruction, generating a digital signature, and attaching the digital signature to the software upgrade package acquisition instruction. The preprocessed software upgrade package acquisition instruction is sent to the cloud server through a preset encrypted communication protocol to ensure the security of the instruction during transmission.
[0046] S130, the cloud server parses the received pre-processed software upgrade package acquisition instruction, obtains the target software upgrade package corresponding to the target control software based on the software upgrade package acquisition instruction obtained by the analysis, and sends the target software upgrade package to the gateway controller.
[0047] The target software upgrade package may refer to a software package used to upgrade the target control software to the latest version.
[0048] Specifically, the cloud server parses the received pre-processed software upgrade package acquisition instruction, obtains the target software upgrade package corresponding to the target control software according to the parsing result, and then sends the target software upgrade package to the gateway controller through a preset encrypted communication protocol. The participation of the cloud server realizes the remote management and distribution of the target software upgrade package, improving the flexibility and efficiency of the software upgrade operation.
[0049] S140: The gateway controller uses the received current version information and target software upgrade package corresponding to the target control software as target software information, and sends the target software information to the infotainment controller via the vehicle Ethernet.
[0050] Specifically, the gateway controller uses the received target software upgrade package together with the current version information as the target software information, and sends the target software information to the infotainment controller via the vehicle Ethernet, ensuring that the target software upgrade package can be accurately transmitted to the target location, providing a guarantee for subsequent update operations.
[0051] Exemplarily, S140 may include: the gateway controller takes the received current version information and target software upgrade package corresponding to the target control software as the target software information, and calls the universal gateway interface program to send the target software information to the browser service unit; the browser service unit sends the target software information to the infotainment controller via the in-vehicle Ethernet.
[0052] Specifically, the gateway controller first receives the current version information of the target control software and the target software upgrade package from the cloud server, and integrates this information into the target software information for further transmission. Through the universal gateway interface program, the gateway controller formats the target software information into the form of HTTP request or response for transmission in the browser environment. The gateway controller sends the target software information to the browser service unit via HTTP or other protocols. The browser service unit encapsulates the target software information into a data packet suitable for in-vehicle Ethernet transmission, and uses the high-speed and reliable transmission characteristics of in-vehicle Ethernet to send the data packet to the infotainment controller to achieve fast and reliable data exchange.
[0053] S150. The infotainment controller displays the received target software information on the wireless update interaction interface, and in response to a software update trigger operation on the target control software, updates the target control software based on a target software upgrade package corresponding to the target software information.
[0054] The software update triggering operation may refer to a user clicking operation on a target software upgrade package displayed on the wireless update interactive interface.
[0055] Specifically, the infotainment controller displays the received target software information on the wireless update interaction interface, and when the user triggers the software update operation, the infotainment controller will update the target control software according to the target software upgrade package, thereby providing users with clear update prompts and convenient update operation methods, allowing users to easily complete the software upgrade process and improve user experience.
[0056] According to the technical solution of the embodiment of the present invention, the infotainment controller displays the wireless update interactive interface through the browser application unit, and in response to the software detection trigger operation of the target controller on the wireless update interactive interface, generates a target software information acquisition instruction corresponding to the target control software inside the target controller, and sends the target software information acquisition instruction to the gateway controller through the vehicle Ethernet, so that the user can easily check and understand the current status of the vehicle software, and realize the rapid transmission of the instruction. The gateway controller receives the target software information acquisition instruction through the browser service unit, and based on the received target software information acquisition instruction, calls the general gateway interface program, and sends the target software information acquisition instruction to the wireless update control component in the gateway controller. The wireless update control component queries the current version information of the target control software, and when it is detected that the current version information is not the latest version, generates a software upgrade package acquisition instruction, and sends the software upgrade package acquisition instruction to the cloud server after preprocessing, thereby ensuring the accurate execution of the instruction and the effective acquisition of the version information, and preventing unauthorized access and tampering. The cloud server parses the received pre-processed software upgrade package acquisition instruction, obtains the target software upgrade package corresponding to the target control software based on the software upgrade package acquisition instruction obtained by the analysis, and sends the target software upgrade package to the gateway controller, thereby realizing the remote management and distribution of the target software upgrade package and improving the flexibility and efficiency of the upgrade operation. The gateway controller uses the received current version information and target software upgrade package corresponding to the target control software as the target software information, and sends the target software information to the infotainment controller through the vehicle Ethernet. The infotainment controller displays the received target software information on the wireless update interaction interface, and responds to the software update trigger operation of the target control software, based on the target software upgrade package corresponding to the target software information, updates the target control software. Through the intuitive wireless update interaction interface and convenient update operation mode, the user experience in the vehicle software upgrade process is improved, and the automotive gateway, vehicle Ethernet and cloud server are used to achieve a rapid response to the software upgrade in the automotive development stage, avoid dependence on dedicated update software, reduce software update costs, and improve software update efficiency.
[0057] On the basis of the above solution, after S150, it further includes: restarting the target controller, performing self-verification on the restarted target controller based on the update verification unit, and generating a software update success report after the verification passes.
[0058] The update verification unit may refer to a software component or module located on the wireless update interaction interface, which is responsible for performing a series of verification operations after the software update to ensure the success of the update process and the stable operation of the system. The software update success report may refer to a document or message used to record the results and verification status of the software update process.
[0059] Specifically, after the target software upgrade package is successfully installed on the target control software, the system will restart the target controller to ensure that all updated software components and configurations can be correctly loaded and take effect. After the restart, the update verification unit on the target controller will start the self-verification process. Self-verification includes checking software versions, configuration files, system status and other aspects to ensure that the updated system runs normally and no new problems are introduced. If the self-verification passes, that is, all checks are as expected, the update verification unit will generate a software update success report. Through a strict self-verification process, problems that may be introduced during the update process can be discovered and fixed in a timely manner, thereby improving the reliability and stability of the system.
[0060] Embodiment 2
[0061] Figure 2 This is a flowchart of a software upgrade method in the automobile development stage provided in the second embodiment of the present invention. Based on the above embodiments, this embodiment optimizes the step of "the cloud server parses the received pre-processed software upgrade package acquisition instruction, obtains the target software upgrade package corresponding to the target control software based on the software upgrade package acquisition instruction obtained by the parsing, and sends the target software upgrade package to the gateway controller". The explanations of the terms that are the same or corresponding to the above embodiments are not repeated here.
[0062] See also Figure 2 Another software upgrade method in the automobile development stage provided in this embodiment specifically includes the following steps:
[0063] S210, the infotainment controller displays the wireless update interaction interface through the browser application unit, responds to the software detection trigger operation on the target controller on the wireless update interaction interface, generates a target software information acquisition instruction corresponding to the target control software inside the target controller, and sends the target software information acquisition instruction to the gateway controller through the vehicle Ethernet.
[0064] S220, the gateway controller receives the target software information acquisition instruction through the browser service unit, and based on the received target software information acquisition instruction, calls the universal gateway interface program, and sends the target software information acquisition instruction to the wireless update control component in the gateway controller. The wireless update control component queries the current version information of the target control software, and when it detects that the current version information is not the latest version, generates a software upgrade package acquisition instruction, and sends the software upgrade package acquisition instruction to the cloud server after pre-processing.
[0065] S230, the cloud server receives the preprocessed software upgrade package acquisition instruction, performs identity authentication on the preprocessed software upgrade package acquisition instruction based on the identity authentication unit, and obtains the software upgrade package acquisition instruction after the identity authentication passes.
[0066] Specifically, after receiving the pre-processed software upgrade package acquisition instruction, the cloud server will use the built-in authentication unit to authenticate the instruction. This step is to ensure the legality and security of the instruction and prevent unauthorized access or malicious operations. The authentication process may include checking the signature, source IP address, timestamp and other information of the instruction. If the authentication is successful, the cloud server will continue to process the instruction; if it fails, the instruction will be rejected or re-authentication will be required. After the authentication is successful, the cloud server will restore the software upgrade package acquisition instruction, which greatly improves the security of the data transmission process and ensures the integrity and accuracy of the data.
[0067] S240, the cloud server obtains the target software upgrade package corresponding to the target control software based on the software upgrade package acquisition instruction, and sends the target software upgrade package to the gateway controller through a preset encrypted communication protocol.
[0068] Specifically, the cloud server searches for and obtains the target software upgrade package corresponding to the target control software according to the software upgrade package acquisition instruction. The upgrade package may contain the latest software version, configuration files, patches, etc. of the target control software. The cloud server sends the acquired target software upgrade package to the gateway controller through a preset encrypted communication protocol to ensure the security and integrity of the data transmission process and prevent the data from being intercepted or tampered with.
[0069] Exemplarily, "the cloud server obtains the target software upgrade package corresponding to the target control software based on the software upgrade package acquisition instruction" in S240 may include: the cloud server obtains the latest software upgrade package corresponding to the target control software in the update storage unit based on the software upgrade package acquisition instruction; performs integrity verification on the latest software upgrade package based on a preset verification algorithm, and after the verification passes, uses the latest software upgrade package as the target software upgrade package corresponding to the target control software.
[0070] Among them, the preset verification algorithm may refer to an algorithm used to verify data integrity and ensure that the data has not been tampered with or damaged during transmission or storage.
[0071] Specifically, the cloud server first searches and obtains the corresponding latest software upgrade package in the update storage unit (such as a database, file system or cloud storage service) according to the target control software identifier and version requirements in the software upgrade package acquisition instruction. The cloud server uses a preset verification algorithm to perform an integrity check on the latest software upgrade package obtained to verify whether the upgrade package remains intact and has not been tampered with or damaged during storage and transmission. If the check passes, it means that the latest software upgrade package is complete and correct, and the cloud server will use the upgrade package as the target software upgrade package corresponding to the target control software. If the check fails, it means that the latest software upgrade package is damaged, then the software upgrade package is refused to be used, and the latest software upgrade package is downloaded again. The integrity check can ensure the integrity of the software upgrade package during storage and transmission, prevent the risk of tampering or damage to the upgrade package, and thus improve the security of the entire software upgrade process.
[0072] S250. The gateway controller uses the received current version information and target software upgrade package corresponding to the target control software as target software information, and sends the target software information to the infotainment controller via the vehicle Ethernet.
[0073] S260: The infotainment controller displays the received target software information on the wireless update interaction interface, and in response to a software update trigger operation on the target control software, updates the target control software based on a target software upgrade package corresponding to the target software information.
[0074] The technical solution of the embodiment of the present invention receives the pre-processed software upgrade package acquisition instruction through the cloud server, authenticates the pre-processed software upgrade package acquisition instruction based on the identity authentication unit, and obtains the software upgrade package acquisition instruction after the identity authentication is passed, thereby preventing unauthorized access and tampering. The cloud server obtains the target software upgrade package corresponding to the target control software based on the software upgrade package acquisition instruction, and sends the target software upgrade package to the gateway controller through a preset encrypted communication protocol, thereby realizing rapid transmission and distribution of the upgrade package and improving the efficiency of the upgrade operation. Through the cloud server, the upgrade requirements of the software version can be more conveniently supported, the flexibility and scalability of the system can be improved, the dependence on dedicated upgrade software and manual labor can be avoided, and the cost of software upgrade can be reduced.
[0075] Embodiment 3
[0076] Figure 3 This is a schematic diagram of the structure of a software system in the automobile development stage provided by the third embodiment of the present invention. Figure 3As shown, the system includes: an infotainment controller 310 , a gateway controller 320 and a cloud server 330 .
[0077] The infotainment controller 310 is used to display a wireless update interaction interface through a browser application unit, generate a target software information acquisition instruction corresponding to the target control software inside the target controller in response to a software detection trigger operation on the target controller on the wireless update interaction interface, and send the target software information acquisition instruction to the gateway controller through the vehicle Ethernet;
[0078] The gateway controller 320 is used to receive the target software information acquisition instruction through the browser service unit, and based on the received target software information acquisition instruction, call the universal gateway interface program to send the target software information acquisition instruction to the wireless update control component in the gateway controller, and the wireless update control component queries the current version information of the target control software, and when it is detected that the current version information is not the latest version, generates a software upgrade package acquisition instruction, and sends the software upgrade package acquisition instruction to the cloud server after pre-processing the software upgrade package acquisition instruction;
[0079] The cloud server 330 is used to parse the received pre-processed software upgrade package acquisition instruction, obtain the target software upgrade package corresponding to the target control software based on the software upgrade package acquisition instruction obtained by parsing, and send the target software upgrade package to the gateway controller;
[0080] The gateway controller 320 is used to use the received current version information and target software upgrade package corresponding to the target control software as target software information, and send the target software information to the infotainment controller via the vehicle Ethernet;
[0081] The infotainment controller 310 is used to display the received target software information on the wireless update interaction interface, and in response to a software update trigger operation on the target control software, update the target control software based on a target software upgrade package corresponding to the target software information.
[0082] In the technical solution of this embodiment, the infotainment controller displays the wireless update interactive interface through the browser application unit, and in response to the software detection trigger operation of the target controller on the wireless update interactive interface, generates a target software information acquisition instruction corresponding to the target control software inside the target controller, and sends the target software information acquisition instruction to the gateway controller through the vehicle Ethernet, so that the user can easily check and understand the current status of the vehicle software, and realize the rapid transmission of instructions. The gateway controller receives the target software information acquisition instruction through the browser service unit, and based on the received target software information acquisition instruction, calls the universal gateway interface program, and sends the target software information acquisition instruction to the wireless update control component in the gateway controller. The wireless update control component queries the current version information of the target control software, and when it is detected that the current version information is not the latest version, generates a software upgrade package acquisition instruction, and sends the software upgrade package acquisition instruction to the cloud server after preprocessing, thereby ensuring the accurate execution of the instruction and the effective acquisition of the version information, and preventing unauthorized access and tampering. The cloud server parses the received pre-processed software upgrade package acquisition instruction, obtains the target software upgrade package corresponding to the target control software based on the software upgrade package acquisition instruction obtained by parsing, and sends the target software upgrade package to the gateway controller, thereby realizing remote management and distribution of the target software upgrade package and improving the flexibility and efficiency of the upgrade operation. The gateway controller uses the received current version information and the target software upgrade package corresponding to the target control software as the target software information, and sends the target software information to the infotainment controller through the vehicle Ethernet. The infotainment controller displays the received target software information on the wireless update interaction interface, and responds to the software update trigger operation of the target control software, based on the target software upgrade package corresponding to the target software information, updates the target control software. Through the intuitive wireless update interaction interface and the convenient update operation mode, the user experience in the vehicle software upgrade process is improved, and the automotive gateway, vehicle Ethernet and cloud server are used to achieve a rapid response to the software upgrade in the automotive development stage, avoid dependence on dedicated update software, reduce software update costs, and improve software update efficiency.
[0083] Optionally, before the infotainment controller displays the wireless update interactive interface through the browser application unit, the method further includes:
[0084] The infotainment controller 310 generates a target access event in response to a trigger operation on the browser application unit, and sends the target access event to the gateway controller via the vehicle Ethernet;
[0085] The gateway controller 320 obtains the target page display information corresponding to the target access event based on the received target access event through the browser service unit, and sends the target page display information to the browser application unit through the vehicle Ethernet, so that the browser application unit displays the wireless update interaction interface.
[0086] Optionally, the gateway controller 320 is specifically used for: the wireless update control component in the gateway controller queries the current version information of the target control software through the version information storage unit, and compares the current version information with the latest version information of the target control software to determine whether the current version information is the latest version.
[0087] Optionally, the wireless update control component also includes a version information update unit, wherein the version information update unit sends a version information query request to a cloud server via a preset encrypted communication protocol; the cloud server returns the current version information and the latest version information of the target control software based on the received version information query request.
[0088] Optionally, the gateway controller 320 is further specifically used to: if the current version information is not the latest version, generate a software upgrade package acquisition instruction, and sign the software upgrade package acquisition instruction based on a preset digital certificate to obtain a preprocessed software upgrade package acquisition instruction, and send the preprocessed software upgrade package acquisition instruction to the cloud server through a preset encrypted communication protocol.
[0089] Optionally, the cloud server 330 includes:
[0090] An identity authentication unit, used for receiving the preprocessed software upgrade package acquisition instruction, authenticating the preprocessed software upgrade package acquisition instruction based on the identity authentication unit, and acquiring the software upgrade package acquisition instruction after the identity authentication is passed;
[0091] The upgrade package acquisition unit is used to acquire the target software upgrade package corresponding to the target control software based on the software upgrade package acquisition instruction, and send the target software upgrade package to the gateway controller through a preset encrypted communication protocol.
[0092] Optionally, the upgrade package acquisition unit is specifically used to: acquire the latest software upgrade package corresponding to the target control software in the update storage unit based on the software upgrade package acquisition instruction; perform integrity verification on the latest software upgrade package based on a preset verification algorithm, and after the verification passes, use the latest software upgrade package as the target software upgrade package corresponding to the target control software.
[0093] Optionally, the gateway controller 320 is also specifically used for: the gateway controller uses the received current version information and target software upgrade package corresponding to the target control software as target software information, and calls the universal gateway interface program to send the target software information to the browser service unit; the browser service unit sends the target software information to the infotainment controller via the in-vehicle Ethernet.
[0094] Optionally, the above system further includes an update verification module, wherein:
[0095] The update verification module is specifically used to: restart the target controller, perform self-verification on the restarted target controller based on the update verification unit, and generate a software update success report after the verification passes.
[0096] The software upgrade system in the automobile development stage provided by the embodiment of the present invention can execute the software upgrade method in the automobile development stage provided by any embodiment of the present invention, and has the corresponding functional modules and beneficial effects of the execution method.
[0097] It should be understood by those skilled in the art that the modules or steps of the present invention described above can be implemented by a general-purpose computing device, they can be concentrated on a single computing device, or distributed on a network composed of multiple computing devices, optionally, they can be implemented by a program code executable by a computer device, so that they can be stored in a storage device and executed by the computing device, or they can be made into individual integrated circuit modules, or multiple modules or steps therein can be made into a single integrated circuit module for implementation. Thus, the present invention is not limited to any specific combination of hardware and software.
[0098] Note that the above are only preferred embodiments of the present invention and the technical principles used. Those skilled in the art will understand that the present invention is not limited to the specific embodiments described herein, and that various obvious changes, readjustments and substitutions can be made by those skilled in the art without departing from the scope of protection of the present invention. Therefore, although the present invention has been described in more detail through the above embodiments, the present invention is not limited to the above embodiments, and may include more other equivalent embodiments without departing from the concept of the present invention, and the scope of the present invention is determined by the scope of the appended claims.
Claims
1. A software upgrade method in the automobile development stage, characterized in that: The method comprises: The infotainment controller displays a wireless update interaction interface through a browser application unit, generates a target software information acquisition instruction corresponding to a target control software inside the target controller in response to a software detection trigger operation on the wireless update interaction interface, and sends the target software information acquisition instruction to the gateway controller through the vehicle Ethernet; The gateway controller receives the target software information acquisition instruction through the browser service unit, and based on the received target software information acquisition instruction, calls the universal gateway interface program, and sends the target software information acquisition instruction to the wireless update control component in the gateway controller. The wireless update control component queries the current version information of the target control software, and when it is detected that the current version information is not the latest version, generates a software upgrade package acquisition instruction, and sends the software upgrade package acquisition instruction to the cloud server after pre-processing the software upgrade package acquisition instruction; The cloud server parses the received pre-processed software upgrade package acquisition instruction, obtains the target software upgrade package corresponding to the target control software based on the software upgrade package acquisition instruction obtained by parsing, and sends the target software upgrade package to the gateway controller; The gateway controller uses the received current version information and target software upgrade package corresponding to the target control software as target software information, and sends the target software information to the infotainment controller via the vehicle Ethernet; The infotainment controller displays the received target software information on the wireless update interaction interface, and in response to a software update trigger operation on the target control software, updates the target control software based on a target software upgrade package corresponding to the target software information.
2. The method according to claim 1, characterized in that Before the infotainment controller displays the wireless update interactive interface through the browser application unit, it also includes: The infotainment controller generates a target access event in response to a trigger operation on the browser application unit, and sends the target access event to the gateway controller via the vehicle Ethernet; The gateway controller obtains the target page display information corresponding to the target access event based on the received target access event through the browser service unit, and sends the target page display information to the browser application unit through the vehicle Ethernet, so that the browser application unit displays the wireless update interaction interface.
3. The method according to claim 1, characterized in that The wireless update control component queries the current version information of the target control software, including: The wireless update control component queries the current version information of the target control software through the version information storage unit, and compares the current version information with the latest version information of the target control software to determine whether the current version information is the latest version.
4. The method according to claim 3, characterized in that The wireless update control component further includes a version information update unit, wherein: The version information updating unit sends a version information query request to the cloud server via a preset encrypted communication protocol; The cloud server returns the current version information and the latest version information of the target control software based on the received version information query request.
5. The method according to claim 1, characterized in that When it is detected that the current version information is not the latest version, a software upgrade package acquisition instruction is generated, and the software upgrade package acquisition instruction is pre-processed and sent to the cloud server, including: If the current version information is not the latest version, a software upgrade package acquisition instruction is generated, and the software upgrade package acquisition instruction is signed based on a preset digital certificate to obtain a preprocessed software upgrade package acquisition instruction, and the preprocessed software upgrade package acquisition instruction is sent to the cloud server through a preset encrypted communication protocol.
6. The method according to claim 1, characterized in that The cloud server parses the received pre-processed software upgrade package acquisition instruction, acquires the target software upgrade package corresponding to the target control software based on the software upgrade package acquisition instruction obtained by parsing, and sends the target software upgrade package to the gateway controller, including: The cloud server receives the preprocessed software upgrade package acquisition instruction, authenticates the preprocessed software upgrade package acquisition instruction based on the identity authentication unit, and acquires the software upgrade package acquisition instruction after the identity authentication is passed; The cloud server obtains the target software upgrade package corresponding to the target control software based on the software upgrade package acquisition instruction, and sends the target software upgrade package to the gateway controller through a preset encrypted communication protocol.
7. The method according to claim 6, characterized in that The cloud server obtains a target software upgrade package corresponding to the target control software based on the software upgrade package acquisition instruction, including: The cloud server obtains the latest software upgrade package corresponding to the target control software in the update storage unit based on the software upgrade package acquisition instruction; The latest software upgrade package is integrity checked based on a preset verification algorithm, and after the verification passes, the latest software upgrade package is used as a target software upgrade package corresponding to the target control software.
8. The method according to claim 1, characterized in that The gateway controller uses the received current version information and target software upgrade package corresponding to the target control software as target software information, and sends the target software information to the infotainment controller via the vehicle Ethernet, including: The gateway controller uses the received current version information and target software upgrade package corresponding to the target control software as target software information, and calls the universal gateway interface program to send the target software information to the browser service unit; The browser service unit sends the target software information to the infotainment controller via the vehicle Ethernet.
9. The method according to claim 1, characterized in that: After the target control software is updated based on the target software upgrade package corresponding to the target software information, the method further includes: The target controller is restarted, and a self-verification is performed on the restarted target controller based on the update verification unit, and after the verification passes, a software update success report is generated.
10. A software upgrade system in the automobile development stage, characterized in that: The system includes: an infotainment controller, a gateway controller and a cloud server; wherein, The infotainment controller is configured to display a wireless update interaction interface through a browser application unit, generate a target software information acquisition instruction corresponding to a target control software inside the target controller in response to a software detection trigger operation on the wireless update interaction interface, and send the target software information acquisition instruction to a gateway controller through an in-vehicle Ethernet; The gateway controller is used to receive the target software information acquisition instruction through the browser service unit, and based on the received target software information acquisition instruction, call the universal gateway interface program to send the target software information acquisition instruction to the wireless update control component in the gateway controller, the wireless update control component queries the current version information of the target control software, and when it is detected that the current version information is not the latest version, generates a software upgrade package acquisition instruction, and sends the software upgrade package acquisition instruction to the cloud server after pre-processing the software upgrade package acquisition instruction; The cloud server is used to parse the received pre-processed software upgrade package acquisition instruction, acquire the target software upgrade package corresponding to the target control software based on the software upgrade package acquisition instruction obtained by parsing, and send the target software upgrade package to the gateway controller; The gateway controller is used to use the received current version information and target software upgrade package corresponding to the target control software as target software information, and send the target software information to the infotainment controller via the vehicle Ethernet; The infotainment controller is used to display the received target software information on the wireless update interaction interface, and in response to a software update trigger operation on the target control software, update the target control software based on a target software upgrade package corresponding to the target software information.
