CN116884029A - Rapid generation method and device for oilfield station process configuration - Google Patents

Rapid generation method and device for oilfield station process configuration Download PDF

Info

Publication number
CN116884029A
CN116884029A CN202311145802.7A CN202311145802A CN116884029A CN 116884029 A CN116884029 A CN 116884029A CN 202311145802 A CN202311145802 A CN 202311145802A CN 116884029 A CN116884029 A CN 116884029A
Authority
CN
China
Prior art keywords
configuration
oilfield
configuration elements
elements
binding
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202311145802.7A
Other languages
Chinese (zh)
Other versions
CN116884029B (en
Inventor
刘永才
吴中华
李楠
王飞
刘辛酉
陈家林
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen Jiayuntong Electronics Co Ltd
Original Assignee
Shenzhen Jiayuntong Electronics Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shenzhen Jiayuntong Electronics Co Ltd filed Critical Shenzhen Jiayuntong Electronics Co Ltd
Priority to CN202311145802.7A priority Critical patent/CN116884029B/en
Publication of CN116884029A publication Critical patent/CN116884029A/en
Application granted granted Critical
Publication of CN116884029B publication Critical patent/CN116884029B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V30/00Character recognition; Recognising digital ink; Document-oriented image-based pattern recognition
    • G06V30/40Document-oriented image-based pattern recognition
    • G06V30/42Document-oriented image-based pattern recognition based on the type of document
    • G06V30/422Technical drawings; Geographical maps
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/25Integrating or interfacing systems involving database management systems
    • G06F16/258Data format conversion from or to a database
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/50Information retrieval; Database structures therefor; File system structures therefor of still image data
    • G06F16/58Retrieval characterised by using metadata, e.g. metadata not derived from the content or metadata generated manually
    • G06F16/583Retrieval characterised by using metadata, e.g. metadata not derived from the content or metadata generated manually using metadata automatically derived from the content
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q10/00Administration; Management
    • G06Q10/10Office automation; Time management
    • G06Q10/103Workflow collaboration or project management
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q50/00Information and communication technology [ICT] specially adapted for implementation of business processes of specific business sectors, e.g. utilities or tourism
    • G06Q50/02Agriculture; Fishing; Forestry; Mining

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Business, Economics & Management (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Databases & Information Systems (AREA)
  • Human Resources & Organizations (AREA)
  • Strategic Management (AREA)
  • Data Mining & Analysis (AREA)
  • Library & Information Science (AREA)
  • Entrepreneurship & Innovation (AREA)
  • Economics (AREA)
  • Marketing (AREA)
  • General Engineering & Computer Science (AREA)
  • Tourism & Hospitality (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • General Business, Economics & Management (AREA)
  • Health & Medical Sciences (AREA)
  • Primary Health Care (AREA)
  • General Health & Medical Sciences (AREA)
  • Life Sciences & Earth Sciences (AREA)
  • Operations Research (AREA)
  • Quality & Reliability (AREA)
  • Mining & Mineral Resources (AREA)
  • Marine Sciences & Fisheries (AREA)
  • Animal Husbandry (AREA)
  • Artificial Intelligence (AREA)
  • Agronomy & Crop Science (AREA)
  • Multimedia (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The application discloses a method and a device for quickly generating process configuration of an oilfield station, which are applied to the technical field of control of the oilfield station.

Description

Rapid generation method and device for oilfield station process configuration
Technical Field
The application particularly relates to a method and a device for rapidly generating process configuration of an oilfield station, which are applied to the technical field of oilfield station control.
Background
The oilfield field equipment takes a heating furnace (boiler) as a main body, and the data of the heating furnace (boiler) is acquired, transmitted and controlled through a digital twin intelligent device of the heating furnace (boiler), so that the intelligent management of the equipment data is realized. However, the digital twin process configuration application not only relates to the collection, transmission and storage of the data of the internet of things of oilfield equipment, but also needs to realize the analog simulation of the process configuration based on real-time data, and in order to realize the functions, higher development cost and longer deployment and debugging period are often needed.
The traditional process configuration platform can edit process configuration scenes and processes by dragging configuration materials, and realize process configuration application based on data driving and logic control based on data in Topic of MQTT.
However, the generation of the traditional oilfield station process configuration requires that staff splice one by one in a mode of dragging configuration materials, and in a complete oilfield station, the total number of various equipment components exceeds five thousand; meanwhile, the traditional digital twin process configuration platform has a large number of animation effects such as fluid, flame, gas and the like which are required to be manufactured one by manpower besides splicing static components, so that the time cost is high; the core of the process configuration platform is interaction with field data, various equipment sensor information interfaces of the oil field station are manually and butt-jointed one by one to be bound into corresponding process configurations, related data corresponding rules are manually added, and great potential safety hazards exist.
Disclosure of Invention
Aiming at the problems of long process configuration development period and high error rate of the oilfield station in the prior art, the application provides a rapid generation method and device for the process configuration of the oilfield station, which are used for analyzing the process drawing to generate configuration elements by importing the process drawing of the target oilfield station, creating process configuration items, importing corresponding configuration elements according to the process configuration items, and finally processing the imported configuration elements to generate the process configuration of the target oilfield station, thereby greatly shortening the development period of the process configuration and reducing the error rate in the process of process configuration development.
The technical scheme adopted for solving the technical problems is as follows:
a method for rapidly generating a process configuration of an oilfield yard, the method comprising:
importing a process drawing of a target oilfield station;
analyzing the process drawing to generate configuration elements;
creating a process configuration item;
importing corresponding configuration elements according to the process configuration items;
and processing the imported configuration elements to generate the process configuration of the target oilfield station.
The method for rapidly generating the process configuration of the oil field station field comprises the following steps of importing a process drawing of a target oil field station field: and (5) a process flow chart for importing the target oil field station.
The method for rapidly generating the oilfield station process configuration comprises the steps of analyzing a process drawing to generate configuration elements, wherein the method comprises the following steps of:
converting the process drawing into an SVG file;
performing name recognition and picture recognition on the SVG file, and integrating the SVG file into a component object comprising a plurality of layers;
naming each layer respectively;
analyzing each layer to obtain analysis data, and storing the analysis data;
splitting each layer, and respectively generating configuration elements associated with the layer names.
The method for rapidly generating the oilfield station process configuration comprises the following steps of: and requesting a configuration element importing interface of the low-code development platform, displaying the configuration elements in the form of thumbnail, and importing the corresponding configuration elements based on the selection operation of the thumbnail.
The method for rapidly generating the process configuration of the oil field station comprises the steps of processing the imported configuration elements to generate the process configuration of the target oil field station, and comprises the following steps:
analyzing the configuration elements to obtain configuration types and configuration coordinates;
splicing the configuration elements according to the configuration coordinates to display the configuration elements at the designated positions;
and performing corresponding rendering on the configuration elements according to the configuration types to form process configuration.
The method for rapidly generating the oilfield station process configuration comprises the steps of analyzing the configuration elements to obtain the configuration type and the configuration coordinates, and further comprises the following steps:
binding the corresponding interfaces acquired by the configuration elements;
binding the corresponding rule obtained by the configuration element;
binding corresponding dynamic effect materials acquired by the configuration elements;
binding the corresponding special effect materials acquired by the configuration elements.
An oilfield yard process configuration rapid generation device, comprising:
the first import module is used for importing a process drawing of a target oil field station;
the analysis module is used for analyzing the process drawing to generate configuration elements;
the project creation module is used for creating a process configuration project;
the second import module is used for importing corresponding configuration elements according to the process configuration items;
and the processing module is used for processing the imported configuration elements to generate the process configuration of the target oilfield station.
The parsing module includes:
the conversion unit is used for converting the process drawing into an SVG file;
the integration unit is used for carrying out name recognition and picture recognition on the SVG file and integrating the SVG file into a component object comprising a plurality of layers;
the naming unit is used for naming each layer respectively;
the first analysis unit is used for analyzing each layer to obtain analysis data and storing the analysis data;
the splitting unit is used for splitting each layer and respectively generating configuration elements associated with the layer names;
the processing module comprises:
the second analysis unit is used for analyzing the configuration elements to obtain configuration types and configuration coordinates;
the splicing unit is used for splicing the configuration elements according to the configuration coordinates so as to display the configuration elements at the designated positions;
the rendering unit is used for performing corresponding rendering on the configuration elements according to the configuration types to form process configurations;
the second parsing unit includes:
the interface binding subunit is used for binding the corresponding interfaces acquired by the configuration elements;
the rule binding subunit is used for binding the corresponding rule acquired by the configuration element;
the dynamic effect material binding subunit is used for binding the corresponding dynamic effect materials acquired by the configuration elements;
and the special effect material binding subunit is used for binding the corresponding special effect materials acquired by the configuration elements.
A computer readable storage medium having stored thereon a computer program which, when executed by a fast generating device for oilfield yard process configuration, implements a method for oilfield yard process configuration fast generation as described above.
A computer device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, wherein the processor when executing the computer program implements a method for rapidly generating an oilfield yard process configuration as described above.
The embodiment of the application has the beneficial effects that: the application provides a method and a device for quickly generating process configuration of an oilfield station, which are characterized in that a process drawing of a target oilfield station is imported, the process drawing is analyzed to generate configuration elements, then a process configuration item is created, corresponding configuration elements are imported according to the process configuration item, and finally the imported configuration elements are processed to generate the process configuration of the target oilfield station, so that the development period of the process configuration is greatly shortened, the error rate in the process of developing the process configuration is reduced, the quick generation method of the process configuration of the oilfield station also comprises the steps of binding corresponding interfaces acquired by the configuration elements, and the process configuration is not required to be manually and butt-jointed to be bound to the corresponding process configuration one by one, so that the development period is shortened, the corresponding rules of manually adding related data are avoided, and the potential safety hazard is reduced.
Drawings
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the following description will briefly explain the drawings used in the embodiments or the description of the prior art, and it is obvious that the drawings in the following description are only some embodiments of the present application, and other drawings can be obtained according to the drawings without inventive effort to a person skilled in the art.
FIG. 1 is a flow chart of a method for rapid generation of an oilfield yard process configuration in accordance with a first embodiment of the present application;
FIG. 2 is a detailed flow chart of step S12 in FIG. 1 provided by the present application;
FIG. 3 is a detailed flowchart of step S15 of FIG. 1 provided by the present application;
FIG. 4 is a detailed flowchart of step S151 in FIG. 3 provided by the present application;
FIG. 5 is a block diagram of a second embodiment of a fast generation device for oilfield yard process configuration provided by the present application;
FIG. 6 is a detailed block diagram of the parsing module of FIG. 5 according to the present application;
FIG. 7 is a detailed block diagram of the processing module of FIG. 5 in accordance with the present application;
fig. 8 is a detailed block diagram of the second parsing unit in fig. 5 according to the present application.
Detailed Description
The following description of the embodiments of the present application will be made clearly and fully with reference to the accompanying drawings, in which it is evident that the embodiments described are only some, but not all embodiments of the application, and that well-known modules, units and their connections, links, communications or operations with each other are not shown or described in detail. Also, the described features, architectures, or functions may be combined in any manner in one or more implementations. It will be appreciated by those skilled in the art that the various embodiments described below are for illustration only and are not intended to limit the scope of the application. It will be further appreciated that the modules or units or processes of the embodiments described herein and illustrated in the drawings may be combined and designed in a wide variety of different configurations. All other embodiments, which can be made by those skilled in the art based on the embodiments of the application without making any inventive effort, are intended to be within the scope of the application.
The definitions of the various terms or methods set forth in the following embodiments are generally based on the broad concepts that may be practiced with the disclosure in the examples except where logically no such definitions are set forth, and in the following understanding, each specific lower specific definition of a term or method is to be considered an inventive subject matter and should not be interpreted as a narrow sense or as a matter of prejudice to the contrary that the specification does not disclose such a specific definition. For example, when the cloud platform cloud is mentioned, the cloud platform cloud management system not only comprises a virtual network server, but also comprises real physical equipment, and the virtual network server not only has the capability of data storage, but also can have the capability of data operation, intelligent analysis and reasoning. Similarly, the order of the steps in the method is flexible and variable on the premise that the steps can be logically implemented, and specific lower limits in various nouns or generalized concepts of the method are within the scope of the application.
First embodiment:
referring to fig. 1 to 3, the method for rapidly generating a process configuration of an oilfield yard provided by the present application includes S11-S15, wherein:
s11, importing a process drawing of a target oil field station.
In this embodiment, the step of importing the process drawing of the target oilfield station includes: and (5) a process flow chart for importing the target oil field station. In this embodiment, the process flow chart includes a CAD drawing.
S12, analyzing the process drawing to generate configuration elements.
As a preferred embodiment, referring to fig. 2, step S12 further includes S121-S125, wherein:
s121, converting the process drawing into an SVG file.
In this embodiment, the CAD file is converted into the SVG file by calling the format conversion interface of the low-code development platform, and layer information and naming information in the CAD source file are retained. The low-code platform is a development platform which can quickly generate application programs without coding or through a small amount of codes, and an API interface and an application are created by using a drag component and model-driven logic in a visual mode, so that development efficiency is greatly improved.
The low-code development platform can be used for quickly creating the data acquisition business flow of the Internet of things, the modification interface of the point position value of the equipment and the database operation interface.
S122, performing name recognition and picture recognition on the SVG file, and integrating the SVG file into a component object comprising a plurality of layers.
In this embodiment, after the CAD file is converted, the system will call the hierarchical interface of the low-code development platform, and through the text recognition of each file name and the picture recognition function of each component, will call the low-code development platform to integrate each scattered curve icon into a complete component object in the process of converting the CAD file into the SVG file.
S123, naming each layer.
In this embodiment, after grouping is completed, a layer naming interface of the low-code development platform is requested through unique id information according to the type of each layer, and a default name of the layer is obtained and replaced.
S124, analyzing each layer to obtain analysis data, and storing the analysis data.
In this embodiment, after grouping and naming are completed, the system calls a layer analysis interface of the low-code development platform to obtain related information of components in each layer, where the related information at least includes a component name, a component type, a component model, a component coordinate, a component state, and a component tag, and stores analysis data into a related database through a data storage interface of the low-code development platform.
S125, splitting each layer, and respectively generating configuration elements associated with the layer names.
In this embodiment, the process configuration editing platform automatically generates each layer of the SVG large graph into an SVG file through the layer splitting function, and the layer name plus the component number are named for the SVG file and are uniformly exported to the designated path. In this embodiment, the steps of splitting each layer and generating configuration elements associated with the layer names respectively further include calling a resource storage interface of the low-code development platform, and storing the exported SVG file under a related resource path, so as to facilitate the call of the SVG file.
S13, creating a process configuration item.
In this embodiment, the creation process configuration item specifically includes: and creating a process configuration item according to the specific event.
S14, importing corresponding configuration elements according to the process configuration items.
In this embodiment, the step of importing the corresponding configuration element according to the process configuration item specifically includes: and requesting a configuration element importing interface of the low-code development platform, displaying the configuration elements in the form of thumbnail, and importing the corresponding configuration elements based on the selection operation of the thumbnail.
S15, processing the imported configuration elements to generate the process configuration of the target oilfield station.
As a preferred embodiment, referring to fig. 3, step S15 further includes S151-S153, wherein:
s151, analyzing the configuration elements to obtain the configuration type and the configuration coordinates.
In this embodiment, by requesting a configuration analysis interface of the low-code development platform, the interface obtains a corresponding configuration type through a configuration element name, where the configuration type at least includes an equipment class (static configuration), a pipeline class (animation configuration) and a special effect class (gas, flame, liquid, etc.), and stores the configuration type in a project where the user configuration editing platform is located; meanwhile, corresponding configuration coordinate information is acquired through the configuration element names, wherein the configuration coordinate information comprises x and y axes, and preparation is made for automatic splicing of a subsequent process configuration item flow chart or a process configuration scene:
as a preferred embodiment, referring to fig. 4, step S151 further includes S1511-S1514, wherein:
s1511, binding the corresponding interfaces acquired by the configuration elements.
In this embodiment, in the process of parsing the interface request by the configuration element, the interface obtains the corresponding configuration data interface through the configuration element name, binds the interface link and the configuration element, and the low-code platform requests the configuration data interface corresponding to the configuration element name at regular time, so as to obtain the real data of the oil field station and display the real data in the configuration element.
S1512, binding the corresponding rule acquired by the configuration element.
In this embodiment, in the process of parsing the interface request by the configuration element, the interface obtains the corresponding rule through the configuration element name and type, where the rule mainly includes animation and special effect display after different indexes exceed the critical value, such as flow direction dynamic effect of the liquid in the pipeline, intensity special effect of the flame, concentration special effect of the gas, etc., and is finally bound in the corresponding configuration element for the response of the following special effect event.
S1513, binding the corresponding dynamic effect materials acquired by the configuration elements.
In this embodiment, in the process of parsing the interface request by the configuration element, the interface obtains the corresponding dynamic effect material through the configuration element name and type, binds the special effect material in the designated configuration element through the special effect file address returned by the interface, and displays the corresponding special effect according to the rule response event after the process configuration item is released.
S1514, binding the corresponding special effect materials acquired by the configuration elements.
In this embodiment, in the process of parsing the interface request by the configuration element, the interface obtains the corresponding special effect material through the configuration element name and type, binds the special effect material in the designated configuration element through the special effect file address returned by the interface, and displays the corresponding special effect according to the rule response event after the process configuration item is released.
The corresponding interfaces acquired by the configuration elements are bound, so that the corresponding process configurations do not need to be manually and butt-jointed one by one, the development period is shortened, the corresponding rules of related data are prevented from being manually added, and the potential safety hazard is reduced.
And S152, splicing the configuration elements according to the configuration coordinates to display the configuration elements at the designated positions.
In this embodiment, after the configuration analysis function is completed, the configuration elements in the resource library are automatically displayed at the designated positions of the canvas according to the types and the coordinates, and the configuration elements are spliced according to the configuration types and the configuration coordinates to be displayed at the designated positions, so that the manual dragging operation can be replaced, the speed is high, the time cost is reduced, and the error rate is reduced.
And S153, performing corresponding rendering on the configuration elements according to the configuration types to form process configurations.
In this embodiment, the configuration elements are rendered, a new web interface is generated to display the effect of the current process configuration scene or the flow chart, and the user can check whether there is a problem and implement modification through operation test.
In this embodiment, the step of rendering the configuration elements according to the configuration type to form the process configuration further includes publishing the process configuration item; by publishing the process configuration items, the user can check on the user line, monitor and manage the service, and realize efficient operation.
According to the method, the process drawing is imported into the process drawing of the target oilfield station, the process drawing is analyzed to generate the configuration elements, the process configuration project is created, the corresponding configuration elements are imported according to the process configuration project, and finally the imported configuration elements are processed to generate the process configuration of the target oilfield station, so that the development period of the process configuration is greatly shortened, meanwhile, the error rate in the process of developing the process configuration is reduced, the quick generation method of the process configuration of the oilfield station further comprises binding corresponding interfaces acquired by the configuration elements, the process configuration is not needed to be manually and butt-jointed one by one to be bound to the corresponding process configuration, the development period is shortened, the corresponding rules of manually added related data are avoided, and the potential safety hazard is reduced.
Second embodiment:
referring to fig. 5 to 8, an embodiment of the present application provides a fast generating device 100 for an oilfield yard process configuration, including a first importing module 110, an parsing module 120, a project creating module 130, a second importing module 140, and a processing module 150, wherein:
the first import module 110 is connected to the parsing module 120, and is used for importing the process drawing of the target oilfield site.
The parsing module 120 is connected to the project creation module 130, and is configured to parse the process drawing to generate a configuration element.
As a preferred solution, but not limiting, the parsing module includes a converting unit 121, an integrating unit 122, a naming unit 123, a first parsing unit 124, and a splitting unit 125, wherein:
the conversion unit 121 is connected with the integration unit 122 and is used for converting the process drawing into an SVG file;
the integrating unit 122 is connected with the naming unit 123, and is used for performing name recognition and picture recognition on the SVG file, and integrating the SVG file into a component object comprising a plurality of layers;
a naming unit 123, connected to the first parsing unit 124, for naming each layer respectively;
the first parsing unit 124 is connected to the splitting unit 125, and is configured to parse each layer to obtain parsed data, and store the parsed data;
the splitting unit 125 is connected to the item creating module 130, and is configured to split each layer, and generate configuration elements associated with the layer names respectively.
The project creation module 130 is connected to the second import module 140, and is configured to create a process configuration project.
The second import module 140 is connected to the processing module 150, and is used for importing corresponding configuration elements according to the process configuration items.
And the processing module 150 is used for processing the imported configuration elements to generate the process configuration of the target oilfield station.
As a preferred solution, but not limiting, the processing module 150 includes a second parsing unit 151, a stitching unit 152, and a rendering unit 153, wherein:
the second parsing unit 151 is connected to the splicing unit 152, and is configured to parse the configuration element to obtain a configuration type and a configuration coordinate;
as a preferred solution, but not limited to, the second parsing unit 151 includes an interface binding subunit 1511, a rule binding subunit 1512, a dynamic material binding subunit 1513, and a special effect material binding subunit 1514, where:
an interface binding subunit 1511, connected to the rule binding subunit 1512, for binding the corresponding interface acquired by the configuration element;
the rule binding subunit 1512 is connected with the active material binding subunit 1513, and is configured to bind the corresponding rule acquired by the configuration element;
the dynamic effect material binding subunit 1513 is connected with the special effect material binding subunit 1514 and is used for binding the corresponding dynamic effect materials acquired by the configuration elements;
the special effect material binding subunit 1514 is connected with the splicing unit 152, and is used for binding the corresponding special effect materials acquired by the configuration elements;
the splicing unit 152 is connected with the rendering unit 153 and is used for splicing the configuration elements according to the configuration coordinates to display the configuration elements at the designated positions;
the rendering unit 153 is connected to the publishing unit 154, and is configured to perform corresponding rendering on the configuration elements according to the configuration type to form a process configuration.
The modules and units of the present embodiment correspond to the steps in the first embodiment one by one, and are not described herein.
According to the method, the process drawing is imported into the process drawing of the target oilfield station, the process drawing is analyzed to generate the configuration elements, the process configuration project is created, the corresponding configuration elements are imported according to the process configuration project, and finally the imported configuration elements are processed to generate the process configuration of the target oilfield station, so that the development period of the process configuration is greatly shortened, meanwhile, the error rate in the process of developing the process configuration is reduced, the quick generation method of the process configuration of the oilfield station further comprises binding corresponding interfaces acquired by the configuration elements, the process configuration is not needed to be manually and butt-jointed one by one to be bound to the corresponding process configuration, the development period is shortened, the corresponding rules of manually added related data are avoided, and the potential safety hazard is reduced.
It will be apparent to those skilled in the art that, for convenience and brevity of description, only the above-described division of the functional modules is illustrated, and in practical application, the above-described functional allocation may be performed by different functional modules according to needs, i.e. the internal structure of the apparatus is divided into different functional modules to perform all or part of the functions described above. The specific working processes of the above-described systems, devices and units may refer to the corresponding processes in the foregoing method embodiments, which are not described herein.
The embodiment of the application also provides a computer storage medium, on which a computer program is stored, which when being executed by a processor, realizes the method for quickly generating the process configuration of the oil field station in each embodiment.
Those skilled in the art will appreciate that implementing all or part of the above-described embodiments of the method may be accomplished by computer programs that instruct the associated hardware, and that the computer programs may be stored on a non-volatile computer readable storage medium, which when executed may include the steps of embodiments of a method for rapid creation of an oilfield yard process configuration as described above. Any reference to memory, storage, database, or other medium used in embodiments provided herein may include non-volatile and/or volatile memory. The nonvolatile memory can include Read Only Memory (ROM), programmable ROM (PROM), electrically Programmable ROM (EPROM), electrically Erasable Programmable ROM (EEPROM), or flash memory. Volatile memory can include Random Access Memory (RAM) or external cache memory. By way of illustration and not limitation, RAM is available in a variety of forms such as Static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double Data Rate SDRAM (DDRSDRAM), enhanced SDRAM (ESDRAM), synchronous Link DRAM (SLDRAM), memory bus direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM), among others.
Alternatively, the above-described integrated units of the present application may be stored in a computer-readable storage medium if implemented in the form of software functional modules and sold or used as separate products. Based on such understanding, the technical solution of the embodiments of the present application may be essentially or part contributing to the related art, and the computer software product may be stored in a storage medium, and include several instructions to cause a computer device (which may be a personal computer, a terminal, or a network device) to execute all or part of the methods of the embodiments of the present application. And the aforementioned storage medium includes: various media capable of storing program code, such as a removable storage device, RAM, ROM, magnetic or optical disk.
Corresponding to the above computer storage medium, in one embodiment, there is further provided a computer device, where the computer device includes a memory, a processor, and a computer program stored on the memory and capable of running on the processor, where the processor executes the program to implement a method for quickly generating an oilfield yard process configuration in the above embodiments.
The computer device may be a terminal comprising a processor, a memory, a network interface, a display screen and input means connected by a system bus. Wherein the processor of the computer device is configured to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the operation of the operating system and computer programs in the non-volatile storage media. The network interface of the computer device is used for communicating with an external terminal through a network connection. The computer program, when executed by the processor, implements a method for rapidly generating a process configuration for an oilfield yard. The display screen of the computer equipment can be a liquid crystal display screen or an electronic ink display screen, and the input device of the computer equipment can be a touch layer covered on the display screen, can also be keys, a track ball or a touch pad arranged on the shell of the computer equipment, and can also be an external keyboard, a touch pad or a mouse and the like.
According to the method, the process drawing is imported into the process drawing of the target oilfield station, the process drawing is analyzed to generate the configuration elements, the process configuration project is created, the corresponding configuration elements are imported according to the process configuration project, and finally the imported configuration elements are processed to generate the process configuration of the target oilfield station, so that the development period of the process configuration is greatly shortened, meanwhile, the error rate in the process of developing the process configuration is reduced, the quick generation method of the process configuration of the oilfield station further comprises binding corresponding interfaces acquired by the configuration elements, the process configuration is not needed to be manually and butt-jointed one by one to be bound to the corresponding process configuration, the development period is shortened, the corresponding rules of manually added related data are avoided, and the potential safety hazard is reduced.
The technical features of the above embodiments may be arbitrarily combined, and all possible combinations of the technical features in the above embodiments are not described for brevity of description, however, as long as there is no contradiction between the combinations of the technical features, they should be considered as the scope of the description.
The foregoing examples illustrate only a few embodiments of the application, which are described in detail and are not to be construed as limiting the scope of the application. It should be noted that it will be apparent to those skilled in the art that several variations and modifications can be made without departing from the spirit of the application, which are all within the scope of the application. Accordingly, the scope of protection of the present application is to be determined by the appended claims.
The above description of one embodiment provided in connection with the specific content does not set forth a limitation on the practice of the application. The method, structure, etc. similar to or identical to those of the present application, or some technical deductions or substitutions are made on the premise of the inventive concept, should be regarded as the protection scope of the present application.

Claims (10)

1. A method for rapidly generating a process configuration of an oilfield yard, the method comprising:
importing a process drawing of a target oilfield station;
analyzing the process drawing to generate configuration elements;
creating a process configuration item;
importing corresponding configuration elements according to the process configuration items;
and processing the imported configuration elements to generate the process configuration of the target oilfield station.
2. The method for rapidly generating process configuration of an oilfield yard according to claim 1, wherein the step of importing the process drawing of the target oilfield yard comprises the following steps: and (5) a process flow chart for importing the target oil field station.
3. The method for quickly generating the process configuration of the oil field station according to claim 1, wherein the step of parsing the process drawing to generate the configuration elements comprises the steps of:
converting the process drawing into an SVG file;
performing name recognition and picture recognition on the SVG file, and integrating the SVG file into a component object comprising a plurality of layers;
naming each layer respectively;
analyzing each layer to obtain analysis data, and storing the analysis data;
splitting each layer, and respectively generating configuration elements associated with the layer names.
4. The method for rapidly generating process configuration of an oilfield yard according to claim 1, wherein the step of importing corresponding configuration elements according to process configuration items comprises the following steps: and requesting a configuration element importing interface of the low-code development platform, displaying the configuration elements in the form of thumbnail, and importing the corresponding configuration elements based on the selection operation of the thumbnail.
5. The method for rapidly generating a process configuration of an oilfield yard according to claim 1, wherein the step of processing the imported configuration elements to generate the process configuration of the target oilfield yard comprises:
analyzing the configuration elements to obtain configuration types and configuration coordinates;
splicing the configuration elements according to the configuration coordinates to display the configuration elements at the designated positions;
and performing corresponding rendering on the configuration elements according to the configuration types to form process configuration.
6. The method for rapidly generating a process configuration of an oilfield yard of claim 5, wherein the step of parsing the configuration elements to obtain configuration types and configuration coordinates further comprises:
binding the corresponding interfaces acquired by the configuration elements;
binding the corresponding rule obtained by the configuration element;
binding corresponding dynamic effect materials acquired by the configuration elements;
binding the corresponding special effect materials acquired by the configuration elements.
7. The utility model provides a quick generating device of oil field station field technology configuration which characterized in that includes:
the first import module is used for importing a process drawing of a target oil field station;
the analysis module is used for analyzing the process drawing to generate configuration elements;
the project creation module is used for creating a process configuration project;
the second import module is used for importing corresponding configuration elements according to the process configuration items;
and the processing module is used for processing the imported configuration elements to generate the process configuration of the target oilfield station.
8. The apparatus for rapid creation of an oilfield yard process configuration of claim 7, wherein the parsing module comprises:
the conversion unit is used for converting the process drawing into an SVG file;
the integration unit is used for carrying out name recognition and picture recognition on the SVG file and integrating the SVG file into a component object comprising a plurality of layers;
the naming unit is used for naming each layer respectively;
the first analysis unit is used for analyzing each layer to obtain analysis data and storing the analysis data;
the splitting unit is used for splitting each layer and respectively generating configuration elements associated with the layer names;
the processing module comprises:
the second analysis unit is used for analyzing the configuration elements to obtain configuration types and configuration coordinates;
the splicing unit is used for splicing the configuration elements according to the configuration coordinates so as to display the configuration elements at the designated positions;
the rendering unit is used for performing corresponding rendering on the configuration elements according to the configuration types to form process configurations;
the second parsing unit includes:
the interface binding subunit is used for binding the corresponding interfaces acquired by the configuration elements;
the rule binding subunit is used for binding the corresponding rule acquired by the configuration element;
the dynamic effect material binding subunit is used for binding the corresponding dynamic effect materials acquired by the configuration elements;
and the special effect material binding subunit is used for binding the corresponding special effect materials acquired by the configuration elements.
9. A computer readable storage medium, characterized in that the storage medium has stored thereon a computer program which, when executed by a fast generating device for oilfield yard process configuration, implements a method for fast generating oilfield yard process configuration according to any one of claims 1-6.
10. A computer device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, wherein the processor implements the method of rapid generation of an oilfield yard process configuration as claimed in any one of claims 1-6 when the computer program is executed by the processor.
CN202311145802.7A 2023-09-07 2023-09-07 Rapid generation method and device for oilfield station process configuration Active CN116884029B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202311145802.7A CN116884029B (en) 2023-09-07 2023-09-07 Rapid generation method and device for oilfield station process configuration

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202311145802.7A CN116884029B (en) 2023-09-07 2023-09-07 Rapid generation method and device for oilfield station process configuration

Publications (2)

Publication Number Publication Date
CN116884029A true CN116884029A (en) 2023-10-13
CN116884029B CN116884029B (en) 2024-06-21

Family

ID=88272010

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202311145802.7A Active CN116884029B (en) 2023-09-07 2023-09-07 Rapid generation method and device for oilfield station process configuration

Country Status (1)

Country Link
CN (1) CN116884029B (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103399895A (en) * 2013-07-24 2013-11-20 成都瑞科电气有限公司 System and method for processing monitoring display on basis of SVG (scalable vector graphics)
CN111038552A (en) * 2019-12-28 2020-04-21 卡斯柯信号有限公司 Rail transit train signal equipment monitoring system and method based on configuration software
US20200249663A1 (en) * 2017-10-17 2020-08-06 Guangdong University Of Technology Method and system for quick customized-design of intelligent workshop
CN114253664A (en) * 2021-11-12 2022-03-29 苏州浪潮智能科技有限公司 Method, device, equipment and storage medium for generating configuration template of virtualization system

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103399895A (en) * 2013-07-24 2013-11-20 成都瑞科电气有限公司 System and method for processing monitoring display on basis of SVG (scalable vector graphics)
US20200249663A1 (en) * 2017-10-17 2020-08-06 Guangdong University Of Technology Method and system for quick customized-design of intelligent workshop
CN111038552A (en) * 2019-12-28 2020-04-21 卡斯柯信号有限公司 Rail transit train signal equipment monitoring system and method based on configuration software
CN114253664A (en) * 2021-11-12 2022-03-29 苏州浪潮智能科技有限公司 Method, device, equipment and storage medium for generating configuration template of virtualization system

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
童铭等: "基于GIS的油田站控组态软件研究与实践", 测绘与空间地理信息, vol. 36, no. 1, 25 August 2013 (2013-08-25), pages 183 - 185 *

Also Published As

Publication number Publication date
CN116884029B (en) 2024-06-21

Similar Documents

Publication Publication Date Title
CN107844297B (en) Data visualization implementation system and method
CN115617327A (en) Low code page building system, method and computer readable storage medium
US20050086587A1 (en) System and method for presenting computerized interactive forms to respondents using a client-server-systems technology based on web standards
AU2018236912A1 (en) Managing and automatically linking data objects
US9846849B2 (en) System and method for providing an editor for use with a business process design environment
US20190146898A1 (en) Assistive, language-agnostic debugging with multi-collaborator control
US9665270B2 (en) Layout algorithm for entity relation model diagram
US10592211B2 (en) Generation of application behaviors
US9952835B2 (en) Generation of hybrid enterprise mobile applications in cloud environment
US20080140671A1 (en) Extensible application platform
CN106155673B (en) Method, device, server and user equipment for realizing page content editor
CN113504908A (en) Business code generation method and device, electronic equipment and computer readable medium
CN103984818A (en) AUV (autonomous underwater vehicle) design flow visualization modeling method based on Flex technology
US20120030612A1 (en) Dynamic property attributes
US20210117313A1 (en) Language agnostic automation scripting tool
Lincke et al. The Lively PartsBin--A Cloud-Based Repository for Collaborative Development of Active Web Content
CA2810626A1 (en) Web page behavior enhancement controls
CN114995801B (en) Visual application development method and system based on Internet of things platform
CN103544357A (en) Method and device for achieving ANSYS calculation tasks
CN111090821B (en) Method, device, electronic equipment and storage medium for realizing dynamic webpage
CN116884029B (en) Rapid generation method and device for oilfield station process configuration
US9280361B2 (en) Methods and systems for a real time transformation of declarative model and layout into interactive, digital, multi device forms
CN102141917A (en) Method for realizing multi-service linkage based on IronPython script language
CN117215556A (en) Modularized page rapid construction method, system, equipment and medium
CN116069303A (en) Code generation method, device, equipment and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant