Vehicle control method and device, electronic equipment and vehicle

By judging the trigger source type of vehicle function control request and optimizing the arbitration logic, the problem of single arbitration logic in the prior art is solved, functional control that is more in line with user needs is achieved, and user satisfaction and driving safety are improved.

CN119550931AActive Publication Date: 2025-03-04GREAT WALL MOTOR CO LTD

Patent Information

Application Number
CN202411892490.0
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-12-20
Publication Date
2025-03-04
Estimated Expiration
2044-12-20

AI Technical Summary

Technical Problem

The arbitration logic for conflicting control instructions in the prior art is single, and the trigger source type is not considered, resulting in the arbitration result being unable to meet the actual control needs of users, affecting the vehicle experience and may cause safety hazards.

Method used

By judging the trigger source type of multiple functional control requests and determining the target functional control request based on the type, the arbitration logic is optimized to select the appropriate functional control request.

Benefits of technology

Reasonable arbitration of multiple functional control requests is realized. The selected target functional control requests are more in line with the actual needs of users and the actual driving needs of vehicles, and improve user satisfaction and driving safety.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119550931A_ABST
    Figure CN119550931A_ABST
Patent Text Reader

Abstract

The invention relates to the technical field of vehicles, and provides a vehicle control method and device, electronic equipment and a vehicle, and the method comprises the steps: responding to a plurality of function control requests for the same function of the same part in the vehicle received in a preset time period, and determining whether trigger sources of the plurality of function control requests belong to the same type or not; and according to a determination result of determining whether the plurality of trigger sources belong to the same type or not, determining a target function control request from the plurality of function control requests according to a preset selection rule. According to the method, on the premise of considering the type of the trigger source, the arbitration logic is optimized, so that the target function control request can better meet the actual control requirement of a user and the actual driving requirement of a vehicle, and the satisfaction degree of the user and the driving safety are improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of vehicle technology, and in particular to a vehicle control method, device, electronic equipment and vehicle. Background Art

[0002] With the development of intelligence in the vehicle industry, many basic functions in the vehicle can be adjusted and controlled through the added scene services. At the same time, basic functions can also be controlled through the control terminal set up by the vehicle itself. Although controlling the same function of the vehicle through the above-mentioned multiple trigger sources can provide convenience for the user's operability, it also increases the probability of conflict in control commands for the same function. At present, the arbitration logic for conflicting control commands does not take into account the trigger source type, and the arbitration logic is relatively simple, resulting in the arbitration results often failing to meet the user's actual control needs for vehicle functions, affecting the user's car experience, and may also cause safety hazards. Summary of the invention

[0003] In view of this, the purpose of the present application is to provide a vehicle control method, device, electronic device and vehicle to solve the problem of a single arbitration logic for conflicting control instructions.

[0004] Based on the above purpose, the first aspect of the present application provides a vehicle control method, comprising:

[0005] In response to receiving multiple function control requests for the same function of the same component in the vehicle within a preset time period, determining whether triggering sources of the multiple function control requests are of the same type;

[0006] Based on the result of determining whether multiple trigger sources belong to the same type, a target function control request is determined from multiple function control requests according to a preset selection rule; wherein the preset selection rule specifies a method for selecting the target function control request; and the target function control request is executed.

[0007] Compared with the prior art that does not consider the type of trigger source, the present application optimizes the arbitration logic of multiple function control requests by judging the types of multiple trigger sources and selecting the target function control request based on the judgment results, selects the appropriate function control request as the target function control request and executes the target function control request, so that the target function control request can be more in line with the actual control needs of the user and the actual driving needs of the vehicle, thereby improving user satisfaction and driving safety.

[0008] Optionally, the trigger source type includes a hard-line signal trigger source and a non-hard-line signal trigger source; the determining of the target function control request from the multiple function control requests according to the result of determining whether the multiple trigger sources belong to the same type and according to a preset selection rule includes:

[0009] In response to the multiple trigger sources not being of the same type, the function control request corresponding to the hard-wire signal trigger source is determined as the target function control request.

[0010] By determining the type of trigger source, the user's current actual needs are given priority and the arbitration logic is optimized so that the determined target function control request can be more in line with the user's actual vehicle needs and improve user satisfaction.

[0011] Optionally, in response to the multiple trigger sources being of the same type, determining the target function control request from the multiple function control requests according to a preset selection rule corresponding to the same type includes:

[0012] Get the current status of vehicle components;

[0013] Determine whether the request status of each function control request to the vehicle component is consistent. In response to determining that the request status of each function control request to the vehicle component is consistent, determine whether the request status is consistent with the current status. If inconsistent, use any function control request as the target function control request.

[0014] When the request states of multiple function control requests are consistent, the target function control request can be determined based on the current state of the vehicle component. If the current state is consistent with the request state, no function control request will be responded to, thereby reducing repeated operations of vehicle components corresponding to the function control request. If the current state is inconsistent with the request state, any function control request can be used as the target function control request. The method for determining the target function control request is relatively simple, and there is no need to determine the priority of each function control request, thereby reducing unnecessary judgment steps.

[0015] Optionally, the method further includes:

[0016] In response to determining that the request states of each function control request to the vehicle component are inconsistent, according to the priorities of each signal trigger source in a preset selection rule, a function control request with the highest priority is determined from multiple function control requests as the target function control request.

[0017] When the request states of multiple function control requests are inconsistent, it means that the multiple request states are conflicting with each other, and it is necessary to determine the target function control request according to the preset priority, so that the determination of the target function control request is more convenient, accurate and reasonable.

[0018] Optionally, after determining whether the request state is consistent with the current state, the method further includes:

[0019] If they are consistent, no function control request will be responded to, and information about the successful execution of each function control request will be fed back. This can avoid unnecessary or repeated function control requests and extend the service life of vehicle components. At the same time, it reduces the number of vehicle signal interactions and transmissions, saving communication resources on the vehicle side.

[0020] Optionally, determining the function control request with the highest priority from the multiple function control requests as the target function control request includes:

