A vehicle-cloud network channel data configuration method and system

By having the vehicle periodically request updated configuration rules from the cloud, the problems of large storage space usage and complex operations in the vehicle-cloud network channel configuration are solved, and rapid batch processing and efficient business service development are achieved.

CN115632943BActive Publication Date: 2025-10-10GUANGZHOU AUTOMOBILE GROUP CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202211283804.8
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-10-20
Publication Date
2025-10-10
Estimated Expiration
2042-10-20

AI Technical Summary

Technical Problem

In the existing technology, the configuration method of the vehicle-cloud network channel has the problems of large storage space occupation, complex operation and unsuitability for batch vehicle control, especially in remote control command messages with high timeliness requirements, resulting in vehicle control response delays and reduced user experience.

Method used

The vehicle side periodically requests the latest configuration forwarding rules from the cloud server. The cloud server automatically sends updated rules based on the vehicle type and network status. The vehicle side parses and updates the subscribed business topics, and implements batch processing through a standard publish-subscribe model, reducing storage requirements and development difficulty.

Benefits of technology

It achieves fast and batch network channel data configuration, reduces the difficulty of cloud development and vehicle-side storage requirements, and improves the development efficiency of business services and user experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115632943B_ABST
    Figure CN115632943B_ABST
Patent Text Reader

Abstract

The application discloses a kind of vehicle cloud network channel data configuration methods, it includes: vehicle end periodically sends request service message to cloud server, requests the latest configuration forwarding rule;Cloud server receives the request service message, obtains the vehicle type corresponding to vehicle, and carries out version number comparison, sends the configuration forwarding rule of the latest version number corresponding to the vehicle type to vehicle end, and the load of the configuration forwarding rule is recorded with each channel corresponding service message subject information;Vehicle end receives and parses the configuration forwarding rule of the latest version returned by cloud server, and updates the service message subject subscribed on the corresponding network channel and handles.This application also discloses corresponding system.Implementation of the present application can quickly realize the update of network channel data configuration rule, and batch processing, improve the update efficiency;And reduce the development difficulty of cloud and the storage requirement of vehicle end.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of vehicle networking technology, and in particular to a vehicle-cloud network channel data configuration method and system. Background Art

[0002] Currently, the vehicle side and the cloud platform use the standard Internet of Vehicles protocol MQTT protocol for communication. By utilizing the publish-subscribe model of the MQTT message middleware, the vehicle side and the cloud gateway located between the vehicle side and the cloud server realize vehicle-cloud business data interaction, and quickly integrate business scenarios such as remote vehicle control and big data.

[0003] Based on the decoupled publish-subscribe model between the MQTT client and server, the vehicle side and the cloud gateway between the vehicle side and the cloud server can realize a vehicle-cloud data channel based on multiple network channels. The vehicle side publishes messages to the cloud through the vehicle-cloud data channel, or the vehicle side subscribes to control messages sent by the cloud. However, if multiple data messages share the same vehicle-cloud channel network resources, such as remote control command messages, the timeliness requirements are high, and the amount of vehicle-side data increases as the business expands. The accumulation of data occupies a lot of resources, which may cause a large delay in vehicle control response and affect the user experience. It is necessary to adjust the data configuration of the vehicle-cloud network channel according to business indicators such as latency and traffic.

[0004] The vehicle-side interacts with the cloud gateway located between the vehicle and the cloud server. Currently, network channel configuration data is transmitted through diagnostic equipment via configuration instructions. The diagnostic equipment sends DID setting instructions to the vehicle-side. The vehicle-side gateway receives the configuration data and executes it successfully. Based on the updated configuration, the updated data response is sent to the cloud. Usually, the diagnostic equipment needs to manually trigger the control of the diagnostic settings to the specific vehicle.

[0005] However, the existing method of sending diagnostic DID settings through diagnostic equipment has some shortcomings:

[0006] Since control commands are sent to the vehicle side through the diagnostic equipment, the vehicle side receives and stores the changed network channel configuration rules, which need to be specific to each vehicle, not only taking up storage space but also not applicable to batch vehicle control;

[0007] At the same time, since the diagnostic instructions are sent to the bicycle manually, the operation is time-consuming and labor-intensive. At the same time, when the vehicle receives the cloud control change instruction, it needs to reset and reinitialize the program to make the specific configuration changes take effect, which is very complicated. Summary of the Invention

