Vehicle control method and device, electronic equipment and vehicle

By introducing composite services under a service-oriented architecture into vehicles, decoupling and unified scheduling between vehicle services are achieved, solving the failure problem caused by signal loss in joint operations, improving operational flexibility and reliability, and providing an intelligent and user-friendly experience.

CN119766852BActive Publication Date: 2026-06-19GREAT WALL MOTOR CO LTD

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
GREAT WALL MOTOR CO LTD
Filing Date
2024-12-20
Publication Date
2026-06-19

AI Technical Summary

Technical Problem

During the joint operation of different services in a vehicle, signal loss can lead to the failure of the joint operation, resulting in a poor user experience and the risk of data loss.

Method used

By employing a service-oriented architecture (SOA) to arbitrate and combine multiple vehicle services, the number of interactions is reduced, decoupling between vehicle services is achieved, and operation requests from various vehicle services are uniformly scheduled through the combined service. Flags and environmental information are set to optimize the operation logic.

Benefits of technology

It enhances the flexibility and reliability of joint vehicle service operations, reduces the possibility of signal and data loss, provides an intelligent and user-friendly experience, and ensures the normal operation of vehicle services in the event of a failure.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119766852B_ABST
    Figure CN119766852B_ABST
Patent Text Reader

Abstract

This application relates to the field of vehicle technology, providing a vehicle control method, apparatus, electronic device, and vehicle, comprising: in response to receiving a joint operation request for multiple vehicle services, sending a first operation request to each vehicle service respectively, so that each vehicle service detects whether it meets the preconditions corresponding to the first operation request, and if so, sends a success message. Simultaneously, each vehicle service directly executes the first operation request. In the joint operation process of this application, loose coupling is achieved between vehicle services; different vehicle services do not need to interact, reducing the number of data transmissions, lowering the possibility of signal and data loss, and improving the flexibility and reliability of joint operation between different vehicle services.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of vehicle technology, and more particularly to a vehicle control method, device, electronic equipment, and vehicle. Background Technology

[0002] As vehicle technology advances, users' demands for ease of vehicle operation are also increasing. The combined operation of different service configurations within the vehicle provides users with significant convenience; for example, the ability to simultaneously memorize and adjust the rearview mirrors and seats.

[0003] However, if a signal is lost during joint operations, it will not only lead to the failure of the joint operations, but also to data loss, resulting in a poor user experience. Summary of the Invention

[0004] In view of this, the purpose of this application is to provide a vehicle control method, device, electronic device and vehicle to solve the problem of signal loss leading to failure of joint operation of different services in a vehicle.

[0005] To achieve the above objectives, the first aspect of this application provides a vehicle control method, comprising:

[0006] In response to receiving a joint operation request for multiple vehicle services, a first operation request is sent to each vehicle service respectively, so that the vehicle service can detect whether it meets the preconditions corresponding to the first operation request. If it does, it sends a success message and executes the first operation request to realize the joint operation of multiple vehicle services.

[0007] Multiple vehicle services that meet the prerequisites for executing the first operation request will directly execute the first operation request. These services execute in parallel, thus achieving joint operation. In existing technologies, multiple vehicle services are coupled, meaning there are multiple interaction processes between them. Compared to existing technologies, in the joint operation process of this application, each vehicle service only interacts with the combined service; different vehicle services do not need to interact with each other. This achieves decoupling and loose coupling between vehicle services, reducing the number of data transmissions, lowering the possibility of signal and data loss, and improving the flexibility and reliability of joint operation between different vehicle services.

[0008] Optionally, after sending the first operation request to each vehicle service, the method further includes:

[0009] Determine whether a success message has been received from each vehicle service.

[0010] In response to determining that a success message has not been received from each vehicle service, a second operation request is sent to the vehicle service that did not send a success message; wherein the second operation request is used to instruct the vehicle service not to perform any operation or to perform a default operation.

[0011] Sending a second operation request to the vehicle service that did not send a success message can prevent the faulty vehicle service from performing any operations, thus avoiding further damage to vehicle components. It also prevents all vehicle services from failing due to the failure of some vehicle services, increasing the flexibility of collaborative operations.

[0012] Optionally, after determining whether a success message has been received from each vehicle service, the following may also be included:

[0013] In response to determining that no success message has been received from each vehicle service, the system exits the joint operation request and sends feedback to the user regarding the vehicle services for which no success message was sent.

[0014] Feedback can alert users to troubleshoot the vehicle service. Users can clearly understand the reason for the failure of this joint operation and promptly restore the normal function of the faulty vehicle service to avoid affecting the safe operation of the vehicle in the future.

[0015] Optionally, determine if not all successful reception messages from vehicle service feedback have been received, including:

[0016] In response to receiving a success message from any one of the multiple vehicle services, the flag corresponding to that vehicle service is adjusted to a preset identifier.

[0017] The system counts the flags corresponding to each vehicle service. If a flag is not a preset flag, it indicates that not all vehicle service feedback messages have been received.

[0018] By setting flags, it is easy to combine services to statistically analyze the information sent by each vehicle service. During the process of receiving information from each vehicle service, there is no need for real-time statistics and identification of information; only a single statistical analysis of all flags is required after a preset time interval. This reduces the logical judgment time of the combined service, thereby reducing the computational resource consumption of the combined service.

[0019] Optionally, the method includes:

[0020] Obtain environmental information around the vehicle and determine whether the control information indicated by the first operation request is the same as the preset control information corresponding to the environmental information. If they are different, adjust the first operation request according to the preset control information.

[0021] The system assesses the rationality of the first operation request based on environmental information. If it is deemed unreasonable, the system flexibly adjusts the first operation request to match the current environment. This avoids the problem of insufficient intelligent adjustment of control information when there is a significant difference between the user's previous and current driving environments, thus providing users with a more comfortable and intelligent riding experience.

