A terminal function update method based on AI smart assistant scene action protocol

Through the scene action protocol based on AI smart assistant, the problem of fixed functions of traditional automobile software is solved, flexible update of functions and diversified needs are realized, the upgrade process is simplified, the cost is reduced, and the in-car interactive experience is improved.

CN114647429BActive Publication Date: 2024-09-17CHONGQING CHANGAN TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202210270136.9
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-03-18
Publication Date
2024-09-17
Estimated Expiration
2042-03-18

AI Technical Summary

Technical Problem

Traditional automotive software functions are fixed in the design stage and cannot be flexibly expanded in subsequent stages to meet users' diverse car needs. The OTA upgrade process is cumbersome and wastes human resources.

Method used

Using the scene action protocol based on AI smart assistant, through cloud definition and terminal analysis, flexible updates of functions, including new or updated functions, are adopted. The protocol specification of JSON file format is adopted, and event nodes, action nodes and circulation lines form a tree structure. , the cloud verifies and sends it to the terminal for execution.

Benefits of technology

It achieves flexible expansion of functions, meets the diverse needs of users, simplifies the update process, reduces costs, and improves the interactive experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114647429B
    Figure CN114647429B
Patent Text Reader

Abstract

The present invention discloses a terminal function update method based on an AI smart assistant scene action protocol, the steps are as follows: 1) define a scene action protocol; the scene action protocol refers to a communication protocol between the cloud and the terminal regarding scene actions; 2) the cloud system draws the scene action in the user management interface; according to the protocol, the scene is composed of an event node, multiple action nodes and a flow line, and the entire scene is a tree structure; 3) the cloud engine performs scene verification, and if the verification is successful, proceed to step 4); 4) the cloud engine parses the scene action data into a protocol and sends it to the terminal, which is parsed and executed by the terminal's protocol parsing engine, thereby realizing terminal function updates. This method can flexibly and simply expand vehicle functions, including adding or updating functions, and is low-cost.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to vehicle networking technology, and specifically to a terminal function update method based on an AI smart assistant scenario action protocol, which is a protocol specification and parsing technology for defining the behavior of a terminal in various scenarios in the cloud, and belongs to the field of vehicle networking technology. Background Art

[0002] In recent years, in the wave of software-defined cars, automobile manufacturers have entered the stage of intelligent transformation, with rapid development of Internet of Vehicles technology and greatly improved performance of vehicle hardware. In the traditional automobile development process, the software functions of the car are defined in the design stage, and it is almost impossible to change the functions later. If the administrator wants to add new software functions, such as abnormal weather reminders or hot information reminders, when the hardware conditions are met, the traditional method can only be upgraded through OTA. Not only can it not meet the current users' diversified car usage scenarios and their demand for intelligence, but the OTA upgrade process is also cumbersome, and the testing work is also a waste of human resources. Summary of the invention

[0003] In view of the above-mentioned deficiencies in the prior art, the object of the present invention is to provide a terminal function update method based on the AI ​​smart assistant scene action protocol. This method can flexibly and simply expand vehicle functions, including adding or updating functions, and has low cost.

[0004] The technical solution of the present invention is achieved in this way:

[0005] A terminal function update method based on AI smart assistant scene action protocol, the steps are as follows:

[0006] 1) Define the scene action protocol; the scene action protocol refers to the communication protocol between the cloud and the terminal regarding scene actions; the protocol stipulates that each scene is triggered by a specific event and then a series of actions are performed. The protocol content includes an event module and multiple action modules, as well as multiple flow conditions;

[0007] 2) The cloud system draws the scene action on the user management interface; according to the protocol, the scene consists of an event node, multiple action nodes and flow lines, and the entire scene is a tree structure;

[0008] 3) The cloud engine performs scene verification. If the verification is successful, proceed to step 4);

[0009] 4) The cloud engine parses the scene action data into a protocol and sends it to the terminal, which is then parsed and executed by the terminal's protocol parsing engine to update the terminal's functions.

[0010] In step 2), the event node includes node id, node type, node name, event code, event priority and event triggering strategy; a protocol has only one event node; on the same terminal, the event codes of all protocols are different, and the terminal triggers a certain protocol through the event code.

