Vehicle control method and related device
By acquiring vehicle signal information to determine the scene and using flags to control the frequency of action execution, the problem of not being able to accurately control the scene triggering frequency in existing technologies is solved, achieving more efficient vehicle control, improving response accuracy and user experience, and extending the lifespan of the hardware.
Patent Information
- Application Number
- CN202510265726.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2025-03-07
- Publication Date
- 2025-12-09
- Estimated Expiration
- 2045-03-07
AI Technical Summary
Existing vehicle control methods cannot accurately control the frequency of scene triggering, leading to repeated triggering and wasted resources, which affects the accuracy and stability of the system.
By acquiring vehicle signal information to determine the current vehicle scenario, and using flags to control the frequency of action execution, action commands are triggered only under specific conditions, avoiding unnecessary operations and excessive intervention.
It improves response accuracy and user experience, reduces resource waste, and extends hardware lifespan.
Smart Images

Figure CN119975221B_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The present application relates to the technical field of vehicles, and more particularly, to a vehicle control method and related equipment. BACKGROUND
[0002] With the rapid development of intelligent technology, vehicle control systems play an increasingly important role in improving driving experience and driving safety. In particular, in the vehicle intelligent system, how to achieve accurate scene recognition and action triggering is an important technical problem for optimizing the driving environment and enhancing the safety of drivers. The vehicle control system usually needs to determine the current vehicle state based on real-time vehicle signal information and execute corresponding control instructions according to different driving scenes. However, due to the frequent changes of signal information during vehicle driving, the traditional control method often cannot accurately control the triggering time of the scene, resulting in too frequent execution of action instructions or unnecessary intervention, affecting the driving experience and system performance.
[0003] Currently, the problem in the vehicle control method is that although the current scene can be determined by obtaining vehicle signal information, many systems fail to effectively control the triggering frequency of action instructions, resulting in repeated triggering and resource waste, leading to the control strategy being not intelligent enough to adapt to different driving conditions, thereby affecting the accuracy and stability of the system. That is, the prior art has the technical problem of being unable to accurately control the scene triggering frequency, resulting in repeated triggering and resource waste. SUMMARY
[0004] A series of simplified concepts are introduced in the summary part of the present application, which will be further described in detail in the specific embodiment part. The summary part of the present application does not mean to try to limit the key features and necessary technical features of the claimed technical solution, nor to try to determine the protection scope of the claimed technical solution.
[0005] The vehicle control method and related equipment provided by the present application can avoid unnecessary operation and excessive intervention by judging the scene condition according to the vehicle signal and controlling the action execution frequency using the flag, improve the response accuracy, user experience and system efficiency, and prolong the service life of the hardware.
[0006] In a first aspect, the present application provides a vehicle control method, comprising: obtaining vehicle signal information of a target vehicle; determining whether a current vehicle scene of the target vehicle is a preset vehicle scene according to the vehicle signal information; if the current vehicle scene is the preset vehicle scene, obtaining a flag corresponding to the preset vehicle scene; when the flag is a triggerable identifier, executing an action instruction corresponding to the preset vehicle scene, and setting the flag to an untriggerable identifier.
[0007] In some embodiments, after determining whether the current vehicle scene of the target vehicle is the preset vehicle scene according to the vehicle signal information, the vehicle control method further comprises: if the current vehicle scene is not the preset vehicle scene, setting the flag corresponding to the preset vehicle scene as the triggerable flag.
[0008] In some embodiments, the determining whether the current vehicle scene of the target vehicle is the preset vehicle scene according to the vehicle signal information comprises: structuring the vehicle signal information by a vehicle application layer module to obtain first vehicle state information in JSON format; characterizing the first vehicle state information to obtain second vehicle state information in string form, and sending the second vehicle state information to a vehicle engine module; and determining whether the current vehicle scene is the preset vehicle scene by the vehicle engine module based on a conditional judgment on the second vehicle state information.
[0009] In some embodiments, the determining whether the current vehicle scene is the preset vehicle scene based on a conditional judgment on the second vehicle state information comprises: performing a regular matching between the second vehicle state information and a preset state condition to obtain a matching result; if the matching result is true, determining that the current vehicle scene is the preset vehicle scene; and if the matching result is not true, determining that the current vehicle scene is not the preset vehicle scene.
[0010] In some embodiments, the action instruction corresponding to the preset vehicle scene and the preset state condition are both generated by a setting signal of a vehicle control system user interface.
[0011] In some embodiments, the action instruction corresponding to the preset vehicle scene and the preset state condition are both generated by analyzing vehicle historical behavior data.
[0012] In some embodiments, the vehicle signal information comprises external environment information, vehicle driving state information, vehicle energy information, vehicle occupant information, and vehicle internal facility state information.
[0013] In a second aspect, the present application further provides a vehicle control device, comprising: an information acquisition unit configured to acquire vehicle signal information of a target vehicle; a scene judgment unit configured to determine whether a current vehicle scene of the target vehicle is a preset vehicle scene according to the vehicle signal information; a flag acquisition unit configured to acquire a flag corresponding to the preset vehicle scene if the current vehicle scene is the preset vehicle scene; and a trigger execution unit configured to execute an action instruction corresponding to the preset vehicle scene when the flag is a triggerable flag, and set the flag as a non-triggerable flag.
[0014] In a third aspect, the present application also provides an electronic device, comprising a memory and a processor, wherein the processor is configured to execute the steps of the vehicle control method according to the first aspect when executing a computer program stored in the memory.
[0015] In a fourth aspect, the present application also provides a computer readable storage medium storing a computer program, wherein the computer program is configured to execute the steps of the vehicle control method according to the first aspect when executed by a processor.
[0016] In a fifth aspect, the present application also provides a computer program product comprising a computer program or computer executable instructions, wherein the computer program or computer executable instructions are configured to execute the steps of the vehicle control method according to the embodiments of the present application when executed by a processor.
[0017] To sum up, the present application ensures that the corresponding action instruction is triggered only under specific conditions by judging whether the current vehicle scene matches the preset vehicle scene according to the vehicle signal information, effectively avoids unnecessary action execution caused by too frequent signal updating, and improves response accuracy and user experience. The execution frequency of each scene is controlled by using a flag bit, the action instruction of the preset scene is executed when the flag bit is a triggerable identifier, and the flag bit is set to a non-triggerable identifier, which can avoid repeated execution of actions when the scene condition is repeatedly met, avoid excessive intervention in user operation, and improve driving comfort and safety. The repeated execution of the action instruction is limited by setting the flag bit, which avoids wasting computing and energy resources due to frequent execution of meaningless operations, thereby improving overall efficiency and prolonging the service life of hardware. To sum up, the vehicle control method provided by the present application judges the scene condition according to the vehicle signal, controls the action execution frequency by using a flag bit, avoids unnecessary operation and excessive intervention, improves response accuracy, user experience and system efficiency, and prolongs the service life of hardware. BRIEF DESCRIPTION OF DRAWINGS
[0018] Various other advantages and benefits will become apparent to those of ordinary skill in the art upon reading the following detailed description of the preferred embodiments. The accompanying drawings are included to provide a description of the preferred embodiments, and are not intended to limit the present application. Moreover, like reference numerals are used to designate like parts throughout the accompanying drawings. In the drawings:
[0019] Figure 1 A flowchart of a vehicle control method according to an embodiment of the present application;
[0020] Figure 2 A schematic diagram of the composition structure of a vehicle control device according to an embodiment of the present application;
[0021] Figure 3A schematic diagram of a component structure of an electronic device is provided in an embodiment of the present application. DETAILED DESCRIPTION
[0022] The terms in the specification, claims and drawings of the present application, such as "first", "second", "third", "fourth", etc. (if any), are used to distinguish similar objects, not to describe a particular order or sequence. Therefore, it is understood that these terms can be used interchangeably under appropriate circumstances, so that the described embodiments can be implemented in different orders, unless the drawings or descriptions specifically require otherwise. In addition, the terms "is" and "has" and any variants thereof in the present application are intended to cover non-exclusive inclusion of all possible constituent elements. For example, a process, method, system, product or device including several steps or units does not necessarily limit to only the explicitly listed steps or units, but can also include other steps or units not explicitly listed or inherent to the process, method, product or device.
[0023] In the present application, "module" or "unit" refers to a computer program or a part of a computer program with a specific function, and works with other related parts to achieve a predetermined target. These modules or units can be implemented by software, hardware (such as processing circuitry or memory) or a combination of both. One or more processors or memories can implement one or more modules or units. At the same time, each module or unit can also be part of a larger module or unit.
[0024] The technical solutions in the present application will be described in detail below in conjunction with the drawings in the embodiments. It should be noted that the described embodiments are only a part of the present application, not all embodiments. In the following description, "some embodiments" mentioned is only a subset of all possible embodiments, which can be the same or different subset, and different embodiments can be combined with each other without conflict.
[0025] Figure 1 is a flowchart of a vehicle control method provided in an embodiment of the present application. For example, referring to Figure 1 The vehicle control method provided in the embodiments of the present application can include the following steps 101 to 104:
[0026] Step 101, obtaining vehicle signal information of a target vehicle;
[0027] Exemplarily, the target vehicle refers to a specific vehicle that needs to be controlled or monitored, which can be a single vehicle or a vehicle in a vehicle group, refers to a vehicle that is running or receiving instructions, and needs to make decisions and perform control operations based on the state information of the vehicle. The vehicle signal information refers to real-time data collected from various sensors, control modules and electronic systems of the target vehicle, including but not limited to vehicle speed, engine state, driving mode, window state, door state, passenger information, environmental perception data (such as temperature, humidity), vehicle energy information (such as battery power or oil quantity) and the like.
[0028] Through the implementation of step 101, it is ensured that the state information (such as vehicle speed, window state, driving mode, etc.) of the target vehicle can be acquired and processed in real time. By acquiring these signal information, the actual condition of the vehicle can be comprehensively understood, and accurate data support can be provided for subsequent scene judgment and action execution.
[0029] Step 102, according to the vehicle signal information, whether the current vehicle scene of the target vehicle is a preset vehicle scene;
[0030] Exemplarily, the current vehicle scene refers to the collection of driving states or environmental conditions of the vehicle at a specific time or under specific conditions, which can be determined by various signal information (such as vehicle speed, window state, air conditioner state, etc.) of the target vehicle and external environmental conditions. For example, if the vehicle speed is greater than 80km / h, the current vehicle scene can be a "high-speed driving" scene, or if the vehicle speed is 0 and the engine is off, the current vehicle scene can be a "parking" scene. The preset vehicle scene is a set of driving conditions and environmental states defined in advance according to user demand or design. The preset vehicle scene can include some specific conditions, such as "vehicle acceleration state" (vehicle speed increase) or "window open state".
[0031] Through the implementation of step 102, the vehicle signal information is analyzed to determine whether the current vehicle meets a certain preset driving scene condition (such as high-speed driving, parking state, etc.). It can be ensured that only in a specific driving scene, the corresponding action instruction can be triggered, thereby avoiding unnecessary operation, reducing misoperation and excessive intervention, and improving driving comfort and safety.
[0032] Step 103, if the current vehicle scene is a preset vehicle scene, obtaining a flag corresponding to the preset vehicle scene;
[0033] Exemplarily, the flag is a kind of mark for controlling the state of the system, which can indicate whether the action corresponding to the preset vehicle scene can be executed. The state of the flag can have two values: triggerable and untriggerable.
[0034] By implementing step 103, the flag corresponding to the preset scene is obtained, the triggering frequency of the scene can be controlled, the flag provides a switching mechanism to help determine whether to allow the action in the preset scene to be executed, and repeated execution of the action instruction in the case of frequent signal changes can be avoided, thereby avoiding unnecessary resource waste and interference with user operation.
[0035] In step 104, when the flag is a triggerable identifier, the action instruction corresponding to the preset vehicle scene is executed, and the flag is set to a non-triggerable identifier.
[0036] For example, the triggerable identifier means that in the state of the flag, when the current scene meets the execution condition, the action instruction related to the scene is allowed to be executed, which functions to execute the preset action when the current scene meets the triggering condition. For example, when the vehicle speed exceeds 80 km / h, the flag corresponding to the "vehicle speed greater than 80 km / h" preset scene is obtained, and if the flag is set to "triggerable identifier". The action instruction corresponding to the preset vehicle scene means the specific operation or instruction that needs to be executed when a specific scene is matched, and each preset scene has a corresponding action instruction. For example, when the vehicle speed exceeds a certain threshold, control operations such as adjusting the air conditioner, opening the window, and closing the window may need to be performed. The non-triggerable identifier indicates that after the scene is triggered, the flag is set to this state, and the action instruction of the scene is prohibited from being repeatedly executed, which functions to prevent the action instruction from being triggered multiple times under the same scene condition and avoid frequent execution of meaningless operations. For example, after opening the window when the vehicle speed exceeds 80 km / h, the flag is set to "non-triggerable identifier", so that even if the vehicle speed continues to exceed 80 km / h, the window will not be opened again.
[0037] By implementing step 104, the action instruction is executed when the flag is triggerable, and the flag is set to non-triggerable identifier after execution, which can effectively prevent the same scene from being repeatedly triggered in a short period of time, not only improving the accuracy of control, but also ensuring that the scene action is executed only once when the condition is met for the first time, avoiding frequent repeated operations, reducing system burden, and avoiding discomfort caused by excessive automated operation of the driver.
[0038] In summary, the embodiment of the present application ensures that the corresponding action instruction is triggered only under specific conditions by judging whether the current vehicle scene matches the preset vehicle scene according to the vehicle signal information, effectively avoids unnecessary action execution caused by excessively frequent signal updates, and improves response accuracy and user experience; the execution frequency of each scene is controlled by using the flag bit, when the flag bit is the triggerable identifier, the action instruction of the preset scene is executed, and the flag bit is set to the untriggerable identifier, which can avoid repeated execution of actions when the scene condition is repeatedly met, avoid excessive intervention in user operation, and improve driving comfort and safety; the repeated execution of the action instruction is limited by setting the flag bit, which avoids wasting calculation and energy resources caused by frequent execution of meaningless operations, thereby improving overall efficiency and prolonging the service life of hardware. In summary, the vehicle control method provided by the embodiment of the present application judges the scene condition according to the vehicle signal, controls the action execution frequency by using the flag bit, avoids unnecessary operation and excessive intervention, improves response accuracy, user experience and system efficiency, and prolongs the service life of hardware.
[0039] In some embodiments, after step 102, the foregoing vehicle control method can further include: if the current vehicle scene is not the preset vehicle scene, setting the flag bit corresponding to the preset vehicle scene to the triggerable identifier.
[0040] For example, when the current state of the vehicle does not meet the conditions of the preset scene, the flag bit of the preset scene is actively set to the triggerable identifier; that is, when the vehicle state changes and does not meet the conditions of the current preset scene, the related flag bit is reset so as to trigger the corresponding action instruction at an appropriate time in the future.
[0041] Through the implementation of the foregoing embodiments, after judging whether the current vehicle scene is the preset scene, if the scenes do not match, the flag bit is set to the triggerable identifier, which ensures that the flag bit can be adjusted in the scene that does not meet the conditions, facilitates timely enabling of scene control, not only improves the accuracy of scene matching, but also increases the adaptability of the method, so that the method provided by the embodiment of the present application can work stably under various driving conditions.
[0042] In some embodiments, the foregoing step 102 can include: structuring the vehicle signal information by a vehicle application layer module to obtain first vehicle state information in JSON format; characterizing the first vehicle state information to obtain second vehicle state information in the form of a string, and sending the second vehicle state information to a vehicle engine module; determining whether the current vehicle scene is the preset vehicle scene by the vehicle engine module by condition judging on the second vehicle state information.
[0043] For example, the Vehicle Application Layer (VAL) module is an important component in the vehicle system for processing vehicle signal information, responsible for collecting, organizing and processing signal information from vehicle hardware modules or other data sources. The VAL module structures various sensor information of the target vehicle (such as vehicle speed, window status, environmental data, etc.) to provide data support for subsequent judgment and control. The first vehicle state information in JSON format is the vehicle signal information collected by the VAL module stored and represented in JSON (JavaScript Object Notation) format. JSON is a lightweight data exchange format that is easy to parse and process. The second vehicle state information in string format is a further conversion of the first vehicle state information (JSON format) into string format for transmission, storage and interaction with other systems (such as the vehicle engine module). By converting JSON format data into a string, data can be sent to other modules through a communication protocol (such as TCP / IP). The vehicle engine module is an arbitration module implemented in C++, loaded by the Android service through the JNI interface. The module communicates with the VAL module using the TCP protocol. Specifically, the engine module acts as a TCP client, while the VAL module acts as a TCP server. The vehicle engine module is the core computing unit in the vehicle system, responsible for processing vehicle state information sent from the VAL module and executing corresponding control logic based on the information. The vehicle engine module determines whether to trigger corresponding action instructions by judging whether the vehicle state information meets the preset scenario conditions.
[0044] Through the implementation of the above embodiments, the vehicle signal information is structured by the VAL module to obtain vehicle state information in JSON format, and is further converted into string format and sent to the engine module for judgment, providing a standardized and structured data transmission method to ensure that vehicle signals are transmitted between modules more standardized, clear, and easy to process, thereby accurately analyzing and processing vehicle status to ensure the efficiency and accuracy of the judgment process.
[0045] In some embodiments, the aforementioned conditional judgment of the second vehicle state information to determine whether the current vehicle scenario is a preset vehicle scenario can include: performing regular matching of the second vehicle state information with the preset state condition to obtain a matching result; if the matching result is true, determining that the current vehicle scenario is the preset vehicle scenario; if the matching result is not true, determining that the current vehicle scenario is not the preset vehicle scenario.
[0046] Exemplarily, the preset state condition refers to a set of vehicle state standards defined in advance according to different application scenarios and requirements, which is used to determine whether a specific preset vehicle scenario is met; for example, a vehicle speed greater than 80 km / h and the like are part of the preset state condition. The matching result refers to the result determined by the regular matching process, which can be "true" or "false", indicating whether the current vehicle state information meets the preset condition. If the matching result is true, it means that the vehicle state meets the condition of the preset scenario, and the current vehicle scenario is the preset vehicle scenario; if the matching result is false, it means that the vehicle state does not meet the preset condition, and the current vehicle scenario is not the preset vehicle scenario. Regular matching is a technique for searching and matching string patterns, which can find specific patterns in the second vehicle state information in the form of a string through a regular expression, and verify whether the input data meets the preset condition.
[0047] In some examples, the vehicle engine module compares the second vehicle state information (such as vehicle speed, window state, etc.) with the preset state condition through regular matching; if the vehicle speed exceeds 80 km / h, the regular matching will return "true", indicating that the current vehicle scenario is the preset scenario of "vehicle speed exceeding 80 km / h"; if the vehicle speed is less than or equal to 80 km / h, the regular matching will return "false", and the current vehicle scenario does not meet the preset condition, so the action will not be triggered.
[0048] Through the implementation of the above embodiments, regular matching of the second vehicle state information and the preset state condition can accurately determine whether the current vehicle scenario matches the preset scenario; regular matching provides an efficient way for scenario judgment, ensuring that the vehicle state can be quickly identified and processed, reducing the consumption of computing resources, improving response speed, and if the matching is successful, the related control action can be executed in time, avoiding false triggering or missing triggering, and enhancing the stability and accuracy of the method execution.
[0049] In some embodiments, the action instruction corresponding to the preset vehicle scenario and the preset state condition are generated by a setting signal of a vehicle control system user interface.
[0050] Exemplarily, the vehicle control system user interface is an interface in the vehicle system that interacts with the driver or passenger, which can include a touch screen, buttons, knobs, or a voice recognition system, etc. Through this interface, the user can view the state of the vehicle, adjust the settings, and define the preset vehicle scenario and action instruction. The setting signal refers to the instruction or parameter input by the user through the vehicle control system user interface, which is used to define a specific vehicle operation condition or action; for example, the user sets a setting signal such as "turn off the air conditioner when the vehicle speed is greater than 80 km / h", the preset state condition is that the vehicle speed is greater than 80 km / h, and the action instruction corresponding to the preset vehicle scenario is to turn off the air conditioner.
[0051] Through implementation of the foregoing embodiments, the user can customize the driving scene according to the own needs, a flexible personalized customization function is provided, and the user friendliness and operability of the system are enhanced; the user can set an expected scene control strategy according to different driving environments, thereby optimizing the automatic control effect of the vehicle and improving the driving experience.
[0052] In some embodiments, the action instruction and the preset state condition corresponding to the preset vehicle scene are generated by analyzing vehicle historical behavior data.
[0053] For example, the vehicle historical behavior data refers to all historical data related to vehicle operation and environmental conditions recorded in the vehicle use process, including the operation behavior of the driver (such as acceleration, braking, window control, etc.), the vehicle state (such as vehicle speed, fuel quantity, air conditioning setting, etc.), and the environmental information (such as temperature, weather, road condition, etc.); the historical behavior data can provide rich background information for the vehicle control system, help the system intelligently generate adaptive preset vehicle scenes and corresponding action instructions according to the past driving habits and environmental changes; for example, the vehicle records the behavior that the driver often turns on the air conditioner when the vehicle speed reaches 60 km / h in the morning and automatically adjusts the window when the vehicle speed reaches 80 km / h at night, and these data constitute the vehicle historical behavior data.
[0054] Through implementation of the foregoing embodiments, the action instruction and the state condition of the preset vehicle scene are generated based on the analysis of the vehicle historical behavior data, the driving habits and preferences of the driver can be learned and adapted, the intelligent level of control is improved in a data-driven manner, the vehicle can accumulate experience from the historical behavior, make more intelligent and personalized decisions, and thus the intelligent and adaptive ability of vehicle control is improved.
[0055] In some embodiments, the foregoing vehicle signal information can include external environmental information, vehicle driving state information, vehicle energy information, vehicle occupant information, and vehicle internal facility state information.
[0056] For example, the external environment information refers to the external environment conditions in which the vehicle is located, including weather, road conditions, traffic flow, obstacle conditions, etc., which directly affect driving decisions and vehicle operation; for example, the external environment information can include external temperature, humidity, weather conditions (sunny, rainy, snowy, etc.), road conditions (dry, wet, etc.), traffic flow, GPS positioning, etc. Vehicle driving state information refers to dynamic data related to vehicle motion, including speed, acceleration, brake state, throttle opening, steering wheel angle, etc., reflecting the current running state of the vehicle, directly affecting the driver's operation and the response of the vehicle control system, and the automatic driving system state of the vehicle and the driving mode used by the driver (such as automatic cruise, driving mode setting, etc.) also belong to the vehicle driving state information. Vehicle energy information refers to data related to vehicle energy, including battery power (for electric or hybrid vehicles), fuel level (for traditional fuel vehicles), charging status (charging speed, charging completion time, etc.), energy recovery (such as energy recovery when braking), etc. Vehicle occupant information refers to data related to personnel in the vehicle, including the seat occupancy status of the occupant, whether the seat belt is fastened, occupant detection information (such as child seat status), and occupant behavior (such as control of the vehicle system through in-vehicle voice commands or touch operations). Vehicle interior facility state information refers to the working state of various facilities inside the vehicle (such as doors, windows, seats, air conditioning, etc.), including whether the doors are unlocked, the lifting state of the windows, the seat position and heating / ventilation state, the air conditioning temperature and air speed, etc.
[0057] In some examples, when the external temperature exceeds 30°C, it is automatically determined to enter a "high-temperature weather scenario", and the in-vehicle air conditioning system is turned on, the temperature is set to 22°C, the air speed is set to medium, and the air conditioning cycle mode is started to ensure a comfortable in-vehicle environment. When the traffic flow is large or the road is congested, the vehicle control system automatically switches to "energy-saving driving mode", reduces the speed to 30-40 km / h, and reduces unnecessary acceleration and sudden braking operations, thereby optimizing fuel or energy consumption, improving driving safety and comfort. When the external air quality is poor or the wind speed is too large, the vehicle control system automatically closes the windows and starts the in-vehicle air purification system to maintain fresh air and reduce the entry of external pollutants, providing a healthier driving environment
[0058] Through the implementation of the above embodiments, the diversification of vehicle signal information ensures that the vehicle control method can obtain comprehensive data in complex driving environments, and can make comprehensive judgments based on more comprehensive signal information, improving the accuracy of scene recognition and the comprehensiveness of response.
[0059] Furthermore, as an implementation of the foregoing method embodiments, this application also provides a vehicle control device for implementing the foregoing method embodiments. This device embodiment corresponds to the foregoing method embodiments. For ease of reading, this vehicle control device embodiment will not repeat the details of the foregoing method embodiments one by one, but it should be understood that the device in this application embodiment can correspondingly implement all the contents of the foregoing method embodiments. For example... Figure 2 As shown, the vehicle control device 20 includes: an information acquisition unit 201, a scene judgment unit 202, a flag acquisition unit 203, and a trigger execution unit 204. The information acquisition unit 201 is used to acquire vehicle signal information of the target vehicle; the scene judgment unit 202 is used to determine whether the current vehicle scene of the target vehicle is a preset vehicle scene based on the vehicle signal information; the flag acquisition unit 203 is used to acquire a flag corresponding to the preset vehicle scene if the current vehicle scene is a preset vehicle scene; and the trigger execution unit 204 is used to execute the action command corresponding to the preset vehicle scene when the flag is a triggerable flag, and set the flag to an untriggerable flag.
[0060] In some embodiments, the trigger execution unit 204 is further configured to set the flag corresponding to the preset vehicle scenario as a triggerable flag if the current vehicle scenario is not a preset vehicle scenario.
[0061] In some embodiments, the scene determination unit 202 is further configured to perform structured processing on the vehicle signal information through the vehicle application layer module to obtain first vehicle status information in JSON format; convert the first vehicle status information into character form to obtain second vehicle status information in string form, and send the second vehicle status information to the vehicle engine module; and perform conditional judgment on the second vehicle status information through the vehicle engine module to determine whether the current vehicle scene is a preset vehicle scene.
[0062] In some embodiments, the scene determination unit 202 is further configured to perform regular expression matching between the second vehicle state information and the preset state conditions to obtain a matching result; if the matching result is true, the current vehicle scene is determined to be the preset vehicle scene; if the matching result is not true, the current vehicle scene is determined to be the preset vehicle scene.
[0063] In some embodiments, the action commands and preset state conditions corresponding to the preset vehicle scenario are generated through setting signals from the user interface of the vehicle control system.
[0064] In some embodiments, the action commands and preset state conditions corresponding to the preset vehicle scenario are generated by analyzing historical vehicle behavior data.
[0065] In some embodiments, the vehicle signal information comprises external environment information, vehicle driving state information, vehicle energy information, vehicle occupant information, and vehicle internal facility state information.
[0066] The present application also provides a computer readable storage medium, which stores computer executable instructions or computer programs, and when the computer executable instructions or computer programs are executed by a processor, the processor executes any step of the vehicle control method provided by the present application.
[0067] In some embodiments, the computer readable storage medium can be a random access memory (RAM), a Read-Only Memory (ROM), a flash memory, a magnetic surface memory, an optical disc, or a Compact Disc Read-Only Memory (CD-ROM), etc. The computer readable storage medium can also be various devices including one or any combination of the above storage mediums.
[0068] In some embodiments, the computer executable instructions can be in the form of programs, software, software modules, scripts or codes, written in any form of programming language (including compiled or interpreted languages, or declarative or procedural languages), and can be deployed in any form, including being deployed as independent programs or being deployed as modules, components, subroutines or other units suitable for use in a computing environment.
[0069] In some embodiments, the computer executable instructions can but not necessarily correspond to files in a file system, can be stored in a part of a file storing other programs or data, for example, stored in one or more scripts in a HyperText Markup Language (HTML) document, stored in a single file dedicated to the program in question, or stored in multiple cooperative files (for example, files storing one or more modules, subroutines or code parts).
[0070] In some embodiments, the computer executable instructions can be deployed to execute on one electronic device, or on multiple electronic devices located at one site, or on multiple electronic devices distributed at multiple sites and interconnected through a communication network.
[0071] As shown in Figure 3 The present application also provides an electronic device 30, which comprises a memory 310, a processor 320, and a computer program 311 stored in the memory 310 and executable on the processor, and when the processor 320 executes the computer program 311, any step of the vehicle control method described above is implemented.
[0072] The application also provides a computer program product, which comprises a computer program or computer executable instructions stored in a computer readable storage medium. A processor of an electronic device reads the computer program or computer executable instructions from the computer readable storage medium, and the processor executes the computer program or computer executable instructions, so that the electronic device performs any step of the vehicle control method described above.
[0073] The above examples are only used to illustrate the technical solutions of the present application, but not limit the same; although the present application has been described in detail with reference to the foregoing examples, those skilled in the art should understand that the technical solutions recorded in the foregoing examples can be modified, or some technical features can be replaced by equivalents; and these modifications or replacements do not make the essence of the corresponding technical solutions deviate from the spirit and scope of the technical solutions of the embodiments of the present application.
Claims
1. A vehicle control method characterized by, The method comprises the following steps: acquiring vehicle signal information of a target vehicle; judging whether a current vehicle scene of the target vehicle is a preset vehicle scene according to the vehicle signal information; if the current vehicle scene is the preset vehicle scene, acquiring a flag corresponding to the preset vehicle scene; when the flag is a triggerable flag, executing an action instruction corresponding to the preset vehicle scene, and setting the flag as a non-triggerable flag; the judging whether the current vehicle scene of the target vehicle is the preset vehicle scene according to the vehicle signal information comprises: structuring the vehicle signal information through a vehicle application layer module to obtain first vehicle state information in JSON format; characterizing the first vehicle state information to obtain second vehicle state information in string form, and sending the second vehicle state information to a vehicle engine module; judging the second vehicle state information through the vehicle engine module to determine whether the current vehicle scene is the preset vehicle scene.
2. The vehicle control method according to claim 1, characterized by, After judging whether the current vehicle scene of the target vehicle is the preset vehicle scene according to the vehicle signal information, the vehicle control method further comprises: if the current vehicle scene is not the preset vehicle scene, setting the flag corresponding to the preset vehicle scene as the triggerable flag.
3. The vehicle control method according to claim 1, characterized by, the judging the second vehicle state information to determine whether the current vehicle scene is the preset vehicle scene comprises: regularly matching the second vehicle state information with a preset state condition to obtain a matching result; if the matching result is true, determining that the current vehicle scene is the preset vehicle scene; if the matching result is not true, determining that the current vehicle scene is not the preset vehicle scene.
4. The vehicle control method according to claim 3, characterized by, the action instruction corresponding to the preset vehicle scene and the preset state condition are generated through a setting signal of a vehicle control system user interface.
5. The vehicle control method according to claim 3, characterized by, the action instruction corresponding to the preset vehicle scene and the preset state condition are generated through analysis of vehicle historical behavior data.
6. The vehicle control method according to any one of claims 1 to 5, characterized by, The vehicle signal information comprises external environment information, vehicle driving state information, vehicle energy information, vehicle occupant information, and vehicle internal facility state information.
7. A vehicle control device characterized by comprising: The method comprises the following steps: an information acquisition unit is configured to acquire vehicle signal information of a target vehicle; a scene judgment unit is configured to judge whether a current vehicle scene of the target vehicle is a preset vehicle scene according to the vehicle signal information; a flag acquisition unit is configured to acquire a flag corresponding to the preset vehicle scene if the current vehicle scene is the preset vehicle scene; a trigger execution unit is configured to execute an action instruction corresponding to the preset vehicle scene when the flag is a triggerable flag, and set the flag as a non-triggerable flag. The scene judging unit is further configured to structure the vehicle signal information through a vehicle application layer module to obtain first vehicle state information in a JSON format; perform character conversion on the first vehicle state information to obtain second vehicle state information in a string form; and send the second vehicle state information to a vehicle engine module. The vehicle engine module is configured to perform conditional judgment on the second vehicle state information to determine whether the current vehicle scene is the preset vehicle scene.
8. An electronic device comprising: A memory and a processor, wherein the processor is configured to implement the steps of the vehicle control method according to any one of claims 1-6 when executing a computer program stored in the memory.
9. A computer-readable storage medium having stored thereon a computer program, characterized in that, The computer program is configured to implement the steps of the vehicle control method according to any one of claims 1-6 when executed by a processor.
Citation Information
Patent Citations
Vehicle information processing method, equipment and medium
CN119420795A
Torque control method and apparatus
WO2024255315A1