[0021] In response to determining that the number of the function control requests with the highest priority is multiple, and the multiple trigger sources are all hard-line signal trigger sources, the function control request received last within a preset time period is used as the target function control request;

[0022] In response to determining that there are multiple function control requests with the highest priority, and the multiple trigger sources are all non-hard-line signal trigger sources, the function control request received first within a preset time period is used as the target function control request.

[0023] In the case of the same priority, the function control requests that are executed first are different due to different types of trigger sources. In the case of different time requirements, flexible optimization and adjustment of the arbitration logic is achieved to make the arbitration logic more intelligent and humane.

[0024] Optionally, after taking the function control request last received within the preset time as the target function control request, or taking the function control request first received within the preset time as the target function control request, the method further includes:

[0025] Get the current status of vehicle components;

[0026] In response to determining that the current state is the same as the request state indicated by the target function control request, the target function control request is not responded to. In this way, unnecessary or repeated function control requests can be avoided, and the service life of vehicle components can be extended. At the same time, the number of vehicle signal interactions and transmissions is reduced, saving communication resources on the vehicle side.

[0027] Optionally, the method further includes:

[0028] Get the current status of vehicle components;

[0029] In response to the current state being continuously occupied, no response is given to any function control request.

[0030] When it is determined that the current state is continuously occupied, no response is given to any function control request, which is equivalent to setting the continuous occupation state to have the highest priority. This can prioritize the normal operation of vehicle components in the continuously occupied state and avoid affecting the safety of vehicle use when conflicts occur in function control requests.

[0031] Optionally, the method further includes:

[0032] Get the current status of vehicle components;

[0033] In response to determining that the current state is different from the requested state indicated by the target function control request and the current state is in the process of being executed, stopping execution of the current state and determining a current position of a vehicle component;

[0034] The executing the target function control request includes:

[0035] The vehicle component is controlled to move from the current position to a target position corresponding to the request state indicated by the target function control request.

[0036] In this way, the execution logic error problem that may occur when receiving other function control requests during the process of executing the function control request of the vehicle component can be avoided. If the current state is in the execution process, the vehicle component does not need to move to the initial position, but can be moved directly from the current position to the target position, which can simplify the execution process of the driving device of the vehicle component and improve the execution efficiency.

[0037] A second aspect of the present application further provides a vehicle control device, comprising:

[0038] A first determination module is configured to determine whether trigger sources of the multiple function control requests are of the same type in response to receiving multiple function control requests for the same function of the same component in the vehicle within a preset time period;

[0039] The second determination module is configured to determine a target function control request from multiple function control requests according to a determination result of whether multiple trigger sources belong to the same type and a preset selection rule; wherein the preset selection rule specifies a method for selecting the target function control request; and execute the target function control request.

[0040] The third aspect of the present application also 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 implements the method as described above when executing the computer program.

[0041] A fourth aspect of the present application also provides a vehicle, comprising the electronic device as described in the third aspect.

[0042] As can be seen from the above, the vehicle control method, device, electronic device and vehicle provided by the present application include: in response to receiving multiple function control requests for the same function of the same component in the vehicle within a preset time, determining whether the trigger sources of the multiple function control requests belong to the same type. Different trigger source types can usually reflect the urgency of the function control request. Therefore, judging the trigger source types of multiple function control requests can more reasonably determine the target function control request. According to the determination result of whether the multiple trigger sources belong to the same type, the target function control request is determined from the multiple function control requests according to the preset selection rule; wherein the preset selection rule specifies the selection method of the target function control request. If it is determined that the multiple trigger sources belong to the same type, the target function control request is determined according to a corresponding preset selection rule, and if it is determined that the multiple trigger sources do not belong to the same type, the target function control request is determined according to another corresponding preset selection rule. Different types of trigger sources can reflect the time limit, urgency, and whether the driving safety will be affected by the function control requirements. Under the premise of considering the type of trigger source, the present application classifies the trigger sources and formulates different preset selection rules according to the category of the trigger source. If multiple trigger sources belong to the same type, it means that the time limit requirements of the multiple trigger sources for the function control needs are similar. If the multiple trigger sources do not belong to the same type, it means that the time limit requirements of the multiple trigger sources for the function control needs are quite different. Therefore, based on the determination result of whether the multiple trigger sources belong to the same type, the determined target function control request is the function control request selected with the time limit requirements taken into consideration, so that the target function control request can better meet the current needs of the user. Compared with the prior art that does not consider the type of trigger source, the present application optimizes the arbitration logic of multiple function control requests by judging the types of multiple trigger sources and selecting the target function control request based on the judgment result, selects a suitable function control request as the target function control request and executes the target function control request, so that the target function control request can better meet the actual control needs of the user and the actual driving needs of the vehicle, thereby improving user satisfaction and driving safety. BRIEF DESCRIPTION OF THE DRAWINGS

[0043] In order to more clearly illustrate the technical solutions in the present application or related technologies, the drawings required for use in the embodiments or related technical descriptions are briefly introduced below. Obviously, the drawings described below are only embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.

[0044] Figure 1 A schematic flow chart of a vehicle control method according to an embodiment of the present application;

[0045] Figure 2 A schematic diagram of the structure of a vehicle control device according to an embodiment of the present application;

[0046] Figure 3 This is a schematic diagram of the hardware structure of an electronic device according to an embodiment of the present application. DETAILED DESCRIPTION

[0047] In order to make the objectives, technical solutions and advantages of the present application more clearly understood, the present application is further described in detail below in combination with specific embodiments and with reference to the accompanying drawings.

[0048] It should be noted that, unless otherwise defined, the technical terms or scientific terms used in the embodiments of the present application should be the usual meanings understood by people with ordinary skills in the field to which the present application belongs. The "first", "second" and similar words used in the embodiments of the present application do not represent any order, quantity or importance, but are only used to distinguish different components. "Including" or "comprising" and similar words mean that the elements or objects appearing in front of the word cover the elements or objects listed after the word and their equivalents, without excluding other elements or objects. "Connect" or "connected" and similar words are not limited to physical or mechanical connections, but can include electrical connections, whether direct or indirect. "Up", "down", "left", "right" and the like 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.

[0049] As described in the background technology, for intelligent vehicles, function control can be triggered by the control terminal set in the vehicle itself, such as through the vehicle hard switch. This triggering method is triggered by a hard-wired signal. It can also be triggered by an additional scene service, which is implemented under SOA (Service-Oriented Architecture). Under the SOA architecture, services can be flexibly deployed, can be called across domains, services can be reused, and services are highly decoupled. Through service orchestration, complex functional scenarios can be quickly implemented, and the software can be upgraded independently, making vehicle-side function upgrades more flexible. This triggering method is triggered by a non-hard-wired signal, that is, it is triggered by calling the control interface under the SOA architecture.

[0050] With the application of SOA technology in the vehicle industry, there are more and more types of scenario services, and the vehicle function control that can be realized is becoming more and more abundant. If there is a conflict or inconsistency in the control instructions for the same vehicle function, since the trigger source is not the same, the user cannot judge the reason why the vehicle function is executed successfully or failed. If there is no reasonable arbitration logic, the vehicle function will fail to execute, and it may also cause certain damage to the vehicle components themselves, affecting the user experience.

[0051] At present, for multiple conflicting function control instructions, the logic arbitration method used is relatively simple, and the types of trigger sources corresponding to different function control instructions are not fully considered. If a user controls a vehicle function through a hard switch, it usually means that the user has high requirements for the timeliness of the vehicle function and hopes that the vehicle components can be adjusted quickly to achieve the required vehicle function. For example, the user adjusts the angle of the vehicle's exterior rearview mirror through a hard switch. The sight angle of the exterior rearview mirror can have a certain impact on driving safety, so the function control request must be responded to immediately. In the above scenario with high timeliness requirements, the user will not choose to indirectly adjust the rearview mirror angle by calling the scene mode. It can be seen that for the same vehicle function, different trigger sources can reflect the user's current control needs to a certain extent. Therefore, considering the trigger source of the function request can more reasonably determine the function request that needs to be finally executed when the instructions conflict.

[0052] In view of this, the present application proposes a vehicle control method, which, when receiving multiple function control requests for the same vehicle component, determines the trigger source of each function control request, determines the target function control request based on whether the multiple trigger sources belong to the same type and preset selection rules, and optimizes the arbitration logic so that the target function control request can be more in line with the user's actual control needs and the actual driving needs of the vehicle.

[0053] The embodiments of the present application are described in detail below with reference to the accompanying drawings.

[0054] This application proposes a vehicle control method, referring to Figure 1 , including the following steps:

[0055] Step 102 : In response to receiving multiple function control requests for the same function of the same component in the vehicle within a preset time period, determining whether trigger sources of the multiple function control requests are of the same type.

[0056] Specifically, the judgment method for determining whether a command conflict occurs for the same function of the same vehicle component is: whether multiple function control requests for the same function of the same component in the vehicle are received within a preset time. The preset time is set according to actual needs. For example, the preset time is 10ms. That is, if multiple function control requests for the same function are received within 10ms, the multiple function control requests are determined to be conflicting function control requests. For example, if multiple function control requests are all requests for the folding and unfolding state of the vehicle's exterior rearview mirrors, it is determined that the multiple function control requests are in conflict. Or, if multiple function control requests are all requests for adjusting the vehicle seat position, it is determined that the multiple function control requests are in conflict. In the case of determining that there is a conflict, first determine whether the trigger sources of each function control request belong to the same type, and then the target function control request to be executed can be reasonably determined based on the type of the trigger source. In this embodiment, different types of trigger sources have different requirements for time limits.

[0057] The prior art does not take into account the time limit requirements of vehicle functions, and the trigger sources of vehicle functions are not classified according to the time limit, resulting in unreasonable priority determination. Therefore, in this embodiment, the trigger sources are classified into types, and different types of trigger sources represent the difference in time limit and urgency for the same vehicle function. For example, for the same vehicle function, the time limit requirements for direct activation through a hard switch and indirect invocation through a scene service are different. The hard switch activation is directly operated by the user, which usually expresses that the user currently needs to activate the vehicle function immediately, so the time limit requirements are relatively high. When indirectly called through a scene service, it is usually the result of intelligent adjustment of the vehicle, and there is no direct demand for the user, so the time limit requirements are relatively low.

[0058] Step 104: According to the result of determining whether the multiple trigger sources are of the same type, a target function control request is determined from the multiple function control requests according to a preset selection rule, wherein the preset selection rule specifies a method for selecting the target function control request, and the target function control request is executed.

[0059] Specifically, the determination result of whether multiple trigger sources belong to the same type includes: multiple trigger sources belong to the same type, or multiple trigger sources do not belong to the same type. For example, multiple trigger sources are all trigger sources with high time limit requirements, or multiple trigger sources are all trigger sources with low time limit requirements, or multiple trigger sources include both trigger sources with high time limit requirements and trigger sources with low time limit requirements. The preset selection rule determines the selection method of the target function control request when multiple trigger sources belong to the same type or multiple trigger sources do not belong to the same type. In other words, when the trigger source types are the same or different, the selection method of the target function control request is also different. When the trigger source types are the same, the target function control request is determined according to the priority rule of the same type. When the trigger source types are different, the trigger source type to be executed first is determined according to the type priority, and then the function control request to be executed first is determined from the trigger source types to be executed first as the target function control request. Finally, the target function control request is executed, and the information that the target function control request is successfully executed is fed back, so that the user can clearly know which function control request is currently executed by the vehicle component and whether it is executed successfully. At the same time, it avoids the problem of logical conflicts when vehicle components execute multiple function control requests, thereby preventing vehicle components from being damaged or their service life from being affected due to frequent operations.

[0060] Based on the above steps 102 to 104, the vehicle control method provided in this embodiment includes: in response to receiving multiple function control requests for the same function of the same component in the vehicle within a preset time, determining whether the trigger sources of the multiple function control requests belong to the same type. Different trigger source types can usually reflect the urgency of the function control request. Therefore, judging the trigger source types of multiple function control requests can more reasonably determine the target function control request. According to the determination result of whether the multiple trigger sources belong to the same type, the target function control request is determined from the multiple function control requests according to the preset selection rule; wherein the preset selection rule specifies the selection method of the target function control request. If it is determined that the multiple trigger sources belong to the same type, the target function control request is determined according to a corresponding preset selection rule, and if it is determined that the multiple trigger sources do not belong to the same type, the target function control request is determined according to another corresponding preset selection rule. Different types of trigger sources can reflect the time limit and urgency of the function control requirements, and whether it will affect driving safety. Under the premise of considering the type of trigger source, the present application classifies the trigger sources and formulates different preset selection rules according to the category of the trigger source. If multiple trigger sources belong to the same type, it means that the time limit requirements of the multiple trigger sources for the function control needs are similar. If the multiple trigger sources do not belong to the same type, it means that the time limit requirements of the multiple trigger sources for the function control needs are quite different. Therefore, based on the determination result of whether the multiple trigger sources belong to the same type, the determined target function control request is the function control request selected with the time limit requirements taken into consideration, so that the target function control request can better meet the current needs of the user. Compared with the prior art that does not consider the type of trigger source, the present application optimizes the arbitration logic of multiple function control requests by judging the types of multiple trigger sources and selecting the target function control request based on the judgment result, selects a suitable function control request as the target function control request and executes the target function control request, so that the target function control request can better meet the actual control needs of the user and the actual driving needs of the vehicle, thereby improving user satisfaction and driving safety.

[0061] The following describes in detail how to determine the target function control request based on the determination result of whether multiple trigger sources belong to the same type.

[0062] In some embodiments, the trigger source types include hard-line signal trigger sources and non-hard-line signal trigger sources; the determining of a target function control request from multiple function control requests according to a result of determining whether the multiple trigger sources belong to the same type and a preset selection rule includes:

[0063] In response to the multiple trigger sources not being of the same type, the function control request corresponding to the hard-wire signal trigger source is determined as the target function control request.

[0064] In this embodiment, the trigger source types include hard-wire signal trigger sources and non-hard-wire signal trigger sources. The triggering method of the hard-wire signal trigger source is to trigger through a hard-wire signal, for example, directly trigger the vehicle function through a hard switch, or the vehicle state can also be detected by subscribing to the SOA state interface under the SOA architecture. If it is determined that the vehicle state has changed, the corresponding vehicle function is triggered through a hard-wire signal. For example, by subscribing to the SOA state interface, the vehicle power state or unlock state is obtained. If the vehicle power state changes to the vehicle being powered on or the unlock state changes to the vehicle being unlocked, the vehicle exterior rearview mirror is triggered to unfold through a hard-wire signal. For the folding and unfolding function of the vehicle exterior rearview mirror, the hard-wire signal trigger source includes at least a vehicle unlock state trigger, a vehicle power state trigger, a vehicle speed trigger, a hard switch trigger, and a vehicle head unit (HUT) trigger. For the position adjustment function of the vehicle seat, the hard-wire signal trigger source includes at least a vehicle unlock state trigger, a vehicle power state trigger, a driver identity trigger, a hard switch trigger, and a vehicle head unit (HUT) trigger.

[0065] The triggering method of the non-hard-wire signal trigger source is triggered by a non-hard-wire signal, such as triggering a vehicle function through an SOA control interface. For the folding and unfolding function of the vehicle's exterior rearview mirror or the position adjustment function of the vehicle seat, the non-hard-wire signal trigger source includes a scene service trigger, and the scene service controls the vehicle's exterior rearview mirror or vehicle seat by calling the control interface.

[0066] In this embodiment, the determination method of the target function control request is analyzed from two situations. First, when multiple trigger sources belong to the same type, including multiple trigger sources are all hard-wired signal trigger sources or multiple trigger sources are all non-hard-wired signal trigger sources. According to the preset selection rule corresponding to the hard-wired signal trigger source or the selection rule corresponding to the non-hard-wired signal trigger source, the target function control request is determined in multiple function control requests. According to the priority order between the actual trigger sources, the function control request with higher priority is executed first. If the priority of multiple trigger sources is the same, the target function control request is determined according to the order of reception. Second, when multiple trigger sources do not belong to the same type, that is, multiple trigger sources include hard-wired signal trigger sources and non-hard-wired signal trigger sources. Generally speaking, the hard-wired signal trigger source has a higher requirement for time limit. Therefore, in this embodiment, the priority of the hard-wired signal trigger source is higher than that of the non-hard-wired signal trigger source. When they exist at the same time, the hard-wired signal trigger source is executed first. If the number of hard-wired signal trigger sources in multiple trigger sources exceeds one, the final target function control request is determined according to the priority order between the hard-wired signal trigger sources. Exemplarily, for an exterior rearview mirror of a vehicle, the multiple function control requests include a folding function request triggered by a hard switch and an unfolding function request triggered by scene mode A, and the folding function request triggered by the hard switch is used as the target function control request.

[0067] Through the method of this embodiment, multiple function control requests are divided according to the trigger source type, and the function control requests corresponding to the hard-wired signal trigger source with a higher priority are executed first. If the trigger source type has the same priority, the target function control request is selected in the order of priority of the same type. When determining the target function control request, the trigger source type is given priority, and different trigger source types represent different time limit requirements of the user. By considering the trigger source type, it is equivalent to fully considering the trigger intentions of different function control requests. If it is a hard-wired signal trigger source, it reflects the user's trigger intention and requires the vehicle function to be executed as soon as possible. If it is a non-hard-wired signal trigger source, it reflects the trigger intention of the vehicle end, and the time limit requirement is lower. By determining the type of trigger source, the present application gives priority to the user's current actual needs and optimizes the arbitration logic, so that the determined target function control request can be more in line with the user's actual vehicle needs and improve user satisfaction.

[0068] The following describes how to determine a target function control request when multiple trigger sources are of the same type through a specific embodiment.

