Deep learning processing flow construction method and system based on visual editing

Through the deep learning processing process system based on visual editing, users can build and optimize deep learning processing processes without programming, solving the technical barriers and cost problems faced by enterprises in digital transformation, achieving lower technical thresholds, improved flexibility and Efficiency effect.

CN118860367APending Publication Date: 2024-10-29SHANDONG INSPUR SCI RES INST CO LTD
View PDF 0 Cites 1 Cited by

Patent Information

Application Number
CN202410952125.8
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-07-16
Publication Date
2024-10-29

AI Technical Summary

Technical Problem

When enterprises realize digital transformation, they face the problems of high barriers to deep learning technology, low participation, and insufficient demand satisfaction. The traditional development model is costly and difficult to respond quickly to market changes.

Method used

Provides a deep learning processing process construction method and system based on visual editing. Through an intuitive graphical interface and simple operation process, users can build and optimize deep learning processing processes without in-depth programming, including orchestrators, node libraries, connections The software management module, calculation graph generator, executor and debugger module generates JSON configuration information and dynamically creates deep learning processing work modules, supporting user-defined business logic and data flow.

Benefits of technology

It lowers the technical threshold, improves flexibility and efficiency, shortens the project development cycle, reduces labor costs, and enhances the scalability and maintainability of the system through a unified JSON configuration protocol and modular design.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118860367A_ABST
    Figure CN118860367A_ABST
Patent Text Reader

Abstract

The invention relates to the technical field of deep learning, and discloses a deep learning processing flow construction method and system based on visual editing, and the method comprises the steps: an composer module is used for analyzing the operation of a user through a graphical interface, and converting the operation into corresponding JSON configuration information; a series of nodes are defined in the node library; the connector management module is used for managing data streams among the nodes in a graphical interface; a computational graph generator automatically generates a computational graph representing complete business logic according to nodes and connection relations configured by a user in a graphical interface; the actuator module reads the JSON configuration information, and dynamically creates and runs a working module for deep learning processing according to the JSON configuration information; and the debugger module is used for carrying out positioning and reason analysis on problems in the execution process, and carrying out verification and debugging. The technical threshold can be lowered, the flexibility is improved, the efficiency is improved, and the maintainability is enhanced.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of deep learning and low-code development technology, and for example, to a method and system for constructing a deep learning processing flow based on visual editing. Background Art

[0002] With the rapid development of deep learning technology, its application in industry, production and life is becoming more and more extensive. However, when enterprises realize digital transformation, they often face problems such as high barriers to deep learning technology, low participation and insufficient demand satisfaction. The traditional development model that relies on external professional teams is not only costly, but also difficult to respond quickly to market changes. Therefore, it is particularly important to develop an easy-to-operate, flexible and efficient deep learning processing flow editing method.

[0003] It should be noted that the information disclosed in the above background technology section is only used to enhance the understanding of the background of the present application, and therefore may include information that does not constitute the prior art known to ordinary technicians in the field. Summary of the invention

[0004] In order to provide a basic understanding of some aspects of the disclosed embodiments, a brief summary is given below. The summary is not an extensive review, nor is it intended to identify key / critical components or delineate the scope of protection of these embodiments, but rather serves as a prelude to the detailed description that follows.

[0005] The disclosed embodiments provide a method and system for constructing a deep learning processing flow based on visual editing, which enables users to construct and optimize the deep learning processing flow without in-depth programming through an intuitive graphical interface and simple operation process.

[0006] In some embodiments, the system comprises:

[0007] The orchestrator module is used to parse the operations performed by the user through the graphical interface and convert these operations into corresponding JSON configuration information;

[0008] The node library defines a series of nodes, each of which represents an independent functional module in the field of deep learning;

[0009] A connector management module is used to manage the data flow between nodes in a graphical interface. The connector management module allows users to connect nodes through interface operations to indicate data flow direction and processing order;

[0010] The calculation graph generator automatically generates a calculation graph representing the complete business logic based on the nodes and connection relationships configured by the user in the graphical interface;