[0022] Optionally, the method includes:

[0023] Obtain the current scene mode of the vehicle and determine whether there is a conflict between the control information indicated by the first operation request and the scene control information corresponding to the scene mode. If there is a conflict, adjust the first operation request according to the scene control information.

[0024] Adjusting the first operation request based on the scenario mode can avoid errors in the vehicle-side control logic and optimize the vehicle-side control logic. Prioritizing the control requirements of the current scenario mode, avoiding disruption to the normal operation of the scenario mode, and flexibly adjusting the first operation request provides users with a more intelligent and user-friendly service.

[0025] Optionally, the scene mode includes a low-power mode; the multiple vehicle services include seat heating service, seat ventilation service, and air conditioning activation service; adjusting the first operation request according to the scene control information includes:

[0026] Based on the scenario control information of the low power mode, the first operation request of the seat heating service is adjusted to a heating level lower than the preset heating level, the first operation request of the seat ventilation service is adjusted to a ventilation level lower than the preset ventilation level, and the first operation request of the air conditioning turn-on service is adjusted to turn off the air conditioning.

[0027] When the vehicle has low remaining energy, the system can prioritize meeting the control requirements of the scenario mode, reduce unnecessary energy consumption, maximize the vehicle's range, and achieve the goal of intelligently adjusting the first operation request.

[0028] Optionally, the method further includes:

[0029] If no information is received from any of the multiple vehicle services within a preset time period, the flag position corresponding to the vehicle service is set as the second identifier.

[0030] This facilitates unified management of vehicle services. The combined services can clearly determine whether each vehicle service is currently in a normal state and accurately send the second operation request type to the vehicle service based on the current state of each vehicle service.

[0031] Optionally, in response to not receiving information from any of the multiple vehicle services within a preset time period, the flag position corresponding to the vehicle service is set to a third identifier.

[0032] For vehicle services with different response statuses, the flag is set to the corresponding identifier. When the combined service sends an operation request again, it can issue targeted operation requests for vehicle services with different response statuses, thus achieving the goal of flexibly controlling each vehicle service through the combined service.

[0033] A second aspect of this application also provides a vehicle control device, comprising:

[0034] The first sending module is configured to, in response to receiving a joint operation request for multiple vehicle services, send a first operation request to each vehicle service respectively, so that the vehicle service can detect whether it meets the preconditions corresponding to the first operation request. If it does, it sends a successful reception message and executes the first operation request to realize the joint operation of multiple vehicle services.

[0035] A third aspect of this application provides an electronic device including a memory, a processor, and a computer program stored in the memory and executable by the processor, wherein the processor, when executing the computer program, implements the method as described in the first aspect.

[0036] A fourth aspect of this application also provides a non-transitory computer-readable storage medium storing computer instructions for causing a computer to perform the method as described in the first aspect.

[0037] The fifth aspect of this application also provides a vehicle that includes electronic equipment as described in the third aspect.

[0038] As can be seen from the above, the vehicle control method, device, electronic device, and vehicle provided in this application are applied to combined services. The method includes: in response to receiving a joint operation request for multiple vehicle services, sending a first operation request to each vehicle service respectively, so that each vehicle service can detect whether it meets the preconditions corresponding to the first operation request. If it does, it sends a success message. When sending the first operation request to each vehicle service, each vehicle service will check whether its current state meets the preconditions corresponding to the first operation request. If it does, it means that the vehicle service can execute the first operation request, and it will send back a success message. At the same time, each vehicle service directly executes the first operation request. That is, multiple vehicle services that meet the preconditions for executing the first operation request will directly execute the first operation request, and multiple vehicle services will execute in parallel, thereby realizing the joint operation of multiple vehicle services. In the prior art, multiple vehicle services are coupled, that is, there are multiple interaction processes between vehicle services. Compared to existing technologies, in the joint operation process of this application, each vehicle service only interacts with the combined service, and there is no need for different vehicle services to interact with each other. The vehicle services are decoupled, reducing the number of data transmissions, lowering the possibility of signal and data loss, and improving the flexibility and reliability of joint operation of different vehicle services. Attached Figure Description

[0039] To more clearly illustrate the technical solutions in this application or related technologies, the drawings used in the description of the embodiments or related technologies will be briefly introduced below. Obviously, the drawings described below are only embodiments of this application. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.

[0040] Figure 1 This is a schematic flowchart of a vehicle control method according to an embodiment of this application;

[0041] Figure 2 This is a schematic diagram of the vehicle control device according to an embodiment of this application;

[0042] Figure 3 This is a schematic diagram of the hardware structure of an electronic device according to an embodiment of this application. Detailed Implementation

[0043] To make the objectives, technical solutions, and advantages of this application clearer, the following detailed description is provided in conjunction with specific embodiments and the accompanying drawings.

[0044] It should be noted that, unless otherwise defined, the technical or scientific terms used in the embodiments of this application should have the ordinary meaning understood by one of ordinary skill in the art to which this application pertains. The terms "first," "second," and similar terms used in the embodiments of this application do not indicate any order, quantity, or importance, but are merely used to distinguish different components. Terms such as "comprising" or "including" mean that the element or object preceding the word encompasses the elements or objects listed after the word and their equivalents, without excluding other elements or objects. Terms such as "connected" or "linked" are not limited to physical or mechanical connections, but can include electrical connections, whether direct or indirect. Terms such as "upper," "lower," "left," and "right" are only used to indicate relative positional relationships; when the absolute position of the described object changes, the relative positional relationship may also change accordingly.

[0045] As described in the background section, existing vehicles offer integrated operation of different vehicle services to provide users with convenient vehicle control. For example, the integrated operation of the seat and rearview mirror allows users to link and remember or recall these functions while using the vehicle. However, in existing integrated operation processes, frequent interactions between different vehicle services are required to complete the operation. Taking the integrated memory of the seat and rearview mirror as an example, after receiving the instruction, the seat service first determines whether it meets the memory conditions. If so, it sends the instruction to the rearview mirror service. Upon receiving the instruction, the rearview mirror service determines whether it meets the memory conditions. If so, it sends a signal to the seat service indicating it is ready for integrated memory. The seat service then executes the instruction. During this process, the seat and rearview mirror services need to interact multiple times, and signal loss may occur, leading to memory failure and preventing the integrated memory from executing correctly. Furthermore, if either the seat or rearview mirror service malfunctions, the integrated memory data will be lost simultaneously, resulting in a poor user experience.

[0046] To address the aforementioned issues, this application proposes a vehicle control method based on a Service-Oriented Architecture (SOA) framework. This architecture, from bottom to top, includes at least a device layer, an atomic service layer, a composite service layer, and an application layer. Specifically, a composite service is configured within the composite service layer to arbitrate and combine multiple vehicle services (i.e., the basic services located in the atomic service layer). This provides more powerful and efficient functionality, reduces the risk of joint operation failures or data loss due to problems with individual vehicle services, and ensures the normal operation of joint operations.

[0047] The embodiments of this application will be described in detail below with reference to the accompanying drawings.

[0048] This application proposes a vehicle control method applied to combined services, referencing... Figure 1 This includes the following steps:

[0049] Step 102: In response to receiving a joint operation request for multiple vehicle services, a first operation request is sent to each vehicle service respectively, so that the vehicle service can detect whether it meets the preconditions corresponding to the first operation request. If it does, a successful reception message is sent and the first operation request is executed to realize the joint operation of multiple vehicle services.

[0050] Specifically, the method in this embodiment is applied to composite services under an SOA architecture. Vehicle services are fundamental services under SOA. Vehicle services provide calling interfaces to composite services, enabling composite services to invoke vehicle services. Composite services perform unified arbitration for different vehicle services. Users can invoke composite services through the in-vehicle human-machine interface screen or automatically invoke them under certain scenario modes. When a composite service receives a joint operation request for multiple vehicle services, it sends a corresponding first operation request to each vehicle service based on the joint operation request. For example, the first operation request sent by the composite service to the seat service is to heat the seat at a certain temperature; the first operation request sent by the composite service to the air conditioning service is to turn on the air conditioning at a certain temperature. Different vehicle services have different corresponding first operation requests, and the composite service needs to send corresponding first operation requests to different vehicle services. When a vehicle service receives a first operation request, it first determines whether the vehicle service meets the preconditions corresponding to the first operation request. Preconditions are conditions that must be met for a vehicle service to execute the first operation request. Specifically, preconditions may include that the vehicle service is not faulty or that the vehicle service is in a callable state. If the vehicle service is faulty or in an uncallable state (such as a locked state in a specific scenario mode), then the vehicle service does not meet the preconditions.

[0051] When the vehicle service determines that the preconditions are met, it sends a success message to the composite service, indicating that the vehicle service can execute the first operation request and that the preconditions for executing the first operation request are met. Conversely, if the vehicle service determines through its own detection that the preconditions are not met, it can send a failure message to the composite service. If the vehicle service is faulty, there is a possibility that it will be unable to send any information to the composite service.

[0052] After a vehicle service sends a success message to the combining service, it can directly execute the first operation request without waiting for a reply from the combining service. When multiple vehicle services meet the preconditions, they execute the first operation request in parallel, thus achieving joint operation of the vehicle services. During this process, different vehicle services do not need to exchange signals; each vehicle service only interacts with the combining service. Compared to the prior art where multiple coupled vehicle services require multiple interactions, this embodiment eliminates signal exchange between multiple vehicle services during joint operation, achieving decoupling between them. Simultaneously, this decoupling reduces the number and amount of signal exchanges, decreasing the possibility of signal and data loss.

[0053] Furthermore, before each vehicle service executes the first operation request, if each vehicle service sends a success message to the combined service, and the combined service confirms that it has received all success messages, to ensure that vehicle services meeting the preconditions can execute the first operation request synchronously, the combined service can also simultaneously resend the first operation request to each vehicle service. This allows the vehicle service to execute the first operation request only after receiving it a second time. In specific implementation, after receiving the first operation request for the first time, each vehicle service can change its state to a ready state if it determines that it meets the preconditions for executing the first operation request. When a vehicle service receives the first operation request a second time, if its state is ready, it directly executes the first operation request. If its state is not ready, it does not execute the first operation request. When each vehicle service begins executing the first operation request, parallel operation of multiple vehicle services is achieved, that is, the joint operation of multiple vehicle services is completed.

[0054] Furthermore, the vehicle service includes a first service and a second service, and the joint operation request includes a joint memory request. Upon receiving the joint memory request, the combined service sends a first operation request to both the first and second services. Specifically, the first operation request sent to the first service may be a current location memory request corresponding to the first service. Similarly, the first operation request sent to the second service may be a current location memory request corresponding to the second service. Upon receiving the first operation request, the first service determines whether it meets the preconditions for executing the first operation request. If so, it sends a success message to the combined service and executes the first operation request. Likewise, upon receiving the first operation request, the second service determines whether it meets the preconditions for executing the first operation request. If so, it sends a success message to the combined service and executes the first operation request.

[0055] Alternatively, after receiving the successful reception information sent by the first service and the second service, the combined service sends the first operation request to the first service and the second service again. After receiving the first operation request for the second time, the first service and the second service immediately execute the first operation request, thus realizing the joint memory operation of the first service and the second service.

