CN115810063A - Real-time database flow chart webpage generation method based on image recognition - Google Patents
Real-time database flow chart webpage generation method based on image recognition Download PDFInfo
- Publication number
- CN115810063A CN115810063A CN202111074267.1A CN202111074267A CN115810063A CN 115810063 A CN115810063 A CN 115810063A CN 202111074267 A CN202111074267 A CN 202111074267A CN 115810063 A CN115810063 A CN 115810063A
- Authority
- CN
- China
- Prior art keywords
- real
- time database
- image recognition
- bit number
- flow chart
- 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.)
- Pending
Links
Images
Landscapes
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
Abstract
The invention relates to the field of material picture processing, in particular to a real-time database flow chart webpage generation method based on image recognition. The real-time database flow chart webpage generating method based on image recognition comprises the following steps: the method comprises the following steps: acquiring a flow screenshot; step two: processing the flow screenshot, determining a data bit number point location area, and recording as an identification area; step three: extracting data bit numbers and position information in the identification area; step four: and generating and storing the webpage file or the configuration information of the flow chart. The real-time database flow chart webpage generation method based on image recognition can improve the flow chart generation efficiency and reduce the technical threshold.
Description
Technical Field
The invention relates to the field of material picture processing, in particular to a real-time database flow chart webpage generation method based on image recognition.
Background
In the industrial control industry, a real-time database plays a great role in data acquisition and storage, and an important application is the real-time display of a process flow diagram. The real-time database system can display the flow charts of the industrial control systems such as DCS and the like on the computer terminal of a manager in real time without reaching an operation site, and provides convenience for production management and scheduling of enterprises.
The process flow chart in the industrial control system at the present stage needs to be artificially drawn one by one and then stored in a real-time database. Then a significant problem of the real-time database flowchart during the construction and application process is that: the flow chart drawing workload at the initial construction stage is large, the main workload of the flow chart drawing work of the real-time database system lies in manual drawing, a large amount of repetitive labor exists, the data point setting amount is large and tedious, but a real-time database system administrator and a project implementer do not have the efforts to draw hundreds of or thousands of process flow charts, if the process operation personnel draw, the related area is wide, the number of involved people is large, and most of the operation personnel do not have related capacity. In the system operation process, if process adjustment occurs, an operator does not have the capability of updating the flow chart, and information technicians often cannot intervene in time, so that the situations of untimely updating of the flow chart and delayed information can be caused.
Disclosure of Invention
The technical problem to be solved by the invention is as follows: the method for generating the real-time database flow chart webpage based on image recognition can improve the flow chart generation efficiency and reduce the technical threshold.
The technical scheme adopted by the invention for solving the technical problem is as follows: the real-time database flow chart webpage generation method based on image recognition comprises the following steps:
the method comprises the following steps: acquiring a flow screenshot;
step two: processing the flow screenshot, determining a data bit number point location area, and recording as an identification area;
step three: extracting data bit numbers and position information in the identification area;
step four: and generating and storing the webpage file or the configuration information of the flow chart.
And in the first step, the process flow diagram in the industrial control system is subjected to real-time screenshot to obtain a process screenshot.
The second step comprises the following substeps:
2-1: receiving a flow chart screenshot;
2-2: and (4) carrying out frame selection marking on data point points in the flow screenshot, wherein the marks selected by the frames are used as identification areas.
In the step 2-2, the real-time data point positions are subjected to frame selection marking through a rectangular frame with set colors.
The rectangular frame consists of the bit number of the point location.
In the third step, the method comprises the following substeps:
3-1: positioning the bit number of the identification area by an image identification technology;
3-2: and (5) performing character recognition to obtain and record bit number information.
In the step 3-1, the position area of the position number is determined by identifying and determining the frame selection mark, so as to realize positioning.
And 3-2, performing character recognition through an OCR technology, acquiring bit number information and storing and recording the bit number information.
And in the fourth step, combining the data bit number information with the screenshot of the flow chart to generate a webpage file or a configuration file and storing the webpage file or the configuration file.
And the fourth step of associating the real-time database with the webpage file, and displaying the real-time attribute value corresponding to the bit number stored in the real-time database in the position area corresponding to the bit number of the webpage.
Compared with the prior art, the invention has the following beneficial effects:
(1) The method is applied to the generation work of the flow chart of the real-time database system construction and operation and maintenance period, and can improve the generation efficiency of the real-time data flow chart.
(2) The technical requirement is low, the difficulty is small, and process operators can easily join the construction, operation and maintenance work of the real-time data flow chart.
(3) The process flow chart and the real-time data flow chart have good consistency, the real-time data flow chart is generated based on the process flow chart, and the difference and the error caused by secondary drawing can not occur.
Drawings
FIG. 1 is a schematic illustration of a process flow in an industrial control system of the present invention.
FIG. 2 is a schematic view of the process flow of the present invention after completion of the treatment.
Detailed Description
Embodiments of the invention are further described below with reference to the accompanying drawings:
examples
As shown in fig. 1 to 2, the method comprises the following steps:
the method comprises the following steps: acquiring a flow screenshot; and in the first step, real-time screenshot is carried out on a process flow chart in an industrial control system such as DCS and the like, so that a process screenshot is obtained. Since the bit number information in the flow screenshot cannot be applied to the web document unless it is extracted, the bit number information needs to be extracted to make it meet the standard of the web document or the configuration document.
Step two: processing the flow screenshot, determining a data bit number point location area, and recording as an identification area; in the second step, the following substeps are included:
2-1: receiving a flowchart screenshot;
2-2: and (4) carrying out frame selection marking on data point points in the flow screenshot, wherein the marks selected by the frames are used as identification areas. In step 2-2, the real-time data point location is subjected to frame selection marking through a rectangular frame with set colors. The content of the rectangular box selection comprises the bit number of the point location. Opening the process screenshots, wherein the length and the width corresponding to each process screenshot are used for establishing a coordinate system by taking the vertex of one angle of each process screenshot as a coordinate origin, and the lengths of two sides of the angle respectively correspond to coordinate axes, so that the area of the site can be determined. For example, in fig. 2, to identify an identification area with a bit number of "PI305", a frame selection mark may be applied to the area where the identification area is located, and a frame around the identification area may be selected as the identification area. The frame edge of the frame selection can be set into a more vivid color compared with the process screenshot, so that the frame edge is convenient to search and identify. The present embodiment sets the frame selection shape to be a rectangular frame. The rectangular frame and the color of the rectangular frame are set, so that the bit number area can be identified and determined more conveniently.
Step three: extracting data bit numbers and position information in the identification area; in the third step, the following substeps are included:
3-1: positioning the bit number of the identification area by an image identification technology; and 3-1, identifying and determining the frame selection mark, and determining the position area of the position number to realize positioning. Furthermore, the positioning is realized by identifying the rectangular frame with the set color in the step 2-2 to determine the position number area.
3-2: and (5) performing character recognition to obtain and record bit number information. And 3-2, performing character recognition through an OCR technology, acquiring bit number information and storing and recording.
Step four: and generating and storing the webpage file or the configuration information of the flow chart. And in the fourth step, combining the data bit number information with the screenshot of the flow chart to generate a webpage file or a configuration file. The data bit number information comprises the name of each bit number, chinese description corresponding to the bit number, a metering unit of the bit number, an alarm value and the like, and the webpage combines the information and the position information of the bit number, so that the display of a flow chart and the real-time update of bit number data are realized, and the synchronism of the dynamic numerical value of the bit number of the webpage page and a real-time database is realized.
The embodiment is configured to store the data bit number information in an Excel table. And importing a webpage making software platform in an Excel table mode, simultaneously importing the original flow screenshot by the making software platform, combining the bit number information and the original flow screenshot to generate a webpage file or webpage configuration information suitable for website display, and completing the basic configuration of the webpage. And the bit number information is displayed in the position of the area corresponding to the flow screenshot, and the purpose of operable change is achieved. When the picture is displayed in a webpage form, the position of the corresponding area for displaying the position number information on the flow screenshot can be provided with a background color, and the background color is preferably different from or similar to the color of the flow screenshot picture. Thus, the display can be more intuitively viewed. Referring to fig. 2, a rectangular area with a set size may be used as a display area of the area position, the rectangular area is provided with bit number information, and the rectangular area is provided with a background color distinct from the original flowchart picture color.
And then the real-time database is associated with the webpage file, and the dynamic data information corresponding to the bit number in the real-time database is displayed in a corresponding position area.
Therefore, possible omission and errors in the process of drawing the flow chart are avoided.
Claims (10)
1. A real-time database flow chart webpage generation method based on image recognition is characterized by comprising the following steps:
the method comprises the following steps: acquiring a flow screenshot;
step two: processing the flow screenshot, determining a data bit number point location area, and recording as an identification area;
step three: extracting data bit numbers and position information in the identification area;
step four: and generating the webpage file or the configuration information of the flow chart.
2. The image recognition-based real-time database flowchart web page generation method according to claim 1, wherein in the first step, a process flowchart in an industrial control system is subjected to real-time screenshot to obtain a process screenshot.
3. The method for generating a real-time database flow chart webpage based on image recognition according to claim 1 or 2, wherein the second step comprises the following sub-steps:
2-1: receiving a flowchart screenshot;
2-2: and (4) carrying out frame selection marking on data point points in the flow screenshot, wherein the marks selected by the frames are used as identification areas.
4. The method for generating a real-time database flowchart web page based on image recognition according to claim 3, wherein in the step 2-2, the real-time data point is marked by framing through a color-set rectangular frame.
5. The real-time database flowchart web page generation method based on image recognition recited in claim 4, wherein the content of the rectangular frame selection includes a bit number of the point location.
6. The method for generating a real-time database flow chart web page based on image recognition according to claim 3, wherein the third step comprises the following sub-steps:
3-1: positioning the bit number of the identification area by an image identification technology;
3-2: and (5) performing character recognition to obtain and record bit number information.
7. The method for generating a real-time database flowchart web page based on image recognition as claimed in claim 6, wherein in the step 3-1, the location area of the bit number is determined by recognizing and determining the frame selection mark, so as to realize the location.
8. The method for generating a real-time database flowchart web page based on image recognition as claimed in claim 6, wherein in step 3-2, character recognition is performed by OCR technology, and bit number information is obtained and stored.
9. The real-time database process map webpage generating method based on image recognition of claim 1 or 2, wherein in the fourth step, the information of the data bit number is combined with the screenshot of the process map to configure the information of the webpage file or the configuration file.
10. The method for generating a web page of a real-time database flowchart based on image recognition according to claim 9, wherein the fourth step further comprises associating the real-time database with a web page file, and the real-time attribute value corresponding to the bit number stored in the real-time database is displayed in the corresponding bit number position area of the web page.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202111074267.1A CN115810063A (en) | 2021-09-14 | 2021-09-14 | Real-time database flow chart webpage generation method based on image recognition |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202111074267.1A CN115810063A (en) | 2021-09-14 | 2021-09-14 | Real-time database flow chart webpage generation method based on image recognition |
Publications (1)
Publication Number | Publication Date |
---|---|
CN115810063A true CN115810063A (en) | 2023-03-17 |
Family
ID=85481407
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202111074267.1A Pending CN115810063A (en) | 2021-09-14 | 2021-09-14 | Real-time database flow chart webpage generation method based on image recognition |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN115810063A (en) |
-
2021
- 2021-09-14 CN CN202111074267.1A patent/CN115810063A/en active Pending
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US10198407B2 (en) | System and method for dynamic linking between graphic documents and comment data bases | |
CN112966772A (en) | Multi-person online image semi-automatic labeling method and system | |
CN111062196A (en) | Batch process flow card generation method based on CAD and Excel | |
CN110765995A (en) | Answer sheet generation method, answer sheet identification device and storage medium | |
CN113010711B (en) | Method and system for automatically generating movie poster based on deep learning | |
DE202013012486U1 (en) | User interface for orienting a camera view towards surfaces within a 3-D map and facilities that incorporate the user interface | |
CN108717356B (en) | Metering holographic visual display method and device | |
CN113377886A (en) | Production and construction project water and soil conservation supervision field investigation method | |
CN111625735A (en) | Method for displaying active operation and inspection in moving direction visualization mode by using secondary equipment of intelligent substation | |
CN112215211B (en) | Method for extracting chamber branch link topological relation based on CAD drawing data | |
CN115810063A (en) | Real-time database flow chart webpage generation method based on image recognition | |
CN111382165A (en) | Mobile homeland management system | |
DE112023000151T5 (en) | INSPECTION SUPPORT SYSTEM, INSPECTION SUPPORT PROCEDURE AND INSPECTION SUPPORT PROGRAM | |
CN115375795A (en) | Rapid plotting method for flood frequency analysis | |
CN114820870A (en) | Nuclear power flow chart auxiliary drawing method and device, computer equipment and storage medium | |
CN113592981B (en) | Picture labeling method and device, electronic equipment and storage medium | |
CN115294595A (en) | Intelligent analysis method for primary wiring diagram of transformer substation | |
CN115658796A (en) | Visual display method and system for map grid data | |
CN112700093B (en) | Project progress Gantt chart construction method, terminal device and storage medium | |
US20170330305A1 (en) | System and method for generating interactive 2d projection of 3d model | |
CN114444439A (en) | Test question set file generation method and device, electronic equipment and storage medium | |
CN114116686A (en) | Data visualization method for realizing data large screen | |
JP2736870B2 (en) | 3D graphic data reduction method | |
CN114444450B (en) | Volume file generation method and device, electronic equipment and storage medium | |
CN108230445B (en) | Method and device for acquiring three-dimensional simulation map entity hot zone attribute information |
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 |