WO2023217211A1 - 升级方法、装置、设备及存储介质 - Google Patents
升级方法、装置、设备及存储介质 Download PDFInfo
- Publication number
- WO2023217211A1 WO2023217211A1 PCT/CN2023/093414 CN2023093414W WO2023217211A1 WO 2023217211 A1 WO2023217211 A1 WO 2023217211A1 CN 2023093414 W CN2023093414 W CN 2023093414W WO 2023217211 A1 WO2023217211 A1 WO 2023217211A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- application
- upgraded
- name
- installation package
- identification information
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Ceased
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F8/00—Arrangements for software engineering
- G06F8/60—Software deployment
- G06F8/65—Updates
- G06F8/656—Updates while running
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F8/00—Arrangements for software engineering
- G06F8/70—Software maintenance or management
- G06F8/71—Version control; Configuration management
Definitions
- This application relates to the field of vehicle technology, for example, to an upgrade method, device, equipment and storage medium.
- This application provides an upgrade method, device, equipment and storage medium to realize rapid upgrade of vehicle software and meet the subsequent use needs of consumers.
- an upgrade method including: obtaining an application list, wherein the application list includes: application name and application version number;
- a list to be upgraded is determined according to the application name and the application version number, wherein the list to be upgraded includes: the name of the application to be upgraded and the identification information corresponding to the application to be upgraded;
- Upgrade is performed according to the identification information corresponding to the application to be upgraded and the name of the application to be upgraded.
- upgrading based on the identification information corresponding to the application to be upgraded and the name of the application to be upgraded includes:
- Level application names are upgraded, including:
- downloading the installation package of the application to be upgraded based on the identification information corresponding to the application to be upgraded and the name of the application to be upgraded includes:
- target notification information is generated according to the name of the application to be upgraded, and the target notification information is sent to an electronic control unit (Electronic Control Unit, ECU), so that the ECU downloads the installation package of the application to be upgraded;
- ECU Electronic Control Unit
- volume of the installation package of the application to be upgraded is less than or equal to the volume threshold, a target download request is generated according to the name of the application to be upgraded, the target download request is sent to the server, and the application to be upgraded is received from the server. installation package.
- downloading the installation package of the application to be upgraded based on the identification information corresponding to the application to be upgraded and the name of the application to be upgraded includes:
- identification information corresponding to the application to be upgraded is the first identification
- target notification information is generated according to the name of the application to be upgraded, and the target notification information is sent to the ECU, so that the ECU downloads the application to be upgraded. installation package;
- the identification information corresponding to the application to be upgraded is the second identification, generate a target download request according to the name of the application to be upgraded, send the target download request to the server, and receive the application to be upgraded sent by the server. installation package.
- installing the installation package of the application to be upgraded according to the identification information corresponding to the application to be upgraded and the name of the application to be upgraded includes:
- installing the installation package of the application to be upgraded according to the identification information corresponding to the application to be upgraded and the name of the application to be upgraded includes:
- an upgrade device including:
- the application list acquisition module is configured to obtain an application list, where the application list includes: application name and application version number;
- a to-be-upgraded list determination module is configured to determine a to-be-upgraded list based on the application name and the application version number, wherein the to-be-upgraded list includes: the to-be-upgraded application name and the identification information corresponding to the to-be-upgraded application;
- the upgrade module is configured to perform upgrades based on the identification information corresponding to the application to be upgraded and the name of the application to be upgraded.
- the upgrade module is configured to:
- the upgrade module is configured to:
- the upgrade module is configured to:
- target notification information is generated according to the name of the application to be upgraded, and the target notification information is sent to the ECU, so that the ECU downloads the installation of the application to be upgraded. Bag;
- volume of the installation package of the application to be upgraded is less than or equal to the volume threshold, a target download request is generated according to the name of the application to be upgraded, the target download request is sent to the server, and the application to be upgraded is received from the server. installation package.
- the upgrade module is configured to:
- identification information corresponding to the application to be upgraded is the first identification, then according to the name of the application to be upgraded Generate target notification information, and send the target notification information to the ECU, so that the ECU downloads the installation package of the application to be upgraded;
- the identification information corresponding to the application to be upgraded is the second identification, generate a target download request according to the name of the application to be upgraded, send the target download request to the server, and receive the application to be upgraded sent by the server. installation package.
- the upgrade module is configured to:
- the upgrade module is configured to:
- an electronic device including:
- the memory stores a computer program that can be executed by the at least one processor, and the computer program is executed by the at least one processor, so that the at least one processor can execute the method described in any embodiment of the present application. Upgrade method.
- a computer-readable storage medium stores computer instructions, and the computer instructions are used to implement any of the embodiments of the present application when executed by a processor. upgrade method.
- Figure 1 is a flow chart of an upgrade method in an embodiment of the present application
- Figure 2 is a schematic structural diagram of an upgrade device in an embodiment of the present application.
- Figure 3 is a schematic structural diagram of an electronic device in an embodiment of the present application.
- Figure 1 is a flow chart of an upgrade method provided by an embodiment of the present application. This embodiment can be applied to the situation of upgrading software of a vehicle.
- the method can be executed by the upgrade device in the embodiment of the present application.
- the device can use software and/or implemented in hardware. As shown in Figure 1, the method includes the following steps.
- the application name is the application name input by the user through the Human Machine Interface (HMI).
- HMI Human Machine Interface
- the application version number is related to the application name.
- the application name A corresponds to the application version number X
- the application name B corresponds to Application version number Y.
- the method of obtaining the application list may be: the user inputs the application list through the HMI, the HMI sends the application list to the gateway, and the gateway receives the application list sent by the HMI.
- HMI is also called user interface or user interface.
- HMI is the medium for interaction and information exchange between the system and the user. It can realize the conversion between the internal form of the information and the form acceptable to the user.
- S120 Determine a list to be upgraded according to the application name and the application version number, where the list to be upgraded includes: the name of the application to be upgraded and the identification information corresponding to the application to be upgraded.
- the name of the application to be upgraded is the application name of the application to be upgraded.
- the identification information corresponding to the application to be upgraded may be an ECU identification, the identification information corresponding to the application to be upgraded may also be a gateway identification, the identification information corresponding to the application to be upgraded may also be the volume of the installation package, and the identification information corresponding to the application to be upgraded may be the volume of the installation package.
- the identification information corresponding to the application may also be an identification related to the installation package volume, which is not limited in this embodiment of the present application.
- the method of determining the list to be upgraded based on the application name and the application version number may be: obtaining the latest version number corresponding to the application name, and comparing the version number corresponding to the application name input by the user through the HMI with the latest version.
- Applications with different numbers are determined to be applications to be upgraded, the name of the application to be upgraded and the identification information corresponding to the application to be upgraded are obtained, and a list to be upgraded is constructed based on the name of the application to be upgraded and the identification information corresponding to the application to be upgraded. For example, if the application list input by the user through the HMI includes: application name A corresponds to application version number X, and application name B corresponds to application version number Y. The query finds that the latest version number corresponding to application name A is R, and the latest version number corresponding to application name B is Y. Then application name A is determined as the name of the application to be upgraded.
- the method of upgrading based on the identification information corresponding to the application to be upgraded and the name of the application to be upgraded may be: if the current vehicle's power is greater than the power threshold, then based on the identification information corresponding to the application to be upgraded and the name of the application to be upgraded, Download the installation package of the application to be upgraded according to the name of the application to be upgraded; when receiving the installation confirmation information, if the current vehicle is in the parking state and the current vehicle is in the power-on state, then according to the identification corresponding to the application to be upgraded information and the name of the application to be upgraded to install the installation package of the application to be upgraded.
- the method of upgrading according to the identification information corresponding to the application to be upgraded and the name of the application to be upgraded may also be: if the power of the current vehicle is greater than the power threshold, then performing the upgrade according to the identification information corresponding to the application to be upgraded and the name of the application to be upgraded.
- the application name downloads the installation package of the application to be upgraded; when it is at the preset installation time, if the current vehicle is in the parking state and the current vehicle is in the power-off state, after controlling the current vehicle to switch from the power-off state to the power-on state , install the installation package of the application to be upgraded according to the identification information corresponding to the application to be upgraded and the name of the application to be upgraded.
- This embodiment of the present application does not limit this.
- upgrade based on the identification information corresponding to the application to be upgraded and the name of the application to be upgraded including:
- the power threshold may be a preset power value, or may be a power threshold determined based on the volume of the installation package (the larger the volume of the installation package, the greater the power threshold), which is not limited in the embodiments of this application.
- the method of downloading the installation package of the application to be upgraded according to the identification information corresponding to the application to be upgraded and the name of the application to be upgraded may be: determining the application to be upgraded according to the identification information corresponding to the application to be upgraded.
- the volume of the installation package of the application if the volume of the installation package of the application to be upgraded is greater than the volume threshold, target notification information is generated according to the name of the application to be upgraded, and the target notification information is sent to the ECU, so that the ECU downloads
- the installation package of the application to be upgraded if the volume of the installation package of the application to be upgraded is less than or equal to the volume threshold, a target download request is generated according to the name of the application to be upgraded, and the target download request is sent to the server, and the The installation package of the application to be upgraded is sent by the server.
- the method of downloading the installation package of the application to be upgraded according to the identification information corresponding to the application to be upgraded and the name of the application to be upgraded may also be: if the identification information corresponding to the application to be upgraded is the first identification, then according to the Describe the name of the application to be upgraded to generate target notification information, and set the The target notification information is sent to the ECU, so that the ECU downloads the installation package of the application to be upgraded; if the identification information corresponding to the application to be upgraded is the second identification, a target download request is generated according to the name of the application to be upgraded, and sending the target download request to the server, and receiving the installation package of the application to be upgraded sent by the server.
- the installation confirmation information may be obtained in the following manner: after the user clicks the confirmation control on the human-machine interface, the installation confirmation information is generated, the human-machine interface sends the installation confirmation information to the gateway, and the gateway receives the installation confirmation information.
- the installation confirmation information can also be obtained by: the user inputs the confirmation information with voice, the human-machine interface generates the installation confirmation information according to the confirmation information input by the user, the human-machine interface sends the installation confirmation information to the gateway, and the gateway receives the installation confirmation information.
- the current vehicle is the vehicle that sends the application list. For example, if the HMI of vehicle T sends the application list to the gateway, vehicle T is determined to be the current vehicle.
- the method for determining that the current vehicle is in the parking state can be as follows: if the current vehicle's gear is in Park (P), the handbrake is in the pulled state, the current vehicle speed is zero, the motor speed is zero, and the steering wheel If the turning angle is zero, it is determined that the current vehicle is in a parking state.
- the current vehicle being in a power-on state means that the current vehicle is in an ignition switch (IG) ON.
- IG ignition switch
- the method of installing the installation package of the application to be upgraded according to the identification information corresponding to the application to be upgraded and the name of the application to be upgraded may be: if the installation package of the application to be upgraded is downloaded by the ECU, Installation. If the installation package of the application to be upgraded is downloaded from the gateway, install it through the gateway.
- upgrade based on the identification information corresponding to the application to be upgraded and the name of the application to be upgraded including:
- the power threshold may be a preset power value, or may be a power threshold determined based on the volume of the installation package (the larger the volume of the installation package, the greater the power threshold), which is not limited in the embodiments of this application.
- the method of downloading the installation package of the application to be upgraded according to the identification information corresponding to the application to be upgraded and the name of the application to be upgraded may be: determining the application to be upgraded according to the identification information corresponding to the application to be upgraded.
- the volume of the installation package of the application if the volume of the installation package of the application to be upgraded is greater than the volume threshold, target notification information is generated according to the name of the application to be upgraded, and the target notification information is The information is sent to the ECU, so that the ECU downloads the installation package of the application to be upgraded; if the volume of the installation package of the application to be upgraded is less than or equal to the volume threshold, a target download request is generated according to the name of the application to be upgraded, and The target download request is sent to the server, and the installation package of the application to be upgraded is received from the server.
- the method of downloading the installation package of the application to be upgraded according to the identification information corresponding to the application to be upgraded and the name of the application to be upgraded may also be: if the identification information corresponding to the application to be upgraded is the first identification, then according to the Generate target notification information for the name of the application to be upgraded, and send the target notification information to the ECU, so that the ECU downloads the installation package of the application to be upgraded; if the identification information corresponding to the application to be upgraded is the second identification , then generate a target download request according to the name of the application to be upgraded, send the target download request to the server, and receive the installation package of the application to be upgraded sent by the server.
- the preset installation time can be obtained by: the installation time preset by the user through the human-machine interface.
- the user can determine the preset installation time as installation time A by clicking installation time A on the human-machine interface.
- the method for determining that the current vehicle is in the parking state can be as follows: if the current vehicle's gear is in P gear, the handbrake is in the pulled-up state, the current vehicle's speed is zero, the motor speed is zero, and the steering wheel angle is zero, then determine The vehicle is currently parked.
- the current vehicle is in a power-off state: the current vehicle is in IG OFF.
- the method of installing the installation package of the application to be upgraded according to the identification information corresponding to the application to be upgraded and the name of the application to be upgraded may be: After controlling the current vehicle to switch from the power-off state to the power-on state, if the installation package of the application to be upgraded is downloaded by the ECU, it will be installed through the ECU. If the installation package of the application to be upgraded is downloaded by the gateway, it will be installed through the gateway.
- download the installation package of the application to be upgraded according to the identification information corresponding to the application to be upgraded and the name of the application to be upgraded including:
- target notification information is generated according to the name of the application to be upgraded, and the target notification information is sent to the ECU, so that the ECU downloads the installation of the application to be upgraded. Bag;
- volume of the installation package of the application to be upgraded is less than or equal to the volume threshold, a target download request is generated according to the name of the application to be upgraded, the target download request is sent to the server, and the application to be upgraded is received from the server. installation package.
- the volume threshold may be preset or may be set by the system. This is not the case in the embodiment of the present application. Make restrictions.
- the target notification information includes: the name of the application to be upgraded.
- the method of sending the target notification information to the ECU so that the ECU downloads the installation package of the application to be upgraded may be: the gateway sends the target notification information to the ECU, and after the ECU receives the target notification information, it The name of the application to be upgraded carried in the notification information queries the installation package corresponding to the name of the application to be upgraded, and the ECU downloads the installation package of the application to be upgraded.
- the target download request includes: the name of the application to be upgraded.
- a target download request is generated according to the name of the application to be upgraded, and the target download request is sent to the server.
- the method of receiving the installation package of the application to be upgraded sent by the server may be: the gateway according to the The application name to be upgraded generates a target download request, and the target download request is sent to the server.
- the server queries the installation package corresponding to the application name to be upgraded based on the application name to be upgraded, and the server sends the installation package corresponding to the application name to be upgraded to the gateway.
- the gateway receives the installation package of the application to be upgraded sent by the server.
- ECU is a dedicated microcomputer controller for automobiles. Like an ordinary computer, it consists of a microcontroller (Microprocessor Control Unit, MCU), memory (Read-Only Memory (ROM), Random Access Memory (RAM)), and input/output interfaces It is composed of large-scale integrated circuits such as (Input/Output, I/O), analog to digital converter (analog to digital converter, A/D), shaping and driving.
- MCU Microprocessor Control Unit
- ROM Read-Only Memory
- RAM Random Access Memory
- I/O input/output
- A/D analog to digital converter
- target notification information is generated based on the name of the application to be upgraded, and the target notification information is sent to the ECU
- the ECU sends an installation package download request to the server.
- the server After receiving the installation package download request sent by the ECU, the server sends the installation package to the ECU.
- the ECU will The gateway and server feedback the download progress, and the gateway then sends the download progress of the ECU to the HMI.
- the ECU verifies the installation package. If the signature verification passes, the ECU sends a download completion notification to the gateway, and updates the list to be upgraded based on the download completion notification.
- the gateway In another example, if the current vehicle's power is greater than the power threshold, and the volume of the installation package of the application to be upgraded is less than or equal to the volume threshold, the gateway generates a target download request based on the name of the application to be upgraded, and downloads the target The request is sent to the server. After receiving the target download request sent by the gateway, the server sends the installation package to the gateway. During the process of the server sending the installation package to the gateway, the gateway will feedback the download progress to the HMI and the server. The gateway receives the download request sent by the server. After installing the package, verify the signature of the installation package. If the signature verification is passed, the list to be upgraded will be updated according to the download completion notification.
- the installation package of the application to be upgraded includes:
- identification information corresponding to the application to be upgraded is the first identification
- target notification information is generated according to the name of the application to be upgraded, and the target notification information is sent to the ECU, so that the ECU downloads the application to be upgraded. installation package;
- the identification information corresponding to the application to be upgraded is the second identification, generate a target download request according to the name of the application to be upgraded, send the target download request to the server, and receive the application to be upgraded sent by the server. installation package.
- the first identification is an ECU identification. If the identification information corresponding to the application to be upgraded is the first identification, it is downloaded through the ECU.
- the second identification is a gateway identification. If the identification information corresponding to the application to be upgraded is the second identification, it is downloaded through the gateway.
- the target notification information is generated according to the name of the application to be upgraded, and the target notification information is sent To the ECU, after receiving the target notification information, the ECU sends an installation package download request to the server. After the server receives the installation package download request sent by the ECU, it sends the installation package to the ECU. During the process of the server sending the installation package to the ECU, the ECU The download progress will be fed back to the gateway and server. The gateway will then send the download progress of the ECU to the HMI. After receiving the installation package sent by the server, the ECU will verify the installation package. If the signature verification passes, the ECU sends a download completion notification to the gateway, and updates the list to be upgraded based on the download completion notification.
- the gateway In another example, if the power of the current vehicle is greater than the power threshold, and the identification information corresponding to the application to be upgraded is the second identification, the gateway generates a target download request based on the name of the application to be upgraded, and downloads the target The request is sent to the server. After receiving the target download request sent by the gateway, the server sends the installation package to the gateway. During the process of the server sending the installation package to the gateway, the gateway will feedback the download progress to the HMI and the server. The gateway receives the download request sent by the server. After installing the package, verify the signature of the installation package. If the signature verification is passed, the list to be upgraded will be updated according to the download completion notification.
- installing the installation package of the application to be upgraded according to the identification information corresponding to the application to be upgraded and the name of the application to be upgraded includes:
- the target notification information is generated according to the name of the application to be upgraded, and the target notification information is sent to the ECU.
- the ECU sends an installation package download request to the server.
- the server receives the installation package download request sent by the ECU, it sends the installation package to the ECU.
- the ECU Will respond to the gateway and server The gateway then sends the download progress of the ECU to the HMI.
- the ECU verifies the installation package.
- the ECU sends a download completion notification to the gateway, and updates the list to be upgraded based on the download completion notification.
- the gateway sends a query message to the HMI asking the user whether to confirm the installation.
- the HMI displays a pop-up window to confirm the installation. If the user clicks the confirmation control on the HMI, the HMI sends the user confirmation message to the gateway.
- the gateway will make a timeout judgment after receiving the confirmation message. If it times out, the gateway re-sends the user's query message to the HMI to confirm whether to confirm the installation. After the gateway receives the user confirmation information, it obtains the status information of the current vehicle.
- the gateway sends an installation request to the ECU. After receiving the installation request, the ECU performs the installation and feeds back the installation results to the gateway and HMI. After the ECU installation is completed, the vehicle status is restored (switching from the vehicle control stage to the normal stage).
- target notification information is generated based on the name of the application to be upgraded, and the target notification information is sent to ECU, after receiving the target notification information, the ECU sends an installation package download request to the server.
- the server After receiving the installation package download request sent by the ECU, the server sends the installation package to the ECU.
- the ECU will Feedback the download progress to the gateway and server, and the gateway then sends the ECU's download progress to the HMI. After receiving the installation package sent by the server, the ECU verifies the installation package.
- the ECU sends a download completion notification to the gateway, and updates the list to be upgraded based on the download completion notification.
- the gateway sends a query message to the HMI asking the user whether to confirm the installation.
- the HMI displays a pop-up window to confirm the installation. If the user clicks the confirmation control on the HMI, the HMI sends the user confirmation message to the gateway. After receiving the confirmation message, the gateway will make a timeout judgment. If it times out, the gateway will resend the user's inquiry message to the HMI asking whether to confirm the installation. After the gateway receives the user confirmation information, it obtains the status information of the current vehicle.
- the gateway sends an installation request to the ECU. After receiving the installation request, the ECU performs the installation and feeds back the installation results to the gateway and HMI. After the ECU installation is completed, the vehicle status is restored (switching from the vehicle control stage to the normal stage).
- installing the installation package of the application to be upgraded according to the identification information corresponding to the application to be upgraded and the name of the application to be upgraded includes:
- the ECU is flashed according to the installation package of the application to be upgraded
- the method of receiving the version number reported by the ECU may be: flashing the ECU according to the installation package of the application to be upgraded; reading Get the flashing progress information of the ECU; when the flashing progress information of the ECU is 100%, the ECU Automatically restart. After the ECU automatically restarts, it will report the version number to the gateway.
- the gateway if the power of the current vehicle is greater than the power threshold, and the identification information corresponding to the application to be upgraded is the second identification, the gateway generates a target download request based on the name of the application to be upgraded, and sends the target download request to Sent to the server, the server sends the installation package to the gateway after receiving the target download request sent by the gateway.
- the gateway will feedback the download progress to the HMI and the server.
- the gateway will receive the installation package sent by the server. After packaging, verify the signature of the installation package. If the signature verification is passed, the list to be upgraded will be updated according to the download completion notification.
- the gateway sends a query message to the HMI asking the user whether to confirm the installation.
- the HMI displays a pop-up window to confirm the installation. If the user clicks the confirmation control on the HMI, the HMI sends the user confirmation message to the gateway. After receiving the confirmation message, the gateway will make a timeout judgment. If it times out, the gateway will resend the user's inquiry message to the HMI asking whether to confirm the installation. After the gateway receives the user confirmation information, it obtains the status information of the current vehicle. If it is determined that the status of the current vehicle meets the installation conditions, the current vehicle is controlled to enter the vehicle control stage (the user cannot use the vehicle when the vehicle is in the vehicle control stage, and the vehicle cannot be dismounted). power), the gateway performs the installation and sends the installation results to the HMI. After the gateway installation is completed, restore the vehicle status (switch from the vehicle control stage to the normal stage).
- the gateway In another example, if the current vehicle's power is greater than the power threshold, and the volume of the installation package of the application to be upgraded is less than or equal to the volume threshold, the gateway generates a target download request based on the name of the application to be upgraded, and downloads the target The request is sent to the server. After receiving the target download request sent by the gateway, the server sends the installation package to the gateway. During the process of the server sending the installation package to the gateway, the gateway will feedback the download progress to the HMI and the server. The gateway receives the download request sent by the server. After installing the package, verify the signature of the installation package. If the signature verification is passed, the list to be upgraded will be updated according to the download completion notification.
- the gateway sends a query message to the HMI asking the user whether to confirm the installation.
- the HMI displays a pop-up window to confirm the installation. If the user clicks the confirmation control on the HMI, the HMI sends the user confirmation message to the gateway. After receiving the confirmation message, the gateway will make a timeout judgment. If it times out, the gateway will resend the user's inquiry message to the HMI asking whether to confirm the installation.
- the gateway obtains the status information of the current vehicle. If it is determined that the status of the current vehicle meets the installation conditions, the current vehicle is controlled to enter the vehicle control stage (the user cannot use the vehicle when the vehicle is in the vehicle control stage, and the vehicle cannot be dismounted). power), the gateway performs the installation and sends the installation results to the HMI. After the gateway installation is completed, restore the vehicle status (switch from the vehicle control stage to the normal stage).
- the technical solution of this embodiment is to obtain an application list, where the application list includes: an application name and an application version number; and determine a list to be upgraded based on the application name and the application version number, where the list to be upgraded is It includes: the name of the application to be upgraded and the identification information corresponding to the application to be upgraded; upgrading based on the identification information corresponding to the application to be upgraded and the name of the application to be upgraded can realize rapid upgrade of vehicle software and meet the subsequent use needs of consumers.
- FIG 2 is a schematic structural diagram of an upgrade device provided by an embodiment of the present application. This embodiment can be applied to software upgrades for vehicles.
- the device can be implemented in the form of software and/or hardware.
- the device can be integrated in any device that provides an upgrade function.
- the upgrade device It includes: application list acquisition module 210, to-be-upgraded list determination module 220, and upgrade module 230.
- the application list obtaining module 210 is configured to obtain an application list, where the application list includes: application name and application version number;
- the to-be-upgraded list determination module 220 is configured to determine the to-be-upgraded list according to the application name and the application version number, wherein the to-be-upgraded list includes: the to-be-upgraded application name and the identification information corresponding to the to-be-upgraded application;
- the upgrade module 230 is configured to perform upgrades according to the identification information corresponding to the application to be upgraded and the name of the application to be upgraded.
- the upgrade module 230 is set to:
- the upgrade module 230 is set to:
- the upgrade module 230 is set to:
- target notification information is generated according to the name of the application to be upgraded, and the target notification information is sent to the ECU, so that the ECU downloads the installation of the application to be upgraded. Bag;
- volume of the installation package of the application to be upgraded is less than or equal to the volume threshold, a target download request is generated according to the name of the application to be upgraded, and the target download request is sent to the server, and the The installation package of the application to be upgraded is sent by the server.
- the upgrade module 230 is set to:
- identification information corresponding to the application to be upgraded is the first identification
- target notification information is generated according to the name of the application to be upgraded, and the target notification information is sent to the ECU, so that the ECU downloads the application to be upgraded. installation package;
- the identification information corresponding to the application to be upgraded is the second identification, generate a target download request according to the name of the application to be upgraded, send the target download request to the server, and receive the application to be upgraded sent by the server. installation package.
- the upgrade module 230 is set to:
- the upgrade module 230 is set to:
- the above-mentioned products can execute the methods provided by any embodiment of this application, and have corresponding functional modules and effects for executing the methods.
- the technical solution of this embodiment is to obtain an application list, where the application list includes: an application name and an application version number; and determine a list to be upgraded based on the application name and the application version number, where the list to be upgraded is It includes: the name of the application to be upgraded and the identification information corresponding to the application to be upgraded; upgrading based on the identification information corresponding to the application to be upgraded and the name of the application to be upgraded can realize rapid upgrade of vehicle software and meet the subsequent use needs of consumers.
- FIG. 3 shows a schematic structural diagram of an electronic device 10 that can be used to implement embodiments of the present application.
- Electronic devices are intended to refer to various forms of digital computers, such as laptop computers, desktop computers, workstations, personal digital assistants, servers, blade servers, mainframe computers, and other suitable computers.
- Electronic devices may also represent various forms of mobile devices, such as personal digital assistants, cellular phones, smart phones, wearable devices (eg, helmets, glasses, watches, etc.), and other similar computing devices.
- the components shown herein, their connections and relationships, and their functions are examples only and are not intended to limit the implementation of the present application as described and/or claimed herein.
- the electronic device 10 includes at least one processor 11, and a memory, such as ROM 12, RAM 13, etc., communicatively connected to the at least one processor 11, wherein the memory stores information that can be at least A computer program executed by a processor, the processor 11 can perform various appropriate actions and processes according to the computer program stored in the ROM 12 or loaded into the RAM 13 from the storage unit 18 .
- the RAM 13 various programs and data required for the operation of the electronic device 10 can also be stored.
- the processor 11, the ROM 12 and the RAM 13 are connected to each other via the bus 14.
- I/O interface 15 is also connected to bus 14 .
- the I/O interface 15 Multiple components in the electronic device 10 are connected to the I/O interface 15, including: an input unit 16, such as a keyboard, a mouse, etc.; an output unit 17, such as various types of displays, speakers, etc.; a storage unit 18, such as a magnetic disk, an optical disk, etc. etc.; and communication unit 19, such as network card, modem, wireless communication transceiver, etc.
- the communication unit 19 allows the electronic device 10 to exchange information/data with other devices through a computer network such as the Internet and/or various telecommunications networks.
- Processor 11 may be a variety of general and/or special purpose processing components having processing and computing capabilities. Some examples of the processor 11 include a central processing unit (Central Processing Unit, CPU), a graphics processing unit (Graphics Processing Unit, GPU), a variety of dedicated artificial intelligence (Artificial Intelligence, AI) computing chips, a variety of running machine learning models Algorithm processor, digital signal processor (Digital Signal Processor, DSP), and any appropriate processor, controller, microcontroller, etc.
- the processor 11 performs multiple methods and processes described above, such as the upgrade method:
- an application list where the application list includes: application name and application version number;
- a list to be upgraded is determined according to the application name and the application version number, wherein the list to be upgraded includes: the name of the application to be upgraded and the identification information corresponding to the application to be upgraded;
- Upgrade is performed according to the identification information corresponding to the application to be upgraded and the name of the application to be upgraded.
- the upgrade method may be implemented as a computer program, which is tangibly embodied in a computer-readable storage medium, such as the storage unit 18 .
- part or all of the computer program may be loaded and/or installed onto the electronic device 10 via the ROM 12 and/or the communication unit 19.
- the processor 11 may be configured to perform the upgrade method in any other suitable manner (eg, by means of firmware).
- FPGAs Field Programmable Gate Arrays
- ASICs Application Specific Integrated Circuits
- ASSP Application Specific Standard Parts
- SOC System on Chip
- CPLD Complex Programmable Logic Device
- implementations may include implementation in one or more computer programs, which may include Execution and/or interpretation on the programmable system of at least one programmable processor, which may be a special purpose or general purpose programmable processor, may receive data from the storage system, at least one input device, and at least one output device and instructions, and transmits data and instructions to the storage system, the at least one input device, and the at least one output device.
- programmable processor which may be a special purpose or general purpose programmable processor, may receive data from the storage system, at least one input device, and at least one output device and instructions, and transmits data and instructions to the storage system, the at least one input device, and the at least one output device.
- Computer programs for implementing the methods of the present application may be written in any combination of one or more programming languages. These computer programs may be provided to a processor of a general-purpose computer, a special-purpose computer, or other programmable data processing device, such that the computer program, when executed by the processor, causes the functions/operations specified in the flowcharts and/or block diagrams to be implemented.
- a computer program may execute entirely on the machine, partly on the machine, as a stand-alone software package, partly on the machine and partly on a remote machine or entirely on the remote machine or server.
- a computer-readable storage medium may be a tangible medium that may contain or store a computer program for use by or in connection with an instruction execution system, apparatus, or device.
- Computer-readable storage media may include electronic, magnetic, optical, electromagnetic, infrared, or semiconductor systems, devices or devices, or any suitable combination of the foregoing.
- the computer-readable storage medium may be a machine-readable signal medium.
- Machine-readable storage media include electrical connections based on one or more wires, portable computer disks, hard drives, RAM, ROM, Erasable Programmable Read-Only Memory (EPROM), flash memory), Optical fiber, portable compact disk read-only memory (CD-ROM), optical storage device, magnetic storage device, or any suitable combination of the above.
- the storage medium may be a non-transitory storage medium.
- the systems and techniques described herein may be implemented on an electronic device having a display device (e.g., a cathode ray tube (CRT) or liquid crystal) for displaying information to the user.
- a display device e.g., a cathode ray tube (CRT) or liquid crystal
- a display Liquid Crystal Display, LCD monitor
- a keyboard and pointing device e.g., a mouse or a trackball
- Other kinds of devices may also be used to provide interaction with the user; for example, the feedback provided to the user may be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and may be provided in any form, including Acoustic input, voice input or tactile input) to receive input from the user.
- the systems and techniques described herein may be implemented in a computing system that includes back-end components (e.g., as a data server), or a computing system that includes middleware components (e.g., an application server), or a computing system that includes front-end components (e.g., A user's computer having a graphical user interface or web browser through which the user can interact with implementations of the systems and technologies described herein), or including such backend components, middleware components, or any combination of front-end components in a computing system.
- Digital data communication can be through any form or medium (e.g. (e.g., communication network) to connect the components of the system to each other. Examples of communication networks include: Local Area Network (LAN), Wide Area Network (WAN), blockchain network, and the Internet.
- Computing systems may include clients and servers.
- Clients and servers are generally remote from each other and typically interact over a communications network.
- the relationship of client and server is created by computer programs running on corresponding computers and having a client-server relationship with each other.
- the server can be a cloud server, also known as cloud computing server or cloud host. It is a host product in the cloud computing service system to solve the problems that exist in traditional physical host and virtual private server (VPS) services. It has the disadvantages of difficult management and weak business scalability.
- VPN virtual private server
- Steps can be reordered, added, or removed using various forms of the process shown above.
- multiple steps described in this application can be executed in parallel, sequentially, or in different orders.
- the desired results of the technical solution of this application can be achieved, there is no limitation here.
Landscapes
- Engineering & Computer Science (AREA)
- Software Systems (AREA)
- General Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Computer Security & Cryptography (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Stored Programmes (AREA)
Abstract
本申请提供了一种升级方法、装置、设备及存储介质。该升级方法包括:获取应用列表,其中,所述应用列表包括:应用名称和应用版本号;根据所述应用名称和所述应用版本号确定待升级列表,其中,所述待升级列表包括:待升级应用名称和待升级应用对应的标识信息;根据所述待升级应用对应的标识信息和所述待升级应用名称进行升级。
Description
本申请要求在2022年05月11日提交中国专利局、申请号为202210513154.5的中国专利申请的优先权,该申请的全部内容通过引用结合在本申请中。
本申请涉及车辆技术领域,例如涉及一种升级方法、装置、设备及存储介质。
随着车辆的功能越来越丰富,车辆软件更新迭代越来越快,用户的需求也逐渐增加,车辆中很多应用性软件以及娱乐性软件受到消费者青睐,用户可以根据自己的实际需要进行应用下载。
车辆销售之后,消费者后续想要增加车辆的一些功能,就需要频繁返回汽车销售商家升级,浪费了大量的时间和精力。
发明内容
本申请提供一种升级方法、装置、设备及存储介质,以实现车辆软件快速升级,满足消费者的后续使用需求。
根据本申请的一方面,提供了一种升级方法,包括:获取应用列表,其中,所述应用列表包括:应用名称和应用版本号;
根据所述应用名称和所述应用版本号确定待升级列表,其中,所述待升级列表包括:待升级应用名称和待升级应用对应的标识信息;
根据所述待升级应用对应的标识信息和所述待升级应用名称进行升级。
在一个或多个实施例中,根据所述待升级应用对应的标识信息和所述待升级应用名称进行升级,包括:
若当前车辆的电量大于电量阈值,则根据所述待升级应用对应的标识信息和所述待升级应用名称下载所述待升级应用的安装包;
当接收到安装确认信息时,若当前车辆处于驻车状态,且当前车辆处于上电状态时,则根据所述待升级应用对应的标识信息和所述待升级应用名称安装所述待升级应用的安装包。
在一个或多个实施例中,根据所述待升级应用对应的标识信息和所述待升
级应用名称进行升级,包括:
若当前车辆的电量大于电量阈值,则根据所述待升级应用对应的标识信息和所述待升级应用名称下载所述待升级应用的安装包;
当处于预设安装时间时,若当前车辆处于驻车状态,且当前车辆处于下电状态,则在控制当前车辆从下电状态切换至上电状态之后,根据所述待升级应用对应的标识信息和所述待升级应用名称安装所述待升级应用的安装包。
在一个或多个实施例中,根据所述待升级应用对应的标识信息和所述待升级应用名称下载所述待升级应用的安装包,包括:
根据所述待升级应用对应的标识信息确定所述待升级应用的安装包的体积;
若待升级应用的安装包的体积大于体积阈值,则根据所述待升级应用名称生成目标通知信息,并将所述目标通知信息发送至电子控制单元(Electronic Control Unit,ECU),以使所述ECU下载所述待升级应用的安装包;
若待升级应用的安装包的体积小于或者等于体积阈值,则根据所述待升级应用名称生成目标下载请求,并将所述目标下载请求发送至服务器,接收所述服务器发送的所述待升级应用的安装包。
在一个或多个实施例中,根据所述待升级应用对应的标识信息和所述待升级应用名称下载所述待升级应用的安装包,包括:
若所述待升级应用对应的标识信息为第一标识,则根据所述待升级应用名称生成目标通知信息,并将所述目标通知信息发送至ECU,以使所述ECU下载所述待升级应用的安装包;
若所述待升级应用对应的标识信息为第二标识,则根据所述待升级应用名称生成目标下载请求,并将所述目标下载请求发送至服务器,接收所述服务器发送的所述待升级应用的安装包。
在一个或多个实施例中,根据所述待升级应用对应的标识信息和所述待升级应用名称安装所述待升级应用的安装包,包括:
向ECU发送安装请求,以使所述ECU根据所述安装请求安装所述待升级应用的安装包。
在一个或多个实施例中,根据所述待升级应用对应的标识信息和所述待升级应用名称安装所述待升级应用的安装包,包括:
根据所述待升级应用的安装包对ECU进行刷写;
接收所述ECU上报的版本号。
根据本申请的另一方面,提供了一种升级装置,包括:
应用列表获取模块,设置为获取应用列表,其中,所述应用列表包括:应用名称和应用版本号;
待升级列表确定模块,设置为根据所述应用名称和所述应用版本号确定待升级列表,其中,所述待升级列表包括:待升级应用名称和待升级应用对应的标识信息;
升级模块,设置为根据所述待升级应用对应的标识信息和所述待升级应用名称进行升级。
在一个或多个实施例中,所述升级模块是设置为:
若当前车辆的电量大于电量阈值,则根据所述待升级应用对应的标识信息和所述待升级应用名称下载所述待升级应用的安装包;
当接收到安装确认信息时,若当前车辆处于驻车状态,且当前车辆处于上电状态时,则根据所述待升级应用对应的标识信息和所述待升级应用名称安装所述待升级应用的安装包。
在一个或多个实施例中,所述升级模块是设置为:
若当前车辆的电量大于电量阈值,则根据所述待升级应用对应的标识信息和所述待升级应用名称下载所述待升级应用的安装包;
当处于预设安装时间时,若当前车辆处于驻车状态,且当前车辆处于下电状态,则在控制当前车辆从下电状态切换至上电状态之后,根据所述待升级应用对应的标识信息和所述待升级应用名称安装所述待升级应用的安装包。
在一个或多个实施例中,所述升级模块是设置为:
根据所述待升级应用对应的标识信息确定所述待升级应用的安装包的体积;
若待升级应用的安装包的体积大于体积阈值,则根据所述待升级应用名称生成目标通知信息,并将所述目标通知信息发送至ECU,以使所述ECU下载所述待升级应用的安装包;
若待升级应用的安装包的体积小于或者等于体积阈值,则根据所述待升级应用名称生成目标下载请求,并将所述目标下载请求发送至服务器,接收所述服务器发送的所述待升级应用的安装包。
在一个或多个实施例中,所述升级模块是设置为:
若所述待升级应用对应的标识信息为第一标识,则根据所述待升级应用名
称生成目标通知信息,并将所述目标通知信息发送至ECU,以使所述ECU下载所述待升级应用的安装包;
若所述待升级应用对应的标识信息为第二标识,则根据所述待升级应用名称生成目标下载请求,并将所述目标下载请求发送至服务器,接收所述服务器发送的所述待升级应用的安装包。
在一个或多个实施例中,所述升级模块是设置为:
向ECU发送安装请求,以使所述ECU根据所述安装请求安装所述待升级应用的安装包。
在一个或多个实施例中,所述升级模块是设置为:
根据所述待升级应用的安装包对ECU进行刷写;
接收所述ECU上报的版本号。
根据本申请的另一方面,提供了一种电子设备,包括:
至少一个处理器;以及
与所述至少一个处理器通信连接的存储器;其中,
所述存储器存储有可被所述至少一个处理器执行的计算机程序,所述计算机程序被所述至少一个处理器执行,以使所述至少一个处理器能够执行本申请任一实施例所述的升级方法。
根据本申请的另一方面,提供了一种计算机可读存储介质,所述计算机可读存储介质存储有计算机指令,所述计算机指令用于使处理器执行时实现本申请任一实施例所述的升级方法。
图1是本申请实施例中的一种升级方法的流程图;
图2是本申请实施例中的一种升级装置的结构示意图;
图3是本申请实施例中的一种电子设备的结构示意图。
下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行描述,所描述的实施例仅仅是本申请一部分的实施例,而不是全部的实施例。
本申请的说明书和权利要求书及上述附图中的术语“第一”、“第二”等是用于区别类似的对象,而不必用于描述特定的顺序或先后次序。这样使用的
数据在适当情况下可以互换,以便这里描述的本申请的实施例能够以除了在这里图示或描述的那些以外的顺序实施。此外,术语“包括”和“具有”以及他们的任何变形,意图在于覆盖不排他的包含,例如,包含了一系列步骤或单元的过程、方法、系统、产品或设备不必限于清楚地列出的那些步骤或单元,而是可包括没有清楚地列出的或对于这些过程、方法、产品或设备固有的其它步骤或单元。
实施例一
图1为本申请实施例提供的一种升级方法的流程图,本实施例可适用于对车辆进行软件升级的情况,该方法可以由本申请实施例中的升级装置来执行,该装置可采用软件和/或硬件的方式实现,如图1所示,该方法包括如下步骤。
S110、获取应用列表,其中,所述应用列表包括:应用名称和应用版本号。
所述应用名称为用户通过人机界面人机界面(Human Machine Interface,HMI)输入的应用名称,应用版本号和应用名称相关,例如可以是,应用名称A对应应用版本号X,应用名称B对应应用版本号Y。
示例性的,获取应用列表的方式可以为:用户通过HMI输入应用列表,HMI将应用列表发送至网关,网关接收HMI发送的应用列表。其中,HMI又称用户界面或使用者界面,HMI是系统和用户之间进行交互和信息交换的媒介,能够实现信息的内部形式与用户可以接受形式之间的转换。
S120、根据所述应用名称和所述应用版本号确定待升级列表,其中,所述待升级列表包括:待升级应用名称和待升级应用对应的标识信息。
待升级应用名称为待升级应用的应用名称。
所述待升级应用对应的标识信息可以为ECU标识,所述待升级应用对应的标识信息也可以为网关标识,所述待升级应用对应的标识信息还可以为安装包的体积,所述待升级应用对应的标识信息还可以为与安装包体积相关的标识,本申请实施例对此不进行限制。
示例性的,根据所述应用名称和所述应用版本号确定待升级列表的方式可以为:获取所述应用名称对应的最新版本号,将用户通过HMI输入的应用名称对应的版本号与最新版本号不同的应用确定为待升级应用,获取待升级应用的名称和待升级应用对应的标识信息,根据待升级应用的名称和待升级应用对应的标识信息构建待升级列表。例如可以是,若用户通过HMI输入的应用列表中包括:应用名称A对应应用版本号X,应用名称B对应应用版本号Y。查询得到应用名称A对应的最新版本号为R,应用名称B对应最新版本号为Y,则将应用名称A确定为待升级应用名称。
S130、根据所述待升级应用对应的标识信息和所述待升级应用名称进行升级。
示例性的,根据所述待升级应用对应的标识信息和所述待升级应用名称进行升级的方式可以为:若当前车辆的电量大于电量阈值,则根据所述待升级应用对应的标识信息和所述待升级应用名称下载所述待升级应用的安装包;当接收到安装确认信息时,若当前车辆处于驻车状态,且当前车辆处于上电状态时,则根据所述待升级应用对应的标识信息和所述待升级应用名称安装所述待升级应用的安装包。根据所述待升级应用对应的标识信息和所述待升级应用名称进行升级的方式还可以为:若当前车辆的电量大于电量阈值,则根据所述待升级应用对应的标识信息和所述待升级应用名称下载所述待升级应用的安装包;当处于预设安装时间时,若当前车辆处于驻车状态,且当前车辆处于下电状态,则在控制当前车辆从下电状态切换至上电状态之后,根据所述待升级应用对应的标识信息和所述待升级应用名称安装所述待升级应用的安装包,本申请实施例对此不进行限制。
可选的,根据所述待升级应用对应的标识信息和所述待升级应用名称进行升级,包括:
若当前车辆的电量大于电量阈值,则根据所述待升级应用对应的标识信息和所述待升级应用名称下载所述待升级应用的安装包;
当接收到安装确认信息时,若当前车辆处于驻车状态,且当前车辆处于上电状态时,则根据所述待升级应用对应的标识信息和所述待升级应用名称安装所述待升级应用的安装包。
所述电量阈值可以为预先设定的电量数值,也可以为根据安装包的体积确定的电量阈值(安装包的体积越大,电量阈值越大),本申请实施例对此不进行限制。
示例性的,根据所述待升级应用对应的标识信息和所述待升级应用名称下载所述待升级应用的安装包的方式可以为:根据所述待升级应用对应的标识信息确定所述待升级应用的安装包的体积;若待升级应用的安装包的体积大于体积阈值,则根据所述待升级应用名称生成目标通知信息,并将所述目标通知信息发送至ECU,以使所述ECU下载所述待升级应用的安装包;若待升级应用的安装包的体积小于或者等于体积阈值,则根据所述待升级应用名称生成目标下载请求,并将所述目标下载请求发送至服务器,接收所述服务器发送的所述待升级应用的安装包。根据所述待升级应用对应的标识信息和所述待升级应用名称下载所述待升级应用的安装包的方式还可以为:若所述待升级应用对应的标识信息为第一标识,则根据所述待升级应用名称生成目标通知信息,并将所述
目标通知信息发送至ECU,以使所述ECU下载所述待升级应用的安装包;若所述待升级应用对应的标识信息为第二标识,则根据所述待升级应用名称生成目标下载请求,并将所述目标下载请求发送至服务器,接收所述服务器发送的所述待升级应用的安装包。
所述安装确认信息的获取方式可以为:用户点击人机界面上的确认控件后,生成安装确认信息,人机界面将安装确认信息发送至网关,网关接收安装确认信息。所述安装确认信息的获取方式还可以为:用户语音输入确认信息,人机界面根据用户输入的确认信息生成安装确认信息,人机界面将安装确认信息发送至网关,网关接收安装确认信息。
所述当前车辆为发送应用列表的车辆,例如可以是,若车辆T的HMI将应用列表发送至网关,则确定车辆T为当前车辆。
所述当前车辆处于驻车状态的确定方式可以为:若当前车辆的挡位处于驻车(Park,P)挡,手刹处于拉起状态,当前车辆的车速为零、电机转速为零、且方向盘转角为零,则确定当前车辆处于驻车状态。
所述当前车辆处于上电状态指的是:当前车辆处于点火开关(Ignition,IG)ON。
示例性的,根据所述待升级应用对应的标识信息和所述待升级应用名称安装所述待升级应用的安装包的方式可以为:若待升级应用的安装包是ECU下载的,则通过ECU安装,若待升级应用的安装包是网关下载的,则通过网关安装。
可选的,根据所述待升级应用对应的标识信息和所述待升级应用名称进行升级,包括:
若当前车辆的电量大于电量阈值,则根据所述待升级应用对应的标识信息和所述待升级应用名称下载所述待升级应用的安装包;
当处于预设安装时间时,若当前车辆处于驻车状态,且当前车辆处于下电状态,则在控制当前车辆从下电状态切换至上电状态之后,根据所述待升级应用对应的标识信息和所述待升级应用名称安装所述待升级应用的安装包。
所述电量阈值可以为预先设定的电量数值,也可以为根据安装包的体积确定的电量阈值(安装包的体积越大,电量阈值越大),本申请实施例对此不进行限制。
示例性的,根据所述待升级应用对应的标识信息和所述待升级应用名称下载所述待升级应用的安装包的方式可以为:根据所述待升级应用对应的标识信息确定所述待升级应用的安装包的体积;若待升级应用的安装包的体积大于体积阈值,则根据所述待升级应用名称生成目标通知信息,并将所述目标通知信
息发送至ECU,以使所述ECU下载所述待升级应用的安装包;若待升级应用的安装包的体积小于或者等于体积阈值,则根据所述待升级应用名称生成目标下载请求,并将所述目标下载请求发送至服务器,接收所述服务器发送的所述待升级应用的安装包。根据所述待升级应用对应的标识信息和所述待升级应用名称下载所述待升级应用的安装包的方式还可以为:若所述待升级应用对应的标识信息为第一标识,则根据所述待升级应用名称生成目标通知信息,并将所述目标通知信息发送至ECU,以使所述ECU下载所述待升级应用的安装包;若所述待升级应用对应的标识信息为第二标识,则根据所述待升级应用名称生成目标下载请求,并将所述目标下载请求发送至服务器,接收所述服务器发送的所述待升级应用的安装包。
所述预设安装时间的获取方式可以为:用户通过人机界面预先设定的安装时间,例如可以是,用户通过点选人机界面上的安装时间A确定预设安装时间为安装时间A。
所述当前车辆处于驻车状态的确定方式可以为:若当前车辆的挡位处于P挡,手刹处于拉起状态,当前车辆的车速为零、电机转速为零、且方向盘转角为零,则确定当前车辆处于驻车状态。
当前车辆处于下电状态可以为:当前车辆处于IG OFF。
示例性的,在控制当前车辆从下电状态切换至上电状态之后,根据所述待升级应用对应的标识信息和所述待升级应用名称安装所述待升级应用的安装包的方式可以为:在控制当前车辆从下电状态切换至上电状态之后,若待升级应用的安装包是ECU下载的,则通过ECU安装,若待升级应用的安装包是网关下载的,则通过网关安装。
可选的,根据所述待升级应用对应的标识信息和所述待升级应用名称下载所述待升级应用的安装包,包括:
根据所述待升级应用对应的标识信息确定所述待升级应用的安装包的体积;
若待升级应用的安装包的体积大于体积阈值,则根据所述待升级应用名称生成目标通知信息,并将所述目标通知信息发送至ECU,以使所述ECU下载所述待升级应用的安装包;
若待升级应用的安装包的体积小于或者等于体积阈值,则根据所述待升级应用名称生成目标下载请求,并将所述目标下载请求发送至服务器,接收所述服务器发送的所述待升级应用的安装包。
所述体积阈值可以为预先设定,也可以为系统设定,本申请实施例对此不
进行限制。
所述目标通知信息包括:待升级应用名称。
示例性的,将目标通知信息发送至ECU,以使所述ECU下载所述待升级应用的安装包的方式可以为:网关将目标通知信息发送至ECU,ECU接收到目标通知信息之后,根据目标通知信息中携带的待升级应用名称查询待升级应用名称对应的安装包,ECU下载所述待升级应用的安装包。
所述目标下载请求包括:待升级应用名称。
示例性的,根据所述待升级应用名称生成目标下载请求,并将所述目标下载请求发送至服务器,接收所述服务器发送的所述待升级应用的安装包的方式可以为:网关根据所述待升级应用名称生成目标下载请求,并将所述目标下载请求发送至服务器,服务器根据待升级应用名称查询待升级应用名称对应的安装包,服务器将待升级应用名称对应的安装包发送至网关,网关接收所述服务器发送的所述待升级应用的安装包。
ECU从用途上讲则是汽车专用微机控制器。它和普通的电脑一样,由微控制器(Microprocessor Control Unit,MCU)、存储器(只读存储器(Read-Only Memory,ROM)、随机存取存储器(Random Access Memory,RAM))、输入/输出接口(Input/Output,I/O)、模数转换器(analog to digital converter,A/D)、整形和驱动等大规模集成电路组成。
在一个例子中,若当前车辆的电量大于电量阈值,且待升级应用的安装包的体积大于体积阈值,则根据所述待升级应用名称生成目标通知信息,并将所述目标通知信息发送至ECU,ECU在接收到目标通知信息之后,向服务器发送安装包下载请求,服务器在接收到ECU发送的安装包下载请求之后,向ECU发送安装包,在服务器向ECU发送安装包的过程中ECU会向网关和服务器反馈下载进度,网关再将ECU的下载进度发送至HMI,ECU在接收到服务器发送的安装包后,对安装包进行验签。若验签通过,则ECU向网关发送下载完成通知,并根据下载完成通知更新待升级列表。
在另一个例子中,若当前车辆的电量大于电量阈值,且待升级应用的安装包的体积小于或者等于体积阈值,则网关根据所述待升级应用名称生成目标下载请求,并将所述目标下载请求发送至服务器,服务器在接收到网关发送的目标下载请求之后,向网关发送安装包,在服务器向网关发送安装包的过程中网关会向HMI和服务器反馈下载进度,网关在接收到服务器发送的安装包后,对安装包进行验签。若验签通过,则根据下载完成通知更新待升级列表。
可选的,根据所述待升级应用对应的标识信息和所述待升级应用名称下载
所述待升级应用的安装包,包括:
若所述待升级应用对应的标识信息为第一标识,则根据所述待升级应用名称生成目标通知信息,并将所述目标通知信息发送至ECU,以使所述ECU下载所述待升级应用的安装包;
若所述待升级应用对应的标识信息为第二标识,则根据所述待升级应用名称生成目标下载请求,并将所述目标下载请求发送至服务器,接收所述服务器发送的所述待升级应用的安装包。
所述第一标识为ECU标识,若待升级应用对应的标识信息为第一标识,则通过ECU下载。所述第二标识为网关标识,若待升级应用对应的标识信息为第二标识,则通过网关下载。
在一个例子中,若当前车辆的电量大于电量阈值,且所述待升级应用对应的标识信息为第一标识,则根据所述待升级应用名称生成目标通知信息,并将所述目标通知信息发送至ECU,ECU在接收到目标通知信息之后,向服务器发送安装包下载请求,服务器在接收到ECU发送的安装包下载请求之后,向ECU发送安装包,在服务器向ECU发送安装包的过程中ECU会向网关和服务器反馈下载进度,网关再将ECU的下载进度发送至HMI,ECU在接收到服务器发送的安装包后,对安装包进行验签。若验签通过,则ECU向网关发送下载完成通知,并根据下载完成通知更新待升级列表。
在另一个例子中,若当前车辆的电量大于电量阈值,且所述待升级应用对应的标识信息为第二标识,则网关根据所述待升级应用名称生成目标下载请求,并将所述目标下载请求发送至服务器,服务器在接收到网关发送的目标下载请求之后,向网关发送安装包,在服务器向网关发送安装包的过程中网关会向HMI和服务器反馈下载进度,网关在接收到服务器发送的安装包后,对安装包进行验签。若验签通过,则根据下载完成通知更新待升级列表。
可选的,根据所述待升级应用对应的标识信息和所述待升级应用名称安装所述待升级应用的安装包,包括:
向ECU发送安装请求,以使所述ECU根据所述安装请求安装所述待升级应用的安装包。
在一个例子中,若当前车辆的电量大于电量阈值,且所述待升级应用对应的标识信息为第一标识,则根据所述待升级应用名称生成目标通知信息,并将所述目标通知信息发送至ECU,ECU在接收到目标通知信息之后,向服务器发送安装包下载请求,服务器在接收到ECU发送的安装包下载请求之后,向ECU发送安装包,在服务器向ECU发送安装包的过程中ECU会向网关和服务器反
馈下载进度,网关再将ECU的下载进度发送至HMI,ECU在接收到服务器发送的安装包后,对安装包进行验签。若验签通过,则ECU向网关发送下载完成通知,并根据下载完成通知更新待升级列表。网关向HMI发送用户是否确认安装的询问信息,HMI显示是否确认安装弹窗,若用户点击HMI上的确认控件,HMI则向网关发送用户确认信息,网关在接收到确认信息之后会进行超时判断,若超时,则网关重新向HMI发送用户是否确认安装的询问信息。在网关接收到用户确认信息之后,获取当前车辆的状态信息,若确定当前车辆的状态满足安装条件,则控制当前车辆进入车控阶段(车辆处于车控阶段时用户无法使用车辆,且车辆无法下电),网关向ECU发送安装请求,ECU接收到安装请求后执行安装,并将安装结果反馈至网关和HMI,在ECU安装完成后,恢复车辆状态(从车控阶段切换至正常阶段)。
在另一个例子中,若当前车辆的电量大于电量阈值,且待升级应用的安装包的体积大于体积阈值,则根据所述待升级应用名称生成目标通知信息,并将所述目标通知信息发送至ECU,ECU在接收到目标通知信息之后,向服务器发送安装包下载请求,服务器在接收到ECU发送的安装包下载请求之后,向ECU发送安装包,在服务器向ECU发送安装包的过程中ECU会向网关和服务器反馈下载进度,网关再将ECU的下载进度发送至HMI,ECU在接收到服务器发送的安装包后,对安装包进行验签。若验签通过,则ECU向网关发送下载完成通知,并根据下载完成通知更新待升级列表。网关向HMI发送用户是否确认安装的询问信息,HMI显示是否确认安装弹窗,若用户点击HMI上的确认控件,HMI则向网关发送用户确认信息,网关在接收到确认信息之后会进行超时判断,若超时,则网关重新向HMI发送用户是否确认安装的询问信息。在网关接收到用户确认信息之后,获取当前车辆的状态信息,若确定当前车辆的状态满足安装条件,则控制当前车辆进入车控阶段(车辆处于车控阶段时用户无法使用车辆,且车辆无法下电),网关向ECU发送安装请求,ECU接收到安装请求后执行安装,并将安装结果反馈至网关和HMI,在ECU安装完成后,恢复车辆状态(从车控阶段切换至正常阶段)。
可选的,根据所述待升级应用对应的标识信息和所述待升级应用名称安装所述待升级应用的安装包,包括:
根据所述待升级应用的安装包对ECU进行刷写;
接收所述ECU上报的版本号。
示例性的,根据所述待升级应用的安装包对ECU进行刷写,接收所述ECU上报的版本号的方式可以为:根据所述待升级应用的安装包对所述ECU进行刷写;读取所述ECU的刷写进度信息;当ECU的刷写进度信息为100%时,ECU
自动重启,ECU自动重启后会向网关上报版本号。
在一个例子中,若当前车辆的电量大于电量阈值,且所述待升级应用对应的标识信息为第二标识,则网关根据所述待升级应用名称生成目标下载请求,并将所述目标下载请求发送至服务器,服务器在接收到网关发送的目标下载请求之后,向网关发送安装包,在服务器向网关发送安装包的过程中网关会向HMI和服务器反馈下载进度,网关在接收到服务器发送的安装包后,对安装包进行验签。若验签通过,则根据下载完成通知更新待升级列表。网关向HMI发送用户是否确认安装的询问信息,HMI显示是否确认安装弹窗,若用户点击HMI上的确认控件,HMI则向网关发送用户确认信息,网关在接收到确认信息之后会进行超时判断,若超时,则网关重新向HMI发送用户是否确认安装的询问信息。在网关接收到用户确认信息之后,获取当前车辆的状态信息,若确定当前车辆的状态满足安装条件,则控制当前车辆进入车控阶段(车辆处于车控阶段时用户无法使用车辆,且车辆无法下电),网关执行安装,并将安装结果发送至HMI。在网关安装完成后,恢复车辆状态(从车控阶段切换至正常阶段)。
在另一个例子中,若当前车辆的电量大于电量阈值,且待升级应用的安装包的体积小于或者等于体积阈值,则网关根据所述待升级应用名称生成目标下载请求,并将所述目标下载请求发送至服务器,服务器在接收到网关发送的目标下载请求之后,向网关发送安装包,在服务器向网关发送安装包的过程中网关会向HMI和服务器反馈下载进度,网关在接收到服务器发送的安装包后,对安装包进行验签。若验签通过,则根据下载完成通知更新待升级列表。网关向HMI发送用户是否确认安装的询问信息,HMI显示是否确认安装弹窗,若用户点击HMI上的确认控件,HMI则向网关发送用户确认信息,网关在接收到确认信息之后会进行超时判断,若超时,则网关重新向HMI发送用户是否确认安装的询问信息。在网关接收到用户确认信息之后,获取当前车辆的状态信息,若确定当前车辆的状态满足安装条件,则控制当前车辆进入车控阶段(车辆处于车控阶段时用户无法使用车辆,且车辆无法下电),网关执行安装,并将安装结果发送至HMI。在网关安装完成后,恢复车辆状态(从车控阶段切换至正常阶段)。
本实施例的技术方案,通过获取应用列表,其中,所述应用列表包括:应用名称和应用版本号;根据所述应用名称和所述应用版本号确定待升级列表,其中,所述待升级列表包括:待升级应用名称和待升级应用对应的标识信息;根据所述待升级应用对应的标识信息和所述待升级应用名称进行升级,能够实现车辆软件快速升级,满足消费者的后续使用需求。
实施例二
图2为本申请实施例提供的一种升级装置的结构示意图。本实施例可适用于针对车辆的软件升级的情况,该装置可采用软件和/或硬件的方式实现,该装置可集成在任何提供升级功能的设备中,如图2所示,所述升级装置包括:应用列表获取模块210、待升级列表确定模块220和升级模块230。
应用列表获取模块210,设置为获取应用列表,其中,所述应用列表包括:应用名称和应用版本号;
待升级列表确定模块220,设置为根据所述应用名称和所述应用版本号确定待升级列表,其中,所述待升级列表包括:待升级应用名称和待升级应用对应的标识信息;
升级模块230,设置为根据所述待升级应用对应的标识信息和所述待升级应用名称进行升级。
可选的,所述升级模块230是设置为:
若当前车辆的电量大于电量阈值,则根据所述待升级应用对应的标识信息和所述待升级应用名称下载所述待升级应用的安装包;
当接收到安装确认信息时,若当前车辆处于驻车状态,且当前车辆处于上电状态时,则根据所述待升级应用对应的标识信息和所述待升级应用名称安装所述待升级应用的安装包。
可选的,所述升级模块230是设置为:
若当前车辆的电量大于电量阈值,则根据所述待升级应用对应的标识信息和所述待升级应用名称下载所述待升级应用的安装包;
当处于预设安装时间时,若当前车辆处于驻车状态,且当前车辆处于下电状态,则在控制当前车辆从下电状态切换至上电状态之后,根据所述待升级应用对应的标识信息和所述待升级应用名称安装所述待升级应用的安装包。
可选的,所述升级模块230是设置为:
根据所述待升级应用对应的标识信息确定所述待升级应用的安装包的体积;
若待升级应用的安装包的体积大于体积阈值,则根据所述待升级应用名称生成目标通知信息,并将所述目标通知信息发送至ECU,以使所述ECU下载所述待升级应用的安装包;
若待升级应用的安装包的体积小于或者等于体积阈值,则根据所述待升级应用名称生成目标下载请求,并将所述目标下载请求发送至服务器,接收所述
服务器发送的所述待升级应用的安装包。
可选的,所述升级模块230是设置为:
若所述待升级应用对应的标识信息为第一标识,则根据所述待升级应用名称生成目标通知信息,并将所述目标通知信息发送至ECU,以使所述ECU下载所述待升级应用的安装包;
若所述待升级应用对应的标识信息为第二标识,则根据所述待升级应用名称生成目标下载请求,并将所述目标下载请求发送至服务器,接收所述服务器发送的所述待升级应用的安装包。
可选的,所述升级模块230是设置为:
向ECU发送安装请求,以使所述ECU根据所述安装请求安装所述待升级应用的安装包。
可选的,所述升级模块230是设置为:
根据所述待升级应用的安装包对ECU进行刷写;
接收所述ECU上报的版本号。
上述产品可执行本申请任意实施例所提供的方法,具备执行方法相应的功能模块和效果。
本实施例的技术方案,通过获取应用列表,其中,所述应用列表包括:应用名称和应用版本号;根据所述应用名称和所述应用版本号确定待升级列表,其中,所述待升级列表包括:待升级应用名称和待升级应用对应的标识信息;根据所述待升级应用对应的标识信息和所述待升级应用名称进行升级,能够实现车辆软件快速升级,满足消费者的后续使用需求。
实施例三
图3示出了可以用来实施本申请的实施例的电子设备10的结构示意图。电子设备旨在表示多种形式的数字计算机,诸如,膝上型计算机、台式计算机、工作台、个人数字助理、服务器、刀片式服务器、大型计算机、和其它适合的计算机。电子设备还可以表示多种形式的移动装置,诸如,个人数字处理、蜂窝电话、智能电话、可穿戴设备(如头盔、眼镜、手表等)和其它类似的计算装置。本文所示的部件、它们的连接和关系、以及它们的功能仅仅作为示例,并且不意在限制本文中描述的和/或者要求的本申请的实现。
如图3所示,电子设备10包括至少一个处理器11,以及与至少一个处理器11通信连接的存储器,如ROM12、RAM13等,其中,存储器存储有可被至少
一个处理器执行的计算机程序,处理器11可以根据存储在ROM12中的计算机程序或者从存储单元18加载到RAM13中的计算机程序,来执行多种适当的动作和处理。在RAM 13中,还可存储电子设备10操作所需的多种程序和数据。处理器11、ROM 12以及RAM 13通过总线14彼此相连。I/O接口15也连接至总线14。
电子设备10中的多个部件连接至I/O接口15,包括:输入单元16,例如键盘、鼠标等;输出单元17,例如多种类型的显示器、扬声器等;存储单元18,例如磁盘、光盘等;以及通信单元19,例如网卡、调制解调器、无线通信收发机等。通信单元19允许电子设备10通过诸如因特网的计算机网络和/或多种电信网络与其他设备交换信息/数据。
处理器11可以是多种具有处理和计算能力的通用和/或专用处理组件。处理器11的一些示例包括中央处理单元(Central Processing Unit,CPU)、图形处理单元(Graphics Processing Unit,GPU)、多种专用的人工智能(Artificial Intelligence,AI)计算芯片、多种运行机器学习模型算法的处理器、数字信号处理器(Digital Signal Processor,DSP)、以及任何适当的处理器、控制器、微控制器等。处理器11执行上文所描述的多个方法和处理,例如升级方法:
获取应用列表,其中,所述应用列表包括:应用名称和应用版本号;
根据所述应用名称和所述应用版本号确定待升级列表,其中,所述待升级列表包括:待升级应用名称和待升级应用对应的标识信息;
根据所述待升级应用对应的标识信息和所述待升级应用名称进行升级。
在一些实施例中,升级方法可被实现为计算机程序,其被有形地包含于计算机可读存储介质,例如存储单元18。在一些实施例中,计算机程序的部分或者全部可以经由ROM 12和/或通信单元19而被载入和/或安装到电子设备10上。当计算机程序加载到RAM 13并由处理器11执行时,可以执行上文描述的升级方法的一个或多个步骤。备选地,在其他实施例中,处理器11可以通过其他任何适当的方式(例如,借助于固件)而被配置为执行升级方法。
本文中以上描述的系统和技术的多种实施方式可以在数字电子电路系统、集成电路系统、场可编程门阵列(Field Programmable Gate Array,FPGA)、专用集成电路(Application Specific Integrated Circuit,ASIC)、专用标准产品(Application Specific Standard Parts,ASSP)、芯片上系统的系统(System on Chip,SOC)、负载可编程逻辑设备(Complex Programmable Logic Device,CPLD)、计算机硬件、固件、软件、和/或它们的组合中实现。这些多种实施方式可以包括:实施在一个或者多个计算机程序中,该一个或者多个计算机程序可在包括
至少一个可编程处理器的可编程系统上执行和/或解释,该可编程处理器可以是专用或者通用可编程处理器,可以从存储系统、至少一个输入装置、和至少一个输出装置接收数据和指令,并且将数据和指令传输至该存储系统、该至少一个输入装置、和该至少一个输出装置。
用于实施本申请的方法的计算机程序可以采用一个或多个编程语言的任何组合来编写。这些计算机程序可以提供给通用计算机、专用计算机或其他可编程数据处理装置的处理器,使得计算机程序当由处理器执行时使流程图和/或框图中所规定的功能/操作被实施。计算机程序可以完全在机器上执行、部分地在机器上执行,作为独立软件包部分地在机器上执行且部分地在远程机器上执行或完全在远程机器或服务器上执行。
在本申请的上下文中,计算机可读存储介质可以是有形的介质,其可以包含或存储以供指令执行系统、装置或设备使用或与指令执行系统、装置或设备结合地使用的计算机程序。计算机可读存储介质可以包括电子的、磁性的、光学的、电磁的、红外的、或半导体系统、装置或设备,或者上述内容的任何合适组合。备选地,计算机可读存储介质可以是机器可读信号介质。机器可读存储介质包括基于一个或多个线的电气连接、便携式计算机盘、硬盘、RAM、ROM、可擦除可编程只读存储器(Erasable Programmable Read-Only Memory,EPROM)、快闪存储器)、光纤、便捷式紧凑盘只读存储器(Compact Disc Read-Only Memory,CD-ROM)、光学储存设备、磁储存设备、或上述内容的任何合适组合。存储介质可以是非暂态(non-transitory)存储介质。
为了提供与用户的交互,可以在电子设备上实施此处描述的系统和技术,该电子设备具有:用于向用户显示信息的显示装置(例如,阴极射线管(Cathode Ray Tube,CRT)或者液晶显示器(Liquid Crystal Display,LCD)监视器);以及键盘和指向装置(例如,鼠标或者轨迹球),用户可以通过该键盘和该指向装置来将输入提供给电子设备。其它种类的装置还可以用于提供与用户的交互;例如,提供给用户的反馈可以是任何形式的传感反馈(例如,视觉反馈、听觉反馈、或者触觉反馈);并且可以用任何形式(包括声输入、语音输入或者、触觉输入)来接收来自用户的输入。
可以将此处描述的系统和技术实施在包括后台部件的计算系统(例如,作为数据服务器)、或者包括中间件部件的计算系统(例如,应用服务器)、或者包括前端部件的计算系统(例如,具有图形用户界面或者网络浏览器的用户计算机,用户可以通过该图形用户界面或者该网络浏览器来与此处描述的系统和技术的实施方式交互)、或者包括这种后台部件、中间件部件、或者前端部件的任何组合的计算系统中。可以通过任何形式或者介质的数字数据通信(例
如,通信网络)来将系统的部件相互连接。通信网络的示例包括:局域网(Local Area Network,LAN)、广域网(Wide Area Network,WAN)、区块链网络和互联网。
计算系统可以包括客户端和服务器。客户端和服务器一般远离彼此并且通常通过通信网络进行交互。通过在相应的计算机上运行并且彼此具有客户端-服务器关系的计算机程序来产生客户端和服务器的关系。服务器可以是云服务器,又称为云计算服务器或云主机,是云计算服务体系中的一项主机产品,以解决了传统物理主机与虚拟专用服务器(Virtual Private Server,VPS)服务中,存在的管理难度大,业务扩展性弱的缺陷。
可以使用上面所示的多种形式的流程,重新排序、增加或删除步骤。例如,本申请中记载的多个步骤可以并行地执行也可以顺序地执行也可以不同的次序执行,只要能够实现本申请的技术方案所期望的结果,本文在此不进行限制。
上述实施方式,并不构成对本申请保护范围的限制。根据设计要求和其他因素,可以进行多种修改、组合、子组合和替代。
Claims (10)
- 一种升级方法,由网关执行,所述升级方法包括:获取应用列表,其中,所述应用列表包括:应用名称和应用版本号;根据所述应用名称和所述应用版本号确定待升级列表,其中,所述待升级列表包括:待升级应用名称和待升级应用对应的标识信息;根据所述待升级应用对应的标识信息和所述待升级应用名称进行升级。
- 根据权利要求1所述的方法,其中,所述根据所述待升级应用对应的标识信息和所述待升级应用名称进行升级,包括:在当前车辆的电量大于电量阈值的情况下,根据所述待升级应用对应的标识信息和所述待升级应用名称下载所述待升级应用的安装包;在接收到安装确认信息,所述当前车辆处于驻车状态,且所述当前车辆处于上电状态的情况下,根据所述待升级应用对应的标识信息和所述待升级应用名称安装所述待升级应用的安装包。
- 根据权利要求1所述的方法,其中,所述根据所述待升级应用对应的标识信息和所述待升级应用名称进行升级,包括:在当前车辆的电量大于电量阈值的情况下,根据所述待升级应用对应的标识信息和所述待升级应用名称下载所述待升级应用的安装包;在处于预设安装时间,所述当前车辆处于驻车状态,且所述当前车辆处于下电状态的情况下,在控制所述当前车辆从所述下电状态切换至上电状态之后,根据所述待升级应用对应的标识信息和所述待升级应用名称安装所述待升级应用的安装包。
- 根据权利要求2或3所述的方法,其中,所述根据所述待升级应用对应的标识信息和所述待升级应用名称下载所述待升级应用的安装包,包括:根据所述待升级应用对应的标识信息确定所述待升级应用的安装包的体积;在所述待升级应用的安装包的体积大于体积阈值的情况下,根据所述待升级应用名称生成目标通知信息,并将所述目标通知信息发送至电子控制单元ECU,以使所述ECU下载所述待升级应用的安装包;在所述待升级应用的安装包的体积小于或者等于所述体积阈值的情况下,根据所述待升级应用名称生成目标下载请求,将所述目标下载请求发送至服务器,并接收所述服务器发送的所述待升级应用的安装包。
- 根据权利要求2或3所述的方法,其中,所述根据所述待升级应用对应 的标识信息和所述待升级应用名称下载所述待升级应用的安装包,包括:在所述待升级应用对应的标识信息为第一标识的情况下,根据所述待升级应用名称生成目标通知信息,并将所述目标通知信息发送至ECU,以使所述ECU下载所述待升级应用的安装包;在所述待升级应用对应的标识信息为第二标识的情况下,根据所述待升级应用名称生成目标下载请求,将所述目标下载请求发送至服务器,并接收所述服务器发送的所述待升级应用的安装包。
- 根据权利要求2或3所述的方法,其中,所述根据所述待升级应用对应的标识信息和所述待升级应用名称安装所述待升级应用的安装包,包括:向ECU发送安装请求,以使所述ECU根据所述安装请求安装所述待升级应用的安装包。
- 根据权利要求2或3所述的方法,其中,所述根据所述待升级应用对应的标识信息和所述待升级应用名称安装所述待升级应用的安装包,包括:根据所述待升级应用的安装包对ECU进行刷写;接收所述ECU上报的版本号。
- 一种升级装置,包括:应用列表获取模块,设置为获取应用列表,其中,所述应用列表包括:应用名称和应用版本号;待升级列表确定模块,设置为根据所述应用名称和所述应用版本号确定待升级列表,其中,所述待升级列表包括:待升级应用名称和待升级应用对应的标识信息;升级模块,设置为根据所述待升级应用对应的标识信息和所述待升级应用名称进行升级。
- 一种电子设备,包括:至少一个处理器;以及与所述至少一个处理器通信连接的存储器;其中,所述存储器存储有可被所述至少一个处理器执行的计算机程序,所述计算机程序被所述至少一个处理器执行,以使所述至少一个处理器能够执行权利要求1-7中任一项所述的升级方法。
- 一种计算机可读存储介质,其中,所述计算机可读存储介质存储有计算机指令,所述计算机指令用于使处理器执行时实现权利要求1-7中任一项所述 的升级方法。
Applications Claiming Priority (2)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202210513154.5 | 2022-05-11 | ||
| CN202210513154.5A CN114880007A (zh) | 2022-05-11 | 2022-05-11 | 一种升级方法、装置、设备及存储介质 |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| WO2023217211A1 true WO2023217211A1 (zh) | 2023-11-16 |
Family
ID=82676051
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| PCT/CN2023/093414 Ceased WO2023217211A1 (zh) | 2022-05-11 | 2023-05-11 | 升级方法、装置、设备及存储介质 |
Country Status (2)
| Country | Link |
|---|---|
| CN (1) | CN114880007A (zh) |
| WO (1) | WO2023217211A1 (zh) |
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN121486190A (zh) * | 2026-01-09 | 2026-02-06 | 华为技术有限公司 | 一种多设备升级方法及设备 |
Families Citing this family (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN114880007A (zh) * | 2022-05-11 | 2022-08-09 | 中国第一汽车股份有限公司 | 一种升级方法、装置、设备及存储介质 |
Citations (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2004102893A (ja) * | 2002-09-12 | 2004-04-02 | Matsushita Electric Ind Co Ltd | リモートダウンローダ及びリモートダウンロード方法 |
| CN109240722A (zh) * | 2018-08-30 | 2019-01-18 | 百度在线网络技术(北京)有限公司 | 应用升级方法、装置、系统及存储介质 |
| CN110286922A (zh) * | 2019-05-22 | 2019-09-27 | 深圳壹账通智能科技有限公司 | 应用下载更新方法、装置、计算机设备以及存储介质 |
| CN114398060A (zh) * | 2022-01-12 | 2022-04-26 | 中国第一汽车股份有限公司 | 车载控制器软件升级方法、装置、电子设备及存储介质 |
| CN114880007A (zh) * | 2022-05-11 | 2022-08-09 | 中国第一汽车股份有限公司 | 一种升级方法、装置、设备及存储介质 |
Family Cites Families (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN113050960B (zh) * | 2019-12-27 | 2024-07-16 | 惠州比亚迪电子有限公司 | Ota升级方法、装置、车载终端及存储介质 |
| CN113411285A (zh) * | 2020-03-16 | 2021-09-17 | 广州汽车集团股份有限公司 | 车辆ecu远程升级方法、t-box、网关、系统及存储介质 |
| CN111698307A (zh) * | 2020-06-04 | 2020-09-22 | 中国第一汽车股份有限公司 | 一种车辆远程升级方法、装置、设备及存储介质 |
| CN112256299B (zh) * | 2020-10-16 | 2023-02-28 | 中国第一汽车股份有限公司 | 一种升级方法、装置、设备及存储介质 |
| CN113434181B (zh) * | 2021-08-26 | 2022-01-04 | 新石器慧通(北京)科技有限公司 | 软件升级方法、装置、电子设备及存储介质 |
-
2022
- 2022-05-11 CN CN202210513154.5A patent/CN114880007A/zh active Pending
-
2023
- 2023-05-11 WO PCT/CN2023/093414 patent/WO2023217211A1/zh not_active Ceased
Patent Citations (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2004102893A (ja) * | 2002-09-12 | 2004-04-02 | Matsushita Electric Ind Co Ltd | リモートダウンローダ及びリモートダウンロード方法 |
| CN109240722A (zh) * | 2018-08-30 | 2019-01-18 | 百度在线网络技术(北京)有限公司 | 应用升级方法、装置、系统及存储介质 |
| CN110286922A (zh) * | 2019-05-22 | 2019-09-27 | 深圳壹账通智能科技有限公司 | 应用下载更新方法、装置、计算机设备以及存储介质 |
| CN114398060A (zh) * | 2022-01-12 | 2022-04-26 | 中国第一汽车股份有限公司 | 车载控制器软件升级方法、装置、电子设备及存储介质 |
| CN114880007A (zh) * | 2022-05-11 | 2022-08-09 | 中国第一汽车股份有限公司 | 一种升级方法、装置、设备及存储介质 |
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN121486190A (zh) * | 2026-01-09 | 2026-02-06 | 华为技术有限公司 | 一种多设备升级方法及设备 |
Also Published As
| Publication number | Publication date |
|---|---|
| CN114880007A (zh) | 2022-08-09 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| WO2023217211A1 (zh) | 升级方法、装置、设备及存储介质 | |
| US11197094B2 (en) | Noise reduction method and apparatus based on in-vehicle sound zones, and medium | |
| EP3891731A1 (en) | Directing a vehicle client device to use on-device functionality | |
| CN113391830A (zh) | 一种汽车ecu远程刷新方法,汽车及可读存储介质 | |
| WO2024051340A1 (zh) | 整车全局配置方法、装置、设备及介质 | |
| CN111917842B (zh) | 一种汽车仪表的ota升级方法 | |
| WO2023241444A1 (zh) | 一种程序更新方法、装置、设备及存储介质 | |
| CN115904447A (zh) | 一种版本更新系统、方法、电子设备及存储介质 | |
| CN118200962A (zh) | 一种远程升级自动测试系统及方法 | |
| CN113721955A (zh) | 一种车辆升级方法、装置、设备及存储介质 | |
| CN104572137B (zh) | 一种网管客户端启动加速的实现方法及装置 | |
| JP7823983B2 (ja) | アップグレード方法、装置、機器および記憶媒体 | |
| WO2023237033A1 (zh) | 升级安装包发布方法、装置、设备及存储介质 | |
| WO2024022277A1 (zh) | 地图更新数据下载方法、装置、设备及可读介质 | |
| CN210534765U (zh) | 一种基于车载系统的数字信号处理芯片升级装置及车辆 | |
| CN119718370A (zh) | 车辆ota升级方法、装置、设备及存储介质 | |
| CN112667255A (zh) | 更新方法、装置、电子设备及存储介质 | |
| US20240227607A9 (en) | Battery charging system with enhanced time-based charging | |
| US20240136842A1 (en) | Battery charging system with enhanced time-based charging and coupling detection | |
| CN106484442A (zh) | 服务器系统及更新开机映像档的方法 | |
| CN116931982A (zh) | 配置方法、装置以及车辆 | |
| CN115509577A (zh) | Ota服务交易升级方法、装置、电子设备及存储介质 | |
| CN113821248A (zh) | 车机端软件的服务方法、车机端软件及其相关设备 | |
| CN113562108A (zh) | 电动自行车的骑行配置方法及电动自行车 | |
| CN112241275A (zh) | 一种文件升级方法、装置、车机及车辆 |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| 121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 23802980 Country of ref document: EP Kind code of ref document: A1 |
|
| NENP | Non-entry into the national phase |
Ref country code: DE |
|
| 122 | Ep: pct application non-entry in european phase |
Ref document number: 23802980 Country of ref document: EP Kind code of ref document: A1 |