A data processing system for task structure design

CN117111918BActive Publication Date: 2026-10-27天津(滨海)人工智能创新中心
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202311037078.6
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-08-16
Publication Date
2026-10-27
Estimated Expiration
2043-08-16

AI Technical Summary

Technical Problem

[0002]现有技术中,普遍使用的行为树编辑工具均无法生成支持基于行为树结构的设计理念及其开发规范的应用代码框架,即对层级行为树的支撑、黑板通信数据类型设置、叶子结点常用基类的自动派生等

Benefits of technology

[0038]本发明实施例公开了一种用于任务结构设计的数据处理系统,包括表层数据处理子系统、功能数据处理子系统和存储数据处理子系统;其中,表层数据处理子系统的第一端和第二端分别电连接功能数据处理子系统的第一端和存储数据处理子系统的第一端;功能数据处理子系统的第二端电连接存储数据处理子系统的第二端;表层数据处理子系统通过响应于用户的任务设计操作,以生成任务交互数据信息;存储数据处理子系统,用于存储任务基础数据信息;功能数据处理子系统用于从存储数据处理子系统加载任务基础数据信息对任务交互数据信息进行编辑处理,以得到目标任务数据信息,并将目标任务数据信息分别发送至功能数据处理子系统和存储数据处理子系统。可见,本申请有利于为用户提供更加直观、便捷的行为树编辑方法,并降低操作门槛,提高行为树任务结构设计效率,保证用户构建行为树工程的便捷性和高效性。

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN117111918B_ABST
    Figure CN117111918B_ABST
Patent Text Reader

Abstract

The application discloses a data processing system for task structure design, and relates to the technical field of data processing systems. The application provides a data processing system for task structure design, which comprises a first end and a second end of a surface data processing subsystem, a first end of a function data processing subsystem and a first end of a storage data processing subsystem, and a second end of the function data processing subsystem and a second end of the storage data processing subsystem are electrically connected.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of software development technology, and in particular to a data processing system for task structure design. Background Technology

[0002] In existing technologies, commonly used behavior tree editing tools cannot generate application code frameworks that support the design concepts and development specifications based on behavior tree structures, such as support for hierarchical behavior trees, blackboard communication data type settings, and automatic derivation of common base classes for leaf nodes. Brainiac Designer is commonly used for editing behavior trees. However, using this tool requires first writing each tree node, then generating a dynamic link library from these nodes and importing it as a plugin into Brainiac Designer, resulting in high complexity and a significant learning curve. On Linux systems, the commonly used behavior tree editing tool is Groot, which accompanies BehaviorTree.CPP. While it has behavior tree drawing capabilities, it cannot automatically generate the corresponding project framework and source code files, and it does not support compilation or execution. Therefore, it is necessary to provide a data processing system for task structure design to offer users a more intuitive and convenient method for editing behavior trees, lower the operational threshold, improve the efficiency of behavior tree task structure design, and ensure the convenience and efficiency of users building behavior tree projects. Summary of the Invention

[0003] The technical problem to be solved by this invention is to provide a data processing system for task structure design, so as to provide users with a more intuitive and convenient method for editing behavior trees, reduce the operation threshold, improve the efficiency of behavior tree task structure design, and ensure the convenience and efficiency of users in building behavior tree projects.

[0004] To address the aforementioned technical problems, the first aspect of this invention discloses a data processing system for task structure design, comprising:

[0005] The system comprises a surface data processing subsystem, a functional data processing subsystem, and a storage data processing subsystem; among which...

[0006] The first and second terminals of the surface data processing subsystem are electrically connected to the first terminal of the functional data processing subsystem and the first terminal of the storage data processing subsystem, respectively; the second terminal of the functional data processing subsystem is electrically connected to the second terminal of the storage data processing subsystem.

[0007] The surface data processing subsystem generates task interaction data information in response to the user's task design operations;

[0008] The storage data processing subsystem is used to store basic task data information;

[0009] The functional data processing subsystem is used to load the task basic data information from the storage data processing subsystem, edit and process the task interaction data information to obtain the target task data information, and send the target task data information to the functional data processing subsystem and the storage data processing subsystem respectively.

[0010] As an optional implementation, the surface data processing subsystem includes a behavior tree editing module, a node directory module, a toolbar module, a compilation and execution output module, and a project directory module;

[0011] The functional data processing subsystem includes a behavior tree view switching module, a behavior tree drawing module, a behavior tree node editing module, a behavior tree node reuse module, a hierarchical behavior tree editing module, a behavior tree project compilation module, a project code building module, a behavior tree project running module, a project installation module, and a data type management module.

[0012] The storage data processing subsystem includes a node registry module, a behavior tree project template module, and a data type set module;

[0013] The behavior tree editing module is used to display the tree structure of the behavior tree and the tree nodes of the behavior tree, and respond to the user's editing operation on the behavior tree to obtain the behavior tree interaction data information in the task interaction data information.

[0014] The node directory module is used to display the available tree nodes in the node registry module, and respond to the user's editing operation on the available tree nodes to obtain the available tree node interaction data information in the task interaction data information;

[0015] The toolbar module is used to respond to the user's function selection operation in order to obtain the function operation instructions in the task interaction data information;

[0016] The project directory module is used to display the behavior tree directory information corresponding to the tree structure;

[0017] The compilation and execution output module is used to display the target compilation information and the target execution information in the target task data information;

[0018] The behavior tree drawing module is used to edit and process the tree interaction data information to obtain the target behavior tree interaction data information in the target task data information.

[0019] The behavior tree node reuse module is used to perform tree-structured processing on the available tree node interaction data information to obtain the target available tree node interaction data information in the target task data information.

[0020] The engineering code construction module is used to generate code from the target behavior tree interaction data information based on the function operation instructions, so as to obtain the target engineering code information in the target task data information;

[0021] The behavior tree view switching module is used to select and process the behavior tree information in the behavior tree editing module to generate behavior tree display information in the target task data information; the behavior tree display information includes the tree structure of the behavior tree and the tree nodes of the behavior tree;

[0022] The behavior tree node editing module is used to perform node editing processing on the available tree node interaction data information to obtain the target tree node interaction data information in the target task data information;

[0023] The hierarchical behavior tree editing module is used to perform lower-level behavior tree creation processing on the available tree node interaction data information to obtain the target lower-level behavior tree information in the target task data information;

[0024] The behavior tree engineering compilation module is used to compile the target project code information based on the function execution instructions to obtain the target compilation information in the target task data information;

[0025] The behavior tree engineering operation module is used to simulate and run the target compilation information based on the function operation instructions to obtain the target operation information in the target task data information;

[0026] The engineering installation module is used to generate the tree structure of the behavior tree and the tree nodes of the behavior tree based on the function operation instructions, so as to obtain the behavior tree display information.

[0027] The data type management module is used to load data information from the data type set module based on the function operation instruction, and generate the corresponding data type information in the target task data information.

[0028] As an optional implementation, the first end of the behavior tree editing module is electrically connected to the first end of the node directory bar module, the second end of the behavior tree editing module is electrically connected to the second end of the project directory bar module, the third end of the behavior tree editing module is electrically connected to the first end of the toolbar module, and the fourth and fifth ends of the behavior tree editing module are both electrically connected to the functional data processing subsystem; the second end of the toolbar module is electrically connected to the first end of the compile and run output bar module; the second end of the compile and run output bar module is electrically connected to the functional data processing subsystem, and the third end of the compile and run output bar module is electrically connected to the storage data processing subsystem.

[0029] As an optional implementation, the first end of the behavior tree drawing module is electrically connected to the surface data processing subsystem; the second end of the behavior tree drawing module is electrically connected to the behavior tree view switching module; the third end of the behavior tree drawing module is electrically connected to the behavior tree node editing module; and the fourth end of the behavior tree drawing module is electrically connected to the behavior tree node reuse module. The second end of the behavior tree node editing module is electrically connected to the hierarchical behavior tree editing module; the third end of the behavior tree node editing module is electrically connected to the data type management module; and the fourth end of the behavior tree node editing module is electrically connected to the storage data processing subsystem. The second end of the behavior tree node reuse module is electrically connected to the storage data processing subsystem. The first end of the project code construction module is electrically connected to the surface data processing subsystem; the second end of the project code construction module is electrically connected to the behavior tree project compilation module; the third end of the project code construction module is electrically connected to the project installation module; the fourth end of the project code construction module is electrically connected to the behavior tree project execution module; and the fifth end of the project code construction module is electrically connected to the storage data processing subsystem. The first end of the behavior tree project execution module is electrically connected to the surface data processing subsystem; the second end of the behavior tree project compilation module is electrically connected to the surface data processing subsystem; and the second and third ends of the data type management module are electrically connected to the surface data processing subsystem and the storage data processing subsystem, respectively.

[0030] As an optional implementation, the first and second ends of the node registry module are both electrically connected to the functional data processing subsystem, and the third end of the node registry module is electrically connected to the surface data processing subsystem; the first end of the behavior tree project template module is electrically connected to the functional data processing subsystem; and the first end of the data type set module is electrically connected to the functional data processing subsystem.

[0031] As an optional implementation, the toolbar module is adjacent to the project directory module and the behavior tree editing module; the project directory module is also adjacent to the behavior tree editing module and the node directory module; the node directory module is also adjacent to the behavior tree editing module and the compile and run output module; the behavior tree editing module is also adjacent to the compile and run output module.

[0032] As an optional implementation, the toolbar module is positioned above the project directory bar module and the behavior tree editing module; the project directory bar module and the node directory bar module are positioned below the behavior tree editing module and the block.

[0033] As an optional implementation, the behavior tree editing module includes a behavior tree display unit, a behavior tree attribute bar unit, a node attribute bar unit, and a node editing window unit; wherein,

[0034] Both the node attribute bar unit and the node editing window unit are electrically connected to the behavior tree display unit; the behavior tree display unit is located above the behavior tree attribute bar unit; the node attribute bar unit and the node editing window unit are internally located within the behavior tree display unit.

[0035] A second aspect of the present invention discloses a computer-readable storage medium comprising the data processing system for task structure design described in any of the first aspects.

[0036] A third aspect of the present invention discloses an electronic device comprising the data processing system for task structure design described in any of the first aspects.

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

[0038] This invention discloses a data processing system for task structure design, comprising a surface data processing subsystem, a functional data processing subsystem, and a storage data processing subsystem. The first and second ends of the surface data processing subsystem are electrically connected to the first ends of the functional data processing subsystem and the storage data processing subsystem, respectively. The second end of the functional data processing subsystem is electrically connected to the second end of the storage data processing subsystem. The surface data processing subsystem generates task interaction data information in response to user task design operations. The storage data processing subsystem stores basic task data information. The functional data processing subsystem loads the basic task data information from the storage data processing subsystem, edits the task interaction data information to obtain target task data information, and sends the target task data information to both the functional data processing subsystem and the storage data processing subsystem. Therefore, this application provides users with a more intuitive and convenient method for editing behavior trees, lowers the operational threshold, improves the efficiency of behavior tree task structure design, and ensures the convenience and efficiency of users in constructing behavior tree projects. Attached Figure Description

[0039] To more clearly illustrate the technical solutions in the embodiments of the present invention, the accompanying drawings used in the description of the embodiments will be briefly introduced below. Obviously, the accompanying drawings described below are only some embodiments of the present invention. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.

[0040] Figure 1 This is a schematic diagram of a data processing system for task structure design disclosed in an embodiment of the present invention. Detailed Implementation

[0041] To enable those skilled in the art to better understand the present invention, the technical solutions of the present invention will be clearly and completely described below with reference to the accompanying drawings of the embodiments of the present invention. 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.

[0042] The terms "first," "second," etc., used in the specification, claims, and accompanying drawings of this invention are used to distinguish different objects, not to describe a specific order. Furthermore, the terms "comprising" and "having," and any variations thereof, are intended to cover non-exclusive inclusion. For example, a process, method, apparatus, product, or end that includes a series of steps or modules is not limited to the listed steps or modules, but may optionally include steps or modules not listed, or may optionally include other steps or modules inherent to these processes, methods, products, or ends.

[0043] In this document, the term "embodiment" means that a particular feature, structure, or characteristic described in connection with an embodiment may be included in at least one embodiment of the invention. The appearance of this phrase in various places throughout the specification does not necessarily refer to the same embodiment, nor is it a separate or alternative embodiment mutually exclusive with other embodiments. It will be explicitly and implicitly understood by those skilled in the art that the embodiments described herein can be combined with other embodiments.

[0044] For details, please refer to Figure 1 , Figure 1 This is a schematic diagram of a data processing system for task structure design disclosed in an embodiment of the present invention. Figure 1 As shown, the data processing system for task structure design includes a surface data processing subsystem, a functional data processing subsystem, and a storage data processing subsystem; wherein,

[0045] The first and second terminals of the surface data processing subsystem are electrically connected to the first terminals of the functional data processing subsystem and the storage data processing subsystem, respectively; the second terminal of the functional data processing subsystem is electrically connected to the second terminal of the storage data processing subsystem.

[0046] The surface data processing subsystem generates task interaction data information in response to the user's task design operations;

[0047] The data processing subsystem is used to store basic task data.

[0048] The functional data processing subsystem is used to load basic task data information from the storage data processing subsystem, edit and process task interaction data information to obtain target task data information, and send the target task data information to the functional data processing subsystem and the storage data processing subsystem respectively.

[0049] In this optional embodiment, as an optional implementation method, the above-mentioned target project code information is obtained based on the following steps:

[0050] In response to the user's selection action in the type management window cell of the toolbar module, generate type management instructions;

[0051] Send the type management command to the data type management module;

[0052] The data type management module is activated to load data information from the data type set module and generate the corresponding data type information in the target task data information.

[0053] Display data type information to the user;

[0054] In response to the user's selection of a tree node in the node directory module, the selected tree node is displayed in the behavior tree editing module, and the corresponding behavior tree interactive data information is generated.

[0055] In response to the user's selection of behavior tree modeling in the toolbar module, modeling instructions are generated in the function execution instructions;

[0056] Send the modeling instructions to the behavior tree drawing module;

[0057] Enable the behavior tree drawing module to edit and process the tree interaction data information to obtain the target behavior tree interaction data information in the target task data information;

[0058] The project code building module is enabled to generate code from the target behavior tree interaction data information to obtain the target project code information in the target task data information.

[0059] Furthermore, the aforementioned target project code information can be used to update and display the tree structure and tree nodes of the behavior tree.

[0060] It is evident that implementing the data processing system for task structure design described in the embodiments of the present invention is beneficial for providing users with a more intuitive and convenient method for editing behavior trees, reducing the operational threshold, improving the efficiency of behavior tree task structure design, and ensuring the convenience and efficiency of users in building behavior tree projects.

[0061] As an optional implementation method, such as Figure 1 As shown, the surface data processing subsystem includes a behavior tree editing module, a node directory module, a toolbar module, a compilation and runtime output module, and a project directory module.

[0062] The functional data processing subsystem includes a behavior tree view switching module, a behavior tree drawing module, a behavior tree node editing module, a behavior tree node reuse module, a hierarchical behavior tree editing module, a behavior tree project compilation module, a project code building module, a behavior tree project running module, a project installation module, and a data type management module.

[0063] The storage data processing subsystem includes a node registry module, a behavior tree project template module, and a data type set module;

[0064] The behavior tree editing module is used to display the tree structure and tree nodes of the behavior tree, and respond to the user's editing operation on the behavior tree to obtain the behavior tree interaction data information in the task interaction data information.

[0065] The node directory module is used to display the available tree nodes in the node registry module and respond to the user's editing operations on the available tree nodes to obtain the available tree node interaction data information in the task interaction data information;

[0066] The toolbar module is used to respond to the user's function selection operations in order to obtain the function operation instructions from the task interaction data information;

[0067] The project directory module is used to display the behavior tree directory information corresponding to the tree structure;

[0068] The compilation and execution output module is used to display the target compilation information and the target execution information in the target task data information.

[0069] Among them, the behavior tree drawing module is used to edit and process the tree interaction data information to obtain the target behavior tree interaction data information in the target task data information;

[0070] The behavior tree node reuse module is used to perform tree-structured processing on the interactive data information of available tree nodes to obtain the interactive data information of the target available tree nodes in the target task data information.

[0071] The engineering code building module is used to generate code from the target behavior tree interaction data information based on the function execution instructions, so as to obtain the target engineering code information in the target task data information;

[0072] The behavior tree view switching module is used to select and process behavior tree information in the behavior tree editing module to generate behavior tree display information in the target task data information; the behavior tree display information includes the tree structure of the behavior tree and the tree nodes of the behavior tree;

[0073] The behavior tree node editing module is used to edit the available tree node interaction data information to obtain the target tree node interaction data information in the target task data information;

[0074] The hierarchical behavior tree editing module is used to process the interactive data information of available tree nodes to create lower-level behavior trees, so as to obtain the target lower-level behavior tree information in the target task data information;

[0075] The behavior tree engineering compilation module is used to compile the target project code information based on the function execution instructions to obtain the target compilation information in the target task data information;

[0076] The behavior tree engineering execution module is used to simulate and run the target compilation information based on the function execution instructions in order to obtain the target execution information in the target task data information;

[0077] The engineering installation module is used to generate the tree structure and tree nodes of the behavior tree from the target compilation information based on the function execution instructions, so as to obtain the behavior tree display information.

[0078] The data type management module is used to load data information from the data type set module based on the function execution instructions and generate the corresponding data type information in the target task data information.

[0079] It should be noted that the behavior tree editing module displays the tree structure and tree nodes of the behavior tree based on the behavior tree description information contained in the XML file.

[0080] It should be noted that the above function operation instructions are signal instructions generated by the user selecting the corresponding function option from the toolbar module. They can be used as switch signals for the corresponding modules in the function data processing subsystem to control the start or stop operation of the corresponding modules.

[0081] It should be noted that the toolbar module includes a type management window and a project loading window; these two windows are located adjacent to each other within the project directory module. The project loading window displays all behavior tree interaction data to the user and, in response to the user's selection of the target project, sends the selected behavior tree interaction data to the project code building module for code generation.

[0082] It should be noted that the above compilation and runtime output module displays the output information printed during the compilation, running, and installation of the behavior tree project.

[0083] It should be noted that the behavior tree directory information displayed in the above project directory module is the detailed directory structure corresponding to the behavior tree structure.

[0084] It should be noted that the behavior tree node reuse module draws the behavior tree based on the node attribute information in the node registry module.

[0085] It should be noted that the node registry module records detailed attributes of all reusable behavior tree nodes.

[0086] It should be noted that the behavior tree project template module records file templates used to generate the behavior tree project code framework.

[0087] It should be noted that the data type set module records detailed information about all created custom data types.

[0088] It should be noted that the hierarchical behavior tree editing module processes the interactive data information of available tree nodes to create lower-level behavior trees. This is done by clicking "Create Lower-Level Behavior Tree" in the right-click menu of the action node. This opens a new tab in the behavior tree editing area, where users can draw the lower-level behavior tree. After the lower-level behavior tree is drawn, a new display window is added under the action node that is attached to the lower-level behavior tree in the tab where the parent behavior tree is located. The window contains the lower-level target lower-level behavior tree information attached to that node.

[0089] It is evident that implementing the data processing system for task structure design described in the embodiments of the present invention is beneficial for providing users with a more intuitive and convenient method for editing behavior trees, reducing the operational threshold, improving the efficiency of behavior tree task structure design, and ensuring the convenience and efficiency of users in building behavior tree projects.

[0090] As an optional implementation, the first end of the behavior tree editing module is electrically connected to the first end of the node directory bar module; the second end of the behavior tree editing module is electrically connected to the second end of the project directory bar module; the third end of the behavior tree editing module is electrically connected to the first end of the toolbar module; and the fourth and fifth ends of the behavior tree editing module are both electrically connected to the functional data processing subsystem. The second end of the toolbar module is electrically connected to the first end of the compile and run output bar module; the second end of the compile and run output bar module is electrically connected to the functional data processing subsystem; and the third end of the compile and run output bar module is electrically connected to the storage data processing subsystem.

[0091] It is evident that implementing the data processing system for task structure design described in the embodiments of the present invention is beneficial for providing users with a more intuitive and convenient method for editing behavior trees, reducing the operational threshold, improving the efficiency of behavior tree task structure design, and ensuring the convenience and efficiency of users in building behavior tree projects.

[0092] As an optional implementation method, such as Figure 1As shown, the first terminal of the behavior tree drawing module is electrically connected to the surface data processing subsystem; the second terminal is electrically connected to the behavior tree view switching module; the third terminal is electrically connected to the behavior tree node editing module; and the fourth terminal is electrically connected to the behavior tree node reuse module. The second terminal of the behavior tree node editing module is electrically connected to the hierarchical behavior tree editing module; the third terminal is electrically connected to the data type management module; and the fourth terminal is electrically connected to the storage data processing subsystem. The second terminal of the behavior tree node reuse module is electrically connected to the storage data processing subsystem. Project code construction... The first terminal of the module is electrically connected to the surface data processing subsystem; the second terminal of the project code building module is electrically connected to the behavior tree project compilation module; the third terminal of the project code building module is electrically connected to the project installation module; the fourth terminal of the project code building module is electrically connected to the behavior tree project execution module; and the fifth terminal of the project code building module is electrically connected to the storage data processing subsystem. The first terminal of the behavior tree project execution module is electrically connected to the surface data processing subsystem; the second terminal of the behavior tree project compilation module is electrically connected to the surface data processing subsystem; and the second and third terminals of the data type management module are electrically connected to the surface data processing subsystem and the storage data processing subsystem, respectively.

[0093] It is evident that implementing the data processing system for task structure design described in the embodiments of the present invention is beneficial for providing users with a more intuitive and convenient method for editing behavior trees, reducing the operational threshold, improving the efficiency of behavior tree task structure design, and ensuring the convenience and efficiency of users in building behavior tree projects.

[0094] As an optional implementation, the first and second ends of the node registry module are electrically connected to the functional data processing subsystem, the third end of the node registry module is electrically connected to the surface data processing subsystem, the first end of the behavior tree project template module is electrically connected to the functional data processing subsystem, and the first end of the data type set module is electrically connected to the functional data processing subsystem.

[0095] It is evident that implementing the data processing system for task structure design described in the embodiments of the present invention is beneficial for providing users with a more intuitive and convenient method for editing behavior trees, reducing the operational threshold, improving the efficiency of behavior tree task structure design, and ensuring the convenience and efficiency of users in building behavior tree projects.

[0096] As an optional implementation, the toolbar module is adjacent to the project directory module and the behavior tree editing module; the project directory module is also adjacent to the behavior tree editing module and the node directory module; the node directory module is also adjacent to the behavior tree editing module and the compile and run output module; the behavior tree editing module is also adjacent to the compile and run output module.

[0097] It is evident that implementing the data processing system for task structure design described in the embodiments of the present invention is beneficial for providing users with a more intuitive and convenient method for editing behavior trees, reducing the operational threshold, improving the efficiency of behavior tree task structure design, and ensuring the convenience and efficiency of users in building behavior tree projects.

[0098] As an optional implementation, the toolbar module is positioned above the project directory module and the behavior tree editing module; the project directory module and the node directory module are positioned below the behavior tree editing module and the block.

[0099] It is evident that implementing the data processing system for task structure design described in the embodiments of the present invention is beneficial for providing users with a more intuitive and convenient method for editing behavior trees, reducing the operational threshold, improving the efficiency of behavior tree task structure design, and ensuring the convenience and efficiency of users in building behavior tree projects.

[0100] As an optional implementation, the behavior tree editing module includes a behavior tree display unit, a behavior tree attribute bar unit, a node attribute bar unit, and a node editing window unit; wherein,

[0101] Both the node attribute bar unit and the node editing window unit are electrically connected to the behavior tree display unit; the behavior tree display unit is located above the behavior tree attribute bar unit; the node attribute bar unit and the node editing window unit are located within the behavior tree display unit.

[0102] It should be noted that the above-mentioned node editing window unit can respond to the user's selection operation of the tree node in the behavior tree editing module to display the detailed information of the behavior tree node, and respond to the user's modification operation operation to feed back the user's modification operation information to the behavior tree node editing module for modification of the behavior tree information, and synchronously update the modified behavior tree information in the behavior tree editing module.

[0103] It should be noted that the aforementioned behavior tree attribute bar unit displays detailed attribute information of the behavior tree to the user, and responds to the user's viewing and modification operations of detailed attributes of the behavior tree in the behavior tree attribute bar unit, and sends the corresponding data information to the behavior tree drawing module and the hierarchical behavior tree management module for processing.

[0104] It should be noted that the node attribute panel mentioned above is a quick view and modification interface for the detailed attributes corresponding to the tree nodes of the behavior tree. Users can directly modify the node attributes without opening the node editing window.

[0105] It is evident that implementing the data processing system for task structure design described in the embodiments of the present invention is beneficial for providing users with a more intuitive and convenient method for editing behavior trees, reducing the operational threshold, improving the efficiency of behavior tree task structure design, and ensuring the convenience and efficiency of users in building behavior tree projects.

[0106] Example 2

[0107] This invention discloses a computer-readable storage medium, which includes a data processing system for task structure design as described in Embodiment 1. It should be noted that for a detailed description of the data processing system for task structure design, please refer to the specific description of the relevant content in Embodiment 1; this embodiment will not repeat it.

[0108] Example 3

[0109] This invention discloses an electronic device, which includes a data processing system for task structure design as described in Embodiment 1. It should be noted that for a detailed description of the data processing system for task structure design, please refer to the specific description of the relevant content in Embodiment 1; this embodiment will not repeat it.

[0110] The foregoing has described specific embodiments of this specification; other embodiments are within the scope of the appended claims. In some cases, the actions or steps described in the claims may be performed in a different order than those shown in the embodiments and may still achieve the desired result. Furthermore, the processes depicted in the drawings do not necessarily have to follow the specific or sequential order shown to achieve the desired result. In some embodiments, multitasking and parallel processing are also possible or may be advantageous.

[0111] The various embodiments in this specification are described in a progressive manner. Similar or identical parts between embodiments can be referred to mutually. Each embodiment focuses on describing the differences from other embodiments. In particular, the embodiments of apparatus, devices, and non-volatile computer-readable storage media are basically similar to the method embodiments, so the descriptions are relatively simple; relevant parts can be referred to the descriptions of the method embodiments.

[0112] The apparatus, device, non-volatile computer-readable storage medium and method provided in the embodiments of this specification are corresponding. Therefore, the apparatus, device and non-volatile computer storage medium also have similar beneficial technical effects as the corresponding method. Since the beneficial technical effects of the method have been described in detail above, the beneficial technical effects of the corresponding apparatus, device and non-volatile computer storage medium will not be repeated here.

[0113] In the 1990s, improvements to a technology could be clearly distinguished as either hardware improvements (e.g., improvements to the circuit structure of diodes, transistors, switches, etc.) or software improvements (improvements to the methodology). However, with technological advancements, many methodological improvements today can be considered direct improvements to the hardware circuit structure. Designers almost always obtain the corresponding hardware circuit structure by programming the improved methodology into the hardware circuit. Therefore, it cannot be said that a methodological improvement cannot be implemented using hardware physical modules. For example, a Programmable Logic Device (PLD) (such as a Field Programmable Gate Array (FPGA)) is such an integrated circuit whose logic function is determined by the user programming the device. Designers can program and "integrate" a digital system onto a PLD themselves, without needing chip manufacturers to design and manufacture dedicated integrated circuit chips. Furthermore, nowadays, instead of manually manufacturing integrated circuit chips, this programming is mostly implemented using "logic compiler" software. Similar to the software compiler used in program development, the original code before compilation must be written in a specific programming language, called a Hardware Description Language (HDL). There are many HDLs, such as ABEL (Advanced Boolean Expression Language), AHDL (Altera Hardware Description Language), Confluence, CUPL (Cornell University Programming Language), HDCal, JHDL (Java Hardware Description Language), Lava, Lola, MyHDL, PALASM, and RHDL (Ruby Hardware Description Language). Currently, the most commonly used are VHDL (Very-High-Speed ​​Integrated Circuit Hardware Description Language) and Verilog. Those skilled in the art should understand that by simply performing some logic programming on the method flow using one of these hardware description languages ​​and programming it into an integrated circuit, the hardware circuit implementing the logical method flow can be easily obtained.

[0114] The controller can be implemented in any suitable manner. For example, it can take the form of a microprocessor or processor and a computer-readable medium storing computer-readable program code (e.g., software or firmware) executable by the (micro)processor, logic gates, switches, application-specific integrated circuits (ASICs), programmable logic controllers, and embedded microcontrollers. Examples of controllers include, but are not limited to, the following microcontrollers: ARC 625D, Atmel AT91SAM, Microchip PIC18F26K20, and Silicon Labs C8051F320. A memory controller can also be implemented as part of the control logic of the memory. Those skilled in the art will also recognize that, in addition to implementing the controller in purely computer-readable program code form, the same functionality can be achieved by logically programming the method steps to make the controller take the form of logic gates, switches, application-specific integrated circuits, programmable logic controllers, and embedded microcontrollers. Therefore, such a controller can be considered a hardware component, and the means included therein for implementing various functions can also be considered as structures within the hardware component. Alternatively, the means for implementing various functions can be considered as both software modules implementing the method and structures within the hardware component.

[0115] The systems, devices, modules, or units described in the above embodiments can be implemented by computer chips or entities, or by products with certain functions. A typical implementation device is a computer. Specifically, a computer can be, for example, a personal computer, laptop computer, cellular phone, camera phone, smartphone, personal digital assistant, media player, navigation device, email device, game console, tablet computer, wearable device, or any combination of these devices.

[0116] For ease of description, the above devices are described in terms of function, divided into various units. Of course, in implementing this specification, the functions of each unit can be implemented in one or more software and / or hardware components.

[0117] Those skilled in the art will understand that the embodiments of this specification can be provided as methods, systems, or computer program products. Therefore, the embodiments of this specification can take the form of a completely hardware embodiment, a completely software embodiment, or an embodiment combining software and hardware aspects. Furthermore, the embodiments of this specification can take the form of a computer program product implemented on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.

[0118] This specification is described with reference to flowchart illustrations and / or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of this specification. It will be understood that each block of the flowchart illustrations and / or block diagrams, and combinations of blocks in the flowchart illustrations and / or block diagrams, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, special-purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create a machine for implementing the flowchart illustrations and / or block diagrams. Figure 1 One or more processes and / or boxes Figure 1 A device that provides the functions specified in one or more boxes.

[0119] These computer program instructions may also be stored in a computer-readable storage medium that can direct a computer or other programmable data processing device to function in a particular manner, such that the instructions stored in the computer-readable storage medium produce an article of manufacture including instruction means, which are implemented in a process Figure 1 One or more processes and / or boxes Figure 1 The function specified in one or more boxes.

[0120] These computer program instructions may also be loaded onto a computer or other programmable data processing equipment to cause a series of operational steps to be performed on the computer or other programmable equipment to produce a computer-implemented process, thereby providing instructions that execute on the computer or other programmable equipment for implementing the process. Figure 1 One or more processes and / or boxes Figure 1 The steps of the function specified in one or more boxes.

[0121] In a typical configuration, a computing device includes one or more processors (CPU), input / output interfaces, network interfaces, and memory.

[0122] Memory may include non-persistent storage in computer-readable media, such as random access memory (RAM) and / or non-volatile memory, such as read-only memory (ROM) or flash RAM. Memory is an example of computer-readable media.

[0123] Computer-readable media includes both permanent and non-permanent, removable and non-removable media that can store information using any method or technology. Information can be computer-readable instructions, data structures, modules of programs, or other data. Examples of computer storage media include, but are not limited to, phase-change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technologies, CD-ROM, digital versatile optical disc (DVD) or other optical storage, magnetic tape, magnetic disk storage or other magnetic storage devices, or any other non-transferable medium that can be used to store information accessible by a computing device. As defined herein, computer-readable media does not include transient computer-readable media, such as modulated data signals and carrier waves.

[0124] It should also be noted that the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such process, method, article, or apparatus. Unless otherwise specified, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, method, article, or apparatus that includes that element.

[0125] This specification can be described in the general context of computer-executable instructions that are executed by a computer, such as program modules. Generally, program modules include routines, programs, objects, components, data structures, etc., that perform a specific task or implement a specific abstract data type. This specification can also be practiced in distributed computing environments, where tasks are performed by remote processing devices connected via a communication network. In distributed computing environments, program modules can reside in local and remote computer storage media, including storage devices.

[0126] The various embodiments in this specification are described in a progressive manner. Similar or identical parts between embodiments can be referred to interchangeably. Each embodiment focuses on describing the differences from other embodiments. In particular, the system embodiments are basically similar to the method embodiments, so the description is relatively simple; relevant parts can be referred to the descriptions in the method embodiments.

[0127] Finally, it should be noted that the data processing system for task structure design disclosed in the embodiments of the present invention is only a preferred embodiment of the present invention and is only used to illustrate the technical solutions of the present invention, not to limit it. Although the present invention has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that modifications can still be made to the technical solutions described in the foregoing embodiments, or equivalent substitutions can be made to some of the technical features. Such modifications or substitutions do not cause the essence of the corresponding technical solutions to deviate from the spirit and scope of the technical solutions of the embodiments of the present invention.

Claims

1. A data processing system for task structure design, characterized in that, The system includes a surface data processing subsystem, a functional data processing subsystem, and a storage data processing subsystem; wherein... The first and second terminals of the surface data processing subsystem are electrically connected to the first terminal of the functional data processing subsystem and the first terminal of the storage data processing subsystem, respectively; the second terminal of the functional data processing subsystem is electrically connected to the second terminal of the storage data processing subsystem. The surface data processing subsystem generates task interaction data information in response to the user's task design operations; The storage data processing subsystem is used to store basic task data information; The functional data processing subsystem is used to load the task basic data information from the storage data processing subsystem, edit and process the task interaction data information to obtain the target task data information, and send the target task data information to the functional data processing subsystem and the storage data processing subsystem respectively. The surface data processing subsystem includes a behavior tree editing module, a node directory module, a toolbar module, a compilation and runtime output module, and a project directory module. The functional data processing subsystem includes a behavior tree view switching module, a behavior tree drawing module, a behavior tree node editing module, a behavior tree node reuse module, a hierarchical behavior tree editing module, a behavior tree project compilation module, a project code building module, a behavior tree project running module, a project installation module, and a data type management module. The storage data processing subsystem includes a node registry module, a behavior tree project template module, and a data type set module; The behavior tree editing module is used to display the tree structure of the behavior tree and the tree nodes of the behavior tree, and respond to the user's editing operation on the behavior tree to obtain the behavior tree interaction data information in the task interaction data information. The node directory module is used to display the available tree nodes in the node registry module, and respond to the user's editing operation on the available tree nodes to obtain the available tree node interaction data information in the task interaction data information; The toolbar module is used to respond to the user's function selection operation in order to obtain the function operation instructions in the task interaction data information; The project directory module is used to display the behavior tree directory information corresponding to the tree structure; The compilation and execution output module is used to display the target compilation information and the target execution information in the target task data information; The behavior tree drawing module is used to edit and process the behavior tree interaction data information to obtain the target behavior tree interaction data information in the target task data information. The behavior tree node reuse module is used to perform tree-structured processing on the available tree node interaction data information to obtain the target available tree node interaction data information in the target task data information. The engineering code construction module is used to generate code from the target behavior tree interaction data information based on the function operation instructions, so as to obtain the target engineering code information in the target task data information; The behavior tree view switching module is used to select and process the behavior tree information in the behavior tree editing module to generate behavior tree display information in the target task data information; the behavior tree display information includes the tree structure of the behavior tree and the tree nodes of the behavior tree; The behavior tree node editing module is used to perform node editing processing on the available tree node interaction data information to obtain the target tree node interaction data information in the target task data information; The hierarchical behavior tree editing module is used to perform lower-level behavior tree creation processing on the available tree node interaction data information to generate target lower-level behavior tree information in the target task data information; The behavior tree engineering compilation module is used to compile the target project code information based on the function execution instructions to obtain the target compilation information in the target task data information; The behavior tree engineering operation module is used to simulate and run the target compilation information based on the function operation instructions to obtain the target operation information in the target task data information; The engineering installation module is used to generate the tree structure of the behavior tree and the tree nodes of the behavior tree based on the function operation instructions, so as to obtain the behavior tree display information. The data type management module is used to load data information from the data type set module based on the function operation instruction, and generate the corresponding data type information in the target task data information.

