CN-122027478-A - Service state configuration method, system and storage medium based on vehicle-cloud integration
Abstract
The invention relates to the technical field of Internet of vehicles, and provides a service state configuration method based on a vehicle cloud integration, which comprises the steps of obtaining target parameter information through a vehicle end service management unit to generate a standardized service event and corresponding service parameters, obtaining service subscription information corresponding to the service parameters through a service discovery management unit to generate corresponding management parameters, uniformly arranging standardized service events through a daemon unit based on the service parameters, the management parameters and arrangement parameters issued by a cloud, determining an event sequence after being subjected to jitter removal and sorting, generating three uplink messages with sequence numbers, time ranges and promise hash through a vehicle end communication unit based on the event sequence, the management parameters and issued channel and speed policies of the cloud, and updating strategy parameters through a cloud proxy and a desktop platform and issuing the strategy parameters to the vehicle end. The invention can realize accurate perception and efficient transmission of the service state, thereby guaranteeing the real-time performance and consistency of the vehicle-cloud integrated application.
Inventors
- LIU RUIQIANG
- Yan Yingnan
Assignees
- 东软睿驰汽车技术(沈阳)有限公司
Dates
- Publication Date
- 20260512
- Application Date
- 20251230
Claims (10)
- 1. The service state configuration method based on the vehicle cloud integration is characterized by comprising the following steps of: acquiring target parameter information through a vehicle-end service management unit, and generating a standardized service event and corresponding service parameters based on a first preset algorithm group; Acquiring service subscription information corresponding to the service parameters through a service discovery management unit, and generating corresponding management parameters based on a second preset algorithm group; Based on the service parameters, the management parameters and the arrangement parameters issued by the cloud, uniformly arranging the standardized service events through a daemon unit, determining an event sequence which is subjected to jitter removal and sequencing, and distributing the event sequence to three transmission channels of real time, batch and heartbeat according to priority; Based on the event sequence, the management parameters and the channel and rate strategy issued by the cloud, three uplink messages with serial numbers, time ranges and promise hash are generated through a vehicle-end communication unit; and updating policy parameters through the cloud proxy and the desktop platform and issuing the policy parameters to the vehicle end based on the three uplink messages and the connection and topology information of the gateway side, so as to complete service state configuration.
- 2. The vehicle-cloud integration-based service state configuration method according to claim 1, wherein the target parameter information comprises service operation indexes, alarm marks, probe data, policy parameters issued by a cloud, service state-dependent and local environment information; the service parameters comprise a polling period and a key event processing decision; The method comprises the steps of generating a standardized service event and corresponding service parameters based on a first preset algorithm group, generating the standardized service event based on a change trigger synthesis algorithm, adjusting the polling period based on an adaptive polling algorithm, and performing instant processing on the key event through a key event bypass algorithm.
- 3. The service state configuration method based on the integration of vehicle and cloud as claimed in claim 2, wherein the triggering condition of the change triggering composition algorithm is that any one of the following conditions is satisfied: The index change amplitude II delta x II in the target parameter information is larger than or equal to delta, wherein delta x=x t -x (t-1) , delta represents a preset threshold value, x t represents a current index, and x (t-1) represents an index at the last moment; Hysteresis of the index spans across a state threshold θ±hysteresis band width h; The quantization bucket Qdelta (x t ) of the index is different from the quantization bucket Qdelta (x (t-1) ) at the last time, wherein Qdelta represents the quantization bucket width; And if any one of the conditions is met, triggering the change triggering synthesis algorithm to generate the standardized service event.
- 4. The service state configuration method based on the vehicle cloud integration as claimed in claim 2, wherein a polling period update formula of the adaptive polling algorithm is: Where τ is the current polling period, κ1, κ2 are adjustment coefficients, ρ is the rate of change, ζ is the health alert flag, τ_min, τ_max are the upper and lower limits of the polling period, respectively, and the clip function is used to limit τ_new between τ_min and τ_max.
- 5. The vehicle cloud integration-based service state configuration method of claim 1, wherein the management parameters include delta changes, heartbeat packets, and optional full-scale baselines; the orchestration parameters include a merge window, a prediction window, a threshold, and QoS priority weights.
- 6. The vehicle-cloud integration-based service state configuration method of claim 5, wherein the formula of the change increment is: where S_t represents the current snapshot and S_ { t-1} represents the last snapshot published.
- 7. The vehicle-cloud-integration-based service state configuration method according to claim 5, wherein the priority function of the QoS priority weight is: Priority (E) = W / (Delay + ε) if the Aging factor lambda is enabled, the priority function of the QoS priority weight is: where W represents the traffic weight, delay represents the event latency, ε represents a small constant that prevents division by zero.
- 8. The vehicle-cloud integration-based service state configuration method of claim 1, wherein the policy parameters include a global monotonic timeline, a latest state library, audit logs and signs, and a vehicle/group-oriented parameter set; the strategy parameters are updated through the cloud proxy and the desktop platform and are issued to the vehicle end, so that service state configuration is completed, and the strategy parameters are updated based on a target function closed-loop self-adaptive algorithm and issued to each unit of the vehicle end; the objective function of the objective function closed loop self-adaptive algorithm is that Wherein R is an anomaly rate, L is an average event time delay, B is bandwidth occupation, alpha, beta and gamma are weights, and the strategy parameters are updated in a gradient or sectional mode based on the objective function.
- 9. Service state configuration system based on cloud integration, characterized by comprising: The vehicle-end service management unit is used for acquiring target parameter information and generating a standardized service event and corresponding service parameters based on a first preset algorithm group; The service discovery management unit is used for acquiring service subscription information corresponding to the service parameters and generating corresponding management parameters based on a second preset algorithm group; The daemon unit is used for uniformly arranging the standardized service events based on the service parameters, the management parameters and the arrangement parameters issued by the cloud, determining an event sequence which is subjected to jitter removal and sorting, and distributing the event sequence to three transmission channels of real time, batch and heartbeat according to priority; The vehicle-end communication unit is used for generating three uplink messages with sequence numbers, time ranges and promise hash based on the event sequence, the management parameters, the cloud issuing channel and the rate policy; And the cloud proxy and the desktop platform are used for updating policy parameters and issuing the policy parameters to the vehicle end based on the three uplink messages and the connection and topology information of the gateway side to complete service state configuration.
- 10. A computer storage medium having instructions stored therein, which when executed on an electronic device, cause the electronic device to perform the vehicle cloud integration based service state configuration method of any one of claims 1-8.
Description
Service state configuration method, system and storage medium based on vehicle-cloud integration Technical Field The invention relates to the technical field of internet of vehicles, in particular to a method, a system and a storage medium. Background As the electronic and electrical architecture of the automobile gradually evolves from a distributed ECU to a centralized domain control and cloud cooperative architecture, the vehicle-end function is also controlled by a traditional cured ECU to turn to a dynamic service governance mode based on SOA (Service Oriented Architecture ). The service state of the vehicle end needs to be reported to the cloud in real time so as to support remote diagnosis, OTA upgrading, vehicle-cloud integrated application and even intelligent driving of vehicle-cloud cooperation. Under a vehicle-cloud integrated architecture, the cloud end always monitors and schedules services in the vehicle in a centralized manner through a cloud desktop or a unified management and control platform. The cloud relies on the service state information periodically uploaded by the vehicle to realize service discovery, policy arbitration, resource scheduling and remote configuration. However, existing service state acquisition mechanisms commonly employ fixed periodic polling, e.g., SMS (Service Management Service) at the vehicle end typically queries for service state at 500ms periods, SDM (Service Discovery Manager) typically queries for service information at 5s periods. When a service is frequently changed in a short period, the polling mechanism may not capture all the changes, resulting in state report loss, and at the same time, even if the service state remains unchanged, the report is repeated according to a fixed period, resulting in redundant transmission and CPU occupation. The reporting mechanism based on the fixed period is tolerant under the single vehicle scale, but in the scene of large-scale motorcade access to the cloud desktop, obvious performance bottlenecks and communication burdens are brought, for example, the state consistency is insufficient, frequently-changed services can be inconsistent with the cloud end and influence the accuracy of cloud scheduling and policy execution, the resource cost is high, the periodical polling causes the increase of CPU (central processing unit), bandwidth and cloud storage pressure at the vehicle end and is unfavorable for large-scale vehicle cloud integrated deployment, and the dynamic perception is lacking, so that the conventional mechanism cannot effectively distinguish key changes and invalid repetition, and the data transmission among the vehicle clouds is lack of intelligence and differentiation. Therefore, how to design a service state notification mechanism integrating event driving and periodic polling in a vehicle-cloud integrated scene, so that state loss can be avoided, redundant reporting can be reduced, and meanwhile, real-time perception and consistency of a cloud desk to vehicle-end services are guaranteed, so that the technical problem to be solved in the field is urgent. Disclosure of Invention The embodiment of the invention provides a service state configuration method, a service state configuration system and a storage medium based on vehicle cloud integration, which are used for solving the problems that the existing vehicle networking is easy to lose report, and the real-time perception and consistency of cloud to vehicle-end service are poor. In order to achieve the purposes of avoiding state report loss, reducing redundant report and guaranteeing real-time perception and consistency of cloud desk to vehicle end service based on the service state notification mechanism integrating event driving and periodic polling, the invention adopts the following technical scheme: in a first aspect, an embodiment of the present invention provides a service state configuration method based on vehicle-cloud integration, which is applied to an electronic device, and the method includes: acquiring target parameter information through a vehicle-end service management unit, and generating a standardized service event and corresponding service parameters based on a first preset algorithm group; Acquiring service subscription information corresponding to the service parameters through a service discovery management unit, and generating corresponding management parameters based on a second preset algorithm group; Based on the service parameters, the management parameters and the arrangement parameters issued by the cloud, uniformly arranging the standardized service events through a daemon unit, determining an event sequence which is subjected to jitter removal and sequencing, and distributing the event sequence to three transmission channels of real time, batch and heartbeat according to priority; Based on the event sequence, the management parameters and the channel and rate strategy issued by the cloud, three uplink messages with serial