Vehicle state conflict comparison method and device, vehicle and storage medium
By acquiring the vehicle status arranged by the user, generating arranging and configuration expressions, and using a relational symbol rule table to determine conflicts, the problem of vehicle status value conflict judgment is solved, and the conflict detection and reminder between user status and rules is realized.
Patent Information
- Application Number
- CN202310487634.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-04-28
- Publication Date
- 2026-02-10
- Estimated Expiration
- 2043-04-28
AI Technical Summary
Existing technology cannot determine conflicts in vehicle status values, making it impossible to determine whether a user's status conflicts with the configured rules in user orchestration scenarios.
By acquiring the vehicle status configured by the user, abstracting it to obtain the configuration expression, and obtaining the matching configuration expression from the preset cloud platform, the target expression is generated based on the preset relation symbol rule table to determine the conflict result, and if the result is true, it is determined that there is no conflict.
It enables the determination of whether a user's state conflicts with the configured rules in user orchestration scenarios, and provides conflict alerts through optical or acoustic devices, thereby improving the user experience.
Smart Images

Figure CN116522160B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of vehicle technology, and in particular to a method, apparatus, vehicle, and storage medium for comparing vehicle state conflicts. Background Technology
[0002] With the development of automotive intelligence, vehicles now support scenario orchestration, integrating and orchestrating services provided by various vehicle domains to quickly generate a customizable combined service or application scenario. When combining services, given the increasing complexity of vehicle states, a conflict detection and resolution method is required to identify and resolve conflicts in the orchestrated combined services.
[0003] The related technology proposes a conflict judgment device and a conflict judgment method, which judges the possibility of conflict between objects by the intersection judgment of the boundary elements of the boundary representation model and the movement trajectory curve of the judgment object point.
[0004] However, the relevant technology is based on conflict determination of physical objects and cannot determine conflicts of object state values. Summary of the Invention
[0005] This application provides a vehicle state conflict comparison method, device, electronic device, and storage medium to solve the problem that related technologies cannot determine conflicts in vehicle state values. When users arrange scenarios, it can determine whether the states that users want to arrange conflict with the configured rules.
[0006] The first aspect of this application provides a vehicle state conflict comparison method, comprising the following steps: obtaining a user-programmed vehicle state; abstracting the vehicle state to obtain a programming expression, and obtaining a configuration expression matching the user-programmed vehicle state from a preset cloud platform; based on a preset relational symbol rule table, obtaining a target expression according to the programming expression and the configuration expression, obtaining a conflict result of the vehicle state according to the target expression, and determining that the vehicle state is not conflicting when the conflict result is true.
[0007] Based on the above technical means, this application can solve the problem that related technologies cannot make conflict judgments on vehicle status values. When users arrange scenarios, it can determine whether the status that the user wants to arrange conflicts with the configured rules.
[0008] Optionally, in some embodiments, the step of obtaining the target expression based on the pre-defined relational symbol rule table, according to the orchestration expression and the configuration expression, further includes: performing symbolic mapping on the first operator of the orchestration expression to obtain an orchestration mapping value, and performing symbolic mapping on the second operator of the configuration expression to obtain a configuration mapping value, based on a pre-defined mapping rule; searching the pre-defined relational symbol rule table to obtain a third operator based on the orchestration mapping value and the configuration mapping value; and combining the first variable of the orchestration expression and the second variable of the configuration expression using the third operator to obtain the target expression.
[0009] Based on the above technical means, this application can obtain the target expression based on the preset relation symbol rule table, the arrangement expression and the configuration expression, and then determine whether there is a conflict between the arrangement expression and the target expression based on the target expression.
[0010] Optionally, in some embodiments, before performing symbolic mapping on the first operator of the arrangement expression to obtain the arrangement mapping value based on the preset mapping rule, and performing symbolic mapping on the second operator of the configuration expression to obtain the configuration mapping value, the method further includes: determining multiple mathematical relation symbols; mapping the multiple mathematical relation symbols into a number enumeration method to obtain the preset mapping rule.
[0011] Based on the above technical means, this application can determine the relationship symbols between the orchestration expression and the configuration expression based on the preset mapping rules, thereby comparing the differences between the orchestration expression and the configuration expression.
[0012] Optionally, in some embodiments, after obtaining the conflict result of the vehicle state according to the target expression, the method further includes: when the conflict result is false, determining that the vehicle state is in conflict, and generating a conflict reminder according to the conflict result; sending the conflict reminder to a preset mobile terminal to remind the user of the conflict.
[0013] Based on the aforementioned technical means, this application can determine a vehicle status conflict and send a conflict alert to a preset mobile terminal to remind the user of the conflict.
[0014] Optionally, in some embodiments, after generating the conflict alert based on the conflict result, the method further includes: controlling at least one optical display device to provide an optical conflict alert based on the conflict alert, and / or controlling at least one acoustic alert device to provide an acoustic conflict alert.
[0015] Based on the above-mentioned technical means, this application can provide conflict reminders to users through optical display devices or acoustic display devices after the conflict reminder is generated.
[0016] A second aspect of this application provides a vehicle state conflict comparison device, comprising: an acquisition module for acquiring a user-programmed vehicle state; a processing module for abstracting the vehicle state to obtain a programming expression, and acquiring a configuration expression matching the user-programmed vehicle state from a preset cloud platform; and a determination module for obtaining a target expression based on a preset relational symbol rule table, according to the programming expression and the configuration expression, obtaining a conflict result of the vehicle state based on the target expression, and determining that the vehicle state is not conflicting when the conflict result is true.
[0017] Optionally, in some embodiments, the determination module further includes: a mapping unit, configured to perform symbol mapping on the first operator of the arrangement expression to obtain an arrangement mapping value based on a preset mapping rule, and to perform symbol mapping on the second operator of the configuration expression to obtain a configuration mapping value; a search unit, configured to search the preset relation symbol rule table to obtain a third operator based on the arrangement mapping value and the configuration mapping value; and a generation unit, configured to combine the first variable of the arrangement expression and the second variable of the configuration expression using the third operator to obtain the target expression.
[0018] Optionally, in some embodiments, before performing symbol mapping on the first operator of the arrangement expression to obtain the arrangement mapping value based on the preset mapping rule, and performing symbol mapping on the second operator of the configuration expression to obtain the configuration mapping value, the mapping unit is further configured to: determine multiple mathematical relation symbols; map the multiple mathematical relation symbols into a number enumeration method to obtain the preset mapping rule.
[0019] Optionally, in some embodiments, after obtaining the conflict result of the vehicle state according to the target expression, the determination module further includes: a determination unit, configured to determine that the vehicle state is in conflict when the conflict result is false, and generate a conflict reminder according to the conflict result; and a sending unit, configured to send the conflict reminder to a preset mobile terminal to remind the user of the conflict.
[0020] Optionally, in some embodiments, after generating the conflict alert based on the conflict result, the sending unit is further configured to: control at least one optical display device to provide an optical conflict alert based on the conflict alert, and / or control at least one acoustic alert device to provide an acoustic conflict alert.
[0021] A third aspect of this application provides an electronic device, including: a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the program to implement the vehicle state conflict comparison method as described in the above embodiments.
[0022] A fourth aspect of this application provides a computer-readable storage medium having a computer program stored thereon, which is executed by a processor to implement the vehicle state conflict comparison method as described in the above embodiments.
[0023] The beneficial effects of the embodiments of this application are as follows:
[0024] (1) The embodiments of this application can solve the problem that the related technologies cannot make conflict judgments on vehicle status values. When users arrange scenarios, it can determine whether the status that the user wants to arrange conflicts with the configured rules.
[0025] (2) The embodiments of this application can obtain the target expression based on the preset relation symbol rule table, the arrangement expression and the configuration expression, and then determine whether there is a conflict between the arrangement expression and the target expression based on the target expression.
[0026] (3) In this embodiment of the application, after the conflict reminder is generated, the user can be reminded of the conflict through an optical display device or an acoustic display device.
[0027] Additional aspects and advantages of this application will be set forth in part in the description which follows, and in part will be obvious from the description, or may be learned by practice of this application. Attached Figure Description
[0028] The above and / or additional aspects and advantages of this application will become apparent and readily understood from the following description of the embodiments taken in conjunction with the accompanying drawings, wherein:
[0029] Figure 1 This is a flowchart of a vehicle state conflict comparison method provided according to an embodiment of this application;
[0030] Figure 2 This is a block diagram of a vehicle state conflict comparison device provided according to an embodiment of this application;
[0031] Figure 3 This is a schematic diagram of the structure of an electronic device provided according to an embodiment of this application.
[0032] Explanation of reference numerals in the attached drawings: 10-Vehicle state conflict comparison device, 100-Acquisition module, 200-Processing module, and 300-Judgment module. Detailed Implementation
[0033] The embodiments of this application are described in detail below. Examples of these embodiments are shown in the accompanying drawings, wherein the same or similar reference numerals denote the same or similar elements or elements having the same or similar functions throughout. The embodiments described below with reference to the accompanying drawings are exemplary and intended to explain this application, and should not be construed as limiting this application.
[0034] The following describes a vehicle state conflict comparison method, apparatus, electronic device, and storage medium according to embodiments of this application with reference to the accompanying drawings. Addressing the problem mentioned in the background art that related technologies cannot determine conflicts in vehicle state values, this application provides a vehicle state conflict comparison method. In this method, a user-programmed vehicle state is obtained, and the vehicle state is abstracted to obtain a programming expression. A configuration expression matching the user-programmed vehicle state is obtained from a preset cloud platform. Based on a preset relational symbol rule table, a target expression is obtained according to the programming expression and the configuration expression. The conflict result of the vehicle state is obtained based on the target expression, and if the conflict result is true, the vehicle state is determined to be non-conflicting. This solves the problem that related technologies cannot determine conflicts in vehicle state values. In user programming scenarios, it can determine whether the user's desired programming state conflicts with the configured rules.
[0035] Specifically, Figure 1 This is a flowchart illustrating a vehicle state conflict comparison method provided in an embodiment of this application.
[0036] like Figure 1 As shown, the vehicle state conflict comparison method includes the following steps:
[0037] In step S101, the vehicle status set by the user is obtained.
[0038] Specifically, it retrieves the vehicle status set by the user, for example, the user wants to save the vehicle status when the speed is greater than 10km / h.
[0039] In step S102, the vehicle status is abstracted to obtain an arrangement expression, and a configuration expression matching the user-arranged vehicle status is obtained from a preset cloud platform.
[0040] Specifically, the vehicle status is first abstracted into a mathematical expression. For example, if the vehicle speed is greater than 5 km / h, it becomes a>5. The configuration expression that matches the vehicle status programmed by the user is obtained from the preset cloud platform. For example, if the rule obtained from the preset cloud platform is that the vehicle speed is less than 5 km / h, and the user wants to save the vehicle status when the vehicle speed is greater than 10 km / h, the vehicle speed can be counted as a variable A, resulting in two expressions: the configuration expression A<5 and the programmed expression A>10.
[0041] In step S103, based on the preset relation symbol rule table, the target expression is obtained according to the arrangement expression and the configuration expression, and the conflict result of the vehicle state is obtained according to the target expression. When the conflict result is true, the vehicle state is determined to be non-conflicting.
[0042] Optionally, in some embodiments, before performing symbol mapping on the first operator of the arrangement expression to obtain the arrangement mapping value based on the preset mapping rules, and performing symbol mapping on the second operator of the configuration expression to obtain the configuration mapping value, the method further includes: determining multiple mathematical relation symbols; mapping the multiple mathematical relation symbols into a number enumeration method to obtain the preset mapping rules.
[0043] The preset mapping rules are shown in Table 1, which is an operator-mapping value lookup table.
[0044] Table 1
[0045] Operators Mapping value < 1 <= 2 = 3 > 4 >= 5 ≠ 6
[0046] Specifically, the selected mathematical relation symbols are mapped to numerical enumerations to facilitate and support the execution of algorithms in the code. The specific mapping rules are shown in Table 1. For example, the < symbol is mapped to 1, and the = symbol is mapped to 3.
[0047] Optionally, in some embodiments, obtaining the target expression based on a preset relation symbol rule table and an arrangement expression further includes: performing symbol mapping on the first operator of the arrangement expression to obtain an arrangement mapping value, and performing symbol mapping on the second operator of the configuration expression to obtain a configuration mapping value, based on a preset mapping rule; searching the preset relation symbol rule table to obtain a third operator based on the arrangement mapping value and the configuration mapping value; and combining the first variable of the arrangement expression and the second variable of the configuration expression using the third operator to obtain the target expression.
[0048] The preset mapping rules are shown in Table 2, which is the mapping rule table.
[0049] Table 2
[0050] Upload Operator Configuration Operator New operator 1 1 1 1 2 4 1 3 4 1 4 4 1 5 3 1 6 6 … … …
[0051] The first two columns show the combinations of two operators. Different combinations result in a new operator (the third column). The new operator is used to compare the values of expression 1 and expression 2. The value calculated by the new operator determines the result of the expression, and thus determines whether a conflict exists.
[0052] Specifically, a rule table is established to convert two mathematical relation symbols into one mathematical relation symbol, as shown in Table 2. The values that can be configured in the table are selected from operators 1-6 supported in Table 1. For example, if the orchestration mapping value is 1 (<) and the configuration mapping value is also 1 (<), then the newly generated third operator is also 1 (<). The table is searched for a corresponding combination based on the uploaded operator and the configured operator.
[0053] The target expression is obtained by combining the first variable of the arrangement expression with the second variable of the configuration expression using the third operator. The target expression is then evaluated to output either true or false. For example, if the configured vehicle speed is less than 5 km / h and the user-programmed vehicle speed is less than 3 km / h, the calculation method is 3 < 5 (first variable - third operator - second variable). Since 3 < 5 is correct, the result is true, and the vehicle state does not conflict.
[0054] Optionally, in some embodiments, after obtaining the conflict result of the vehicle state according to the target expression, the method further includes: when the conflict result is false, determining that the vehicle state is in conflict, and generating a conflict reminder based on the conflict result; sending the conflict reminder to a preset mobile terminal to remind the user of the conflict.
[0055] The preset mobile terminal can be a mobile phone, tablet computer, vehicle display screen, etc., without specific limitations.
[0056] Specifically, for example, if the configured vehicle status expression 1 is A<5, and the user wants to program the vehicle status expression A>10, a new operator > is obtained by using the operators < and > of expression 1 and expression 2. Then, the values of the two expressions are compared using the new operator, and the final expression is 5>10. Obviously, 5>10 is false, so a conflict is established. A conflict reminder is generated based on the conflict result and sent to the preset mobile terminal to remind the user of the conflict.
[0057] Optionally, in some embodiments, after generating a conflict alert based on the conflict result, the method further includes: controlling at least one optical display device to provide an optical conflict alert based on the conflict alert, and / or controlling at least one acoustic alert device to provide an acoustic conflict alert.
[0058] Specifically, after generating a conflict alert based on the conflict result, an optical conflict alert can be issued through an optical display device, such as controlling a flashing light or controlling a mobile terminal to display the words "status conflict". An acoustic conflict alert can also be issued through an acoustic alert device, such as controlling a speaker to emit a "beep beep beep" alert tone or controlling a speaker to emit a "status conflict" alert.
[0059] The vehicle state conflict comparison method proposed in this application obtains the user-programmed vehicle states, abstracts and processes these states to obtain a programming expression, and retrieves a configuration expression matching the user-programmed vehicle states from a preset cloud platform. Based on a preset relational symbol rule table, a target expression is obtained according to the programming expression and the configuration expression. The conflict result of the vehicle states is then obtained based on the target expression, and if the conflict result is true, the vehicle states are determined to be non-conflicting. This solves the problem that related technologies cannot determine conflicts in vehicle state values. In user programming scenarios, it can determine whether the user's desired programming state conflicts with the configured rules.
[0060] Next, the vehicle state conflict comparison device proposed according to the embodiments of this application is described with reference to the accompanying drawings.
[0061] Figure 2 This is a block diagram of a vehicle state conflict comparison device according to an embodiment of this application.
[0062] like Figure 2 As shown, the vehicle state conflict comparison device 10 includes: an acquisition module 100, a processing module 200, and a determination module 300.
[0063] The acquisition module 100 is used to acquire the vehicle status programmed by the user.
[0064] The processing module 200 is used to abstract the vehicle status, obtain the arrangement expression, and obtain the configuration expression that matches the vehicle status arranged by the user from the preset cloud platform.
[0065] The determination module 300 is used to obtain the target expression based on the preset relation symbol rule table, the arrangement expression and the configuration expression, and obtain the conflict result of the vehicle state based on the target expression. When the conflict result is true, the vehicle state is determined to be non-conflicting.
[0066] Optionally, in some embodiments, the determination module 300 further includes a mapping unit and a search unit.
[0067] The mapping unit is used to perform symbol mapping on the first operator of the arrangement expression to obtain the arrangement mapping value based on the preset mapping rules, and to perform symbol mapping on the second operator of the configuration expression to obtain the configuration mapping value.
[0068] The lookup unit is used to find the third operator by searching a preset relation symbol rule table based on the arrangement mapping value and the configuration mapping value; the generation unit uses the third operator to combine the first variable of the arrangement expression and the second variable of the configuration expression to obtain the target expression.
[0069] Optionally, in some embodiments, the mapping unit is further used to determine multiple mathematical relation symbols; and to map the multiple mathematical relation symbols into a number enumeration method to obtain a preset mapping rule.
[0070] Optionally, in some embodiments, after obtaining the conflict result of the vehicle state according to the target expression, the determination module 300 further includes a determination unit and a sending unit.
[0071] The judgment unit is used to determine that the vehicle status is in conflict when the conflict result is false, and to generate a conflict reminder based on the conflict result.
[0072] The sending unit is used to send conflict alerts to preset mobile terminals to remind users of conflicts.
[0073] Optionally, in some embodiments, the sending unit is further configured to control at least one optical display device to provide optical conflict alerts based on conflict alerts, and / or control at least one acoustic alert device to provide acoustic conflict alerts.
[0074] It should be noted that the foregoing explanation of the vehicle state conflict comparison method embodiment also applies to the vehicle state conflict comparison device of this embodiment, and will not be repeated here.
[0075] The vehicle state conflict comparison device proposed in this application obtains the user-programmed vehicle states, abstracts and processes these states to obtain a programming expression, and retrieves a configuration expression matching the user-programmed vehicle states from a preset cloud platform. Based on a preset relational symbol rule table, a target expression is obtained according to the programming expression and the configuration expression. The conflict result of the vehicle states is then obtained based on the target expression, and if the conflict result is true, the vehicle states are determined to be non-conflicting. This solves the problem that related technologies cannot determine conflicts in vehicle state values. In user programming scenarios, it can determine whether the user's desired programming state conflicts with the configured rules.
[0076] Figure 3 A schematic diagram of the structure of an electronic device provided in an embodiment of this application. The electronic device may include:
[0077] The memory 301, the processor 302, and the computer program stored on the memory 301 and capable of running on the processor 302.
[0078] When the processor 302 executes the program, it implements the vehicle state conflict comparison method provided in the above embodiments.
[0079] Furthermore, electronic devices also include:
[0080] Communication interface 303 is used for communication between memory 301 and processor 302.
[0081] The memory 301 is used to store computer programs that can run on the processor 302.
[0082] The memory 301 may include high-speed RAM (Random Access Memory) memory, and may also include non-volatile memory, such as at least one disk storage.
[0083] If the memory 301, processor 302, and communication interface 303 are implemented independently, then the communication interface 303, memory 301, and processor 302 can be interconnected via a bus to complete communication between them. The bus can be an ISA (Industry Standard Architecture) bus, a PCI (Peripheral Component Interconnect) bus, or an EISA (Extended Industry Standard Architecture) bus, etc. The bus can be divided into address bus, data bus, control bus, etc. For ease of representation, Figure 3 The bus is represented by a single thick line, but this does not mean that there is only one bus or one type of bus.
[0084] Optionally, in a specific implementation, if the memory 301, processor 302, and communication interface 303 are integrated on a single chip, then the memory 301, processor 302, and communication interface 303 can communicate with each other through an internal interface.
[0085] Processor 302 may be a CPU (Central Processing Unit), an ASIC (Application Specific Integrated Circuit), or one or more integrated circuits configured to implement embodiments of this application.
[0086] This application also provides a computer-readable storage medium storing a computer program thereon, which, when executed by a processor, implements the vehicle state conflict comparison method described above.
[0087] In the description of this specification, the references to terms such as "one embodiment," "some embodiments," "example," "specific example," or "some examples," etc., indicate that a specific feature, structure, material, or characteristic described in connection with that embodiment or example is included in at least one embodiment or example of this application. In this specification, the illustrative expressions of the above terms do not necessarily refer to the same embodiment or example. Furthermore, the specific features, structures, materials, or characteristics described may be combined in any suitable manner in one or more embodiments or examples. Moreover, without contradiction, those skilled in the art can combine and integrate the different embodiments or examples described in this specification, as well as the features of different embodiments or examples.
[0088] Furthermore, the terms "first" and "second" are used for descriptive purposes only and should not be construed as indicating or implying relative importance or implicitly specifying the number of technical features indicated. Thus, a feature defined as "first" or "second" may explicitly or implicitly include at least one of that feature. In the description of this application, "N" means at least two, such as two, three, etc., unless otherwise explicitly specified.
[0089] Any process or method described in the flowchart or otherwise herein can be understood as representing a module, segment, or portion of code comprising one or more N executable instructions for implementing custom logic functions or processes, and the scope of the preferred embodiments of this application includes additional implementations in which functions may be performed not in the order shown or discussed, including substantially simultaneously or in reverse order depending on the functions involved, as should be understood by those skilled in the art to which embodiments of this application pertain.
[0090] It should be understood that the various parts of this application can be implemented using hardware, software, firmware, or a combination thereof. In the above embodiments, the N steps or methods can be implemented using software or firmware stored in memory and executed by a suitable instruction execution system. For example, if implemented in hardware, as in another embodiment, it can be implemented using any one or a combination of the following techniques known in the art: discrete logic circuits having logic gates for implementing logical functions on data signals, application-specific integrated circuits (ASICs) having suitable combinational logic gates, programmable gate arrays (FPGAs), field-programmable gate arrays (FPGAs), etc.
[0091] Those skilled in the art will understand that all or part of the steps of the methods described in the above embodiments can be implemented by a program instructing related hardware. The program can be stored in a computer-readable storage medium, and when executed, it includes one or a combination of the steps of the method embodiments.
[0092] Although embodiments of this application have been shown and described above, it is understood that the above embodiments are exemplary and should not be construed as limiting this application. Those skilled in the art can make changes, modifications, substitutions and variations to the above embodiments within the scope of this application.
Claims
1. A method for comparing vehicle state conflicts, characterized in that, Includes the following steps: Obtain the vehicle status as configured by the user; The vehicle status is abstracted to obtain an arrangement expression, and a configuration expression matching the user-arranged vehicle status is obtained from a preset cloud platform. Based on a preset relation symbol rule table, a target expression is obtained according to the arrangement expression and the configuration expression, and a conflict result of the vehicle state is obtained according to the target expression. When the conflict result is true, the vehicle state is determined to be non-conflicting. The method for obtaining the target expression based on the preset relation symbol rule table, according to the arrangement expression and the configuration expression, further includes: Based on preset mapping rules, symbol mapping is performed on the first operator of the arrangement expression to obtain an arrangement mapping value, and symbol mapping is performed on the second operator of the configuration expression to obtain a configuration mapping value; Based on the arrangement mapping value and the configuration mapping value, the third operator is obtained by searching the preset relation symbol rule table; The target expression is obtained by combining the first variable of the arrangement expression with the second variable of the configuration expression using the third operator.
2. The method according to claim 1, characterized in that, Before performing symbolic mapping on the first operator of the arrangement expression to obtain the arrangement mapping value based on the preset mapping rules, and performing symbolic mapping on the second operator of the configuration expression to obtain the configuration mapping value, the method further includes: Determine multiple mathematical relation symbols; The preset mapping rule is obtained by mapping the multiple mathematical relation symbols into a number enumeration.
3. The method according to claim 1, characterized in that, After obtaining the conflict result of the vehicle state according to the target expression, the process further includes: When the conflict result is false, the vehicle status is determined to be in conflict, and a conflict alert is generated based on the conflict result; The conflict alert is sent to a preset mobile terminal to notify the user of the conflict.
4. The method according to claim 3, characterized in that, After generating the conflict alert based on the conflict result, the process also includes: Based on the conflict alert, at least one optical display device is controlled to provide an optical conflict alert, and / or at least one acoustic alert device is controlled to provide an acoustic conflict alert.
5. A vehicle state conflict comparison device, characterized in that, include: The acquisition module is used to acquire the vehicle status programmed by the user; The processing module is used to abstract the vehicle state, obtain the arrangement expression, and obtain the configuration expression that matches the vehicle state arranged by the user from the preset cloud platform. The determination module is used to obtain a target expression based on the preset relation symbol rule table, the arrangement expression and the configuration expression, and obtain the conflict result of the vehicle state based on the target expression. When the conflict result is true, the vehicle state is determined to be non-conflicting. The determination module further includes: The mapping unit is used to perform symbol mapping on the first operator of the arrangement expression to obtain an arrangement mapping value based on a preset mapping rule, and to perform symbol mapping on the second operator of the configuration expression to obtain a configuration mapping value. The lookup unit is used to look up the preset relation symbol rule table to obtain the third operator based on the arrangement mapping value and the configuration mapping value; The generation unit obtains the target expression by combining the first variable of the arrangement expression with the second variable of the configuration expression using the third operator.
6. The apparatus according to claim 5, characterized in that, Before performing symbolic mapping on the first operator of the arrangement expression to obtain the arrangement mapping value based on the preset mapping rules, and performing symbolic mapping on the second operator of the configuration expression to obtain the configuration mapping value, the mapping unit is further configured to: Determine multiple mathematical relation symbols; The preset mapping rule is obtained by mapping the multiple mathematical relation symbols into a number enumeration.
7. An electronic device, characterized in that, include: A memory, a processor, and a computer program stored in the memory and executable on the processor, the processor executing the program to implement the vehicle state conflict comparison method as described in any one of claims 1-4.
8. A computer-readable storage medium having a computer program stored thereon, characterized in that, The program is executed by the processor to implement the vehicle state conflict comparison method as described in any one of claims 1-4.
Citation Information
Patent Citations
Conflict detection method and system for linkage rules
CN112540584A
Resource configuration detection method and device
CN114756363A