Service-oriented vehicle cloud fusion middleware, service deployment method and equipment
Through service-oriented car-cloud fusion middleware, real-time registration and scheduling of car-cloud services are realized, which solves the problem of lack of real-time balanced scheduling and data security in car-cloud fusion in the existing technology, and improves the efficiency of intelligent network-connected autonomous driving and unmanned driving. car software development efficiency and system reliability.
Patent Information
- Application Number
- CN202410825439.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-25
- Publication Date
- 2024-10-11
AI Technical Summary
Existing car cloud middleware lacks key technologies to achieve real-time balanced scheduling of car cloud services and dynamic orchestration and synchronized execution of business scenario car cloud tasks. Moreover, the cloud lacks car-cloud interconnection encrypted communication and service registration real-time scheduling functions, resulting in the inability to achieve real-time, efficient and secure Car-cloud integration.
Design service-oriented car-cloud integration middleware, including car-mounted client and cloud server, communicating through car-cloud interconnection components. The scene service scheduling component automatically parses business scenarios and drives car-side and cloud services to perform related business operations to achieve real-time scheduling. and data security.
It realizes real-time registration and scheduling of vehicle-side services and cloud services, reduces the development costs of intelligent network-connected autonomous driving unmanned vehicle software and systems, improves reliability, and enhances vehicle-cloud integration and collaboration.
Smart Images

