Data processing method, device, equipment and system
By obtaining and parsing the capability configuration set of the competition rule table, the low efficiency problem of the conflict between scene conditions and actions in vehicle scene editing is solved, and efficient scene editing processing is achieved.
Patent Information
- Application Number
- CN202510866950.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-06-26
- Publication Date
- 2025-09-23
AI Technical Summary
In vehicle scene editing, the existing technology has low efficiency in handling conflicts between scene conditions and scene actions. Software engineers need to write complex codes, resulting in poor scalability and compatibility and high maintenance costs.
By obtaining a competition rule table with preset parameters and a preset format, parsing the capability configuration set and sending it to the client for competition judgment, the maintenance process is simplified and repetitive work is reduced.
It improves the efficiency of software engineers in dealing with scene editing competition issues, reduces code complexity and maintenance costs, and simplifies the maintenance process.
Smart Images

Figure CN120687077A_ABST
Abstract
Description
Technical Field
[0001] The present application belongs to the technical field of vehicle scene editing, and in particular relates to a data processing method, apparatus, device and system. Background Art
[0002] With the development of intelligent vehicles, scene editing functions are being applied to more and more vehicles. It allows users to customize and combine some vehicle functions according to their preferences and usage habits, thus forming an independent scene mode. Users can directly use some pre-set functions in this scene mode with a simple trigger, providing users with convenience.
[0003] When users edit scenes, conflicts between scene conditions, between scene actions, or even between scene conditions and scene actions may arise due to the large number of scene conditions and scenarios being edited in the application. Currently, software engineers typically need to write code for each scene edited by the user to address these issues. This code is complex, multi-layered, has poor scalability and compatibility, and is relatively expensive to maintain. This shows that software engineers are currently inefficient in handling the conflicting issues of scene editing. Summary of the Invention
[0004] The embodiments of the present application provide a data processing method, apparatus, device, and system, which can improve the efficiency of software engineers in handling contention issues in scene editing, at least to a certain extent.
[0005] Other features and advantages of the present application will become apparent from the following detailed description, or may be learned in part by practice of the present application.
[0006] According to a first aspect of an embodiment of the present application, a data processing method is provided, including:
[0007] Obtain a competition rule table including preset parameters and a preset format, wherein the preset parameters include identifiers and parameter values of capabilities used for vehicle scene editing, and the competition relationship between capabilities, the parameter values include operators and configuration values, and the preset format includes different parameter values of the same identifier being located in different columns or rows of the competition rule table; parse out the identifier, operator and configuration value of the first capability, as well as the identifier, operator and configuration value of the second capability that has a competition relationship with the first capability from the competition rule table, to obtain a capability configuration set of the first capability and a capability configuration set of the second capability; send the capability configuration set of the first capability and the capability configuration set of the second capability to the client, so that the client makes a competition judgment on the capability to be edited in the vehicle scene based on the capability configuration set of the first capability and the capability configuration set of the second capability.
[0008] In some embodiments, the identifier, operator, and configuration value of the first capability, and the identifier, operator, and configuration value of the second capability are respectively parsed from the competition rule table to obtain a capability configuration set of the first capability and a capability configuration set of the second capability, including:
[0009] Parsing the identifier, operator, and configuration value of the first capability, and the identifier, operator, and configuration value of the second capability from the competition rule table respectively;
[0010] Determine the identifier, operator, and configuration value of the first capability as a capability configuration set of the first capability;
[0011] A capability configuration set of the second capability is obtained according to the identifier, operator, and configuration value of the second capability.
[0012] In some embodiments, obtaining a capability configuration set of the second capability according to the identifier, operator, and configuration value of the second capability includes:
[0013] Update the operator and configuration values of the second capability to empty;
[0014] The identifier of the second capability, the modified operator, and the configuration value are determined as a capability configuration set of the second capability.
[0015] In some embodiments, the preset parameters further include a description of the capability, and the method further includes:
[0016] The description of the first capability and the description of the second capability are respectively parsed from the competition rule table.
[0017] In some embodiments, the capability type includes a condition and an action, and sending the capability configuration set of the first capability and the capability configuration set of the second capability to the client includes:
[0018] In a case where the type of the first capability and the type of the second capability are the same, sending the capability configuration set of the first capability and the capability configuration set of the second capability to the client through the first interface;
[0019] When the type of the first capability is different from the type of the second capability, the capability configuration set of the first capability and the capability configuration set of the second capability are sent to the client via the second interface; wherein the first interface is different from the second interface.
[0020] According to a second aspect of an embodiment of the present application, there is provided a data processing device, including:
[0021] a data acquisition module, configured to acquire a contention rule table including preset parameters and a preset format, wherein the preset parameters include identifiers and parameter values of capabilities used for vehicle scenario editing, as well as contention relationships between capabilities; the parameter values include operators and configuration values; and the preset format includes different parameter values for the same identifier being located in different columns or rows of the contention rule table;
[0022] A data parsing module, configured to parse the identifier, operator, and configuration value of the first capability, and the identifier, operator, and configuration value of the second capability that has a competing relationship with the first capability, from the competition rule table, to obtain a capability configuration set of the first capability and a capability configuration set of the second capability;
[0023] The data sending module is used to send the capability configuration set of the first capability and the capability configuration set of the second capability to the client, so that the client can make a competition judgment on the capability to be edited in the vehicle scene based on the capability configuration set of the first capability and the capability configuration set of the second capability.
[0024] According to a third aspect of an embodiment of the present application, a data processing device is provided, comprising a processor and a memory, wherein the memory stores computer program instructions that can be executed by the processor, and when the processor executes the computer program instructions, the steps of any method of the first aspect described above are implemented.
[0025] According to a fourth aspect of the embodiments of the present application, a data processing system is provided, comprising: a client and the above-mentioned data processing device, wherein:
[0026] The client is used to perform a competition judgment on the capability to be edited in the vehicle scene according to the capability configuration set of the first capability and the capability configuration set of the second capability sent by the data processing device.
[0027] In some embodiments, the client is also used to determine whether the capability to be edited and the edited capability have a competing relationship when the identifier, operator and configuration value of the edited capability in the vehicle scenario are all in the capability configuration set of the first capability, and the identifier, operator and configuration value of the capability to be edited are all in the capability configuration set of the second capability.
[0028] In some embodiments, the client is also used to determine the description of the capability to be edited based on the identifier in the capability configuration set of the capability to be edited, determine the description of the edited capability based on the identifier in the capability configuration set of the edited capability, and output prompt information based on the description of the capability to be edited and the description of the edited capability.
[0029] In the present application, a competition rule table including preset parameters and a preset format is obtained, wherein the preset parameters include the identifier and parameter value of the capability for vehicle scene editing, as well as the competition relationship between the capabilities, the parameter value includes an operator and a configuration value, and the preset format includes different parameter values of the same identifier being located in different columns or rows of the competition rule table; the identifier, operator and configuration value of the first capability, as well as the identifier, operator and configuration value of the second capability that has a competition relationship with the first capability are parsed from the competition rule table respectively to obtain the capability configuration set of the first capability and the capability configuration set of the second capability; the capability configuration set of the first capability and the capability configuration set of the second capability are sent to the client so that the client can make a competition judgment on the capability to be edited in the vehicle scene based on the capability configuration set of the first capability and the capability configuration set of the second capability. Through the above scheme, the software engineer only needs to configure the relevant parameters of the capability with a competition relationship in the competition rule table according to the preset format. The cloud will parse and process the competition rule table, obtain the corresponding capability configuration set and provide it to the client for use. The software engineer can adjust the competition rule table in real time according to user needs, reducing repetitive work, avoiding in-depth code level modifications, greatly simplifying the maintenance process and improving efficiency.
[0030] It should be understood that the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the present application. BRIEF DESCRIPTION OF THE DRAWINGS
[0031] The accompanying drawings are incorporated into and constitute a part of the specification, illustrating embodiments consistent with the present application and, together with the specification, explaining the principles of the present application. Obviously, the drawings described below are only some embodiments of the present application, and those skilled in the art can derive other drawings based on these drawings without inventive effort. In the drawings:
[0032] Figure 1 A schematic flow chart of a data processing method according to some embodiments of the present application is shown;
[0033] Figure 2 A block diagram of a data processing device according to some embodiments of the present application is shown;
[0034] Figure 3 A schematic structural diagram of a data processing device according to some embodiments of the present application is shown;
[0035] Figure 4 A structural schematic diagram of a data processing system according to some embodiments of the present application is shown. DETAILED DESCRIPTION
[0036] The following will be combined with the drawings in the embodiments of this application to clearly and completely describe the technical solutions in the embodiments of this application. Obviously, the embodiments described are only part of the embodiments of this application, not all of the embodiments. Based on the embodiments in this application, all other embodiments obtained by ordinary technicians in this field without making creative efforts are within the scope of protection of this application.
[0037] In addition, described feature, structure or characteristic can be combined in one or more embodiments in any suitable manner.In the following description, many specific details are provided so as to provide a full understanding of the embodiments of the present application. However, it will be appreciated by those skilled in the art that the technical scheme of the present application can be put into practice without one or more of the specific details, or other methods, components, devices, steps etc. can be adopted. In other cases, known methods, devices, implementations or operations are not shown or described in detail to avoid blurring the various aspects of the application.
[0038] The block diagrams shown in the accompanying drawings are merely functional entities and do not necessarily correspond to physically separate entities. That is, these functional entities may be implemented in software, in one or more hardware modules or integrated circuits, or in different networks and / or processor devices and / or microcontroller devices.
[0039] The flowcharts shown in the accompanying drawings are for illustrative purposes only and do not necessarily include all contents and operations / steps, nor must they be executed in the order described. For example, some operations / steps may be decomposed, while others may be combined or partially combined. Therefore, the actual execution order may vary depending on the actual situation.
[0040] Figure 1 1 shows a flow chart of a data processing method according to some embodiments of the present application. Figure 1 As shown, a data processing method is provided, which may include the following steps 101 to 103.
[0041] In step 101, a competition rule table including preset parameters and a preset format is obtained, wherein the preset parameters include the identifier and parameter values of the capabilities used for vehicle scene editing, and the competition relationship between the capabilities, the parameter values include operators and configuration values, and the preset format includes different parameter values of the same identifier located in different columns or different rows of the competition rule table.
[0042] The execution subject of the embodiment of the present application can be completed by a cloud-based device, which can be a computing service device with data processing, network communication and program running functions. The embodiment of the present application does not limit the specific structural form of the device.
[0043] The operator can be equal to, greater than, less than, greater than or equal to, less than or equal to, etc., or other characters that represent size relationships; the configuration value can be set according to the specific situation.
[0044] It is understandable that the competition rule table can be obtained by software engineers according to user needs and product requirements, by filling in preset parameters in accordance with the preset format and competition relationship determination rules. For example, in the scenario where the vehicle gear is in the reverse gear (R gear) and the rearview mirror is closed, the relevant information of the rearview mirror closure is first integrated horizontally, and then the relevant information of the gear status is supplemented vertically, and an "X" is marked at the intersection of the two to indicate the existence of a competition relationship. After uploading the configured competition rule table to the cloud, relevant information can be added according to this rule. During the configuration process, the accuracy and logic of the information must be guaranteed to facilitate user understanding and operation.
[0045] It should be noted that the competition rule table includes preset parameters for many capabilities. Different capabilities can be distinguished by identifiers (such as capability IDs). For the same capability ID, different parameter values may also exist. For example, when capability ID = 0xf301, it means that the capability ID is a gear, and vehicles have multiple gears. Therefore, the same capability ID may correspond to different parameter values. For example, parameter value == 1 represents R gear, parameter value == 2 represents N gear, and parameter value == 3 represents D gear. In the embodiment of the present application, different parameter values for the same capability ID are set in different columns or rows of the competition rule table to facilitate the update, adjustment and subsequent cloud analysis of the competition rule table, thereby improving the compatibility of the competition rule table.
[0046] The preset format may also include a parameter value and its corresponding identifier which can be set in different rows of the same column or different columns of the same row in the competition rule table, and the operator and configuration value in a parameter value can be set in the same row / column or in different rows / columns.
[0047] In some examples, the contention rule table may be as shown in Table 1 below:
[0048] Table 1
[0049]
[0050] As shown in Table 1, different parameter values for the same capability ID in the competition rule table are placed in different columns. The capability ID, operator, and configuration value are all placed in different rows and columns. A closed mirror competes with gears R and D, but not N. A low-beam height setting of level 1 competes with gear D, but not R or N. By placing the capability ID, operator, and configuration value in different rows and columns, the efficiency of table parsing in the cloud can be improved.
[0051] In other examples, the contention rule table may be shown in Table 2 below:
[0052] Table 2
[0053] Capability ID 0xf301 0xf301 0xf301 Parameter value ==1 ==2 ==3 Description (optional) R gear N gear D gear 0xa40d ==1 Rearview mirror closed X X 0xa502 ==1 Low beam height is 1 level X
[0054] As shown in Table 2, different parameter values for the same capability ID in the competition rule table are located in different columns, and the operator and configuration value are set in the same row / column, but in a different row / column from the capability ID.
[0055] In step 102, the identifier, operator and configuration value of the first capability, and the identifier, operator and configuration value of the second capability are respectively parsed from the competition rule table to obtain the capability configuration set of the first capability and the capability configuration set of the second capability.
[0056] It can be understood that the first capability and the second capability are both capabilities in the competition rule table. All capabilities in the competition rule table can be used as first capabilities respectively, and then the second capability can be determined based on the first capability, and then all the identifiers, operators and configuration values of the first capabilities, as well as the identifiers, operators and configuration values of the second capabilities, can be parsed.
[0057] During the implementation process, the cloud device can use EasyExcel to parse the identifier, operator and configuration value of the first capability, and the identifier, operator and configuration value of the second capability from the competition rule table.
[0058] EasyExcel uses the SAX mode for line-by-line parsing and supports synchronous and asynchronous reading, which can avoid loading the entire file into memory at one time, thereby significantly reducing memory usage. Compared with POI, EasyExcel has extremely low memory consumption when parsing large files.
[0059] In some embodiments, after parsing the identifier, operator and configuration value of the first capability, as well as the identifier, operator and configuration value of the second capability, the identifier, operator and configuration value of the first capability can be determined as the capability configuration set of the first capability; and based on the identifier, operator and configuration value of the second capability, the capability configuration set of the second capability can be obtained.
[0060] It can be understood that the number of second capabilities can be one or more. When there are multiple second capabilities, the identifier, operator and configuration value of each second capability can be directly determined as a capability configuration set to achieve parameter-level competition; or each second capability operator and configuration value can be modified, and each second capability identifier, modified operator and configuration value can be determined as a capability configuration set to achieve capability-level competition.
[0061] During the implementation process, the operator and configuration value of the second capability may be updated to empty; and the identifier of the second capability, the modified operator and configuration value may be determined as the capability configuration set of the second capability.
[0062] In some embodiments, the preset parameters further include a description of the capability, and the data processing method further includes: respectively parsing the description of the first capability and the description of the second capability from the competition rule table.
[0063] Referring back to Table 1, assuming that the capability ID of the first capability is 0xa40d, the cloud can not only parse out its corresponding operator "==" and configuration value "1", but also parse out its corresponding description "rearview mirror closed".
[0064] By parsing the description of the capability, software engineers can locate the data corresponding to the capability more quickly based on the description, facilitating data maintenance.
[0065] During implementation, the data format for a pair of capability competitions can be defined as follows:
[0066] {
[0067] "skillList":[{ / / ability configuration collection
[0068] "func":"drvMode", / / Description of capability
[0069] "op": 0, / / operator of capability
[0070] "opValue":"4", / / capability configuration value
[0071] "skillid":42482 / / Ability ID (driving mode)
[0072] }],
[0073] "exclusions":[{ / / Capability configuration collection of competitive capabilities
[0074] "func":null, / / description of capability
[0075] "op":null, / / operator of capability
[0076] "opValue":null, / / capability configuration value
[0077] "skillid":44288 / / Ability ID (front air conditioning control)
[0078] }]
[0079] }
[0080] According to the above data format, when the capability ID is 42482 (indicating driving mode), the operator is 0 (indicating equal), and the configuration value is 4 (indicating super power saving mode), this capability competes with the capability with ID 44288 (front air conditioning control).
[0081] The "exclusions" field defines a set of capability configurations for a second capability that is in a competing relationship with a first capability. The "func", "op", and "opValue" in the "exclusions" field can be set to null, which means that the definition of the competing relationship does not depend on the specific capability description, operator, or configuration value, but is directly specified by the capability ID. When the above three parameters are null, it represents capability-level competition; when the above three parameters are not null, it represents parameter-level competition. Therefore, the embodiments of the present application are compatible with capability-level and parameter-level competition.
[0082] The above design simplifies the logic for determining contention relationships, enabling clients to quickly identify and resolve contention situations. This data format also offers excellent scalability. As vehicle functionality continues to grow and improve, new capability configurations and contention relationship definitions can be easily added to the "skillList" and "exclusions" fields to meet evolving needs. This data format also reduces the need for multi-layer traversal in the application, thereby reducing code complexity.
[0083] In step 103, the capability configuration set of the first capability and the capability configuration set of the second capability are sent to the client, so that the client makes a competition judgment on the capability to be edited in the vehicle scene according to the capability configuration set of the first capability and the capability configuration set of the second capability.
[0084] It is understandable that the client refers to the device used by the user to edit the vehicle scene, which can be a car computer or a mobile device, and this application does not impose any restrictions on this.
[0085] Capabilities include conditions and actions. Conditions are typically related to vehicle status (such as speed, temperature, door status, etc.) or external environment (such as weather, road conditions, etc.). Actions refer to specific operations that the vehicle may perform, such as adjusting the temperature, changing the speed, or turning certain functions on or off. For example, a condition might be "R gear" and an action might be "closing the rearview mirror."
[0086] During the implementation process, in order to send the capability configuration set to the client, the cloud can set up two types of interfaces. The first interface is the capability configuration set output interface of conditions and conditions, actions and action type capabilities; the second interface is the capability configuration set output interface of conditions and action type capabilities.
[0087] In some embodiments, when the type of the first capability and the type of the second capability are the same, the capability configuration set of the first capability and the capability configuration set of the second capability are sent to the client through the first interface; when the type of the first capability and the type of the second capability are different, the capability configuration set of the first capability and the capability configuration set of the second capability are sent to the client through the second interface; wherein the first interface is different from the second interface.
[0088] For example, if the first capability type is conditional and the second capability type is also conditional, or if the first capability type is action and the second capability type is also action, then the capability configuration sets of both are sent to the client via the first interface; if the first capability type is conditional and the second capability type is action, or if the first capability type is action and the second capability type is conditional, then the capability configuration sets of both are sent to the client via the second interface. By dividing interfaces according to capability type, data layers can be reduced and data output efficiency can be improved.
[0089] In the present application, a competition rule table including preset parameters and a preset format is obtained, wherein the preset parameters include the identifier and parameter value of the capability for vehicle scene editing, as well as the competition relationship between the capabilities, the parameter value includes an operator and a configuration value, and the preset format includes different parameter values of the same identifier being located in different columns or rows of the competition rule table; the identifier, operator and configuration value of the first capability, as well as the identifier, operator and configuration value of the second capability are parsed from the competition rule table respectively to obtain the capability configuration set of the first capability and the capability configuration set of the second capability; the capability configuration set of the first capability and the capability configuration set of the second capability are sent to the client, so that the client makes a competition judgment on the capability to be edited in the vehicle scene according to the capability configuration set of the first capability and the capability configuration set of the second capability. Through the above scheme, the software engineer only needs to configure the relevant parameters of the capability with a competition relationship in the competition rule table according to the preset format, and the cloud will parse and process the competition rule table, and obtain the corresponding capability configuration set for use by the client. The software engineer can adjust the competition rule table in real time according to user needs, reducing repetitive work, avoiding in-depth code level modifications, greatly simplifying the maintenance process, and improving efficiency.
[0090] The following describes an embodiment of the device of the present application, which can be used to execute the data processing method in the above embodiment of the present application. For details not disclosed in the embodiment of the device of the present application, please refer to the embodiment of the data processing method in the above embodiment of the present application.
[0091] See also Figure 2 , shows a block diagram of a data processing device according to some embodiments of the present application. Figure 2As shown, the data processing device of an embodiment of the present application includes: a data acquisition module 201, a data parsing module 202 and a data sending module 203, wherein the data acquisition module 201 is used to obtain a competition rule table including preset parameters and a preset format, wherein the preset parameters include the identifier and parameter value of the capability for vehicle scene editing, and the competition relationship between the capabilities, the parameter value includes an operator and a configuration value, and the preset format includes different parameter values of the same identifier located in different columns or rows of the competition rule table; the data parsing module 202 is used to parse out the identifier, operator and configuration value of the first capability, as well as the identifier, operator and configuration value of the second capability that has a competition relationship with the first capability from the competition rule table, so as to obtain the capability configuration set of the first capability and the capability configuration set of the second capability; the data sending module 203 is used to send the capability configuration set of the first capability and the capability configuration set of the second capability to the client, so that the client makes a competition judgment on the capability to be edited in the vehicle scene according to the capability configuration set of the first capability and the capability configuration set of the second capability.
[0092] In some embodiments, based on the aforementioned scheme, the data parsing module 202 is also used to parse out the identifier, operator and configuration value of the first capability, as well as the identifier, operator and configuration value of the second capability from the competition rule table; determine the identifier, operator and configuration value of the first capability as the capability configuration set of the first capability; and obtain the capability configuration set of the second capability based on the identifier, operator and configuration value of the second capability.
[0093] In some embodiments, based on the aforementioned solution, the data parsing module 202 is further configured to update the operator and configuration value of the second capability to empty; and determine the identifier of the second capability, the modified operator and configuration value as the capability configuration set of the second capability.
[0094] In some embodiments, based on the above solution, the data parsing module 202 is further configured to parse the description of the first capability and the description of the second capability from the competition rule table.
[0095] In some embodiments, based on the aforementioned scheme, the type of capability includes conditions and actions, and the data sending module 203 is also used to send the capability configuration set of the first capability and the capability configuration set of the second capability to the client through the first interface when the type of the first capability and the type of the second capability are the same; and send the capability configuration set of the first capability and the capability configuration set of the second capability to the client through the second interface when the type of the first capability and the type of the second capability are different; wherein the first interface is different from the second interface.
[0096] Based on the same inventive concept, the present application also provides a data processing device, referring to Figure 3, shows a structural diagram of a data processing device in an embodiment of the present application, the data processing device includes one or more memories 304, one or more processors 302 and at least one computer program (computer program instruction) stored in the memory 304 and executable on the processor 302, and the processor 302 implements the above method when executing the computer program.
[0097] Among them, Figure 3 In the embodiment of the present invention, a bus architecture (represented by bus 300) is shown. Bus 300 may include any number of interconnected buses and bridges, and bus 300 links together various circuits including one or more processors represented by processor 302 and memory represented by memory 304. Bus 300 may also link together various other circuits such as peripherals, voltage regulators, and power management circuits, which are well known in the art and therefore will not be described further herein. Bus interface 305 provides an interface between bus 300 and receiver 301 and transmitter 303. Receiver 301 and transmitter 303 may be the same component, namely a transceiver, which provides a unit for communicating with various other devices over a transmission medium. Processor 302 is responsible for managing bus 300 and general processing, while memory 304 may be used to store data used by processor 302 when performing operations.
[0098] Based on the same inventive concept, an embodiment of the present application provides a data processing system. Figure 4 FIG. 1 shows a schematic diagram of a data processing system according to some embodiments of the present application. Figure 4 As shown, the data processing system includes a client 401 and the above-mentioned data processing device 402, wherein the client 401 is used to perform competitive judgment on the capabilities to be edited in the vehicle scene based on the capability configuration set of the first capability and the capability configuration set of the second capability sent by the data processing device 402.
[0099] It is understandable that users can edit the capabilities in the vehicle scene through the client. Assuming that the capability to be edited is the action of closing the rearview mirror, and the capability that has been edited in the vehicle scene is the condition of R gear, the client can determine that there is a competing relationship between the capability to be edited and the capability that has been edited, thereby avoiding users from creating unreasonable vehicle scenes.
[0100] In some embodiments, the client is also used to determine whether the capability to be edited and the edited capability have a competing relationship when the identifier, operator and configuration value of the edited capability in the vehicle scenario are all in the capability configuration set of the first capability, and the identifier, operator and configuration value of the capability to be edited are all in the capability configuration set of the second capability.
[0101] It is understandable that in the process of editing capabilities, the user may only select the capability identifier, or select the capability identifier, operator and configuration value at the same time. If only the capability identifier is selected, then when the identifier of the edited capability is in the capability configuration set of the first capability and the identifier of the capability to be edited is in the capability configuration set of the second capability, it can be determined that there is a competing relationship between the capability to be edited and the edited capability, thereby realizing capability-level competing judgment; if the identifier, operator and configuration value of the capability are selected at the same time, parameter-level competing judgment can be performed through the above method.
[0102] In some embodiments, the client is also used to determine the description of the capability to be edited based on the identifier in the capability configuration set of the capability to be edited, determine the description of the edited capability based on the identifier in the capability configuration set of the edited capability, and output prompt information based on the description of the capability to be edited and the description of the edited capability.
[0103] Assume that the capability to be edited is the action of closing the rearview mirror, and the capability that has been edited in the vehicle scene is the condition of R gear, then there is a conflict between the currently set condition and the action to be performed. The client may prompt "There is a conflict between the gear R condition and the rearview mirror closing action."
[0104] The embodiments of the present application reduce invalid operations during the editing process, allowing users to complete editing tasks more smoothly, thereby improving user satisfaction and loyalty to the entire application. At the same time, it also reduces the frustration and loss of users who may experience frequent non-triggering scenarios.
[0105] Based on the same inventive concept, an embodiment of the present application provides a computer-readable storage medium, in which computer program instructions are stored. When the computer program instructions are executed by a processor, the processor is prompted to implement the steps of the method as described above.
[0106] Based on the same inventive concept, an embodiment of the present application provides a computer program product, including a computer program. When the computer program product is executed by a processor, it prompts the processor to implement the steps of the method described above.
[0107] The functions described herein may be implemented in hardware, software executed by a processor, firmware, or any combination thereof. If implemented in software executed by a processor, the functions may be stored as one or more instructions or codes on or transmitted via a computer-readable medium. Other examples and implementations are within the scope and spirit of this application and the appended claims. For example, due to the nature of software, the functions described above may be implemented using software executed by a processor, hardware, firmware, hardwiring, or a combination of any of these. Furthermore, the functional units may be integrated into a single processing unit, each unit may exist physically separately, or two or more units may be integrated into a single unit.
[0108] In the several embodiments provided in this application, it should be understood that the disclosed technical content can be implemented in other ways. Among them, the device embodiments described above are only exemplary. For example, the division of the units can be a logical function division. In actual implementation, there may be other division methods, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of units or modules, which can be electrical or other forms.
[0109] The units described as separate components may or may not be physically separate, and the components of the control device may or may not be physical units, that is, they may be located in one place or distributed across multiple units. Some or all of the units may be selected according to actual needs to achieve the purpose of the present embodiment.
[0110] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present application is essentially or the part that contributes to the prior art or all or part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including a number of instructions for enabling a computer device (which can be a personal computer, a server or a network device, etc.) to execute all or part of the steps of the method described in each embodiment of the present application. The aforementioned storage medium includes: U disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), mobile hard disk, magnetic disk or optical disk, etc. Various media that can store computer program instructions.
[0111] The foregoing is merely an embodiment of the present application and is not intended to limit the present application. Various modifications and variations are possible for those skilled in the art. Any modifications, equivalent substitutions, or improvements made within the spirit and principles of the present application shall be included within the scope of the claims of the present application.
Claims
1. A data processing method, characterized in that: include: Obtaining a competition rule table including preset parameters and a preset format, wherein the preset parameters include identifiers and parameter values of capabilities for vehicle scenario editing, as well as competition relationships between capabilities, the parameter values include operators and configuration values, and the preset format includes different parameter values for the same identifier being located in different columns or rows of the competition rule table; Parsing the identifier, operator, and configuration value of the first capability, and the identifier, operator, and configuration value of the second capability that competes with the first capability, from the competition rule table, to obtain a capability configuration set of the first capability and a capability configuration set of the second capability; The capability configuration set of the first capability and the capability configuration set of the second capability are sent to the client, so that the client performs a competition judgment on the capability to be edited in the vehicle scene according to the capability configuration set of the first capability and the capability configuration set of the second capability.
2. The data processing method according to claim 1, wherein: The step of respectively parsing the identifier, operator, and configuration value of the first capability, and the identifier, operator, and configuration value of the second capability from the competition rule table to obtain a capability configuration set of the first capability and a capability configuration set of the second capability includes: Parsing the identifier, operator, and configuration value of the first capability, and the identifier, operator, and configuration value of the second capability from the competition rule table respectively; Determining the identifier, operator, and configuration value of the first capability as a capability configuration set of the first capability; A capability configuration set of the second capability is obtained according to the identifier, operator, and configuration value of the second capability.
3. The data processing method according to claim 2, characterized in that: The obtaining, according to the identifier, operator, and configuration value of the second capability, a capability configuration set of the second capability includes: Update the operator and configuration value of the second capability to empty; The identifier of the second capability, the modified operator, and the configuration value are determined as a capability configuration set of the second capability.
4. The data processing method according to claim 2, wherein: The preset parameters also include a description of the capability, and the method further includes: The description of the first capability and the description of the second capability are respectively parsed from the competition rule table.
5. The data processing method according to claim 2, wherein: The type of the capability includes a condition and an action, and sending the capability configuration set of the first capability and the capability configuration set of the second capability to the client includes: When the type of the first capability is the same as the type of the second capability, sending the capability configuration set of the first capability and the capability configuration set of the second capability to the client through the first interface; When the type of the first capability is different from the type of the second capability, the capability configuration set of the first capability and the capability configuration set of the second capability are sent to the client via a second interface; wherein the first interface is different from the second interface.
6. A data processing device, characterized in that: include: a data acquisition module, configured to acquire a contention rule table including preset parameters and a preset format, wherein the preset parameters include identifiers and parameter values of capabilities for vehicle scenario editing, as well as contention relationships between capabilities, the parameter values include operators and configuration values, and the preset format includes different parameter values for the same identifier being located in different columns or rows of the contention rule table; a data parsing module, configured to parse, from the competition rule table, the identifier, operator, and configuration value of the first capability, and the identifier, operator, and configuration value of the second capability that competes with the first capability, to obtain a capability configuration set of the first capability and a capability configuration set of the second capability; A data sending module is used to send the capability configuration set of the first capability and the capability configuration set of the second capability to the client, so that the client can make a competition judgment on the capability to be edited in the vehicle scene based on the capability configuration set of the first capability and the capability configuration set of the second capability.
7. A data processing device comprising a processor and a memory, characterized in that: The memory stores computer program instructions that can be executed by the processor, and when the processor executes the computer program instructions, the steps of the method according to any one of claims 1 to 5 are implemented.
8. A data processing system, characterized in that: include: The client and the data processing device according to claim 7, wherein The client is used to perform competition judgment on the capability to be edited in the vehicle scene according to the capability configuration set of the first capability and the capability configuration set of the second capability sent by the data processing device.
9. The data processing system according to claim 8, wherein: The client is also used to determine whether the capability to be edited and the edited capability have a competing relationship when the identifier, operator and configuration value of the edited capability in the vehicle scenario are all in the capability configuration set of the first capability, and the identifier, operator and configuration value of the capability to be edited are all in the capability configuration set of the second capability.
10. The data processing system according to claim 9, wherein: The client is also used to determine the description of the capability to be edited according to the identifier in the capability configuration set of the capability to be edited, determine the description of the edited capability according to the identifier in the capability configuration set of the edited capability, and output prompt information according to the description of the capability to be edited and the description of the edited capability when there is a competing relationship between the capability to be edited and the capability that has been edited.