Inter-vehicle-cloud dynamic service method and device and related equipment
By configuring the car-cloud service proxy middleware to monitor car-side services and push cloud service information when communication is stable, the problem of stability and accuracy of service calls between cars and clouds is solved, and user experience and service reliability are improved.
Patent Information
- Application Number
- CN202411069651.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-05
- Publication Date
- 2024-10-11
AI Technical Summary
During the service call between cars and clouds, when the car terminal is in a weak network or offline state, the cloud cannot know the situation of the car terminal in time, resulting in unstable and inaccurate service calls, affecting the user experience. The existing technology lacks effective solutions.
Configure the car cloud service agent middleware to realize the communication interface coupling between the car and the cloud server. Monitor the car service functions through the middleware, determine the available services, and push the cloud service information when the communication is stable to perform intensity monitoring and data backup to ensure Accuracy and stability of the service.
The dynamic service method ensures the stability and accuracy of communication between vehicles and clouds, reduces the impact of service calls when the network is weak or offline, improves user experience, and increases the reliability and efficiency of services between vehicles and clouds.
Smart Images

Figure CN118764513A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of intelligent vehicle networking, and in particular to a vehicle-cloud dynamic service method, device and related equipment. Background Art
[0002] With the development of intelligent vehicle networking technology, the functions of service mobilization between vehicles and clouds are constantly increasing and expanding, and the cloud service side needs to adapt to more and more car models to provide services. In the process of the cloud service side providing earthwork services like vehicle-side services, in order to ensure the accuracy of the services provided, the cloud service side needs to accurately know what service functions are available for the vehicle currently obtaining cloud services. At the same time, it is also necessary to ensure that the vehicle side can know which service functions currently provided by the cloud service side can be used normally. However, in the current vehicle-to-cloud service mode, when the vehicle side is in a weak network or offline state, the cloud side cannot timely know the specific situation of the vehicle side, and will still respond to the vehicle side's previous vehicle-side service call conditions or continue to send service information to the vehicle side, but the vehicle side cannot correctly or timely obtain the corresponding service information, which will seriously affect the user's service experience on the vehicle side. However, there is no better way in the current industry to ensure that both ends of the vehicle-to-cloud service can obtain the working conditions of the other end in a timely and accurate manner to ensure the stability and accuracy of the vehicle-to-cloud service call. In view of this, how to provide a method for dynamic services between vehicles and clouds to ensure the stability and accuracy of vehicle-to-cloud service calls has become a technical problem that needs to be solved urgently in the industry. Summary of the invention
[0003] In view of this, an embodiment of the present application provides a vehicle-cloud dynamic service method, device and storage medium to at least partially solve the above-mentioned problems.
[0004] In a first aspect, an embodiment of the present application provides a vehicle-cloud dynamic service method, including:
[0005] Configuring a vehicle-to-cloud service proxy middleware, wherein the vehicle-to-cloud service proxy middleware can be coupled with the communication interface of the vehicle end and the cloud service end;
[0006] Using the vehicle-to-cloud service proxy middleware to monitor the service functions of the vehicle side, and determining the available vehicle-side services that can be called by the vehicle-to-cloud service proxy middleware;
[0007] Reporting available vehicle-side service information to the cloud through the vehicle-to-cloud service proxy middleware, so that the cloud determines available cloud services corresponding to the different vehicle-sides according to the available vehicle-side service information, wherein the cloud service at least includes at least one service among cloud service functions provided by a vehicle operator or a trusted third party;
[0008] Using the vehicle-to-cloud service proxy middleware to monitor the intensity of vehicle-to-cloud communication;
[0009] When the result of the intensity monitoring indicates that the communication between the vehicle and the cloud is stable, the service information generated by the available cloud service is pushed to the available vehicle-side service on the vehicle side through the vehicle-cloud service agent middleware.
[0010] Optionally, in an embodiment of the present application, the vehicle-to-cloud service proxy middleware includes at least a vehicle-side VAL service unit and a cloud-side VAL service unit, and the vehicle-side VAL service unit and the cloud-side VAL service unit can be communicatively connected;
[0011] The vehicle-side VAL service unit is configured to be coupled with the vehicle-side signal transceiver system, and the cloud-side VAL service unit is configured to be coupled with the cloud-side information transceiver system.
[0012] Optionally, in an embodiment of the present application, the using the vehicle-to-cloud service proxy middleware to perform strength monitoring on vehicle-to-cloud communication includes:
[0013] Configuring a heartbeat monitoring mechanism in the vehicle-to-cloud service proxy;
[0014] Based on the heartbeat monitoring mechanism, the vehicle-to-cloud service agent middleware is used to monitor the intensity of vehicle-to-cloud communication.
[0015] Optionally, in one embodiment of the present application, the method further includes: when the result of the intensity monitoring indicates that the vehicle-cloud communication is abnormal, clearing the available vehicle-side service information corresponding to the vehicle stored in the cloud through the vehicle-cloud service agent middleware, and generating a vehicle-side service offline notification to the cloud service.
[0016] Optionally, in an embodiment of the present application, the method further includes: when the result of the intensity monitoring indicates that the communication between the vehicle and the cloud remains stable for a period longer than a preset period, data backup and information maintenance are performed on the available vehicle-side service information obtained through the vehicle-cloud service agent middleware in the cloud.
[0017] Optionally, in an embodiment of the present application, reporting the available vehicle-side service information to the cloud through the vehicle-to-cloud service proxy middleware, so that the cloud determines the available cloud services corresponding to the different vehicles according to the available vehicle-side service information, includes:
[0018] Using the vehicle-to-cloud service proxy middleware to generate a list of available vehicle services corresponding to the vehicle side according to the available vehicle side services;
[0019] The available vehicle service list is sent to the cloud through the vehicle cloud service agent middleware, so that the cloud service end determines the available cloud services corresponding to the different vehicles according to the vehicle service list.
[0020] Optionally, in an embodiment of the present application, the available service information includes at least one of the vehicle-side service name information, service ID information, service instance information and service availability status.
[0021] Optionally, in an embodiment of the present application, before pushing the service information generated by the available cloud service to the available vehicle-side service of the vehicle-side through the vehicle-cloud service proxy middleware, the method further includes:
[0022] Using the vehicle cloud service proxy middleware to generate a cloud service list corresponding to the available cloud services and send it to the corresponding vehicle end;
[0023] Monitoring whether the vehicle end has received the cloud service list, and when it is determined that the vehicle end has not received the cloud service list, generating a request for obtaining the cloud service list and sending it to the cloud, so as to actively obtain the cloud service list from the cloud and store it locally on the vehicle end;
[0024] Correspondingly, the pushing of service information generated by the available cloud service to the available vehicle-side service of the vehicle-side through the vehicle-cloud service proxy middleware includes:
[0025] Based on the vehicle-to-cloud service agent middleware, the generated service information is actively obtained from the available cloud services included in the cloud service list through the available vehicle-side services of the vehicle-side.
[0026] In a second aspect, based on the vehicle-cloud dynamic service method described in the first aspect of the present application, the present application further provides a vehicle-cloud dynamic service device, including:
[0027] A configuration module, used to configure a vehicle-to-cloud service proxy middleware, wherein the vehicle-to-cloud service proxy middleware can be coupled with a communication interface between the vehicle end and the cloud service end;
[0028] An acquisition module, used to monitor the service functions of the vehicle side by using the vehicle-to-cloud service proxy middleware, and determine the available vehicle-side services that can be called by the vehicle-to-cloud service proxy middleware;
[0029] A transmission module, configured to report available vehicle-side service information to the cloud through the vehicle-cloud service proxy middleware, so that the cloud determines available cloud services corresponding to the different vehicle-sides according to the available vehicle-side service information, wherein the cloud service at least includes at least one service among cloud service functions provided by a vehicle operator or a trusted third party;
[0030] A monitoring module, used to monitor the strength of vehicle-cloud communication using the vehicle-cloud service proxy middleware;
[0031] The service module is used to push the service information generated by the available cloud service to the available vehicle-side service through the vehicle-cloud service agent middleware when the result of the intensity monitoring indicates that the communication between the vehicle and the cloud is stable.
[0032] In a third aspect, an embodiment of the present application also provides a computer storage medium having computer executable instructions stored thereon, and when the computer executable instructions are executed, any one of the vehicle-cloud dynamic service methods described in the first aspect of the present application is performed.
[0033] In a fourth aspect, an embodiment of the present application further provides an electronic device, including:
[0034] one or more processors;
[0035] a memory for storing one or more programs,
[0036] When the one or more programs are executed by the one or more processors, the one or more processors implement any one of the vehicle-cloud dynamic service methods described in the first aspect of the present application.
[0037] The present application provides a vehicle-cloud dynamic service method, apparatus and related equipment, which configures a vehicle-cloud service proxy middleware, which can be coupled with the communication interface of the vehicle side and the cloud service side; uses the vehicle-cloud service proxy middleware to monitor the service functions of the vehicle side, and determines the available vehicle-side services that can be called by the vehicle-cloud service proxy middleware; reports the available vehicle-side service information to the cloud through the vehicle-cloud service proxy middleware, so that the cloud side determines the available cloud services corresponding to the different vehicle sides according to the available vehicle-side service information, and the cloud service at least includes at least one service among the cloud service functions provided by the vehicle operator or a trusted third party; uses the vehicle-cloud service proxy middleware to monitor the intensity of vehicle-cloud communication; when the result of the intensity monitoring indicates that the communication between the vehicle and the cloud is stable, pushes the service information generated by the available cloud service to the available vehicle-side service of the vehicle side through the vehicle-cloud service proxy middleware. The dynamic service method between the vehicle and the cloud provided in the present application obtains the available services on the vehicle side through the configured middleware. Only when it is determined that the communication between the vehicle side and the cloud side remains stable, the other side is actively informed of the current available service information of the other side, so that the cloud side can provide the service information of the corresponding available services on the vehicle side to the vehicle side in real time, dynamically maintaining the stability of the service between the vehicle and the cloud, and reducing the probability of the cloud side still responding to the vehicle side's previous vehicle-side service call conditions or continuously sending service information to the vehicle side when the vehicle side is in a weak network or disconnected, thereby improving the user's vehicle service experience. BRIEF DESCRIPTION OF THE DRAWINGS
[0038] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments recorded in the embodiments of the present application. For ordinary technicians in this field, other drawings can also be obtained based on these drawings.
[0039] Figure 1 A schematic diagram of the workflow of a vehicle-cloud dynamic service method provided in an embodiment of the present application;
[0040] Figure 2 A schematic diagram of the structure of a vehicle-cloud dynamic service device provided in an embodiment of the present application;
[0041] Figure 3 A schematic diagram of the structure of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0042] In order to enable those skilled in the art to better understand the technical solutions in the embodiments of the present application, the technical solutions in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. All other embodiments obtained by ordinary technicians in this field based on the embodiments in the embodiments of the present application should fall within the scope of protection of the embodiments of the present application.
[0043] It should be understood that the various steps described in the method implementation of the present application can be performed in different orders and / or performed in parallel. In addition, the method implementation may include additional steps and / or omit the steps shown. The scope of the present application is not limited in this respect.
[0044] Embodiment 1
[0045] The present application embodiment provides a vehicle-cloud dynamic service method, such as Figure 1 As shown, Figure 1 A work flow chart of a vehicle-cloud dynamic service method provided in an embodiment of the present application, the vehicle-cloud dynamic service method includes:
[0046] Step S101, configure the vehicle-cloud service proxy middleware, which can be coupled with the communication interface of the vehicle end and the cloud service end. In the embodiment of the present application, the dynamic service proxy described in the embodiment of the present application is implemented by configuring the middleware, and there is no need to change the service functions and most of the service logic on the vehicle end or the cloud end, which reduces the development cycle and labor cost of realizing the dynamic service functions between the vehicle and the cloud, and the method can be universally adapted to most smart vehicles, thereby improving the user experience of using the vehicle and improving the market competitiveness of the vehicle.
[0047] Specifically, in an optional implementation of the present application, the above-mentioned vehicle-to-cloud service proxy middleware at least includes a vehicle-side VAL service unit and a cloud-side VAL service unit, and the vehicle-side VAL service unit and the cloud-side VAL service unit can be communicatively connected. Among them, the vehicle-side VAL service unit is configured to be coupled with the vehicle-side signal transceiver system, and is used to send, receive and transfer the vehicle-side communication information, and the cloud-side VAL service unit is configured to be coupled with the cloud-side information transceiver system, and is used to send, receive and transfer the cloud-related communication information. In the embodiment of the present application, by dividing the vehicle-to-cloud service proxy middleware into at least these two parts, it is convenient to configure an adaptable vehicle-side VAL service unit for different vehicle models or car series, which is used to establish stable and reliable communication with the cloud through the cloud-side VAL service unit, and further improve the applicability of the vehicle-to-cloud dynamic service method described in the embodiment of the present application.
[0048] Step S102: Use the vehicle-to-cloud service proxy middleware to monitor the service functions of the vehicle side, and determine the available vehicle-side services that can be called by the vehicle-to-cloud service proxy middleware. In the embodiment of the present application, the vehicle-to-cloud service proxy middleware is coupled with the service communication interface of the vehicle side, and is mainly responsible for functions such as detecting the service functions of the vehicle side, calling the service interface, and receiving information notifications, thereby realizing the detection of the working status of the vehicle-side service functions to determine the service functions of the vehicle side that can be proxied by the middleware. In this way, there is no need to edit and develop the underlying program code of the vehicle-side service functions, thereby reducing the development cost of the system.
[0049] Optionally, in an optional implementation of the embodiment of the present application, the available service information includes at least one of the service name information, service ID information, service instance information and service availability status of the vehicle. Among them, the service name information includes weather forecast service, road condition reminder service, etc., and the service ID information is the ID service information that the vehicle manufacturer uses to number different services when configuring the vehicle service system, and the service instance information is used for information related to the vehicle-side support of the SOME / IP protocol. In the embodiment of the present application, by obtaining this information, the available services in the vehicle can be uniquely located, thereby ensuring the accuracy of the service being called.
[0050] Step S103, the available vehicle-side service information is reported to the cloud through the vehicle-cloud service proxy middleware, so that the cloud determines the available cloud services corresponding to the different vehicle-sides according to the available vehicle-side service information, and the cloud service at least includes at least one service in the cloud service functions provided by the vehicle operator or a trusted third party. Among them, for example, the vehicle operator provides some basic service information about the vehicle, such as the version information of the vehicle control system, the official service quotation information, etc., and the trusted third party provides some extended services for the vehicle by establishing a trusted connection with the vehicle operator, such as weather information and road condition information, etc. The embodiment of the present application is only an exemplary description here, and will not be repeated one by one. In the actual application scenario of the embodiment of the present application, the cloud generally needs to access multiple different models or series of vehicles to provide services for these different models or series of vehicles, and the service functions configured on the vehicle side of different models or series of vehicles are different, and the service functions provided by the cloud that need to be obtained are also quite different. When calling services between the vehicle and the cloud, the cloud needs to know what service functions are configured on the vehicle side, and the vehicle side also needs to know what services the cloud can provide for itself adaptively. In the embodiment of the present application, the service functions detected on the vehicle side are actively reported to the cloud through the configured service proxy middleware, so that the cloud can promptly determine which vehicle the train needs to provide services for after the vehicle-cloud communication is established, and determine which corresponding services can be provided for the vehicle, thereby improving the accuracy of dynamic services between the vehicle and the cloud.
[0051] Optionally, in an implementation of the embodiment of the present application, the available vehicle-side service information is reported to the cloud through the vehicle-cloud service proxy middleware, so that the cloud determines the available cloud services corresponding to the different vehicles according to the available vehicle-side service information, including: using the vehicle-cloud service proxy middleware to generate a list of available vehicle services corresponding to the vehicle according to the available vehicle-side services; sending the available vehicle service list to the cloud through the vehicle-cloud service proxy middleware, so that the cloud service determines the available cloud services corresponding to the different vehicles according to the vehicle service list. Specifically, in the embodiment of the present application, the detected vehicle-side service is generated in the form of a vehicle-side service list by the vehicle-cloud service proxy middleware, and then reported to the cloud, so that the cloud can obtain orderly information related to the available vehicle-side services, for example, the aforementioned vehicle-side service name information, service ID information, service instance information and service availability status information can be organized into the form of a service list and then transmitted to the cloud, so as to ensure the accuracy of the vehicle-side service information obtained by the cloud. There is no need for the cloud to perform complex data analysis after obtaining available vehicle-side services to determine the service information on the vehicle side that can be called by the cloud, which can also improve the efficiency of dynamic services between the vehicle and the cloud.
[0052] Step S104, use the vehicle-cloud service proxy middleware to monitor the intensity of the vehicle-cloud communication. In the actual application scenario of the embodiment of the present application, the intensity monitoring is performed to determine the stability of the communication link established between the vehicle side and the cloud side. For example, if the intensity is greater than the preset threshold, it means that the communication between the two ends is stable. If the intensity is less than the preset threshold, it means that the vehicle side is in a weak network or the vehicle side is disconnected. At this time, if a service call is made, communication congestion or service delays may occur, affecting the user's service call experience. The embodiment of the present application monitors the intensity of the vehicle-cloud communication and implements corresponding dynamic service methods at different intensities to reduce the possibility of communication congestion or service delays.
[0053] Optionally, in an embodiment of the present application, the intensity monitoring of vehicle-cloud communication using the vehicle-cloud service proxy middleware includes: configuring a heartbeat monitoring mechanism in the vehicle-cloud service proxy middleware; based on the heartbeat monitoring mechanism, using the vehicle-cloud service proxy middleware to monitor the intensity of vehicle-cloud communication. In the embodiment of the present application, the heartbeat monitoring mechanism refers to monitoring the communication between the vehicle ends through a preset certain period, such as generating a heartbeat message through the vehicle-end VAL service unit carried by the vehicle end and sending it to the cloud. If the cloud sends a corresponding heartbeat reply to the vehicle end through the cloud-end VAL service unit after a preset time interval, it is considered that the intensity of the current vehicle-cloud communication is good, and the two ends can communicate stably. For example, the sending period of the heartbeat information can also be set to 30s. If the cloud does not receive the heartbeat information sent by the vehicle end for more than 30s, the cloud side can also consider that the current communication between the vehicle and the cloud is in an abnormal situation, such as the two-end communication is in a weak network or the vehicle end is disconnected. At this time, the service response to the vehicle is promptly closed, and the service information is not pushed to the vehicle. The embodiment of the present application is only an exemplary description of the heartbeat mechanism here, and does not mean that the present application is limited to this.
[0054] Optionally, in an implementation of the embodiment of the present application, the method further includes: when the result of the intensity monitoring indicates that the vehicle-cloud communication is abnormal, the available vehicle-side service information corresponding to the vehicle stored in the cloud is cleared by the vehicle-cloud service proxy middleware, and a vehicle-side service offline notification is generated to the cloud service. In this way, the service call and service information push for vehicles with weak networks or offline can be closed in time, while ensuring the accuracy of the vehicle-cloud service, reducing the ineffective utilization of cloud resources, saving cloud system resources, and providing better vehicle-cloud call or information push services for more vehicles.
[0055] Optionally, in an embodiment of the present application, the method further includes: when the result of the intensity monitoring indicates that the communication between the vehicle and the cloud remains stable for a period longer than a preset period, data backup and information maintenance are performed on the available vehicle-side service information obtained through the vehicle-cloud service agent middleware in the cloud.
[0056] Step S105: When the result of the intensity monitoring indicates that the communication between the vehicle and the cloud is stable, the service information generated by the available cloud service is pushed to the available vehicle-side service of the vehicle through the vehicle-cloud service proxy middleware. In the embodiment of the present application, only when the result of the intensity monitoring indicates that the communication between the vehicle and the cloud is stable, the service proxy or service information push between the vehicle and the cloud is performed, thereby effectively ensuring the accuracy and stability of the service between the vehicle and the cloud, avoiding the probability that data congestion or communication delay affects the operation of the vehicle-side service when it is not turned on or called, thereby improving the user's service experience.
[0057] Optionally, in an embodiment of the present application, before the service information generated by the available cloud service is pushed to the available vehicle-side service of the vehicle-side through the vehicle-cloud service proxy middleware, the method further includes: using the vehicle-cloud service proxy middleware to generate a cloud service list corresponding to the available cloud service and sending it to the corresponding vehicle-side, monitoring whether the vehicle-side has received the cloud service list, and when it is determined that the vehicle-side has not received the cloud service list, generating an acquisition request for obtaining the cloud service list and sending it to the cloud, so as to actively obtain the cloud service list from the cloud and store it locally on the vehicle-side. Correspondingly, pushing the service information generated by the available cloud service to the available vehicle-side service of the vehicle-side through the vehicle-cloud service proxy middleware includes: based on the vehicle-cloud service proxy middleware, actively obtaining the generated service information from the available cloud service included in the cloud service list through the available vehicle-side service of the vehicle-side. In the specific application scenario of the embodiment of the present application, the vehicle side can maintain a service list information about which services the vehicle can obtain from the cloud, so as to determine which service information provided by the cloud the vehicle needs to obtain, thereby avoiding the probability of the vehicle side obtaining information that is invalid for the vehicle or causing vehicle-side service errors due to obtaining invalid information, so as to further improve the accuracy of services between the vehicle and the cloud.
[0058] The present application provides a method for dynamic service between a vehicle and a cloud, which comprises configuring a vehicle-to-cloud service proxy middleware, wherein the vehicle-to-cloud service proxy middleware can be coupled with the communication interface between the vehicle side and the cloud service side; utilizing the vehicle-to-cloud service proxy middleware to monitor the service functions of the vehicle side, and determining the available vehicle-side services that can be called by the vehicle-to-cloud service proxy middleware; reporting the available vehicle-side service information to the cloud side through the vehicle-to-cloud service proxy middleware, so that the cloud side determines the available cloud services corresponding to the different vehicle sides according to the available vehicle-side service information, and the cloud services include at least one service among the cloud service functions provided by the vehicle operator or a trusted third party; utilizing the vehicle-to-cloud service proxy middleware to monitor the intensity of vehicle-to-cloud communication; and when the result of the intensity monitoring indicates that the communication between the vehicle and the cloud is stable, the vehicle-to-cloud service proxy middleware is used to push the service information generated by the available cloud service to the available vehicle-side services of the vehicle side. The dynamic service method between the vehicle and the cloud provided in the present application obtains the available services on the vehicle side through the configured middleware. Only when it is determined that the communication between the vehicle side and the cloud side remains stable, the other side is actively informed of the current available service information of the other side, so that the cloud side can provide the service information of the corresponding available services on the vehicle side to the vehicle side in real time, dynamically maintaining the stability of the service between the vehicle and the cloud, and reducing the probability of the cloud side still responding to the vehicle side's previous vehicle-side service call conditions or continuously sending service information to the vehicle side when the vehicle side is in a weak network or disconnected, thereby improving the user's vehicle service experience.
[0059] Embodiment 2
[0060] Based on the vehicle-cloud dynamic service method described in the first embodiment of the present application, the present application also provides a vehicle-cloud dynamic service device 20, such as Figure 2 As shown, Figure 2 A schematic diagram of the structure of a vehicle-cloud dynamic service device 20 provided in an embodiment of the present application, the vehicle-cloud dynamic service device 20 includes:
[0061] Configuration module 201, used to configure vehicle-to-cloud service proxy middleware, the vehicle-to-cloud service proxy middleware can be coupled with the communication interface of the vehicle end and the cloud service end;
[0062] An acquisition module 202 is used to monitor the service functions of the vehicle side by using the vehicle-to-cloud service proxy middleware, and determine the available vehicle-side services that can be called by the vehicle-to-cloud service proxy middleware;
[0063] A transmission module 203, configured to report the available vehicle-side service information to the cloud through the vehicle-cloud service proxy middleware, so that the cloud determines the available cloud services corresponding to the different vehicle-sides according to the available vehicle-side service information, wherein the cloud services at least include at least one service among the cloud service functions provided by the vehicle operator or a trusted third party;
[0064] A monitoring module 204, configured to monitor the strength of vehicle-cloud communication using the vehicle-cloud service proxy middleware;
[0065] The service module 205 is used to push the service information generated by the available cloud service to the available vehicle-side service through the vehicle-cloud service agent middleware when the result of the intensity monitoring indicates that the communication between the vehicle and the cloud is stable.
[0066] Optionally, the vehicle-to-cloud service agent middleware includes at least a vehicle-side VAL service unit and a cloud-side VAL service unit, and the vehicle-side VAL service unit and the cloud-side VAL service unit can be communicatively connected with each other; wherein, the vehicle-side VAL service unit is configured to be coupled with the vehicle-side signal transceiver system, and the cloud-side VAL service unit is configured to be coupled with the cloud-side information transceiver system.
[0067] Optionally, in an embodiment of the present application, the monitoring module 204 is further used to: based on the heartbeat monitoring mechanism, use the vehicle-cloud service agent middleware to perform intensity monitoring on the vehicle-cloud communication.
[0068] Optionally, in one embodiment of the present application, the device 20 also includes a notification module (not shown in the drawings), which is used to clear the available vehicle-side service information corresponding to the vehicle stored in the cloud through the vehicle-cloud service agent middleware when the result of the intensity monitoring indicates that the vehicle-cloud communication is abnormal, and generate a vehicle-side service offline notification to the cloud service.
[0069] Optionally, in one embodiment of the present application, the device 290 also includes a maintenance module (not shown in the drawings), which is used to perform data backup and information maintenance on the available vehicle-side service information obtained through the vehicle-cloud service agent middleware in the cloud when the result of the intensity monitoring indicates that the communication between the vehicle and the cloud remains stable for a period longer than a preset period.
[0070] Optionally, in one embodiment of the present application, the transmission module 203 is also used to: use the vehicle-to-cloud service agent middleware to generate a list of available vehicle services corresponding to the vehicle side according to the available vehicle-side services; send the list of available vehicle services to the cloud through the vehicle-to-cloud service agent middleware, so that the cloud service side determines the available cloud services corresponding to the different vehicles according to the vehicle service list.
[0071] Optionally, in an embodiment of the present application, the available service information includes at least one of the vehicle-side service name information, service ID information, service instance information and service availability status.
[0072] Optionally, in one embodiment of the present application, the device 20 further includes a detection module (not shown in the accompanying drawings), which is used to generate a cloud service list corresponding to the available cloud service using the vehicle-cloud service proxy middleware and send it to the corresponding vehicle-side before pushing the service information generated by the available cloud service to the available vehicle-side service on the vehicle-side through the vehicle-cloud service proxy middleware; monitor whether the vehicle-side receives the cloud service list, and when it is determined that the vehicle-side has not received the cloud service list, generate a request to obtain the cloud service list and send it to the cloud, so as to actively obtain the cloud service list from the cloud and store it locally on the vehicle-side. Correspondingly, the service module 205 is also used to actively obtain the generated service information from the available cloud services included in the cloud service list through the available vehicle-side service on the vehicle-side based on the vehicle-cloud service proxy middleware.
[0073] The present application provides a vehicle-cloud dynamic service device, which includes a configuration module for configuring a vehicle-cloud service proxy middleware, and the vehicle-cloud service proxy middleware can be coupled with the communication interface of the vehicle side and the cloud service side; an acquisition module is set to monitor the service functions of the vehicle side by using the vehicle-cloud service proxy middleware, and determine the available vehicle-side services that can be called by the vehicle-cloud service proxy middleware; a transmission module is set to report the available vehicle-side service information to the cloud side through the vehicle-cloud service proxy middleware, so that the cloud side determines the available cloud services corresponding to the different vehicle sides according to the available vehicle-side service information, and the cloud service includes at least one service among the cloud service functions provided by the vehicle operator or a trusted third party; a monitoring module is set to monitor the intensity of vehicle-cloud communication by using the vehicle-cloud service proxy middleware; a service module is set to push the service information generated by the available cloud service to the available vehicle-side service of the vehicle side through the vehicle-cloud service proxy middleware when the result of the intensity monitoring indicates that the communication between the vehicle and the cloud is stable. The device described in the embodiment of the present application has a simple structure and is easy to implement. The device obtains available services on the vehicle side through the configured middleware, and only when it is determined that the communication between the vehicle side and the cloud side remains stable, it actively informs the other side of the current available service information of the local side, so that the cloud side can provide service information corresponding to the available services on the vehicle side to the vehicle side in real time, dynamically maintaining the stability of the service between the vehicle and the cloud, and reducing the probability of the cloud side still responding to the vehicle side service call condition before the vehicle side or continuously sending service information to the vehicle side when the vehicle side is in a weak network or disconnected, thereby improving the user's vehicle service experience.
[0074] Embodiment 3
[0075] The present application also provides a storage medium on which a computer program is stored. When the program is executed by a processor, any one of the vehicle-cloud dynamic service methods described in the first embodiment of the present application is implemented. The vehicle-cloud dynamic service method includes but is not limited to:
[0076] Configuring a vehicle-to-cloud service proxy middleware, wherein the vehicle-to-cloud service proxy middleware can be coupled with the communication interface of the vehicle end and the cloud service end;
[0077] Using the vehicle-to-cloud service proxy middleware to monitor the service functions of the vehicle side, and determining the available vehicle-side services that can be called by the vehicle-to-cloud service proxy middleware;
[0078] Reporting available vehicle-side service information to the cloud through the vehicle-to-cloud service proxy middleware, so that the cloud determines available cloud services corresponding to the different vehicle-sides according to the available vehicle-side service information, wherein the cloud service at least includes at least one service among cloud service functions provided by a vehicle operator or a trusted third party;
[0079] Using the vehicle-to-cloud service proxy middleware to monitor the intensity of vehicle-to-cloud communication;
[0080] When the result of the intensity monitoring indicates that the communication between the vehicle and the cloud is stable, the service information generated by the available cloud service is pushed to the available vehicle-side service on the vehicle side through the vehicle-cloud service agent middleware.
[0081] Embodiment 4:
[0082] The present application also provides an electronic device, such as Figure 3 As shown, the electronic device includes:
[0083] One or more processors 301;
[0084] The memory 303 is used to store one or more programs.
[0085] When the one or more programs are instructed to be executed by the one or more processors 301 through the communication bus 304 based on the operation command received through the communication interface 302, the one or more processors 301 implement the vehicle-cloud dynamic service method as described in any one of the above embodiments. The vehicle-cloud dynamic service method includes but is not limited to:
[0086] Configuring a vehicle-to-cloud service proxy middleware, wherein the vehicle-to-cloud service proxy middleware can be coupled with the communication interface of the vehicle end and the cloud service end;
[0087] Using the vehicle-to-cloud service proxy middleware to monitor the service functions of the vehicle side, and determining the available vehicle-side services that can be called by the vehicle-to-cloud service proxy middleware;
[0088] Reporting available vehicle-side service information to the cloud through the vehicle-to-cloud service proxy middleware, so that the cloud determines available cloud services corresponding to the different vehicle-sides according to the available vehicle-side service information, wherein the cloud service at least includes at least one service among cloud service functions provided by a vehicle operator or a trusted third party;
[0089] Using the vehicle-to-cloud service proxy middleware to monitor the intensity of vehicle-to-cloud communication;
[0090] When the result of the intensity monitoring indicates that the communication between the vehicle and the cloud is stable, the service information generated by the available cloud service is pushed to the available vehicle-side service on the vehicle side through the vehicle-cloud service agent middleware.
[0091] So far, the application has described specific embodiments of the subject matter. Other embodiments are within the scope of the appended claims. In some cases, the actions recorded in the claims can be performed in a different order and still achieve the desired results. In addition, the processes depicted in the accompanying drawings do not necessarily require the specific order or sequential order shown to achieve the desired results. In some embodiments, multitasking and parallel processing can be advantageous.
[0092] In the 1990s, improvements to a technology could be clearly distinguished as hardware improvements (for example, improvements to the circuit structure of diodes, transistors, switches, etc.) or software improvements (improvements to the method flow). However, with the development of technology, many improvements to the method flow today can be regarded as direct improvements to the hardware circuit structure. Designers almost always obtain the corresponding hardware circuit structure by programming the improved method flow into the hardware circuit. Therefore, it cannot be said that an improvement in a method flow cannot be implemented using a hardware entity module. For example, a programmable logic device (PLD) (such as a field programmable gate array (FPGA)) is such an integrated circuit whose logical function is determined by the user's programming of the device. Designers can "integrate" a digital system layer on a PLD by programming it themselves, without having to ask a chip manufacturer to design and produce a dedicated integrated circuit chip. Moreover, nowadays, instead of manually making integrated circuit chips, this kind of programming is mostly implemented by "logic compiler" software, which is similar to the software compiler used when developing and writing programs, and the original code before compilation must also be written in a specific programming language, which is called hardware description language (HDL). There is not only one HDL, but many kinds, such as ABEL (Advanced Boolean Expression Language), AHDL (Altera Hardware Description Language), Confluence, CUPL (Cornell University Programming Language), HDCal, JHDL (Java Hardware Description Language), Lava, Lola, MyHDL, PALASM, RHDL (Ruby Hardware Description Language), etc. The most commonly used ones are VHDL (Very-High-Speed Integrated Circuit Hardware Description Language) and Verilog. Those skilled in the art should also know that it is only necessary to program the method flow slightly in the above-mentioned hardware description languages and program it into the integrated circuit, and then it is easy to obtain the hardware circuit that implements the logic method flow.
[0093] The controller can be implemented in any appropriate manner, for example, the controller can take the form of a microprocessor or processor and a computer-readable medium storing a computer-readable program code (such as software or firmware) that can be executed by the (micro)processor, a logic gate, a switch, an application-specific integrated circuit (ASIC), a programmable logic controller, and an embedded microcontroller. Examples of controllers include, but are not limited to, the following microcontrollers: ARC 625D, Atmel AT91SAM, Microchip PIC18F26K20, and Silicone Labs C8051F320. The memory controller can also be implemented as part of the control logic of the memory. Those skilled in the art also know that in addition to implementing the controller in a purely computer-readable program code manner, the controller can be implemented in the form of a logic gate, a switch, an application-specific integrated circuit, a programmable logic controller, and an embedded microcontroller by logically programming the method steps. Therefore, this controller can be considered as a hardware component, and the devices included therein for implementing various functions can also be regarded as structures within the hardware component. Or even, the devices for implementing various functions can be regarded as both software modules for implementing the method and structures within the hardware component.
[0094] The system layers, devices, modules or units described in the above embodiments may be implemented by computer chips or entities, or by products with certain functions. A typical implementation device is a computer. Specifically, the computer may be, for example, a personal computer, a laptop computer, a cellular phone, a camera phone, a smart phone, a personal digital assistant, a media player, a navigation device, an email device, a game console, a tablet computer, a wearable device, or a combination of any of these devices.
[0095] For the convenience of description, the above device is described in various units according to their functions. Of course, when implementing the present application, the functions of each unit can be implemented in the same or multiple software and / or hardware.
[0096] Those skilled in the art will appreciate that the embodiments of the present application may be provided as methods, system layers, or computer program products. Therefore, the present application may adopt the form of a complete hardware embodiment, a complete software embodiment, or an embodiment in combination with software and hardware. Moreover, the present application may adopt the form of a computer program product implemented in one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) that contain computer-usable program code.
[0097] It should also be noted that the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, commodity or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, commodity or device. In the absence of more restrictions, the elements defined by the sentence "comprises a ..." do not exclude the existence of other identical elements in the process, method, commodity or device including the elements.
[0098] The present application may be described in the general context of computer-executable instructions executed by a computer, such as program modules. Generally, program modules include routines, programs, objects, components, data structures, etc. that perform specific transactions or implement specific abstract data types. The present application may also be practiced in distributed computing environments where transactions are performed by remote processing devices connected through a communication network. In a distributed computing environment, program modules may be located in local and remote computer storage media, including storage devices.
[0099] Each embodiment in this specification is described in a progressive manner, and the same or similar parts between the embodiments can be referred to each other, and each embodiment focuses on the differences from other embodiments. In particular, for the system layer embodiment, since it is basically similar to the method embodiment, the description is relatively simple, and the relevant parts can be referred to the partial description of the method embodiment.
[0100] The above are only embodiments of the present application and are not intended to limit the present application. For those skilled in the art, the present application may have various changes and variations. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application should be included within the scope of the claims of the present application.
Claims
1. A vehicle-cloud dynamic service method, characterized in that: include: Configuring a vehicle-to-cloud service proxy middleware, wherein the vehicle-to-cloud service proxy middleware can be coupled with the communication interface of the vehicle end and the cloud service end; Using the vehicle-to-cloud service proxy middleware to monitor the service functions of the vehicle side, and determining the available vehicle-side services that can be called by the vehicle-to-cloud service proxy middleware; Reporting available vehicle-side service information to the cloud through the vehicle-to-cloud service proxy middleware, so that the cloud determines available cloud services corresponding to the different vehicle-sides according to the available vehicle-side service information, wherein the cloud service at least includes at least one service among cloud service functions provided by a vehicle operator or a trusted third party; Using the vehicle-to-cloud service proxy middleware to monitor the intensity of vehicle-to-cloud communication; When the result of the intensity monitoring indicates that the communication between the vehicle and the cloud is stable, the service information generated by the available cloud service is pushed to the available vehicle-side service on the vehicle side through the vehicle-cloud service agent middleware.
2. The vehicle-cloud dynamic service method according to claim 1, characterized in that: The vehicle-to-cloud service proxy middleware at least includes a vehicle-side VAL service unit and a cloud-side VAL service unit, and the vehicle-side VAL service unit and the cloud-side VAL service unit can be communicatively connected; The vehicle-side VAL service unit is configured to be coupled with the vehicle-side signal transceiver system, and the cloud-side VAL service unit is configured to be coupled with the cloud-side information transceiver system.
3. The vehicle-cloud dynamic service method according to claim 1, characterized in that: The using the vehicle-to-cloud service agent middleware to perform intensity monitoring on vehicle-to-cloud communication includes: Configuring a heartbeat monitoring mechanism in the vehicle-to-cloud service proxy; Based on the heartbeat monitoring mechanism, the vehicle-to-cloud service agent middleware is used to monitor the intensity of vehicle-to-cloud communication.
4. The vehicle-cloud dynamic service method according to claim 1, characterized in that: The method also includes: when the result of the intensity monitoring indicates that the vehicle-cloud communication is abnormal, the available vehicle-side service information corresponding to the vehicle stored in the cloud is cleared by the vehicle-cloud service agent middleware, and a vehicle-side service offline notification is generated to the cloud service.
5. The vehicle-cloud dynamic service method according to claim 1, characterized in that: The method also includes: when the result of the intensity monitoring indicates that the communication between the vehicle and the cloud remains stable for a period longer than a preset period, data backup and information maintenance are performed on the available vehicle-side service information obtained through the vehicle-cloud service agent middleware in the cloud.
6. The vehicle-cloud dynamic service method according to claim 1, characterized in that: The reporting of available vehicle-side service information to the cloud through the vehicle-to-cloud service agent middleware, so that the cloud determines available cloud services corresponding to the different vehicles according to the available vehicle-side service information, includes: Using the vehicle-to-cloud service proxy middleware to generate a list of available vehicle services corresponding to the vehicle side according to the available vehicle side services; The available vehicle service list is sent to the cloud through the vehicle cloud service agent middleware, so that the cloud service end determines the available cloud services corresponding to the different vehicles according to the vehicle service list.
7. The vehicle-cloud dynamic service method according to claim 1, characterized in that: The available service information includes at least one of the vehicle-side service name information, service ID information, service instance information and service availability status.
8. The vehicle-cloud dynamic service method according to claim 1, characterized in that: Before pushing the service information generated by the available cloud service to the available vehicle-side service of the vehicle-side through the vehicle-cloud service proxy middleware, the method further includes: Using the vehicle cloud service proxy middleware to generate a cloud service list corresponding to the available cloud services and send it to the corresponding vehicle end; Monitoring whether the vehicle end has received the cloud service list, and when it is determined that the vehicle end has not received the cloud service list, generating a request for obtaining the cloud service list and sending it to the cloud, so as to actively obtain the cloud service list from the cloud and store it locally on the vehicle end; Correspondingly, the pushing of service information generated by the available cloud service to the available vehicle-side service of the vehicle-side through the vehicle-cloud service proxy middleware includes: Based on the vehicle-to-cloud service agent middleware, the generated service information is actively obtained from the available cloud services included in the cloud service list through the available vehicle-side services of the vehicle-side.
9. A vehicle-cloud dynamic service device, characterized in that: include: A configuration module, used to configure a vehicle-to-cloud service proxy middleware, wherein the vehicle-to-cloud service proxy middleware can be coupled with a communication interface between the vehicle end and the cloud service end; An acquisition module, used to monitor the service functions of the vehicle side by using the vehicle-to-cloud service proxy middleware, and determine the available vehicle-side services that can be called by the vehicle-to-cloud service proxy middleware; A transmission module, configured to report available vehicle-side service information to the cloud through the vehicle-cloud service proxy middleware, so that the cloud determines available cloud services corresponding to the different vehicle-sides according to the available vehicle-side service information, wherein the cloud service at least includes at least one service among cloud service functions provided by a vehicle operator or a trusted third party; A monitoring module, used to monitor the strength of vehicle-cloud communication using the vehicle-cloud service proxy middleware; The service module is used to push the service information generated by the available cloud service to the available vehicle-side service through the vehicle-cloud service agent middleware when the result of the intensity monitoring indicates that the communication between the vehicle and the cloud is stable.
10. A computer storage medium, characterized in that: The computer storage medium stores computer executable instructions, which, when executed, execute the vehicle-cloud dynamic service method as described in any one of claims 1-8.
