Vehicle control method and related equipment
By using vehicle signal information to judge the current scene in the vehicle control system and using flag positions to control the operation execution frequency, the problem of the scene trigger frequency in the prior art is solved, and the system's response accuracy and user experience are improved.
Patent Information
- Application Number
- CN202510265726.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-03-07
- Publication Date
- 2025-05-13
- Estimated Expiration
- 2045-03-07
AI Technical Summary
Existing vehicle control methods cannot accurately control the scene trigger frequency, resulting in repeated triggering and waste of resources, affecting the accuracy and stability of the system.
By obtaining vehicle signal information, determine whether the current vehicle scene is a preset scene, and use flag positions to control the operation execution frequency to ensure that the corresponding action command is triggered only under specific conditions.
It effectively avoids unnecessary operations and excessive intervention, improves response accuracy, user experience and system efficiency, and extends the service life of the hardware.
Smart Images

Figure CN119975221A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of vehicle technology, and more specifically, to a vehicle control method and related equipment. Background Art
[0002] With the rapid development of intelligent technology, vehicle control systems play an increasingly important role in improving driving experience and driving safety; especially in vehicle-mounted intelligent systems, how to achieve accurate scene recognition and action triggering is an important technical issue for optimizing the driving environment and enhancing driver safety. Vehicle control systems usually need to judge the current vehicle status based on real-time vehicle signal information and execute corresponding control instructions according to different driving scenarios; however, due to the frequent changes in signal information during vehicle driving, traditional control methods often cannot accurately control the triggering timing of the scene, resulting in too frequent execution of action instructions or unnecessary intervention, affecting driving experience and system performance.
[0003] At present, the problem in vehicle control methods is that although the current scene can be judged by obtaining vehicle signal information, many systems fail to effectively control the trigger frequency of action instructions, resulting in repeated triggering and waste of resources, and the control strategy is not intelligent enough and cannot flexibly adapt to the needs under different driving conditions, which in turn affects the accuracy and stability of the system. In other words, the existing technology has the technical problem of being unable to accurately control the scene trigger frequency, resulting in repeated triggering and waste of resources. Summary of the invention
[0004] A series of simplified concepts are introduced in the summary of the invention, which will be further described in detail in the detailed description. The summary of the invention of this application does not mean to attempt to define the key features and essential technical features of the technical solution claimed for protection, nor does it mean to attempt to determine the scope of protection of the technical solution claimed for protection.
[0005] The vehicle control method and related equipment provided in this application can avoid unnecessary operations and excessive intervention by judging scene conditions based on vehicle signals and using flags to control the frequency of action execution, thereby improving response accuracy, user experience and system efficiency, and extending the service life of hardware.
[0006] In a first aspect, the present application provides a vehicle control method, comprising: obtaining vehicle signal information of a target vehicle; judging whether a current vehicle scene of the target vehicle is a preset vehicle scene based on 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 flag, executing an action instruction corresponding to the preset vehicle scene, and setting the flag to a non-triggerable flag.
[0007] In some embodiments, after determining whether the current vehicle scene of the target vehicle is a preset vehicle scene based on the vehicle signal information, the vehicle control method further includes: 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, judging whether the current vehicle scene of the target vehicle is a preset vehicle scene based on the vehicle signal information includes: performing structured processing on the vehicle signal information through a vehicle application layer module to obtain first vehicle status information in a JSON format; performing character conversion on the first vehicle status information to obtain second vehicle status information in a string form, and sending the second vehicle status information to a vehicle engine module; and performing conditional judgment on the second vehicle status information through the vehicle engine module to determine whether the current vehicle scene is the preset vehicle scene.
[0009] In some embodiments, the conditional judgment of the second vehicle status information to determine whether the current vehicle scene is the preset vehicle scene includes: canonical matching the second vehicle status information with the preset status 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.
[0010] In some implementations, the action instructions corresponding to the preset vehicle scenario and the preset state conditions are both generated by setting signals of the vehicle control system user interface.
[0011] In some implementations, the action instructions corresponding to the preset vehicle scenario and the preset state conditions are generated by analyzing the vehicle's historical behavior data.
[0012] In some embodiments, the vehicle signal information includes external environment information, vehicle driving status information, vehicle machine energy information, vehicle occupant information, and vehicle internal facility status information.
[0013] In the second aspect, the present application also provides a vehicle control device, including: an information acquisition unit, used to acquire vehicle signal information of a target vehicle; a scene judgment unit, used to judge whether the current vehicle scene of the target vehicle is a preset vehicle scene based on the vehicle signal information; a flag acquisition unit, used to acquire a flag corresponding to the preset vehicle scene if the current vehicle scene is the preset vehicle scene; a trigger execution unit, used to execute an action instruction corresponding to the preset vehicle scene when the flag is a triggerable flag, and set the flag to a non-triggerable flag.
[0014] In a third aspect, the present application further provides an electronic device, comprising: a memory and a processor, wherein the processor is configured to implement the steps of the vehicle control method described in the first aspect when executing a computer program stored in the memory.
[0015] In a fourth aspect, the present application further provides a computer-readable storage medium storing a computer program, which, when executed by a processor, implements the steps of the vehicle control method described in the first aspect.
[0016] In a fifth aspect, the present application also provides a computer program product, including a computer program or computer executable instructions, which, when executed by a processor, implements the vehicle control method provided in an embodiment of the present application.
[0017] In summary, the present application determines whether the current vehicle scene matches the preset vehicle scene based on the vehicle signal information, ensuring that the corresponding action instructions are triggered only under specific conditions, effectively avoiding unnecessary action execution due to too frequent signal updates, and improving response accuracy and user experience; using the flag bit to control the execution frequency of each scene, when the flag bit is a triggerable mark, executing the action instructions of the preset scene, and setting the flag bit to a non-triggerable mark, it can avoid repeated execution of actions when the scene conditions are repeatedly met, avoid excessive intervention in user operations, and improve driving comfort and safety; by setting the flag bit to limit the repeated execution of action instructions, it avoids wasting computing and energy resources due to frequent execution of meaningless operations, thereby improving overall efficiency and extending the service life of the hardware. In summary, the vehicle control method provided by the present application determines the scene conditions based on the vehicle signal, uses the flag bit to control the execution frequency of the action, avoids unnecessary operations and excessive intervention, improves response accuracy, user experience and system efficiency, and extends the service life of the hardware. BRIEF DESCRIPTION OF THE DRAWINGS
[0018] Various other advantages and benefits will become apparent to those of ordinary skill in the art by reading the detailed description of the preferred embodiments below. The accompanying drawings are only for the purpose of illustrating the preferred embodiments and are not to be considered as limiting the present specification. Also, the same reference symbols are used throughout the accompanying drawings to represent the same components. In the accompanying drawings:
[0019] Figure 1 A schematic diagram of a vehicle control method provided in an embodiment of the present application;
[0020] Figure 2 A schematic diagram of the structure of a vehicle control device provided in an embodiment of the present application;
[0021] Figure 3A schematic diagram of the structure of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0022] Terms in the specification, claims and drawings of this application, such as "first", "second", "third", "fourth", etc. (if any), are used to distinguish similar objects rather than to describe a specific order or sequence. Therefore, it is understood that these terms can be used interchangeably where appropriate, so that the described embodiments can be implemented in a different order unless otherwise specified in the diagram or description. In addition, the terms "is" and "has" and any variations thereof in this application are intended to cover all possible constituent elements on a non-exclusive basis. For example, a process, method, system, product or device comprising a number of steps or units is not necessarily limited to the steps or units that are explicitly listed, but may also include other steps or units that are not explicitly listed, or steps or units that are inherent to the process, method, product or device.
[0023] In this application, a "module" or "unit" refers to a computer program or a part of a computer program that has a specific function and works in conjunction with other related parts to achieve a predetermined goal. These modules or units can be implemented by software, hardware (such as processing circuits or memories), or a combination of the two. 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 a 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, the "some embodiments" mentioned are only subsets of all possible embodiments, which may be the same or different subsets, and different embodiments may be combined with each other without conflict.
[0025] Figure 1 is a flow chart of a vehicle control method provided by an embodiment of the present application. Figure 1 The vehicle control method provided in the embodiment of the present application may 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 may be a single vehicle or a group of vehicles in a fleet. It refers to a vehicle that is running or receiving instructions, and it is necessary to make decisions and perform control operations based on the status information of the vehicle. 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 the vehicle's speed, engine status, driving mode, windows, door status, occupant information, environmental perception data (such as temperature, humidity), vehicle energy information (such as battery power or fuel level), etc.
[0028] Through the implementation of step 101, it is ensured that the status information of the target vehicle (such as vehicle speed, window status, driving mode, etc.) can be acquired and processed in real time. By acquiring these signal information, the actual condition of the vehicle can be fully understood, providing accurate data support for subsequent scene judgment and action execution.
[0029] Step 102, judging whether the current vehicle scene of the target vehicle is a preset vehicle scene according to the vehicle signal information;
[0030] Exemplarily, the current vehicle scene refers to a set of driving states or environmental conditions of the vehicle at a specific moment or under specific conditions, which may be determined by various signal information of the target vehicle (such as vehicle speed, window status, air conditioning status, etc.) and external environmental conditions; for example, if the vehicle speed is greater than 80km / h, the current vehicle scene may be a "high-speed driving" scene, or if the vehicle speed is 0 and the engine is turned off, the current vehicle scene may be a "parking" scene, etc. The preset vehicle scene is a set of driving conditions and environmental states predefined according to user needs or designs, and the preset vehicle scene may include some specific conditions, such as "vehicle acceleration state" (vehicle speed increases), or "window open state", etc.
[0031] By implementing step 102, the vehicle signal information is analyzed to determine whether the current vehicle meets a preset driving scenario condition (such as high-speed driving, parking state, etc.), which can ensure that the corresponding action command is triggered only in a specific driving scenario, thereby avoiding unnecessary operations, reducing misoperations and excessive interventions, 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, a flag bit is a mark used to control the system status, which can indicate whether an action corresponding to a preset vehicle scenario can be executed; the status of the flag bit can have two values: a triggerable flag and a non-triggerable flag.
[0034] By implementing step 103, a flag bit corresponding to the preset scene is obtained, and the trigger frequency of the scene can be controlled. The flag bit provides a switch mechanism to help determine whether to allow the execution of the action in the preset scene, which can avoid repeatedly executing action instructions when the signal changes frequently, thereby avoiding unnecessary waste of resources and interference with user operations.
[0035] Step 104, when the flag is a triggerable flag, executing an action instruction corresponding to a preset vehicle scene, and setting the flag to a non-triggerable flag;
[0036] Exemplarily, the triggerable flag means that in the state of the flag bit, when it is determined that the current scene meets the execution conditions, the action instructions related to the scene are allowed to be executed. Its function is to execute the preset action when the current scene meets the trigger conditions; for example, when the vehicle speed exceeds 80km / h, the flag bit corresponding to the preset scene of "vehicle speed greater than 80km / h" will be obtained, if the flag bit is set to "triggerable flag". The action instruction corresponding to the preset vehicle scene refers to the specific operation or instruction that needs to be executed when matching a specific scene. Each preset scene has a corresponding action instruction. For example, when the vehicle speed exceeds a certain threshold, it may be necessary to perform control operations such as adjusting the air conditioner, opening the window, and closing the window. The non-triggerable flag means that after the scene is triggered, the flag bit is set to this state, prohibiting the action instruction of the scene from being repeatedly executed. Its function is to prevent the action instruction from being triggered multiple times under the same scene conditions and avoid frequent execution of meaningless operations; for example, after opening the window when the vehicle speed exceeds 80km / h, the flag bit is set to "non-triggerable flag" to ensure that even if the vehicle speed continues to exceed 80km / h, the window will not be opened again.
[0037] Through the implementation of step 104, the action instruction is executed when the flag is triggerable, and the flag is set to a non-triggerable mark after execution, which can effectively prevent the same scene from being triggered repeatedly in a short period of time. It not only improves the accuracy of control, but also ensures that the scene action is only executed once when the conditions are met for the first time, avoiding frequent repeated operations, reducing the system burden, and avoiding the discomfort of the driver due to excessive automated operations.
[0038] In summary, the embodiment of the present application determines whether the current vehicle scene matches the preset vehicle scene according to the vehicle signal information, ensures that the corresponding action command is triggered only under specific conditions, effectively avoids unnecessary action execution due to too frequent signal updates, and improves response accuracy and user experience; uses the flag bit to control the execution frequency of each scene, and when the flag bit is a triggerable mark, executes the action command of the preset scene, and sets the flag bit to a non-triggerable mark, which can avoid repeated execution of actions when the scene conditions are repeatedly met, avoids excessive intervention in user operations, and improves driving comfort and safety; by setting the flag bit to limit the repeated execution of action commands, it avoids wasting computing and energy resources due to frequent execution of meaningless operations, thereby improving overall efficiency and extending the service life of hardware. In summary, the vehicle control method provided in the embodiment of the present application determines the scene conditions according to the vehicle signal, uses the flag bit to control the execution frequency of the action, avoids unnecessary operations and excessive intervention, improves response accuracy, user experience and system efficiency, and extends the service life of the hardware.
[0039] In some embodiments, after step 102, the aforementioned vehicle control method may further include: if the current vehicle scene is not a preset vehicle scene, setting a flag bit corresponding to the preset vehicle scene as a triggerable flag.
[0040] Exemplarily, when the current state of the vehicle does not meet the conditions of a preset scenario, the flag of the preset scenario is actively set to a "triggerable flag"; that is, when the vehicle state changes and does not meet the conditions of the current preset scenario, the relevant flag will be reset so that the corresponding action instruction can be triggered at an appropriate time in the future.
[0041] Through the implementation of the above embodiments, after determining whether the current vehicle scene is a preset scene, if the scene does not match, the flag is set to a "triggerable flag", ensuring flexible response under different driving conditions, allowing the flag to be adjusted in scenes that do not meet the conditions, and facilitating timely activation of scene control, which not only improves the accuracy of scene matching, but also increases the adaptability of the method, so that the method provided in the embodiments of the present application can work stably in various driving conditions.
[0042] In some embodiments, the aforementioned step 102 may include: performing structured processing on the vehicle signal information through the vehicle application layer module to obtain first vehicle status information in JSON format; performing character conversion on the first vehicle status information to obtain second vehicle status information in string form, and sending the second vehicle status information to the vehicle engine module; performing 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.
[0043] Exemplarily, the vehicle application layer (VAL) module is an important component for processing vehicle signal information in the vehicle system, which is responsible for collecting, organizing and processing signal information from the vehicle hardware module or other data sources. The vehicle application layer 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 status information in JSON format is the vehicle application layer module storing and representing the collected vehicle signal information in JSON (JavaScript Object Notation) format. JSON is a lightweight data exchange format that is easy to parse and process. The second vehicle status information in string form is the first vehicle status information (JSON format) further converted into a string form to facilitate transmission, storage and interaction with other systems (such as vehicle engine modules). By converting JSON format data into a string, the 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++ and loaded by the Android service through the JNI interface. The module communicates with the vehicle application layer module using the TCP protocol. Specifically, the engine module acts as a TCP client, while the vehicle application layer module acts as a TCP server. The vehicle engine module is the core computing unit in the vehicle system and is responsible for processing the vehicle status information sent from the vehicle application layer module and executing the corresponding control logic based on this information. The vehicle engine module decides whether to trigger the corresponding action instruction by judging whether the vehicle status information meets the preset scenario conditions.
[0044] Through the implementation of the above embodiment, the vehicle signal information is structured through the vehicle application layer module to obtain the vehicle status information in JSON format, which is further converted into a string format and sent to the engine module for judgment, providing a standardized and structured data transmission method to ensure that the transmission of vehicle signals between modules is more standardized and clear, and easy for subsequent processing, so as to accurately analyze and process the vehicle status, and ensure the efficiency and accuracy of the judgment process.
[0045] In some embodiments, the aforementioned conditional judgment on the second vehicle status information to determine whether the current vehicle scene is a preset vehicle scene may include: canonical matching the second vehicle status information with the preset status 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.
[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 are used to determine whether a specific preset vehicle scene is met; for example, a vehicle speed greater than 80km / h, etc., are all part of the preset state condition. The matching result refers to the result of the judgment through the regular matching process, which can be "true" or "false", indicating whether the current vehicle state information meets the preset conditions. If the matching result is true, it means that the vehicle state meets the conditions of the preset scene, and the current vehicle scene is the preset vehicle scene; if the matching result is false, it means that the vehicle state does not meet the preset conditions, and the current vehicle scene is not the preset vehicle scene; regular matching is a technology for retrieving and matching string patterns. Through regular expressions, specific patterns can be found in the second vehicle state information in string form, and whether the input data meets the preset conditions.
[0047] In some examples, the vehicle engine module compares the second vehicle status information (such as vehicle speed, window status, etc.) with the preset status conditions through regular matching; if the vehicle speed exceeds 80km / h, the regular matching will return "true", indicating that the current vehicle scene is the preset scene of "vehicle speed exceeds 80km / h"; if the vehicle speed is less than or equal to 80km / h, the regular matching will return "false", then the current vehicle scene does not meet the preset conditions and the action will not be triggered.
[0048] Through the implementation of the above-mentioned embodiment, the second vehicle status information is regularly matched with the preset status conditions, so as to accurately determine whether the current vehicle scene matches the preset scene; regular matching provides an efficient way for scene judgment, ensuring that the vehicle status can be quickly identified and processed, reducing the consumption of computing resources, and improving the response speed. If the match is successful, the relevant control actions can be executed in time to avoid false triggering or missed triggering, thereby enhancing the stability and accuracy of the method execution.
[0049] In some embodiments, the action instructions and preset state conditions corresponding to the preset vehicle scenarios are generated by setting signals of the 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 passengers, and may include a touch screen, buttons, knobs, or a voice recognition system, etc. Through this interface, the user can view the vehicle status, adjust settings, and define preset vehicle scenes and action instructions. Setting signals refer to instructions or parameters input by the user through the vehicle control system user interface. These signals are used to define specific vehicle operating conditions or actions; for example, the user sets a setting signal such as "turn off the air conditioner when the vehicle speed is greater than 80km / h", the preset state condition is that the vehicle speed is greater than 80km / h, and the action instruction corresponding to the preset vehicle scene is to turn off the air conditioner.
[0051] Through the implementation of the above embodiments, users can customize driving scenarios according to their own needs, providing flexible personalized customization functions and enhancing the user-friendliness and operability of the system; users can set expected scenario control strategies according to different driving environments, thereby optimizing the vehicle's automated control effect and improving the driving experience.
[0052] In some embodiments, the action instructions and preset state conditions corresponding to the preset vehicle scenarios are generated by analyzing the vehicle's historical behavior data.
[0053] Exemplarily, vehicle historical behavior data refers to all historical data related to vehicle operation and environmental conditions recorded during the use of the vehicle, including the driver's operating behavior (such as acceleration, braking, window control, etc.), vehicle status (such as vehicle speed, fuel level, air conditioning settings, etc.) and environmental information (such as temperature, weather, road conditions, etc.); historical behavior data can provide rich background information for the vehicle control system, helping the system to intelligently generate highly adaptable preset vehicle scenarios and corresponding action instructions based on past driving habits and environmental changes; for example, the vehicle records the driver's behavior of often turning on the air conditioner when the vehicle speed reaches 60km / h in the morning and automatically adjusting the windows when the vehicle speed reaches 80km / h in the evening. These data constitute the vehicle's historical behavior data.
[0054] Through the implementation of the above embodiments, action instructions and status conditions for preset vehicle scenarios are generated based on the analysis of vehicle historical behavior data, which can learn and adapt to the driver's driving habits and preferences. The level of intelligent control is improved in a data-driven manner, allowing the vehicle to accumulate experience from historical behavior and make more intelligent and personalized decisions, thereby enhancing the intelligence and adaptability of vehicle control.
[0055] In some embodiments, the aforementioned vehicle signal information may include external environment information, vehicle driving status information, vehicle machine energy information, vehicle occupant information, and vehicle internal facility status information.
[0056] Exemplarily, external environmental information refers to the external environmental conditions of the vehicle, including weather, road conditions, traffic flow, obstacles, etc. These factors directly affect driving decisions and vehicle operations; for example, external environmental information may include external temperature, humidity, weather conditions (sunny, rainy, snowy, etc.), road conditions (dry, slippery, etc.), traffic flow, GPS positioning, etc. Vehicle driving state information refers to dynamic data related to vehicle movement, including vehicle speed, acceleration, brake status, throttle opening, steering wheel angle, etc., reflecting the current operating state of the vehicle, directly affecting the driver's operation and the response of the vehicle control system. The vehicle's automatic driving system status and the driving mode used by the driver (such as automatic cruise, driving mode settings, etc.) also belong to vehicle driving state information. Vehicle energy information refers to data related to vehicle energy, including battery power (for electric or hybrid vehicles), fuel volume (for traditional fuel vehicles), charging status (charging speed, charging completion time, etc.), energy recovery (such as energy recovery during braking), etc. The in-vehicle occupant information refers to data related to the people in the vehicle, including the seat occupancy status of the occupants, whether the seat belts are fastened, occupant detection information (such as the status of child seats), and occupant behavior (such as control of vehicle systems through in-vehicle voice commands or touch operations). The in-vehicle facility status information refers to the working status of various facilities in the vehicle (such as doors, windows, seats, air conditioning, etc.), including whether the doors are unlocked, the lifting and lowering status of the windows, the seat position and heating / ventilation status, the air conditioning temperature and wind speed, etc.
[0057] In some examples, when the outside temperature exceeds 30°C, it will automatically determine that it has entered a "high temperature weather scenario", turn on the car's air conditioning system, set the temperature to 22°C, the wind speed to medium, and start the air conditioning circulation mode to ensure a comfortable environment inside the car. When traffic is heavy or the road is congested, the vehicle control system will automatically switch to "energy-saving driving mode", reduce the speed to 30-40km / h, reduce unnecessary acceleration and emergency braking operations, thereby optimizing fuel consumption or power consumption, and improving driving safety and comfort. When the outside air quality is poor or the wind speed is too high, the vehicle control system will automatically close the windows and start the car's air purification system to keep the air in the car fresh 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 a complex driving environment, and can make comprehensive judgments based on more comprehensive signal information, thereby improving the accuracy of scene recognition and the comprehensiveness of response.
[0059] Furthermore, as an implementation of the aforementioned method embodiment, the present application also provides a vehicle control device for implementing the aforementioned method embodiment. The device embodiment corresponds to the aforementioned method embodiment. For ease of reading, the vehicle control device embodiment will no longer repeat the details of the aforementioned method embodiment one by one, but it should be clear that the device in the embodiment of the present application can correspond to and implement all the contents of the aforementioned method embodiment. 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, wherein 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 the flag corresponding to the preset vehicle scene if the current vehicle scene is the preset vehicle scene; the trigger execution unit 204 is used to execute the action instruction corresponding to the preset vehicle scene when the flag is a triggerable mark, and set the flag to a non-triggerable mark.
[0060] In some embodiments, the trigger execution unit 204 is further configured to set a flag corresponding to a preset vehicle scene as a triggerable flag if the current vehicle scene is not a preset vehicle scene.
[0061] In some embodiments, the scene judgment unit 202 is also used to perform structured processing on the vehicle signal information through the vehicle application layer module to obtain first vehicle status information in JSON format; perform character conversion on the first vehicle status information to obtain second vehicle status information in string form, and send the second vehicle status information to the vehicle engine module; 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 judgment unit 202 is also used to perform a canonical match between the second vehicle state information and the preset state condition 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 not the preset vehicle scene.
[0063] In some embodiments, the action instructions and preset state conditions corresponding to the preset vehicle scenarios are generated by setting signals of the vehicle control system user interface.
[0064] In some embodiments, the action instructions and preset state conditions corresponding to the preset vehicle scenarios are generated by analyzing the vehicle's historical behavior data.
[0065] In some embodiments, the vehicle signal information includes external environment information, vehicle driving status information, vehicle machine energy information, vehicle occupant information, and vehicle internal facility status information.
[0066] The present application also provides a computer-readable storage medium, which stores computer-executable instructions or computer programs. When the computer-executable instructions or computer programs are executed by a processor, the processor will be caused to execute any step of the vehicle control method provided in the present application.
[0067] In some embodiments, the computer-readable storage medium may be a random access memory (RAM), a read-only memory (ROM), a flash memory, a magnetic surface memory, an optical disk, or a compact disc read-only memory (CD-ROM); or it may be various devices including one or any combination of the above memories.
[0068] In some embodiments, computer executable instructions may be in the form of a program, software, software module, script or code, written in any form of programming language (including compiled or interpreted languages, or declarative or procedural languages), and may be deployed in any form, including as a stand-alone program or as a module, component, subroutine or other unit suitable for use in a computing environment.
[0069] In some embodiments, computer-executable instructions may, but need not, correspond to a file in a file system, may be stored as part of a file storing other programs or data, for example, in one or more scripts in a HyperText Markup Language (HTML) document, in a single file dedicated to the program in question, or in multiple coordinated files (e.g., files storing one or more modules, subroutines, or code portions).
[0070] In some embodiments, computer executable instructions may be deployed to be executed on one electronic device, or on multiple electronic devices located at one site, or on multiple electronic devices distributed at multiple sites and interconnected by a communication network.
[0071] like Figure 3 As shown, the present application also provides an electronic device 30, including 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 above-mentioned vehicle control method is implemented.
[0072] The present application also provides a computer program product, which includes a computer program or a computer executable instruction, and the computer program or the computer executable instruction is stored in a computer readable storage medium. The processor of the electronic device reads the computer program or the computer executable instruction from the computer readable storage medium, and the processor executes the computer program or the computer executable instruction, so that the electronic device performs any step of the vehicle control method described above in the present application.
[0073] The above embodiments are only used to illustrate the technical solutions of the present application, rather than to limit them. Although the present application has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or make equivalent replacements for some of the technical features therein. However, these modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present application.
Claims
1. A vehicle control method, characterized in that: include: Obtaining vehicle signal information of a target vehicle; Determining whether the 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 bit corresponding to the preset vehicle scene; When the flag is a triggerable flag, the action instruction corresponding to the preset vehicle scene is executed, and the flag is set to a non-triggerable flag.
2. The vehicle control method according to claim 1, characterized in that: After determining whether the current vehicle scene of the target vehicle is a preset vehicle scene according to the vehicle signal information, the vehicle control method further includes: If the current vehicle scene is not the preset vehicle scene, the flag bit corresponding to the preset vehicle scene is set as the triggerable flag.
3. The vehicle control method according to claim 1, characterized in that: The determining, based on the vehicle signal information, whether the current vehicle scene of the target vehicle is a preset vehicle scene includes: The vehicle signal information is structured by a vehicle application layer module to obtain first vehicle status information in JSON format; Convert the first vehicle status information into characters to obtain second vehicle status information in the form of a character string, and send the second vehicle status information to a vehicle engine module; The vehicle engine module performs conditional judgment on the second vehicle status information to determine whether the current vehicle scene is the preset vehicle scene.
4. The vehicle control method according to claim 3, characterized in that: The performing conditional judgment on the second vehicle state information to determine whether the current vehicle scene is the preset vehicle scene includes: Performing canonical matching on 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; If the matching result is not true, it is determined that the current vehicle scene is not the preset vehicle scene.
5. The vehicle control method according to claim 4, characterized in that: The action instructions corresponding to the preset vehicle scene and the preset state conditions are both generated through setting signals of the vehicle control system user interface.
6. The vehicle control method according to claim 4, characterized in that: The action instructions corresponding to the preset vehicle scenario and the preset state conditions are generated by analyzing the vehicle's historical behavior data.
7. The vehicle control method according to any one of claims 1 to 6, characterized in that: The vehicle signal information includes external environment information, vehicle driving status information, vehicle machine energy information, vehicle occupant information, and vehicle internal facility status information.
8. A vehicle control device, characterized in that: include: An information acquisition unit, used to acquire vehicle signal information of a target vehicle; A scene judgment unit, used to judge whether the current vehicle scene of the target vehicle is a preset vehicle scene according to the vehicle signal information; a flag bit acquisition unit, configured to acquire a flag bit corresponding to the preset vehicle scene if the current vehicle scene is the preset vehicle scene; A trigger execution unit is used to execute the action instruction corresponding to the preset vehicle scene when the flag bit is a triggerable flag, and set the flag bit to a non-triggerable flag.
9. An electronic device, comprising: A memory and a processor, wherein the processor is used to implement the steps of the vehicle control method as described in any one of claims 1 to 7 when executing the computer program stored in the memory.
10. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the vehicle control method according to any one of claims 1 to 7 are implemented.
Citation Information
Patent Citations
Vehicle information prompting method, device and system and vehicle
CN116534044A
Vehicle information processing method, equipment and medium
CN119420795A
Software architecture platform and control method for autonomous vehicle, vehicle, and medium
EP4397555A1
Vehicle and control method of vehicle
US20070241611A1
Torque control method and apparatus
WO2024255315A1