Industrial process editing system for tank field management

文档序号:1846553 发布日期:2021-11-16 浏览:7次 中文

阅读说明:本技术 一种罐区管理的工业流程编辑系统 (Industrial process editing system for tank field management ) 是由 肖赢 樊元甲 孔伟阳 刘明 于 2021-07-26 设计创作,主要内容包括:本发明涉及一种罐区管理的工业流程编辑系统,系统包括:浏览器中实现编辑PIC工业流程的编辑器和用于将编辑器中编辑的信息导出成XML文件或导出并转换成PIC文件的导出模块;编辑器包括:多个展示区域、编辑单元和规则判断单元;编辑单元,用于响应用户的操作指令,对展示的设备元素和/或操作元素在编辑器中的第三展示区域进行组合,形成实现PIC工业流程的一个以上的组合结构;规则判断单元,用于判断每一个组合结构中设备元素和/或操作元素的组合是否符合预设的组合规则,若符合,则基于编辑单元的所有组合结构,获取工业流程图;导出模块,用于根据用户的文件导出指令将工业流程图导出成XML文件或导出并转换成PIC文件。(The invention relates to an industrial process editing system for tank field management, which comprises: the system comprises an editor for realizing editing of PIC industrial flow in a browser and an export module for exporting information edited in the editor into XML files or exporting and converting the information into PIC files; the editor includes: the system comprises a plurality of display areas, an editing unit and a rule judging unit; the editing unit is used for responding to an operation instruction of a user, and combining the displayed equipment elements and/or operation elements in a third display area in the editor to form more than one combined structure for realizing the PIC industrial process; the rule judging unit is used for judging whether the combination of the equipment elements and/or the operation elements in each combined structure meets a preset combined rule or not, and if so, acquiring an industrial flow chart based on all combined structures of the editing unit; and the export module is used for exporting the industrial flow chart into an XML file or exporting and converting the XML file into a PIC file according to the file export instruction of the user.)

1. An industrial process editing system for tank farm management, the system comprising:

the system comprises an editor for realizing editing of PIC industrial flow in a browser and an export module for exporting information edited in the editor into XML files or exporting and converting the information into PIC files;

the editor comprises: the system comprises a plurality of display areas, an editing unit and a rule judging unit;

the first display area is used for displaying various equipment elements;

each equipment element corresponds to the attribute information of the industrial equipment corresponding to the equipment element;

the second display area is used for displaying various operation elements;

each operation element corresponds to preset information of operation performed on equipment elements;

the editing unit is used for responding to an operation instruction of a user, and combining the equipment elements and/or the operation elements displayed in the display area in a third display area in the editor to form more than one combined structure for realizing the PIC industrial process;

the rule judging unit is used for judging whether the combination of the equipment elements and/or the operation elements in each combined structure meets a preset combined rule or not, and if so, acquiring an industrial flow chart based on all combined structures of the editing unit;

and the export module is used for exporting the industrial flow chart into an XML file or exporting and converting the XML file into a PIC file according to a file export instruction of a user.

2. The system according to claim 1, wherein the editing unit, in response to an operation instruction of a user, combines the device elements and/or the operation elements displayed in the display area in a third display area in the editor to form one or more combined structures for implementing the PIC industrial process, specifically comprising:

the editing unit responds to an operation instruction of a user, combines equipment elements and/or operation elements displayed in a plurality of display areas in a third display area and adjusts the equipment elements and/or the operation elements according to preset associated operation information corresponding to the operation instruction of the user to form more than one combined structure for realizing the PIC industrial process;

and the third display area is pre-displayed with a coordinate grid.

3. The system of claim 2,

the multiple equipment elements correspond to multiple industrial equipment one by one;

the plurality of industrial devices includes: pipelines, tee joints, valves, pumps, tanks and blind plates;

the attribute information of the industrial device includes: the length of the industrial equipment, the width and the height of the industrial equipment, the diameter of the industrial equipment, the position number of the industrial equipment, the type of the industrial equipment and a connector of the industrial equipment;

the plurality of operational elements includes:

