Method, cloud platform, vehicle and storage medium for dynamically configuring service logic

By generating configuration messages through a cloud platform and using scenario decision trees to dynamically configure the vehicle software system, the problem of frequent changes in software-defined vehicles is solved, enabling rapid response to changes in requirements and reducing development costs and risks.

CN115509572BActive Publication Date: 2026-06-23GREAT WALL MOTOR CO LTD

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
GREAT WALL MOTOR CO LTD
Filing Date
2022-09-20
Publication Date
2026-06-23

AI Technical Summary

Technical Problem

In existing technologies, software-defined vehicles require frequent software changes, leading to repetitive and tedious development work for developers. Furthermore, OTA upgrades and iterations are costly and risky.

Method used

By generating configuration messages through the cloud platform and using scenario decision trees to dynamically configure the software system in the vehicle, the business logic can be quickly responded to and upgraded, avoiding OTA upgrade iterations.

Benefits of technology

Non-technical personnel can also participate in editing and maintaining the system's business rules, reducing the cost and risk of software system upgrades, reducing redundant development work, and reducing the complexity and risk of OTA upgrades.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115509572B_ABST
    Figure CN115509572B_ABST
Patent Text Reader

Abstract

The application discloses a kind of dynamically configured service logic method, cloud platform, vehicle and storage medium, the method includes: receiving configuration information;According to the configuration information, scene decision tree is dynamically configured, configuration message is generated, and is issued to vehicle;Wherein, the scene decision tree is obtained by the service logic of the preset event library by sceneization.This application is dynamically configured to the scene decision tree set on cloud platform, configuration message is obtained, and is issued to vehicle to upgrade software system in vehicle, can quickly respond to demand change, without software developer to do repetitive tedious development work, so that non-technical personnel can also participate in editing maintenance system business rules, simultaneously without OTA upgrade iteration, can reduce the cost and risk of software system upgrade.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of vehicle technology, and in particular to a method for dynamically configuring business logic, a cloud platform, a vehicle, and a storage medium. Background Technology

[0002] With the evolution and innovation of software-defined vehicles and intelligent cockpits, the trend of software-enabled intelligent cockpits is becoming increasingly prominent. One of the biggest demands in the software field is change (including iterative updates). Countless software developers are doing repetitive and tedious development work in order to implement requirements and cope with changes, which makes it quite painful for developers to face such frequent changes. In addition, traditional software changes require OTA (Over-the-Air Technology) upgrades and iterations. In addition to the cost, OTA upgrades and iterations also carry certain risks. Summary of the Invention

[0003] This invention aims to at least solve one of the technical problems existing in the prior art. Therefore, the object of this invention is to propose a method for dynamically configuring business logic, a cloud platform, a vehicle, and a storage medium.

[0004] The vehicle in this invention upgrades its software system by receiving configuration messages from the cloud platform, enabling rapid response to changes in requirements. This eliminates the need for software developers to perform repetitive and tedious development work, allowing non-technical personnel to participate in editing and maintaining the system's business rules. Furthermore, it eliminates the need for OTA upgrades and iterations, reducing the cost and risk of software system upgrades.

[0005] This invention proposes a method for dynamically configuring business logic for a cloud platform, comprising: receiving configuration information; dynamically configuring a scenario decision tree according to the configuration information, generating a configuration message, and sending it to the vehicle; wherein the scenario decision tree is obtained by scenario-based configuration of business logic through a preset event library.

[0006] In addition, the method for dynamically configuring business logic according to embodiments of the present invention may also have the following additional technical features:

[0007] Furthermore, the scenario decision tree is obtained by scenario-based application of business logic through a preset event library, including: determining multiple meta-scenarios based on the business logic and the preset event library; determining identification factors and scenario models corresponding to the meta-scenarios; determining decision factors and execution factors corresponding to the scenario models; and constructing the scenario decision tree based on the meta-scenarios, the identification factors, the scenario models, the decision factors, and the execution factors.

[0008] Furthermore, the identification factor includes a meta-event, a first operator, and a first parameter; the decision factor includes a meta-fact, a second operator, and a second parameter; and the execution factor includes a meta-transaction and a third parameter.

[0009] Furthermore, the scenario decision tree is dynamically configured according to the configuration information to generate a configuration message, including: writing the configuration information of the identification factors corresponding to multiple meta-scenarios, as well as the configuration information of the decision factors and the configuration information of the execution factors corresponding to the scenario model, into the configuration message.

[0010] Furthermore, the configuration message may take the form of Domain Definition Language (DSL), Decision Table (XSL), or Rule Flow (JBPM).

[0011] Furthermore, the first parameter, the second parameter, and the third parameter are determined according to a data mining algorithm.

[0012] According to the method for dynamically configuring business logic according to embodiments of the present invention, configuration messages are obtained by dynamically configuring the scenario decision tree set on the cloud platform and then sent to the vehicle to upgrade the software system in the vehicle. This method can quickly respond to changes in requirements, eliminates the need for software developers to perform repetitive and tedious development work, and allows non-technical personnel to participate in editing and maintaining the system's business rules. At the same time, it eliminates the need for OTA upgrades and iterations, thereby reducing the cost and risk of software system upgrades.

[0013] To address the aforementioned problems, this invention also proposes a method for dynamically configuring business logic for vehicles, comprising: receiving a configuration message issued by a cloud platform, wherein the configuration message is obtained by the cloud platform dynamically configuring a scenario decision tree based on configuration information, and the scenario decision tree is obtained by scenario-based configuration of business logic through a preset event library; parsing the configuration message to obtain business rules corresponding to the business logic; and executing the business rules.

[0014] In addition, the method for dynamically configuring business logic according to embodiments of the present invention may also have the following additional technical features:

[0015] Furthermore, the configuration message is parsed to obtain business rules corresponding to the business logic, including: registering a listening identification factor and performing meta-scenario identification in conjunction with the first operator; performing conflict identification on the meta-scenario and / or meta-event, and making scenario decisions to obtain decision factors and execution factors.

[0016] Furthermore, executing the business rules includes: executing the corresponding transaction in the scenario model based on the execution factor.

[0017] Furthermore, before registering the monitoring and identification factors, it also includes: connecting and integrating the basic atomic capabilities of the scenario, which include meta-events, meta-facts, and meta-transactions.

[0018] According to the method for dynamically configuring business logic according to embodiments of the present invention, the vehicle upgrades its software system by receiving configuration messages from the cloud platform. This allows for rapid response to changes in requirements, eliminates the need for software developers to perform repetitive and tedious development work, and enables non-technical personnel to participate in editing and maintaining the system's business rules. Furthermore, it eliminates the need for OTA upgrades and iterations, thereby reducing the cost and risk of software system upgrades.

[0019] To address the aforementioned problems, this invention also proposes a cloud platform, comprising: a receiving module for receiving configuration information; and a configuration module for dynamically configuring a scenario decision tree based on the configuration information, generating a configuration message, and sending it to the vehicle; wherein the scenario decision tree is obtained by contextualizing business logic through a preset event library.

[0020] According to the cloud platform of the present invention, configuration messages are obtained by dynamically configuring the scenario decision tree set on the cloud platform and then sent to the vehicle to upgrade the software system in the vehicle. This can quickly respond to changes in requirements, eliminate the need for software developers to do repetitive and tedious development work, and enable non-technical personnel to participate in editing and maintaining the system's business rules. At the same time, no OTA upgrades or iterations are required, which can reduce the cost and risk of software system upgrades.

[0021] To address the aforementioned problems, this invention also proposes a vehicle, comprising: a receiving module for receiving a configuration message sent by a cloud platform, wherein the configuration message is obtained by the cloud platform dynamically configuring a scenario decision tree, and the scenario decision tree is obtained by scenario-based application of business logic through a preset event library; a parsing module for parsing the configuration message to obtain business rules corresponding to the business logic; and an execution module for executing the business rules.

[0022] According to the vehicle of the present invention, the vehicle upgrades the software system in the vehicle by receiving configuration messages issued by the cloud platform, which can quickly respond to changes in requirements, eliminate the need for software developers to do repetitive and tedious development work, enable non-technical personnel to participate in editing and maintaining the business rules of the system, and eliminate the need for OTA upgrades and iterations, thereby reducing the cost and risk of software system upgrades.

[0023] To address the aforementioned problems, the present invention also proposes a computer-readable storage medium storing a program for dynamically configuring business logic. When the program for dynamically configuring business logic is executed by a processor, it implements the method for dynamically configuring business logic as described in any of the above embodiments, or implements the method for dynamically configuring business logic as described in any of the above embodiments.

[0024] According to an embodiment of the present invention, when a program storing dynamically configured business logic on a computer-readable storage medium is executed by a processor, it dynamically configures a scenario decision tree set on a cloud platform to obtain a configuration message, which is then sent to the vehicle to upgrade the software system in the vehicle. This allows for rapid response to changes in requirements, eliminates the need for software developers to perform repetitive and tedious development work, and enables non-technical personnel to participate in editing and maintaining the system's business rules. Furthermore, it eliminates the need for OTA upgrades and iterations, thereby reducing the cost and risk of software system upgrades.

[0025] Additional aspects and advantages of the invention 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 the invention. Attached Figure Description

[0026] The above and / or additional aspects and advantages of the present invention will become apparent and readily understood from the description of the embodiments taken in conjunction with the following drawings, in which:

[0027] Figure 1 This is a flowchart of a method for dynamically configuring business logic according to an embodiment of the present invention;

[0028] Figure 2 This is a schematic diagram of the structure of a scene decision tree according to an embodiment of the present invention;

[0029] Figure 3 This is a flowchart of a method for dynamically configuring business logic according to another embodiment of the present invention; Detailed Implementation