[0011] The executor module can read the JSON configuration information and dynamically create and run the deep learning processing working module based on the JSON configuration information;

[0012] The debugger module is used to locate and analyze the problems in the execution process, and provides verification and debugging functions to ensure the accuracy and stability of the deep learning processing flow.

[0013] Optionally, the granularity of the nodes is divided according to the independence of the tasks, and can be displayed through a graphical interface for user selection and use.

[0014] Optionally, nodes and connectors are displayed in the form of visual controls in a graphical interface, and users complete the combination and configuration of business processes through dragging and connecting operations.

[0015] Optionally, the JSON configuration information includes a user-defined deep learning processing flow, including node types, parameter settings, and connection relationships between nodes.

[0016] Optionally, the executor parses the JSON configuration information and dynamically builds and runs a deep learning inference engine based on the information to implement the specific execution of the AI ​​inference work.

[0017] In some embodiments, the method comprises:

[0018] The orchestrator parses the user's operations on the graphical interface and converts these operations into corresponding JSON configuration information;

[0019] Select nodes from a predefined node library;

[0020] Connect selected nodes in the graphical interface through connectors to indicate data flow direction and processing order, thereby managing data flow between nodes;

[0021] Automatically generate a calculation graph representing the complete business logic based on the nodes and connection relationships configured by the user in the graphical interface;

[0022] Use the executor to read the generated JSON configuration information and dynamically create and run the deep learning processing work module based on it;

[0023] During the execution process, the debugger is used to locate possible problems, analyze their causes, and provide verification and debugging functions to ensure the accuracy and stability of the deep learning processing flow.

[0024] Optionally, each node represents an independent functional module in deep learning, and these nodes are displayed in a graphical interface for users to select and configure.

[0025] The method and system for constructing a deep learning processing flow based on visual editing provided by the embodiments of the present disclosure can achieve the following technical effects:

[0026] Lower technical threshold: Through an intuitive graphical interface and simple operation process, the technical requirements for deep learning applications are reduced, allowing users to perform custom editing without programming knowledge.

[0027] Improve flexibility: Support users to flexibly define deep learning processing flow according to actual needs to meet diverse business needs.

[0028] Improve efficiency: shorten the project development cycle, improve the automation and intelligence level of the processing flow, and reduce labor costs.

[0029] Enhanced maintainability: The system's scalability and maintainability are improved through a unified JSON configuration protocol and modular design.

[0030] In summary, the method and system for visually editing deep learning processing flow proposed in the present invention have significant advantages in lowering technical barriers, improving flexibility, improving efficiency and enhancing maintainability, and provide strong support for the digital transformation of enterprises.

[0031] The above general description and the following description are exemplary and explanatory only and are not intended to limit the present application. BRIEF DESCRIPTION OF THE DRAWINGS

[0032] One or more embodiments are exemplarily described by corresponding drawings, which do not limit the embodiments. Elements with the same reference numerals in the drawings are shown as similar elements, and the drawings do not constitute a scale limitation, and wherein:

[0033] Figure 1 is a schematic diagram of a deep learning processing flow construction process provided by an embodiment of the present disclosure;

[0034] Figure 2 is a schematic diagram of a template provided by an embodiment of the present disclosure;

[0035] Figure 3 It is another template schematic diagram provided by an embodiment of the present disclosure. DETAILED DESCRIPTION

[0036] In order to be able to understand the features and technical contents of the embodiments of the present disclosure in more detail, the implementation of the embodiments of the present disclosure is described in detail below in conjunction with the accompanying drawings. The attached drawings are for reference only and are not used to limit the embodiments of the present disclosure. In the following technical description, for the convenience of explanation, a full understanding of the disclosed embodiments is provided through multiple details. However, one or more embodiments can still be implemented without these details. In other cases, to simplify the drawings, well-known structures and devices can be simplified for display.

[0037] The terms "first", "second", etc. in the embodiments of the present disclosure are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the terms used in this way can be interchanged where appropriate, so as to describe the embodiments of the present disclosure described herein. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions.

