Method, apparatus, medium and device for updating kanzi data

By locating the target node within kanzi and directly setting the update value attribute, the problem of low data update efficiency in existing kanzi technologies is solved, achieving more efficient data updates.

CN115640425BActive Publication Date: 2026-04-14XINGHE ZHILIAN AUTOMOBILE TECH CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
XINGHE ZHILIAN AUTOMOBILE TECH CO LTD
Filing Date
2022-09-26
Publication Date
2026-04-14

AI Technical Summary

Technical Problem

In existing technologies, Kanzi data updates can only be performed through pre-binding, which cannot achieve more efficient data updates.

Method used

By locating the target node within kanzi and directly setting the updated value attribute from external data into the node attribute of the target node, more efficient data updates are achieved.

Benefits of technology

It achieves high efficiency in kanzi data updates by directly updating node attributes, thereby improving the efficiency of data updates.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115640425B_ABST
    Figure CN115640425B_ABST
Patent Text Reader

Abstract

The application provides a kanz i data updating method, comprising: obtaining external data from an external data source and analyzing data attribute definitions of the external data; setting different nodes in the kanz i; wherein the nodes comprise node attributes and component structures, the node attributes determine part of internal attributes of the kanz i, and the component structures determine positions of the nodes; importing component plug-ins corresponding to the data attribute definitions into the kanz i, so that the component plug-ins locate each node in the kanz i according to the component structures of the nodes and find out nodes with node attributes similar to the data attribute definitions; obtaining update value attributes according to differences between the data attribute definitions of the external data and the node attributes of the found nodes; and updating the node attributes of the found nodes according to the update value attributes. The embodiment of the application realizes more efficient kanz i data updating by directly updating the node attributes of the nodes.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of computer technology, and in particular to a kanzi data update method, apparatus, medium, and device. Background Technology

[0002] In existing technologies, Kanzi's data updates typically involve pre-binding an external data source with Kanzi's internal DataSource data source. When external data is obtained, the DataSource plugin sends the external data to the pre-bound DataSource data source, thereby updating Kanzi's internal properties.

[0003] It is evident that in existing technologies, after acquiring external data, kanzi data updates can only be achieved through pre-binding, rather than by directly updating the internal node attributes of kanzi to achieve more efficient kanzi data updates. Summary of the Invention

[0004] This invention proposes a Kanzi data update method, apparatus, medium, and device. By using component plug-ins to locate target nodes inside Kanzi and directly setting update value attributes from external data into the node attributes of the target node, more efficient Kanzi data updates are achieved.

[0005] This invention provides a kanzi data update method, including:

[0006] Obtain external data from an external data source and analyze the data attribute definitions of the external data;

[0007] Different nodes are set up inside Kanzi; wherein, the node includes node attributes and composition structure, the node attributes determine some of the internal attributes of Kanzi, and the composition structure determines the position of the node;

[0008] Import the component plugin corresponding to the data attribute definition into kanzi, so that the component plugin can locate each node in kanzi according to the component structure of the node, and find the node whose node attributes are similar to the data attribute definition;

[0009] Based on the difference between the data attribute definition of the external data and the node attributes of the found nodes, the updated value attribute is obtained;

[0010] The node attributes of the found nodes are updated based on the updated value attribute.

[0011] Furthermore, when the external data source is determined to be an existing data source based on the data attribute definition, a first attribute plugin is imported into Kanzi, so that the nodes inside Kanzi apply the node attributes defined by the first attribute plugin; when the external data source is determined to be a new data source based on the data attribute definition, a new node attribute definition is added to the first attribute plugin according to the data attribute definition and recompiled to obtain a second attribute plugin, and the second attribute plugin is imported into Kanzi, so that the nodes inside Kanzi apply the node attributes defined by the second attribute plugin.

[0012] This invention provides a kanzi data update device, comprising:

[0013] The data acquisition unit is used to acquire external data from external data sources and analyze the data attribute definitions of the external data;