[0008] The technical problem to be solved by the present invention is to provide a vehicle-cloud network channel data configuration method and system. This method can quickly update network channel data configuration rules and perform batch processing, reducing the development difficulty on the cloud side and the storage requirements on the vehicle side.

[0009] To solve the above technical problems, as one aspect of the present invention, a method for configuring vehicle-to-cloud network channel data is provided, which comprises at least the following steps:

[0010] The vehicle periodically sends a service request message to the cloud server to request the latest configuration forwarding rules. The service request message carries at least the version number information of the current configuration forwarding rules in the vehicle;

[0011] The cloud server receives the service request message, obtains the vehicle type corresponding to the vehicle, compares the version numbers, and sends the configuration forwarding rule with the latest version number corresponding to the vehicle type to the vehicle end. The configuration forwarding rule includes at least the configuration update type and a payload, and the payload contains the service message subject information corresponding to each channel.

[0012] The vehicle receives and parses the latest version of the configuration forwarding rules returned by the cloud server, and updates the service message topics subscribed to on the corresponding network channel.

[0013] The cloud server sends the configuration forwarding rules of the latest version corresponding to the vehicle type to the vehicle end in the following steps:

[0014] The cloud server queries the online status of the vehicle's network channel. If the vehicle's network channel is online, it directly issues the latest version of the configuration forwarding rules. If the vehicle's network channel is offline, it sends a wake-up message to the vehicle, and then issues the latest version of the configuration forwarding rules after receiving the vehicle's online notification.

[0015] The step of the vehicle receiving and parsing the latest version of the configuration forwarding rules returned by the cloud server and updating the service message topic subscribed on the corresponding network channel further includes:

[0016] The vehicle receives and parses the latest version of the configuration forwarding rules returned by the cloud server, obtains the network channel sequence number that needs to be updated and the corresponding updated business message subject information;

[0017] The vehicle side determines the network channel in the enabled state and searches for the enabled network channel. When the current network channel is found to be the network channel that needs to be updated, it unsubscribes from the corresponding original business topic and re-subscribes to the updated business message topic.

[0018] Which further includes:

[0019] If the vehicle fails to parse the configuration forwarding rule of the latest version number, it will resend the service request message to the cloud server and modify the current version number of the vehicle carried in the service request message to 0.

[0020] The method further includes: generating the latest version of the configuration forwarding rule by the cloud server, including:

[0021] The cloud server identifies and confirms the number of enabled network transmission channels between the vehicle and the cloud based on the vehicle type;

[0022] According to the current business needs, determine the business message subject information corresponding to each network channel, and compare it with the data configuration forwarding rules of the previous version to determine the configuration update type, so as to generate the configuration forwarding rules of the latest version;

[0023] Among them, the data structure of the configuration forwarding rule message with the latest version number includes: configuration update type, configuration version number, configuration name and payload; the configuration update type includes: new business message type, business message channel update, and modified business message type; the payload records the network channel sequence number and its corresponding business message subject and code.

[0024] Accordingly, another aspect of the present invention further provides a vehicle-cloud network channel data configuration system, which includes at least a cloud server and multiple vehicle terminals communicating with the cloud server using the MOTT protocol; wherein:

[0025] Each vehicle end is used to periodically send a service request message to the cloud server, requesting the latest configuration forwarding rules. The service request message carries at least the version number information of the current configuration forwarding rules in the vehicle; and parses the latest version of the configuration forwarding rules returned by the cloud server, and updates the service message topic subscribed on the corresponding network channel.

[0026] The cloud server is used to receive service request messages from the vehicle side, obtain the vehicle type corresponding to the vehicle, compare the version numbers, and send the configuration forwarding rules of the latest version number corresponding to the vehicle type to the vehicle side. The configuration forwarding rules include at least the configuration update type and payload, and the payload records the service message subject information corresponding to each channel.

[0027] The cloud server further includes:

[0028] A rule storage unit, used to store the latest version of the configuration forwarding rules corresponding to each vehicle type;

[0029] A service request message receiving unit is configured to receive a service request message from a vehicle, obtain a vehicle type corresponding to the vehicle, perform version number comparison, and obtain a configuration forwarding rule with the latest version number corresponding to the vehicle type stored in a rule storage unit;

[0030] The sending processing unit is used to query the online status of the network channel of the vehicle side after obtaining the latest version of the configuration forwarding rules of the vehicle side. If the network channel of the vehicle side is online, the configuration forwarding rules of the latest version are directly sent; if the network channel of the vehicle side is offline, a wake-up message is sent to the vehicle side, and the configuration forwarding rules of the latest version are sent after receiving the vehicle online notification.

[0031] The cloud server further includes:

[0032] The configuration forwarding rule generation unit is used to confirm the number of network transmission channels enabled between the vehicle and the cloud for each vehicle type; determine the service message subject information corresponding to each network channel based on current business needs, and compare it with the previous version of the data configuration forwarding rule to determine the configuration update type, thereby generating and storing the latest version of the configuration forwarding rule;

[0033] The data structure of the configuration forwarding rule message with the latest version number includes: configuration update type, configuration version number, configuration name, and payload; the configuration update type includes: new service message type, service message channel update, and modified service message type; the payload records the network channel sequence number and its corresponding service message subject and code;

[0034] Wherein, the vehicle side further includes:

[0035] A service request message sending unit is used to periodically send a service request message to the cloud server to request the latest configuration forwarding rule, wherein the service request message carries at least the version number information of the current configuration forwarding rule in the vehicle;

[0036] The configuration update processing unit is used to parse the latest version of the configuration forwarding rules returned by the cloud server and update the service message topic subscribed on the corresponding network channel;

[0037] The parsing failure processing unit is used to resend a service request message to the cloud server after the vehicle fails to parse the configuration forwarding rule of the latest version number, and modify the current version number of the vehicle carried in the service request message to 0.

[0038] Wherein, the configuration update processing unit further includes:

[0039] The parsing unit is used to receive and parse the latest version of the configuration forwarding rules returned by the cloud server, and obtain the network channel sequence number that needs to be updated and the corresponding updated service message subject information;

[0040] The re-subscription unit is used to determine the network channel in the enabled state and search for the network channel in the enabled state. When the current network channel is retrieved as a network channel that needs to be updated, the subscription to the corresponding original business topic is canceled and the updated business message topic is re-subscribed.

[0041] The implementation of the embodiments of the present invention has the following beneficial effects:

[0042] The present invention proposes a vehicle-cloud network channel data configuration method and system. Based on business updates, different business data is configured for different network channels in the cloud, generating network channel data configuration rules. The vehicle periodically requests updates from the cloud, and the cloud server automatically matches and sends the latest data configuration rules to the vehicle. The vehicle then updates and subscribes to business data for multiple different channels based on the updated network channel configuration rules. In this invention, the cloud gateway between the vehicle and the cloud server no longer needs to modify its gateway code to update network channel data configuration rules. Through standard publish-subscribe encapsulation, new business scenarios can be quickly integrated, enabling batch processing. This significantly reduces the difficulty of cloud development and improves the efficiency of business service development.

[0043] In this embodiment of the present invention, vehicle-side data can utilize different network channels to connect to the cloud data gateway for data exchange, effectively utilizing the resources of different network channels and enabling configuration rule upgrades to be issued from the cloud. Furthermore, after the vehicle parses and subscribes to the business topic to implement the latest configuration rules, they can be deleted after taking effect, eliminating the need for permanent retention. This reduces storage requirements for network channel configuration rules that do not need to be stored on the vehicle side. BRIEF DESCRIPTION OF THE DRAWINGS

[0044] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the following briefly introduces the drawings required for use in the embodiments or the description of the prior art. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, without paying any creative work, other drawings obtained based on these drawings still fall within the scope of the present invention.

[0045] Figure 1 A schematic diagram of the main process of an embodiment of a vehicle-to-cloud network channel data configuration method provided by the present invention;

[0046] Figure 2 A schematic structural diagram of an embodiment of a vehicle-to-cloud network channel data configuration system provided by the present invention;

[0047] Figure 3 for Figure 2 Schematic diagram of the structure of the cloud server;

[0048] Figure 4 for Figure 2 Schematic diagram of the cloud structure;

[0049] Figure 5 for Figure 4 Schematic diagram of the configuration update processing unit. DETAILED DESCRIPTION

[0050] In order to make the objectives, technical solutions and advantages of the present invention more clear, the present invention will be described in further detail below with reference to the accompanying drawings.