[0038] Unless otherwise stated, the term "plurality" means two or more.

[0039] In the embodiment of the present disclosure, the character " / " indicates that the preceding and following objects are in an "or" relationship. For example, A / B indicates: A or B.

[0040] The term "and / or" is a description of the association relationship between objects, indicating that three relationships can exist. For example, A and / or B means: A or B, or, A and B.

[0041] The term "correspondence" may refer to an association relationship or a binding relationship. The correspondence between A and B means that there is an association relationship or a binding relationship between A and B.

[0042] The present invention proposes a method and system for constructing a deep learning processing flow based on visual editing. Through an intuitive graphical interface and simple operation process, users can construct and optimize the deep learning processing flow without in-depth programming.

[0043] The main technical solution of the present invention includes the following parts:

[0044] Visual editing system architecture: This invention proposes a visual editing system architecture consisting of an orchestrator, an executor, and a debugger. The orchestrator is responsible for parsing the operations performed by the user through the interface and generating the corresponding JSON configuration file; the executor creates a deep learning inference engine based on the JSON configuration file and performs the actual processing tasks; the debugger is used to locate, analyze, and solve problems, including the verification of related functions and rule processes.

[0045] Node-based design: The system uses the concept of nodes to represent functional modules in deep learning, such as detection, classification, and recognition. Reasonable division of node granularity ensures the flexibility of business logic and improves the reusability of modules.

[0046] Connector management: Connectors are used to manage the data flow between nodes. Directed lines are used to represent data flow. Data flows from the outgoing node to the next one or more processing nodes. The next node takes out the corresponding data to be processed from the input data flow for processing. Corresponding attribute fields can be added to the connector to indicate that the information from the previous node flows into the next node, which is mainly used for data processing at the next node. Users are supported to customize data processing paths and add attribute fields to meet complex data processing requirements.

[0047] Computational graph visualization: The computational graph composed of nodes and connectors intuitively displays the entire deep learning processing flow, making it easier for users to understand and adjust.

[0048] JSON configuration protocol: The front-end and back-end interact through a unified JSON format, which simplifies the data exchange process and improves the scalability and maintainability of the system. In the front-end page, there are controls corresponding to the nodes and connectors in the back-end deep learning. The combination of business processes is achieved by dragging and dropping the controls on the front-end operation interface. After the front-end interface is combined, click the corresponding export button to generate the corresponding JSON configuration file. At this point, the development and combination of the process module have been completed. During actual execution, the executor reads the JSON configuration file and generates the corresponding deep learning inference engine. The underlying deep learning inference engine is a concrete representation of the abstract semantics of the interface and is the actual AI inference workflow.

[0049] The following is the JSON configuration generated based on the interface operation Figure 1 Use templates in different situations.

[0050]

[0051]

[0052] Figure 2This is a usage template generated based on interface operation. The specific process is as follows: the input data is sent to node 1 and node 2 at the same time, node 2 is then connected to node 3, and node 1 and node 3 are merged and sent to node 4 for processing. Node 1 and node 2 are both detection tasks, but due to different detection targets and detection models, different detection nodes are used. For example, node 1 is a head and shoulder detection task, node 2 is a human body detection task, and node 3 is a classification task. For the human body detection target output by node 2, corresponding classification is performed, such as whether the human body is wearing normally. Finally, the data from node 1 and node 3 are sent to node 4 for relevant association analysis and event processing, and then the relevant alarm logic is processed.

[0053] Figure 3 It is an arrangement template based on image comparison and detection + classification. It can be used to filter image comparison results that do not match the detection target. For example, in a construction site, it is necessary to detect whether there are irrelevant targets. The combination of detection and classification is used to detect the targets appearing on the construction site. Image comparison can detect the presence of unexpected targets such as construction vehicles on the construction site, and filter the targets that should be on a normal construction site.