[0056] For example, the first service is a seat service, the second service is a rearview mirror service, and the joint operation request is a joint memory request. After receiving the joint memory request, the combined service sends a first operation request to both the seat service and the rearview mirror service. Specifically, the first operation request sent to the seat service can be a request to remember the current seat position. Similarly, the first operation request sent to the rearview mirror service can be a request to remember the current rearview mirror position. Upon receiving the first operation request, the seat service determines whether it meets the preconditions for executing the first operation request. If so, it sends a success message to the combined service. Likewise, upon receiving the first operation request, the rearview mirror service determines whether it meets the preconditions for executing the first operation request. If so, it sends a success message to the combined service. After receiving the success messages from both the seat service and the rearview mirror service, the combined service sends the first operation request to both services again. Upon receiving the first operation request a second time, the seat service and the rearview mirror service immediately execute the first operation request, thus realizing the joint memory operation between the seat service and the rearview mirror service.

[0057] For example, the vehicle service includes a seat service and a rearview mirror service, and the joint operation request is a joint retrieval request. After receiving the joint retrieval request, the combined service sends a first operation request to both the seat service and the rearview mirror service. Specifically, the first operation request sent to the seat service can be to retrieve the seat's memory location. Similarly, the first operation request sent to the rearview mirror service can be to retrieve the rearview mirror's memory location. Upon receiving the first operation request, the seat service determines whether it meets the preconditions for executing the first operation request. If so, it sends a success message to the combined service. Likewise, upon receiving the first operation request, the rearview mirror service determines whether it meets the preconditions for executing the first operation request. If so, it sends a success message to the combined service. After receiving the success messages from the seat service and the rearview mirror service, the combined service sends the first operation request again to both services. Upon receiving the first operation request a second time, the seat service and the rearview mirror service immediately execute the first operation request, thus realizing the joint retrieval operation of the seat service and the rearview mirror service.

[0058] It should be noted that the combined service can be expanded beyond just the linkage operation of seat and rearview mirror services. The combined service can also perform logical control on more vehicle services. For example, when it is necessary to remember multiple vehicle services such as windows, seats, and rearview mirrors, each vehicle service only needs to provide a memory interface to achieve the effect of linkage memory of multiple vehicle services. This reduces the number of signal interactions, lowers the possibility of memory data loss, and enhances the flexibility and reliability between various vehicle services.

[0059] Based on steps 102 to 104 above, the vehicle control method provided in this embodiment is applied to combined services. The method includes: in response to receiving a joint operation request for multiple vehicle services, sending a first operation request to each vehicle service respectively, so that each vehicle service can detect whether it meets the preconditions corresponding to the first operation request. If it does, it sends a success message. When sending the first operation request to each vehicle service, each vehicle service will check whether its current state meets the preconditions corresponding to the first operation request. If it does, it means that the vehicle service can execute the first operation request, and then sends a success message. At the same time, each vehicle service directly executes the first operation request. That is, multiple vehicle services that meet the preconditions for executing the first operation request will directly execute the first operation request, and multiple vehicle services will execute in parallel, thereby realizing the joint operation of multiple vehicle services. In the prior art, multiple vehicle services are coupled, that is, there are multiple interaction processes between vehicle services. Compared to existing technologies, in the joint operation process of this application, each vehicle service only interacts with the combined service, and there is no need for different vehicle services to interact with each other. The vehicle services are decoupled, reducing the number of data transmissions, lowering the possibility of signal and data loss, and improving the flexibility and reliability of joint operation of different vehicle services.

[0060] It should be noted that the combined service can also monitor the execution status of joint operations in real time. If the vehicle service successfully executes the first operation request, the combined service will send a success signal to other requesting parties or display it on the vehicle's screen. Alternatively, the combined service can also provide feedback to the user regarding failed vehicle services and the reasons for failure. Users can promptly understand the execution status of joint operations and the reasons for failure.

[0061] The foregoing embodiments described the process when the combined service receives successful reception information from all vehicle services. The following specific embodiments describe the handling method when the combined service does not receive successful reception information from all vehicle services.

[0062] In some embodiments, after sending a first operation request to each vehicle service, the method further includes:

[0063] Determine whether a success message has been received from each vehicle service.

[0064] In response to determining that a success message has not been received from each vehicle service, a second operation request is sent to the vehicle service that did not send a success message; wherein the second operation request is used to instruct the vehicle service not to perform any operation or to perform a default operation.

[0065] Specifically, after a vehicle service checks whether it meets the preconditions corresponding to the first operation request, it may send a success message, a failure message, or be unable to send any message to the combined service. The combined service determines whether it has received a success message from each vehicle service. If it has not received a success message from each vehicle service, in order not to affect the normal operation of the vehicle services executing the first operation request, the combined service sends the first operation request to the vehicle services that sent the success message, and sends a second operation request to the vehicle services that sent the failure message or did not send any message. The second operation request is used to instruct the vehicle services not to perform any operation or to perform the default operation. When the second operation request instructs not to perform any operation, the vehicle service maintains its current state. When the second operation request instructs to perform the default operation, the vehicle service performs the default operation, such as restoring the vehicle service to its default state. The default state can be the basic state set when the vehicle leaves the factory, or the state most frequently used by the user. Based on the method of this embodiment, when some vehicle services can execute the first operation request normally, those services can be controlled to execute the first operation request; when other vehicle services cannot execute the first operation request normally, those services can be controlled to execute the second operation request. This avoids the failure of all vehicle services due to the failure of some vehicle services, increasing the flexibility of joint operation. After determining that some vehicle services cannot execute the first operation request, the faulty vehicle services can be prevented from performing any operation, avoiding further damage to vehicle parts. Alternatively, the faulty vehicle services can be made to perform a default operation instead of executing the first operation request, meeting the user's needs for joint operation. If the user is not satisfied with the default operation, they can manually adjust it.