[0051] like Figure 1 FIG. 1 shows a schematic diagram of the main process of an embodiment of a vehicle-to-cloud network channel data configuration method provided by the present invention. In this embodiment, the method includes at least the following steps:

[0052] Step S10: The vehicle periodically sends a service request message to the cloud server to request the latest configuration forwarding rule. The service request message carries at least the version number information of the current configuration forwarding rule in the vehicle.

[0053] In step S11, the cloud server receives the service request message, obtains the vehicle type corresponding to the vehicle, compares the version numbers, and sends the configuration forwarding rule with the latest version number corresponding to the vehicle type to the vehicle end. The configuration forwarding rule includes at least the configuration update type and a payload, and the payload contains the service message subject information corresponding to each channel.

[0054] The cloud server sends the configuration forwarding rules of the latest version corresponding to the vehicle type to the vehicle end in the following steps:

[0055] The cloud server queries the online status of the vehicle's network channel. If the vehicle's network channel is online, it directly issues the latest version of the configuration forwarding rules. If the vehicle's network channel is offline, it sends a wake-up message to the vehicle, and then issues the latest version of the configuration forwarding rules after receiving the vehicle's online notification.

[0056] In step S12, the vehicle receives and parses the latest version of the configuration forwarding rules returned by the cloud server, and updates the service message topic subscribed on the corresponding network channel.

[0057] The step of the vehicle receiving and parsing the latest version of the configuration forwarding rules returned by the cloud server and updating the service message topic subscribed on the corresponding network channel further includes:

[0058] The vehicle receives and parses the latest version of the configuration forwarding rules returned by the cloud server, obtains the network channel sequence number that needs to be updated and the corresponding updated business message subject information;

[0059] The vehicle side determines the network channel in the enabled state and searches for the enabled network channel. When the current network channel is found to be the network channel that needs to be updated, it unsubscribes from the corresponding original business topic and re-subscribes to the updated business message topic.

[0060] Wherein, the method further comprises:

[0061] If the vehicle fails to parse the configuration forwarding rules of the latest version, it will resend a service request message to the cloud server and modify the current version number of the vehicle carried in the service request message to 0. It can be understood that since the version number of the cloud is always greater than 0, this ensures that the cloud will send the configuration forwarding rules of the latest version to the vehicle.

[0062] It is understood that the method further includes: the cloud server generates the latest version of the configuration forwarding rule, including:

[0063] The cloud server identifies and confirms the number of enabled network transmission channels between the vehicle and the cloud based on the vehicle type;

[0064] According to the current business needs, determine the business message subject information corresponding to each network channel, and compare it with the data configuration forwarding rules of the previous version to determine the configuration update type, so as to generate the configuration forwarding rules of the latest version;

[0065] The data structure of the configuration forwarding rule message of the latest version number includes: configuration update type, configuration version number, configuration name and payload;

[0066] More specifically, the configuration update type is the current configuration forwarding rule update type, and the configuration update type includes: adding a new service message type, updating a service message channel, and modifying a service message type;

[0067] The configuration version number is the version number of the current configuration forwarding rule update. Cloud updates are issued and incremented from version 1.

[0068] The configuration name is generated based on the vehicle type (series), so that it can be sent from the cloud to the vehicle as needed;

[0069] The payload records the network channel sequence number and its corresponding service message subject and code.

[0070] For example, in one example, the payload contains the following content:

[0071] Channel 1: Business message topic and encoding used for MQTT protocol interaction;

[0072] Channel 2: Business message topic and encoding used for MQTT protocol interaction;

[0073] Channel N: business message topic and encoding for MQTT protocol interaction, formatted as JSON or an array of key-value pair objects;

[0074] More specifically, for different configuration update types, the following work needs to be done in the network channel configuration forwarding rules:

[0075] New business message types: When a new business type is added, the cloud adds a new topic and code, and adds a record to the configuration rule payload for interaction between the vehicle and the cloud based on the MQTT protocol. When adding new business, the cloud gateway between the vehicle and the cloud server does not need to change the gateway code. It only needs to use standard publish-subscribe encapsulation to quickly integrate new business scenarios, greatly reducing the difficulty of cloud development. Finally, the business message topic is matched to the corresponding network channel, and the updated configuration rules are sent to the vehicle to take effect.

[0076] Business message channel update: When a certain type of business data requires a change in network channel due to business changes, the network channel matching the business message subject is updated to another network channel, and a new record is added to the configuration rule payload. The updated configuration rule is then sent to the vehicle end for implementation.

[0077] Modify the business message type: When modifying the business message type, the corresponding business message topic needs to be modified. The business message topic can be split and processed according to the business division, decomposed into multiple different categories of business, and new business message topics and codes can be added in the cloud. The configuration rules are added to the load, and the updated business message topics are matched to different network channels. The updated network channel configuration rules are sent to the vehicle side to take effect. In this way, the business is split at the MQTT network channel level to realize data transmission. The cloud gateway between the vehicle side and the cloud server does not need to change the data update code. It only needs to subscribe to the business message topic uploaded by the corresponding network channel, and bridge different types of data to the business processing module in the cloud server. There is no need to parse the internal data of the business message to realize data splitting and diversion processing, saving development costs.

[0078] like Figure 2 FIG2 is a structural diagram of an embodiment of a vehicle-to-cloud network channel data configuration system provided by the present invention. Figures 3 to 5 As shown, in this embodiment, the system includes at least a cloud server 1 and multiple vehicle terminals 2 communicating with the cloud server 1 using the MOTT protocol; a cloud gateway (not shown) is provided in the MOTT protocol network between the cloud server 1 and the multiple vehicle terminals 1, wherein:

[0079] Each vehicle end 2 is used to periodically send a service request message to the cloud server, requesting the latest configuration forwarding rules. The service request message carries at least the version number information of the current configuration forwarding rules in the vehicle; and parses the latest version of the configuration forwarding rules returned by the cloud server, and updates the service message topic subscribed on the corresponding network channel.

[0080] The cloud server 1 is used to receive service request messages from the vehicle side, obtain the vehicle type corresponding to the vehicle, compare the version numbers, and send the configuration forwarding rules of the latest version number corresponding to the vehicle type to the vehicle side. The configuration forwarding rules include at least the configuration update type and the load, and the load records the service message subject information corresponding to each channel.

[0081] More specifically, if Figure 3 As shown, the cloud server 1 further includes:

[0082] A rule storage unit 10 is used to store the configuration forwarding rules of the latest version corresponding to each vehicle type;

[0083] The service request message receiving unit 11 is used to receive the service request message from the vehicle end, obtain the vehicle type corresponding to the vehicle, and compare the version numbers to obtain the configuration forwarding rule of the latest version number corresponding to the vehicle type stored in the rule storage unit;

[0084] The sending processing unit 12 is configured to, after obtaining the latest version of the configuration forwarding rule of the vehicle side, query the online status of the network channel of the vehicle side, and directly send the configuration forwarding rule of the latest version if the network channel of the vehicle side is online; if the network channel of the vehicle side is offline, send a wake-up message to the vehicle side, and send the configuration forwarding rule of the latest version after receiving the vehicle online notification;

[0085] The configuration forwarding rule generation unit 13 is used to confirm the number of network transmission channels enabled between the vehicle and the cloud for each vehicle type; determine the service message subject information corresponding to each network channel based on current service needs, and compare it with the previous version of the data configuration forwarding rule to determine the configuration update type, thereby generating and storing the latest version of the configuration forwarding rule;

[0086] The data structure of the configuration forwarding rule message with the latest version number includes: configuration update type, configuration version number, configuration name, and payload; the configuration update type includes: new service message type, service message channel update, and modified service message type; the payload records the network channel sequence number and its corresponding service message subject and code;

[0087] More specifically, if Figure 4As shown, the vehicle end 2 further includes:

[0088] The service request message sending unit 10 is used to periodically send a service request message to the cloud server to request the latest configuration forwarding rule, wherein the service request message carries at least the version number information of the current configuration forwarding rule in the vehicle;

[0089] The configuration update processing unit 11 is used to parse the latest version of the configuration forwarding rules received from the cloud server and update the service message topic subscribed on the corresponding network channel;

[0090] The parsing failure processing unit 12 is used to resend a service request message to the cloud server after the vehicle fails to parse the configuration forwarding rule of the latest version number, and modify the current version number of the vehicle carried in the service request message to 0.

[0091] The configuration update processing unit 11 further includes:

[0092] The parsing unit 110 is used to receive and parse the latest version of the configuration forwarding rule returned by the cloud server, and obtain the network channel sequence number that needs to be updated and the corresponding updated service message subject information;

[0093] The re-subscription unit 111 is used to determine the network channel in the enabled state and search for the network channel in the enabled state. When the current network channel is retrieved as the network channel that needs to be updated, the subscription to the corresponding original business topic is canceled and the updated business message topic is re-subscribed.

[0094] For more details, please refer to and combine the above Figure 1 The description is not repeated here.

[0095] The implementation of the embodiments of the present invention has the following beneficial effects:

[0096] The present invention proposes a vehicle-cloud network channel data configuration method and system. Based on business updates, different business data is configured for different network channels in the cloud, generating network channel data configuration rules. The vehicle periodically requests updates from the cloud, and the cloud server automatically matches and sends the latest data configuration rules to the vehicle. The vehicle then updates and subscribes to business data for multiple different channels based on the updated network channel configuration rules. In this invention, the cloud gateway between the vehicle and the cloud server no longer needs to modify its gateway code to update network channel data configuration rules. Through standard publish-subscribe encapsulation, new business scenarios can be quickly integrated, enabling batch processing. This significantly reduces the difficulty of cloud development and improves the efficiency of business service development.

[0097] In this embodiment of the present invention, vehicle-side data can utilize different network channels to connect to the cloud data gateway for data exchange, effectively utilizing the resources of different network channels and enabling configuration rule upgrades to be issued from the cloud. Furthermore, after the vehicle parses and subscribes to the business topic to implement the latest configuration rules, they can be deleted after taking effect, eliminating the need for permanent retention. This reduces storage requirements for network channel configuration rules that do not need to be stored on the vehicle side.

[0098] Those skilled in the art will appreciate that embodiments of the present invention may be provided as methods, apparatus, or computer program products. Thus, the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment, or an embodiment combining software and hardware aspects. Furthermore, the present invention may take the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to magnetic disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.

[0099] The present invention is described with reference to flowcharts and / or block diagrams of methods, devices (systems), and computer program products according to embodiments of the present invention. It should be understood that each process and / or block in the flowcharts and / or block diagrams, as well as combinations of processes and / or blocks in the flowcharts and / or block diagrams, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to produce a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowcharts and / or block diagrams. Figure 1 a process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.

[0100] The above disclosure is only a preferred embodiment of the present invention and certainly cannot be used to limit the scope of the present invention. Therefore, equivalent changes made according to the claims of the present invention are still within the scope of the present invention.

Claims

1. A vehicle-cloud network channel data configuration method, characterized in that: At least the following steps are included: The vehicle periodically sends a service request message to the cloud server to request the latest configuration forwarding rules. The service request message carries at least the version number information of the current configuration forwarding rules in the vehicle; The cloud server receives the service request message, obtains the vehicle type corresponding to the vehicle, compares the version numbers, and sends the configuration forwarding rule with the latest version number corresponding to the vehicle type to the vehicle end. The configuration forwarding rule includes at least the configuration update type and a payload, and the payload contains the service message subject information corresponding to each channel. The vehicle receives and parses the latest version of the configuration forwarding rules returned by the cloud server, and updates the service message topics subscribed to on the corresponding network channel; The method further includes a step in which the cloud server generates the latest version of the configuration forwarding rule, including: The cloud server identifies and confirms the number of enabled network transmission channels between the vehicle and the cloud based on the vehicle type; According to the current business needs, determine the business message subject information corresponding to each network channel, and compare it with the data configuration forwarding rules of the previous version to determine the configuration update type, so as to generate the configuration forwarding rules of the latest version; Among them, the data structure of the configuration forwarding rule message with the latest version number includes: configuration update type, configuration version number, configuration name and payload; the configuration update type includes: new business message type, business message channel update, and modified business message type; the payload records the network channel sequence number and its corresponding business message subject and code.

2. The method according to claim 1, wherein The cloud server sends the configuration forwarding rules of the latest version corresponding to the vehicle type to the vehicle end in the following steps: The cloud server queries the online status of the vehicle's network channel. If the vehicle's network channel is online, it directly issues the latest version of the configuration forwarding rules. If the vehicle's network channel is offline, it sends a wake-up message to the vehicle, and then issues the latest version of the configuration forwarding rules after receiving the vehicle's online notification.

3. The method according to claim 2, wherein The vehicle side receives and parses the latest version of the configuration forwarding rule returned by the cloud server, and the step of updating the service message topic subscribed on the corresponding network channel further includes: The vehicle receives and parses the latest version of the configuration forwarding rules returned by the cloud server, obtains the network channel sequence number that needs to be updated and the corresponding updated business message subject information; The vehicle side determines the network channel in the enabled state and searches for the enabled network channel. When the current network channel is found to be the network channel that needs to be updated, it unsubscribes from the corresponding original business topic and re-subscribes to the updated business message topic.

4. The method according to claim 2, wherein Further including: If the vehicle fails to parse the configuration forwarding rule of the latest version number, it will resend the service request message to the cloud server and modify the current version number of the vehicle carried in the service request message to 0.

5. A vehicle-cloud network channel data configuration system, characterized in that: At least includes a cloud server and multiple vehicle terminals that communicate with the cloud server using the MQTT protocol; wherein: Each vehicle is configured to periodically send a service request message to the cloud server, requesting the latest configuration forwarding rules. The service request message carries at least the version number of the current configuration forwarding rules in the vehicle. Upon receiving the latest version of the configuration forwarding rules returned by the cloud server, the vehicle parses the message and updates the service message topic subscribed on the corresponding network channel. The cloud server is used to receive service request messages from the vehicle side, obtain the vehicle type corresponding to the vehicle, compare the version numbers, and send the configuration forwarding rules with the latest version number corresponding to the vehicle type to the vehicle side. The configuration forwarding rules contain at least the configuration update type and payload, and the payload records the service message subject information corresponding to each channel; The cloud server further includes: The configuration forwarding rule generation unit is used to confirm the number of network transmission channels enabled between the vehicle and the cloud for each vehicle type; determine the service message subject information corresponding to each network channel based on current business needs, and compare it with the previous version of the data configuration forwarding rule to determine the configuration update type, thereby generating and storing the latest version of the configuration forwarding rule; Among them, the data structure of the configuration forwarding rule message with the latest version number includes: configuration update type, configuration version number, configuration name and payload; the configuration update type includes: new business message type, business message channel update, and modified business message type; the payload records the network channel sequence number and its corresponding business message subject and code.

6. The system according to claim 5, wherein: The cloud server further includes: A rule storage unit, used to store the latest version of the configuration forwarding rules corresponding to each vehicle type; A service request message receiving unit is configured to receive a service request message from a vehicle, obtain a vehicle type corresponding to the vehicle, perform version number comparison, and obtain a configuration forwarding rule with the latest version number corresponding to the vehicle type stored in a rule storage unit; The sending processing unit is used to query the online status of the network channel of the vehicle side after obtaining the latest version of the configuration forwarding rules of the vehicle side. If the network channel of the vehicle side is online, the configuration forwarding rules of the latest version are directly sent; if the network channel of the vehicle side is offline, a wake-up message is sent to the vehicle side, and the configuration forwarding rules of the latest version are sent after receiving the vehicle online notification.

7. The system according to claim 6, wherein: The vehicle side further comprises: A service request message sending unit is used to periodically send a service request message to the cloud server to request the latest configuration forwarding rule, wherein the service request message carries at least the version number information of the current configuration forwarding rule in the vehicle; The configuration update processing unit is used to parse the latest version of the configuration forwarding rules returned by the cloud server and update the service message topic subscribed on the corresponding network channel; The parsing failure processing unit is used to resend a service request message to the cloud server after the vehicle fails to parse the configuration forwarding rule of the latest version number, and modify the current version number of the vehicle carried in the service request message to 0.

8. The system according to claim 7, wherein: The configuration update processing unit further includes: The parsing unit is used to receive and parse the latest version of the configuration forwarding rules returned by the cloud server, and obtain the network channel sequence number that needs to be updated and the corresponding updated service message subject information; The re-subscription unit is used to determine the network channel in the enabled state and search for the network channel in the enabled state. When the current network channel is retrieved as a network channel that needs to be updated, the subscription to the corresponding original business topic is canceled and the updated business message topic is re-subscribed.

Citation Information

Patent Citations

  • Vehicle and system for updating configuration of module to support different function

    CN104777771A

  • Vehicle OTA upgrading system and method based on subscription publishing mode

    CN114979206A