[0054] In some cases, in order to solve the problem of small targets being difficult to detect, a two-stage detection method can be used to implement relevant logic. For example, human body or head and shoulders detection is first performed, and then the image is cut out based on the results of human body or head and shoulders detection. Then, the second stage detection of small targets such as smoking is performed, which effectively improves the detection capability of small targets.

[0055] The templates mentioned above are all redesigns of fixed process businesses to meet the needs of some customized scenarios. The design-based visual design can easily realize the orchestration of the above business processes, shorten the delivery cycle of related projects, meet more scenario-based and customized needs, and reduce related human cost investment and repetitive work development.

[0056] In actual use: For example, in the intelligent security monitoring system of a large shopping mall, the visual editing method of the present invention was used to enable the mall security team to quickly build an abnormal behavior detection and alarm process based on deep learning. Through the orchestrator, the security team connected the monitoring video stream to the system, and dragged nodes and connectors to define the processing flow from video input to abnormal behavior detection and then to alarm output. The executor automatically created an inference engine based on the generated JSON configuration, realizing real-time analysis of the monitoring video. The debugger helped the team optimize the performance and accuracy of the processing flow and improved the intelligence level of security monitoring.

[0057] Alternatively, in the process of manufacturing automobile parts, the method of the present invention is used to build an automatic product quality detection system. The technicians define the complete process from image acquisition to defect detection, classification and recording through the orchestrator. The actuator creates an efficient deep learning model based on the configuration and realizes real-time monitoring of product quality. The debugger assists in solving problems in the processing flow and improves production efficiency and product quality.

[0058] The method and system of the deep learning processing flow based on visual editing of the present invention have the following beneficial effects:

[0059] Lower technical threshold: Through an intuitive graphical interface and simple operation process, the technical requirements for deep learning applications are reduced, allowing users to perform custom editing without programming knowledge.

[0060] Improve flexibility: Support users to flexibly define deep learning processing flow according to actual needs to meet diverse business needs.

[0061] Improve efficiency: shorten the project development cycle, improve the automation and intelligence level of the processing flow, and reduce labor costs.

[0062] Enhanced maintainability: The system's scalability and maintainability are improved through a unified JSON configuration protocol and modular design.

[0063] In summary, the method and system for visually editing deep learning processing flow proposed in the present invention have significant advantages in lowering technical barriers, improving flexibility, improving efficiency and enhancing maintainability, and provide strong support for the digital transformation of enterprises.

[0064] The above description and accompanying drawings fully illustrate the embodiments of the present disclosure so that those skilled in the art can practice them. Other embodiments may include structural, logical, electrical, process and other changes. The embodiments represent possible changes only. Unless explicitly required, separate components and functions are optional, and the order of operation may vary. The parts and features of some embodiments may be included in or replace the parts and features of other embodiments. Moreover, the words used in this application are only used to describe the embodiments and are not used to limit the scope of protection. As used in the description in the text, unless the context clearly indicates, the singular forms of "a", "an" and "the" are intended to include plural forms as well. Similarly, the term "and / or" as used in this application refers to any and all possible combinations of listings containing one or more associated ones. In addition, when used in the present application, the term "comprise" and its variants "comprises" and / or comprising refer to the presence of stated features, wholes, steps, operations, elements, and / or components, but do not exclude the presence or addition of one or more other features, wholes, steps, operations, elements, components and / or groups thereof. In the absence of further restrictions, the elements defined by the sentence "comprising a ..." do not exclude the presence of other identical elements in the process, method or device comprising the elements. In this article, each embodiment may focus on the differences from other embodiments, and the same and similar parts between the embodiments may refer to each other. For the methods, products, etc. disclosed in the embodiments, if they correspond to the method part disclosed in the embodiments, then the relevant parts can refer to the description of the method part.

[0065] Those skilled in the art will appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software may depend on the specific application and design constraints of the technical solution. The technicians may use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of the embodiments of the present disclosure. The technicians may clearly understand that for the convenience and simplicity of description, the specific working processes of the systems, devices and units described above can refer to the corresponding processes in the aforementioned method embodiments, and will not be repeated here.