[0066] The method in this embodiment can ensure that normal vehicle services can execute the first operation request and faulty vehicle services can execute the second operation request when there are some faulty vehicle services, providing users with maximum convenience and avoiding a state where all vehicle services are unresponsive when the joint operation fails.

[0067] The following specific examples describe how the combined service determines if not all vehicle service feedback has been received.

[0068] In some embodiments, determining that not all vehicle service feedback has been received includes:

[0069] In response to receiving a success message from any one of the multiple vehicle services, the flag corresponding to that vehicle service is adjusted to a preset identifier.

[0070] The system counts the flags corresponding to each vehicle service. If a flag is not a preset flag, it indicates that not all vehicle service feedback messages have been received.

[0071] Specifically, in the combined service, each vehicle service has a corresponding flag. When a successful reception message is received from a vehicle service, its flag is adjusted to a preset flag, indicating that the vehicle service has sent a successful reception message. After a preset time, the combined service will statistically analyze the flags of all vehicle services involved in the joint operation request. If a flag that is not the preset flag exists, it indicates that a vehicle service has not sent a successful reception message, such as sending a failed reception message or not sending any message at all. In this case, the combined service determines that it has not received successful reception messages from all vehicle services.

[0072] For example, in response to receiving a successful reception message from any one of the multiple vehicle services, the flag corresponding to that vehicle service is set to a first identifier. The first identifier can be a letter or a number. For example, the first identifier is 1. In response to receiving a failed reception message from any one of the multiple vehicle services, the flag corresponding to that vehicle service is set to a second identifier. The second identifier can be a letter or a number. For example, the second identifier is 0. After all vehicle services have finished sending messages, the combined service counts the identifiers of all flag bits. If it is determined that a second identifier exists, it is determined that no successful reception messages from all vehicle services have been received.

[0073] It should be noted that a preset duration can be set to determine whether all vehicle services have finished sending messages, such as a preset duration of 1 second. After the preset duration, the combined service considers all vehicle services to have finished sending messages. Then, it iterates through all flags to determine if a second flag exists. If no message is received from any of the multiple vehicle services within the preset duration, the flag corresponding to that vehicle service is also set to the second flag, meaning that vehicle service is considered to have sent a reception failure message. This facilitates unified management of vehicle services, allowing the combined service to clearly understand whether each vehicle service is currently in a normal state and accurately send a second operation request type to each vehicle service based on its current state.

[0074] In another specific embodiment, in response to not receiving information from any of the multiple vehicle services within a preset time period, the flag position corresponding to the arbitrary vehicle service is set to a third identifier.

[0075] The third identifier is set to the flag position corresponding to a vehicle service that has not sent any information within a preset time period. This third identifier can be a letter or a number. For example, the first identifier is 2. This allows for accurate differentiation of vehicle services in different states using different identifiers. For vehicle services with the first identifier, the combined service resends the first operation request. For vehicle services with the second identifier, the combined service sends a second operation request. Since the vehicle service has explicitly reported an error, the second operation request can either perform no operation or perform a default operation. The default operation can be the operation corresponding to when the vehicle service activates its self-protection mechanism.

[0076] For vehicle services with the third identifier, the combined service sends a third operation request. Since the vehicle service does not respond with any information, this could be due to communication interference or a malfunction in the vehicle service itself. Therefore, the third operation request can be the same as the first operation request. If the vehicle service executes the third operation request normally after receiving it, the communication interference problem is ruled out. If the vehicle service still does not execute the third operation request after receiving it, a malfunction in the vehicle service itself is determined. Alternatively, the third operation request can be to perform no operation or execute the default operation, thereby avoiding the problem of damage to vehicle components caused by the vehicle service executing the operation request in the event of a malfunction.

[0077] By using the method in this embodiment, a flag is set to a corresponding identifier for vehicle services with different response statuses. When the combined service sends an operation request again, it can issue targeted operation requests for vehicle services with different response statuses, thereby achieving the goal of flexibly controlling each vehicle service through the combined service.

[0078] In this embodiment, by setting flag bits, it is convenient to combine services to statistically analyze the information sent by each vehicle service. During the process of successively receiving information sent by each vehicle service, there is no need for real-time statistics and identification of information status; only a single statistical analysis of all flag bits is required after a preset time period. This reduces the logical judgment time of the combined service, thereby reducing the computational resource consumption of the combined service. Since the flag bit identifiers correspond one-to-one with the type of the second sent operation request (first identifier corresponds to the first operation request, second identifier corresponds to the second operation request), determining the type of the second sent operation request based on the flag bit identifiers can reduce the probability of erroneous operation request sending, optimize the execution logic of the joint operation, and reduce the error rate.

[0079] In addition to sending a second operation request to vehicle services that did not send a successful reception message, if it is determined that multiple vehicle services involved in the joint operation cannot all execute the first operation request normally, the current joint operation request can be withdrawn and feedback can be sent to the user to avoid damage to vehicle components in case of execution errors. Specifically:

[0080] In another embodiment, after determining whether a success message has been received from each vehicle service, the method further includes:

[0081] In response to determining that no success message has been received from each vehicle service, the system exits the joint operation request and sends feedback to the user regarding the vehicle services for which no success message was sent.

[0082] Specifically, if it is determined that no success message has been received from each vehicle service, the joint operation request can be exited. At this point, the combined service will not send a second operation request to any vehicle service; that is, it will not send a second operation request to vehicle services that have responded with success messages, nor will it send a second operation request to vehicle services that have not responded with success messages. The joint operation will exit, and the user will be notified of the vehicle services that did not respond with success messages to troubleshoot those services. This way, the user can clearly understand the reason for the joint operation failure and promptly restore the normal function of the faulty vehicle service to avoid affecting the safe operation of the vehicle in the future.

[0083] Since the operations instructed by the joint operation request for each vehicle service are usually determined based on the user's driving habits or the user's historical operations when last using the vehicle, if the current vehicle's surrounding environment does not match the operations instructed by the joint operation request, the first operation request needs to be adjusted so that the vehicle service's operations can match the current surrounding environment, providing the user with a comfortable and flexible driving experience.

[0084] In some embodiments, the method includes:

[0085] Obtain environmental information around the vehicle and determine whether the control information indicated by the first operation request is the same as the preset control information corresponding to the environmental information. If they are different, adjust the first operation request according to the preset control information.

[0086] Specifically, upon receiving a joint operation request, the combined service acquires environmental information about the vehicle's surroundings through vehicle-mounted sensors. Different environmental information corresponds to different preset control information. For example, when the ambient temperature is below 5°C, the preset control information includes activating the seat heating function at level 2 and setting the air conditioning to recirculation. The service then determines whether the control information indicated in the first operation request is the same as the preset control information. If they differ, the first operation request is adjusted according to the preset control information. For example, if the first operation request is to activate the seat heating function at level 1, this is clearly different from the heating level indicated by the preset control information. Since the preset control information is pre-set to match the environmental information, it provides a more comfortable riding environment for the user. Therefore, the control information indicated in the first operation request needs to be replaced with the preset control information, i.e., the seat heating level is adjusted to level 2. This avoids situations where the user's previous driving environment differs significantly from the current driving environment, preventing the intelligent adjustment of control information and avoiding a poor user experience.

[0087] In addition, it can be determined whether the control information indicated by the first operation request contradicts the preset control information. For example, if the control information indicated by the first operation request is to turn on the air conditioner's external circulation, and the preset control information is to turn on the air conditioner's internal circulation, then obviously, the control information indicated by the first operation request contradicts the preset control information. In this case, the first operation request needs to be adjusted, and the control information indicated by the first operation request needs to be replaced with the preset control information.

[0088] The method in this embodiment can determine whether a first operation request is reasonable in the current environment by combining environmental information. If it is unreasonable, the first operation request can be flexibly adjusted to match the current environment. This avoids the problem of not being able to intelligently adjust control information when there is a large difference between the user's previous and current driving environment information, thus providing users with a more comfortable and intelligent riding experience.

[0089] Since the operations instructed by the joint operation request for each vehicle service are usually determined based on the user's driving habits or the user's historical operations when last using the vehicle, if the current vehicle's scenario mode does not match the operations indicated by the joint operation request, the first operation request needs to be adjusted so that the vehicle service's operations can match the current scenario mode, providing the user with a comfortable and flexible driving experience.

[0090] In some embodiments, before sending a first operation request to each vehicle service, the method includes:

[0091] Obtain the current scene mode of the vehicle and determine whether there is a conflict between the control information indicated by the first operation request and the scene control information corresponding to the scene mode. If there is a conflict, adjust the first operation request according to the scene control information.

[0092] Specifically, a scene mode refers to the vehicle's current mode, such as driving mode, parking mode, car wash mode, showroom mode, low-power mode, etc. Different scene modes require different vehicle functions to be activated, which corresponds to different scene control information. If the control information indicated by the first operation request conflicts with the control information indicated by the scene mode, the vehicle-side command execution will be chaotic, leading to problems such as the vehicle controller not responding or responding incorrectly. Therefore, if there is a conflict between the scene control information and the control information indicated by the first operation request, the first operation request needs to be adjusted to avoid errors in the vehicle-side control logic and to optimize the vehicle-side control logic. Prioritizing the control requirements of the current scene mode, avoiding affecting the normal operation of the scene mode, and flexibly adjusting the first operation request, we can provide users with more intelligent and user-friendly services.

[0093] In one specific embodiment, the scene mode includes a low-power mode; the multiple vehicle services include seat heating service, seat ventilation service, and air conditioning activation service; adjusting the first operation request according to the scene control information includes:

[0094] Based on the scenario control information of the low power mode, the first operation request of the seat heating service is adjusted to a heating level lower than the preset heating level, the first operation request of the seat ventilation service is adjusted to a ventilation level lower than the preset ventilation level, and the first operation request of the air conditioning turn-on service is adjusted to turn off the air conditioning.

[0095] Specifically, in low-power mode, the vehicle has limited remaining energy. To reduce energy consumption, scene control information may include setting the seat heating level to a preset level, the seat ventilation level to a preset level, and prohibiting the air conditioning from being turned on. The heating and ventilation levels are pre-defined; higher heating and ventilation levels consume more energy. The preset heating and ventilation levels can be determined based on the actual remaining energy. When the control information indicated by the first operation request conflicts with the scene control information, the scene control information takes precedence. For example, if the first operation request indicates a seat heating level of three, a seat ventilation level of two, and the air conditioning to be turned on, while the scene control information requires that the seat heating level not exceed the preset heating level (level two), the seat ventilation level not exceed the preset ventilation level (level one), and the air conditioning not be turned on, then there is a conflict between the control information indicated by the first operation request and the scene control information. In this case, the seat heating level will be adjusted to level two, the seat ventilation level to level one, and the air conditioning will be turned off. When the vehicle has low remaining energy, the system can prioritize meeting the control requirements of the scenario mode, reduce unnecessary energy consumption, minimize the energy consumption rate when the remaining energy is low, and maximize the vehicle's range, thereby achieving the goal of intelligently adjusting the first operation request.

[0096] It should be noted that the method in this embodiment can be executed by a single device, such as a computer or server. The method can also be applied in a distributed scenario, where multiple devices cooperate to complete the task. In such a distributed scenario, one of these devices may execute only one or more steps of the method in this embodiment, and the multiple devices will interact with each other to complete the method described.

[0097] It should be noted that the above description describes some embodiments of this application. Other embodiments are within the scope of the appended claims. In some cases, the actions or steps recorded in the claims can be performed in a different order than that shown in the above embodiments and still achieve the desired result. Furthermore, the processes depicted in the drawings do not necessarily require a specific or sequential order to achieve the desired result. In some embodiments, multitasking and parallel processing are also possible or may be advantageous.

