CN116506840A - Vehicle OTA upgrading method, system, electronic equipment and storage medium - Google Patents

Vehicle OTA upgrading method, system, electronic equipment and storage medium Download PDF

Info

Publication number
CN116506840A
CN116506840A CN202310466134.1A CN202310466134A CN116506840A CN 116506840 A CN116506840 A CN 116506840A CN 202310466134 A CN202310466134 A CN 202310466134A CN 116506840 A CN116506840 A CN 116506840A
Authority
CN
China
Prior art keywords
target controller
ota
upgrade
target
controller
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.)
Pending
Application number
CN202310466134.1A
Other languages
Chinese (zh)
Inventor
刘媛
张斌
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Deep Blue Automotive Technology Co ltd
Original Assignee
Deep Blue Automotive Technology Co ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Deep Blue Automotive Technology Co ltd filed Critical Deep Blue Automotive Technology Co ltd
Priority to CN202310466134.1A priority Critical patent/CN116506840A/en
Publication of CN116506840A publication Critical patent/CN116506840A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W8/00Network data management
    • H04W8/22Processing or transfer of terminal data, e.g. status or physical capabilities
    • H04W8/24Transfer of terminal data
    • H04W8/245Transfer of terminal data from a network towards a terminal
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/65Updates
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W12/00Security arrangements; Authentication; Protecting privacy or anonymity
    • H04W12/03Protecting confidentiality, e.g. by encryption
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W12/00Security arrangements; Authentication; Protecting privacy or anonymity
    • H04W12/06Authentication
    • H04W12/065Continuous authentication
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/30Services specially adapted for particular environments, situations or purposes
    • H04W4/40Services specially adapted for particular environments, situations or purposes for vehicles, e.g. vehicle-to-pedestrians [V2P]
    • H04W4/44Services specially adapted for particular environments, situations or purposes for vehicles, e.g. vehicle-to-pedestrians [V2P] for communication between vehicles and infrastructures, e.g. vehicle-to-cloud [V2C] or vehicle-to-home [V2H]
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer Security & Cryptography (AREA)
  • Software Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Databases & Information Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The invention provides a vehicle OTA upgrading method, a system, electronic equipment and a storage medium, wherein the vehicle OTA upgrading method comprises the steps that a main node receives an OTA upgrading instruction, target identification information of a target controller is obtained based on the OTA upgrading instruction, the main node is a wireless access node of a star flash wireless local area network, identity authentication is carried out according to the target identification information, an information channel between the target controller and a TSP server is established, data to be upgraded of the TSP server is sent to the target controller in a segmented mode through the information channel, so that the target controller reorganizes the data to be upgraded, an upgrading packet of the target controller is obtained, and the target controller is upgraded; the special network and network isolation can be realized, the transmission efficiency of the upgrade package can be improved, and the vehicle OTA upgrade efficiency is further improved.

Description