Figure CN118764528A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of vehicle-cloud fusion devices, and in particular to service-oriented vehicle-cloud fusion middleware, service deployment methods and equipment. Background Art
[0002] Intelligent networked vehicles are an organic combination of Internet of Vehicles and smart cars. They are equipped with advanced on-board sensors, controllers, actuators and other devices, integrating modern communication and network technologies such as CAN, Ethernet, 5G / 4G, Beidou / GPS, etc., to achieve intelligent information exchange, sharing and integration between vehicles and people, vehicles, roads, clouds, etc. Middleware can greatly reduce the software and system development costs of intelligent networked vehicles, while shortening the development cycle and improving the reliability of software and systems, and its role is becoming increasingly important. For example, in various special operations such as "urban road cleaning", "shopping mall office cleaning", "enterprise park cleaning", "community distribution", "park connection", etc., middleware needs to be installed to achieve vehicle-cloud interconnection to ensure normal operation and provide services.
[0003] The content of existing vehicle-cloud middleware is relatively simple. Most of them only include basic functions of vehicle-cloud interconnection and communication, and lack key technologies such as "real-time balanced scheduling of vehicle-cloud services, dynamic orchestration and synchronous execution of vehicle-cloud tasks in business scenarios" to achieve optimal vehicle-cloud integration. In addition, existing vehicle-cloud middleware is generally only deployed on the vehicle side, not on the cloud side. The cloud side lacks middleware such as "vehicle-cloud interconnection encrypted communication, vehicle-cloud service registration and real-time scheduling", which makes it impossible to achieve real-time, efficient and secure vehicle-cloud integration. Summary of the invention
[0004] The purpose of the present invention is to provide a service-oriented vehicle-cloud fusion middleware, a service deployment method and a device. Both the vehicle-side services and the cloud-side services are registered in the service-oriented vehicle-cloud fusion middleware. The middleware can perform real-time scheduling, automatically parse various business scenarios, and automatically drive the vehicle-side and cloud-side services that need to be driven according to the parsed business scenarios to perform related business operations according to the business scenario parameters.
[0005] To achieve the above-mentioned purpose, the technical solution adopted by the present invention is: service-oriented vehicle-cloud fusion middleware, including a vehicle-mounted client and a cloud service end, both of which include a vehicle-cloud interconnection component and a scene service scheduling component. The vehicle-mounted client and the cloud service end communicate through the vehicle-cloud interconnection component, and the vehicle-side service and the cloud service automatically report registration messages and register with the scene service scheduling component. The scene service scheduling component automatically parses the triggered business scenario and drives the vehicle-side service and cloud service that need to be driven to perform business operations according to the parsed business scenario parameters.
[0006] As a further optimization, the scenario service scheduling component in the vehicle-mounted client has a local decision-making function, which is used to decide whether the vehicle-side service and cloud service scheduling need to be processed locally.
[0007] As a further optimization, the operating system of the vehicle-mounted client is a system such as QNX, Linux, Android, ROS2 or ROS.
[0008] As a further optimization, the service registration table of the scene service scheduling component stores all registered vehicle-side services and cloud services.
[0009] As a further optimization, the triggering methods of the business scenario include automatic triggering on the vehicle side, sending from the cloud or manual triggering by the user.
[0010] As a further optimization, the vehicle-cloud interconnection component uses the vehicle gateway or Tbox as the master node for clock synchronization, and uses the vehicle sensor as a slave node to maintain clock synchronization with the master node.
[0011] As a further optimization, the registration message is in json format or xml format; the business scenario is in json format.
[0012] The present invention also provides a service deployment method, which uses the above-mentioned vehicle-cloud fusion middleware and includes the following steps:
[0013] S1) When connected to the Internet, both the vehicle-side service and the cloud service automatically report registration messages and register with the scene service scheduling component;
[0014] S2) The scenario service scheduling component finds related services from the service registry through the car-cloud service scheduling algorithm and performs real-time combined scheduling or single scheduling;
[0015] S3) When the vehicle-side service is called and runs to completion or runs abnormally, the vehicle-cloud interconnection component reports the running result or vehicle status to the cloud service.
[0016] As a further optimization, the combined scheduling is to dynamically arrange multiple service requests and then schedule them, and the scheduling goal is to successfully execute the most service requests.
[0017] The present invention also provides a device for service-oriented vehicle-cloud fusion middleware, including the above-mentioned service-oriented vehicle-cloud fusion middleware.
[0018] Compared with the prior art, the present invention has the following beneficial effects:
[0019] 1. Both vehicle-side services (capabilities) and cloud services are registered in the service-oriented vehicle-cloud fusion middleware, and the middleware can be scheduled in real time;
[0020] 2. It can automatically analyze various business scenarios, and automatically drive the vehicle-side and cloud services that need to be driven to perform related business operations according to the business scenario parameters based on the analyzed business scenarios;
[0021] 3. Develop middleware for different technology ecosystems to be compatible with all car manufacturers, models, vehicle-side services and technology ecosystems that need to be compatible;
[0022] 4. It reduces the software and system development costs for "scenario automation operations" of various special operations intelligent connected autonomous driving unmanned vehicles, improves the reliability of software and systems, realizes vehicle-cloud integration, and enhances vehicle-cloud collaboration. BRIEF DESCRIPTION OF THE DRAWINGS
[0023] Figure 1 This is a schematic diagram of the vehicle-cloud fusion middleware of the present invention.
[0024] Figure 2 It is a schematic diagram of vehicle-side service registration, scenario analysis, service scheduling, and local decision-making in the vehicle-mounted client of the present invention.
[0025] Figure 3 It is a schematic diagram of cloud service registration, scenario analysis, and service scheduling in the cloud service end of the present invention.
[0026] Figure 4 It is a schematic diagram of local decision making of an in-vehicle client in an embodiment of the present invention. DETAILED DESCRIPTION
[0027] The following are specific embodiments of the present invention and the accompanying drawings to further describe the technical solution of the present invention, but the present invention is not limited to these embodiments.
[0028] like Figures 1 to 4 As shown, the service-oriented vehicle-cloud fusion middleware includes a vehicle client and a cloud service end, both of which include a vehicle-cloud interconnection component and a scene service scheduling component. The vehicle client and the cloud service end communicate through the vehicle-cloud interconnection component. Both the vehicle-side service and the cloud service automatically report registration messages and register with the scene service scheduling component. The scene service scheduling component automatically parses the triggered business scenario and drives the vehicle-side service and the cloud service that need to be driven to perform business operations according to the parsed business scenario parameters. When the vehicle client and the cloud service end communicate using the vehicle-cloud interconnection component (mqtt communication), the transmitted data is encrypted using the encryption algorithm preset by the vehicle-cloud interconnection component to ensure data security.
[0029] The vehicle-cloud fusion middleware of the present invention is divided into a vehicle-mounted client and a cloud service end, and is mainly used to provide "communication, vehicle-cloud service registration, scenario engine, real-time scheduling of vehicle-cloud services, and data security" functions for vehicle-side services (capabilities) and cloud services. Among them, the service registration table of the scene service scheduling component in the vehicle-mounted client stores the basic version of the cloud service, and has a local decision-making function, which can determine whether the vehicle-side and cloud service scheduling requires local processing. Specifically: each cloud service is provided with a basic version and a standard version, and the local service library in the cloud service stores all registered cloud services. The registration module in the cloud service synchronizes all services in the local service library to the vehicle-cloud central service library, which matches the basic version and the standard version of the vehicle-side service. The local service library of the vehicle-side service stores all registered vehicle-side services. The registration module in the vehicle-side service synchronizes all services in the local service library to the vehicle-cloud central service library. The service is synchronized to the car cloud central service library. The registration module of the cloud service synchronizes the basic versions of all services in the car-side service in the car cloud central service library to the cloud local service library. The registration module of the car-side service synchronizes the basic versions of all services in the cloud service in the car cloud central service library to the car-side local service library. Based on the above settings, when some services of the cloud service are unavailable, such as network disconnection, high concurrency, etc., resulting in failure to respond in time, the local decision module of the vehicle client encounters "unable to connect or timeout" when waiting for the cloud service to respond. In this case, the basic version of the cloud service is discovered and enabled from the car-side local service library according to the cloud service name.
[0030] The in-vehicle client works between the in-vehicle operating system and the upper-level vehicle-side services. Given that different car manufacturers, different car models, and different vehicle-side services (capabilities) are developed using different technology ecosystems (QNX, Linux, Android, ROS2, ROS, C++, Python, etc.), this vehicle-cloud fusion middleware develops in-vehicle clients of corresponding technology ecosystems for different technology ecosystems to be compatible with all car manufacturers, car models, vehicle-side services, and technology ecosystems that need to be compatible.
[0031] For vehicle-side services (capabilities) and cloud services, registration messages (json, xml, etc. formats) are automatically reported when connecting to the Internet, and registered in the scene service scheduling component. The service registration table of the scene service scheduling component stores all registered vehicle-side services and cloud services.
[0032] Furthermore, the scenario service scheduling component includes a scenario engine function, which automatically parses various "automatically triggered by the vehicle side, sent from the cloud side, and manually triggered by the user" business scenarios (json and other formats), and automatically performs related business operations based on the various parsed business scenarios, driving the vehicle-side services and cloud services that need to be driven according to the business scenario parameters.
[0033] The scenario service scheduling component uses the vehicle-cloud service scheduling algorithm to find the relevant services from the service registry for real-time combination or single scheduling according to the names of the vehicle-side services and cloud services that need to be driven specified in the parsed business scenario. During the combined scheduling, multiple services are dynamically arranged and then scheduled. The scheduling goal is: the maximum number of successful service requests. A successful service request means that the request is not only responded to, but also the requested service method is successfully executed. The scenarios of unsuccessful execution include invalid request parameters, inability to provide services due to tight system resources, and execution exceeding the deadline. For the vehicle-cloud service scheduling algorithm of the scenario service scheduling component, it is based on the dynamic colored time Petri net model. Through service reservation and real-time conflict detection during service runtime, service conflicts can be discovered as early as possible under limited service capabilities. For the conflicts found, a conflict random adjustment algorithm for the deadline of the combined service is adopted. Based on the random idea, the start time and deadline of the unexecuted sub-service reservation are dynamically adjusted to meet as many combined service reservations as possible without conflicts, minimize request failures caused by conflicts, and thus maximize the number of successful executions of the combined service and achieve the scheduling goal. For situations where conflicts cannot be eliminated, a variety of request discarding strategies are proposed, including discarding the most conflicting requests, discarding critical conflicting requests, and discarding requests based on completion. Through the combination of multiple different discarding strategies, the impact of request discarding on the system is minimized.
[0034] When the vehicle-side service is completed or abnormal, the operation results or vehicle status (business operation results, vehicle real-time location, remaining power, etc.) will be reported to the cloud through the vehicle-cloud interconnection module (mqtt communication).
[0035] The vehicle-cloud interconnection component uses the vehicle gateway or Tbox as the master node for clock synchronization of all the vehicle's sensors. All sensors such as "cameras, radars" on the vehicle are used as slave nodes to keep clocks synchronized with the master node. The vehicle gateway time is automatically synchronized with UTC time (Universal Time Coordinated) through the Internet. The cloud server time is also automatically synchronized with UTC time through the Internet, ensuring the accuracy of data collection time for all sensors on the vehicle, as well as the real-time calling of vehicle-side services and cloud services.
[0036] To summarize, the present invention analyzes business scenarios through the service-oriented vehicle-cloud fusion middleware, and performs real-time scheduling of relevant vehicle-side services and cloud services for various special-purpose intelligent networked autonomous driving unmanned vehicles, drives the vehicle-side services and cloud services to perform relevant business operations according to business scenario parameters, and implements the "scenario engine, vehicle-cloud service scheduling" function in the vehicle-cloud fusion middleware, so that the research and development of "scenario automation operation" software and systems for special-purpose intelligent networked autonomous driving unmanned vehicles can improve efficiency, shorten cycles, and reduce costs.
[0037] The specific embodiments described herein are merely examples of the spirit of the present invention. Those skilled in the art may make various modifications or additions to the specific embodiments described or replace them in similar ways, but they will not deviate from the spirit of the present invention or exceed the scope defined by the appended claims.
Claims
1. Service-oriented car-cloud fusion middleware, It is characterized in that It includes a vehicle-mounted client and a cloud service end, both of which include a vehicle-cloud interconnection component and a scene service scheduling component. The vehicle-mounted client and the cloud service end communicate through the vehicle-cloud interconnection component. The vehicle-side service and the cloud service automatically report registration messages and register with the scene service scheduling component. The scene service scheduling component automatically parses the triggered business scenario and drives the vehicle-side service and cloud service that need to be driven to perform business operations according to the parsed business scenario parameters.
2. The service-oriented vehicle-cloud fusion middleware according to claim 1, It is characterized in that The scenario service scheduling component in the vehicle client has a local decision-making function, which is used to decide whether the vehicle-side service and cloud service scheduling need to be processed locally.
3. The service-oriented vehicle-cloud fusion middleware according to claim 1, It is characterized in that The operating system of the vehicle-mounted client is QNX, Linux, Android, ROS2 or ROS system.
4. The service-oriented vehicle-cloud fusion middleware according to claim 1, It is characterized in that The service registration table of the scene service scheduling component stores all registered vehicle-side services and cloud services.
5. The service-oriented vehicle-cloud fusion middleware according to claim 1, It is characterized in that The triggering methods of the business scenario include automatic triggering on the vehicle side, sending from the cloud, or manual triggering by the user.
6. The service-oriented vehicle-cloud fusion middleware according to claim 1, It is characterized in that The vehicle-cloud interconnection component uses the vehicle gateway or Tbox as the master node for clock synchronization, and uses the vehicle sensor as a slave node to maintain clock synchronization with the master node.
7. The service-oriented vehicle-cloud fusion middleware according to claim 1, It is characterized in that The registration message is in json format or xml format; the business scenario is in json format.
8. Service deployment method, It is characterized in that Applying the service-oriented vehicle-cloud fusion middleware according to any one of claims 1 to 7 comprises the following steps: S1) When connected to the Internet, both the vehicle-side service and the cloud service automatically report registration messages and register with the scene service scheduling component; S2) The scenario service scheduling component finds related services from the service registry through the car-cloud service scheduling algorithm and performs real-time combined scheduling or single scheduling; S3) When the vehicle-side service is called and runs to completion or runs abnormally, the vehicle-cloud interconnection component reports the running result or vehicle status to the cloud service.
9. The service deployment method according to claim 8, It is characterized in that The combined scheduling is to dynamically arrange multiple service requests and then schedule them, and the scheduling goal is to successfully execute the most service requests.
10. Equipment for car-cloud fusion middleware for face-to-face services, It is characterized in that Including the service-oriented vehicle-cloud fusion middleware as described in any one of claims 1 to 7.
