Industrial flow chart component management method and system and electronic equipment
By obtaining and storing the composition structure and attribute information of the target components in the industrial flowchart design interface, the automatic creation and repeated calls of components are realized, solving the problem of resource waste in traditional industrial process design and improving design efficiency.
Patent Information
- Application Number
- CN202411879790.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-12-19
- Publication Date
- 2025-03-28
AI Technical Summary
In the field of industrial automation, in traditional industrial process design, modules with the same or similar functions need to be repeatedly developed, resulting in waste of resources.
Provide an industrial flowchart component management method, obtaining the composition structure and attribute information of the target component through the component design interface, and associate it and store it as a target component that can be called repeatedly, realizing the automatic creation and repeated calls of components.
It avoids the waste of resources caused by repeated creation of modules with similar functions, improves the efficiency of building industrial flow charts, and saves module creation resources.
Smart Images

Figure CN119720426A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of industrial automation, and in particular to an industrial flow chart component management method, system and electronic equipment. Background Art
[0002] In the field of industrial automation, industrial flow charts, as a widely used graphical representation tool, are often used to describe and control complex industrial production processes.
[0003] In traditional industrial process design, if there are similar functional modules in the same flowchart, different flowcharts, or even different projects, repeated development is required, which leads to the problem of waste of resources. Summary of the invention
[0004] In view of this, the present application provides an industrial flow chart component management method, system and electronic device, and the specific scheme is as follows:
[0005] An industrial process flow chart component management method, comprising:
[0006] Obtain component design requests;
[0007] In response to the component design request, displaying a component design interface;
[0008] Obtaining a component structure of a target component consisting of at least two graphic elements in the component design interface;
[0009] Obtaining at least attribute information of the target component in the component design interface;
[0010] At least the composition structure of the target component is associated with the attribute information of the target component and stored as a target component that can be repeatedly called.
[0011] Furthermore, it also includes:
[0012] In response to a dragging action, the first target component specified by the dragging action is called to the first position of the industrial flowchart construction interface, the first target component is displayed at the first position, and the attribute information and function information of the first target component are loaded. The first target component is one of the target components that can be repeatedly called.
[0013] Furthermore, it also includes:
[0014] Obtaining a property adjustment request for the first target component;
[0015] If it is determined that the attribute information of the first target component includes a configurable attribute, displaying an adjustment interface for the configurable attribute of the first target component;
[0016] The adjustment data is obtained in the adjustment interface, and the configurable property of the first target component is adjusted based on the adjustment data.
[0017] Further, the obtaining of the property adjustment request for the first target component includes at least one of the following:
[0018] Obtaining, on the component design interface, a property adjustment request for the first target component, where the first target component is a stored target component that can be repeatedly called;
[0019] A property adjustment request for the first target component is obtained on the industrial flowchart construction interface, where the first target component is a target component that has been called to the industrial flowchart construction interface.
[0020] Furthermore, it also includes:
[0021] Get a specific action;
[0022] In response to the specific action, the second target component specified by the specific action is nested with the third target component to obtain a fourth target component obtained after the nesting.
[0023] Furthermore, it also includes:
[0024] storing the fourth target component as a target component that can be repeatedly called;
[0025] and / or,
[0026] The fourth target component is displayed on the industrial process diagram construction interface to construct the industrial process diagram using at least the fourth target component.
[0027] Furthermore,
[0028] The second target component is a stored target component that can be repeatedly called;
[0029] The third target component is a stored target component that can be repeatedly called, or one or more graphic elements.
[0030] An industrial process flow chart component management system, comprising:
[0031] A first obtaining unit, used for obtaining a component design request;
[0032] A display unit, configured to display a component design interface in response to the component design request;
[0033] A second obtaining unit, used for obtaining a component structure of a target component composed of at least two graphic elements on the component design interface;
[0034] A third obtaining unit, configured to obtain at least attribute information of the target component in the component design interface;
[0035] The storage unit is used to at least associate the composition structure of the target component with the attribute information of the target component and store them as a target component that can be repeatedly called.
[0036] Furthermore, it also includes:
[0037] A calling unit is used to call the first target component specified by the dragging action to the first position of the industrial flowchart construction interface in response to the dragging action, display the first target component at the first position, and load the attribute information and function information of the first target component. The first target component is one of the target components that can be repeatedly called.
[0038] An electronic device, comprising:
[0039] monitor;
[0040] A processor is used to obtain a component design request; in response to the component design request, display a component design interface through the display; obtain a composition structure of a target component composed of at least two graphic elements on the component design interface; obtain at least attribute information of the target component on the component design interface; at least associate the composition structure of the target component with the attribute information of the target component, and store them as a target component that can be repeatedly called.
[0041] It can be seen from the above technical scheme that the industrial flowchart component management method, system and electronic device disclosed in the present application obtain a component design request; in response to the component design request, display a component design interface; obtain the composition structure of the target component composed of at least two graphic elements in the component design interface; obtain at least the attribute information of the target component in the component design interface; at least associate the composition structure of the target component with the attribute information of the target component, and store it as a target component that can be repeatedly called. This scheme can obtain the composition structure of the target component composed of at least two graphic elements and the attribute information of the target component in the component design interface, associate the composition structure and attribute information of the target component, and store it as a target component that can be repeatedly called, realize automatic creation of components, and can be repeatedly called, avoid the problem of resource waste caused by the need to repeatedly create modules with similar functions during the industrial flowchart design process, improve the construction efficiency of industrial flowcharts, and save module creation resources. BRIEF DESCRIPTION OF THE DRAWINGS
[0042] In order to more clearly illustrate the technical solutions in the embodiments of the present application or the related technologies, the drawings required for use in the embodiments or the related technical descriptions are briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0043] Figure 1 A flowchart of an industrial process flow chart component management method disclosed in an embodiment of the present application;
[0044] Figure 2 A schematic diagram of a component design interface of a component designer disclosed in an embodiment of the present application;
[0045] Figure 3 A flowchart of an industrial process flow chart component management method disclosed in an embodiment of the present application;
[0046] Figure 4 A schematic diagram of calling a component in a component library to an industrial flow chart construction interface disclosed in an embodiment of the present application;
[0047] Figure 5 A schematic diagram of an adjustment interface for displaying a configurable property of a first target component in response to a property adjustment request for the first target component disclosed in an embodiment of the present application;
[0048] Figure 6 A flowchart of an industrial process flow chart component management method disclosed in an embodiment of the present application;
[0049] Figure 7 A schematic diagram of the structure of an industrial process flow chart component management system disclosed in an embodiment of the present application;
[0050] Figure 8 A schematic diagram of the structure of an electronic device disclosed in an embodiment of the present application. DETAILED DESCRIPTION
[0051] The following describes the embodiments of the present application in conjunction with the drawings in the embodiments of the present application. The terms used in the implementation method section of the present application are only used to explain the specific embodiments of the present application, and are not intended to limit the present application.
[0052] The embodiments of the present application are described below in conjunction with the accompanying drawings. Those skilled in the art will appreciate that, with the development of technology and the emergence of new scenarios, the technical solutions provided in the embodiments of the present application are also applicable to similar technical problems.
[0053] The terms "first", "second", etc. in the specification and claims of the present application and the above-mentioned drawings are used to distinguish similar objects, and need not be used to describe a specific order or sequential order. It should be understood that the terms used in this way can be interchangeable under appropriate circumstances, which is only to describe the distinction mode adopted by the objects of the same attributes when describing in the embodiments of the present application. In addition, the terms "including" and "having" and any of their variations are intended to cover non-exclusive inclusions, so that the process, method, system, product or equipment comprising a series of units need not be limited to those units, but may include other units that are not clearly listed or inherent to these processes, methods, products or equipment.
[0054] The present application discloses an industrial process flow chart component management method, wherein the process flow chart is as follows: Figure 1 As shown, including:
[0055] Step S11, obtaining a component design request;
[0056] Step S12: In response to the component design request, display the component design interface;
[0057] Step S13, obtaining a component structure of a target component composed of at least two graphic elements in a component design interface;
[0058] Step S14: obtaining at least attribute information of the target component in the component design interface;
[0059] Step S15: at least associate the composition structure of the target component with the attribute information of the target component, and store them as a target component that can be repeatedly called.
[0060] In the field of industrial automation, industrial flow charts, as a widely used graphical representation tool, are often used to describe and control complex industrial production processes.
[0061] Graphics are the basic building blocks in industrial process diagrams, including symbols, connecting lines, nodes, etc. Graphics can be dynamically adjusted during the rendering process according to the style attributes of the defined theme application.
[0062] An industrial flow chart is composed of a series of graphic elements. Each graphic element or any combination of graphic elements represents a specific device or operation. By connecting these graphic elements and combinations in a specific logical order to represent data flow, signal transmission or control relationships, the timing and operation sequence between different modules in the industrial system are defined, and a complete industrial flow chart can be formed.
[0063] In traditional industrial process design, if there are similar functional modules in the same flowchart, different flowcharts, or even different projects, repeated development is required, which leads to the problem of waste of resources.
[0064] In order to solve this problem, the present solution can design and store target components that can be called repeatedly, and the target component is composed of at least two graphic elements. When the target component needs to be called repeatedly in the industrial flow chart, the target component can be called directly multiple times without separately calling and combining the at least two graphic elements that constitute the target component, thereby improving the design efficiency of the industrial flow chart and saving the creation resources of each module in the industrial flow chart.
[0065] Design the industrial flowchart in the industrial flowchart design interface. During the industrial flowchart design process, if a target component is needed, the target component can be designed and stored so that it can be called during the industrial flowchart design process; or, before designing the industrial flowchart, it is determined that a target component needs to be created. At this time, open the industrial flowchart design interface, and design and store the target component in the industrial flowchart design interface so that it can be called later in the industrial flowchart design process.
[0066] That is, when a component design request is obtained, the user may or may not be in the industrial flowchart design interface. If the user is currently in the industrial flowchart design interface, the component design interface is directly displayed in the industrial flowchart design interface in response to the component design request, and the component design is performed in the component design interface; if the user is not currently in the industrial flowchart design interface, the industrial flowchart design interface is directly opened in response to the component design request, and after opening the industrial flowchart design interface, the component design interface is opened, and the component design is performed in the component design interface.
[0067] When designing a component in the component design interface, you must first build the composition structure of the target component, that is, combine at least two graphics elements to form the component structure of the target component, such as: combining the first graphics element, the second graphics element and the third graphics element to obtain the component structure of the first component.
[0068] In the component design interface, it is also necessary to obtain the attribute information of the target component, such as: the target component's ID, name, type, primitive composition, basic style, visibility, filling, border and other attributes. For example, a target component may have filling or no border, or it may also include: size, color, etc.
[0069] In addition, the functional information of the target component can also be obtained in the component design interface, that is, the function of the target component can be set, such as: a certain target component can realize the function of transmitting data streams.
[0070] After obtaining the composition structure and attribute information of the target component, the composition structure and attribute information are associated and stored as a target component that can be repeatedly called. The designed target component can be stored in a component library, and when needed, the required component can be directly called from the component library.
[0071] The design of components in the industrial flowchart component management method disclosed in this embodiment can be implemented by the component designer in the industrial flowchart designer, that is, when a component design request is obtained, the component design interface of the component designer is displayed, and the component design is performed on the component design interface.
[0072] like Figure 2 As shown in the figure, it is a schematic diagram of the component design interface of the component designer. Figure 2 At least two primitives for constituting the target component are obtained from the left side of , and the constituent structure of the target component is obtained by combining the at least two primitives obtained, Figure 2 The right side of the target component is used to obtain the property information of the target component, which is the open property configuration part of the component design interface. The open properties are the basic properties of the primitives in the component, including the primitive's fill color, border style, text content, font size, etc. These basic properties can be assigned to achieve personalized customization of the component structure to meet specific needs in different scenarios. Of course, the property information configured for the target component can also include other properties, which are not specifically limited here.
[0073] After the target component is designed, it is stored in the component library. Each component stored in the component library can be called repeatedly. When the industrial process diagram is constructed, the industrial process construction interface is displayed. There is a part of the area on the displayed industrial process construction interface for displaying the component library, so that when a component needs to be called, it can be called directly from the displayed component library.
[0074] The industrial flowchart component management method disclosed in this embodiment obtains a component design request; in response to the component design request, displays a component design interface; obtains a composition structure of a target component composed of at least two graphic elements on the component design interface; obtains at least the attribute information of the target component on the component design interface; at least associates the composition structure of the target component with the attribute information of the target component, and stores it as a target component that can be repeatedly called. This solution can obtain a composition structure of a target component composed of at least two graphic elements and the attribute information of the target component on the component design interface, associate the composition structure of the target component with the attribute information, and store it as a target component that can be repeatedly called, thereby realizing automatic creation of components and being able to be repeatedly called, avoiding the problem of resource waste caused by the need to repeatedly create modules with similar functions during the industrial flowchart design process, improving the construction efficiency of industrial flowcharts, and saving module creation resources.
[0075] This embodiment discloses an industrial process flow chart component management method, wherein the process flow chart is as follows: Figure 3 As shown, including:
[0076] Step S31, obtaining a component design request;
[0077] Step S32: In response to the component design request, display the component design interface;
[0078] Step S33, obtaining a component structure of a target component composed of at least two graphic elements in a component design interface;
[0079] Step S34, obtaining at least attribute information of the target component in the component design interface;
[0080] Step S35: at least associate the composition structure of the target component with the attribute information of the target component, and store them as a target component that can be repeatedly called;
[0081] Step S36, in response to the dragging action, calling the first target component specified by the dragging action to the first position of the industrial flowchart construction interface, displaying the first target component at the first position, loading the attribute information and function information of the first target component, the first target component is one of the target components that can be repeatedly called.
[0082] After the target component design is completed, it can be stored in the component library. The component library can store multiple designed target components and multiple graphic elements. Alternatively, the graphic elements are stored in the graphic element library, and the component library only stores multiple designed target components.
[0083] During the process of building an industrial flowchart, the industrial flowchart building interface is displayed. If a graphic element needs to be called, the graphic element is called from the graphic element library or component library to the industrial flowchart building interface. The calling process can be performed by the user to perform a drag action. The system (i.e., the industrial flowchart component management system corresponding to the industrial flowchart component management method disclosed in this embodiment) responds to the drag action and calls the graphic element corresponding to the drag action to the industrial flowchart building interface, so as to adjust or perform other operations on the graphic element displayed on the industrial flowchart building interface;
[0084] If a target component in the component library needs to be called, such as the first target component, the system is used to perform a drag action on the first target component. In response to the drag action, the system calls the first target component to the industrial flowchart construction interface so that the first target component can be displayed on the industrial flowchart construction interface to adjust the position, size, attributes and other parameters of the first target component. After all the required components and graphics are called, they are combined to form an industrial flowchart. Figure 4 The figure shows a schematic diagram of calling components in a component library to an industrial flow chart construction interface.
[0085] Furthermore, after calling the first target component in the component library to the industrial flow chart construction interface, the properties of the first target component are adjusted, which may be specifically as follows:
[0086] Obtain a property adjustment request for a first target component; if it is determined that the property information of the first target component includes configurable properties, display an adjustment interface for the configurable properties of the first target component; obtain adjustment data on the adjustment interface, and adjust the configurable properties of the first target component based on the adjustment data.
[0087] That is, at least one target component is called on the industrial flowchart construction interface. At this time, a property adjustment request for the first target component is obtained. The first target component is one of the target components that have been called on the industrial flowchart construction interface. In response to the property adjustment request, it is necessary to first determine whether the first target component corresponding to the property adjustment request has configurable properties, that is, determine whether the property information of the first target component includes properties that can adjust the property information.
[0088] Among them, the attribute information of each target component stored in the target library includes fixed attribute information, that is, non-configurable attribute information, and the data in the fixed attribute information cannot be adjusted; in addition, the attribute information of the target component stored in the target library can also include configurable attributes, that is, attribute information that can be adjusted.
[0089] After obtaining the property adjustment request for the first target component, if it is determined that the first target component does not have configurable properties, then there is no need to respond to the property adjustment request, and it can be directly ignored, or a prompt message of non-adjustable properties is output; if it is determined that the first target component has configurable properties, an adjustment interface for the configurable properties of the first target component needs to be displayed, in which all adjustable property information in the property information of the first target component is displayed, that is, all configurable properties are displayed, so as to obtain the required property information. Figure 5 FIG. 1 is a schematic diagram showing an adjustment interface for configurable properties of a first target component in response to a property adjustment request for the first target component. Figure 5 The first target component in the , can adjust the size and fill color of the component.
[0090] In addition, the properties of the target component can also be adjusted in the component design interface, that is, the target component is designed in the component design interface, and the target component is stored in the component library so that the target component can be called repeatedly. During this process, a target component can be called from the component library and its properties can be adjusted.
[0091] That is, a property adjustment request for the first target component in the component library is obtained on the component design interface. The first target component is a target component that has been stored in the component library and can be repeatedly called. At this time, in response to the property adjustment request, an adjustment interface for the configurable properties of the first target component can be displayed on the component design interface, and adjustment data can be obtained on the adjustment interface so as to adjust the configurable properties of the first target component based on the adjustment data, and update the adjusted configurable properties to the first target component in the component library.
[0092] It should be noted that if the property adjustment request for the first target component is obtained in the industrial flowchart construction interface, then, at this time, the adjustment of the configurable properties of the first target component is only applied in the current industrial flowchart, and the configurable properties of the first target component stored in the component library will not be updated; if the property adjustment request for the first target component is obtained in the component design interface, then, at this time, the adjustment of the configurable properties of the first target component is an adjustment of the configurable properties of the first target component stored in the component library, that is, the property information of the first target component stored in the component library will be updated.
[0093] The industrial flowchart component management method disclosed in the present embodiment obtains a component design request; displays a component design interface in response to the component design request; obtains a composition structure of a target component composed of at least two graphic elements in the component design interface; obtains at least the attribute information of the target component in the component design interface; at least associates the composition structure of the target component with the attribute information of the target component, and stores them as a target component that can be repeatedly called; in response to a drag action, calls a first target component specified by the drag action to a first position of an industrial flowchart construction interface, displays the first target component at the first position, and loads the attribute information and function information of the first target component, wherein the first target component is one of the target components that can be repeatedly called. This solution obtains the composition structure and attribute information of the target component in the component design interface, and associates the obtained information and stores it as a target component that can be repeatedly called. When there is a drag action, in response to the drag action, the first target component specified by the drag action is called to the first position of the industrial flowchart construction interface to realize the call of the first target component, thereby realizing repeated calls to the first target component. Moreover, after the first target component is called, the attribute information and function information of the first target component can also be recorded to ensure the normal use of the first target component in the industrial flowchart. The industrial flowchart can be quickly called by dragging the action to build the component, which greatly simplifies the creation and modification process of the flowchart, thereby reducing the time and cost of design and deployment.
[0094] This embodiment discloses an industrial process flow chart component management method, wherein the process flow chart is as follows: Figure 6 As shown, including:
[0095] Step S61, obtaining a component design request;
[0096] Step S62: In response to the component design request, display the component design interface;
[0097] Step S63, obtaining a component structure of a target component composed of at least two graphic elements in a component design interface;
[0098] Step S64, obtaining at least attribute information of the target component in the component design interface;
[0099] Step S65: at least associate the composition structure of the target component with the attribute information of the target component, and store them as a target component that can be repeatedly called;
[0100] Step S66: obtaining a specific action;
[0101] Step S67: In response to the specific action, the second target component specified by the specific action is nested with the third target component to obtain a fourth target component obtained after nesting.
[0102] In the component design interface, the composition structure of the target component composed of at least two graphics elements and the attribute information of the target component are obtained, the composition structure is associated with the attribute information, and stored as a target component that can be repeatedly called, and stored in the component library.
[0103] A plurality of target components are stored in the component library. In order to obtain a more complex target component, at least two target components in the component library may be nested together to form a new target component.
[0104] Specifically, a specific action is obtained, and the specific action is performed on at least two target components. After obtaining the specific action performed on at least two target components, in response to the specific action, at least two target components are controlled to be nested together. For example, if the specific action is performed on the second target component and the third target component, then the specific action specifies the second target component and the third target component. In response to the specific action, the second target component and the third target component are nested to obtain a fourth target component.
[0105] The structure of the fourth target component is more complex than that of the second target component and the third target component. The attribute information of the fourth target component can be a combination of the attribute information of the second target component and the third target component, or it can be a reset of the attribute information of the fourth target component, which is unrelated to the attribute information of the second target component and the attribute information of the third target component.
[0106] After the fourth target component is obtained, the fourth target component may be stored in a component library so that the fourth target component can be repeatedly called, thereby saving design resources of the target component.
[0107] Alternatively, the second target component and the third target component are nested on the industrial flowchart construction interface. Then, the fourth target component obtained after the nesting is displayed on the industrial flowchart construction interface. At this time, the fourth target component can be directly applied on the industrial flowchart construction interface to use the fourth target component and other target components to construct an industrial flowchart.
[0108] On the basis of displaying and applying the fourth target component on the industrial flowchart construction interface, the fourth target component may not be stored in the component library, that is, the fourth target component is not stored as a target component that can be repeatedly called, that is, the probability of the fourth target component being repeatedly called is low, then the fourth target component only needs to be applied on the industrial flowchart construction interface; or, if the probability of the fourth target component being repeatedly called is high, then while applying the fourth target component on the industrial flowchart construction interface, the fourth target component also needs to be stored in the component library so that the fourth target component can be repeatedly called.
[0109] The probability of the fourth target component being called may be determined based on historical data, or based on a network data query, and of course, may also be determined based on the work experience of the staff.
[0110] In addition, the fourth target component is obtained by nesting the second target component and the third target component. In this case, the second target component and the third target component can both be target components in a component library that can be repeatedly called, that is, the second target component and the third target component are both target components constructed by at least two primitives. In this case, the third target component is nested with the second target component to obtain a target component with a more complex structure.
[0111] Alternatively, the second target component may be a target component in a component library that can be repeatedly called, and the third target component may be a single graphic element, or multiple single graphic elements. In this case, the fourth target component is obtained by nesting a target component consisting of at least two graphic elements and at least one independent graphic element.
[0112] The industrial flow chart component management method disclosed in this embodiment obtains a component design request; in response to the component design request, displays a component design interface; obtains a composition structure of a target component composed of at least two graphic elements on the component design interface; obtains at least the attribute information of the target component on the component design interface; associates at least the composition structure of the target component with the attribute information of the target component, and stores it as a target component that can be repeatedly called; obtains a specific action; in response to the specific action, nests the second target component specified by the specific action with the third target component to obtain a fourth target component obtained after the nesting. After designing the target component on the component design interface and storing it as a target component that can be repeatedly called, this solution can obtain a specific action, and nest the second target component specified by the specific action with the third target component to obtain a fourth target component, so as to achieve component nesting and construction of complex components.
[0113] This embodiment discloses an industrial process flow chart component management system, and its structural diagram is as follows: Figure 7 As shown, including:
[0114] A first obtaining unit 71 , a display unit 72 , a second obtaining unit 73 , a third obtaining unit 74 and a storage unit 75 .
[0115] Wherein, the first obtaining unit 71 is used to obtain a component design request;
[0116] The display unit 72 is used to display a component design interface in response to a component design request;
[0117] The second obtaining unit 73 is used to obtain the component structure of the target component composed of at least two graphic elements in the component design interface;
[0118] The third obtaining unit 74 is used to obtain at least the attribute information of the target component in the component design interface;
[0119] The storage unit 75 is used to at least associate the composition structure of the target component with the attribute information of the target component, and store them as a target component that can be repeatedly called.
[0120] Furthermore, the industrial process flow chart component management system disclosed in this embodiment may also include:
[0121] A calling unit is used to call the first target component specified by the dragging action to the first position of the industrial flowchart construction interface in response to the dragging action, display the first target component at the first position, and load the attribute information and function information of the first target component. The first target component is one of the target components that can be repeatedly called.
[0122] Furthermore, the industrial process flow chart component management system disclosed in this embodiment may also include:
[0123] A property adjustment unit is used to obtain a property adjustment request for a first target component; if it is determined that the property information of the first target component includes configurable properties, an adjustment interface for the configurable properties of the first target component is displayed; adjustment data is obtained on the adjustment interface, and the configurable properties of the first target component are adjusted based on the adjustment data.
[0124] Furthermore, the attribute adjustment unit is used to:
[0125] A property adjustment request for a first target component is obtained in the component design interface, where the first target component is a stored target component that can be repeatedly called; or, a property adjustment request for a first target component is obtained in the industrial flowchart construction interface, where the first target component is a target component that has been called to the industrial flowchart construction interface.
[0126] Furthermore, the industrial process flow chart component management system disclosed in this embodiment may also include:
[0127] The nesting unit is used to obtain a specific action; in response to the specific action, the second target component and the third target component specified by the specific action are nested to obtain a fourth target component obtained after the nesting.
[0128] Furthermore, nested units are also used to:
[0129] The fourth target component is stored as a target component that can be repeatedly called; and / or the fourth target component is displayed on the industrial process diagram construction interface, so as to construct the industrial process diagram using at least the fourth target component.
[0130] Furthermore,
[0131] The second target component is a stored target component that can be repeatedly called; the third target component is a stored target component that can be repeatedly called, or one or more graphic elements.
[0132] The industrial flow chart component management system disclosed in this embodiment is implemented based on the industrial flow chart component management method disclosed in the above embodiment, which will not be described in detail here.
[0133] The industrial flowchart component management system disclosed in this embodiment obtains a component design request; displays a component design interface in response to the component design request; obtains a composition structure of a target component composed of at least two graphic elements on the component design interface; obtains at least the attribute information of the target component on the component design interface; associates at least the composition structure of the target component with the attribute information of the target component, and stores them as a target component that can be repeatedly called. This solution can obtain a composition structure of a target component composed of at least two graphic elements and the attribute information of the target component on the component design interface, associate the composition structure of the target component with the attribute information, and store them as a target component that can be repeatedly called, thereby realizing automatic creation of components and being able to be repeatedly called, avoiding the problem of resource waste caused by the need to repeatedly create modules with similar functions during the industrial flowchart design process, improving the construction efficiency of industrial flowcharts, and saving module creation resources.
[0134] This embodiment discloses an electronic device, and its structural diagram is as follows: Figure 8 As shown, including:
[0135] Display 81 and processor 82.
[0136] Processor 82 is used to obtain a component design request; in response to the component design request, display a component design interface through a display; obtain a composition structure of a target component composed of at least two graphic elements in the component design interface; obtain at least attribute information of the target component in the component design interface; at least associate the composition structure of the target component with the attribute information of the target component, and store it as a target component that can be repeatedly called.
[0137] Furthermore, the electronic device disclosed in this embodiment may also include a memory for storing programs required by the processor to execute the above-mentioned processing process, or for storing designed target components that can be repeatedly called.
[0138] The electronic device disclosed in this embodiment is implemented based on the industrial process flow chart component management method disclosed in the above embodiment, which will not be described in detail here.
[0139] The electronic device disclosed in this embodiment obtains a component design request; displays a component design interface in response to the component design request; obtains a composition structure of a target component composed of at least two graphic elements on the component design interface; obtains at least the attribute information of the target component on the component design interface; associates at least the composition structure of the target component with the attribute information of the target component, and stores them as a target component that can be repeatedly called. This solution can obtain a composition structure of a target component composed of at least two graphic elements and the attribute information of the target component on the component design interface, associate the composition structure of the target component with the attribute information, and store them as a target component that can be repeatedly called, thereby realizing automatic creation of components and being able to be repeatedly called, avoiding the problem of resource waste caused by the need to repeatedly create modules with similar functions during the design of industrial flowcharts, improving the construction efficiency of industrial flowcharts, and saving module creation resources.
[0140] An embodiment of the present application also provides a readable storage medium on which a computer program is stored. The computer program is loaded and executed by a processor to implement the steps of the above-mentioned industrial flowchart component management method. The specific implementation process can refer to the description of the corresponding part of the above-mentioned embodiment, and this embodiment will not repeat it.
[0141] The present application also proposes a computer program product or a computer program, which includes a computer instruction stored in a computer-readable storage medium. The processor of the electronic device reads the computer instruction from the computer-readable storage medium, and the processor executes the computer instruction, so that the electronic device executes the method provided in various optional implementations of the industrial flowchart component management method or the industrial flowchart component management system. The specific implementation process can refer to the description of the corresponding embodiment above, and will not be repeated.
[0142] It should also be noted that the device embodiments described above are merely schematic, wherein 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 over multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the scheme of this embodiment. In addition, in the drawings of the device embodiments provided by the present application, the connection relationship between the modules indicates that there is a communication connection between them, which may be specifically implemented as one or more communication buses or signal lines.
[0143] Through the description of the above implementation mode, the technicians in the field can clearly understand that the present application can be implemented by means of software plus necessary general hardware, and of course, it can also be implemented by special hardware including special integrated circuits, special CPUs, special memories, special components, etc. In general, all functions completed by computer programs can be easily implemented by corresponding hardware, and the specific hardware structure used to implement the same function can also be various, such as analog circuits, digital circuits or special circuits. However, for the present application, software program implementation is a better implementation mode in more cases. Based on such an understanding, the technical solution of the present application is essentially or the part that contributes to the prior art can be embodied in the form of a software product, which is stored in a readable storage medium, such as a computer floppy disk, a U disk, a mobile hard disk, a ROM, a RAM, a disk or an optical disk, etc., including a number of instructions to enable a computer device (which can be a personal computer, a training device, or a network device, etc.) to execute the methods described in each embodiment of the present application.
[0144] In the above embodiments, all or part of the embodiments may be implemented by software, hardware, firmware or any combination thereof. When implemented by software, all or part of the embodiments may be implemented in the form of a computer program product.
[0145] The computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on a computer, the process or function described in the embodiment of the present application is generated in whole or in part. The computer may be a general-purpose computer, a special-purpose computer, a computer network, or other programmable devices. The computer instructions may be stored in a computer-readable storage medium, or transmitted from one computer-readable storage medium to another computer-readable storage medium. For example, the computer instructions may be transmitted from a website site, a computer, a training device, or a data center by wired (e.g., coaxial cable, optical fiber, digital subscriber line (DSL)) or wireless (e.g., infrared, wireless, microwave, etc.) mode to another website site, computer, training device, or data center. The computer-readable storage medium may be any available medium that a computer can store or a data storage device such as a training device, a data center, etc. that includes one or more available media integrations. The available medium may be a magnetic medium, (e.g., a floppy disk, a hard disk, a tape), an optical medium (e.g., a DVD), or a semiconductor medium (e.g., a solid-state drive (SSD)), etc.
Claims
1. An industrial process flow chart component management method, characterized in that: include: Obtain component design requests; In response to the component design request, displaying a component design interface; Obtaining a component structure of a target component consisting of at least two graphic elements in the component design interface; Obtaining at least attribute information of the target component in the component design interface; At least the composition structure of the target component is associated with the attribute information of the target component and stored as a target component that can be repeatedly called.
2. The method according to claim 1, characterized in that Also includes: In response to a dragging action, the first target component specified by the dragging action is called to the first position of the industrial flowchart construction interface, the first target component is displayed at the first position, and the attribute information and function information of the first target component are loaded. The first target component is one of the target components that can be repeatedly called.
3. The method according to claim 2, characterized in that Also includes: Obtaining a property adjustment request for the first target component; If it is determined that the attribute information of the first target component includes a configurable attribute, displaying an adjustment interface for the configurable attribute of the first target component; The adjustment data is obtained in the adjustment interface, and the configurable property of the first target component is adjusted based on the adjustment data.
4. The method according to claim 3, characterized in that The obtaining of the property adjustment request for the first target component includes at least one of the following: Obtaining, on the component design interface, a property adjustment request for the first target component, where the first target component is a stored target component that can be repeatedly called; A property adjustment request for the first target component is obtained on the industrial flowchart construction interface, where the first target component is a target component that has been called to the industrial flowchart construction interface.
5. The method according to claim 1, characterized in that Also includes: Get a specific action; In response to the specific action, the second target component specified by the specific action is nested with the third target component to obtain a fourth target component obtained after the nesting.
6. The method according to claim 5, characterized in that Also includes: storing the fourth target component as a target component that can be repeatedly called; and / or, The fourth target component is displayed on the industrial process diagram construction interface to construct the industrial process diagram using at least the fourth target component.
7. The method according to claim 5, characterized in that The second target component is a stored target component that can be repeatedly called; The third target component is a stored target component that can be repeatedly called, or one or more graphic elements.
8. An industrial process flow chart component management system, characterized in that: include: A first obtaining unit, used for obtaining a component design request; A display unit, configured to display a component design interface in response to the component design request; A second obtaining unit, used for obtaining a component structure of a target component composed of at least two graphic elements on the component design interface; A third obtaining unit, configured to obtain at least attribute information of the target component in the component design interface; The storage unit is used to at least associate the composition structure of the target component with the attribute information of the target component and store them as a target component that can be repeatedly called.
9. The system according to claim 8, characterized in that Also includes: A calling unit is used to call the first target component specified by the dragging action to the first position of the industrial flowchart construction interface in response to the dragging action, display the first target component at the first position, and load the attribute information and function information of the first target component. The first target component is one of the target components that can be repeatedly called.
10. An electronic device, characterized in that: include: monitor; a processor for obtaining a component design request; In response to the component design request, displaying a component design interface via the display; Obtaining a composition structure of a target component consisting of at least two graphic elements in the component design interface; obtaining at least attribute information of the target component in the component design interface; at least associating the composition structure of the target component with the attribute information of the target component, and storing them as a target component that can be repeatedly called.