[0066] In the embodiments disclosed herein, the disclosed methods and products (including but not limited to devices, equipment, etc.) can be implemented in other ways. For example, the device embodiments described above are only schematic. For example, the division of the units can be only a logical function division. There may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. In addition, the coupling or direct coupling or communication connection between each other shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms. The units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they may be located in one place, or they may be distributed on multiple network units. Some or all of the units may be selected according to actual needs to implement this embodiment. In addition, each functional unit in the embodiment of the present disclosure may be integrated in a processing unit, or each unit may exist physically alone, or two or more units may be integrated in one unit.

[0067] The flowchart and block diagram in the accompanying drawings show the possible architecture, function and operation of the system, method and computer program product according to the embodiment of the present disclosure. In this regard, each box in the flowchart or block diagram can represent a module, a program segment or a part of the code, and the module, the program segment or a part of the code contains one or more executable instructions for realizing the specified logical function. In some alternative implementations, the functions marked in the box can also occur in a different order from the order marked in the accompanying drawings. For example, two consecutive boxes can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, which can depend on the functions involved. In the description corresponding to the flowchart and the block diagram in the accompanying drawings, the operations or steps corresponding to different boxes can also occur in a different order from the order disclosed in the description, and sometimes there is no specific order between different operations or steps. For example, two consecutive operations or steps can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, which can depend on the functions involved. Each block in the block diagrams and / or flowcharts, and combinations of blocks in the block diagrams and / or flowcharts, may be implemented by a dedicated hardware-based system that performs the specified functions or actions, or may be implemented by a combination of dedicated hardware and computer instructions.

Claims

1. A system for deep learning processing flow based on visual editing, characterized in that: include: The orchestrator module is used to parse the operations performed by the user through the graphical interface and convert these operations into corresponding JSON configuration information; The node library defines a series of nodes, each of which represents an independent functional module in the field of deep learning; A connector management module is used to manage the data flow between nodes in a graphical interface. The connector management module allows users to connect nodes through interface operations to indicate data flow direction and processing order; The calculation graph generator automatically generates a calculation graph representing the complete business logic based on the nodes and connection relationships configured by the user in the graphical interface; The executor module reads the JSON configuration information and dynamically creates and runs the deep learning processing working module based on the JSON configuration information; The debugger module is used to locate and analyze the problems in the execution process, and provides verification and debugging functions to ensure the accuracy and stability of the deep learning processing flow.

2. The system according to claim 1, characterized in that The granularity of the nodes is divided according to the independence of the tasks, and can be displayed through a graphical interface for user selection and use.

3. The system according to claim 1, characterized in that The nodes and connectors are displayed in the form of visual controls in the graphical interface, and the user completes the combination and configuration of the business process through dragging and connecting operations.

4. The system according to claim 1, characterized in that The JSON configuration information contains the user-defined deep learning processing flow, including the type of nodes, parameter settings, and connection relationships between nodes.

5. The system according to claim 1, characterized in that The executor parses the JSON configuration information and dynamically builds and runs the deep learning inference engine based on the information to implement the specific execution of AI inference work.

6. A method for deep learning processing flow based on visual editing, characterized in that: include: The orchestrator parses the user's operations on the graphical interface and converts these operations into corresponding JSON configuration information; Select nodes from a predefined node library; Connect selected nodes in the graphical interface through connectors to indicate data flow direction and processing order, thereby managing data flow between nodes; Automatically generate a calculation graph representing the complete business logic based on the nodes and connection relationships configured by the user in the graphical interface; Use the executor to read the generated JSON configuration information and dynamically create and run the deep learning processing work module based on it; During the execution process, the debugger is used to locate possible problems, analyze their causes, and provide verification and debugging functions to ensure the accuracy and stability of the deep learning processing flow.

7. The method according to claim 6, characterized in that Each node represents an independent functional module in deep learning, and these nodes are displayed in a graphical interface for users to select and configure.

Citation Information

Cited By

  • Deep learning model code generation method and system based on JSON

    CN119356663A