[0014] A node setting unit is used to set different nodes within kanzi; wherein, the node includes node attributes and composition structure, the node attributes determine a portion of the internal attributes of kanzi, and the composition structure determines the position of the node;

[0015] The data query unit is used to import the component plugin corresponding to the data attribute definition into kanzi, so that the component plugin can locate each node in kanzi according to the component structure of the node, and find the node whose node attributes are similar to the data attribute definition.

[0016] The data processing unit is used to obtain updated value attributes based on the difference between the data attribute definition of the external data and the node attributes of the found nodes;

[0017] The data update unit is used to update the node attributes of the found nodes according to the update value attribute.

[0018] Furthermore, it also includes an attribute plugin import unit, used to import a first attribute plugin into kanzi when the external data source is determined to be an existing data source according to the data attribute definition, so that the nodes inside kanzi apply the node attributes defined by the first attribute plugin; when the external data source is determined to be a new data source according to the data attribute definition, it adds a new node attribute definition to the first attribute plugin according to the data attribute definition and recompiles it to obtain a second attribute plugin, imports the second attribute plugin into kanzi, so that the nodes inside kanzi apply the node attributes defined by the second attribute plugin.

[0019] This invention also provides a computer-readable storage medium storing a computer program thereon, which, when executed by a processor, implements the steps of the above-described kanzi data update method.

[0020] This invention also provides a computer device, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the program to implement the steps of the above-described kanzi data update method.

[0021] The present invention has the following beneficial effects:

[0022] This invention analyzes the data attribute definitions of acquired external data and imports corresponding component plugins into Kanzi. These component plugins, based on the pre-defined node structure within Kanzi, locate each node and identify those whose attributes closely match the data attribute definitions. Then, based on the differences between the identified node attributes and the data attribute definitions, the component plugins update the node attributes of the identified nodes. This invention achieves more efficient Kanzi data updates by using component plugins to locate nodes whose attributes need updating and directly updating those attributes. Attached Figure Description

[0023] Figure 1 This is a flowchart illustrating an embodiment of the kanzi data update method provided by the present invention;

[0024] Figure 2 This is a schematic diagram of an embodiment of the kanzi data update device provided by the present invention. Detailed Implementation

[0025] The technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of the present invention, and not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of the present invention.

[0026] See Figure 1 This is a flowchart illustrating an embodiment of the Kanzi data update method provided by the present invention. The method includes steps S11 to S15, as follows:

[0027] S11, Obtain external data from an external data source and analyze the data attribute definitions of the external data;

[0028] S12, different nodes are set inside the kanzi; wherein, the node includes node attributes and composition structure, the node attributes determine a part of the internal attributes of the kanzi, and the composition structure determines the position of the node;

[0029] Specifically, multiple different nodes are set up inside kanzi in advance. Each node includes node attributes and composition structure. The node attributes of each node determine a part of the internal attributes of kanzi, and the composition structure determines the position of the node inside kanzi. Therefore, modifying the node attributes means modifying the internal attributes of kanzi accordingly.

[0030] S13, import the component plugin corresponding to the data attribute definition into kanzi, so that the component plugin locates each node in kanzi according to the component structure of the node, and finds the node whose node attributes are similar to the data attribute definition;

[0031] Specifically, after importing the component plugin corresponding to the data attribute definition into Kanzi, the component plugin locates the nodes within Kanzi based on the node's composition structure, and finds nodes whose attributes are similar to the data attribute definition based on the data attribute definition of the external data obtained from the analysis. The role of the component plugin is to connect "external data - nodes" based on the similarity between the data attribute definition of the external data and the node attributes, rather than binding each external data source to a node inside Kanzi one by one.

[0032] S14, Based on the difference between the data attribute definition of the external data and the node attributes of the found nodes, obtain the updated value attribute;

[0033] S15, Update the node attributes of the found nodes according to the updated value attributes.

[0034] Specifically, the node attributes of the found nodes are updated according to the updated value attribute; since modifying the node attributes means modifying the internal attributes of kanzi accordingly, updating the node attributes of the nodes means updating the internal attributes of kanzi according to the received external data.