[0069] In some embodiments, in response to the plurality of trigger sources being of the same type, determining the target function control request from the plurality of function control requests according to a preset selection rule corresponding to the same type includes:

[0070] Get the current status of vehicle components;

[0071] Determine whether the request status of each function control request to the vehicle component is consistent. In response to determining that the request status of each function control request to the vehicle component is consistent, determine whether the request status is consistent with the current status. If inconsistent, use any function control request as the target function control request.

[0072] Specifically, when multiple trigger sources belong to the same type, the current state of the vehicle component is obtained, for example, the current state of the vehicle exterior rearview mirror is the unfolded state. Determine whether the request states of multiple function control requests for vehicle components are consistent. If they are consistent, it means that the expected execution operations of multiple function control requests for vehicle components are the same. For example, the trigger sources of multiple function control requests are all hard-wired signal trigger sources, including vehicle exterior rearview mirror unfolding requests triggered by vehicle speed, vehicle exterior rearview mirror unfolding requests triggered by HUT, and vehicle exterior rearview mirror unfolding requests triggered by hard switches. Although multiple function control requests are received, the request states indicated by each function control request are the same. In this case, it is determined whether the current state is consistent with the request state. If they are inconsistent, any function control request is used as the target function control request. For example, if the current state of the vehicle exterior rearview mirror is the folded state, and the request states indicated by multiple function control requests are all unfolded states, any function control request is used as the target function control request, and the function control request is executed once, and the information that each function control request is successfully executed is fed back. Furthermore, if the current state is consistent with the request state, no response is given to any function control request, and information indicating that each function control request is successfully executed is fed back. When the current state is consistent with the request state, it indicates that the vehicle component is in the state required by the user, and there is no need to repeat the function control request, and no response is given to any function control request. At the same time, information indicating that each function control request is successfully executed is fed back. Exemplarily, if the current state of the vehicle's exterior rearview mirror is a folded state, and the request states indicated by multiple function control requests are also a folded state, no response is given to any function control request, and information indicating that each function control request is successfully executed is fed back. The above method can avoid executing unnecessary or repeated function control requests, thereby extending the service life of vehicle components. At the same time, the number of vehicle signal interactions and transmissions is reduced, saving communication resources on the vehicle side.

[0073] Accordingly, in response to determining that the request status of each function control request for the vehicle component is inconsistent, the function control request with the highest priority is determined from multiple function control requests as the target function control request according to the priority of each signal trigger source in the preset selection rule.

[0074] If the request status of each function control request for a vehicle component is inconsistent, then the function control request with the highest priority among multiple function control requests is determined as the target function control request in order of priority. When the trigger sources of multiple function control requests are all hard-wired signal trigger sources, the preset priority corresponding to the hard-wired signal trigger source is set according to the urgency of the function request, the time limit requirement, etc. For example, the priority of the trigger source related to driving safety is higher, and the priority of the trigger source with a higher time limit requirement is higher. Exemplarily, for the vehicle's exterior rearview mirror, the priority of the function control request is from high to low: function control request triggered by vehicle speed, function control request triggered by hard switch, function control request triggered by other methods (such as triggered by HUT or parking start). When multiple function control requests include function control requests triggered by vehicle speed and function control requests triggered by other methods, the function control request triggered by vehicle speed is used as the target function control request.

[0075] When the trigger sources of multiple function control requests are all non-hardwire signal trigger sources, the preset priority corresponding to the non-hardwire signal trigger source is set according to the importance of the scene service. For example, the function control request triggered by an important scene service has a higher priority. By comparing the priorities, the function control request triggered by the scene service with a higher priority is determined as the target function control request.

[0076] Through the method of this embodiment, when the request states of multiple function control requests are consistent, the target function control request can be determined based on the current state of the vehicle component. The current state is consistent with the request state, and no function control request is responded to, thereby reducing the repeated operation of the vehicle component corresponding to the function control request. If the current state is inconsistent with the request state, any function control request can be used as the target function control request. The method for determining the target function control request is relatively simple, and there is no need to judge the priority of each function control request, thereby reducing unnecessary judgment steps. When the request states of multiple function control requests are inconsistent, it means that the multiple request states are conflicting with each other, and the target function control request needs to be determined according to the preset priority. The method of this embodiment can flexibly adjust the arbitration logic according to the request states of multiple function control requests, reasonably simplify the judgment process, and optimize the arbitration logic, so that the determination of the target function control request is more convenient, accurate and reasonable.

[0077] If, among the multiple function control requests, the number of the function control requests with the highest priority exceeds one, the target function control request is determined according to the method of the following embodiment.

[0078] In some embodiments, determining the function control request with the highest priority from the multiple function control requests as the target function control request includes:

[0079] In response to determining that the number of the function control requests with the highest priority is multiple, and the multiple trigger sources are all hard-line signal trigger sources, the function control request received last within a preset time period is used as the target function control request;

[0080] In response to determining that there are multiple function control requests with the highest priority, and the multiple trigger sources are all non-hard-line signal trigger sources, the function control request received first within a preset time period is used as the target function control request.

[0081] Specifically, when multiple trigger sources are all hard-wired signal trigger sources and there are multiple function control requests with the same priority, the function control request received last within the preset time length is used as the target function control request, that is, the latest function control request is executed to meet user needs. The latest function control request is the function control request that the user or the vehicle end most urgently needs to execute. Exemplarily, if a folding request for the vehicle's exterior rearview mirror triggered by the HUT and an unfolding request for the vehicle's exterior rearview mirror triggered by opening the parking are received in sequence within the preset time length, and the two trigger sources have the same priority, the unfolding request for the vehicle's exterior rearview mirror triggered by opening the parking is executed first.

