CN-121985049-A - Vehicle cloud protocol matching method and related equipment
Abstract
The application discloses a vehicle cloud protocol matching method and related equipment, and relates to the technical field of communication, wherein the method comprises the steps of obtaining vehicle cloud protocol version information issued by a vehicle end on a preset protocol negotiation subject; determining a target vehicle cloud protocol matched with the vehicle cloud protocol version information from a plurality of candidate vehicle cloud protocols deployed in advance based on the vehicle cloud protocol version information; and based on the target vehicle cloud protocol, performing data interaction with the vehicle end. According to the method, the cloud end is used for subscribing the multi-version protocol uniformly, the vehicle end is used for publishing the actual protocol version in real time, the dynamic protocol negotiation between the vehicle and the cloud end is realized based on the subscription and release mode, and data interaction is performed according to the matched version after the negotiation. Therefore, the vehicle cloud protocol synchronization mode is changed from full-quantity compatibility in advance to dynamic matching according to requirements, flexible management of protocol versions is achieved, system implementation complexity and communication expenditure are reduced, and reliability and maintainability of vehicle cloud coordination are improved.
Inventors
- WU RUI
- WANG HUAJUN
- YAO JIALONG
- WANG ZEJIANG
Assignees
- 东风汽车集团股份有限公司
Dates
- Publication Date
- 20260505
- Application Date
- 20260120
Claims (10)
- 1. The vehicle cloud protocol matching method is characterized by being applied to a cloud and comprising the following steps of: Acquiring vehicle cloud protocol version information issued by a vehicle terminal on a preset protocol negotiation theme; Determining a target vehicle cloud protocol matched with the vehicle cloud protocol version information from a plurality of candidate vehicle cloud protocols deployed in advance based on the vehicle cloud protocol version information; and based on the target vehicle cloud protocol, performing data interaction with the vehicle end.
- 2. The method of claim 1, wherein the obtaining the cloud protocol version information published by the vehicle end on the preset protocol negotiation topic comprises: subscribing the preset protocol negotiation theme through a message queue telemetry transmission protocol; And monitoring the preset protocol negotiation theme to receive the cloud protocol version information issued by the vehicle end as the issuer.
- 3. The method of claim 1, wherein the determining, based on the vehicle cloud protocol version information, a target vehicle cloud protocol that matches the protocol version information from a plurality of candidate vehicle cloud protocols that are pre-deployed, comprises: determining a target version identifier to be matched based on the vehicle cloud protocol version information; Based on the target version identification, carrying out matching query on the version identification of each candidate vehicle cloud protocol in the plurality of candidate vehicle cloud protocols to obtain a matching query result; And if the matching query result queries a candidate vehicle cloud protocol with the version identification consistent with the target version identification, determining the candidate vehicle cloud protocol as the target vehicle cloud protocol.
- 4. The method of claim 3, further comprising, prior to said data interaction with said vehicle end based on said target vehicle cloud protocol: Generating negotiation response information containing the version identification of the target vehicle cloud protocol; And sending the negotiation response information to the vehicle end.
- 5. The method as recited in claim 1, further comprising: receiving updated cloud protocol version information which is reissued by the vehicle end after the software is upgraded; Re-determining a new target vehicle cloud protocol from the plurality of candidate vehicle cloud protocols based on the updated vehicle cloud protocol version information; and based on the new target vehicle cloud protocol, performing data interaction with the vehicle end.
- 6. The method of claim 1, wherein the plurality of candidate vehicle cloud protocols support different vehicle models of the same vehicle enterprise or different software versions of the same vehicle model.
- 7. The vehicle cloud protocol matching method is characterized by being applied to a vehicle end and comprising the following steps of: determining currently used vehicle cloud protocol version information based on preset configuration information; the vehicle cloud protocol version information is issued to a preset protocol negotiation subject, so that a cloud side obtains the vehicle cloud protocol version information from the preset protocol negotiation subject; Receiving negotiation response information sent by the cloud, wherein the negotiation response information comprises a target vehicle cloud protocol determined based on the vehicle cloud protocol version information; And based on the target vehicle cloud protocol, performing data interaction with the cloud.
- 8. The utility model provides a car cloud agreement matching device which characterized in that is applied to the high in the clouds, includes: the vehicle cloud protocol acquisition unit is used for acquiring vehicle cloud protocol version information issued by a vehicle end on a preset protocol negotiation theme; The target protocol determining unit is used for determining a target vehicle cloud protocol matched with the vehicle cloud protocol version information from a plurality of candidate vehicle cloud protocols deployed in advance based on the vehicle cloud protocol version information; And the vehicle cloud data interaction unit is used for carrying out data interaction with the vehicle end based on the target vehicle cloud protocol.
- 9. An electronic device comprising a memory, a processor and a computer program stored in the memory and executable on the processor, characterized in that the processor is adapted to implement the steps of the vehicle cloud protocol matching method according to any of claims 1 to 7 when executing the computer program stored in the memory.
- 10. A computer readable storage medium, on which a computer program is stored, characterized in that the computer program, when being executed by a processor, implements the steps of the vehicle cloud protocol matching method according to any of claims 1 to 7.
Description
Vehicle cloud protocol matching method and related equipment Technical Field The present application relates to the field of communications technologies, and in particular, to a vehicle cloud protocol matching method and related devices. Background In the field of Internet of vehicles, data interaction between a vehicle networking terminal (T-Box) and an Internet of vehicles service platform (TSP) through a private protocol is a basis for realizing functions such as remote control and state inquiry. Along with the rapid iteration of the vehicle model and the normalization of the over-the-air (OTA) upgrade of the software, the software version actually operated by the vehicle end and the corresponding cloud private protocol version thereof are increasingly fragmented. The prior art generally requires that the TSP platform communicate with all vehicles using a unified set of proprietary protocols compatible with historical multiple versions, or mandates that all vehicles be upgraded to protocol versions consistent with the platform. The method has the advantages that the TSP platform is complex in logic, redundant in data and difficult to maintain, different protocol requirements of different vehicle types or different OTA stages of the same vehicle type cannot be adapted efficiently, the method is difficult to implement because the vehicle upgrading rhythm is uncontrollable, and part of vehicles cannot interact with the cloud normally because of mismatching of protocol versions easily. Therefore, there is a need for a vehicle cloud protocol matching method to solve the above-mentioned technical problems. Disclosure of Invention In the summary, a series of concepts in a simplified form are introduced, which will be further described in detail in the detailed description. The summary of the application is not intended to limit the critical and essential features of the claimed subject matter, nor is it intended to be used to determine the scope of the claimed subject matter. The application aims to solve the problems of system redundancy, high communication load and difficult collaborative maintenance caused by static binding of vehicle cloud protocol versions and multi-version compatible adaptation in the existing internet of vehicles system. The cloud end is used for subscribing the multi-version protocol uniformly, the vehicle end publishes the actual protocol version in real time, the dynamic protocol negotiation between the vehicle and the cloud end is realized based on the subscription and publishing mode, and the data interaction is performed according to the matched version after the negotiation. Therefore, the vehicle cloud protocol synchronization mode is changed from full-quantity compatibility in advance to dynamic matching according to requirements, flexible management of protocol versions is achieved, system implementation complexity and communication expenditure are reduced, and reliability and maintainability of vehicle cloud coordination are improved. In a first aspect, the present application provides a vehicle cloud protocol matching method, applied to a cloud, including: Acquiring vehicle cloud protocol version information issued by a vehicle terminal on a preset protocol negotiation theme; Determining a target vehicle cloud protocol matched with the vehicle cloud protocol version information from a plurality of candidate vehicle cloud protocols deployed in advance based on the vehicle cloud protocol version information; and based on the target vehicle cloud protocol, performing data interaction with the vehicle end. In some embodiments, the obtaining the cloud protocol version information issued by the vehicle end on a preset protocol negotiation theme includes: subscribing the preset protocol negotiation theme through a message queue telemetry transmission protocol; And monitoring the preset protocol negotiation theme to receive the cloud protocol version information issued by the vehicle end as the issuer. In some embodiments, the determining, based on the vehicle cloud protocol version information, a target vehicle cloud protocol matching the protocol version information from a plurality of candidate vehicle cloud protocols deployed in advance includes: determining a target version identifier to be matched based on the vehicle cloud protocol version information; Based on the target version identification, carrying out matching query on the version identification of each candidate vehicle cloud protocol in the plurality of candidate vehicle cloud protocols to obtain a matching query result; And if the matching query result queries a candidate vehicle cloud protocol with the version identification consistent with the target version identification, determining the candidate vehicle cloud protocol as the target vehicle cloud protocol. In some embodiments, before the data interaction with the vehicle end based on the target vehicle cloud protocol, the method further includes: Generating nego