a first operation element corresponding to information of a preset operation of deleting the device element, a second operation element corresponding to information of a preset operation of moving the device element, a third operation element corresponding to information of a preset operation of copying the device element, a fourth operation element corresponding to information of a preset operation of switching the type of the device element, the display device comprises a fifth operation element corresponding to preset information of operation of rotating the equipment element, a sixth operation element corresponding to preset information of operation of enlarging the equipment element, a seventh operation element corresponding to preset information of operation of reducing the equipment element, and an eighth operation element corresponding to preset information of operation of modifying text corresponding to the preset equipment element.

4. The system of claim 3,

the preset associated operation information includes:

first associated operation information corresponding to the first user operation instruction;

the first user operation instruction is an instruction for moving any specified equipment element;

the first associated operation information is information that when the distance between any one designated equipment element and a horizontal line where another equipment element is located is smaller than a preset value, any one designated equipment element is automatically aligned with the horizontal line where the other equipment element is located, and prompt information is sent out; when the distance between any one designated equipment element and the vertical line where another designated equipment element is located is smaller than a preset value, automatically aligning any one designated equipment element with the vertical line where the other designated equipment element is located, and sending information of prompt information; when any one appointed equipment element moves, corresponding moving operation is carried out on a preset text corresponding to the any appointed equipment element;

second associated operation information corresponding to the second user operation instruction;

the second user operation instruction is an instruction of a user for placing other equipment elements in a first position of a specified pipeline element;

the first position is any position between two ports of the pipeline element;

the second associated operation information is information for disconnecting the specified pipeline element from the first position and generating two corresponding new pipeline element ports, and further connecting the two new pipeline element ports with two connecting ports of the placed equipment element respectively;

third associated operation information corresponding to a third user operation instruction;

the third user operation instruction is an instruction for deleting the specified first equipment element from the equipment elements displayed in the third display area by the user;

the first equipment element is an equipment element connected with two pipeline elements;

the third correlation operation information is information for automatically connecting two pipeline elements connected by the specified first equipment element;

fourth associated operation information corresponding to a fourth user operation instruction;

the fourth user operation instruction is an instruction for a user to delete or copy the specified equipment element in the third display area;

the fourth associated operation information is information for performing a deletion operation or a copy operation corresponding to the specified device element on a preset text corresponding to the specified device element;

fifth associated operation information corresponding to a fifth user operation instruction;

the fifth user operation instruction is an instruction for placing a pipeline element specified by a user in a third display area;

the fifth correlation operation information is information for identifying the flow direction of the specified pipeline element by using an arrow.

5. The system of claim 3,

the preset combination rule comprises the following steps:

the two ends of the connecting line in the combined structure are both connected with equipment elements;

the number of other equipment elements connected with each equipment element in the combined structure is less than or equal to the number of connectors corresponding to the equipment elements;

the connection positions of any two equipment elements in the combined structure are respectively positioned at the corresponding connectors of the two equipment elements;

there is no overlap of device elements in the composite structure;

the bit numbers corresponding to the device elements in the composite structure are not repeated.

6. The system of claim 5,

the editor further comprises: a preview unit;

the preview unit is used for controlling the third display area to display a picture of any equipment element connected with a user-specified connecting port in the second equipment element when the operation instruction responded by the editing unit is that the user connects the any equipment element with the user-specified connecting port in the second equipment element in the third display area;

the second equipment element is an equipment element corresponding to a preset connecting port.

7. The system of claim 6,

the editor is also used for responding to input information of a user and operating the combined structure;

the input information of the user is operation information input by the user by means of a keyboard.

8. The system of claim 7,

the operation information input by the user by means of the keyboard specifically includes:

the user inputs operation information for carrying out left alignment on the appointed equipment element and the pre-appointed equipment element by means of a first preset key on the keyboard;

the user inputs operation information for carrying out right alignment on the appointed equipment element and the pre-appointed equipment element by means of a second preset key on the keyboard;

the user inputs operation information for aligning the specified equipment element with the pre-specified equipment element by means of a third preset key on the keyboard;

the user inputs operation information for aligning the bottom of the specified equipment element with the bottom of the pre-specified equipment element by means of a fourth preset key on the keyboard;

the user inputs operation information for aligning the specified equipment element with the preset equipment element by means of a fifth preset key on the keyboard;

the user inputs operation information which is selected by switching in the pre-selected equipment elements and pipelines thereof by means of a sixth preset key on the keyboard;

and inputting information for editing the attribute of the preselected equipment element by the user through a seventh preset key on the keyboard.

9. The system of claim 8,

the export module exports the industrial flow chart into an XML file or exports and converts into a PIC file according to a file export instruction of a user, and specifically includes:

if the file export instruction of the user is to export the industrial flow chart into an XML file, the export module generates a corresponding XML format file based on the combined structure in the industrial flow chart and the attribute information corresponding to each equipment element in the combined structure;

if the file export instruction of the user is to export and convert the industrial flow chart into the PIC file, the export module generates a corresponding XML format file based on the combined structure in the industrial flow chart and the attribute information corresponding to each device element in the combined structure, and further converts the XML format file into the corresponding PIC file based on the XML format file.

10. The system of claim 9,

the editor also includes an API interface.

Technical Field

The invention relates to the technical field of computer software, in particular to an industrial process editing system for tank field management.

Background

The drawing tool in the industry uses a dot-line-surface + combination mode for better universality, and the drawing degree of freedom is too high, so that extra repeated work can be generated in each drawing, and the workload of drawing is increased unnecessarily. And the drawing mode has no logical equipment object, the operation and the optimization on the connection line can not be performed aiming at the combined graph during drawing, the generated graph is only in the corresponding relation between the position and the graph, the support degree for the business is low, and the industrial flow chart has the defects of large drawing workload, high time consumption and low efficiency.

Meanwhile, the drawing functions of the current industrial software are all integrated with drawing tools (such as Visio) of a third party, most of the tools customize objects in a graphic combination mode, the degree of freedom is too high, the data layer is not in logical connection, drawing rules and built-in industrial element objects are not provided, so that great energy is required to be consumed during drawing, the drawn flow chart is not easy to reach the standard of the industrial flow chart, the flow chart is often required to be recombined in the industrial software, and the drawing efficiency is low, the rework is more, and the time consumption is long. In order to ensure the universality of the tool, the drawing support degree of the tool on the industrial flow chart is low. And the tools cannot export data with element connection relation, are difficult to interface with services, and have limited function expansion.

Disclosure of Invention

Technical problem to be solved

In view of the above disadvantages and shortcomings of the prior art, the present invention provides an industrial process editing system for tank farm management, which solves the technical problems that the existing drawing tool cannot export data with element connection relationship, is difficult to interface with a service, and is limited in function expansion.

(II) technical scheme

In order to achieve the purpose, the invention adopts the main technical scheme that:

the embodiment of the invention provides an industrial process editing system for tank field management, which comprises:

the system comprises an editor for realizing editing of PIC industrial flow in a browser and an export module for exporting information edited in the editor into XML files or exporting and converting the information into PIC files;

the editor comprises: the system comprises a plurality of display areas, an editing unit and a rule judging unit;

the first display area is used for displaying various equipment elements;

each equipment element corresponds to the attribute information of the industrial equipment corresponding to the equipment element;

the second display area is used for displaying various operation elements;

each operation element corresponds to preset information of operation performed on equipment elements;

the editing unit is used for responding to an operation instruction of a user, and combining the equipment elements and/or the operation elements displayed in the display area in a third display area in the editor to form more than one combined structure for realizing the PIC industrial process;

the rule judging unit is used for judging whether the combination of the equipment elements and/or the operation elements in each combined structure meets a preset combined rule or not, and if so, acquiring an industrial flow chart based on all combined structures of the editing unit;

and the export module is used for exporting the industrial flow chart into an XML file or exporting and converting the XML file into a PIC file according to a file export instruction of a user.

Preferably, the editing unit responds to an operation instruction of a user, and combines the device elements and/or the operation elements displayed in the display area in a third display area in the editor to form one or more combined structures for implementing the PIC industrial process, which specifically includes:

the editing unit responds to an operation instruction of a user, combines equipment elements and/or operation elements displayed in a plurality of display areas in a third display area and adjusts the equipment elements and/or the operation elements according to preset associated operation information corresponding to the operation instruction of the user to form more than one combined structure for realizing the PIC industrial process;

and the third display area is pre-displayed with a coordinate grid.

Preferably, the first and second liquid crystal materials are,

the multiple equipment elements correspond to multiple industrial equipment one by one;

the plurality of industrial devices includes: pipelines, tee joints, valves, pumps, tanks and blind plates;