[0098] Based on the same inventive concept, corresponding to any of the above embodiments, this application also provides a vehicle control device.

[0099] refer to Figure 2 The vehicle control device includes:

[0100] The first sending module 202 is configured to, in response to receiving a joint operation request for multiple vehicle services, send a first operation request to each vehicle service respectively, so that the vehicle service can detect whether it meets the preconditions corresponding to the first operation request. If it does, it sends a successful reception message and executes the first operation request to realize the joint operation of multiple vehicle services.

[0101] In some embodiments, after sending the first operation request to each vehicle service, a second sending module is further included, configured to determine whether a success message for receiving is received from each vehicle service.

[0102] In response to determining that a success message has not been received from each vehicle service, a second operation request is sent to the vehicle service that did not send a success message; wherein the second operation request is used to instruct the vehicle service not to perform any operation or to perform a default operation.

[0103] In some embodiments, after determining whether a success message has been received from each vehicle service, an exit module is further included, which is configured to exit the joint operation request in response to determining that no success message has been received from each vehicle service, and to provide feedback to the user on the vehicle services that did not send success messages.

[0104] In some embodiments, a setting module is also included, configured to adjust the flag bit corresponding to any one of the vehicle services to a preset identifier in response to receiving a success message sent by any one of the multiple vehicle services.

[0105] The system counts the flags corresponding to each vehicle service. If a flag is not a preset flag, it indicates that not all vehicle service feedback messages have been received.

[0106] In some embodiments, the determining module is further configured to acquire environmental information around the vehicle and determine whether the control information indicated by the first operation request is the same as the preset control information corresponding to the environmental information. If they are different, the first operation request is adjusted according to the preset control information.

[0107] In some embodiments, the determining module is further configured to obtain the current scene mode of the vehicle and determine whether there is a conflict between the control information indicated by the first operation request and the scene control information corresponding to the scene mode. If there is a conflict, the first operation request is adjusted according to the scene control information.

[0108] In some embodiments, the scene mode includes a low-power mode; the multiple vehicle services include a seat heating service, a seat ventilation service, and an air conditioning start service; the determining module is further configured to adjust the first operation request of the seat heating service to a heating level lower than a preset heating level, adjust the first operation request of the seat ventilation service to a ventilation level lower than a preset ventilation level, and adjust the first operation request of the air conditioning start service to turn off the air conditioning, based on the scene control information of the low-power mode.

[0109] In some embodiments, the setting module is further configured to, in response to not receiving information from any of the multiple vehicle services within a preset time period, set the flag position corresponding to the arbitrary vehicle service to a second identifier.

[0110] In some embodiments, the setting module is further configured to, in response to not receiving information from any of the multiple vehicle services within a preset time period, set the flag position corresponding to the arbitrary vehicle service to a third identifier.

[0111] For ease of description, the above devices are described in terms of function, divided into various modules. Of course, in implementing this application, the functions of each module can be implemented in one or more software and / or hardware.

[0112] The apparatus of the above embodiments is used to implement the corresponding vehicle control method in any of the foregoing embodiments, and has the beneficial effects of the corresponding method embodiments, which will not be repeated here.

[0113] Based on the same inventive concept, corresponding to the methods of any of the above embodiments, this application also provides an electronic device, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the program to implement the vehicle control method described in any of the above embodiments.

[0114] Figure 3 This embodiment illustrates a more specific hardware structure of an electronic device, which may include a processor 1010, a memory 1020, an input / output interface 1030, a communication interface 1040, and a bus 1050. The processor 1010, memory 1020, input / output interface 1030, and communication interface 1040 are interconnected internally via the bus 1050.

[0115] The processor 1010 can be implemented using a general-purpose CPU (Central Processing Unit), microprocessor, application-specific integrated circuit (ASIC), or one or more integrated circuits, and is used to execute relevant programs to implement the technical solutions provided in the embodiments of this specification.

[0116] The memory 1020 can be implemented in the form of ROM (Read Only Memory), RAM (Random Access Memory), static storage device, dynamic storage device, etc. The memory 1020 can store the operating system and other applications. When the technical solutions provided in the embodiments of this specification are implemented by software or firmware, the relevant program code is stored in the memory 1020 and is called and executed by the processor 1010.

[0117] The input / output interface 1030 is used to connect input / output modules to realize information input and output. Input / output modules can be configured as components within the device (not shown in the figure) or externally connected to the device to provide corresponding functions. Input devices may include keyboards, mice, touchscreens, microphones, various sensors, etc., while output devices may include displays, speakers, vibrators, indicator lights, etc.

[0118] The communication interface 1040 is used to connect a communication module (not shown in the figure) to enable communication between this device and other devices. The communication module can communicate via wired means (such as USB, Ethernet cable, etc.) or wireless means (such as mobile network, WIFI, Bluetooth, etc.).

[0119] Bus 1050 includes a pathway for transmitting information between various components of the device, such as processor 1010, memory 1020, input / output interface 1030, and communication interface 1040.

[0120] It should be noted that although the above-described device only shows the processor 1010, memory 1020, input / output interface 1030, communication interface 1040, and bus 1050, in specific implementations, the device may also include other components necessary for normal operation. Furthermore, those skilled in the art will understand that the above-described device may only include the components necessary for implementing the embodiments of this specification, and not necessarily all the components shown in the figures.

[0121] The electronic devices described above are used to implement the corresponding vehicle control methods in any of the foregoing embodiments and have the beneficial effects of the corresponding method embodiments, which will not be repeated here.

[0122] Based on the same inventive concept, corresponding to the methods of any of the above embodiments, this application also provides a non-transitory computer-readable storage medium that stores computer instructions for causing the computer to execute the vehicle control method as described in any of the above embodiments.

