Upgrading method based on OTA technology, communication device and communication system
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-05
- Publication Date
- 2026-03-10
AI Technical Summary
Existing OTA upgrade methods are not flexible enough and cannot meet the diverse needs of users, resulting in a decline in user experience.
By specifying the optional upgrade items in the software package through configuration files, users can selectively upgrade, combining mandatory and optional upgrade items to achieve flexible OTA upgrades.
To meet users' differentiated upgrade needs, improve user experience, and reduce device costs and version management complexity.
Smart Images

Figure CN121646941A_ABST
Abstract
Description
An OTA technology-based upgrading method, communication apparatus and communication system TECHNICAL FIELD
[0001] The present application relates to the technical field of wireless communication, and in particular to an OTA technology-based upgrading method, communication apparatus and communication system. BACKGROUND
[0002] With the development of science and technology, various intelligent devices are gradually entering people's daily life, and people's requirements for the intelligence and safety of intelligent devices are also increasing. Generally, various software (such as applications) is deployed in intelligent devices. Taking a vehicle as an example, the vehicle usually has intelligent cockpit, sensing system, automatic driving system and other hardware, and also has vehicle operating system, navigation application, video and audio playing application and the like. These software makes the functions of intelligent devices more abundant, but also more likely to have vulnerabilities or functions that cannot meet the needs, and thus the original version needs to be upgraded to a more advanced version. For example, the software in the intelligent device needs to be upgraded to update the software version.
[0003] At present, since the upgrading based on over the air (OTA) technology is fast and has less impact on data, it has been widely applied in the upgrading of intelligent televisions, mobile phones, tablet computers, set-top boxes, vehicles and the like. Among them, OTA is a technology for downloading data through a wireless network. Taking a vehicle as an example, the original equipment manufacturer (OEM) can upgrade the software in the vehicle through OTA technology, which is beneficial to the manufacturer to reduce recall costs, quickly respond to needs and improve user experience.
[0004] At present, in the OTA process, the intelligent device receives an OTA software package, and the user can choose to upgrade or not to upgrade, which is not flexible enough.
[0005] SUMMARY
[0006] The embodiments of the present application provide an OTA technology-based upgrading method, communication apparatus and communication system, to realize flexible OTA upgrading.
[0007] In a first aspect, the method can be applied to a device side, such as a first device, a module (such as a circuit, a chip or a chip system, etc.) in the first device, or a logical node, a logical module or software capable of realizing all or part of the functions of the first device. The method comprises: receiving a software package; performing an upgrading operation according to a configuration file and the software package; wherein the configuration file is used to indicate the effective upgrading item content in the software package, and the effective upgrading item content comprises one or more optional upgrading item contents.
[0008] Based on the above scheme, the server sends a software package to the first device, and the first device performs upgrading based on a configuration file and the software package, where the configuration file is used to indicate contents of effective upgrading items in the software package, and the contents of the effective upgrading items include one or more optional upgrading item contents. The method indicates to upgrade corresponding upgrading items in the software package through the configuration file, instead of upgrading all contents of the upgrading items in the software package each time, thereby meeting the differentiated needs of users for OTA upgrading and realizing flexible OTA upgrading.
[0009] In a possible design, the method further includes receiving the configuration file.
[0010] Based on the above scheme, the first device receives the configuration file from another device (for example, a server or a second device), and does not need to generate the configuration file, thereby reducing the overhead of the first device.
[0011] In a possible design, the method further includes generating the configuration file according to the one or more optional upgrading item contents selected by the user from the at least one optional upgrading item content.
[0012] Based on the above scheme, the configuration file is generated by the first device, and does not need to be received from another device (for example, a server or a second device), thereby achieving accurate generation of the configuration file and reducing overhead of air interface signaling.
[0013] In a possible design, the at least one optional upgrading item content includes first upgrading item content, and the first upgrading item content includes a plurality of upgrading sub-item contents, where the plurality of upgrading sub-item contents are used to indicate different upgrading results for the same upgrading content.
[0014] Based on the above scheme, the optional upgrading item content is subdivided into a plurality of upgrading sub-item contents, thereby providing more flexible and diversified upgrading options for the user, meeting the differentiated upgrading needs of the user, and thereby improving user experience.
[0015] In a possible design, the method further includes receiving an upgrading notification message, where the upgrading notification message includes at least one optional upgrading item content, and the at least one optional upgrading item content includes the one or more optional upgrading item contents; and sending an upgrading response message, where the upgrading response message includes the one or more optional upgrading item contents selected by the user.
[0016] Based on the above scheme, the user is shown the upgrading item content through the upgrading notification message, thereby facilitating the user to flexibly select the content that needs to be upgraded, and improving user experience.
[0017] In a possible design, the upgrading notification message further includes at least one historical upgrading item content, and the historical upgrading item content is historical optional upgrading item content.
[0018] In a possible design, the effective upgrade item content further includes one or more historical upgrade item contents in the at least one historical upgrade item content.
[0019] Based on the above scheme, the historical upgrade selection of the user can be modified, so as to improve the selection freedom of the user and further improve the user experience.
[0020] In a possible design, the effective upgrade item content further includes at least one mandatory upgrade item content.
[0021] In a possible design, the method further includes: sending an upgrade completion message, where the upgrade completion message is used to indicate the upgrade item content that is successfully upgraded.
[0022] Based on the above scheme, the upgrade completion message is sent to the server, so as to facilitate the server to correctly manage the first device.
[0023] In a second aspect, the method can be applied to a network side, for example, a server on the network side, a module (for example, a circuit, a chip, or a chip system, etc.) in the server, or a logic node, a logic module, or software that can implement all or part of the functions of the server. The method includes: sending a software package; and sending a configuration file, where the configuration file is used to indicate effective upgrade item content in the software package, and the effective upgrade content includes one or more optional upgrade item contents.
[0024] Based on the above scheme, the server sends the software package and the configuration file to the first device, and the first device performs the upgrade based on the configuration file and the software package, where the configuration file is used to indicate the effective upgrade item content in the software package, and the effective upgrade item content includes one or more optional upgrade item contents. The method indicates that the corresponding upgrade item in the software package is upgraded by using the configuration file, instead of upgrading all upgrade item contents in the software package each time, so that the differentiated needs of the user for the OTA upgrade are met, and flexible OTA upgrade is implemented.
[0025] In a possible design, the method further includes: sending an upgrade notification message, where the upgrade notification message includes at least one optional upgrade item content, and the at least one optional upgrade item content includes the one or more optional upgrade item contents; and receiving an upgrade response message, where the upgrade response message includes the one or more optional upgrade item contents selected by the user.
[0026] Based on the above scheme, the user is shown the upgrade item content by using the upgrade notification message, so as to facilitate the user to flexibly select the content that needs to be upgraded, and the user experience can be improved.
[0027] In a possible design, the upgrade notification message further includes at least one mandatory upgrade item content, and the effective upgrade item content further includes the at least one mandatory upgrade item content.
[0028] In a possible design, the at least one optional upgrade item content includes first upgrade item content, and the first upgrade item content includes a plurality of upgrade sub-item contents, where the plurality of upgrade sub-item contents are used to indicate different upgrade results for the same upgrade content.
[0029] Based on the above scheme, the optional upgrade item content is subdivided into a plurality of upgrade sub-item contents, more flexible and diversified upgrade options are provided for the user, the differentiated upgrade needs of the user are met, and the user experience is improved.
[0030] In a possible design, the upgrade notification message further includes at least one historical upgrade item content, where the historical upgrade item content is a historical optional upgrade item content.
[0031] In a possible design, the effective upgrade item content further includes one or more historical upgrade item contents in the at least one historical upgrade item content.
[0032] Based on the above scheme, the historical upgrade selection of the user can be modified, the degree of freedom of user selection is improved, and the user experience is further improved.
[0033] In a possible design, the method further includes: receiving an upgrade completion message, where the upgrade completion message is used to indicate the upgrade item content that is successfully upgraded.
[0034] Based on the above scheme, the upgrade completion message is sent to the server, and the server can correctly manage the first device.
[0035] In a third aspect, a communication apparatus is provided, which has the functions of the first aspect, for example, the communication apparatus includes modules, units or means corresponding to the operations of the first aspect, which are specifically implemented by software, or by hardware, or by a combination of software and hardware.
[0036] In a fourth aspect, a communication apparatus is provided, which has the functions of the second aspect, for example, the communication apparatus includes modules, units or means corresponding to the operations of the second aspect, which are specifically implemented by software, or by hardware, or by a combination of software and hardware.
[0037] In a fifth aspect, the present application provides a communication apparatus, which comprises an interface circuit and one or more processors. The one or more processors are coupled to a memory. The memory is configured to store part or all of the computer programs or instructions necessary for implementing the functions related to the first aspect. The one or more processors can execute the computer programs or instructions, which, when executed, cause the communication apparatus to implement the method in any possible design or implementation manner of the first aspect. The interface circuit is configured to implement the communication function within the communication apparatus and / or the communication function of the communication apparatus with other apparatuses or components.
[0038] The communication apparatus can be the first device, a module (e.g., a circuit, a chip, or a chip system, etc.) in the first device, or a logic node, a logic module, or software capable of implementing all or part of the functions of the first device.
[0039] In a sixth aspect, the present application provides a communication apparatus, which comprises an interface circuit and one or more processors. The one or more processors are coupled to a memory. The memory is configured to store part or all of the computer programs or instructions necessary for implementing the functions related to the second aspect. The one or more processors can execute the computer programs or instructions, which, when executed, cause the communication apparatus to implement the method in any possible design or implementation manner of the second aspect. The interface circuit is configured to implement the communication function within the communication apparatus and / or the communication function of the communication apparatus with other apparatuses or components.
[0040] The communication apparatus can be the server, a module (e.g., a circuit, a chip, or a chip system, etc.) in the server, or a logic node, a logic module, or software capable of implementing all or part of the functions of the server.
[0041] In a seventh aspect, the present application provides a computer readable storage medium, which stores computer readable instructions. When a computer reads and executes the computer readable instructions, the computer executes the method in any possible design of the first aspect to the second aspect.
[0042] In an eighth aspect, the present application provides a computer program product, which, when a computer reads and executes the computer program product, causes the computer to execute the method in any possible design of the first aspect to the second aspect.
[0043] In a ninth aspect, the present application provides a communication system, which comprises: a first device configured to execute the method in any possible design of the first aspect; and a server configured to send a software package to the first device.
[0044] In a tenth aspect, the present application provides a communication system, comprising: a server configured to perform the method in any possible design of the second aspect; and a first device configured to receive a software package and a configuration file from the server, and perform an upgrade operation according to the configuration file and the software package. BRIEF DESCRIPTION OF DRAWINGS
[0045] FIG. 1 is a possible, non-limiting system diagram;
[0046] FIG. 2 is a possible application scenario diagram provided by the present application;
[0047] FIG. 3 is a flow diagram of an OTA-based upgrade method provided by an embodiment of the present application;
[0048] FIG. 4 shows an example of display content on a display screen;
[0049] FIG. 5 shows another example of display content on a display screen;
[0050] FIG. 6 shows an example of display content on a display screen;
[0051] FIG. 7 is a possible example block diagram of a communication device involved in an embodiment of the present application;
[0052] FIG. 8 is a possible example block diagram of a communication device involved in an embodiment of the present application. DETAILED DESCRIPTION
[0053] FIG. 1 is a possible communication system architecture diagram to which the present application can be applied. The communication system includes a server and a first device. Optionally, the communication system further includes a second device.
[0054] The server and the first device, the server and the second device, and the second device and the first device can communicate through a mobile communication network (such as a 5th generation (5G) communication network or a future communication network) or a WLAN, or can communicate through a short-range communication technology. In an embodiment of the present application, the short-range communication technology can include technologies that support wireless short-range communication, which includes communication between two parties through radio waves and has a transmission distance within a short range (such as within a hundred meters), and can be referred to as short-range wireless communication, including but not limited to Bluetooth technology, Wi-Fi technology, NFC technology, Wi-Fi Aware technology, universal short-range communication technology, short-range communication technology specified in Starlink Alliance specifications, etc.
[0055] A server can be a single server or a server cluster composed of multiple servers. For example, it can be a server cluster deployed in a distributed architecture, which may include one or more of the following: OTA cloud servers, cloud computing servers, content delivery network (CDN) servers, and domain name system (DNS) servers. These servers can coordinate with each other to perform functions such as computing, data storage, and communication. For ease of description, this application collectively refers to a single server, a distributed server, and a server cluster as a server. Furthermore, a server can be a physical device, or it can be a virtual machine or container deployed in the cloud. The server can store upgrade files for the first device, such as software packages.
[0056] The first device is the device to be upgraded, such as a vehicle, smart TV, smartphone, tablet, set-top box, etc.
[0057] The second device is a host, mobile phone, laptop, or tablet computer that can be used to manage the first device.
[0058] It should be noted that the form and quantity of the server, the first device and the second device shown in Figure 1 above are for illustrative purposes only and do not constitute a limitation on this application.
[0059] Figure 2 is a schematic diagram of a possible application scenario provided by this application. In this application scenario, the server, the first device, and the second device in Figure 1 are respectively OTA cloud server 201 (or OTA cloud, OTA cloud etc.), vehicle 202, and mobile phone 203.
[0060] OTA cloud server 201 is a server that interacts with the vehicle during the OTA upgrade process. OTA cloud server 201 can establish a connection with software development equipment via an Internet Protocol (IP) network to obtain the necessary software packages for upgrades and send them to the vehicle requiring the upgrade. Furthermore, OTA cloud server 201 can also instruct the vehicle which software needs to be upgraded. For example, OTA cloud server 201 can be managed by the OEM.
[0061] The vehicle 202 includes any form of vehicle that can be upgraded with software. For example, a smart car, an electric car, a digital car, a sedan, a truck, a motorcycle, a bus, a lawnmower, an entertainment car, an amusement park vehicle, a construction device, a trolley, or a golf cart, etc. The present application is not limited thereto. For example, the vehicle 202 includes one or more components in a gateway (GW), a software and hardware integrated platform for supporting intelligent driving, i.e., a vehicle computing platform such as a mobile data center (MDC), a human-machine interaction system (HMI), a telematics control unit (TCU), a telematics box (Tbox), an electronic control unit (ECU), etc. The GW is a core component in the vehicle electronic and electrical architecture, which serves as the data interaction hub of the vehicle network and can route network data such as controller area network (CAN), local interconnect network (LIN), media oriented system transport (MOST) network, etc. in different networks. The MDC is an intelligent vehicle computing platform of the vehicle, which can be used to realize the automatic driving function of the vehicle. The HMI is an information entertainment system of the vehicle. The TCU and the Tbox are mainly used for communication with external devices of the vehicle (such as the cloud, the owner of the vehicle fleet, etc.), background systems, etc. The ECU is a vehicle-specific microcomputer controller, which includes but is not limited to a vehicle integrated unit (VIU), a cockpit domain controller (CDC), and a vehicle domain controller (VDC), etc. It should be noted that the components that need to be upgraded in the present application can include but are not limited to any one or more of the above GW, MDC, HMI, TCU, Tbox, and ECU. In addition, the vehicle 202 can also include an operating system, navigation software, map software, monitoring software, etc.
[0062] In a possible implementation, an OTA master module (or referred to as an upgrade master module) can be deployed in the GW of the vehicle 202, and an OTA slave module (or referred to as an upgrade slave module) can be deployed in other components. The OTA master module can be used to coordinate the OTA slave modules of various components to perform an upgrade task. Specifically, the OTA master module in the GW receives a software package sent by the OTA cloud server 201, distributes the software package to the OTA slave modules, and enables the OTA slave modules to instruct other components in the vehicle 202 to install and activate the software package, thereby completing the upgrade of one or more components in the vehicle 202. It can be understood that the OTA master module can also be deployed in a TCU module or a Tbox module, and the like.
[0063] In another possible implementation, the vehicle 202 includes an upgrade control module and an upgrade interface. The upgrade control module is responsible for controlling an upgrade process. The upgrade interface is used to display upgrade content and upgrade results to a user. The user can confirm or not confirm the upgrade by operating the upgrade interface. Exemplarily, the upgrade control module can include the OTA master module described above, and optionally include one or more OTA slave modules described above.
[0064] The mobile phone 203 can be used to manage the vehicle 202, for example, to control the vehicle 202 to start or stop, and to control the OTA upgrade of the vehicle 202, and the like.
[0065] It can be understood that the forms and quantities of the OTA cloud server 201, the vehicle 202, and the mobile phone 203 shown in FIG. 2 are only for example, and do not constitute a limitation on the present application.
[0066] It should be noted that the system architecture and application scenarios described above are used to more clearly illustrate the technical solutions of the present application, and do not constitute a limitation on the technical solutions provided by the present application. For example, the OTA upgrade-based method in the present application can also be applied to the upgrade scenarios of smart televisions, smart phones, tablet computers, set-top boxes, and the like.
[0067] With the development of science and technology, various smart devices are gradually entering people's daily life, and people's requirements for the smart devices in terms of intelligence and security are also increasing. Generally, various software (such as applications) and the like are deployed in smart devices. Taking a vehicle as an example, the vehicle generally has hardware such as an intelligent cockpit, a sensing system, and an automatic driving system, and also has software such as a vehicle operating system, a navigation application, and a video and audio playing application. These software make the functions of the smart devices more abundant, but also make it more likely to have vulnerabilities or functions that cannot meet the needs, and thus it is necessary to upgrade the original version to a more advanced version. For example, the software in the smart device needs to be upgraded to update the software version.
[0068] At present, due to the fast upgrade speed and less influence on data based on OTA technology, it has been widely used in the upgrade of smart TV, mobile phone, tablet computer, set top box, vehicle and the like. Among them, OTA is a technology for downloading data through wireless network. Taking vehicle as an example, OEM can upgrade the software in the vehicle through OTA technology, which is beneficial to the manufacturer to reduce recall cost, quickly respond to demand and improve user experience.
[0069] At present, in the OTA process, the smart device receives the OTA software package, and the user can choose to upgrade or not to upgrade, which is not flexible enough.
[0070] The following will take the OTA upgrade of vehicle as an example for description.
[0071] At present, the OTA upgrade process of vehicle generally includes the following steps:
[0072] Step 1, the vehicle enterprise develops new OTA version software package according to user demand and completes testing.
[0073] Step 2, the vehicle enterprise publishes and pushes the new OTA version software package.
[0074] Step 3, the user receives the upgrade notification on the vehicle end or mobile phone APP end, and informs the user of the change content of this OTA upgrade.
[0075] Step 4, the user selects confirmation, indicating the consent to upgrade.
[0076] Step 5, the vehicle downloads the new OTA version software package.
[0077] Step 6, the vehicle installs the new OTA version software package and completes the upgrade.
[0078] In the OTA upgrade process of vehicle, the vehicles of the same vehicle model receive the same OTA version software package and are informed of the same upgrade change content, and can only choose to upgrade or not to upgrade.
[0079] However, due to the different personal preferences and experiences of different users, there may be differentiated needs for upgrade content. For example, some users may feel that the low speed prompt sound volume of the vehicle is too loud, and the vehicle enterprise reduces the default low speed prompt sound volume after obtaining user feedback through a certain OTA upgrade, but other users may feel that the volume is not loud, and they are not satisfied with the low speed prompt sound reduced by the OTA upgrade, which affects the user's satisfaction. For example, some users want to directly call out the parking interface on the vehicle machine when changing the reverse gear to perform automatic parking, but other users may be used to the original operation, and after the OTA upgrade, such users may feel inconvenient due to driving habits, which may cause complaints, reduce the user's trust in the OTA upgrade of the vehicle enterprise, and affect the completion rate of the subsequent OTA upgrade of the vehicle enterprise.
[0080] The current OTA process and method are difficult to meet the differentiated needs of users. If the software is customized for each user, the development cost is too high, the version management is too complex, and it is difficult to implement. Therefore, how to meet the differentiated needs of users and ensure simple OTA version management needs to be solved.
[0081] In view of the above problems, the application provides an upgrading method based on OTA technology. The upgrading method based on OTA technology can meet the differentiated needs of users, and can ensure simple OTA version management and realize flexible OTA upgrading.
[0082] The upgrading method based on OTA technology provided by the application can be applied to the communication system shown in Figure 1. The server, the first device and the second device in the upgrading method based on OTA technology introduced below can be the server, the first device and the second device in Figure 1 respectively.
[0083] The upgrading method and device based on OTA technology will be further introduced below in combination with the drawings. It can be understood that the server, the first device and the second device are taken as an example of the execution subject of the interaction in the application, but the application does not limit the execution subject of the interaction. For example, the method executed by the server in the application can also be implemented by a module (such as a circuit, a chip or a chip system, etc.) in the server, or a logical node, a logical module or software capable of realizing all or part of the function of the server. The method executed by the first device in the application can also be implemented by a module (such as a circuit, a chip or a chip system, etc.) in the first device, or a logical node, a logical module or software capable of realizing all or part of the function of the first device. The method executed by the second device in the application can also be implemented by a module (such as a circuit, a chip or a chip system, etc.) in the second device, or a logical node, a logical module or software capable of realizing all or part of the function of the second device.
[0084] Figure 3 is a flowchart of an upgrading method based on OTA technology provided by an embodiment of the application. The method comprises the following steps:
[0085] Step 301, the server sends a software package. Correspondingly, the first device receives the software package.
[0086] The software package contains the upgrade item content of this upgrade. The upgrade item content contains both mandatory upgrade item content and optional upgrade item content. The software package can be sent in the form of software code.
[0087] Exemplarily, the mandatory upgrade item content includes one or more of the following: adding a new urban navigation auxiliary driving function, repairing a karaoke noise problem, or adding a support for navigation map red light countdown function.
[0088] Exemplarily, the optional upgrade item content includes one or more of reducing the default volume of low-speed prompt sound, automatically entering the auxiliary parking interface after changing the reverse gear, or increasing the voice broadcast of the rear seat belt reminder.
[0089] The application does not limit the specific content of the optional upgrade item content and the mandatory upgrade item content, which is only exemplified here.
[0090] In step 302, the first device performs the upgrade operation according to the configuration file and the software package.
[0091] The configuration file is used to indicate the upgrade item content that takes effect in the software package. The upgrade item content indicated by the configuration file to take effect includes one or more optional upgrade item contents. Optionally, the upgrade item content indicated by the configuration file to take effect also includes at least one mandatory upgrade item content. It should be noted that if the configuration file does not indicate whether the mandatory upgrade item content takes effect, the mandatory upgrade item content in the software package takes effect by default.
[0092] For example, the software package contains 10 upgrade item contents, including 4 mandatory upgrade item contents and 6 optional upgrade item contents. The configuration file indicates that one or more of the 6 optional upgrade item contents is the upgrade item content that takes effect. Optionally, the configuration file also indicates that the 4 mandatory upgrade item contents are the upgrade item content that takes effect. If the configuration file does not indicate whether the 4 mandatory upgrade item contents take effect, the 4 mandatory upgrade item contents take effect by default.
[0093] The first device performs the upgrade operation according to the configuration file and the software package, specifically: the first device upgrades the first device according to the mandatory upgrade item content that takes effect and the one or more optional upgrade item contents indicated by the configuration file to take effect. For example, the first device installs and activates the one or more optional upgrade item contents indicated by the configuration file to take effect in the software package, and installs and activates the at least one mandatory upgrade item content that takes effect.
[0094] Among them, which optional upgrade item contents need to be upgraded and which optional upgrade item contents do not need to be upgraded are selected by the user.
[0095] The different implementation methods of the first device obtaining the configuration file are introduced below.
[0096] Implementation method one, the first device receives the configuration file from the server.
[0097] The first device can receive the configuration file from the server before, after or simultaneously with step 301. For example, before step 301, the server sends an upgrade notification message to the first device or the second device, the upgrade notification message including at least one optional upgrade item content. Optionally, the upgrade notification message further includes at least one mandatory upgrade item content. The upgrade notification message is used to notify the upgrade item content.
[0098] The user can operate on the display screen of the first device (e.g. a vehicle, a television, etc.) or the display screen of the second device (e.g. a mobile phone used to control the vehicle, the television, etc.) to select one or more optional upgrade item contents from the at least one optional upgrade item content, and confirm or submit the selected optional upgrade item content, triggering the first device or the second device to send an upgrade response message to the server, the upgrade response message including the one or more optional upgrade item contents from the at least one optional upgrade item content, the upgrade response message being used to indicate the user-selected optional upgrade item content. Optionally, the at least one mandatory upgrade item content is also displayed on the display screen of the first device or the second device, but the user cannot operate on the mandatory upgrade item content, i.e. the mandatory upgrade item content is by default mandatory.
[0099] The server generates the above-mentioned configuration file based on the upgrade response message, and sends the configuration file to the first device before, after or simultaneously with step 301, or sends the configuration file to the second device and forwards the configuration file to the first device by the second device.
[0100] In the second implementation method, the first device receives the configuration file from the second device.
[0101] The first device can receive the configuration file from the second device before or after step 301. For example, before step 301, the server sends an upgrade notification message to the second device, the upgrade notification message including at least one optional upgrade item content. Optionally, the upgrade notification message further includes at least one mandatory upgrade item content. The upgrade notification message is used to notify the upgrade item content.
[0102] The user can operate on the display screen of the second device (e.g. a mobile phone used to control the vehicle, the television, etc.) to select one or more optional upgrade item contents from the at least one optional upgrade item content, and confirm or submit the selected optional upgrade item content, triggering the second device to generate the above-mentioned configuration file based on the user's selection, and send the configuration file to the first device before or after step 301.
[0103] In the third implementation method, the first device generates the configuration file.
[0104] The first device can generate the configuration file before step 301. For example, before step 301, the server sends an upgrade notification message to the first device, the upgrade notification message including at least one optional upgrade item content. Optionally, the upgrade notification message further includes at least one mandatory upgrade item content. The upgrade notification message is used to notify the upgrade item content.
[0105] The user can operate on the display screen of the first device (e.g. vehicle, TV, etc.), select one or more optional upgrade item contents from the at least one optional upgrade item content, and confirm or submit the selected optional upgrade item content, triggering the first device to generate the configuration file according to the one or more optional upgrade item contents selected by the user from the at least one optional upgrade item content.
[0106] For any of the above implementation method one to implementation method three, the upgrade item content indicated by the above upgrade notification message can be displayed on the display screen of the first device or the second device. FIG. 4 shows an example of the display content on the display screen. In this example, there are 2 mandatory upgrade item contents and 3 optional upgrade item contents. And the user selects the optional upgrade item content #1 and the optional upgrade item content #2, and does not select the optional upgrade item content #3.
[0107] For any of the implementation methods one to three, in a possible implementation method, the at least one optional upgrade item content includes a first upgrade item content, and the number of the first upgrade item content can be one or more. The first upgrade item content includes a plurality of upgrade sub-item contents, and the plurality of upgrade sub-item contents are used to indicate different upgrade results for the same upgrade content. The user can select one upgrade sub-item content from the plurality of upgrade sub-item contents for upgrade, or can select not to upgrade the optional upgrade item content. For example, when the first upgrade item content is a default vulgar prompt sound volume, the first upgrade item content includes upgrade sub-item content #1, upgrade sub-item content #2, and upgrade sub-item content #3. The upgrade sub-item content #1 is to upgrade the default vulgar prompt sound volume to 50%, the upgrade sub-item content #2 is to upgrade the default vulgar prompt sound volume to 60%, and the upgrade sub-item content #3 is to upgrade the default vulgar prompt sound volume to 65%. The user can select any one of the plurality of upgrade sub-item contents of the first upgrade item content, or can not select any upgrade sub-item content of the plurality of upgrade sub-item contents. FIG. 5 shows another example of the display content on the display screen. In this example, there are 2 mandatory upgrade item contents and 3 optional upgrade item contents, and for the optional upgrade item content #2 and the optional upgrade item content #3, a plurality of upgrade sub-item contents are also provided respectively. And the user selects the optional upgrade item content #1 and the upgrade sub-item content #3-1 of the optional upgrade item content #3, and does not select the optional upgrade item content #2. Based on this implementation method, the optional upgrade item content is subdivided into a plurality of upgrade sub-item contents, to provide the user with more flexible and diversified upgrade choices, to meet the differentiated upgrade needs of the user, and to improve the user experience.
[0108] For any of the implementation methods one to three, in a possible implementation method, the upgrade notification message further includes at least one historical upgrade item content, and the historical upgrade item content is a historical optional upgrade item content. Correspondingly, the interface of the first device and / or the second device can also display the selection of the user for the optional upgrade item content when the user upgrades (for example, the last time the user upgrades), the user can modify the previous selection of the optional upgrade item content, and carry the selection result of the user for the optional upgrade item content of the historical upgrade in the upgrade notification response. Correspondingly, the effective upgrade item content indicated by the configuration file further includes one or more historical upgrade item contents in the at least one historical upgrade item content, and the at least one historical upgrade item content is also carried in the software package. Based on this implementation method, the historical upgrade selection of the user can be modified, to improve the selection freedom of the user, and to improve the user experience.
[0109] In a possible implementation, after step 302, the first device and / or the second device can further send an upgrade completion message to the server, where the upgrade completion message is used to indicate the upgrade item content that is successfully upgraded.
[0110] In a possible implementation, after receiving the upgrade completion message from the first device and / or the second device, the server can further send an upgrade confirmation message to the first device and / or the second device, where the upgrade confirmation message is used to indicate that the upgrade is completed, or used to indicate the upgrade item content that is successfully upgraded.
[0111] In a possible implementation, the first device and / or the second device can further display the upgrade result on the display screen, and allow the user to check the upgrade result of this upgrade. The upgrade result includes the upgrade result of the mandatory upgrade item content and the upgrade result of the selected optional upgrade item content.
[0112] FIG. 6 shows an example of displaying the upgrade result on the display screen. The example corresponds to the example of FIG. 4, in which the user selects the optional upgrade item content #1 and the optional upgrade item content #2, and thus the upgrade result of the mandatory upgrade item content #1, the upgrade result of the mandatory upgrade item content #2, the upgrade result of the optional upgrade item content #1, and the upgrade result of the optional upgrade item content #2 are displayed on the display screen.
[0113] In a possible implementation, one or more of the software information, the user information, or the device information can be recorded on the server. The software information is used to indicate the mandatory upgrade item content and the optional upgrade item content in the software package. The user information is used to record the upgrade selection result of each user, where the upgrade selection result can include the indication information indicating no upgrade, or the indication information indicating the selected optional upgrade item content of the user. The device information records the latest software version of the device and the indication information indicating the selected optional upgrade item content of the user.
[0114] Based on the above scheme, the server sends the software package to the first device, and the first device performs the upgrade based on the configuration file and the software package, where the configuration file is used to indicate the effective upgrade item content in the software package, and the effective upgrade item content includes one or more optional upgrade item contents. This method upgrades the corresponding upgrade item in the software package based on the configuration file, instead of upgrading all the upgrade item contents in the software package each time, thus meeting the differentiated needs of the user for the OTA upgrade.
[0115] It should be noted that the software package sent by the server can be the same software package, and different devices select corresponding upgrade item contents in the software package based on corresponding configuration files. Since the same software package is sent for different devices instead of different software packages being sent for different devices, the software version management complexity can be reduced, the differentiated needs of users for OTA upgrade can be met, and flexible OTA upgrade is achieved.
[0116] FIG. 7 shows a possible exemplary block diagram of a communication apparatus involved in an embodiment of the present application. As shown in FIG. 7, the communication apparatus 700 can include modules or units for implementing the above-mentioned method embodiments. In a possible design, the communication apparatus 700 includes a processing unit 702 and a communication unit 703. Optionally, the communication apparatus 700 can further include a storage unit 701 configured to store apparatus program codes and / or data.
[0117] The communication apparatus 700 can also be the first device, a module (such as a circuit, a chip or a chip system, etc.) in the first device, or a logic node, a logic module or software capable of implementing all or part of the functions of the first device in the above-mentioned embodiments.
[0118] For example, in an embodiment, the communication unit 703 is configured to receive a software package, and the processing unit 702 is configured to perform an upgrade operation according to a configuration file and the software package. The configuration file is used to indicate effective upgrade item contents in the software package, and the effective upgrade item contents include one or more optional upgrade item contents.
[0119] In a possible design, the communication unit 703 is further configured to receive the configuration file.
[0120] In a possible design, the processing unit 702 is further configured to generate the configuration file according to one or more optional upgrade item contents selected by a user from at least one optional upgrade item content.
[0121] In a possible design, the at least one optional upgrade item content includes a first upgrade item content, and the first upgrade item content includes a plurality of upgrade sub-item contents used to indicate different upgrade results for a same upgrade content.
[0122] In a possible design, the communication unit 703 is further configured to receive an upgrade notification message, the upgrade notification message including at least one optional upgrade item content, and the at least one optional upgrade item content including the one or more optional upgrade item contents; and send an upgrade response message, the upgrade response message including the one or more optional upgrade item contents selected by the user.
[0123] In a possible design, the upgrade notification message further includes at least one historical upgrade item content, and the effective upgrade item content further includes one or more historical upgrade item contents in the at least one historical upgrade item content.
[0124] In a possible design, the upgrade notification message further includes at least one historical upgrade item content, and the effective upgrade item content further includes one or more historical upgrade item contents in the at least one historical upgrade item content.
[0125] In a possible design, the upgrade notification message further includes at least one historical upgrade item content, and the effective upgrade item content further includes one or more historical upgrade item contents in the at least one historical upgrade item content.
[0126] In a possible design, the communication unit 703 is further configured to send an upgrade completion message, where the upgrade completion message is used to indicate the upgrade successful upgrade item content.
[0127] The communication apparatus 700 can be a server, a module (for example, a circuit, a chip or a chip system, etc.) in the server, or a logic node, a logic module or software capable of implementing all or part of the functions of the server in the above-described embodiments.
[0128] For example, in an embodiment, the communication unit 703 is configured to send a software package, and send a configuration file, where the configuration file is used to indicate the effective upgrade item content in the software package, and the effective upgrade content includes one or more optional upgrade item contents.
[0129] In a possible design, the communication unit 703 is further configured to send an upgrade notification message, where the upgrade notification message includes at least one optional upgrade item content, and the at least one optional upgrade item content includes the one or more optional upgrade item contents; and receive an upgrade response message, where the upgrade response message includes one or more optional upgrade item contents selected by a user.
[0130] In a possible design, the upgrade notification message further includes at least one historical upgrade item content, and the effective upgrade item content further includes one or more historical upgrade item contents in the at least one historical upgrade item content.
[0131] In a possible design, the at least one optional upgrade item content includes a first upgrade item content, and the first upgrade item content includes a plurality of upgrade sub-item contents, where the plurality of upgrade sub-item contents are used to indicate different upgrade results for the same upgrade content.
[0132] In a possible design, the upgrade notification message further includes at least one historical upgrade item content, and the effective upgrade item content further includes one or more historical upgrade item contents in the at least one historical upgrade item content.
[0133] In a possible design, the upgrade notification message further includes at least one historical upgrade item content, and the effective upgrade item content further includes one or more historical upgrade item contents in the at least one historical upgrade item content.
[0134] In a possible design, the communication unit 703 is further configured to receive an upgrade completion message, where the upgrade completion message is used to indicate the content of the upgrade item that is successfully upgraded.
[0135] It can be understood that the division of units in the above apparatus is only a logical division of functions, one function can correspond to one functional unit, or two or more functions can be integrated into one functional unit. In actual implementation, all or part of the units can be integrated into one physical entity, or can be distributed in different physical entities. In addition, the above functional units can be implemented in the form of hardware, or in the form of software, or in the form of hardware combined with software. Whether a certain function is implemented in hardware or software depends on the specific application and design constraints of the technical solution. Professional technicians can use different methods to implement the described functions for specific applications, but such implementation should not be considered beyond the scope of the present application.
[0136] In one example, the functional units in any of the above apparatuses can be one or more integrated circuits configured to implement the above methods, such as one or more application specific integrated circuits (ASICs), or one or more central processing units (CPUs), one or more microcontroller units (MCUs), one or more digital signal processors (DSPs), or one or more field programmable gate arrays (FPGAs), or a combination of at least two of these integrated circuit forms.
[0137] In one example, the storage unit 701 can include random access memory, flash memory, read only memory, programmable read only memory, electrically erasable programmable memory, and / or registers, etc.
[0138] FIG. 8 shows a possible exemplary block diagram of a communication apparatus involved in the embodiments of the present application. The communication apparatus 800 shown in FIG. 8 includes a processor 810 and an interface circuit 820. The processor 810 and the interface circuit 820 are coupled to each other. It can be understood that the interface circuit 820 can be a transceiver or an input / output interface. Optionally, the communication apparatus 800 can further include a memory 830, used to store instructions executed by the processor 810 or to store input data required by the processor 810 to run instructions or to store data generated after the processor 810 runs instructions.
[0139] When the communication device 800 is configured to implement the above-described method embodiments, the processor 810 is configured to implement the functions of the above-described processing unit 702, and the interface circuit 820 is configured to implement the functions of the above-described communication unit 703.
[0140] It can be understood that the processor in the embodiments of the present application can be a central processing unit (CPU), and can also be other general-purpose processors, digital signal processors (DSPs), application specific integrated circuits (ASICs), field programmable gate arrays (FPGAs) or other programmable logic devices, transistor logic devices, hardware components, or any combination thereof. The general-purpose processor can be a microprocessor, or any conventional processor.
[0141] The method steps in the embodiments of the present application can be implemented by means of hardware, or by means of a processor executing software instructions. The software instructions can be composed of corresponding software modules, and the software modules can be stored in a random access memory, a flash memory, a read-only memory, a programmable read-only memory, an electrically erasable programmable read-only memory, a register, a hard disk, a mobile hard disk, a compact disc read-only memory (CD-ROM), or any other form of storage medium well known in the art. An exemplary storage medium is coupled to the processor, so that the processor can read information from, and write information to, the storage medium. Of course, the storage medium can also be an integral part of the processor. The processor and the storage medium can be located in an ASIC. In addition, the ASIC can be located in the first network element or the store-and-forward ground function network element. Of course, the processor and the storage medium can also exist as discrete components in the access network device or the terminal device.
[0142] In the above embodiments, all or part of the embodiments can be implemented by software, hardware, firmware or any combination thereof. When implemented by software, all or part of the embodiments can be implemented in the form of a computer program product. The computer program product includes one or more computer programs or instructions. The computer program refers to a set of instructions for instructing an electronic computer or other devices with message processing capability to perform each step. The computer program is usually written in a certain programming language and runs on a certain target architecture. When the computer program or instructions are loaded and executed on the computer, all or part of the processes or functions described in the embodiments of the present application are performed. The computer can be a general-purpose computer, a special-purpose computer, a computer network or other programmable devices. The computer program or instructions can be stored in a computer readable storage medium or transferred from one computer readable storage medium to another computer readable storage medium, for example, the computer program or instructions can be transferred from one website, computer, server or data center to another website, computer, server or data center through wired or wireless mode. The computer readable storage medium can be any available medium that can be accessed by a computer or a data storage device such as a server, data center and the like integrated with one or more available media. The available medium can be a magnetic medium, such as a floppy disk, a hard disk, a magnetic tape; or an optical medium, such as a digital video disc; or a semiconductor medium, such as a solid state disk. The computer readable storage medium can be a volatile or non-volatile storage medium, or can include both volatile and non-volatile storage media.
[0143] In various embodiments of the present application, the terms and / or descriptions of different embodiments are consistent and can be referred to each other if there is no special description and logical conflict. The technical features in different embodiments can be combined to form new embodiments according to their inherent logical relationship.
[0144] In the present application, "at least one" means one or more, and "multiple" means two or more. "And / or" describes the association relationship between the associated objects, which means that there can be three kinds of relationships, for example, A and / or B, which can represent the following three cases: A exists alone, A and B exist together, and B exists alone, where A and B can be singular or plural. In the literal description of the present application, the character " / ", generally represents that the front and rear associated objects have an "or" relationship; in the formula of the present application, the character " / ", represents that the front and rear associated objects have a "division" relationship.
[0145] It can be understood that various numerical numbers involved in the embodiments of the present application are only distinguished for convenience of description, and are not used to limit the scope of the embodiments of the present application. The size of the serial numbers of the above processes does not mean the order of execution, and the execution order of the processes should be determined according to their functions and inherent logic.
[0146] The terms "system" and "network" in the embodiments of the present application can be used interchangeably. "At least one" means one or more, and "multiple" means two or more. "And / or" describes the association relationship of the associated objects, which means that there can be three relationships, for example, A and / or B can represent the cases of A alone, A and B together, and B alone, where A and B can be singular or plural. The character " / " generally represents an "or" relationship between the front and rear associated objects. "At least one of the following" or similar expressions means any combination of these items, including any combination of single item or multiple items. For example, "at least one of A, B or C" includes A, B, C, AB, AC, BC or ABC, and "at least one of A, B and C" can also be understood to include A, B, C, AB, AC, BC or ABC. In addition, unless otherwise specified, the ordinal numbers "first", "second" and the like mentioned in the embodiments of the present application are used to distinguish a plurality of objects, and are not used to limit the order, time sequence, priority or importance of the plurality of objects.
[0147] Those skilled in the art should understand that the embodiments of the present application can be provided as a method, a system or a computer program product. Therefore, the present application can take the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware aspects. Moreover, the present application can take the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, optical storage, etc.) containing computer-usable program code.
[0148] The present application is described with reference to flowcharts and / or block diagrams according to the methods, devices (systems) and computer program products of the present application. It should be understood that each flow and / or block in the flowcharts and / or block diagrams, and the combination of flows and / or blocks in the flowcharts and / or block diagrams can be implemented by computer program instructions. These computer program instructions can be provided to the processor of a general-purpose computer, a special-purpose computer, an embedded processor or other programmable data processing device to produce a machine, so that the instructions executed by the processor of the computer or other programmable data processing device produce a device for implementing the functions specified in one or more flows in the flowcharts and / or one or more blocks in the block diagrams.
[0149] These computer program instructions can also be stored in a computer readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer readable memory produce an article of manufacture including instructions which implement the function specified in the flowchart or flowsheets and / or block or blocks of the block diagrams.
[0150] These computer program instructions can also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart or flowsheets and / or block or blocks of the block diagrams.
[0151] Obviously, numerous modifications and variations of the present application are possible in light of the above teachings. It is therefore to be understood that within the scope of the claims and their equivalents, the application can be practiced otherwise than as specifically described.
Claims
1. An upgrading method based on OTA technology, characterized in that, Comprising: receiving a software package; performing an upgrade operation according to a configuration file and the software package, wherein the configuration file is used to indicate effective upgrade item content in the software package, and the effective upgrade item content comprises one or more optional upgrade item contents.
2. The method of claim 1, wherein, Further comprising: receiving the configuration file.
3. The method of claim 1, wherein, Further comprising: generating the configuration file according to the one or more optional upgrade item contents selected by a user from at least one optional upgrade item content.
4. The method of claim 3, wherein, The at least one optional upgrade item content comprises a first upgrade item content, and the first upgrade item content comprises a plurality of upgrade sub-item contents used to indicate different upgrade results for the same upgrade content.
5. The method of any one of claims 1 to 4, wherein, Further comprising: receiving an upgrade notification message, wherein the upgrade notification message comprises at least one optional upgrade item content, and the at least one optional upgrade item content comprises the one or more optional upgrade item contents; sending an upgrade response message, wherein the upgrade response message comprises the one or more optional upgrade item contents selected by a user.
6. The method of claim 5, wherein, The upgrade notification message further comprises at least one historical upgrade item content, and the historical upgrade item content is a historical optional upgrade item content.
7. The method of claim 6, wherein, The effective upgrade item content further comprises one or more historical upgrade item contents in the at least one historical upgrade item content.
8. The method of any one of claims 1 to 7, wherein, The effective upgrade item content further comprises at least one mandatory upgrade item content.
9. The method of any one of claims 1 to 8, wherein, Further comprising: sending an upgrade completion message, wherein the upgrade completion message is used to indicate upgrade successful upgrade item content.
10. An upgrading method based on OTA technology, characterized in that, Comprising: sending a software package; sending a configuration file, wherein the configuration file is used to indicate effective upgrade item content in the software package, and the effective upgrade content comprises one or more optional upgrade item contents.
11. The method of claim 10, wherein, Further comprising: sending an upgrade notification message, wherein the upgrade notification message comprises at least one optional upgrade item content, and the at least one optional upgrade item content comprises the one or more optional upgrade item contents; receiving an upgrade response message, wherein the upgrade response message comprises the one or more optional upgrade item contents selected by a user.
12. The method of claim 11, wherein, The upgrade notification message further comprises at least one mandatory upgrade item content, and the effective upgrade item content further comprises the at least one mandatory upgrade item content.
13. The method of claim 11 or 12, wherein, The at least one optional upgrade item content comprises a first upgrade item content, and the first upgrade item content comprises a plurality of upgrade sub-item contents used to indicate different upgrade results for the same upgrade content.
14. The method of any one of claims 11 to 13, wherein, The upgrade notification message further comprises at least one historical upgrade item content, and the historical upgrade item content is a historical optional upgrade item content.
15. The method of claim 14, wherein, The effective upgrade item content further comprises one or more historical upgrade item contents in the at least one historical upgrade item content.
16. The method of any one of claims 10 to 15, wherein, Further comprising: receiving an upgrade completion message, wherein the upgrade completion message is used to indicate upgrade successful upgrade item content.
17. A communications device, characterized by A module for performing the method of any one of claims 1 to 9, or the method of any one of claims 10 to 16.
18. A communications device, characterized by A processor and an interface circuit, wherein the processor is used to communicate with other devices through the interface circuit to implement the method of any one of claims 1 to 9, or to implement the method of any one of claims 10 to 16.
19. A computer program product, characterised in that, The computer program product comprises instructions which, when executed, implement the method of any one of claims 1 to 9, or implement the method of any one of claims 10 to 16.
20. A computer-readable storage medium, characterized in that, The storage medium stores a computer program or instructions which, when executed, implement the method of any one of claims 1 to 9, or implement the method of any one of claims 10 to 16.
21. A communication system, characterized by Comprising: a first device for performing the method of any one of claims 1 to 9; a server for sending a software package to the first device.
22. A communication system, characterized by Comprising: a server for performing the method of any one of claims 10 to 16; a first device for receiving a software package and a configuration file from the server, and performing an upgrade operation according to the configuration file and the software package.