the attribute information of the industrial device includes: the length of the industrial equipment, the width and the height of the industrial equipment, the diameter of the industrial equipment, the position number of the industrial equipment, the type of the industrial equipment and a connector of the industrial equipment;

the plurality of operational elements includes:

a first operation element corresponding to information of a preset operation of deleting the device element, a second operation element corresponding to information of a preset operation of moving the device element, a third operation element corresponding to information of a preset operation of copying the device element, a fourth operation element corresponding to information of a preset operation of switching the type of the device element, the display device comprises a fifth operation element corresponding to preset information of operation of rotating the equipment element, a sixth operation element corresponding to preset information of operation of enlarging the equipment element, a seventh operation element corresponding to preset information of operation of reducing the equipment element, and an eighth operation element corresponding to preset information of operation of modifying text corresponding to the preset equipment element.

Preferably, the first and second liquid crystal materials are,

the preset associated operation information includes:

first associated operation information corresponding to the first user operation instruction;

the first user operation instruction is an instruction for moving any specified equipment element;

the first associated operation information is information that when the distance between any one designated equipment element and a horizontal line where another equipment element is located is smaller than a preset value, any one designated equipment element is automatically aligned with the horizontal line where the other equipment element is located, and prompt information is sent out; when the distance between any one designated equipment element and the vertical line where another designated equipment element is located is smaller than a preset value, automatically aligning any one designated equipment element with the vertical line where the other designated equipment element is located, and sending information of prompt information; when any one appointed equipment element moves, corresponding moving operation is carried out on a preset text corresponding to the any appointed equipment element;

second associated operation information corresponding to the second user operation instruction;

the second user operation instruction is an instruction of a user for placing other equipment elements in a first position of a specified pipeline element;

the first position is any position between two ports of the pipeline element;

the second associated operation information is information for disconnecting the specified pipeline element from the first position and generating two corresponding new pipeline element ports, and further connecting the two new pipeline element ports with two connecting ports of the placed equipment element respectively;

third associated operation information corresponding to a third user operation instruction;

the third user operation instruction is an instruction for deleting the specified first equipment element from the equipment elements displayed in the third display area by the user;

the first equipment element is an equipment element connected with two pipeline elements;

the third correlation operation information is information for automatically connecting two pipeline elements connected by the specified first equipment element;

fourth associated operation information corresponding to a fourth user operation instruction;

the fourth user operation instruction is an instruction for a user to delete or copy the specified equipment element in the third display area;

the fourth associated operation information is information for performing a deletion operation or a copy operation corresponding to the specified device element on a preset text corresponding to the specified device element;

fifth associated operation information corresponding to a fifth user operation instruction;

the fifth user operation instruction is an instruction for placing a pipeline element specified by a user in a third display area;

the fifth correlation operation information is information for identifying the flow direction of the specified pipeline element by using an arrow.

Preferably, the first and second liquid crystal materials are,

the preset combination rule comprises the following steps:

the two ends of the connecting line in the combined structure are both connected with equipment elements;

the number of other equipment elements connected with each equipment element in the combined structure is less than or equal to the number of connectors corresponding to the equipment elements;

the connection positions of any two equipment elements in the combined structure are respectively positioned at the corresponding connectors of the two equipment elements;

there is no overlap of device elements in the composite structure;

the bit numbers corresponding to the device elements in the composite structure are not repeated.

Preferably, the first and second liquid crystal materials are,

the editor further comprises: a preview unit;

the preview unit is used for controlling the third display area to display a picture of any equipment element connected with a user-specified connecting port in the second equipment element when the operation instruction responded by the editing unit is that the user connects the any equipment element with the user-specified connecting port in the second equipment element in the third display area;

the second equipment element is an equipment element corresponding to a preset connecting port.

Preferably, the first and second liquid crystal materials are,

the editor is also used for responding to input information of a user and operating the combined structure;

the input information of the user is operation information input by the user by means of a keyboard.

Preferably, the first and second liquid crystal materials are,

the operation information input by the user by means of the keyboard specifically includes:

the user inputs operation information for carrying out left alignment on the appointed equipment element and the pre-appointed equipment element by means of a first preset key on the keyboard;

the user inputs operation information for carrying out right alignment on the appointed equipment element and the pre-appointed equipment element by means of a second preset key on the keyboard;