2. The data processing system for task structure design according to claim 1, characterized in that, The first end of the behavior tree editing module is electrically connected to the first end of the node directory bar module; the second end of the behavior tree editing module is electrically connected to the second end of the project directory bar module; the third end of the behavior tree editing module is electrically connected to the first end of the toolbar module; the fourth and fifth ends of the behavior tree editing module are both electrically connected to the functional data processing subsystem; the second end of the toolbar module is electrically connected to the first end of the compile and run output bar module; the second end of the compile and run output bar module is electrically connected to the functional data processing subsystem; and the third end of the compile and run output bar module is electrically connected to the storage data processing subsystem.

3. The data processing system for task structure design according to claim 1, characterized in that, The first terminal of the behavior tree drawing module is electrically connected to the surface data processing subsystem; the second terminal of the behavior tree drawing module is electrically connected to the behavior tree view switching module; the third terminal of the behavior tree drawing module is electrically connected to the behavior tree node editing module; and the fourth terminal of the behavior tree drawing module is electrically connected to the behavior tree node reuse module. The second terminal of the behavior tree node editing module is electrically connected to the hierarchical behavior tree editing module; the third terminal of the behavior tree node editing module is electrically connected to the data type management module; and the fourth terminal of the behavior tree node editing module is electrically connected to the storage data processing subsystem. The second terminal of the behavior tree node reuse module is electrically connected to the storage data processing subsystem. The project code construction module... The first end of the block is electrically connected to the surface data processing subsystem; the second end of the project code building module is electrically connected to the behavior tree project compilation module; the third end of the project code building module is electrically connected to the project installation module; the fourth end of the project code building module is electrically connected to the behavior tree project execution module; and the fifth end of the project code building module is electrically connected to the storage data processing subsystem. The first end of the behavior tree project execution module is electrically connected to the surface data processing subsystem; the second end of the behavior tree project compilation module is electrically connected to the surface data processing subsystem; and the second and third ends of the data type management module are electrically connected to the surface data processing subsystem and the storage data processing subsystem, respectively.

4. The data processing system for task structure design according to claim 1, characterized in that, The first and second ends of the node registry module are electrically connected to the functional data processing subsystem, and the third end of the node registry module is electrically connected to the surface data processing subsystem; the first end of the behavior tree project template module is electrically connected to the functional data processing subsystem; and the first end of the data type set module is electrically connected to the functional data processing subsystem.

5. The data processing system for task structure design according to claim 1, characterized in that, The toolbar module is adjacent to the project directory module and the behavior tree editing module; the project directory module is also adjacent to the behavior tree editing module and the node directory module; the node directory module is also adjacent to the behavior tree editing module and the compile and run output module; the behavior tree editing module is also adjacent to the compile and run output module.

6. The data processing system for task structure design according to claim 5, characterized in that, The toolbar module is positioned above the project directory module and the behavior tree editing module; the project directory module and the node directory module are positioned below the behavior tree editing module and the compile and run output module.

7. The data processing system for task structure design according to claim 1, characterized in that, The behavior tree editing module includes a behavior tree display unit, a behavior tree attribute bar unit, a node attribute bar unit, and a node editing window unit; wherein... Both the node attribute bar unit and the node editing window unit are electrically connected to the behavior tree display unit; the behavior tree display unit is located above the behavior tree attribute bar unit; the node attribute bar unit and the node editing window unit are internally located within the behavior tree display unit.

8. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores computer instructions, which, when invoked, are used to perform the functions of the data processing system for task structure design as described in any one of claims 1-7.

9. An electronic device, characterized in that, The electronic device includes a data processing system for mission structure design as described in any one of claims 1-7.

Citation Information

Patent Citations

  • Programming method and device, terminal equipment and storage medium

    CN112506503A

  • Reliable behavior tree task planning method and system based on human-computer interaction

    CN116010410A