[0082] When multiple trigger sources are all non-hard-wire signal trigger sources and there are multiple function control requests with the same priority, the function control request received first is used as the target function control request. Since the non-hard-wire signal trigger source does not have a high requirement for time limit, the order of execution does not affect the time limit. When the priority is the same, follow the principle of first request first execution, for function control requests triggered by different scene modes, execute them in the order of triggering, and meet the control requirements of each scene mode for vehicle functions in turn. Exemplarily, if the function control request triggered by scene mode A, the function control request triggered by scene mode B, and the function control request triggered by scene mode C are received in sequence within the preset time length, and the priorities of the three scene modes are the same, the function control request triggered by scene mode A is executed first, when scene mode A is executed, the function control request triggered by scene mode B is executed, and when scene mode B is executed, the function control request triggered by scene mode C is executed. In addition, the function control requests received within the preset time length can be cached. When the function control request corresponding to a scene mode is executed, if there are still function control requests triggered by other scene modes in the cache queue, the execution continues, and if there is no function control request in the cache queue, the execution stops.

[0083] Through the method of this embodiment, when there are multiple function control requests with the same priority, different methods are selected according to different types of trigger sources to determine the target function control request. For hard-wired signal trigger sources with a higher necessity for immediate feedback, the most recently received function control request is prioritized. For non-hard-wired signal trigger sources with a lower necessity for immediate feedback, the earliest received function control request is prioritized. In the case of the same priority, different function control requests are prioritized due to different types of trigger sources. In the case of different time limit requirements, flexible optimization and adjustment of the arbitration logic is achieved to make the arbitration logic more intelligent and user-friendly.

[0084] In some embodiments, after the function control request received last within a preset time period is used as the target function control request, or after the function control request received first within a preset time period is used as the target function control request, the process further includes:

[0085] Get the current status of vehicle components;

[0086] In response to determining that the current state is the same as the request state indicated by the target function control request, not responding to the target function control request.

[0087] Specifically, if the current state of a vehicle component is the same as the request state indicated by the target function control request, it means that the vehicle component is already in a state required by the user or the vehicle, and there is no need to repeat the function control request, and the target function control request will not be responded to. At the same time, information indicating the successful execution of the target function control request is fed back. For example, if the current state of the vehicle's window is open, and the request state indicated by the target function control request is also open, the target function control request will not be responded to. The method of this embodiment can avoid executing unnecessary or repeated function control requests, thereby extending the service life of vehicle components. At the same time, the number of vehicle signal interactions and transmissions is reduced, saving communication resources on the vehicle side.

[0088] There are usually two ways for the vehicle to call vehicle functions: temporary call and continuous occupation. For example, in a certain scene mode, the exterior mirror needs to be temporarily controlled to unfold, while in another scene mode, the exterior mirror needs to be controlled to unfold continuously and cannot be folded, which is also called continuous occupation of vehicle functions. When continuous occupation of vehicle functions occurs, in order not to affect the realization of vehicle functions, other function control requests will not be responded to at this time.

[0089] Specifically, the method further includes:

[0090] Get the current status of vehicle components;

[0091] In response to the current state being continuously occupied, no response is given to any function control request.

[0092] Before determining the trigger type of multiple function control requests, it is first necessary to obtain the current state of the vehicle component. If it is determined that the current state is continuously occupied, it means that the vehicle component is continuously occupied by a function control request triggered by a certain trigger source. In order not to affect the normal operation of the function control request, no function control request is responded to before the function control request exits. Exemplarily, scene mode A triggers a continuous deployment request for the vehicle rearview mirror. Before scene mode A exits, if other function control requests are received, no response is given. In addition, other received function control requests can be cached. If other function control requests still exist in the cache queue after scene mode A exits, other function control requests are executed. If there are more than one other function control requests in the cache queue, the target function control request to be executed can be determined according to the method of the aforementioned embodiment. If the function control request requires the vehicle component to be in a continuously occupied state, it means that the continuous occupation is of high importance to the realization of the vehicle function. If it is interrupted, it will cause abnormal vehicle function. Through the method of this embodiment, when it is determined that the current state is continuously occupied, no response is given to any function control request, which is equivalent to setting the continuous occupation state to have the highest priority. This can prioritize the normal operation of vehicle components in the continuously occupied state and avoid affecting the safety of vehicle use when conflicts occur in function control requests.

[0093] The execution of a vehicle function usually includes an execution process. For example, if the current state of the vehicle's exterior rearview mirror is a folded state, and a function control request to change to an unfolded state is triggered at this time, the exterior rearview mirror needs to go through a process when changing from the folded state to the unfolded state, and the process will last for a period of time. If a function control request for a folded state is received during the state change process, the exterior rearview mirror may execute the unfolded state before executing the folded state, or directly cause an error in the state change of the exterior rearview mirror. In order to avoid the above problems and simplify the execution process of the function control request, the present application also proposes the method of the following embodiment to ensure that the function control request will not have an execution error.

[0094] In some embodiments, the method further comprises:

[0095] Get the current status of vehicle components;

[0096] In response to determining that the current state is different from the requested state indicated by the target function control request and the current state is in the process of being executed, stopping execution of the current state and determining a current position of a vehicle component;

[0097] The executing the target function control request includes:

[0098] The vehicle component is controlled to move from the current position to a target position corresponding to the request state indicated by the target function control request.

[0099] Specifically, this embodiment is applicable to vehicle components that have a state switching process, such as the switching between the unfolded state and the folded state of the exterior rearview mirror. When switching from the unfolded state to the folded state, the position of the exterior rearview mirror has a change process, that is, it gradually moves from the unfolded state position to the folded state position.

[0100] After the target function control request is determined and before the target function control request is executed, the current state of the vehicle component is obtained. If the current state is in execution and the current state is different from the request state of the target function control request, the execution of the current state is stopped, and the current position of the vehicle component is determined and recorded. Then, the vehicle component is controlled to execute the target function control request from the current position and move from the current position to the target position corresponding to the request state indicated by the target function control request.

[0101] Exemplarily, the target function control request is to instruct the vehicle's exterior rearview mirror to change to an extended state. At this time, if the vehicle's exterior rearview mirror is executing a function control request with the request state being a folded state, and the vehicle's exterior rearview mirror is in the process of changing from an extended state to a folded state, the change to the folded state is stopped, and the target function control request is started from the current position, and the exterior rearview mirror moves from the current position to the target position corresponding to the extended state.