[0035] Furthermore, after step S11 above, the method further includes: when the external data source is determined to be an existing data source according to the data attribute definition, importing a first attribute plugin into Kanzi so that the nodes inside Kanzi apply the node attributes defined by the first attribute plugin; when the external data source is determined to be a new data source according to the data attribute definition, adding new node attribute definitions to the first attribute plugin according to the data attribute definition and recompiling to obtain a second attribute plugin, importing the second attribute plugin into Kanzi so that the nodes inside Kanzi apply the node attributes defined by the second attribute plugin.

[0036] Specifically, the external data source is determined to be either existing or new based on the data attribute definitions of the external data. When the external data is issued from an existing data source, the node attributes defined by the first attribute plugin include all node attributes similar to the data attribute definitions of the external data. This means that after the nodes within Kanzi apply the node attributes defined by the first attribute plugin, the node attributes are either integrated into one node or distributed across multiple different nodes. Therefore, there are nodes within Kanzi whose node attributes are similar to the aforementioned data attribute definitions. However, when the external data is issued from a new external data source, node attributes similar to the data attribute definitions of the external data are not necessarily included in the node attributes defined by the first attribute plugin. After adding new node attribute definitions to the first attribute plugin, the second attribute plugin is recompiled and imported into Kanzi. This causes the nodes within Kanzi to apply the node attributes defined by the second attribute plugin, thereby adding some nodes with attributes similar to the data attribute definitions. These new nodes are obtained by adding some node attributes to existing nodes or by setting a new node in Kanzi. Therefore, there are nodes within Kanzi with attributes similar to the data attribute definitions. Thus, when adding new external data sources, only the plugin needs to be modified and then imported into Kanzi for subsequent data update steps.

[0037] Accordingly, embodiments of the present invention also provide a kanzi data update apparatus, which can implement all the processes of the kanzi data update method provided in the above embodiments.

[0038] See Figure 2 This is a schematic diagram of an embodiment of the kanzi data update device provided by the present invention.

[0039] An embodiment of the present invention provides a kanzi data update device, comprising:

[0040] The data acquisition unit 101 is used to acquire external data from an external data source and analyze the data attribute definitions of the external data;

[0041] The node setting unit 102 is used to set different nodes within the kanzi; wherein, the node includes node attributes and composition structure, the node attributes determine a part of the internal attributes of the kanzi, and the composition structure determines the position of the node;

[0042] The data query unit 103 is used to import the component plugin corresponding to the data attribute definition into kanzi, so that the component plugin locates each node in kanzi according to the component structure of the node, and finds the node whose node attributes are similar to the data attribute definition.

[0043] The data processing unit 104 is used to obtain the updated value attribute based on the difference between the data attribute definition of the external data and the node attribute of the found node;

[0044] The data update unit 105 is used to update the node attributes of the found nodes according to the update value attribute.

[0045] Furthermore, it also includes an attribute plugin import unit, used to import a first attribute plugin into kanzi when the external data source is determined to be an existing data source according to the data attribute definition, so that the nodes inside kanzi apply the node attributes defined by the first attribute plugin; when the external data source is determined to be a new data source according to the data attribute definition, it adds a new node attribute definition to the first attribute plugin according to the data attribute definition and recompiles it to obtain a second attribute plugin, imports the second attribute plugin into kanzi, so that the nodes inside kanzi apply the node attributes defined by the second attribute plugin.

[0046] Furthermore, embodiments of the present invention also provide a computer-readable storage medium storing a computer program thereon, which, when executed by a processor, implements the steps of the above-described kanzi data update method.

[0047] Furthermore, embodiments of the present invention also provide a computer device, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the program to implement the steps of the above-described kanzi data update method.

[0048] Implementing the embodiments of the present invention has the following beneficial effects:

[0049] This invention analyzes the data attribute definitions of acquired external data and imports corresponding component plugins into Kanzi. These component plugins, based on the pre-defined node structure within Kanzi, locate each node and identify those whose attributes closely match the data attribute definitions. Then, based on the differences between the identified node attributes and the data attribute definitions, the component plugins update the node attributes of the identified nodes. This invention achieves more efficient Kanzi data updates by using component plugins to locate nodes whose attributes need updating and directly updating those attributes.

[0050] Through the above description of the embodiments, those skilled in the art can clearly understand that the present invention can be implemented by means of software plus necessary hardware platforms, and of course, it can also be implemented entirely by hardware. Based on this understanding, all or part of the technical solution of the present invention that contributes to the background art can be embodied in the form of a software product. This computer software product can be stored in a storage medium, such as ROM / RAM, magnetic disk, optical disk, etc., and includes several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute the methods described in various embodiments or some parts of the embodiments of the present invention.

[0051] The above description represents the preferred embodiments of the present invention. It should be noted that those skilled in the art can make various improvements and modifications without departing from the principles of the present invention, and these improvements and modifications are also considered to be within the scope of protection of the present invention.

Claims

1. A kanzi data update method, characterized in that, include: Obtain external data from an external data source and analyze the data attribute definitions of the external data; Different nodes are set up inside Kanzi; wherein, the node includes node attributes and composition structure, the node attributes determine some of the internal attributes of Kanzi, and the composition structure determines the position of the node; Import the component plugin corresponding to the data attribute definition into kanzi, so that the component plugin can locate each node in kanzi according to the component structure of the node, and find the node whose node attributes are similar to the data attribute definition; Based on the difference between the data attribute definition of the external data and the node attributes of the found nodes, the updated value attribute is obtained; Update the node attributes of the found nodes according to the updated value attribute; The step of obtaining external data from an external data source and analyzing the data attribute definitions of the external data further includes: When the external data source is determined to be an existing data source based on the data attribute definition, the first attribute plugin is imported into kanzi, so that the nodes inside kanzi apply the node attributes defined by the first attribute plugin. When the external data source is determined to be a new data source according to the data attribute definition, a new node attribute definition is added to the first attribute plugin according to the data attribute definition and recompiled to obtain a second attribute plugin. The second attribute plugin is then imported into Kanzi so that the nodes inside Kanzi apply the node attributes defined by the second attribute plugin.

2. A kanzi data update device, characterized in that, include: The data acquisition unit is used to acquire external data from external data sources and analyze the data attribute definitions of the external data; A node setting unit is used to set different nodes within kanzi; wherein, the node includes node attributes and composition structure, the node attributes determine a portion of the internal attributes of kanzi, and the composition structure determines the position of the node; The data query unit is used to import the component plugin corresponding to the data attribute definition into kanzi, so that the component plugin can locate each node in kanzi according to the component structure of the node, and find the node whose node attributes are similar to the data attribute definition. The data processing unit is used to obtain updated value attributes based on the difference between the data attribute definition of the external data and the node attributes of the found nodes; The data update unit is used to update the node attributes of the found nodes according to the update value attribute; The attribute plugin import unit is used to import a first attribute plugin into Kanzi when the external data source is determined to be an existing data source according to the data attribute definition, so that the nodes inside Kanzi apply the node attributes defined by the first attribute plugin; when the external data source is determined to be a new data source according to the data attribute definition, it adds a new node attribute definition to the first attribute plugin according to the data attribute definition and recompiles to obtain a second attribute plugin, imports the second attribute plugin into Kanzi, so that the nodes inside Kanzi apply the node attributes defined by the second attribute plugin.

3. A computer-readable storage medium having a computer program stored thereon, characterized in that, When the program is executed by the processor, it implements the steps of the kanzi data update method as described in claim 1.

4. A computer device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that, When the processor executes the program, it implements the steps of the kanzi data update method as described in claim 1.

Citation Information

Patent Citations

  • Sequence frame animation playing plug-in based on kanzi

    CN110134392A

  • Automated systems and methods for providing bidirectional parallel language recognition and translation processing with machine speech production for two users simultaneously to enable gapless interactive conversational communication

    US20190354592A1