the user inputs operation information for aligning the specified equipment element with the pre-specified equipment element by means of a third preset key on the keyboard;

the user inputs operation information for aligning the bottom of the specified equipment element with the bottom of the pre-specified equipment element by means of a fourth preset key on the keyboard;

the user inputs operation information for aligning the specified equipment element with the preset equipment element by means of a fifth preset key on the keyboard;

the user inputs operation information which is selected by switching in the pre-selected equipment elements and pipelines thereof by means of a sixth preset key on the keyboard;

and inputting information for editing the attribute of the preselected equipment element by the user through a seventh preset key on the keyboard.

Preferably, the first and second liquid crystal materials are,

the export module exports the industrial flow chart into an XML file or exports and converts into a PIC file according to a file export instruction of a user, and specifically includes:

if the file export instruction of the user is to export the industrial flow chart into an XML file, the export module generates a corresponding XML format file based on the combined structure in the industrial flow chart and the attribute information corresponding to each equipment element in the combined structure;

if the file export instruction of the user is to export and convert the industrial flow chart into the PIC file, the export module generates a corresponding XML format file based on the combined structure in the industrial flow chart and the attribute information corresponding to each device element in the combined structure, and further converts the XML format file into the corresponding PIC file based on the XML format file.

Preferably, the first and second liquid crystal materials are,

the editor also includes an API interface.

(III) advantageous effects

The invention has the beneficial effects that: according to the industrial process editing system for tank field management, each equipment element corresponds to the attribute information of the industrial equipment corresponding to the equipment element, and compared with the prior art, the system can achieve export of XML files and improve support degree of business. Secondly, because the preset associated operation information is provided, the drawing workload of the user is reduced, and the repeated work of drawing each time is reduced.

Drawings

Fig. 1 is a schematic diagram of an industrial process editing system for tank farm management according to the present invention.

Detailed Description

For the purpose of better explaining the present invention and to facilitate understanding, the present invention will be described in detail by way of specific embodiments with reference to the accompanying drawings.

In order to better understand the above technical solutions, exemplary embodiments of the present invention will be described in more detail below with reference to the accompanying drawings. While exemplary embodiments of the invention are shown in the drawings, it should be understood that the invention can be embodied in various forms and should not be limited to the embodiments set forth herein. Rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the scope of the invention to those skilled in the art.

Referring to fig. 1, the present embodiment provides an industrial process editing system for tank farm management, the system including:

the system comprises an editor for editing the PIC industrial process and an export module for exporting the information edited in the editor into an XML file or exporting and converting the information into a PIC file.

The editor comprises: the display device comprises a plurality of display areas, an editing unit and a rule judging unit.

The first display area is used for displaying various equipment elements.

Each equipment element corresponds to attribute information of the industrial equipment corresponding to the equipment element.

The second display area is used for displaying various operation elements.

Each operation element corresponds to preset information of operation performed on the equipment element.

And the editing unit is used for responding to an operation instruction of a user, and combining the equipment elements and/or the operation elements displayed in the display area in a third display area in the editor to form more than one combined structure for realizing the PIC industrial process.

And the rule judging unit is used for judging whether the combination of the equipment elements and/or the operation elements in each combined structure meets a preset combined rule or not, and if so, acquiring the industrial flow chart based on all the combined structures of the editing unit.

And the export module is used for exporting the industrial flow chart into an XML file or exporting and converting the XML file into a PIC file according to a file export instruction of a user.

In practical application of this embodiment, the editing unit, in response to an operation instruction of a user, combines the device elements and/or the operation elements displayed in the display area in a third display area in the editor to form one or more combined structures for implementing the PIC industrial process, which specifically includes:

and the editing unit responds to an operation instruction of a user, combines the equipment elements and/or the operation elements displayed in the display areas in the third display area and adjusts the equipment elements and/or the operation elements according to preset associated operation information corresponding to the operation instruction of the user to form more than one combined structure for realizing the PIC industrial process.

And the third display area is pre-displayed with a coordinate grid.

In practical application of this embodiment, the multiple device elements correspond to multiple industrial devices one to one.

The plurality of industrial devices includes: pipeline, tee bend, valve, pump, jar, blind plate.

The attribute information of the industrial device includes: the length of the industrial equipment, the width and the height of the industrial equipment, the diameter of the industrial equipment, the position number of the industrial equipment, the type of the industrial equipment and the connecting port of the industrial equipment.