Vehicle OTA upgrading method, system, electronic equipment and storage medium
Technical Field
The application relates to the technical field of vehicles, in particular to a vehicle OTA upgrading method, a system, electronic equipment and a storage medium.
Background
Currently, an Over the Air technology (OTA) server sends a software upgrade packet to an OTA main node such as a T-BOX (Telematics BOX) or a vehicle in the vehicle, and the main node is responsible for ECU (Electronic Control Unit, electronic control unit, also called controller) upgrade control. With the increase of the popularity of OTA, OTA is also spreading to the whole vehicle, from iterative updating of patching to comprehensive updating of firmware, and the updatable content and range are both expanding. From the architecture perspective, the number of ECUs in the automobile is increased up to hundreds, and the ECUs are connected to a CAN (Controller Area Network ) bus, a FlexRay (a vehicle-mounted network), a LIN (Local Interconnect Network, local area network), a MOST (Media Oriented System Transport, a multimedia transmission system), an ethernet and other heterogeneous networks in a wired connection manner, so that the communication protocols and data transmission formats are different, and one CAN bus is connected to a plurality of ECUs, so that the transmission speed is slow, and the file transmission time is long.
Chinese patent CN110764795B discloses a device, system and method for upgrading vehicle online, in which a gateway establishes an OTA communication link with a remote server through a communication module, receives a software upgrading data packet transmitted by the remote server forwarded by the communication module, and issues the software upgrading data packet to a vehicle-mounted module to be upgraded to perform OTA upgrading. Chinese patent CN112463190a discloses a method and apparatus for upgrading a vehicle, in which an upper computer obtains a list of ECUs to be upgraded, determines a communication channel corresponding to each ECU to be upgraded according to the list of ECUs to be upgraded, and upgrades each ECU to be upgraded in parallel through the communication channel.
Disclosure of Invention
In view of the above drawbacks of the prior art, the present application provides a vehicle OTA upgrade method, system, electronic device and storage medium, so as to solve the technical problems of low transmission speed and long file transmission time of the OTA upgrade package.
The application provides a vehicle OTA (over the air) upgrading method, which comprises the following steps: the method comprises the steps that a main node receives an OTA upgrading instruction, and obtains target identification information of a target controller based on the OTA upgrading instruction, wherein the main node is a wireless access node of a star flash wireless local area network; performing identity authentication according to the target identification information to establish an information channel between the target controller and the TSP server; and sending the data to be upgraded of the TSP server to the target controller in a segmented way through the information channel so that the target controller reorganizes the data to be upgraded to obtain an upgrade package of the target controller, and upgrading the target controller.
In an embodiment of the present application, before the master node receives the OTA upgrade instruction, the vehicle OTA upgrade method includes: sending an OTA upgrade notification to a terminal so that the terminal obtains a selection result of a user according to the OTA upgrade notification, wherein the selection result comprises upgrade or non-upgrade, and the terminal comprises a vehicle-mounted terminal or a user terminal; and if the selection result is upgrading, sending the OTA upgrading instruction to the main node.
In an embodiment of the present application, before the master node receives the OTA upgrade instruction, the vehicle OTA upgrade method further includes: the star flashover wireless local area network is constructed based on a star flashover technology, and the star flashover wireless local area network comprises the main node and a controller; and the master node is used as a wireless access node of the star flash wireless local area network and is used for communicating with the TSP server and the controller.
In an embodiment of the present application, performing identity authentication according to the target identification information to establish an information channel between the target controller and the TSP server, includes: the master node broadcasts an addressing request to a controller in the star flash wireless local area network based on the target identification information so as to enable the master node and the target controller to perform identity authentication once, and if the identity authentication once passes, network connection between the master node and the target controller is established; and carrying out secondary identity authentication on the target controller and the TSP server, and if the secondary identity authentication passes, establishing the information channel, wherein the secondary identity authentication comprises one-way identity authentication or two-way identity authentication.
In an embodiment of the present application, after establishing a network connection between the master node and the target controller, the vehicle OTA upgrading method includes: the master node sends a state query request to the target controller to obtain the state of the target controller; if the target controller is in a leisure state, sending a version inquiry request to the target controller to obtain the current version information of the target controller; and if the current version information is inconsistent with the version information of the upgrade package of the target controller, sending an OTA upgrade request to the TSP server so as to carry out secondary identity authentication, wherein the version information of the upgrade package is obtained based on the OTA upgrade instruction.
In an embodiment of the present application, the sending, by the information channel, the data to be upgraded of the TSP server to the target controller in segments, so that the target controller reorganizes the data to be upgraded to obtain an upgrade package of the target controller, and upgrades the target controller, including: the TSP server carries out subpackaging and encryption processing on the upgrade package to obtain the data to be upgraded; transmitting the data to be upgraded to the target controller in a segmented manner through the information channel; and the target controller decrypts and reorganizes the data to be upgraded to obtain the upgrade package, and upgrades the upgrade package.
In an embodiment of the present application, the star flash wireless lan is a star topology, and the master node is a central node of the star topology.
In an embodiment of the present application, there is also provided a vehicle OTA upgrade system, including: the TSP server is used for sending the OTA upgrading instruction and sending data to be upgraded to the target controller section by section through the information channel; the main node is used for receiving the OTA upgrading instruction, obtaining target identification information of the target controller based on the OTA upgrading instruction, and is a wireless access node of a star-flash wireless local area network; performing identity authentication according to the target identification information to establish an information channel between the target controller and the TSP server; and the controller comprises the target controller and is used for reorganizing the data to be upgraded to obtain an upgrade package of the target controller and upgrading the target controller.
In an embodiment of the present application, there is also provided an electronic device including: one or more processors; and a storage device for storing one or more programs that, when executed by the one or more processors, cause the electronic device to implement the vehicle OTA upgrade method as described above.
In an embodiment of the present application, there is also provided a computer-readable storage medium having stored thereon a computer program which, when executed by a processor of a computer, causes the computer to perform the vehicle OTA upgrade method as described above.
The invention has the beneficial effects that: the invention provides a vehicle OTA (over the air) upgrading method, a system, electronic equipment and a storage medium, wherein a main node receiving an OTA upgrading instruction is used as a wireless access node of a star flash wireless local area network, an information channel between a target controller and a TSP (traffic control protocol) server is established, and segmented transmission of an upgrading packet is completed through the information channel, so that private network special and network isolation can be realized, the transmission efficiency of the upgrading packet can be improved, and further the vehicle OTA upgrading efficiency is improved.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the application.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the application and together with the description, serve to explain the principles of the application. It is apparent that the drawings in the following description are only some embodiments of the present application, and that other drawings may be obtained from these drawings without inventive effort for a person of ordinary skill in the art. In the drawings:
FIG. 1 is a schematic diagram of an implementation environment of a vehicle OTA upgrade method according to an exemplary embodiment of the present application;
FIG. 2 is a flow chart illustrating a method of vehicle OTA upgrade according to an exemplary embodiment of the present application;
FIG. 3 is a star flash wireless local area network topology shown in an exemplary embodiment of the present application;
FIG. 4 is a simplified flow chart illustrating a vehicle OTA upgrade according to an embodiment of the present application;
FIG. 5 is a block diagram of a vehicle OTA upgrade system shown in an exemplary embodiment of the present application;
fig. 6 shows a schematic diagram of a computer system suitable for use in implementing the electronic device of the embodiments of the present application.
Detailed Description
Further advantages and effects of the present application will be readily apparent to those skilled in the art from the disclosure in the present specification, by describing embodiments of the present application with reference to the accompanying drawings and preferred examples. The present application may be embodied or carried out in other specific embodiments, and the details of the present application may be modified or changed from various points of view and applications without departing from the spirit of the present application. It should be understood that the preferred embodiments are presented by way of illustration only and not by way of limitation to the scope of the present application.
It should be noted that, the illustrations provided in the following embodiments merely illustrate the basic concepts of the application by way of illustration, and only the components related to the application are shown in the drawings and are not drawn according to the number, shape and size of the components in actual implementation, and the form, number and proportion of the components in actual implementation may be arbitrarily changed, and the layout of the components may be more complex.
It should be noted that, in this application, "first", "second", and the like are merely distinguishing between similar objects, and are not limited to the order or precedence of similar objects. The description of variations such as "comprising," "having," etc., means that the subject of the word is not exclusive, except for the examples shown by the word.
It should be understood that the various numbers, step numbers, etc. described in this application are for ease of description and are not intended to limit the scope of this application. The size of the reference numerals in this application does not mean the order of execution, and the order of execution of the processes should be determined by their functions and inherent logic.
In the following description, numerous details are set forth to provide a more thorough explanation of embodiments of the present application, however, it will be apparent to one skilled in the art that embodiments of the present application may be practiced without these specific details, in other embodiments, well-known structures and devices are shown in block diagram form, rather than in detail, in order to avoid obscuring the embodiments of the present application.
The OTA, that is, the over-the-air technology, is to connect with the terminal through a server, a mobile communication network, push the capability of updating data in the terminal, and push the optimized function to the vehicle. OTA was widely used in early days on consumer mobile devices such as cell phones. In recent years, with the continuous development of automobile internet technology, automobile OTA has also rapidly developed. The automobile is remotely upgraded through OTA, so that the terminal function and service of the automobile can be continuously improved, the automobile can be quickly repaired, and the problem of automobile recall is reduced. The existing vehicle-mounted OTA scheme relies on an in-vehicle wired heterogeneous network, and has the problem of low OTA upgrading speed.
To solve the above-mentioned problems, embodiments of the present application respectively propose a vehicle OTA upgrade method, a vehicle OTA upgrade system, an electronic device, a computer readable storage medium and a computer program product, and these embodiments will be described in detail below.
Referring to fig. 1, fig. 1 is a schematic diagram illustrating an implementation environment of a vehicle OTA upgrading method according to an exemplary embodiment of the present application.
As shown in fig. 1, the implementation environment may include a TSP server 110 and a smart car 120, wherein a master node 121 and a controller 122 are configured in the smart car 120. The master node 121 may include any one of a T-BOX or a car machine, etc., the number of controllers 122 is greater than or equal to 1, and the controllers 122 include target controllers. The TSP server 110 may be implemented by a separate server or a server cluster formed by a plurality of servers, where the TSP server 110 provides an OTA upgrade service, including transmitting an upgrade packet and guiding installation and upgrade, and the TSP server 110 issues an OTA upgrade instruction to the master node 121, so that the master node 121 establishes an information channel between the TSP server and the target controller, and the OTA upgrade of the target controller is completed through the information channel.
Illustratively, the main node 121 is used as a wireless access node of the star flash wireless local area network, after receiving an OTA upgrade instruction issued by the TSP server 110, the main node 121 obtains target identification information of the target controller based on the OTA upgrade instruction, performs identity authentication according to the target identification information, determines the target controller from the controllers 122, establishes an information channel between the target controller and the TSP server 110, and sends data to be upgraded in the TSP server 110 to the target controller in a segmented manner through the information channel, so that the target controller reorganizes the data to be upgraded to obtain an upgrade packet of the target controller, and upgrades the target controller based on the upgrade packet. Therefore, the technical scheme of the embodiment of the application can realize private network special and network isolation, and can improve the transmission efficiency of the upgrade package, thereby improving the vehicle OTA upgrade efficiency.
It should be noted that, the vehicle OTA upgrading method provided in the embodiment of the present application is generally specifically executed by the TSP server 110, the master node 121, and the controller 122.
Referring to fig. 2, fig. 2 is a flowchart illustrating a method for upgrading a vehicle OTA according to an exemplary embodiment of the present application. The method may be applied to the implementation environment shown in fig. 1 and specifically performed by TSP server 110, master node 121, and controller 122 in the implementation environment. It should be understood that the method may be applied to other exemplary implementation environments and be specifically executed by devices in other implementation environments, and the implementation environments to which the method is applied are not limited by the present embodiment.
As shown in fig. 2, in an exemplary embodiment, the vehicle OTA upgrading method at least includes steps S210 to S230, which are described in detail as follows:
step S210, the main node receives the OTA upgrade instruction, obtains the target identification information of the target controller based on the OTA upgrade instruction, and the main node is a wireless access node of the star flash wireless local area network.
In one embodiment of the present application, the T-BOX is used as a master node for OTA upgrade and an AP node (Access Point) of a star flash wireless local area network. The TSP server issues an OTA upgrade instruction to the T-BOX through the 5G (5 th Generation Mobile Communication Technology, fifth generation mobile communication technology) or 4G (4 th Generation Mobile Communication Technology, fourth generation mobile communication technology) mobile cellular network, where the OTA upgrade instruction includes an ECU identifier (identification information of the target controller) and an upgrade package version number (upgrade package version information of the target controller). After receiving the OTA upgrade instruction issued by the TSP server, the main node analyzes the OTA upgrade instruction once to obtain the target identification information of the target controller.
It should be noted that, the star flash wireless lan is a wireless lan created based on the star flash technology. The star flash technology is a new generation wireless short-distance communication technology and mainly comprises two parts: star flash transmitters and star flash receivers, the principle of the star flash technology is to communicate by transmitting and receiving electronic signals. Compared with the traditional wireless communication technologies such as Bluetooth and WIFI, the star flash technology has the characteristics of low time delay, high reliability, high synchronism, high concurrency and the like, can support synchronous access of 256 users at most, and meets the increasing trend of controllers in vehicles.
In one embodiment of the present application, before the master node receives the OTA upgrade instruction, the vehicle OTA upgrade method includes: an OTA upgrade notification is sent to the terminal, so that the terminal obtains a selection result of a user according to the OTA upgrade notification, wherein the selection result comprises upgrade or non-upgrade, and the terminal comprises a vehicle-mounted terminal or a user terminal; if the selection result is upgrading, sending an OTA upgrading instruction to the main node.
In a specific embodiment of the present application, before the TSP server issues the OTA upgrade instruction, it first interacts with the vehicle cloud platform, and issues an OTA upgrade notification to the terminal through the vehicle cloud platform, after the user obtains the OTA upgrade notification through the terminal, it can autonomously select whether to perform the OTA upgrade, if the user selects to perform the upgrade, the corresponding selection result is upgrade, if the user selects not to perform the upgrade, the corresponding selection result is not upgrade, and the terminal feeds back the selection result of the user to the vehicle cloud platform. And the cloud platform returns different messages to the TSP server according to different selection results, returns a continuous process message to the TSP server if the selection results are upgrading, so that the TSP server issues an OTA upgrading instruction, and returns a process stopping message to the TSP server if the selection results are not upgrading, so that the TSP server stops the subsequent operation process. The terminal may be a vehicle-mounted terminal or a user terminal such as a user's cell phone number, an application on a mobile device, etc.
In one embodiment of the present application, before the master node receives the OTA upgrade instruction, the vehicle OTA upgrade method further includes: a star-flash wireless local area network is constructed based on a star-flash technology, wherein the star-flash wireless local area network comprises a main node and a controller; the master node is used as a wireless access node of the star flash wireless local area network and is used for communicating with the TSP server and the controller.
In this embodiment, before the host node receives the OTA upgrade instruction, a star flash wireless local area network in the vehicle is built based on the star flash technology, and is used as an OTA upgrade private network, where the star flash wireless local area network includes one or more host nodes and one or more controllers, and the host node is used as an AP node of the star flash wireless local area network and is responsible for communication with the TSP server and the ECU, identity authentication connection of the ECU, routing forwarding of an OTA message, access of the ECU node to the 5G cellular network, establishment of a network constant connection (information channel) between the TSP server and the controller, and the like. Because the main node and the target controller of the OTA upgrade are both in the star flash wireless local area network, the transmission data formats are the same, and the OTA upgrade does not occupy the bandwidth of the wired network in the vehicle, so that the transmission speed of the upgrade package can be effectively improved, and the transmission time is shortened.
In one embodiment of the present application, the star flash wireless lan is a star topology, and the master node is a central node of the star topology.
In this implementation, a star-type topology may be used to create a star-flash wlan, where the master node is one and serves as the central node of the star-type topology. For example, the T-BOX may be used as a master node for OTA upgrade, and also as an AP node and a central node of a star topology. Referring to fig. 3, fig. 3 is a star flash wireless lan topology shown in an exemplary embodiment of the present application. As shown in fig. 3, the star flash wireless local area network comprises a T-BOX and a plurality of ECUs, wherein the T-BOX is used as a central node and an AP node of the star flash wireless local area network, and the T-BOX and the ECUs are connected through a star flash technology to form the star flash wireless local area network with a star topology. And taking the T-BOX as a main node of OTA upgrading so that the star flash wireless local area network is taken as an OTA upgrading private network.
Step S220, performing identity authentication according to the target identification information to establish an information channel between the target controller and the TSP server.
In one embodiment of the present application, a master node performs identity authentication according to target identification information and a controller in a star flash wireless local area network, determines whether the identification information of each controller is the same as the target identification information, if the identification information of a controller is the same as the target identification information, it indicates that the identity authentication is passed, the controller that passes the identity authentication is taken as a target controller, and a normal connection network channel (information channel) between the target controller and a TSP server is established by using a wireless network management technology for subsequently transmitting an upgrade package of the target controller. The number of the target controllers can be one or more, different information channels are established between the TSP server and different target controllers, upgrade packages of different target controllers can be transmitted in parallel, and the time for upgrading the whole car OTA is further shortened.
In one embodiment of the present application, performing identity authentication according to target identification information to establish an information channel between a target controller and a TSP server includes: the master node broadcasts an addressing request to a controller in the star-flash wireless local area network based on the target identification information so that the master node and the target controller perform identity authentication once, and if the identity authentication once passes, network connection between the master node and the target controller is established; and carrying out secondary identity authentication on the target controller and the TSP server, and if the secondary identity authentication passes, establishing an information channel, wherein the secondary identity authentication comprises one-way identity authentication or two-way identity authentication.
In this embodiment, the T-BOX generates a connection request message (addressing request) according to the target identification information, and broadcasts the connection request message to the controllers in the star-flash wireless lan through the star-flash technology, so as to find the target controller. Each controller monitors the broadcasted connection request message, identifies the target identification information in the connection request message, performs one-time identity authentication, if the identification information of the controller is the same as the target identification information, the controller sends back a connection approval message to the T-BOX, which indicates that one-time identity authentication passes, and the controller is the target controller correspondingly, and the T-BOX establishes network connection with the target controller through the star flash technology. After the T-BOX establishes network connection with the target controller, the T-BOX returns an OTA upgrading agreement message to the TSP server so as to carry out secondary identity authentication between the target controller and the TSP server, if the secondary identity authentication passes, an information channel is established, and if the secondary identity authentication does not pass, no subsequent operation is carried out. The secondary identity authentication includes one-way identity authentication or two-way identity authentication, i.e., the target controller may verify whether the identification information of the TSP server is correct, or the TSP server may verify whether the identification information of the target controller is correct, or the target controller and the TSP server mutually verify whether the identification information of the other party is correct. The bidirectional identity authentication ensures the security of OTA upgrading, prevents the ECU from being tampered or impersonated maliciously, and further effectively ensures the security of the vehicle-mounted information system.
In one embodiment of the present application, after establishing a network connection between a master node and a target controller, a vehicle OTA upgrade method includes: the master node sends a state query request to the target controller to obtain the state of the target controller; if the target controller is in a leisure state, a version inquiry request is sent to the target controller to obtain the current version information of the target controller; if the current version information is inconsistent with the version information of the upgrade package of the target controller, sending an OTA upgrade request to the TSP server for secondary identity authentication, wherein the version information of the upgrade package is obtained based on the OTA upgrade instruction.
In this embodiment, after establishing a network connection between the T-BOX and the target controller, the T-BOX initiates a query message (a state query request) to the target controller to query the current state of the target controller, if the target controller is in a working state, the subsequent operation is stopped, and if the target controller is in a leisure state, the T-BOX initiates a secondary query message (a version query request) to the target controller to query the current software version number (current version information) of the target controller, and simultaneously performs secondary analysis on the OTA instruction to obtain the software version number (upgrade package version information of the target controller) to be upgraded. And the T-BOX compares the current version information with the version information of the upgrade package, if the current version information is consistent with the version information of the upgrade package, the subsequent operation is stopped, and if the current version information is inconsistent with the version information of the upgrade package, an OTA upgrade request (OTA upgrade approval message) is sent to the TSP server so as to carry out secondary identity authentication.
In another embodiment of the present application, when querying the state and the current software version number of the target controller, the T-BOX may also initiate a query message only once to the target controller, so that the target controller returns the current state and the current software version number to the T-BOX together.
Step S230, the data to be upgraded of the TSP server is sent to the target controller in a segmented mode through the information channel, so that the target controller reorganizes the data to be upgraded, an upgrade package of the target controller is obtained, and the target controller is upgraded.
In one embodiment of the present application, an OTA main control program on a TSP server pre-packetizes an upgrade packet of a target controller to obtain a plurality of data to be upgraded, and the plurality of data to be upgraded are sent to the target controller in a message form in a segmented manner through an information channel. After the target controller receives all the segmented messages (i.e. the data to be upgraded), the segmented messages are recombined to obtain an upgrade package of the target controller. And the target controller performs OTA software package installation and upgrading under the guidance of an OTA main control program.
In one embodiment of the present application, step S230 includes: the TSP server carries out subpackaging and encryption processing on the upgrade package to obtain data to be upgraded; the data to be upgraded are sent to the target controller in a segmented mode through an information channel; the target controller decrypts and reorganizes the data to be upgraded to obtain an upgrade package, and upgrades the upgrade package.
In this embodiment, homomorphic encryption chips and algorithms are embedded in the TSP server and each controller in advance, an OTA main control program of the TSP server encrypts an OTA upgrade package (upgrade package of a target controller) by using homomorphic encryption technology, information security is guaranteed, the OTA upgrade package is subjected to subpackaging processing to obtain a plurality of data to be upgraded, and a 5G cellular network and a star flash technology local area network are utilized to directly send messages of the data to be upgraded to the target controller in a segmented manner through an established information channel, so that transmission efficiency and quality are improved. And the target controller receives the segmented messages, decrypts and stores the segmented messages, and reorganizes the segmented messages after all the segmented messages arrive to obtain an upgrade package. And the target controller performs OTA software package installation and upgrading under the guidance of an OTA main control program.
In one embodiment of the present application, after the OTA upgrade is finished, the target controller returns an OTA upgrade success message to the TSP server, and the TSP server sends a connection interrupt message to the T-BOX, interrupts a normal connection network channel between the TSP server and the controller, and releases resources in real time, thereby avoiding wasting bandwidth resources.
According to the technical scheme, a star flash technology and a star topology structure are adopted to construct a star flash wireless local area network in the vehicle, a T-BOX is used as an OTA main node and an AP node of the star flash wireless local area network, communication between the OTA main node and each controller is realized by using the star flash technology, and meanwhile, the main node is connected to a 5G/4G cellular communication network, so that the special network and the network isolation effect are achieved. When the TSP server issues an OTA upgrading instruction, the master node performs controller addressing and bidirectional identity authentication according to an ECU identity identifier (target identification information of a target controller) in the OTA upgrading instruction, and network transparent transmission is realized between the master node and an upgrading ECU (target controller), so that the TSP server performs OTA control on the whole vehicle ECU. Meanwhile, homomorphic encryption chips and algorithms are embedded in the TSP server and the ECU controller, so that homomorphic encryption of instructions and OTA upgrade packages between the TSP server and the ECU is realized, and information security requirements are met.
Referring to fig. 4, fig. 4 is a schematic flow chart illustrating a vehicle OTA upgrade according to one embodiment of the present application. As shown in fig. 4, the vehicle OTA upgrade includes a TSP server, a T-BOX and each ECU, firstly, a star flash wireless local area network in the vehicle is built based on a star flash technology and a star topology structure, and is used as an OTA upgrade private network, the T-BOX is used as an AP node of the OTA upgrade private network, responsible for identity authentication connection of the ECU, routing forwarding of OTA messages, accessing the ECU node to a 5G cellular network, and establishing network constant connection between the TSP server and the controller. The TSP server is responsible for operations such as whole car OTA remote control, interaction with a user mobile phone, OTA upgrading instruction issuing, OTA software package issuing, message segmentation encryption and the like. The ECU is responsible for connecting the T-BOX, decrypting and recombining the segmented messages and the like through a star flash technology. The brief flow of the vehicle OTA upgrade is as follows:
1) Before the TSP server issues an OTA upgrading instruction, the TSP server firstly interacts with the vehicle cloud platform, and issues an OTA upgrading notification to a user real-name authentication mobile phone number through the vehicle cloud platform, and the user autonomously selects whether to upgrade or not;
2) The vehicle cloud platform returns user selection information (selection result) to the TSP server, if the user selects to upgrade, a continuous process message is returned to the TSP server, and subsequent operation is carried out; if the user selects not to upgrade, returning a process stopping message to the TSP server to stop the subsequent operation process;
3) The TSP server transmits an OTA upgrading instruction to the T-BOX through the 5G/4G mobile cellular network, wherein the OTA upgrading instruction comprises an ECU identifier (used for identifying an ECU needing to be upgraded, namely a target controller, for establishing connection in a subsequent upgrading mode) and an upgrading packet version number;
4) The T-BOX analyzes the OTA upgrading instruction issued by the TSP server and identifies the ECU identifier;
5) The T-BOX broadcasts through a star flash technology according to the ECU identifier, sends a connection request message, and searches for a target controller;
6) Each controller monitors the broadcast message, and the target controller sends back a message of agreeing to connect to the T-BOX;
7) The T-BOX establishes network connection with a target controller based on a star flash technology;
8) The T-BOX initiates an inquiry message to the target controller, and inquires the current state of the target controller and the current software version number of the target controller;
9) The target controller feeds back the current software version number and the current state to the T-BOX;
10 T-BOX) identifies the current state of the target controller, if the target controller is in the working state, the subsequent OTA upgrading operation is not performed, and if the target controller is in the idle state, the subsequent OTA upgrading operation is performed;
11 The T-BOX analyzes the version number of the software to be upgraded in the issued OTA upgrading instruction and compares the version number with the current version number of the software in the return information of the target controller;
12 If the current software version number is consistent with the software version number to be upgraded, stopping subsequent operation, and if the software version is inconsistent, performing subsequent operation;
13 The T-BOX returns an OTA upgrade agreement message to the TSP server, which indicates that the target controller can carry out OTA upgrade;
14 The TSP server transmits an identity authentication request message to the target ECU through T-BOX, performs bidirectional identity authentication with the target ECU, and performs subsequent operation if the bidirectional identity authentication passes;
15 The TSP server sends a bidirectional identity authentication passing message to the T-BOX;
16 The T-BOX establishes a normally connected network channel between the TSP server and the target controller through a wireless network management technology when an OTA software package (upgrade package of the target controller) is transmitted subsequently;
17 The TSP server encrypts the OTA upgrade package by using a homomorphic encryption technology to obtain an OTA encryption software package, so that the information security is ensured;
18 OTA master control program on TSP server, through 5G cellular network, star flash technical LAN, send OTA encryption software package to the goal controller directly;
19 The TSP server performs segmented transmission on the OTA encryption software package, so that the transmission quality is ensured;
20 The target controller receives the segmented messages of the OTA encryption software package, decrypts and stores the segmented messages, and reorganizes the segmented messages after all the segmented messages arrive to obtain the OTA software package;
21 The target controller performs OTA software package installation and upgrading under the guidance of a TSP server main control program;
22 After OTA upgrading is finished, the target controller returns an OTA upgrading success message to the TSP server;
23 The TSP server sends a connection interrupt message to the T-BOX, interrupting the constant connection network channel between the TSP server and the target controller.
The technical scheme of the embodiment establishes a star flash wireless local area network based on a star flash technology and a star topology structure, and is used as an OTA upgrading private network, so that the ECU and the T-BOX are in the same vehicle local area network, the influence of a heterogeneous network on the speed of the whole vehicle OTA can be reduced, and the high concurrency whole vehicle OTA is realized.
Referring to fig. 5, fig. 5 is a block diagram illustrating a vehicle OTA upgrade system according to an exemplary embodiment of the present application. The system may be applied to the implementation environment shown in fig. 1, and the system may also be applied to other exemplary implementation environments, and the embodiment is not limited to the implementation environment to which the apparatus is applied.
As shown in fig. 5, the exemplary vehicle OTA upgrade system includes:
the TSP server 510 is configured to send an OTA upgrade instruction, and send data to be upgraded to the target controller segment by segment through the information channel; the main node 520 is configured to receive an OTA upgrade instruction, obtain target identification information of a target controller based on the OTA upgrade instruction, where the main node is a wireless access node of the star flash wireless local area network; performing identity authentication according to the target identification information to establish an information channel between the target controller and the TSP server 510; the controller 530 includes a target controller, and is configured to reorganize data to be upgraded to obtain an upgrade package of the target controller, and upgrade the target controller.
It should be noted that, the vehicle OTA upgrading system provided in the foregoing embodiment and the vehicle OTA upgrading method provided in the foregoing embodiment belong to the same concept, and specific manners in which the respective modules and units perform operations have been described in detail in the method embodiments, which are not repeated herein. In practical application, the vehicle OTA upgrading system provided in the above embodiment may distribute the functions to be completed by different functional modules according to needs, that is, the internal structure of the system is divided into different functional modules to complete all or part of the functions described above, which is not limited herein.
The embodiment of the application also provides electronic equipment, which comprises: one or more processors; and the storage device is used for storing one or more programs, and when the one or more programs are executed by the one or more processors, the electronic equipment realizes the vehicle OTA upgrading method provided in each embodiment.
Referring to fig. 6, fig. 6 shows a schematic diagram of a computer system suitable for implementing the electronic device of the embodiments of the present application. It should be noted that, the computer system 600 of the electronic device shown in fig. 6 is only an example, and should not impose any limitation on the functions and the application scope of the embodiments of the present application.
As shown in fig. 6, the computer system 600 includes a central processing unit (Central Processing Unit, CPU) 601, which can perform various appropriate actions and processes according to a program stored in a Read-Only Memory (ROM) 602 or a program loaded from a storage section 608 into a random access Memory (Random Access Memory, RAM) 603, for example, performing the method described in the above embodiment. In the RAM 603, various programs and data required for system operation are also stored. The CPU 601, ROM 602, and RAM 603 are connected to each other through a bus 604. An Input/Output (I/O) interface 605 is also connected to bus 604.
The following components are connected to the I/O interface 605: an input portion 606 including a keyboard, mouse, etc.; an output portion 607 including a Cathode Ray Tube (CRT), a liquid crystal display (Liquid Crystal Display, LCD), and a speaker, etc.; a storage section 608 including a hard disk and the like; and a communication section 609 including a network interface card such as a LAN (Local Area Network ) card, a modem, or the like. The communication section 609 performs communication processing via a network such as the internet. The drive 610 is also connected to the I/O interface 605 as needed. Removable media 611 such as a magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory, or the like is installed as needed on drive 610 so that a computer program read therefrom is installed as needed into storage section 608.
In particular, according to embodiments of the present application, the processes described above with reference to flowcharts may be implemented as computer software programs. For example, embodiments of the present application include a computer program product comprising a computer program embodied on a computer readable medium, the computer program comprising a computer program for performing the method shown in the flowchart. In such an embodiment, the computer program may be downloaded and installed from a network through the communication portion 609, and/or installed from the removable medium 611. When executed by a Central Processing Unit (CPU) 601, performs the various functions defined in the system of the present application.
It should be noted that, the computer readable medium shown in the embodiments of the present application may be a computer readable signal medium or a computer readable storage medium, or any combination of the two. The computer readable storage medium may be, for example, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination thereof. More specific examples of the computer-readable storage medium may include, but are not limited to: an electrical connection having one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-Only Memory (ROM), an erasable programmable read-Only Memory (Erasable Programmable Read Only Memory, EPROM), flash Memory, an optical fiber, a portable compact disc read-Only Memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In the present application, a computer-readable signal medium may include a data signal propagated in baseband or as part of a carrier wave, with a computer-readable computer program embodied therein. Such a propagated data signal may take any of a variety of forms, including, but not limited to, electro-magnetic, optical, or any suitable combination of the foregoing. A computer readable signal medium may also be any computer readable medium that is not a computer readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device. A computer program embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to: wireless, wired, etc., or any suitable combination of the foregoing.
The flowcharts and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to various embodiments of the present application. Where each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams or flowchart illustration, and combinations of blocks in the block diagrams or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
The units involved in the embodiments of the present application may be implemented by means of software, or may be implemented by means of hardware, and the described units may also be provided in a processor. Wherein the names of the units do not constitute a limitation of the units themselves in some cases.
Another aspect of the present application also provides a computer-readable storage medium having stored thereon a computer program which, when executed by a processor of a computer, causes the computer to perform a vehicle OTA upgrade method as described above. The computer-readable storage medium may be included in the electronic device described in the above embodiment or may exist alone without being incorporated in the electronic device.
Another aspect of the present application also provides a computer program product or computer program comprising computer instructions stored in a computer readable storage medium. The processor of the computer device reads the computer instructions from the computer-readable storage medium, and the processor executes the computer instructions so that the computer device performs the vehicle OTA upgrading method provided in the above-described respective embodiments.
The above embodiments are merely illustrative of the principles of the present application and its effectiveness and are not intended to limit the present application. Modifications and variations may be made to the above-described embodiments by those of ordinary skill in the art without departing from the spirit and scope of the present application. It is therefore contemplated that the appended claims will cover all such equivalent modifications and changes as fall within the true spirit and scope of the disclosure.

