CN114979206B - Vehicle OTA upgrading system and method based on subscription and release mode - Google Patents
Vehicle OTA upgrading system and method based on subscription and release mode Download PDFInfo
- Publication number
- CN114979206B CN114979206B CN202210555148.6A CN202210555148A CN114979206B CN 114979206 B CN114979206 B CN 114979206B CN 202210555148 A CN202210555148 A CN 202210555148A CN 114979206 B CN114979206 B CN 114979206B
- Authority
- CN
- China
- Prior art keywords
- information
- vehicle
- control node
- coordinator
- subscription
- 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.)
- Active
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/12—Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F8/00—Arrangements for software engineering
- G06F8/60—Software deployment
- G06F8/65—Updates
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F8/00—Arrangements for software engineering
- G06F8/70—Software maintenance or management
- G06F8/71—Version control; Configuration management
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L41/00—Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
- H04L41/08—Configuration management of networks or network elements
- H04L41/0803—Configuration setting
- H04L41/0813—Configuration setting characterised by the conditions triggering a change of settings
- H04L41/082—Configuration setting characterised by the conditions triggering a change of settings the condition being updates or upgrades of network functionality
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/10—Protocols in which an application is distributed across nodes in the network
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/14—Session management
- H04L67/141—Setup of application sessions
-
- Y—GENERAL 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
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02D—CLIMATE 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/00—Reducing energy consumption in communication networks
- Y02D30/70—Reducing energy consumption in communication networks in wireless communication networks
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Software Systems (AREA)
- General Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Computer Security & Cryptography (AREA)
- Health & Medical Sciences (AREA)
- Computing Systems (AREA)
- General Health & Medical Sciences (AREA)
- Medical Informatics (AREA)
- Information Transfer Between Computers (AREA)
Abstract
The invention relates to a vehicle OTA upgrading system and method based on subscription and release modes, wherein the system comprises an OTA cloud management platform, a server and a plurality of clients; the server comprises an information coordinator, a plurality of clients are communicated with each other through the information coordinator, and all clients which are directly communicated with the information coordinator are communicated through a subscription release mode for a specified theme. Therefore, each node of the OTA system does not need to pay attention to details of the type, the link and the like of the communication object, and only needs to pay attention to the communication theme, so that the system has strong platform capability and is convenient for platform migration of different vehicle types. The subscription and release communication mode can realize the active pushing of information from the release node to the subscription node, and avoid a large number of periodically queried communication messages in the traditional C/S (Client/Server) mode, thereby reducing redundant data of communication and improving the real-time performance of the information.
Description
Technical Field
The invention belongs to the technical field of communication, and particularly relates to a vehicle OTA upgrading system and method based on a subscription and release mode.
Background
In the current industry, in the vehicle OTA system structure, the OTA process control of an upgrade Master control node (Master) and other sub-control nodes (sub-masters) or upgraded objects (objects) is mostly completed through private protocols or partial universal diagnostic protocols of various manufacturers. Communication between the upgrade master node and the nodes being flushed, whether proprietary or universal, is based on a C/S (Client/Server) model, as shown in FIG. 1.
The current system mode has the following problems:
1) The system expansibility is limited, the platform capability is poor, and the Client and Server software needs to be modified for node addition and deletion. The existing C/S architecture between OTA nodes is a communication mechanism based on a request/response mode, a control node and a controlled node cannot be decoupled, and because of various types of vehicle local communication networks, the communication between an upgrade master control node and other nodes CAN be possibly performed through Ethernet, CAN, LIN and the like, and software at two ends of the master control node and other nodes needs to be changed every time a node is added or deleted or a vehicle type platform is switched.
2) Communication redundancy and large data volume. Because the request can only be initiated by the master node, in the communication of the OTA process control, the scene that the master node frequently periodically sends query messages to other nodes is difficult to avoid, and the redundancy of the communication is greatly increased. This is extremely disadvantageous for implementing control communications over CAN, LIN, etc. vehicle-side bandwidth limited communications links.
3) The fault tolerance of the communication is insufficient. The existing C/S architecture between OTA nodes is typically based on 'request/response' mode point-to-point communication, communication fault tolerance is realized through agreement on software protocols of both parties, and in particular, offline data cannot be retrieved. Such as: when a controller is unplugged or part of the communication link is abnormal, the data sent by the master control node at the moment cannot be received by the controller naturally, and when the controller is plugged in again or the link is restored, the key data of the controller cannot be retrieved by the master control node.
4) Parallel control is not easy. At present, parallel deployment and parallel installation are key technologies for influencing the performance of the OTA of the vehicle, but based on the current system architecture, the main control node is complex in realizing parallel management logic on software, multiple links are required to be established simultaneously, and the performance cost is very high.
Disclosure of Invention
Aiming at the defects in the prior art, the technical problem to be solved by the invention is to provide a vehicle OTA upgrading system and method based on a subscription and release mode, so as to solve the problems of limited system expansibility, poor platform capability, large communication redundancy data volume, insufficient communication fault tolerance capability and difficult parallel control inherent in the OTA system in the prior art.
In order to solve the technical problems, the invention adopts the following technical scheme:
a vehicle OTA upgrading system based on a subscription and release mode comprises an OTA cloud management platform, a server and a plurality of clients; the server comprises an information coordinator, wherein a plurality of clients are communicated with each other through the information coordinator, and all clients which are directly communicated with the information coordinator are communicated through a subscription and release mode for a specified theme;
any client except the information coordinator can be a subscriber or a publisher of the information, after each client is in communication connection with the information coordinator, an independent session is created after any client in direct communication connection with the information coordinator is connected with the information coordinator, and each session comprises subscription to a plurality of topics;
when a client as a publisher publishes a message of a specified topic, the information coordinator actively pushes the message to a client as a subscriber that subscribes to the specified topic.
The technical scheme is further perfected, the information coordinator is used for decoupling subscribers and publishers of the information, publishing and distributing the information, carrying out centralized maintenance on the relationship among the topics, the subscribers and the publishers, dynamically managing the access and extraction of each client, dynamically creating the topics, carrying out session management and maintaining offline data, and providing different communication quality services in cooperation with the clients.
Further, the clients include a vehicle-end main control node and a plurality of upgrading objects, the vehicle-end main control node is directly in communication connection with the information coordinator, and the upgrading objects which are directly in communication connection with the information coordinator are communicated with the vehicle-end main control node through a subscription and release mode.
Further, the clients further comprise sub-control nodes, the sub-control nodes are directly connected with the information coordinator in a communication way, part of the upgrading objects are directly connected with the information coordinator in a communication way, and part of the upgrading objects are directly connected with the sub-control nodes in a communication way; the upgrade object directly connected with the information coordinator is communicated with the vehicle-end main control node through a subscription and release mode, and the upgrade object directly connected with the sub-control node is communicated with the sub-control node through a C/S mode.
Further, the communication quality service includes at most once, at least once, and only once;
the publisher of the information is pointed at the maximum once to transmit the information only once to the information coordinator, and the information coordinator only pushes the information once to the subscriber of the information, so that the successful transmission of the information from the publisher to the subscriber is not ensured;
the least one finger ensures that the publisher successfully transmits a message to the subscriber once;
the once only finger ensures that the subscriber receives the message only once.
The invention also relates to a vehicle OTA upgrading method based on the subscription and release mode, which is performed based on the vehicle OTA upgrading system based on the subscription and release mode and comprises the following steps:
s1: the vehicle-end main control node reads version information of each upgrading object;
s2: based on the version information obtained in the step S1, the vehicle-end main control node requests updating information from the OTA cloud management platform;
s3: the vehicle-end main control node downloads an update software package according to the update information acquired from the cloud;
s4: the vehicle-end main control node deploys the update software package to an upgrade object in direct communication connection with the information coordinator;
s5: the vehicle-end main control node controls the installation of the update software package, and an upgrade object in direct communication connection with the information coordinator executes the installation of the corresponding update software package;
and in the steps S1, S4 and S5, communication is realized between the vehicle-end main control node and each upgrading object which is directly in communication connection with the information coordinator through a subscription and release mode of a specified theme.
Further perfecting the technical scheme, in the step S1,
the vehicle-end main control node is used as a subscriber of version information, an upgrade object in direct communication connection with the information coordinator is used as a publisher of the version information, and the vehicle-end main control node enters step S2 after collecting the version information of all the upgrade objects.
Further, in the step S4,
the vehicle-end main control node transmits an update software package to an upgrade object in direct communication connection with the information coordinator, wherein in the transmission process, the vehicle-end main control node is used as a publisher of update software package data, and the upgrade object in direct communication connection with the information coordinator is used as a subscriber of update software package data; and each time the vehicle-end main control node issues a packet of data, the vehicle-end main control node is used as an upgrading object of a subscriber to receive the packet of data until the transmission of the updated software packet is completed.
Further, in the step S5,
in the process of updating the software package, an upgrade object in direct communication connection with the information coordinator subscribes to an installation instruction issued by a vehicle-end main control node, and executes the installation instruction; the vehicle-end main control node subscribes to the installation state data published by the upgrade object and observes the state of the installation state data.
Compared with the prior art, the invention has the following beneficial effects:
1. according to the vehicle OTA upgrading system based on the subscription and release mode, all nodes of a vehicle end participating in an OTA function are communicated with each other through the information coordinator. The message passing and exchanging among the OTA nodes is realized through a subscription publishing mode of message type topics. Therefore, each node of the OTA system does not need to pay attention to details of the type, the link and the like of the communication object, and only needs to pay attention to the communication theme, so that the system has strong platform capability and is convenient for platform migration of different vehicle types. The subscription and release communication mode can realize the active pushing of information from the release node to the subscription node, and avoid a large number of periodically queried communication messages in the traditional C/S (Client/Server) mode, thereby reducing redundant data of communication and improving the real-time performance of the information.
2. According to the vehicle OTA upgrading system based on the subscription and release mode, the information coordinator has the capabilities of dynamically managing the insertion and extraction of the nodes and dynamically creating the topics, so that the expandability of the system is excellent, and only the corresponding topics need to be added and deleted, so that the software codes of the nodes do not need to be modified; meanwhile, the information coordinator can maintain the offline data among the nodes, even if one node in the system is pulled out or can not receive other node data due to a temporary fault of a communication link, the offline data can still be obtained from the information coordinator when the node is inserted again or the link is restored, so that the system has good fault tolerance.
3. According to the vehicle OTA upgrading system and method based on the subscription and release mode, the subscription and release mode is applied to vehicle-end OTA upgrading, and because communication between the vehicle-end main control node and other upgrading objects is abstracted into theme-oriented communication, the vehicle-end main control node does not need to pay attention to calling and maintenance of a communication module of a specific type with an opposite-end node when being subjected to parallel deployment and upgrading installation, logic of parallel control of the vehicle-end main control node is greatly simplified, and the difficulty of parallel control is reduced.
Drawings
FIG. 1 is a diagram of a conventional C/S (Client/Server) mode-based vehicle OTA system architecture
FIG. 2 is a schematic diagram of the publishing and distribution of messages in a subscription publishing mode in accordance with the present invention;
fig. 3 is a schematic diagram of a subscription-publishing-mode-based vehicular OTA upgrade system according to embodiment 1;
fig. 4 is a schematic diagram of an architecture of a subscription-based vehicular OTA upgrade system according to embodiment 2.
Detailed Description
The following describes the embodiments of the present invention in further detail with reference to the drawings.
Referring to fig. 3-4, a vehicle OTA upgrade system based on subscription publishing (Sub/Pub) mode in an embodiment includes an OTA cloud management platform (OTA Cloud Platform), a server and a plurality of clients; the server comprises an information coordinator (Broker), wherein a plurality of clients are communicated with each other through the information coordinator, and all clients which are directly communicated with the information coordinator are communicated through a subscription release mode for a specified theme; any client except the information coordinator can be a subscriber or a publisher of the information, after each client is in communication connection with the information coordinator, an independent session is created after any client in direct communication connection with the information coordinator is connected with the information coordinator, and each session comprises subscription to a plurality of topics; when a client as a publisher publishes a message of a specified topic, the information coordinator actively pushes the message to a client as a subscriber that subscribes to the specified topic.
According to the vehicle OTA upgrading system based on the subscription and release mode, all nodes of a vehicle end participating in an OTA function communicate with each other through an information coordinator. The message passing and exchanging among the OTA nodes is realized through a subscription publishing mode of message type topics. Therefore, each node of the OTA system does not need to pay attention to details of the type, the link and the like of the communication object, and only needs to pay attention to the communication theme, so that the system has strong platform capability and is convenient for platform migration of different vehicle types. The subscription and release communication mode can realize the active pushing of information from the release node to the subscription node, and avoid a large number of periodically queried communication messages in the traditional C/S (Client/Server) mode, thereby reducing redundant data of communication and improving the real-time performance of the information.
In implementation, as shown in fig. 2, the implementation steps of the subscription publishing mode are specifically as follows:
s1: the upgrade object is connected to a Broker, which creates a session; master, subMaster, object, etc. each client node first connects to a Broker, which creates a separate session with each node and Broker after creating a session with the node, each session may contain subscriptions to multiple topics.
S2: message publishing and distributing; when a session is established between the Broker and the node and the subscription of the topic is completed, the message can be published and distributed.
In fig. 2, after the session is created between Master, object _1 and object_2 and the Broker, three topics T1/T2/T3 are created in the Broker, wherein the publisher of T1 is a Master, and the subscribers are object_1 and object_2, so when the Master publishes a message of the T1 topic, the Broker pushes the message to object_1 and object_2 simultaneously; the publisher of T2 is object_1, the subscriber is Master, when object_1 publishes the message of topic T2, the Broker pushes the message to Master; the publisher of T3 is object_2, the subscriber is Master, when object_2 publishes the message of topic T3, the Broker pushes the message to Master; in summary, it can be seen that Master and other client node communications can be one-to-many, many-to-one, one-to-one.
With continued reference to fig. 3 and fig. 4, the information coordinator is configured to decouple subscribers and publishers of the message, perform publishing and distribution of the message, perform centralized maintenance on relationships among topics, subscribers and publishers, dynamically manage access and pull out of clients, dynamically create topics, perform session management and maintain offline data, and provide different communication quality services in cooperation with the clients.
Therefore, the information coordinator has the capability of dynamically managing the insertion and extraction of the nodes and dynamically creating the topics, so that the system has excellent expansibility, and the software codes of the nodes are not required to be modified completely as only one node is added and deleted and the corresponding topic is only needed to be added and deleted; meanwhile, the information coordinator can maintain the offline data among the nodes, even if one node in the system is pulled out or can not receive other node data due to a temporary fault of a communication link, the offline data can still be obtained from the information coordinator when the node is inserted again or the link is restored, so that the system has good fault tolerance.
Wherein the communication quality service includes at most once, at least once, and only once;
the publisher of the information is pointed at the maximum once to transmit the information only once to the information coordinator, and the information coordinator only pushes the information once to the subscriber of the information, so that the successful transmission of the information from the publisher to the subscriber is not ensured;
the least one time refers to ensuring that the publisher successfully transmits a message to the subscriber, and in the process, the publisher possibly transmits a plurality of messages to the information coordinator until receiving a subscriber confirmation signal, and the subscriber possibly receives repeated messages;
the only once message is successfully transmitted to the subscriber by the publisher, and the publisher can resend the message, but ensures that the subscriber receives the message only once and does not receive repeated messages.
The invention also provides a vehicle OTA upgrading method based on the subscription and release mode, which is performed based on the vehicle OTA upgrading system based on the subscription and release mode and comprises the following steps:
s1: the vehicle-end main control node reads version information of each upgrading object;
s2: based on the version information obtained in the step S1, the vehicle-end main control node requests updating information from the OTA cloud management platform;
s3: the vehicle-end main control node downloads an update software package according to the update information acquired from the cloud;
s4: the vehicle-end main control node deploys the update software package to an upgrade object in direct communication connection with the information coordinator;
s5: the vehicle-end main control node controls the installation of the update software package, and an upgrade object in direct communication connection with the information coordinator executes the installation of the corresponding update software package;
and in the steps S1, S4 and S5, communication is realized between the vehicle-end main control node and each upgrading object which is directly in communication connection with the information coordinator through a subscription and release mode of a specified theme.
Wherein, in the step S1,
the vehicle-end main control node is used as a subscriber of version information, an upgrade object in direct communication connection with the information coordinator is used as a publisher of the version information, and the vehicle-end main control node enters step S2 after collecting the version information of all the upgrade objects.
In the step S4 of the above-mentioned process,
the vehicle-end main control node transmits an update software package to an upgrade object in direct communication connection with the information coordinator, wherein in the transmission process, the vehicle-end main control node is used as a publisher of update software package data, and the upgrade object in direct communication connection with the information coordinator is used as a subscriber of update software package data; and each time the vehicle-end main control node issues a packet of data, the vehicle-end main control node is used as an upgrading object of a subscriber to receive the packet of data until the transmission of the updated software packet is completed.
In the step S5 of the above-mentioned process,
in the process of updating the software package, an upgrade object in direct communication connection with the information coordinator subscribes to an installation instruction issued by a vehicle-end main control node, and executes the installation instruction; the vehicle-end main control node subscribes to the installation state data published by the upgrade object and observes the state of the installation state data.
Please refer to fig. 3, example 1:
the embodiment discloses a vehicle OTA upgrading system based on a subscription and release mode and an upgrading method thereof, wherein a plurality of clients comprise a vehicle-end main control node (Master) and a plurality of upgrading objects, the vehicle-end main control node is directly in communication connection with an information coordinator, and the upgrading objects (objects) which are directly in communication connection with the information coordinator are in communication with the vehicle-end main control node through the subscription and release mode.
In a vehicle OTA upgrade system based on a subscription release mode of the present embodiment, a Broker is typically located on a vehicle having a message routing function controller, for example: gateway, domain controller, etc.; the Master is typically located on a controller of the vehicle connected mobile network, such as an on-board host, TBOX, etc.; an Object may be any controller node on a vehicle subnetwork that supports persistent storage of software packages.
In implementation, the upgrading method comprises the following specific steps:
s1: master reads version information of each Object: the Master is used as a subscriber of the version information, the Object is used as a publisher of the version information, the Object publishes own version information to the Master, and when the Master finishes collecting the version information of all the objects locally, the step S2 is executed;
s2: based on the currently collected version information, the Master takes the version information as parameters, requests update information from the OTA cloud management platform, and the OTA cloud management platform judges whether version update exists or not by comparing the version number, if so, the update information is issued, and step S3 is executed; otherwise, quit OTA updating;
s3: the Master downloads an update software package according to update information obtained from the OTA cloud management platform;
s4: the Master deploys the update package to the Object; the method comprises the steps that a Master transmits update software package data to objects, in the process of transmitting files, the Master serves as a publisher of the update software package data, the objects serve as subscribers of the update software package data, each time the Master publishes a package of data, the objects receive a package of data, and the process is circulated until the update software package is transmitted;
s5: master controls the installation of the update package, and Object performs the installation of the software update package; in the installation process, the Object subscribes to the installation instruction issued by the Master, the installation instruction is executed, and the Master subscribes to the installation state data issued by the Object and observes the state of the upgrading Object.
Please refer to fig. 4, example 2:
the embodiment discloses a vehicle OTA upgrading system based on a subscription and release mode and an upgrading method thereof, wherein a plurality of clients further comprise sub-control nodes (submasters), the sub-control nodes are directly connected with an information coordinator in a communication way, part of upgrading objects are directly connected with the information coordinator in a communication way, and part of upgrading objects are directly connected with the sub-control nodes in a communication way; the upgrade object directly connected with the information coordinator is communicated with the vehicle-end main control node through a subscription and release mode, and the upgrade object directly connected with the sub-control node is communicated with the sub-control node through a C/S mode.
The C/S mode refers to Client/Server mode, which is the prior art, and therefore, the description thereof is omitted.
In a vehicle OTA upgrade system based on a subscription release mode of the present embodiment, a Broker is typically located on a vehicle with a forwarding routing function controller, for example: gateway, domain controller, etc.; the Master is typically located on a controller of the vehicle connected mobile network, such as an on-board host, TBOX, etc.; subMaster is typically located on an operating system-mounted controller, which is typically in the same sub-network as the multiple objects, such as an onboard host, TBOX, domain controller, etc.; objects are typically MCUs that do not have an operating system on them, do not support persistent storage of the software package, and are directly written by the corresponding submasters on the same subnet.
In implementation, the upgrading method comprises the following specific steps:
s1: the Master reads version information of local upgrading objects (including SubMaster and Object); the method comprises the steps that a Master is used as a subscriber of version information, a SubMaster is used as a publisher of the version information, when the SubMaster collects Object objects of upgrading and own version information, all the collected version information is published to the Master, and when the Master finishes collecting the version information of all local upgrading objects, step S2 is executed;
s2: based on the currently collected version information, the Master takes the version information as parameters, requests update information from the OTA cloud management platform, and the OTA cloud management platform judges whether version update exists or not by comparing the version number, if so, the update information is issued, and step S3 is executed; otherwise, quit OTA updating;
s3: the Master downloads an update software package according to update information obtained from the OTA cloud management platform;
s4: the Master deploys the update package to the SubMaster; the method comprises the steps that a Master transmits an update software package file to a sub Master, wherein the Master is used as a publisher of update software package data in the process of transmitting the file, the sub Master is used as a subscriber of update software package data, and each time the Master publishes a package of data, the sub Master receives a package of data, and the process is circulated until the update software package is transmitted;
s5: master controls the installation of the update package, and SubMaster performs the installation of the update package: in the installation process, the SubMaster subscribes to the installation instruction issued by the Master, and executes the installation instruction, and the Master subscribes to the installation state data issued by the SubMaster, and observes the state of the upgrading object.
In the two embodiments, the subscription and release mode is applied to the vehicle-end OTA upgrade, and because the communication between the Master and the SubMaster, object is abstracted into the theme-oriented communication, the Master does not need to pay attention to the call and maintenance of the communication module of the specific type of the opposite node when the Master is deployed in parallel and installed in an upgrade mode, so that the logic of the Master parallel control is greatly simplified, and the difficulty of the parallel control is reduced.
According to the two embodiments provided above, the specified subject matter referred to by the present invention is shown in the following table:
finally, it is noted that the above embodiments are only for illustrating the technical solution of the present invention and not for limiting the same, and although the present invention has been described in detail with reference to the preferred embodiments, it should be understood by those skilled in the art that modifications and equivalents may be made thereto without departing from the spirit and scope of the technical solution of the present invention, which is intended to be covered by the scope of the claims of the present invention.
Claims (6)
1. A vehicle OTA upgrading system based on a subscription and release mode comprises an OTA cloud management platform, a server and a plurality of clients; the method is characterized in that: the server comprises an information coordinator, wherein a plurality of clients are communicated with each other through the information coordinator, and all clients which are directly communicated with the information coordinator are communicated through a subscription and release mode for a specified theme;
any client except the information coordinator can be a subscriber or a publisher of the information, after each client is in communication connection with the information coordinator, an independent session is created after any client in direct communication connection with the information coordinator is connected with the information coordinator, and each session comprises subscription to a plurality of topics;
when a client as a publisher publishes a message of a specified topic, the information coordinator actively pushes the message to a client as a subscriber subscribing to the specified topic;
the information coordinator is used for decoupling subscribers and publishers of the information, publishing and distributing the information, carrying out centralized maintenance on the relationship among the topics, the subscribers and the publishers, dynamically managing the access and the extraction of each client, dynamically creating the topics, carrying out session management and maintaining offline data, and providing different communication quality services in cooperation with the clients;
the clients comprise a vehicle-end main control node and a plurality of upgrading objects, the vehicle-end main control node is directly in communication connection with the information coordinator, and the upgrading objects which are directly in communication connection with the information coordinator are communicated with the vehicle-end main control node through a subscription and release mode;
the clients also comprise sub-control nodes, the sub-control nodes are directly connected with the information coordinator in a communication way, part of the upgrading objects are directly connected with the information coordinator in a communication way, and part of the upgrading objects are directly connected with the sub-control nodes in a communication way; the upgrade object directly connected with the information coordinator is communicated with the vehicle-end main control node through a subscription and release mode, and the upgrade object directly connected with the sub-control node is communicated with the sub-control node through a C/S mode.
2. The subscription-based distribution model for a vehicle OTA upgrade system according to claim 1, wherein: the communication quality services include at most once, at least once, and only once;
the publisher of the information is pointed at the maximum once to transmit the information only once to the information coordinator, and the information coordinator only pushes the information once to the subscriber of the information, so that the successful transmission of the information from the publisher to the subscriber is not ensured;
the least one finger ensures that the publisher successfully transmits a message to the subscriber once;
the once only finger ensures that the subscriber receives the message only once.
3. A vehicle OTA upgrading method based on subscription and release modes is characterized in that: the method is based on the subscription release mode-based vehicle OTA upgrading system according to any one of claims 1-2 and comprises the following steps:
s1: the vehicle-end main control node reads version information of each upgrading object;
s2: based on the version information obtained in the step S1, the vehicle-end main control node requests updating information from the OTA cloud management platform;
s3: the vehicle-end main control node downloads an update software package according to the update information acquired from the cloud;
s4: the vehicle-end main control node deploys the update software package to an upgrade object in direct communication connection with the information coordinator;
s5: the vehicle-end main control node controls the installation of the update software package, and an upgrade object in direct communication connection with the information coordinator executes the installation of the corresponding update software package;
and in the steps S1, S4 and S5, communication is realized between the vehicle-end main control node and each upgrading object which is directly in communication connection with the information coordinator through a subscription and release mode of a specified theme.
4. A vehicle OTA upgrade method based on subscription release mode according to claim 3, wherein: in the step S1 of the above-mentioned process,
the vehicle-end main control node is used as a subscriber of version information, an upgrade object in direct communication connection with the information coordinator is used as a publisher of the version information, and the vehicle-end main control node enters step S2 after collecting the version information of all the upgrade objects.
5. A vehicle OTA upgrade method based on subscription release mode according to claim 3, wherein: in the step S4 of the above-mentioned process,
the vehicle-end main control node transmits an update software package to an upgrade object in direct communication connection with the information coordinator, wherein in the transmission process, the vehicle-end main control node is used as a publisher of update software package data, and the upgrade object in direct communication connection with the information coordinator is used as a subscriber of update software package data; and each time the vehicle-end main control node issues a packet of data, the vehicle-end main control node is used as an upgrading object of a subscriber to receive the packet of data until the transmission of the updated software packet is completed.
6. A vehicle OTA upgrade method based on subscription release mode according to claim 3, wherein: in the step S5 of the above-mentioned process,
in the process of updating the software package, an upgrade object in direct communication connection with the information coordinator subscribes to an installation instruction issued by a vehicle-end main control node, and executes the installation instruction; the vehicle-end main control node subscribes to the installation state data published by the upgrade object and observes the state of the installation state data.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202210555148.6A CN114979206B (en) | 2022-05-20 | 2022-05-20 | Vehicle OTA upgrading system and method based on subscription and release mode |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202210555148.6A CN114979206B (en) | 2022-05-20 | 2022-05-20 | Vehicle OTA upgrading system and method based on subscription and release mode |
Publications (2)
Publication Number | Publication Date |
---|---|
CN114979206A CN114979206A (en) | 2022-08-30 |
CN114979206B true CN114979206B (en) | 2023-05-26 |
Family
ID=82985638
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202210555148.6A Active CN114979206B (en) | 2022-05-20 | 2022-05-20 | Vehicle OTA upgrading system and method based on subscription and release mode |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN114979206B (en) |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101848236A (en) * | 2010-05-06 | 2010-09-29 | 北京邮电大学 | Real-time data distribution system with distributed network architecture and working method thereof |
CN108845562A (en) * | 2018-06-09 | 2018-11-20 | 铠龙东方汽车有限公司 | A kind of intelligent vehicle-carried service system based on car networking |
CN109874123A (en) * | 2017-12-01 | 2019-06-11 | 通用汽车环球科技运作有限责任公司 | Vehicle communication is carried out using distribution subscription messaging protocol |
CN112040443A (en) * | 2020-08-31 | 2020-12-04 | 经纬恒润(天津)研究开发有限公司 | Multi-client OTA upgrade processing method and system |
CN112835616A (en) * | 2021-02-26 | 2021-05-25 | 百度在线网络技术(北京)有限公司 | Version upgrading method and device, electronic equipment and storage medium |
CN113064619A (en) * | 2021-04-02 | 2021-07-02 | 上海高仙自动化科技发展有限公司 | Firmware upgrading method, device, system, equipment and storage medium |
CN113542018A (en) * | 2021-07-01 | 2021-10-22 | 东风悦享科技有限公司 | OTA (over the air) upgrading system and method based on V2X |
-
2022
- 2022-05-20 CN CN202210555148.6A patent/CN114979206B/en active Active
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101848236A (en) * | 2010-05-06 | 2010-09-29 | 北京邮电大学 | Real-time data distribution system with distributed network architecture and working method thereof |
CN109874123A (en) * | 2017-12-01 | 2019-06-11 | 通用汽车环球科技运作有限责任公司 | Vehicle communication is carried out using distribution subscription messaging protocol |
CN108845562A (en) * | 2018-06-09 | 2018-11-20 | 铠龙东方汽车有限公司 | A kind of intelligent vehicle-carried service system based on car networking |
CN112040443A (en) * | 2020-08-31 | 2020-12-04 | 经纬恒润(天津)研究开发有限公司 | Multi-client OTA upgrade processing method and system |
CN112835616A (en) * | 2021-02-26 | 2021-05-25 | 百度在线网络技术(北京)有限公司 | Version upgrading method and device, electronic equipment and storage medium |
CN113064619A (en) * | 2021-04-02 | 2021-07-02 | 上海高仙自动化科技发展有限公司 | Firmware upgrading method, device, system, equipment and storage medium |
CN113542018A (en) * | 2021-07-01 | 2021-10-22 | 东风悦享科技有限公司 | OTA (over the air) upgrading system and method based on V2X |
Non-Patent Citations (5)
Title |
---|
amp ; lt ; /a amp ; amp ; gt ; .IETF .2019,全文. * |
amp ; lt ; a href= amp ; quot ; ./draft-ietf-core-coap-pubsub-07 amp * |
M. Koster ; SmartThings ; A. Keranen ; J. Jimenez ; Ericsson ; .Publish-Subscribe Broker for the Constrained Application Protocol (CoAP) amp * |
quot ; amp ; amp ; gt ; draft-ietf-core-coap-pubsub-07 amp * |
基于车联网的车辆远程控制系统设计;张东伟;王文扬;杜明星;魏克新;;制造业自动化(第09期);全文 * |
Also Published As
Publication number | Publication date |
---|---|
CN114979206A (en) | 2022-08-30 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US6981034B2 (en) | Decentralized management architecture for a modular communication system | |
US6578074B1 (en) | Provisioning server enhancement | |
US20060002391A1 (en) | Multicast packet relay device adapted for virtual router | |
AU735576B2 (en) | System, device, and method for managing multicast group memberships in a multicast network | |
EP2309676A2 (en) | SRV Node selection | |
JP2505063B2 (en) | Method and system for establishing and managing virtual chains | |
WO2009082041A1 (en) | Group communication system using media server having distributed structure and method thereof | |
US9465417B2 (en) | Cluster system, method and device for expanding cluster system | |
CN113572632A (en) | Time-sensitive network communication method and device based on service-oriented architecture | |
CN111245660B (en) | Network-based equipment upgrading self-adaptive transmission method | |
CN116886801A (en) | OMCI client protocol stack fault processing method and device | |
US6370587B1 (en) | Network interconnection device | |
JPH06326713A (en) | Data transmission control method | |
CN114979206B (en) | Vehicle OTA upgrading system and method based on subscription and release mode | |
JPH11298551A (en) | Method, device and receiver for setting connection in multiple protocol communication network | |
CN109714653B (en) | Method for accelerating CTC OAM upgrading efficiency | |
CN101997724A (en) | Method and device for updating multicast forwarding entries | |
CN115190165B (en) | Vehicle OTA system and method based on subscription and release mode | |
US6295560B1 (en) | Data delivery system with load distribution among data delivery units using shared lower address and unique lower layer address | |
CN112187599B (en) | System and method for supporting data communication between network buses in vehicle | |
EP1134950A2 (en) | Improvements to control system for network servers | |
CN109379443B (en) | Method for realizing distributed message queue facing to Internet of things | |
CN111447126A (en) | Ethernet bus communication method, device, robot, equipment and computer readable storage medium | |
CN113630276B (en) | Main-standby switching control method and device and DVPN network system | |
CN100542167C (en) | Wireless route implementing method between the master-slave equipment group based on the IGRS agreement |
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 | ||
GR01 | Patent grant | ||
GR01 | Patent grant |