[0123] The computer-readable medium of this embodiment includes permanent and non-permanent, removable and non-removable media, and information storage can be implemented by any method or technology. Information can be computer-readable instructions, data structures, program modules, or other data. Examples of computer storage media include, but are not limited to, phase-change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technologies, CD-ROM, digital versatile optical disc (DVD) or other optical storage, magnetic tape, magnetic magnetic disk storage or other magnetic storage devices, or any other non-transfer medium that can be used to store information accessible by a computing device.

[0124] The computer instructions stored in the storage medium of the above embodiments are used to cause the computer to execute the vehicle control method as described in any of the above embodiments, and have the beneficial effects of the corresponding method embodiments, which will not be repeated here.

[0125] Based on the same concept, corresponding to any of the above embodiments, this application also provides a computer program product, including computer program instructions, which, when run on a computer, cause the computer to perform the method described in any of the above embodiments, and have the beneficial effects of the corresponding method embodiments, which will not be repeated here.

[0126] Those skilled in the art should understand that the discussion of any of the above embodiments is merely exemplary and is not intended to imply that the scope of this application is limited to these examples; under the concept of this application, the technical features of the above embodiments or different embodiments can also be combined, the steps can be implemented in any order, and there are many other variations of different aspects of the embodiments of this application as described above, which are not provided in detail for the sake of brevity.

[0127] Additionally, to simplify the description and discussion, and to avoid obscuring the embodiments of this application, the well-known power / ground connections to integrated circuit (IC) chips and other components may or may not be shown in the provided drawings. Furthermore, the apparatus may be shown in block diagram form to avoid obscuring the embodiments of this application, and this also takes into account the fact that the details of the implementation of these block diagram apparatuses are highly dependent on the platform on which the embodiments of this application will be implemented (i.e., these details should be fully understood by those skilled in the art). While specific details (e.g., circuits) have been set forth to describe exemplary embodiments of this application, it will be apparent to those skilled in the art that the embodiments of this application can be implemented without these specific details or with variations thereof. Therefore, these descriptions should be considered illustrative rather than restrictive.

[0128] Although this application has been described in conjunction with specific embodiments thereof, many substitutions, modifications, and variations of these embodiments will be apparent to those skilled in the art from the foregoing description. For example, other memory architectures (e.g., dynamic RAM (DRAM)) may be used with the embodiments discussed.

[0129] The embodiments of this application are intended to cover all such substitutions, modifications, and variations that fall within the broad scope of this application. Therefore, any omissions, modifications, equivalent substitutions, improvements, etc., made within the spirit and principles of the embodiments of this application should be included within the protection scope of this application.

Claims

1. A vehicle control method characterized by, include: In response to receiving a joint operation request for multiple vehicle services, the combined service sends a first operation request to each vehicle service, so that the vehicle service can detect whether it meets the preconditions corresponding to the first operation request. If it does, it sends a successful reception message and executes the first operation request to realize the joint operation of multiple vehicle services. After sending a first operation request to each vehicle service, the method further includes: Determine whether a success message has been received from each vehicle service. In response to determining that a success message has not been received from each vehicle service, a second operation request is sent to the vehicle service that did not send a success message; wherein the second operation request is used to instruct the vehicle service not to perform any operation or to perform a default operation.

2. The method of claim 1, wherein, Confirm that not all successful reception messages from vehicle service have been received, including: In response to receiving a success message from any one of the multiple vehicle services, the flag corresponding to that vehicle service is adjusted to a preset identifier. The system counts the flags corresponding to each vehicle service. If a flag is not a preset flag, it indicates that not all vehicle service feedback messages have been received.

3. The method of claim 1, wherein, The method includes: Obtain environmental information around the vehicle and determine whether the control information indicated by the first operation request is the same as the preset control information corresponding to the environmental information. If they are different, adjust the first operation request according to the preset control information.

4. The method of claim 1, wherein, The method includes: Obtain the current scene mode of the vehicle and determine whether there is a conflict between the control information indicated by the first operation request and the scene control information corresponding to the scene mode. If there is a conflict, adjust the first operation request according to the scene control information.

5. The method of claim 4, wherein, The scenario mode includes a low-power mode; the multiple vehicle services include seat heating service, seat ventilation service, and air conditioning activation service. Adjusting the first operation request according to the scene control information includes: Based on the scenario control information of the low power mode, the first operation request of the seat heating service is adjusted to a heating level lower than the preset heating level, the first operation request of the seat ventilation service is adjusted to a ventilation level lower than the preset ventilation level, and the first operation request of the air conditioning turn-on service is adjusted to turn off the air conditioning.

6. The method of claim 2, wherein, The method further includes: If no information is received from any of the multiple vehicle services within a preset time period, the flag position corresponding to the vehicle service is set as the second identifier.

7. A vehicle control device, characterized in that, include: The first sending module is configured to, in response to receiving a joint operation request for multiple vehicle services, send a first operation request to each vehicle service respectively, so that the vehicle service can detect whether it meets the preconditions corresponding to the first operation request. If it does, it sends a successful reception message and executes the first operation request to realize the joint operation of multiple vehicle services. After sending the first operation request to each vehicle service, the process also includes: Determine whether a success message has been received from each vehicle service. In response to determining that a success message has not been received from each vehicle service, a second operation request is sent to the vehicle service that did not send a success message; wherein the second operation request is used to instruct the vehicle service not to perform any operation or to perform a default operation.

8. An electronic device comprising a memory, a processor, and a computer program stored on the memory and running on the processor, characterized in that, When the processor executes the program, it implements the method as described in any one of claims 1 to 6.

9. A vehicle characterized by comprising: The vehicle includes the electronic equipment as described in claim 8.