The plurality of operational elements includes: a first operation element corresponding to information of a preset operation of deleting the device element, a second operation element corresponding to information of a preset operation of moving the device element, a third operation element corresponding to information of a preset operation of copying the device element, a fourth operation element corresponding to information of a preset operation of switching the type of the device element, the display device comprises a fifth operation element corresponding to preset information of operation of rotating the equipment element, a sixth operation element corresponding to preset information of operation of enlarging the equipment element, a seventh operation element corresponding to preset information of operation of reducing the equipment element, and an eighth operation element corresponding to preset information of operation of modifying text corresponding to the preset equipment element.

In practical application of this embodiment, the preset associated operation information includes:

and first associated operation information corresponding to the first user operation instruction.

The first user operation instruction is an instruction for moving any specified equipment element.

The first associated operation information is information that when the distance between any one designated equipment element and a horizontal line where another equipment element is located is smaller than a preset value, any one designated equipment element is automatically aligned with the horizontal line where the other equipment element is located, and prompt information is sent out; when the distance between any one designated equipment element and the vertical line where another designated equipment element is located is smaller than a preset value, automatically aligning any one designated equipment element with the vertical line where the other designated equipment element is located, and sending information of prompt information; and when any one appointed equipment element moves, carrying out corresponding movement operation on a preset text corresponding to the any appointed equipment element.

And second associated operation information corresponding to the second user operation instruction.

The second user operation instruction is an instruction of the user to place other equipment elements at the first position of the specified pipeline element.

The first position is any position between two ports of the pipe element.

And the second associated operation information is information for disconnecting the specified pipeline element from the first position and generating two corresponding new pipeline element ports, and further connecting the two new pipeline element ports with the two connecting ports of the placed equipment element respectively.

And third associated operation information corresponding to the third user operation instruction.

The third user operation instruction is an instruction for deleting the specified first equipment element from the equipment elements displayed in the third display area by the user.

The first equipment element is an equipment element connected with two pipeline elements.

The third correlation operation information is information for automatically connecting two pipe elements to which the specified first device element is connected.

And fourth associated operation information corresponding to the fourth user operation instruction.

And the fourth user operation instruction is an instruction for the user to delete or copy the specified equipment element in the third display area.

The fourth associated operation information is information for performing a deletion operation or a copy operation corresponding to the specified device element on a preset text corresponding to the specified device element.

And fifth associated operation information corresponding to the fifth user operation instruction.

The fifth user operation instruction is an instruction for placing the pipeline element specified by the user in the third display area.

The fifth correlation operation information is information for identifying the flow direction of the specified pipeline element by using an arrow.

In practical application of this embodiment, the preset combination rule includes:

and both ends of the connecting line in the combined structure are connected with the equipment elements.

The number of other equipment elements connected with each equipment element in the combined structure is less than or equal to the number of the connectors corresponding to the equipment elements.

The connection positions of any two equipment elements in the combined structure are respectively located at the connection ports corresponding to the two equipment elements.

There is no overlap of device elements in the composite structure.

The bit numbers corresponding to the device elements in the composite structure are not repeated.

In practical application of this embodiment, the editor further includes: a preview unit; and the preview unit is used for controlling the third display area to display the picture of any equipment element connected with the user-specified connecting port in the second equipment element when the operation instruction responded by the editing unit is that the user connects any equipment element with the user-specified connecting port in the second equipment element in the third display area.

The second equipment element is an equipment element corresponding to a preset connecting port.

In practical application of this embodiment, the editor is further configured to respond to input information of a user and operate the composite structure; the input information of the user is operation information input by the user by means of a keyboard.

In practical applications of this embodiment, the operation information input by the user via the keyboard specifically includes:

the user inputs operation information for carrying out left alignment on the appointed equipment element and the pre-appointed equipment element by means of a first preset key on the keyboard; the user inputs operation information for carrying out right alignment on the appointed equipment element and the pre-appointed equipment element by means of a second preset key on the keyboard; the user inputs operation information for aligning the specified equipment element with the pre-specified equipment element by means of a third preset key on the keyboard; the user inputs operation information for aligning the bottom of the specified equipment element with the bottom of the pre-specified equipment element by means of a fourth preset key on the keyboard; the user inputs operation information for aligning the specified equipment element with the preset equipment element by means of a fifth preset key on the keyboard; the user inputs operation information which is selected by switching in the pre-selected equipment elements and pipelines thereof by means of a sixth preset key on the keyboard; and inputting information for editing the attribute of the preselected equipment element by the user through a seventh preset key on the keyboard.