[0011] In step 2), the action node includes node ID, node type, node name, action code and action parameters; a protocol includes one or more action nodes; each type of action has a certain action code, which is jointly determined by the terminal and the cloud. The action parameters of each type of action are different, and the action parameters have extended functions.

[0012] In step 2), the flow line includes the flow line id, the start node id, the next action node id and the flow condition; the terminal protocol parsing engine controls the execution order of the nodes according to the start node id, the next action node id and the flow condition of the flow line.

[0013] Step 2) When drawing scene actions, draw the scene in the cloud management page in the form of a flowchart. Each scene starts with an event node. An event node corresponds to different flow conditions, leading to multiple action nodes. Each flow line must be configured with corresponding flow conditions, and the scene and action nodes also need to be configured with relevant parameters; the entire scene flowchart ends with the end module.

[0014] The scene verification in step 3) includes: checking whether nodes are missing, whether flow lines are missing, whether there are circles and loops, and whether the data is normal.

[0015] In step 4), the scene action data is parsed into a protocol, specifically, the event node is parsed into an eventNode object, the action node is parsed into an actionNode object, the flow line is parsed into a trs object, and all objects are integrated into a JSON file according to the protocol specification.

[0016] Compared with the prior art, the present invention has the following beneficial effects:

[0017] In response to the need to add or update new functions that are not related to hardware in the terminal, the present invention formulates the scenario-end-cloud protocol specification, creates a new function protocol in the cloud and sends it to the terminal, which is parsed and executed by the terminal's smart assistant, thereby realizing the terminal function update. The present invention is implemented by the cloud configuration protocol method, which is more flexible and effective.

[0018] The present invention can meet the diversified car use needs of users, flexibly and simply expand the software functions of existing cars, add virtual image configuration in the protocol, and the in-car virtual image can display different actions according to different scenes, making the interaction in the car more vivid and interesting and easy to implement. BRIEF DESCRIPTION OF THE DRAWINGS

[0019] Figure 1 It is the overall flow chart of the present invention.

[0020] Figure 2 This is a scene verification flow chart of the present invention. DETAILED DESCRIPTION

[0021] The specific embodiments of the present invention are described in detail below with reference to the accompanying drawings.

[0022] The present invention will be further described below in conjunction with the accompanying drawings:

[0023] The terminal function update method based on the AI ​​smart assistant scene action protocol proposed in this invention can create scenes and send them to the vehicle terminal in real time. The specific steps are as follows. Please also refer to Figure 1 .

[0024] Step 1: Define the scene action protocol. The protocol standard is as follows:

[0025] ① The protocol format is JSON. The protocol content consists of a list of nodes and a list of trs (transfer lines). Nodes mainly contain triggering events of the strategy and a series of actions, and trs contain transfer lines and transfer conditions. The protocol connects all discrete nodes through trs to form a coherent action behavior.

[0026] ② There are two types of nodes: event nodes and action nodes. Each protocol contains one event node and multiple action nodes. The entire scene starts with an event node, and a series of actions are triggered by events.

[0027] ③The event node must contain the node id (id), node type (nodeType), node name (name), event code (eventCode), event priority (prior) and event triggering strategy (policy). The nodeType value of the event node is event, and there is only one event node for a protocol. On the same terminal, the event codes of all protocols are not allowed to be repeated, and the terminal triggers a certain protocol through the event code. All extended fields of the event node are placed in the policy object, such as the maximum number of executions (max), etc. Developers can extend the policy object according to actual needs.

[0028] ④The action node must contain the node id (id), node type (nodeType), node name (name), action code (actiontype), and action parameters (attr). The node type (nodeType) of the action node is action. A protocol can contain multiple action nodes. Each type of action has a certain action code, which is determined by the terminal and the cloud. The action parameters (attr) of each type of action are different, and developers can expand attr as needed. The non-jump action module needs to configure the AI ​​image action in this scene to make the terminal interaction more vivid.

[0029] ⑤trs contains all flow line objects. The flow line contains the flow line id (id), the starting node id (from), the next action node id (to) and the flow condition (condition). The terminal's protocol parsing engine controls the order of nodes execution based on the starting node id, the next action node id and the flow condition of trs. The flow condition value format is a conditional expression.