[0030] To provide a more detailed understanding of the features and technical content of the embodiments of the present invention, the implementation of the embodiments of the present invention will be described in detail below with reference to the accompanying drawings. The accompanying drawings are for illustrative purposes only and are not intended to limit the embodiments of the present invention. In the following technical description, for ease of explanation, several details are used to provide a full understanding of the disclosed embodiments. However, one or more embodiments may still be implemented without these details. In other cases, well-known structures and devices may be shown in a simplified manner to simplify the drawings.

[0031] The following is for reference. Figures 1-3 A method for dynamically configuring business logic, a cloud platform, a vehicle, and a storage medium are described according to embodiments of the present invention.

[0032] Currently, the trends of software-defined vehicles and intelligent cockpits are becoming increasingly prominent. One of the biggest demands in the automotive software field is change (including iterative updates). Countless software developers are engaged in repetitive and tedious development work to implement requirements and cope with changes, making it quite painful for developers to face such frequent changes. In addition, the over-the-air (OTA) technology for remote vehicle upgrades involves uploading the updated software to an OTA center, which then wirelessly transmits the updated software to the vehicle, and finally the vehicle automatically updates the software. The upgrade process is complex, costly, and carries a significant risk of upgrade failure.

[0033] In this embodiment of the invention, when upgrading and updating the software system, the cloud platform contextualizes the business logic to obtain a scenario decision tree, dynamically configures the scenario decision tree to obtain a configuration message, and sends it to the vehicle to upgrade the software system in the vehicle. This can solve the problem that developers need to perform repetitive and tedious development work when facing business needs and changes, while avoiding the risks associated with OTA upgrades.

[0034] Figure 1 This is a flowchart of a method for dynamically configuring business logic according to an embodiment of the present invention. Figure 1 As shown, a method for dynamically configuring business logic for a cloud platform includes the following steps:

[0035] Step S1: Receive configuration information. This configuration information can be set by product or operations personnel according to the business logic of the software system. Specifically, the configuration information consists of relevant parameters of the business logic.

[0036] Step S2: Dynamically configure the scenario decision tree according to the configuration information, generate a configuration message, and send it to the vehicle; wherein, the scenario decision tree is obtained by scenario-based application of business logic through a preset event library.

[0037] Specifically, the preset event library includes multiple preset events, each containing at least one configuration piece of information. Business logic is composed of these preset events. Contextualization refers to the rule-based approach to business logic; a scenario is the method of rule-based business logic. The scenario decision tree obtained by contextualizing business logic can be used to describe the business logic, effectively separating the software's business logic from the code to form independent business rules. This allows for dynamic modification of business rules through the scenario decision tree when business logic changes, enabling rapid response to requirement changes. This also allows non-technical personnel to participate in editing and maintaining the system's business rules, while reducing the cost and risk of software system upgrades.

[0038] For example, a scenario is a segment of events with a beginning and an end that occurs in a certain time and space, i.e., what happened at what time and place, what the characters' moods were, what they wanted to do next, what actions they would take, and what their purpose was. Specifically, when a car owner is on a road trip and the vehicle's central control system suddenly loses internet access, they will call customer service for help. After receiving the owner's request, customer service will urgently seek assistance from an engineer. Scenarioizing this business logic yields the scenario shown in Table 1. The event library in this scenario includes facts, events, and transactions. Facts include Who, When, and Where; events include What; and transactions include How. The configuration information for Who includes the car owner or customer service; the configuration information for When includes being on a road trip without a phone holder or during office hours; the configuration information for Where includes an unfamiliar city or office; the configuration information for What includes the central control system suddenly losing internet access or the car owner urgently seeking help; and the configuration information for How includes stopping the car on the side of the road to call customer service or urgently seeking engineer assistance.

[0039] Table 1

[0040]

[0041] Specifically, the configuration message is dynamically generated by the cloud platform based on the configuration information to configure the scenario decision tree. This can take various forms, including Domain Definition Language (DSL), Decision Table (XSL), and Rule Flow JBPM. Different configuration information yields different configuration messages. When the configuration information changes, only the scenario decision tree needs to be configured on the cloud platform. After the cloud platform generates the configuration message, it is sent to the vehicle, which then parses and executes it. This avoids repetitive and tedious development work by software developers when business requirements (business processes) change. Furthermore, it eliminates the need for OTA (Over-the-Air) upgrades to adapt to changing requirements, reducing the cost and risk of software system upgrades.

[0042] In one embodiment of the present invention, the scenario decision tree is obtained by scenario-based business logic through a preset event library, including: determining multiple meta-scenarios based on the business logic and the preset event library; determining identification factors and scenario models corresponding to the meta-scenarios; determining decision factors and execution factors corresponding to the scenario models; and constructing a scenario decision tree based on the meta-scenarios, identification factors, scenario models, decision factors, and execution factors.

[0043] Specifically, the preset event library includes multiple meta-scenes, corresponding identification factors and scene models, and corresponding decision factors and execution factors for the scene models. For example... Figure 2As shown, a meta-scenario is the smallest granularity of scenario, composed of identification factors and a scenario model. Depending on the chronological order, business logic can include multiple dynamically linked meta-scenarios. Identification factors contain the set of all events used to determine whether a scenario can be triggered. The scenario model consists of decision factors and execution factors. Decision factors contain the set of all conditions used to determine whether the current scenario can be executed, while execution factors contain all action instructions that need to be executed for the target touchpoint. Therefore, the cloud platform dynamically configures business logic through scenario decision trees to quickly respond to changes in requirements, allowing non-technical personnel to participate in editing and maintaining the system's business rules, while reducing the cost and risk of software system upgrades.

[0044] In a specific embodiment, the configuration information of the meta-scenario includes, for example, whether the vehicle is in a traffic jam; the configuration information of the identification factor includes, for example, the vehicle's navigation system; the configuration information of the decision factor includes, for example, the vehicle's air conditioning status; and the configuration information of the execution factor includes, for example, turning the vehicle's air conditioning on or off in external circulation mode. When the vehicle is in a traffic jam, to prevent exhaust fumes from polluting the air inside the vehicle, the vehicle's navigation system determines that the vehicle is in a traffic jam and triggers the decision factor to detect the vehicle's air conditioning status. When the vehicle's air conditioning is in external circulation mode, the corresponding execution factor is to turn off the external circulation mode and turn on the internal circulation mode. At this time, the vehicle executes the transaction of turning off the external circulation mode and turning on the internal circulation mode according to the execution factor. When the vehicle's air conditioning is not in external circulation mode, the corresponding execution factor is to not change the vehicle's air conditioning circulation mode. Similarly, when a vehicle changes from a traffic jam state to an open state, in order to maintain air circulation between the inside and outside of the vehicle, the vehicle's navigation system determines that the vehicle is no longer in a traffic jam state and triggers a decision factor to check the vehicle's air conditioning status. When the vehicle's air conditioning is in external circulation mode, the corresponding execution factor is to not change the vehicle's air conditioning circulation mode; when the vehicle's air conditioning is not in external circulation mode, the corresponding execution factor is to turn on the vehicle's air conditioning external circulation mode. At this time, the vehicle executes the transaction of turning on the vehicle's air conditioning external circulation mode according to the execution factor.

[0045] In one embodiment of the present invention, such as Figure 2 As shown, the identification factors include meta-events, the first operator, and the first parameter; the decision factors include meta-facts, the second operator, and the second parameter; and the execution factors include meta-transactions and the third parameter.

[0046] Specifically, meta-events describe simple actions or state changes, such as navigation -> entering / exiting a tunnel; meta-facts are the smallest fact elements that cannot or need not be further subdivided, such as vehicle status -> gear position is P; meta-transactions are the smallest granular transactions that cannot or need not be further subdivided, such as multimedia -> playing audio (online music). The first operator is applied to mathematical operations (>, <, =) and logical operations (&&, ||, |) of meta-events, while the second operator is applied to mathematical operations (>, <, =) and logical operations (&&, ||, |) of meta-facts. In a scenario, multiple meta-events and / or meta-facts may exist simultaneously. Therefore, when multiple meta-events exist, logical operations are performed on each meta-event using the first operator. When the result of the logical operation satisfies the conditions for triggering a decision factor, the triggering decision factor determines whether the current scenario has an executable set of conditions. When multiple meta-facts exist, logical operations are performed on each meta-fact using the second operator. When the result of the logical operation satisfies the conditions for triggering an execution factor, the vehicle executes the action command corresponding to the execution factor. Therefore, when there are multiple meta-events and meta-facts, the vehicle performs logical operations on each meta-event and meta-fact to execute the action instructions corresponding to the execution factors.

[0047] In a specific embodiment, the configuration information of the meta-scene includes, for example, whether the vehicle is in a traffic jam and the air quality inside the vehicle. The configuration information of the corresponding recognition factors includes, for example, the vehicle's navigation system and air quality detection sensor. The configuration information of the corresponding decision factors includes, for example, the vehicle's air conditioning status and the closed status of the windows. The configuration information of the corresponding execution factors includes, for example, turning the vehicle's air conditioning on or off in external circulation mode and turning the windows on or off. When the vehicle is in a traffic jam, the vehicle's navigation system determines that the vehicle is in a traffic jam. The air quality detection sensor inside the vehicle detects that the air quality index inside the vehicle is greater than a preset value (i.e., the first parameter). The system performs a logical AND operation (i.e., the first operator) on whether the vehicle is in a traffic jam and the air quality inside the vehicle detects that the air quality index inside the vehicle is greater than the preset value. When the vehicle's navigation system determines that the vehicle is in a traffic jam and the air quality detection sensor inside the vehicle detects that the air quality index inside the vehicle is greater than the preset value, the decision factors are triggered to detect the vehicle's air conditioning status and the closed status of the windows. When the vehicle's air conditioning is in external circulation mode or the windows are open, the system performs a logical || operation (i.e., the second operator) on the vehicle's air conditioning status and the closed status of the windows. The corresponding execution factor is to turn off the air conditioning in external circulation mode or to close the windows. In a scenario, if multiple meta-events and meta-facts exist simultaneously, the first operator performs logical operations on each meta-event. When the result of the logical operation satisfies the conditions for triggering the decision factor, the triggering decision factor determines whether there is an executable set of conditions in the current scenario. When multiple meta-facts exist, the second operator performs logical operations on each meta-fact. When the result of the logical operation satisfies the conditions for triggering the execution factor, the vehicle executes the action command corresponding to the execution factor.