In the specific application of the embodiment, the keys Shift + L/R/T/B/C of the keyboard can be quickly aligned to the elements; the Tab key can be switched between the selected element and the pipeline thereof; pressing the Enter key on the selected element can quickly edit the attribute.

In practical application of this embodiment, the exporting module exports the industrial flowchart into an XML file or exports and converts the industrial flowchart into a PIC file according to a file exporting instruction of a user, and specifically includes:

and if the file export instruction of the user is to export the industrial flow chart into an XML file, the export module generates a corresponding XML format file based on the combined structure in the industrial flow chart and the attribute information corresponding to each equipment element in the combined structure.

If the file export instruction of the user is to export and convert the industrial flow chart into the PIC file, the export module generates a corresponding XML format file based on the combined structure in the industrial flow chart and the attribute information corresponding to each device element in the combined structure, and further converts the XML format file into the corresponding PIC file based on the XML format file. In this embodiment, the conversion of the XML format file into the PIC file is implemented by a PIC conversion tool.

In specific application, the industrial flow chart can support two export formats of XML and SVG, the XML format provides the connection relation and the position attribute information of the equipment elements, and the attribute corresponding to the equipment elements can be accessed to provide service support. The SVG format provides a picture exporting format, and is lighter and more visual.

In practical applications of this embodiment, the editor further includes an API interface.

In the embodiment, the method and the system benefit from the injection-dependent front-end modular architecture, and highly support secondary development through an API (application programming interface) when special service requirements need to be realized.

In the industrial process editing system for tank farm management in this embodiment, each device element corresponds to the attribute information of the industrial device corresponding to the device element, so that, compared with the prior art, the system can export an XML file, and improve the support degree for services. Secondly, because the preset associated operation information is provided, the drawing workload of the user is reduced, and the repeated work of drawing each time is reduced.

As will be appreciated by one skilled in the art, embodiments of the present invention may be provided as a method, system, or computer program product. Accordingly, the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present invention may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.

The present invention is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems) and computer program products according to embodiments of the invention. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions.

It should be noted that in the claims, any reference signs placed between parentheses shall not be construed as limiting the claim. The word "comprising" does not exclude the presence of elements or steps not listed in a claim. The word "a" or "an" preceding an element does not exclude the presence of a plurality of such elements. The invention may be implemented by means of hardware comprising several distinct elements, and by means of a suitably programmed computer. In the claims enumerating several means, several of these means may be embodied by one and the same item of hardware. The use of the terms first, second, third and the like are for convenience only and do not denote any order. These words are to be understood as part of the name of the component.

Furthermore, it should be noted that in the description of the present specification, the description of the term "one embodiment", "some embodiments", "examples", "specific examples" or "some examples", etc., means that a specific feature, structure, material or characteristic described in connection with the embodiment or example is included in at least one embodiment or example of the present invention. In this specification, the schematic representations of the terms used above are not necessarily intended to refer to the same embodiment or example. Furthermore, the particular features, structures, materials, or characteristics described may be combined in any suitable manner in any one or more embodiments or examples. Furthermore, various embodiments or examples and features of different embodiments or examples described in this specification can be combined and combined by one skilled in the art without contradiction.

While preferred embodiments of the present invention have been described, additional variations and modifications in those embodiments may occur to those skilled in the art once they learn of the basic inventive concepts. Therefore, the claims should be construed to include preferred embodiments and all changes and modifications that fall within the scope of the invention.

It will be apparent to those skilled in the art that various modifications and variations can be made in the present invention without departing from the spirit or scope of the invention. Thus, if such modifications and variations of the present invention fall within the scope of the claims of the present invention and their equivalents, the present invention should also include such modifications and variations.

13页详细技术资料下载
上一篇:一种医用注射器针头装配设备
下一篇:一种基于XML的结构化系统及数据包创建方法

网友询问留言

已有0条留言

还没有人留言评论。精彩留言会获得点赞!

精彩留言,会给你点赞!