[0102] For example, when the vehicle component is a window, the target function control request is to instruct the window to change to a fully closed state. At this time, if the window is executing a function control request with a request state of fully open, and the window is in the process of changing from a fully closed state to a fully extended state, the change to the fully extended state is stopped, and the target function control request is executed from the current position, and the window moves from the current position to the target position corresponding to the fully closed state. Correspondingly, when the vehicle component is a seat, the adjustment method is similar to the above method, which will not be repeated here.

[0103] The method of this embodiment can avoid the execution logic error problem that may occur when receiving other function control requests during the process of executing the function control request of the vehicle component. If the current state is in the execution process, there is no need to move the vehicle component to the initial position, and it can be directly moved from the current position to the target position, which can simplify the execution process of the driving device of the vehicle component and improve the execution efficiency.

[0104] It should be noted that the method of the embodiment of the present application can be performed by a single device, such as a computer or server. The method of this embodiment can also be applied to a distributed scenario and completed by multiple devices cooperating with each other. In the case of such a distributed scenario, one of the multiple devices can only perform one or more steps in the method of the embodiment of the present application, and the multiple devices will interact with each other to complete the described method.

[0105] It should be noted that the above describes some embodiments of the present 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 an order different from that in the above embodiments and still achieve the desired results. In addition, the processes depicted in the accompanying drawings do not necessarily require the specific order or continuous order shown to achieve the desired results. In some embodiments, multitasking and parallel processing are also possible or may be advantageous.

[0106] Based on the same inventive concept, corresponding to any of the above-mentioned embodiment methods, the present application also provides a vehicle control device.

[0107] refer to Figure 2 , the vehicle control device comprises:

[0108] A first determination module 202 is configured to determine whether trigger sources of the multiple function control requests are of the same type in response to receiving multiple function control requests for the same function of the same component in the vehicle within a preset time period;

[0109] The second determination module 204 is configured to determine a target function control request from multiple function control requests according to a determination result of whether multiple trigger sources belong to the same type and a preset selection rule; wherein the preset selection rule specifies a method for selecting the target function control request; and execute the target function control request.

[0110] In some embodiments, the trigger source type includes a hard-line signal trigger source and a non-hard-line signal trigger source; the second determination module 204 is configured to

[0111] In response to the multiple trigger sources not being of the same type, the function control request corresponding to the hard-wire signal trigger source is determined as the target function control request.

[0112] In some embodiments, the second determination module 204 is configured to obtain a current state of a vehicle component;

[0113] Determine whether the request status of each function control request to the vehicle component is consistent. In response to determining that the request status of each function control request to the vehicle component is consistent, determine whether the request status is consistent with the current status. If inconsistent, use any function control request as the target function control request.

[0114] In some embodiments, the second determination module 204 is configured to, in response to determining that the request status of each function control request for a vehicle component is inconsistent, determine the function control request with the highest priority from multiple function control requests as the target function control request according to the priority of the hard-wire signal trigger source in a preset selection rule.

[0115] In some embodiments, after determining whether the request status is consistent with the current status, the second determination module 204 is configured to, if they are consistent, not respond to any function control request and to feed back information indicating that each function control request is successfully executed.

[0116] In some embodiments, the second determination module 204 is configured to, in response to determining that the number of the highest priority function control requests is multiple and the multiple trigger sources are all hard-line signal trigger sources, use the function control request received last within a preset time as the target function control request;

[0117] In response to determining that there are multiple function control requests with the highest priority, and the multiple trigger sources are all non-hard-line signal trigger sources, the function control request received first within a preset time period is used as the target function control request.

[0118] In some embodiments, after the last function control request received within a preset time is taken as the target function control request, or after the first function control request received within a preset time is taken as the target function control request, the second determination module 204 is configured to obtain the current state of the vehicle component; in response to determining that the current state is the same as the request state indicated by the target function control request, the target function control request is not responded to. In some embodiments, a third determination module is also included, which is configured to obtain the current state of the vehicle component; in response to the current state being continuously occupied, any function control request is not responded to.

[0119] In some embodiments, the second determination module is configured to obtain the current state of the vehicle component; in response to determining that the current state is different from the request state indicated by the target function control request and the current state is in the execution process, stop executing the current state and determine the current position of the vehicle component; control the vehicle component to move from the current position to the target position corresponding to the request state indicated by the target function control request.

[0120] For the convenience of description, the above device is described in terms of functions divided into various modules. Of course, when implementing the present application, the functions of each module can be implemented in the same or multiple software and / or hardware.

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

[0122] Based on the same inventive concept, corresponding to any of the above-mentioned embodiments and methods, the present 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 when the processor executes the program, the vehicle control method described in any of the above embodiments is implemented.

[0123] Figure 3 A more specific schematic diagram of the hardware structure of an electronic device provided in this embodiment is shown, and the device may include: a processor 1010, a memory 1020, an input / output interface 1030, a communication interface 1040, and a bus 1050. The processor 1010, the memory 1020, the input / output interface 1030, and the communication interface 1040 are connected to each other through the bus 1050 in the device.

[0124] The processor 1010 can be implemented by a general-purpose CPU (Central Processing Unit), a microprocessor, an 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.

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

[0126] The input / output interface 1030 is used to connect the input / output module to realize information input and output. The input / output module can be configured in the device as a component (not shown in the figure), or it can be externally connected to the device to provide corresponding functions. The input device may include a keyboard, a mouse, a touch screen, a microphone, various sensors, etc., and the output device may include a display, a speaker, a vibrator, an indicator light, etc.

[0127] The communication interface 1040 is used to connect a communication module (not shown) to realize communication interaction between the device and other devices. The communication module can realize communication through a wired mode (such as USB, network cable, etc.) or a wireless mode (such as mobile network, WIFI, Bluetooth, etc.).

[0128] The bus 1050 includes a path that transmits information between the various components of the device (eg, the processor 1010, the memory 1020, the input / output interface 1030, and the communication interface 1040).

[0129] It should be noted that, although the above device only shows the processor 1010, the memory 1020, the input / output interface 1030, the communication interface 1040 and the bus 1050, in the specific implementation process, the device may also include other components necessary for normal operation. In addition, it can be understood by those skilled in the art that the above device may also only include the components necessary for implementing the embodiments of the present specification, and does not necessarily include all the components shown in the figure.

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

[0131] Based on the same inventive concept, corresponding to any of the above-mentioned embodiment methods, the present application also provides a non-transitory computer-readable storage medium, wherein the non-transitory computer-readable storage medium stores computer instructions, and the computer instructions are used to enable the computer to execute the vehicle control method described in any of the above embodiments.

[0132] 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, modules of programs, 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 technology, read-only compact disk read-only memory (CD-ROM), digital versatile disk (DVD) or other optical storage, magnetic cassettes, magnetic tape magnetic disk storage or other magnetic storage devices or any other non-transmission media that can be used to store information that can be accessed by a computing device.

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

[0134] Based on the same concept, corresponding to any of the above-mentioned embodiment methods, the present application also provides a computer program product, including computer program instructions. When the computer program instructions are run on a computer, the computer executes the method described in any of the above embodiments, which has the beneficial effects of the corresponding method embodiments and will not be repeated here.

[0135] A person skilled in the art should understand that the discussion of any of the above embodiments is merely illustrative and is not intended to imply that the scope of the present application is limited to these examples. In line with the concept of the present application, the technical features in the above embodiments or different embodiments may be combined, the steps may be implemented in any order, and there are many other variations of the different aspects of the embodiments of the present application as described above, which are not provided in detail for the sake of simplicity.

[0136] In addition, to simplify the description and discussion, and in order not to make the embodiments of the present application difficult to understand, the known power supply / ground connection with the integrated circuit (IC) chip and other components may or may not be shown in the provided drawings. In addition, the device can be shown in the form of a block diagram to avoid making the embodiments of the present application difficult to understand, and this also takes into account the fact that the details of the implementation of these block diagram devices are highly dependent on the platform to be implemented in the embodiments of the present application (that is, these details should be fully within the scope of understanding of those skilled in the art). In the case of elaborating specific details (e.g., circuits) to describe exemplary embodiments of the present application, it is obvious to those skilled in the art that the embodiments of the present application can be implemented without these specific details or when these specific details are changed. Therefore, these descriptions should be considered to be illustrative rather than restrictive.

[0137] Although the present application has been described in conjunction with specific embodiments of the present application, many replacements, 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 use the embodiments discussed.

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

Claims

1. A vehicle control method, characterized in that: include: In response to receiving multiple function control requests for the same function of the same component in the vehicle within a preset time period, determining whether triggering sources of the multiple function control requests are of the same type; According to the result of determining whether the multiple trigger sources are of the same type, a target function control request is determined from the multiple function control requests according to a preset selection rule; wherein the preset selection rule specifies a method for selecting the target function control request; Execute the target function control request.

2. The method according to claim 1, characterized in that The trigger source types include hard-line signal trigger sources and non-hard-line signal trigger sources; the determining of a target function control request from multiple function control requests according to a result of determining whether the multiple trigger sources belong to the same type and a preset selection rule includes: In response to the multiple trigger sources not being of the same type, the function control request corresponding to the hard-wire signal trigger source is determined as the target function control request.

3. The method according to claim 2, characterized in that In response to the plurality of trigger sources being of the same type, determining the target function control request from the plurality of function control requests according to a preset selection rule corresponding to the same type includes: Get the current status of vehicle components; Determine whether the request status of each function control request to the vehicle component is consistent. In response to determining that the request status of each function control request to the vehicle component is consistent, determine whether the request status is consistent with the current status. If inconsistent, use any function control request as the target function control request.

4. The method according to claim 3, characterized in that The method further comprises: In response to determining that the request states of each function control request to the vehicle component are inconsistent, according to the priorities of each signal trigger source in a preset selection rule, a function control request with the highest priority is determined from multiple function control requests as the target function control request.

5. The method according to claim 3, characterized in that: After determining whether the request state is consistent with the current state, the method further includes: If they are consistent, no function control request will be responded to, and information indicating successful execution of each function control request will be fed back.

6. The method according to claim 4, characterized in that The step of determining the function control request with the highest priority from the multiple function control requests as the target function control request includes: In response to determining that the number of the function control requests with the highest priority is multiple, and the multiple trigger sources are all hard-line signal trigger sources, the function control request received last within a preset time period is used as the target function control request; In response to determining that there are multiple function control requests with the highest priority, and the multiple trigger sources are all non-hard-line signal trigger sources, the function control request received first within a preset time period is used as the target function control request.

7. The method according to claim 1, characterized in that The method further comprises: Get the current status of vehicle components; In response to the current state being continuously occupied, no response is given to any function control request.

8. The method according to claim 1, characterized in that The method further comprises: Get the current status of vehicle components; In response to determining that the current state is different from the requested state indicated by the target function control request and the current state is in the process of being executed, stopping execution of the current state and determining a current position of a vehicle component; The executing the target function control request includes: The vehicle component is controlled to move from the current position to a target position corresponding to the request state indicated by the target function control request.

9. An electronic device comprising a memory, a processor, and a computer program stored in the memory and running on the processor, characterized in that: When the processor executes the program, the method according to any one of claims 1 to 8 is implemented.

10. A vehicle, characterized in that: The vehicle comprises the electronic device as claimed in claim 9.

Citation Information

Patent Citations

  • Car seat adjusting method, device and system

    CN104691461A

  • CAN data processing method, device and equipment and computer readable storage medium

    CN115092070A

  • Vehicle control system, vehicle, and control method

    CN115139944A

  • Multi-trigger source request seat adjusting method and device, vehicle, equipment and medium

    CN115716433A

  • Conflict arbitration method and device under vehicle domain architecture

    CN116890765A

Cited By

  • Vehicle control method, device and equipment and storage medium

    CN120886851A