[0048] In one embodiment of the present invention, the scenario decision tree is dynamically configured according to the configuration information to generate a configuration message, including: writing the configuration information of the identification factors corresponding to multiple meta-scenes, as well as the configuration information of the decision factors and the configuration information of the execution factors corresponding to the scenario model into the configuration message.

[0049] In a specific embodiment, the configuration message takes the following form: Scene is a scene, meta_scene is a meta-scene, recognition_factor is a recognition factor, meta_event is a meta-event, op is an operator, param is a parameter, scene_model is a scene model, decision_factor is a decision factor, meta_fact is a meta-fact, action_factor is an action factor, and meta_tranction is a meta-transaction. Specifically, the configuration message includes a meta-scene, recognition factor, corresponding meta-events, operators, and parameters; decision factor, corresponding meta-facts, operators, and parameters; and action factor, corresponding meta-transactions and parameters. By dynamically configuring the scene decision tree, multiple meta-scenes are linked together, and the configuration information of the recognition factors corresponding to multiple meta-scenes, as well as the configuration information of the decision factors and action factors corresponding to the scene model, are written into the configuration message to form independent business rules. This allows for rapid response to changes in requirements when business logic changes, by modifying the configuration message. This enables non-technical personnel to participate in editing and maintaining the system's business rules, while reducing the cost and risk of software system upgrades.

[0050]

[0051] In one embodiment of the present invention, the first parameter, the second parameter, and the third parameter are determined according to a data mining algorithm.

[0052] Specifically, the first parameter is, for example, the temperature at which the vehicle's air conditioning is turned on. When adjusting this first parameter, data mining algorithms can be used to predict and remind users of their air conditioning usage needs. In a specific embodiment, when the in-vehicle camera detects that the driver is a specific person, the air conditioning temperature can be automatically adjusted based on that person's usual air conditioning usage habits when they turn on the air conditioning. This makes the vehicle's business logic configuration more intelligent.

[0053] According to the embodiment of the present invention, the method for dynamically configuring business logic receives configuration information, dynamically configures the scenario decision tree set on the cloud platform to obtain a configuration message, and sends it to the vehicle to upgrade the software system in the vehicle. This method can quickly respond to changes in requirements, eliminates the need for software developers to perform repetitive and tedious development work, and allows non-technical personnel to participate in editing and maintaining the system's business rules. At the same time, it eliminates the need for OTA upgrades and iterations, thereby reducing the cost and risk of software system upgrades.

[0054] Further embodiments of the present invention disclose another method for dynamically configuring business logic. Figure 3 This is a flowchart of a method for dynamically configuring business logic according to an embodiment of the present invention, such as... Figure 3 As shown, a method for dynamically configuring business logic for vehicles includes the following steps:

[0055] Step S10: Receive the configuration message sent by the cloud platform. The configuration message is obtained by the cloud platform dynamically configuring the scenario decision tree according to the configuration information. The scenario decision tree is obtained by contextualizing the business logic through a preset event library.

[0056] Specifically, the configuration message is dynamically generated by the cloud platform based on the configuration information to configure the scenario decision tree. This can take various forms, including Domain Definition Language (DSL), Decision Table (XSL), and Rule Flow JBPM. Different configuration information yields different configuration messages. When the configuration information changes, only the scenario decision tree needs to be configured on the cloud platform. After the cloud platform generates the configuration message, it is sent to the vehicle, where it is parsed and executed. This avoids repetitive and tedious development work by software developers when business requirements (business processes) change. Furthermore, it allows for requirement changes to be implemented without OTA upgrades, reducing the cost and risk of software system upgrades.

[0057] Step S20: Parse the configuration message to obtain the business rules corresponding to the business logic.

[0058] Specifically, the configuration message separates business logic from the code, forming independent business rules. That is, after the vehicle parses the configuration message, it identifies factors, corresponding to the meta-events, operators and parameters of the identification factors, decision factors, corresponding to the meta-facts, operators and parameters of the decision factors, and execution factors, corresponding to the meta-transactions and parameters of the execution factors, to control the relevant components in the vehicle to perform corresponding actions.