Claims (10)

1. A vehicle OTA upgrade method, wherein the vehicle OTA upgrade comprises:
the method comprises the steps that a main node receives an OTA upgrading instruction, and obtains target identification information of a target controller based on the OTA upgrading instruction, wherein the main node is a wireless access node of a star flash wireless local area network;
performing identity authentication according to the target identification information to establish an information channel between the target controller and the TSP server;
and sending the data to be upgraded of the TSP server to the target controller in a segmented way through the information channel so that the target controller reorganizes the data to be upgraded to obtain an upgrade package of the target controller, and upgrading the target controller.
2. The vehicle OTA upgrade method of claim 1 wherein before a master node receives an OTA upgrade instruction, the vehicle OTA upgrade method comprises:
sending an OTA upgrade notification to a terminal so that the terminal obtains a selection result of a user according to the OTA upgrade notification, wherein the selection result comprises upgrade or non-upgrade, and the terminal comprises a vehicle-mounted terminal or a user terminal;
and if the selection result is upgrading, sending the OTA upgrading instruction to the main node.
3. The vehicle OTA upgrade method of claim 1 wherein before the master node receives an OTA upgrade instruction, the vehicle OTA upgrade method further comprises:
the star flashover wireless local area network is constructed based on a star flashover technology, and the star flashover wireless local area network comprises the main node and a controller;
and the master node is used as a wireless access node of the star flash wireless local area network and is used for communicating with the TSP server and the controller.
4. The OTA upgrading method of claim 3 wherein performing identity authentication according to the target identification information to establish an information channel between the target controller and a TSP server comprises:
the master node broadcasts an addressing request to a controller in the star flash wireless local area network based on the target identification information so as to enable the master node and the target controller to perform identity authentication once, and if the identity authentication once passes, network connection between the master node and the target controller is established;
and carrying out secondary identity authentication on the target controller and the TSP server, and if the secondary identity authentication passes, establishing the information channel, wherein the secondary identity authentication comprises one-way identity authentication or two-way identity authentication.
5. The vehicle OTA upgrade method of claim 4 wherein after establishing a network connection between the master node and the target controller, the vehicle OTA upgrade method comprises:
the master node sends a state query request to the target controller to obtain the state of the target controller;
if the target controller is in a leisure state, sending a version inquiry request to the target controller to obtain the current version information of the target controller;
and if the current version information is inconsistent with the version information of the upgrade package of the target controller, sending an OTA upgrade request to the TSP server so as to carry out secondary identity authentication, wherein the version information of the upgrade package is obtained based on the OTA upgrade instruction.
6. The OTA upgrade method of claim 4 wherein sending the data to be upgraded of the TSP server to the target controller in segments through the information channel to enable the target controller to reorganize the data to be upgraded to obtain an upgrade package of the target controller and upgrade the target controller, comprising:
the TSP server carries out subpackaging and encryption processing on the upgrade package to obtain the data to be upgraded;
Transmitting the data to be upgraded to the target controller in a segmented manner through the information channel;
and the target controller decrypts and reorganizes the data to be upgraded to obtain the upgrade package, and upgrades the upgrade package.
7. The vehicle OTA upgrade method according to any one of claims 1 to 6 wherein the star flash wireless local area network is a star topology and the master node is a central node of the star topology.
8. A vehicle OTA upgrade system, the vehicle OTA upgrade system comprising:
the TSP server is used for sending the OTA upgrading instruction and sending data to be upgraded to the target controller section by section through the information channel;
the main node is used for receiving the OTA upgrading instruction, obtaining target identification information of the target controller based on the OTA upgrading instruction, and is a wireless access node of a star-flash wireless local area network; performing identity authentication according to the target identification information to establish an information channel between the target controller and the TSP server;
and the controller comprises the target controller and is used for reorganizing the data to be upgraded to obtain an upgrade package of the target controller and upgrading the target controller.
9. An electronic device, the electronic device comprising:
one or more processors;
storage means for storing one or more programs that, when executed by the one or more processors, cause the electronic device to implement the vehicle OTA upgrade method of any one of claims 1-7.
10. A computer-readable storage medium, having stored thereon a computer program which, when executed by a processor of a computer, causes the computer to perform the vehicle OTA upgrade method of any one of claims 1 to 7.
CN202310466134.1A 2023-04-26 2023-04-26 Vehicle OTA upgrading method, system, electronic equipment and storage medium Pending CN116506840A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202310466134.1A CN116506840A (en) 2023-04-26 2023-04-26 Vehicle OTA upgrading method, system, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202310466134.1A CN116506840A (en) 2023-04-26 2023-04-26 Vehicle OTA upgrading method, system, electronic equipment and storage medium