[0030] Step 2: The cloud system draws the scene action in the user management interface. The administrator draws the scene in the cloud management page in the form of a flowchart. Each scene starts with an event (server reminder). An event can also correspond to different flow conditions and lead to multiple actions. At this time, each flow line must be configured with the corresponding flow conditions, and the scene and action nodes also need to be configured with relevant parameters. The entire scene flowchart ends with the end module.

[0031] Step 3: The cloud engine performs scene verification. Figure 2 First, check whether there are any missing nodes, mainly including checking whether there is one and only one event node and at least one action node. Secondly, check whether the flow line is missing. The event node must have an out-degree, the action node must have an in-degree and an out-degree, the end node can only have an in-degree, and there can only be one flow line between two nodes. Third, check whether there are circles in the scene flow chart. All flow line arrows point in the same direction. The entire graph is a tree-like structure. There must be no loops or circles, otherwise the system will run in a loop without stopping. Fourth, verify whether the data is legal, including checking the rationality of the required parameters in the event node and the action node. When the out-degree of a node is greater than one, each flow line derived from the node must be added with a flow condition.

[0032] Step 4: The cloud engine parses the scene action data into protocols, parses the event nodes into eventNode objects, parses the action nodes into actionNode objects, parses the flow lines into trs objects, and integrates all objects into a JSON file according to the protocol specifications. The cloud then initiates a request to notify the terminal of a new scene protocol, which is then parsed and executed by the terminal's protocol parsing engine (i.e., AI smart assistant) to update the terminal functions.

[0033] Finally, it should be noted that the above examples of the present invention are merely examples for illustrating the present invention, and are not intended to limit the embodiments of the present invention. Although the applicant has described the present invention in detail with reference to the preferred embodiments, for those of ordinary skill in the art, other different forms of changes and modifications can be made based on the above description. It is impossible to list all the embodiments here. Any obvious changes or modifications derived from the technical solution of the present invention are still within the scope of protection of the present invention.

Claims

1. A terminal function update method based on AI smart assistant scene action protocol, characterized in that: The steps are as follows, 1) Define the scene action protocol; the scene action protocol refers to the communication protocol between the cloud and the terminal regarding scene actions; the scene action protocol stipulates that each scene is triggered by a specific event and then a series of actions are performed. The scene action protocol content includes an event module and multiple action modules, as well as multiple flow conditions; 2) The cloud system draws scene actions on the user management interface; According to the scene action protocol, a scene consists of an event node, multiple action nodes, and flow lines, and the entire scene is a tree structure; 3) The cloud engine performs scene verification. If the verification is successful, proceed to step 4); 4) The cloud engine parses the scene action data into a protocol and sends it to the terminal, which is then parsed and executed by the terminal's protocol parsing engine, thereby updating the terminal's functions. The protocol parsing engine is the AI ​​smart assistant. In step 2), the event node includes node id, node type, node name, event code, event priority and event triggering strategy; A protocol has only one event node. On the same terminal, the event codes of all protocols are different. The terminal triggers a certain protocol through the event code. In step 2), the action node includes node id, node type, node name, action code and action parameters; a protocol includes one or more action nodes; each type of action has a certain action code, which is jointly determined by the terminal and the cloud. The action parameters of each type of action are different, and the action parameters have extended functions; In step 2), the flow line includes the flow line id, the start node id, the next action node id and the flow condition; the terminal protocol parsing engine controls the execution order of the nodes according to the start node id, the next action node id and the flow condition of the flow line.

2. According to claim 1, a terminal function update method based on AI smart assistant scene action protocol is characterized in that: Step 2) When drawing scene actions, draw the scene in the cloud management page in the form of a flowchart. Each scene starts with an event node. An event node corresponds to different flow conditions, leading to multiple action nodes. Each flow line must be configured with corresponding flow conditions, and the scene and action nodes also need to be configured with relevant parameters; the entire scene flowchart ends with the end module.

3. According to claim 1, a terminal function update method based on AI intelligent assistant scene action protocol is characterized in that: The scene verification in step 3) includes: checking whether nodes are missing, whether flow lines are missing, whether there are circles and loops, and whether the data is normal.

4. According to claim 1, a terminal function update method based on AI intelligent assistant scene action protocol is characterized in that: In step 4), the scene action data is parsed into a protocol, specifically, the event node is parsed into an eventNode object, the action node is parsed into an actionNode object, the flow line is parsed into a trs object, and all objects are integrated into a JSON file according to the protocol specification.