[0059] Step S30: Execute business rules, including: based on the execution factor, execute the corresponding transaction in the scenario model.

[0060] In one embodiment of the present invention, the configuration message is parsed to obtain business rules corresponding to the business logic, including: registering a listening identification factor and performing meta-scenario identification in combination with a first operator; performing conflict identification on meta-scenarios and / or meta-events, and making scenario decisions to obtain decision factors and execution factors.

[0061] Specifically, within a single scenario, multiple meta-scenarios may exist simultaneously, such as whether a vehicle is in traffic congestion or the air quality inside the vehicle. Therefore, when multiple meta-scenarios exist, conflict identification is necessary. For example, this can be achieved by setting priorities for meta-scenarios to determine which meta-transaction corresponds to which meta-scenarios is executed first. Similarly, when multiple meta-events exist, conflict identification is also required to determine which meta-transaction within the same meta-scenarios is executed first. Thus, when multiple meta-scenarios exist, the vehicle undergoes conflict identification to determine the execution order of the meta-transactions corresponding to each meta-scenarios.

[0062] In a specific embodiment, the meta-scenario includes, for example, whether the vehicle is in traffic congestion and the air quality inside the vehicle. Corresponding recognition factors include, for example, the vehicle's navigation system and air quality detection sensors. Corresponding decision factors include, for example, the vehicle's air conditioning status and the closed / closed state of the windows. Corresponding execution factors include, for example, turning the vehicle's air conditioning on or off in external circulation mode and opening or closing the windows. If the priority of whether the vehicle is in traffic congestion is lower than the priority of the air quality inside the vehicle, then when the vehicle is in traffic congestion and the air quality index is greater than a preset value, the decision factor is triggered first to detect the closed / closed state of the windows. When the windows are open, the corresponding execution factor is to close the windows.

[0063] In one embodiment of the present invention, before registering the monitoring and identification factor, the method further includes: connecting and integrating the basic atomic capabilities of the scenario, which include meta-events, meta-facts, and meta-transactions.

[0064] Specifically, the integration and connectivity of basic atomic capabilities within the scenario includes ensuring that the corresponding components in the vehicle, representing meta-events, meta-facts, and meta-transactions, have the capability to be enabled. In a specific embodiment, a meta-event might be the vehicle's navigation system, a meta-fact might be the vehicle's air conditioning status, and a meta-transaction might be turning the vehicle's air conditioning on or off in its external circulation mode. Therefore, before the vehicle parses the configuration message, it should be ensured that the vehicle's navigation system and air conditioning are in a software-enabled state so that the vehicle's software system can be upgraded upon receiving the configuration message.

[0065] According to the method for dynamically configuring business logic according to embodiments of the present invention, the vehicle upgrades its software system by receiving configuration messages from the cloud platform. This allows for rapid response to changes in requirements, eliminates the need for software developers to perform repetitive and tedious development work, and enables non-technical personnel to participate in editing and maintaining the system's business rules. Furthermore, it eliminates the need for OTA upgrades and iterations, thereby reducing the cost and risk of software system upgrades.

[0066] A further embodiment of the present invention discloses a cloud platform, including a receiving module and a configuration module. The receiving module is used to receive configuration information; the configuration module is used to dynamically configure a scenario decision tree according to the configuration information, generate a configuration message, and send it to the vehicle; wherein the scenario decision tree is obtained by scenario-based application of business logic through a preset event library.

[0067] In one embodiment of the present invention, the scenario decision tree is obtained by scenario-based business logic through a preset event library, including: determining multiple meta-scenarios based on the business logic; determining identification factors and scenario models corresponding to the meta-scenarios; determining decision factors and execution factors corresponding to the scenario models; and constructing a scenario decision tree based on the meta-scenarios, identification factors, scenario models, decision factors, and execution factors.

[0068] In one embodiment of the present invention, the identification factor includes a meta-event, a first operator, and a first parameter; the decision factor includes a meta-fact, a second operator, and a second parameter; and the execution factor includes a meta-transaction and a third parameter.

[0069] In one embodiment of the present invention, the scenario decision tree is dynamically configured according to the configuration information to generate a configuration message, including: writing the configuration information of the identification factors corresponding to multiple meta-scenes, as well as the configuration information of the decision factors and the configuration information of the execution factors corresponding to the scenario model into the configuration message.

[0070] In one embodiment of the present invention, the first parameter, the second parameter, and the third parameter are determined according to a data mining algorithm.

[0071] It should be noted that the specific implementation of the cloud platform in this embodiment of the invention for dynamically configuring business logic is similar to the specific implementation of the method for dynamically configuring business logic on the cloud platform in this embodiment of the invention. For details, please refer to the description in the method section. To reduce redundancy, it will not be repeated here.

[0072] According to the cloud platform of the present invention, by receiving configuration information and dynamically configuring the scenario decision tree set on the cloud platform, a configuration message is obtained and sent to the vehicle to upgrade the software system in the vehicle. This can quickly respond to changes in requirements, eliminate the need for software developers to do repetitive and tedious development work, and enable non-technical personnel to participate in editing and maintaining the system's business rules. At the same time, it eliminates the need for OTA upgrades and iterations, thereby reducing the cost and risk of software system upgrades.

[0073] A further embodiment of the present invention discloses a vehicle, comprising: a receiving module, a parsing module, and an execution module. The receiving module is used to receive configuration messages issued by a cloud platform, wherein the configuration messages are obtained by the cloud platform dynamically configuring a scenario decision tree, and the scenario decision tree is obtained by scenario-based application of business logic through a preset event library; the parsing module is used to parse the configuration messages to obtain business rules corresponding to the business logic; and the execution module is used to execute the business rules.

[0074] In one embodiment of the present invention, the configuration message is parsed to obtain business rules corresponding to the business logic, including: registering a listening identification factor and performing meta-scenario identification in combination with a first operator; performing conflict identification on meta-scenarios and / or meta-events, and making scenario decisions to obtain decision factors and execution factors.

[0075] In one embodiment of the present invention, executing business rules includes: executing the corresponding transaction in the scenario model based on the execution factor.

[0076] In one embodiment of the present invention, before registering the monitoring and identification factor, the method further includes: connecting and integrating the basic atomic capabilities of the scenario, which include meta-events, meta-facts, and meta-transactions.

[0077] It should be noted that the specific implementation of the vehicle dynamic configuration business logic in the embodiments of the present invention is similar to the specific implementation of the method for dynamic configuration business logic of the vehicle in the embodiments of the present invention. For details, please refer to the description in the method section. In order to reduce redundancy, it will not be repeated here.

[0078] According to the vehicle of the present invention, the vehicle upgrades the software system in the vehicle by receiving configuration messages issued by the cloud platform, which can quickly respond to changes in requirements, eliminate the need for software developers to do repetitive and tedious development work, enable non-technical personnel to participate in editing and maintaining the business rules of the system, and eliminate the need for OTA upgrades and iterations, thereby reducing the cost and risk of software system upgrades.

[0079] A further embodiment of the present invention discloses a computer-readable storage medium storing a program for dynamically configuring business logic. When the program for dynamically configuring business logic is executed by a processor, it implements the method for dynamically configuring business logic as described in any of the above embodiments, or implements the method for dynamically configuring business logic as described in any of the above embodiments.

[0080] According to an embodiment of the present invention, when a program storing dynamically configured business logic on a computer-readable storage medium is executed by a processor, it dynamically configures a scenario decision tree set on a cloud platform to obtain a configuration message, which is then sent to the vehicle to upgrade the software system in the vehicle. This allows for rapid response to changes in requirements, eliminates the need for software developers to perform repetitive and tedious development work, and enables non-technical personnel to participate in editing and maintaining the system's business rules. Furthermore, it eliminates the need for OTA upgrades and iterations, thereby reducing the cost and risk of software system upgrades.

[0081] In the description of this specification, references to terms such as "one embodiment," "some embodiments," "illustrative embodiment," "example," "specific example," or "some examples," etc., refer to specific features, structures, materials, or characteristics described in connection with that embodiment or example, which are included in at least one embodiment or example of the present invention. In this specification, the illustrative expressions of the above terms do not necessarily refer to the same embodiment or example.

[0082] Although embodiments of the invention have been shown and described, those skilled in the art will understand that various changes, modifications, substitutions and alterations can be made to these embodiments without departing from the principles and spirit of the invention, the scope of which is defined by the claims and their equivalents.

Claims

1. A method for dynamically configuring business logic, characterized in that, Used for cloud platforms, including: Receive configuration information; The scenario decision tree is dynamically configured based on the configuration information, a configuration message is generated, and sent to the vehicle; wherein, the scenario decision tree is obtained by scenario-based application of business logic through a preset event library; The step of dynamically configuring the scene decision tree based on the configuration information and generating a configuration message includes: The configuration information of the identification factors corresponding to multiple meta-scenes, as well as the configuration information of the decision factors and execution factors corresponding to the scene model, are written into the configuration message. The scenario decision tree is obtained by contextualizing business logic through a preset event library, including: Based on the business logic and the preset event library, multiple meta-scenarios are determined; Determine the identification factors and scene model corresponding to the meta-scene, wherein the identification factors include meta-events, a first operator, and a first parameter; Determine the decision factors and execution factors corresponding to the scenario model, wherein the decision factors include meta-facts, a second operator, and a second parameter, and the execution factors include meta-transactions and a third parameter; The scenario decision tree is constructed based on the meta-scenario, the identification factor, the scenario model, the decision factor, and the execution factor.

2. The method for dynamically configuring business logic according to claim 1, characterized in that, The configuration messages can take the form of Domain Definition Language (DSL), Decision Table (XSL), or Rule Flow (JBPM).

3. The method for dynamically configuring business logic according to claim 1, characterized in that, The first parameter, the second parameter, and the third parameter are determined according to a data mining algorithm.

4. A method for dynamically configuring business logic, characterized in that, For use in vehicles, including: Receive configuration messages sent by the cloud platform, wherein the configuration messages are obtained by the cloud platform dynamically configuring the scenario decision tree according to the configuration information, and the scenario decision tree is obtained by scenario-based business logic through a preset event library; Parse the configuration message to obtain the business rules corresponding to the business logic; Execute the aforementioned business rules; The configuration message is obtained by the cloud platform dynamically configuring the scenario decision tree based on configuration information, and includes: The configuration information of the identification factors corresponding to multiple meta-scenes, as well as the configuration information of the decision factors and execution factors corresponding to the scene model, are written into the configuration message. The scenario decision tree is obtained by contextualizing business logic through a preset event library, including: Based on the business logic and the preset event library, multiple meta-scenarios are determined; Determine the identification factors and scene model corresponding to the meta-scene, wherein the identification factors include meta-events, a first operator, and a first parameter; Determine the decision factors and execution factors corresponding to the scenario model, wherein the decision factors include meta-facts, a second operator, and a second parameter, and the execution factors include meta-transactions and a third parameter; The scenario decision tree is constructed based on the meta-scenario, the identification factor, the scenario model, the decision factor, and the execution factor.

5. The method for dynamically configuring business logic according to claim 4, characterized in that, Parse the configuration message to obtain the business rules corresponding to the business logic, including: Register the monitoring and identification factors, and combine them with the first operator to perform meta-scene identification; Conflict identification is performed on the aforementioned meta-scenes and / or meta-events, and scenario decisions are made to obtain decision factors and execution factors.

6. The method for dynamically configuring business logic according to claim 5, characterized in that, Executing the business rules includes: Based on the execution factor, the corresponding transaction in the execution scenario model is executed.

7. The method for dynamically configuring business logic according to claim 5, characterized in that, Before registering the monitoring and identification factors, the following is also included: To connect and integrate the basic atomic capabilities of the scenario, which include meta-events, meta-facts, and meta-transactions.

8. A cloud platform that applies a method for dynamically configuring business logic, characterized in that, include: The receiving module is used to receive configuration information; The configuration module is used to dynamically configure the scenario decision tree according to the configuration information, generate configuration messages, and send them to the vehicle; wherein, the scenario decision tree is obtained by scenario-based application of business logic through a preset event library; The step of dynamically configuring the scene decision tree based on the configuration information and generating a configuration message includes: The configuration information of the identification factors corresponding to multiple meta-scenes, as well as the configuration information of the decision factors and execution factors corresponding to the scene model, are written into the configuration message. The scenario decision tree is obtained by contextualizing business logic through a preset event library, including: Based on the business logic and the preset event library, multiple meta-scenarios are determined; Determine the identification factors and scene model corresponding to the meta-scene, wherein the identification factors include meta-events, a first operator, and a first parameter; Determine the decision factors and execution factors corresponding to the scenario model, wherein the decision factors include meta-facts, a second operator, and a second parameter, and the execution factors include meta-transactions and a third parameter; The scenario decision tree is constructed based on the meta-scenario, the identification factor, the scenario model, the decision factor, and the execution factor.

9. A vehicle employing a method for dynamically configuring business logic, characterized in that, include: The receiving module is used to receive configuration messages sent by the cloud platform, wherein the configuration messages are obtained by the cloud platform through dynamic configuration of the scenario decision tree, and the scenario decision tree is obtained by scenario-based application of business logic through a preset event library. The parsing module is used to parse configuration messages to obtain business rules corresponding to the business logic. The execution module is used to execute the business rules; The configuration message is obtained by the cloud platform dynamically configuring the scenario decision tree based on configuration information, and includes: The configuration information of the identification factors corresponding to multiple meta-scenes, as well as the configuration information of the decision factors and execution factors corresponding to the scene model, are written into the configuration message. The scenario decision tree is obtained by contextualizing business logic through a preset event library, including: Based on the business logic and the preset event library, multiple meta-scenarios are determined; Determine the identification factors and scene model corresponding to the meta-scene, wherein the identification factors include meta-events, a first operator, and a first parameter; Determine the decision factors and execution factors corresponding to the scenario model, wherein the decision factors include meta-facts, a second operator, and a second parameter, and the execution factors include meta-transactions and a third parameter; The scenario decision tree is constructed based on the meta-scenario, the identification factor, the scenario model, the decision factor, and the execution factor.

10. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores a program for dynamically configuring business logic. When the program is executed by a processor, it implements the method for dynamically configuring business logic as described in any one of claims 1-3, or implements the method for dynamically configuring business logic as described in any one of claims 4-7.