Publications (1)

Publication Number Publication Date
CN116506840A true CN116506840A (en) 2023-07-28

Family

ID=87324254

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202310466134.1A Pending CN116506840A (en) 2023-04-26 2023-04-26 Vehicle OTA upgrading method, system, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN116506840A (en)

Similar Documents

Publication Publication Date Title
US20230289174A1 (en) Vehicle upgrade method and apparatus
CN110061871B (en) Base station opening method and device, computer storage medium and equipment
CN109089298B (en) Bluetooth and wifi dual-protocol device network access method and device
CN111200797B (en) Internet of vehicles message notification method and device
WO2022041205A1 (en) Communication method and multi-access edge computing server
CN113094062A (en) Upgrading method and device
WO2016201913A1 (en) Data transmission method, device and system, and computer storage medium
US10931763B2 (en) Systems and methods for opaque object delivery in a communication network
WO2024008104A1 (en) Remote upgrading method and system
CN104507127A (en) System and method for solving problem of family broadband network bandwidth idleness
KR20190108371A (en) Communication method for selecting a network slice / service and a communication device performing the same
KR20160029323A (en) User Grouping Method and System using Vehicle-to-Vehicle Communication
CN111030914B (en) Data transmission method and data transmission system
CN116506840A (en) Vehicle OTA upgrading method, system, electronic equipment and storage medium
JP2023519907A (en) Secure communication methods and equipment
CN113472541A (en) Certificate switching method and device
CN115119286B (en) Method and device for accessing equipment to network
CN115421753A (en) Production line vehicle remote upgrading method, device, equipment and medium
CN114025349A (en) Network service method, device, system and storage medium
CN112004209B (en) Vehicle communication method and device based on V2X
WO2022155920A1 (en) Information transmission method and apparatus, and device and storage medium
CN113420001B (en) Data sharing method and edge computing device
CN111432378B (en) Service information management platform and method
WO2022104740A1 (en) Method and apparatus for updating non-public network subscription information
CN114390717B (en) Random access method, device and computer readable storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination