Methods, apparatuses, devices, and media for controlling a vehicle
By acquiring vehicle operating status and external environment information, the vehicle control strategy is dynamically determined and atomic services are invoked, solving the performance and scalability problems of traditional vehicle control methods in the event of a fault, and realizing the flexibility of vehicle control and the improvement of user experience.
Patent Information
- Application Number
- CN202511509644.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2025-10-21
- Publication Date
- 2026-02-13
- Estimated Expiration
- 2045-10-21
AI Technical Summary
Traditional vehicle control methods cannot quickly determine backup control strategies when a fault occurs, resulting in poor vehicle control performance, inability to meet personalized user needs, tight coupling between hardware and control logic, difficulty in expanding new services, long signal transmission links, long development cycles, high costs, and inability to dynamically integrate external environment and vehicle operating status information.
By acquiring vehicle operating status information and external environment information, a first control strategy is determined, and a second control strategy is dynamically determined based on fault information, operating status information, and external environment information when relevant services fail. Atomic services are then invoked to execute control, thereby achieving decoupling between hardware and software.
This system enables vehicle control under multiple factors in fault conditions, improving user experience and vehicle performance, enhancing system reliability and flexibility, meeting personalized user needs, and reducing development costs and time.
Smart Images

Figure CN120986435B_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The present disclosure relates to the technical field of vehicles, and more specifically, to a method, apparatus, device and medium for controlling a vehicle. BACKGROUND
[0002] With the continuous development of vehicle intelligent technology, intelligent vehicles gradually become the main means of transportation for users. When users are driving vehicles, the portability and reliability of vehicle control are always one of the concerns of users. In the field of vehicle control, stable control of components in vehicles is also a key focus.
[0003] The traditional mechanical manual control method transmits the user control instruction on board through physical structures such as mechanical connecting rods and cables, directly controls the core components in the vehicle, in addition, the controller control method relies on electronic controllers to receive sensor signals, and drives the actuators through software algorithms to realize the control of the on-board components. SUMMARY
[0004] Embodiments of the present disclosure provide a method, apparatus, device and medium for controlling a vehicle.
[0005] In a first aspect of the present disclosure, a method for controlling a vehicle is provided. The method includes obtaining running state information and external environment information of the vehicle. The method further includes determining a first control strategy for one or more components in the vehicle based on the running state information and the external environment information. The method further includes determining a second control strategy for the one or more components in the vehicle based on fault information, the running state information and the external environment information in response to a service associated with the first control strategy failing. The method further includes invoking one or more atomic services in the vehicle according to the second control strategy. The method further includes performing control on the vehicle through the one or more atomic services.
[0006] In a second aspect of the present disclosure, an apparatus for controlling a vehicle is provided. The apparatus includes an information obtaining module configured to obtain running state information and external environment information of the vehicle. The apparatus further includes a first control strategy determining module configured to determine a first control strategy for one or more components in the vehicle based on the running state information and the external environment information. The apparatus further includes a second control strategy determining module configured to determine a second control strategy for the one or more components in the vehicle based on fault information, the running state information and the external environment information in response to a service associated with the first control strategy failing. The apparatus further includes an atomic service invoking module configured to invoke one or more atomic services in the vehicle according to the second control strategy. The apparatus further includes a second control strategy performing module configured to perform control on the vehicle through the one or more atomic services.
[0007] In a third aspect of the disclosure, an electronic device is provided. The electronic device includes one or more processors; and a memory device storing one or more programs, when the one or more programs are executed by the one or more processors, cause the one or more processors to implement the method provided by the first aspect of the disclosure.
[0008] In a fourth aspect of the disclosure, a vehicle is provided, the vehicle including the electronic device of the third aspect of the disclosure.
[0009] In a fifth aspect of the disclosure, a computer-readable storage medium is provided. The computer-readable storage medium has stored thereon computer-executable instructions, wherein the computer-executable instructions, when executed by a processor, implement the method provided by the first aspect of the disclosure.
[0010] It is to be understood that the description in the summary section is not intended to identify key or essential features of embodiments of the disclosure, nor is it intended to limit the scope of the disclosure. Other features of the disclosure will be apparent from review of the description below. BRIEF DESCRIPTION OF DRAWINGS
[0011] The above and other features, aspects, and advantages of embodiments of the disclosure will become more apparent from the following detailed description when taken in conjunction with the accompanying drawings. In the drawings, like or similar reference numerals refer to like or similar elements, in which:
[0012] Figure 1 a schematic diagram showing an example environment in which a number of embodiments of the disclosure can be implemented;
[0013] Figure 2 a flowchart showing a method for controlling a vehicle according to some embodiments of the disclosure;
[0014] Figure 3 an example diagram showing a vehicle control system for controlling a vehicle according to some embodiments of the disclosure;
[0015] Figure 4 a schematic diagram showing a heating component control system for controlling a heating component in a vehicle according to some embodiments of the disclosure;
[0016] Figure 5 a schematic diagram showing a vanity mirror control system for controlling a vanity mirror in a vehicle according to some embodiments of the disclosure;
[0017] Figure 6 a schematic diagram showing an armrest box control system for controlling an armrest box in a vehicle according to some embodiments of the disclosure;
[0018] Figure 7A block diagram of an apparatus for controlling a vehicle according to some embodiments of the present disclosure is shown;
[0019] Figure 8 A schematic block diagram of an example device according to some embodiments of the present disclosure is shown. DETAILED DESCRIPTION
[0020] Embodiments of the present disclosure will be described below in greater detail with reference to the accompanying drawings. While certain embodiments of the present disclosure are shown in the drawings, it is understood that the present disclosure can be embodied in various forms and should not be interpreted as being limited to the embodiments set forth herein, but rather, these embodiments are provided so as to more completely and thoroughly understand the present disclosure. It is understood that the drawings and embodiments of the present disclosure are for exemplary purposes only and are not intended to limit the scope of protection of the present disclosure.
[0021] In the description of embodiments of the present disclosure, the term "comprising" and its conjugations should be understood to encompass the meanings of "consisting of" and "consisting essentially of". The term "based on" should be understood as "based at least in part on". The term "one embodiment" or "the embodiment" should be understood as "at least one embodiment". The terms "first", "second", etc. can refer to different or identical objects. Other explicit and implicit definitions can also be included below.
[0022] As described above, with the continuous development of vehicle intelligent technology, how to meet the personalized scene needs of users has become a key problem in the field of vehicle control. When the vehicle-related services fail, how to determine a backup solution that meets the personalized needs of users and ensure the reliability and stability of the system is a problem that needs to be studied. The traditional vehicle control method cannot quickly determine the alternative control strategy of vehicle control according to fault information when a fault occurs, resulting in poor vehicle control performance and failing to meet the use experience of vehicle users. In addition, the traditional vehicle control method requires tight coupling of hardware and control logic, long signal transmission link, and difficulty in expanding new services and new components. With each new service added, not only does the complex circuit connection need to be redesigned, but the upper control also needs to be deeply rewritten, resulting in a long development cycle and high costs, making it difficult to adapt to the rapidly changing market demand. Moreover, in some related technologies, vehicle control only relies on fixed sensor data, and cannot dynamically fuse multi-source data such as external environmental information and vehicle running state information, failing to meet the personalized needs of users.
[0023] To this end, embodiments of the present disclosure propose a scheme for controlling a vehicle. In embodiments of the present disclosure, the method comprises obtaining running state information and external environment information of the vehicle. The method further comprises determining a first control strategy for one or more components in the vehicle based on the running state information and the external environment information. The method further comprises determining a second control strategy for the one or more components in the vehicle based on failure information, the running state information and the external environment information in response to a failure of a service associated with the first control strategy. The method further comprises invoking one or more atomic services in the vehicle according to the second control strategy. The method further comprises performing control for the vehicle through the one or more atomic services.
[0024] In this way, after a failure of a service (e.g., a composite service, an atomic service) associated with the vehicle, a backup scheme can be determined according to the failure information, the running state information of the vehicle and the external environment information. In this way, in the event of a failure, vehicle control under the influence of multiple factors can be achieved, thereby being able to improve user experience and vehicle performance to a greater extent. In addition, by encapsulating hardware operations as atomic services, the determination of the control strategy is separated from the hardware, thereby achieving decoupling of hardware and software logic. Furthermore, the determination of the control strategy based on multi-source data such as external environment information and running state information can improve the experience of user diversity.
[0025] Figure 1 A schematic diagram of an example environment 100 in which embodiments of the present disclosure can be implemented is shown. As Figure 1 shown, in the environment 100, the overall includes a vehicle 102, which, in some embodiments of the present disclosure, can include an electronic device 104. According to embodiments of the present disclosure, the vehicle 102 refers to any type of motorized or non-motorized carrier capable of carrying people and / or objects and being movable. As Figure 1 shown, the vehicle 102 is illustrated as a car. It should be understood that although the vehicle 102 is illustrated as a car in Figure 1 , this is only exemplary and far from being limited thereto, examples of which can also include a passenger car, a truck, a motorcycle, an electric vehicle, and the like. In some embodiments of the present disclosure, the electronic device 104 can include a computing device of a suitable type. It should be understood that although the electronic device 104 is shown as a kind of in-vehicle device in Figure 1 , this is only exemplary and it can also be deployed in other suitable locations as needed.
[0026] In the example environment 100, the electronic device 104 can acquire running state information 106 and external environment information 108. In some embodiments of the present disclosure, the running state information 106 can include running data associated with the vehicle, such as vehicle speed, music data of the vehicle entertainment system, battery power, etc., and the external environment information 108 can include data associated with the external environment, such as illumination data, rainfall data, air temperature data, etc. The electronic device 104 can determine a control strategy 110 for the components 116-1, 116-2, …, and 116-N (collectively or individually referred to as components 116) in the vehicle according to the running state information 106 and the external environment information 108. In some embodiments of the present disclosure, the components 116 can include a cosmetic mirror, an armrest box, a heating component, etc., for example, the cosmetic mirror can be an electronic cosmetic mirror, the armrest box can be a movable armrest box, and the heating component can be an air conditioner. In some embodiments of the present disclosure, the control strategy 110 can be to set the light brightness of the cosmetic mirror to 90% and select red, green, and blue primary colors for rapid cyclic transformation, with a flashing frequency set to Beat Per Minute (BPM) / 2 times / second.
[0027] In the example environment 100, the electronic device 104 further includes one or more atomic services 114-1, 114-2, …, and 114-N (collectively or individually referred to as atomic services 114). In some embodiments of the present disclosure, the atomic services 114 encapsulate hardware operations on the components 116, with each component 116 corresponding to an atomic service 114. In this way, the hardware operations and the determination of the control strategy 110 are separated, and when an atomic service 114 is added, the upper layer logic does not need to be modified complexly, achieving hardware and software decoupling.
[0028] In the example environment 100, the electronic device 104 can also acquire failure information 112. In some embodiments of the present disclosure, the failure information 112 can include failure information associated with the service of the control strategy 110, for example, it can be failure information returned by the atomic service 114, or it can be failure information such as network disconnection or atomic service not found. In some embodiments of the present disclosure, the electronic device 104 can determine the control strategy 110 again by updating the control strategy 118 based on the failure information 112, in combination with the running state information 106 and the external environment information 108, as shown in Figure 1 The above process is a loop process until the control strategy 110 is successfully executed. In this way, the control strategy can be quickly adjusted, the safety of vehicle control can be improved, the risk of vehicle out of control can be reduced, and the personalized scene needs of users can be met in the case of failure.
[0029] In this way, when the service associated with the vehicle fails, a matched backup control scheme can be dynamically determined through multi-source information integration of the fault information, the running state information and the external environment information. Not only can the vehicle control function be effectively maintained stable when the fault occurs, but also the user experience and the vehicle running performance can be further improved by reducing the interference of the fault on the user's personalized needs.
[0030] Figure 2 A flowchart of a method 200 for controlling a vehicle according to some embodiments of the present disclosure is shown. The method 200 can be performed by a vehicle. For example, the method 200 can be performed by the electronic device 104 included in the vehicle 102 in Figure 1 FIG. 1, as shown in Figure 2 At block 202, the method 200 includes obtaining running state information and external environment information of the vehicle. For example, in the environment 100 as shown in Figure 1 FIG. 1, the vehicle 102 can collect external environment information through various types of sensors, for example, light can be collected through a light sensor, air temperature can be collected through a temperature sensor, and rainfall can be collected through a rainfall sensor. In some embodiments of the present disclosure, the vehicle 102 can obtain the running state information of the vehicle through vehicle sensors and vehicle systems, for example, music data can be obtained through a vehicle system, and the speed of the vehicle 102 can be obtained through a speed sensor.
[0031] At block 204, the method 200 includes determining a first control strategy for one or more components in the vehicle based on the running state information and the external environment information. For example, in the environment 100 as shown in Figure 1 FIG. 1, a control strategy 110 for the component 116 is determined based on the running state information 106 and the external environment information 108. In some embodiments of the present disclosure, a first control strategy for multiple makeup mirrors in the vehicle can be determined based on light data and music data, for example, the first control strategy can be to control the angle and light of the makeup mirror.
[0032] At block 206, the method 200 includes determining whether a service associated with the first control strategy fails, and in response to the service associated with the first control strategy failing, performing block 208. If the service associated with the first control strategy does not fail, the first control strategy can be continued to be performed.
[0033] At block 208, the method 200 includes determining a second control strategy for one or more components in the vehicle based on fault information, running state information and external environment information. For example, in the environment 100 as shown in Figure 1In the environment 100 as shown, based on the fault information 112, the running state information 106 and the external environment information 108 fed back by the atomic service 114, the control strategy 110 for the components 116 is re-determined by updating the control strategy 118. In some embodiments of the present disclosure, the components 116 can include a plurality of makeup mirrors, when the motor current of the component 116-1 is abnormal, based on the fault information 112 fed back by the atomic service 114, a first control strategy for the plurality of makeup mirrors in the vehicle is determined in combination with the lighting data and the music data, for example, the second control strategy can be to control the angle and the light of the components 116-2, …, 116-N, no angle control is performed on the component 116-1, and only light control is performed.
[0034] At block 210, the method 200 includes invoking one or more atomic services in the vehicle according to the second control strategy. For example, in the environment 100 as shown, the atomic service 114 is invoked according to the control strategy 110. For example, the atomic service 114 can be used to standardize the packaging of hardware operations of the components 116, in this way, the upper layer control does not need to care about the details of the underlying hardware, and the scalability of the components 116 and the atomic service 114 is greatly improved. Figure 1 In the environment 100 as shown, the atomic service 114 is invoked according to the control strategy 110. For example, the atomic service 114 can be used to standardize the packaging of hardware operations of the components 116, in this way, the upper layer control does not need to care about the details of the underlying hardware, and the scalability of the components 116 and the atomic service 114 is greatly improved.
[0035] At block 212, the method 200 includes performing control for the vehicle through the one or more atomic services. For example, in the environment 100 as shown, the control strategy 110 is executed through the atomic service 114, in this way, the atomic service 114 can convert the instructions of the control strategy 110 into specific operations for the components 116, and the components 116 are connected to the upper layer control to form a collaborative whole, and the performance of the vehicle control is improved. Figure 1 In the environment 100 as shown, the control strategy 110 is executed through the atomic service 114, in this way, the atomic service 114 can convert the instructions of the control strategy 110 into specific operations for the components 116, and the components 116 are connected to the upper layer control to form a collaborative whole, and the performance of the vehicle control is improved.
[0036] In this way, after the service associated with the vehicle fails, a backup scheme can be determined according to the fault information, the vehicle running state information and the external environment information. In this way, in the case of failure, vehicle control under the influence of multiple factors can be realized, thereby greatly improving user experience and vehicle performance. In addition, by packaging hardware operations as atomic services and separating them from the determination of the control strategy, hardware and software logic are decoupled. Furthermore, based on multiple source data such as external environment information and running state information, the control strategy can be determined to improve the experience of user diversity.
[0037] Figure 3 An example diagram of a vehicle control system 300 for controlling a vehicle according to some embodiments of the present disclosure is shown. As shown in FIG. 3, the vehicle control system 300 includes a vehicle 302, a control strategy 304, an atomic service 306 and a component 308. Figure 3As shown, the vehicle control system 300 can include a trigger control module 302, a central domain control module 304, a regional control module 306, and a hardware abstraction module 308. In the vehicle control system 300, the trigger control module 302 is an entrance for triggering control instructions, such as Figure 3 As shown, the trigger control module 302 includes an in-vehicle interaction module 310 and a remote control module 312, the in-vehicle interaction module 310 includes a visualization interface 314 and a voice recognition module 316, and the remote control module 312 includes a user terminal 318. In some embodiments of the present disclosure, the visualization interface 314 includes one or more preset scene options, and the preset scene includes a preset execution condition for the components 116-2, …, 116-N (collectively or individually referred to as the components 116). In response to triggering of a target preset scene in the one or more preset scenes, the central domain control module 304 acquires the operating state information 106 and the external environment information 108. In some embodiments of the present disclosure, the vehicle control system 300 further includes voice instruction control, in which the voice instruction is analyzed by the voice recognition module 316, and then the voice instruction is transmitted to the central domain control module 304.
[0038] In some embodiments of the present disclosure, the vehicle control system 300 can also remotely control the vehicle through the user terminal 318 in the remote control module 312, in which the user terminal 318 can include a smart phone, a desktop computer, a laptop computer, a tablet computer, a workstation, or a smart wearable device, etc. Through such diversified interaction modes, the limitation of traditional single control of the vehicle is broken, and the personalized experience of the user is greatly improved.
[0039] In the vehicle control system 300, the central domain control module 304 can include a multi-source data fusion module 320 and a combined service module 322, in which the combined service module 322 can include a fault monitoring module 324. The multi-source data fusion module 320 can acquire the operating state information 106 and the external environment information 108, and then the combined service module 322 performs logical processing based on the operating state information 106 and the external environment information 108 to determine a first control strategy. After the first control strategy is generated, the central domain control module 304 sends an atomic service instruction to the regional control module 306. As shown, Figure 3 As shown, the regional control module 306 can include a first regional control module 330, a second regional control module 332, and a plurality of grouped regional control modules. In some embodiments of the present disclosure, according to the physical positions of the one or more components 116 in the vehicle, the atomic services (Atomic Service, hereinafter referred to as AS) corresponding to the one or more components are grouped and called, such as Figure 3As shown, the first region control module 330 is configured to control the invocation of the first atomic services 336-1, 336-2, …, and 336-K (collectively or individually referred to as the first atomic services 336), and the second region control module 332 is configured to control the invocation of the second atomic services 338-1, 338-2, …, and 338-L (collectively or individually referred to as the second atomic services 338).
[0040] In the vehicle control system 300, the fault monitoring module 324 can be configured to monitor the services associated with the first control strategy. In some embodiments of the present disclosure, the services associated with the first control strategy can include atomic services and composite services. For example, the composite services can include determining and executing the first control strategy. If the services associated with the first control strategy fail, the central domain control module 304 can determine a second control strategy for the components 116 in the vehicle based on the fault information, the operating state information, and the external environment information. In some embodiments of the present disclosure, the fault monitoring module 324 can monitor the execution state of the atomic services and the composite services through a preset interface, and determine that the services associated with the first control strategy fail based on the execution state. For example, the preset interface can be an Event (event notification) in the SOME / IP protocol, which periodically sends the state of each service in the vehicle to the fault monitoring module 324, and then the composite service module determines whether a failure occurs according to the execution state.
[0041] In some embodiments, the central domain control module 304 can also determine a second control strategy for the components 116 based on the preset execution conditions for the components 116 in the target preset scenario, the fault information, the operating state information 106, and the external environment information 108 of the components 116. Then, the region control module 306 can generate corresponding atomic service instructions according to the second control strategy, and invoke the first atomic services 336, the second atomic services 338, etc. in groups. In this way, the services associated with the control strategy can be comprehensively monitored, and a backup plan can be determined immediately once a service failure is detected, which can ensure the reliability and stability of the system and meet the individual needs of users.
[0042] In the vehicle control system 300, the hardware abstraction module 308 can be configured to convert the atomic service instructions into specific operations for the components 116. In this way, the hardware operations can be encapsulated as atomic services, realizing hardware as a service, so that the upper-layer control does not need to care about the details of the underlying hardware, greatly improving the flexibility and scalability of the system.
[0043] In some embodiments, the vehicle control system 300 can output feedback information on the visualization interface 314 according to the execution of the first atomic service 336, the second atomic service 338, and the like. In some embodiments of the present disclosure, the feedback information can be used to show the execution progress of the components 116 in the vehicle. For example, the feedback information can be textual information, or a dynamic effect picture, for example, a dynamic effect progress bar that is gradually filled from 0% to 100%. In some embodiments of the present disclosure, according to the fault information fed back by the fault monitoring module 324, the feedback information can also include the alarm information sent by the central domain control module 304. In this way, the user can intuitively perceive the vehicle control process, and the user experience is improved.
[0044] In some embodiments, the vehicle control system 300 can receive a plurality of vehicle control requests triggered by the vehicle interaction module 310 and the remote control module 312, and the central domain control module 304 can execute the target vehicle control instruction with the highest priority according to the preset priority rule, and then obtain the running state information 106 and the external environment information 108 of the vehicle according to the target vehicle control instruction. In this way, the vehicle control instructions can be prioritized to ensure that the control instructions with higher priority are executed first, and the personalized needs of the user are improved.
[0045] In this way, the fault monitoring module 324 monitors the fault information in real time, and the combination service module 322 determines the second control strategy according to the fault information, the vehicle running state information, and the external environment information. In this way, vehicle control under the influence of multiple factors can be realized in the case of a fault, so that the user experience and vehicle performance can be improved to a greater extent. In addition, by directly calling the atomic service, the specific hardware operation is shielded, and hardware and software logic decoupling can be realized. Moreover, the control strategy is determined based on multi-source information fusion, which can improve the user's experience of diversity.
[0046] Embodiments of the present disclosure can be implemented in combination with various components in a vehicle. The following will be described in combination with Figures 4 to 6 Figure 4 In combination with a heating component in a vehicle, Figure 5 In combination with a vanity mirror in a vehicle, Figure 6 In combination with an armrest box in a vehicle. Figure 4 A schematic diagram of a heating component control system 400 for controlling a heating component in a vehicle is shown according to some embodiments of the present disclosure. As Figure 4 As shown, in the heating component control system 400, the user can trigger a heating command through the electronic device 104 or the user terminal 318. The electronic device 104 and the user terminal 318 may include a visual interface, which may include one or more preset scenes. The user can trigger a heating request for the target preset scene through the visual interface, or the user can trigger a heating request for the target preset scene through voice commands. For example, the user can trigger a heating request for winter mode or rainy night mode. In some embodiments of this disclosure, the user terminal 318 can remotely send a preheating command through the vehicle cloud gateway based on the Message Queuing Telemetry Transport (MQTT) protocol. In this way, the user can create a warm in-vehicle environment in advance before traveling in cold weather, and realize the experience of controlling the in-vehicle temperature anytime and anywhere.
[0047] In the heating component control system 400, the heating domain control module 406 can acquire operating status information 106 and external environment information 108 through multiple sensors in the vehicle. In some embodiments of this disclosure, the heating domain control module 406 can connect to multiple sensors via the SOME / IP protocol to acquire multi-source sensing information in real time. Figure 4 As shown, the heating domain control module 406 may include a heating combination service module 408, which may include a multi-objective optimization heating algorithm 410 and a heating fault monitoring module 412. The heating combination service module 408 can determine the optimal heating strategy based on the multi-objective optimization heating algorithm 410, and then determine the control strategy.
[0048] In some embodiments, the multi-objective optimization heating algorithm 410 can be based on a multi-objective optimization function determined by temperature comfort index and energy consumption efficiency index. F To construct it, as shown in the following formula:
[0049] (1)
[0050] (2)
[0051] (3)
[0052] Among them, temperature comfort index Indicates the real-time temperature of each heating element. With target temperature The degree of closeness The closer to 1, the higher the overall comfort level; energy efficiency index This represents the heating efficiency per unit of energy consumption, where Power of each heating component Tj for heating time, The greater the efficiency is higher; dynamic weight coefficient And Can be automatically adjusted according to different preset scenarios.
[0053] In some embodiments, in the low-temperature endurance scene, set =0.3, =0.7, priority endurance; in some embodiments, in the rainy day safety scene, adjust to =0.6, =0.4, balance comfort and energy consumption; in some embodiments, in the user-defined comfort scene, set =0.8, =0.2, full meet the user's comfort needs. In this way, according to different scene and user preference settings, the comfort and energy consumption considerations can be integrated to meet the user's diverse needs.
[0054] In the heating component control system 400, the heating fault monitoring module 412 is used to realize the fault monitoring of the service associated with the control strategy, and determine the second control strategy for one or more heating components in the vehicle based on the fault information, the running state information 106 and the external environment information 108. For example, once the heating fault monitoring module 412 detects problems such as heating component current anomaly, temperature sensor failure, etc., it immediately feeds back the fault information to the heating combined service module 408, and re-determines the control strategy by the multi-objective optimization heating algorithm 410. For example, when the rearview mirror heating element current is too large, the air conditioning hot air auxiliary defogging function is started quickly, and at the same time, the fault alarm can be sent to the electronic device 104 or the user terminal 318 to remind the user to repair in time, ensuring the reliability and stability of the system.
[0055] As Figure 4As shown, the heating component control system 400 divides the rearview mirror 444, window 446, and seat 448 into a heating left area 438, the front windshield 450, rear windshield 452, and steering wheel 454 into a heating right area 440, and the camera 442 into a heating rear area. The heating left area controller 418 is used to call the rearview mirror heating AS 424, window heating AS 426, and seat heating AS 428; the heating right area controller 420 is used to call the rear windshield heating AS 430, front windshield heating AS 432, and steering wheel heating AS 434; and the heating rear area controller 422 is used to call the camera heating AS 436. In this way, each heating component is abstracted into an atomic service, and unified management and intelligent scheduling are achieved through the heating domain control module 406. This approach breaks the predicament of functional fragmentation, achieves a high degree of system integration and collaboration, and prevents components from operating in isolation, greatly improving the overall system efficiency and response speed.
[0056] Through the multi-objective optimization heating algorithm 410 of the heating combination service module 408, which integrates comfort and energy consumption indicators, the relationship between the two can be effectively balanced in low temperature or low power scenarios, ensuring warmth while avoiding excessive energy consumption. In addition, through the heating fault monitoring module 412, the status of each heating atomic service in the vehicle is monitored in all aspects, and the matching control strategy is dynamically determined to ensure the reliability and stability of the heating system.
[0057] Figure 5 A schematic diagram of a makeup mirror control system 500 for controlling a makeup mirror in a vehicle, according to some embodiments of the present disclosure, is shown. Figure 5 As shown, the makeup mirror control system 500 may include an electronic device 104 and a user terminal 318. In some embodiments, the electronic device 104 and the user terminal 318 may include a visual interface, which may include preset scene options such as "dressing room mode," "welcome mode," "holiday mode," and "smart makeup." In some embodiments, users can also arrange and combine target scenes by dragging and dropping the service capabilities provided by the makeup mirror. In some embodiments, the electronic device 104 and the user terminal 318 may also include voice command control. For example, a user can issue a command to "turn on holiday mode," which is then parsed by the voice recognition module built into the electronic device 104. In some embodiments, a command containing a target scene identifier and user personalized settings can be sent to the makeup mirror domain control module 506 via the SOME / IP protocol.
[0058] In the cosmetic mirror control system 500, after the cosmetic mirror domain control module 506 receives the instruction of the electronic device 104 or the user terminal 318, the running state information 106 and the external environment information 108 sent by the plurality of sensors can be obtained through the SOME / IP protocol. In some embodiments, real-time lighting data collected by the lighting sensor can be obtained, which is used to determine whether the current environment is daytime or nighttime. Music data of the vehicle entertainment system can also be obtained, for example, the rhythm value of the current music. Based on the obtained running state information 106 and external environment information 108, the cosmetic mirror combination service module 508 performs logical processing to determine the first control strategy. For example, if the lighting intensity < 50 lux, it is determined to be night, then the brightness of the cosmetic mirror light is set to 90%, and red, green and blue three primary colors are selected for rapid cycle transformation, and the flicker frequency is set to 2 times / s; if it is daytime, the brightness is adjusted to 60%, and soft yellow is selected for gradual change effect. After determining the first control strategy, the cosmetic mirror domain control module 506 can send atomic service instructions to the cosmetic mirror left area controller 516 and the cosmetic mirror right area controller 518 through the SOME / IP protocol. For example, the atomic service instruction can be LeftMirror.SetLightEffect(RGB=(255, 0, 0), freq=1) (the left area controller controls the main driver cosmetic mirror to set the angle, and sets the red light, the frequency is 1 time / s flicker), and RightMirror.SetLightEffect(RGB=(0, 255, 0), freq=1) (the right area controller controls the co-driver cosmetic mirror to set the angle, and sets the green light, the frequency is 1 time / s flicker). In this way, precise control of the cosmetic mirror is achieved.
[0059] In the cosmetic mirror control system 500, the cosmetic mirror domain control module 506 can include a cosmetic mirror combination service module 508, the cosmetic mirror combination service module 508 can include a cosmetic mirror failure monitoring module 510, the cosmetic mirror failure monitoring module 510 is used to implement failure monitoring of the service associated with the first control strategy, and then the cosmetic mirror combination service module 508 determines the second control strategy for one or more cosmetic mirrors in the vehicle based on the failure information, the running state information 106 and the external environment information 108. In some embodiments of the present disclosure, the service associated with the first control strategy can include an atomic service and a cosmetic mirror combination service. In some embodiments of the present disclosure, the cosmetic mirror control system 500 can monitor the execution state of the cosmetic mirror atomic service and the cosmetic mirror combination service through a preset interface, determine that the service associated with the first control strategy has failed based on the execution state, for example, the preset interface can be a communication protocol interface, for example, it can be an Event (event notification) interface in the SOME / IP protocol, the Event periodically sends the state of each service in the vehicle to the cosmetic mirror failure monitoring module 510, and then the cosmetic mirror combination service module 508 determines whether a failure occurs according to the execution state.
[0060] As shown in Figure 5 , the cosmetic mirror control system 500 divides the main driver cosmetic mirror 532 and the left rear cosmetic mirror 534 into the cosmetic mirror left area 528, divides the co-driver cosmetic mirror 536 and the right rear cosmetic mirror 538 into the cosmetic mirror right area 530, the cosmetic mirror left area controller 516 is used to call the main driver cosmetic mirror AS 520 and the left rear cosmetic mirror AS 522, and the cosmetic mirror right area controller 518 is used to call the co-driver cosmetic mirror AS 524 and the right rear cosmetic mirror AS 526. In some embodiments, after receiving the LeftMirror. SetLightEffect(RGB=(255, 0, 0), freq=1) instruction of the cosmetic mirror domain control module 506, the instruction is converted into a specific operation on the LED lamp group of the cosmetic mirror through hardware abstraction: driving the control circuit of the LED lamp group to make it flash red light at a frequency of 1 times / sec; in some other embodiments, the instruction can contain angle adjustment, for example, LeftMirror. AdjustAngle(25 ° ), then the motor is driven to rotate accurately, and the mirror angle is adjusted to 25 ° .
[0061] In some embodiments, the cosmetic mirror in the vehicle can include 128 high-brightness RGB LED lights, the brightness and color of each light can be accurately controlled by PWM (pulse width modulation) technology, achieving brightness adjustment from 0% to 100% and 16 million color changes. In some embodiments, the cosmetic mirror can also include a double-shaft electric adjustment motor, supporting preset angle adjustment. In this way, multi-scene linkage for the control of the cosmetic mirror in the vehicle can be achieved (for example, the light of the cosmetic mirror is synchronized with the music of the vehicle entertainment system and the external environment light, etc.), and cross-device collaboration of the cosmetic mirror with other devices in the vehicle can also be achieved (for example, the angle of the cosmetic mirror is controlled in combination with the vehicle speed), improving the diversity experience of component control in the vehicle, dynamically adjusting the control strategy according to fault information through the combination service of the cosmetic mirror, and improving the use experience of the vehicle user.
[0062] Figure 6 A schematic diagram of a handrest box control system 600 for controlling a handrest box in a vehicle is shown according to some embodiments of the present disclosure. As shown, the handrest box control system 600 can include an electronic device 104, a user terminal 318, a handrest box domain control module 606, a handrest box area control module 616, an upper partition handrest box 622, and a lower partition handrest box 624. The electronic device 104 and the user terminal 318 can be used to trigger the user's operation request, for example, the user can click the "one-key up and down partition simultaneous forward" button on the visual interface of the electronic device 104 and the user terminal 318, also can say "move the handrest box up and down partition simultaneously backward" by voice, and also can select the target preset scene of "welcome mode" on the visual interface. Figure 6
[0063] In the handrest box control system 600, the handrest box domain control module 606 can determine whether the up and down partition collaborative control is needed according to the user's operation request. If the collaborative control is needed, the handrest box combination service module 608 will call the atomic service of the up and down partition, and send the corresponding control instruction to the handrest box area control module 616, for example, the operation request can be to move the up and down partition forward by 10 centimeters, the handrest box combination service module 608 can send the control instruction of moving forward by 10 centimeters to the atomic service of the up and down partition respectively; if the collaborative control is not needed, the handrest box combination service module 608 will call the atomic service of the corresponding partition, and send the corresponding control instruction to the handrest box area control module 616, for example, the operation request can be to lock the up partition, the handrest box combination service module 608 will call the up partition atomic service, and if the request is to move the lower partition backward by 5 centimeters, the handrest box combination service module 608 will call the lower partition atomic service.
[0064] In the handrail box control system 600, the handrail box combined service module 608 can include a handrail box fault monitoring module 610, which is configured to implement fault monitoring of services associated with the control strategy, and determine a second control strategy for the upper and lower partition handrail boxes in the vehicle based on fault information, operating state information 106, and external environment information 108. In some embodiments of the present disclosure, the services associated with the control strategy can include the upper partition AS 618, the lower partition AS 620, and the handrail box combined service. In some embodiments of the present disclosure, the handrail box control system 600 monitors the execution state of the upper and lower partition atomic services and the handrail box combined service through a preset interface, and determines that the services associated with the first control strategy have failed based on the execution state.
[0065] In the handrail box control system 600, the handrail box area control module 616 can include the upper partition AS 618 and the lower partition AS 620, the upper partition AS 618 can control the execution of the upper partition handrail box 622, and the lower partition AS 620 can control the execution of the lower partition handrail box 624. For example, the execution can include forward, backward, locking, etc. In some embodiments, the upper partition AS 618 can control the motor and transmission mechanism of the upper partition to make the upper partition move forward, and the lower partition AS 620 can control the motor and transmission mechanism of the lower partition to make the lower partition move forward at the same time; during the execution, the atomic service can monitor the state information of the partition in real time, such as position, speed, locking state, etc., and feed back the information to the handrail box domain control module 606, which can feed back the information to the electronic device 104 and the user terminal 318, for example, the current position of the upper partition handrail box 622 and the lower partition handrail box 624 can be displayed on the visual interface, and the locking success information of the upper partition handrail box 622 can also be displayed on the visual interface.
[0066] In some embodiments, the upper partition handrail box 622 can include an upper partition housing, an upper partition motor, an upper partition transmission mechanism, and an upper partition locking mechanism; the lower partition handrail box 624 can include a lower partition housing, a lower partition motor, a lower partition transmission mechanism, and a lower partition locking mechanism. The upper and lower partitions support functions such as forward, backward, one-key movement, and locking, and the locking can be performed in different regions.
[0067] In this way, the coordinated control of the upper and lower partitions of the handrail box can be achieved, and the user can realize the coordinated actions such as simultaneous movement and locking of the upper and lower partitions through one-key operation. The handrail box combined service can flexibly call the atomic services of the upper and lower partitions according to the user's request to realize different coordinated control strategies.
[0068] Figure 7 A block diagram of an apparatus 700 for controlling a vehicle is shown in accordance with some embodiments of the present disclosure. As shown in FIG. 7, the apparatus 700 can include a handrail box domain control module 702, an upper partition AS 704, a lower partition AS 706, and a handrail box combined service module 708. Figure 7As shown, the apparatus includes an information obtaining module 702 configured to obtain running state information and external environment information of the vehicle. The apparatus further includes a first control strategy determining module 704 configured to determine a first control strategy for one or more components in the vehicle based on the running state information and the external environment information. The apparatus further includes a second control strategy determining module 706 configured to, in response to a service associated with the first control strategy failing, determine a second control strategy for the one or more components in the vehicle based on failure information, the running state information and the external environment information. The apparatus further includes an atomic service calling module 708 configured to call one or more atomic services in the vehicle according to the second control strategy. The apparatus further includes a second control strategy executing module 710 configured to execute the control for the vehicle through the one or more atomic services.
[0069] In some embodiments, the service associated with the first control strategy includes a combination service and an atomic service, the combination service is used to determine and execute the first control strategy, and the service associated with the first control strategy failing includes the combination service or the atomic service failing.
[0070] In some embodiments, the apparatus 700 further includes a failure monitoring module configured to monitor execution states of the atomic services and the combination service through a preset interface, and determine that the service associated with the first control strategy fails based on the execution states.
[0071] In some embodiments, each of the one or more components corresponds to an atomic service, and the apparatus 700 further includes a grouping module configured to group the one or more components according to physical positions of the one or more components in the vehicle. The apparatus further includes a grouped calling module configured to group call the one or more atomic services in the vehicle according to the second control strategy.
[0072] In some embodiments, the apparatus 700 further includes a feedback information output module configured to output feedback information in response to execution of the one or more atomic services, the feedback information being used to show execution progress of the one or more components in the vehicle.
[0073] In some embodiments, the vehicle is configured with one or more preset scenes, the preset scenes including preset execution conditions for the one or more components, and the second control strategy determining module 706 further includes a target preset scene triggering module configured to, in response to a triggering operation of a target preset scene in the one or more preset scenes, obtain preset execution conditions set in the target preset scene. The target preset scene control module is configured to, in response to the service associated with the first control strategy failing, determine the second control strategy for the one or more components in the vehicle based on the preset execution conditions, failure information of the target component, the running state information and the external environment information.
[0074] In some embodiments, the information obtaining module 702 further comprises a target vehicle control instruction obtaining module configured to, in response to triggering operation of the plurality of vehicle control instructions of the vehicle, execute a target vehicle control instruction with the highest priority according to a preset priority rule. The target vehicle control instruction using module is configured to obtain the running state information and the external environment information of the vehicle according to the target vehicle control instruction.
[0075] In some embodiments, the one or more components include an armrest box including an upper subzone and a lower subzone, and the atomic service calling module 708 is further configured to: determine, according to the second control strategy, whether the upper subzone and the lower subzone are controlled cooperatively; in response to the upper subzone and the lower subzone being controlled cooperatively, call atomic services of the upper subzone and the lower subzone, and in response to the upper subzone and the lower subzone being controlled non-cooperatively, call atomic services of the corresponding subzone.
[0076] In some embodiments, the one or more components include a cosmetic mirror, the vehicle includes a light sensor and an in-vehicle entertainment system, and the second control strategy determination module 706 is further configured to: obtain illumination data collected by the light sensor, the external environment information including the illumination data; obtain music data from the in-vehicle entertainment system, the running state information including the music data; and determine, based on the fault information, the running state information, and the external environment information, the second control strategy for the one or more cosmetic mirrors of the vehicle, the second control strategy including controlling light and angle of the one or more cosmetic mirrors.
[0077] In some embodiments, the one or more components include a heating component, and the second control strategy determination module 706 is further configured to: determine a multi-objective optimization function based on a temperature comfort index and an energy consumption efficiency index; determine a multi-objective optimization heating algorithm based on the multi-objective optimization function; and determine the second control strategy for the one or more components in the vehicle based on the multi-objective optimization heating algorithm.
[0078] It can be understood that, by using the apparatus 700 of the present disclosure, at least one of the many advantages that can be achieved by the method or process described above can be achieved.
[0079] Figure 8 A block diagram of a controller 800 that can implement embodiments of the present disclosure is shown. The controller 800 may, for example, be arranged in a vehicle 102 as shown. Figure 1 The vehicle 102 as shown. With reference to Figure 8As shown, the controller 800 includes a processor 801 that can execute the computer program instructions stored in a computer program product, e.g., a non-transitory computer readable medium, to perform various actions and processes described above. The computer program product can be stored in a memory 802, e.g., a read only memory (ROM), an erasable programmable read only memory (EPROM), or a flash memory. The memory 802 can also store various programs and data required for the operation of the controller 800. The processor 801, the memory 802, and the computer program product can be connected to each other by a bus 804. An input / output (I / O) interface 805 is also connected to the bus 804.
[0080] The processor 801 can be various general purpose and / or special purpose processing components having processing and computing capabilities. Some examples of the processor 801 include, but are not limited to, a central processing unit (CPU), a graphics processing unit (GPU), various specialized artificial intelligence (AI) computing chips, various computing units running machine learning model algorithms, a digital signal processor (DSP), and any suitable processor, controller, microcontroller, etc. The processor 801 performs various methods and processes described above, e.g., the method 200. For example, in some embodiments, the method 200 can be implemented as a computer software program tangibly embodied in a machine readable medium. In some embodiments, part or all of the computer program can be loaded and / or installed on the controller 800 via the ROM 802. When the computer program is loaded into the RAM 803 and executed by the processor 801, one or more steps of the method 200 described above can be performed. Alternatively, in other embodiments, the processor 801 can be configured to perform the method 200 by any other suitable means, e.g., by means of firmware.
[0081] The functions described above in this detailed description can be implemented, at least in part, by one or more hardware logic components. For example, and without limitation, illustrative types of hardware logic components that can be used include Field-programmable Gate Arrays (FPGAs), Application-specific Integrated Circuits (ASICs), Application-specific Standard Products (ASSPs), System-on-a-chip systems (SOCs), Complex Programmable Logic Devices (CPLDs), etc.
[0082] Program code for carrying out methods of the present disclosure can be written in any combination of one or more programming languages. The program code can be provided to a processor or controller of a general purpose computer, special purpose computer, or other programmable data processing apparatus to produce a machine, such that the program code, when executed by the processor or controller, causes the machine to perform the functions / acts specified in the flow diagrams and / or block diagrams. The program code can be executed entirely on a machine, partially on a machine, partially on a machine and partially on a remote machine or entirely on a remote machine or server.
[0083] In the context of this disclosure, a machine-readable medium can be a tangible medium that contains or stores a program for use by or in connection with an instruction execution system, apparatus, or device. The machine-readable medium can be a machine-readable signal medium or a machine-readable storage medium. A machine-readable medium can include but is not limited to an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any suitable combination of the foregoing. More specific examples of a machine-readable storage medium will include one or more lines of electrical connections, portable computer disks, hard disk drives, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM or Flash memory), optical fiber, portable compact disc read-only memory (CD-ROM), optical storage device, magnetic storage device, or any suitable combination of the foregoing. Further, while operations are depicted in a particular, chronological sequence, this should not be understood as requiring such order or sequence of operations, or that all illustrated operations be performed to achieve desirable results. In certain circumstances, multitasking and parallel processing can be advantageous. Likewise, while specific implementations are discussed herein, the scope of the present disclosure is not limited to the specific details and representations herein. Certain features described in the context of separate embodiments can also be implemented in combination in a single embodiment. Conversely, various features described in the context of a single embodiment can also be implemented in multiple embodiments separately or in any suitable sub-combination.
[0084] Although the subject matter has been described in language specific to structural features and / or methodological acts, it is to be understood that the subject matter defined in the appended claims is not necessarily limited to the specific features or acts described above. Rather, the specific features and acts described above are disclosed as example forms of implementing the claims.
Claims
1. A method for controlling a vehicle, comprising: Obtain the vehicle's operating status information and external environment information; Based on the operating status information and the external environment information, a first control strategy is determined for one or more components in the vehicle; In response to a service failure associated with the first control strategy, a second control strategy for the one or more components in the vehicle is determined based on the failure information, the operating status information, and the external environment information. The one or more components are grouped according to their physical location in the vehicle; According to the second control strategy, one or more atomic services in the vehicle are invoked in groups, and each of the one or more components corresponds to one of the atomic services. as well as Control of the vehicle is performed through one or more atomic services.
2. The method of claim 1, wherein the service associated with the first control policy includes a composite service and the atomic service, the composite service including determining and executing the first control policy, and a failure of the service associated with the first control policy includes: The failure occurs in either the combined service or the atomic service.
3. The method according to claim 2, further comprising: The execution status of the atomic service and the combined service is monitored through a preset interface; as well as Based on the execution status, it is determined that the service associated with the first control policy has failed.
4. The method according to claim 1, further comprising: In response to the execution of the one or more atomic services, feedback information is output, which is used to show the execution progress of the one or more components in the vehicle.
5. The method of claim 1, wherein the vehicle is configured with one or more preset scenarios, the preset scenarios including preset execution conditions for the one or more components, wherein determining a second control strategy for the one or more components in the vehicle includes: In response to a trigger operation of a target preset scenario in one or more preset scenarios, the preset execution conditions set in the target preset scenario are obtained; as well as In response to a service failure associated with the first control strategy, a second control strategy is determined for one or more components in the vehicle based on the preset execution conditions, the fault information of the target component, the operating status information, and the external environment information.
6. The method according to claim 1, further comprising: In response to the triggering operation of multiple vehicle control commands of the vehicle, the target vehicle control command with the highest priority is executed according to the preset priority rules. as well as According to the target vehicle control command, the vehicle's operating status information and the external environment information are obtained.
7. The method of claim 3, wherein the one or more components include an armrest box, the armrest box including an upper partition and a lower partition, and grouping and invoking one or more atomic services in the vehicle according to the second control strategy includes: Based on the second control strategy, it is determined whether the upper partition and the lower partition are controlled collaboratively; In response to the coordinated control of the upper partition and the lower partition, the atomic services of the upper partition and the lower partition are invoked; as well as In response to the non-cooperative control between the upper and lower partitions, the atomic service of the corresponding partition is invoked.
8. The method of claim 3, wherein the one or more components include a vanity mirror, the vehicle includes a light sensor and an in-vehicle entertainment system, and determining a second control strategy for the one or more components in the vehicle comprises: Acquire the illumination data collected by the light sensor, wherein the external environment information includes the illumination data; Acquire music data from the in-vehicle entertainment system, wherein the operating status information includes the music data; and Based on the fault information, the operating status information, and the external environment information, a second control strategy is determined for one or more of the vanity mirrors in the vehicle. The second control strategy includes controlling the lighting and angle of the one or more vanity mirrors.
9. The method of claim 3, wherein the one or more components include a heating component, and determining a second control strategy for the one or more components in the vehicle comprises: Based on temperature comfort index and energy efficiency index, a multi-objective optimization function is determined; Based on the aforementioned multi-objective optimization function, a multi-objective optimization heating algorithm is determined; as well as Based on the multi-objective optimized heating algorithm, a second control strategy is determined for one or more components in the vehicle.
10. A device for controlling a vehicle, comprising: The information acquisition module is configured to acquire the vehicle's operating status information and external environment information; The first control strategy determination module is configured to determine a first control strategy for one or more components in the vehicle based on the operating status information and the external environment information. The second control strategy determination module is configured to determine a second control strategy for the one or more components in the vehicle based on fault information, the operating status information, and the external environment information in response to a service failure associated with the first control strategy. A grouping module is configured to group the one or more components according to their physical location in the vehicle; The group invocation module is configured to invoke one or more atomic services in the vehicle in groups according to the second control strategy, wherein each of the one or more components corresponds to one of the atomic services. as well as The second control strategy execution module is configured to perform control over the vehicle through one or more atomic services.
11. An electronic device, comprising: At least one processor; as well as A memory coupled to the at least one processor and having instructions stored thereon, which, when executed by the at least one processor, cause the device to perform the method according to any one of claims 1-9.
12. A vehicle comprising the electronic equipment described in claim 11.
13. A computer-readable storage medium having stored thereon computer-executable instructions, wherein the computer-executable instructions are executed by a processor to implement the method according to any one of claims 1 to 9.
Citation Information
Patent Citations
Vehicle automatic driving method and device, vehicle and storage medium
CN112622935A
Vehicle power fault control method, system and device and storage medium
CN115593426A