ERP management analysis method, system, equipment and medium based on visual interface
By identifying and matching the visual interface of the central control system, extracting and monitoring process flow chart data, the problem of information islands caused by the closed data interface of the central control system is solved, and unified management and real-time analysis of the enterprise are realized.
Patent Information
- Application Number
- CN202411080740.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-08
- Publication Date
- 2024-10-29
- Estimated Expiration
- 2044-08-08
AI Technical Summary
In large industrial enterprises, because central control system manufacturers have not opened data interfaces, unified central control system monitoring and management cannot be achieved, forming information islands, which limits the internal information flow and collaborative work efficiency of the enterprise.
By identifying the visual interface of the central control system, using CTPN, RadonHough, CANNY, CRNN, SIFT, YOLO and other algorithms to extract and match interface elements, identify the process flow diagram and container component functions, monitor and summarize the data in real time and transmit it to the intelligent management analysis platform .
It realizes the centralized management and analysis of all production process data for large-scale production group enterprises, solves the problem of inefficient data collection in central control systems, and achieves unified monitoring and real-time analysis.
Smart Images

Figure CN118607798B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of industrial intelligent management and analysis, and in particular to an ERP management and analysis method, system, equipment and medium based on a visual interface. Background Art
[0002] At present, most large-scale industrial production is equipped with a central control system, which collects and transmits parameters of various process flows, such as pressure, temperature, humidity and pH value, through sensors. In order to facilitate the management of technicians, the central control system also designed a visual interface to display the process flow and sensor data in a graphical way. Through the visual interface, technicians can quickly obtain the parameter value of a certain position. However, due to reasons such as confidentiality of source code and prevention of hacker intrusion, most commercial central control systems are still isolated from the external network, and new code cannot be written to add new functions. When my country purchases advanced foreign central control systems, these systems are encapsulated at the factory, isolated from the external network and the system interface is not open. Only personnel dispatched by the manufacturer can perform system maintenance.
[0003] However, if Figure 2 The industrial visualization interface shown in the figure shows that the various components, especially the valve status, will display different actions and colors when opening and closing. This system is applied to the semiconductor industry. Due to the first-mover advantage, foreign countries have obtained a large amount of operating data, and the reliability of the system after optimization is extremely high. The equipment of this visualization interface system is completely physically isolated, and the operation can only be physical, that is, the operator clicks on the system screen to enter the password, and then opens the valve and other operations; however, domestic enterprises want to establish a unified central control system, and it is impossible to directly access the status of each signal point of the equipment, but reality requires the establishment of a unified central control monitoring platform. For example, in a large group enterprise, there are usually multiple production plants, and the real-time production conditions and energy consumption data of each plant need to be connected and integrated for intelligent management and analysis. But the problem is that these factories were built one after another, and the central control systems of different manufacturers were purchased in different years, and some manufacturers have not yet opened the data reading interface of their systems. Therefore, it is very difficult to coordinate the central control systems of all production lines under the entire enterprise group and conduct intelligent management and analysis. First, since it is impossible to directly read the central control system data of each manufacturer, it is impossible to conduct unified monitoring and management, which leads to the formation of information islands, and technicians cannot fully understand and grasp the production and energy consumption of each factory. Secondly, since the central control system cannot add new functions, enterprises cannot adopt the latest technologies and methods to improve production efficiency and save energy. In addition, since the central control system is isolated from the external network, it cannot interact and share data with other systems, which limits the efficiency of information flow and collaborative work within the enterprise. Summary of the invention
[0004] The purpose of the present invention is to provide an ERP management and analysis method and system based on a visual interface, which collects and filters valuable information through visual interface recognition of the central control system and transmits the information to an intelligent management and analysis system.
[0005] In order to achieve the above objectives, the present application provides the following technical solutions:
[0006] On the one hand, an embodiment of the present application provides an ERP management analysis method based on a visual interface, the method comprising:
[0007] Obtaining a visualization interface of the central control system, wherein the visualization interface includes a main interface of the central control system and a multi-level hierarchical sub-interface under the main interface, and a link relationship between the main interface and the sub-interface; the main interface and the multi-level hierarchical sub-interface under the main interface, and the link relationship between the main interface and the sub-interface are through an index map of the central control system;
[0008] Extracting keywords through a translation module according to pre-stored variables, wherein the pre-stored variables are variables to be extracted, and the translation module is a correspondence between the variables and the graphic elements of the central control system;
[0009] The text area of the visualization interface is extracted by the CTPN algorithm, the text correction area is obtained by the RadonHough transform algorithm based on the text area, the single-line text image is obtained by the projection histogram segmentation algorithm based on the text correction area, and the text content is recognized by the CRNN algorithm based on the single-line text image;
[0010] The edge information of the visualization interface is extracted by the CANNY algorithm, and the visualization interface is divided into container components corresponding to the image elements according to the edge information. The function of the container component is identified by combining and matching the function type of the container component and the text content identified in the container component; the function types of the container component are defined as display components, jump components and switch components; the display component displays prompt information, the jump component jumps to another interface after being triggered, and the switch component switches a certain function after being triggered; the jump component is identified according to the hierarchical structure of the main interface of the visualization interface and all its hierarchical sub-interfaces;
[0011] Obtain the component graphics of the pre-drawn industrial process graphics library, use the SIFT algorithm to match the component images and the features of the display components to identify the meaning of the display components, and mark the direct connection lines of the display components as the connection lines between the process flows; obtain the process flow chart of the central control system, extract the components of the process flow chart through the CANNY algorithm, and identify the meaning of the components of the process flow chart through the SIFT algorithm based on the components of the process flow chart, and mark the connection lines between the components of the process flow chart as the connection lines between the process flows; match the meaning of the display components and the meaning of the components of the process flow chart to identify the process flow chart of the visual interface;
[0012] Set the process flow chart of the visualization interface and the data of the display components in the process flow chart area as tracking objects, and monitor their numerical changes; summarize the tracking object values of multiple central control systems and transmit them to the visualization interface of the intelligent management and analysis platform for display.
[0013] Furthermore, the method for obtaining a visual interface of the central control system includes:
[0014] The camera set in the central control system shoots the GUI interface of the central control system in real time to obtain the original picture, and the original picture is divided into square image blocks of size N. The Euclidean distance between the square image blocks is set as the similarity. When the similarity between two square image blocks is lower than the set threshold, they are stacked into a three-dimensional matrix, and the three-dimensional matrix is transformed into a three-dimensional matrix and hard threshold filtering is performed. In the hard threshold filtering process, the coefficients less than the threshold are set to zero, and then a three-dimensional inverse transformation is performed to obtain the filtered picture; the YOLO algorithm is used to track the trajectory of the operator's operating finger according to the filtered picture, and it is saved when a new interface is triggered.
[0015] Further, the meaning of the matching display class component and the meaning of the component of the process flow chart include:
[0016] Preprocessing of text content includes word segmentation, removal of stop words, and word form restoration. Text features are extracted from the preprocessed text through the word vector model, and text similarity is calculated through Jaccard similarity. Similar text content is screened out through the K-means clustering algorithm based on text features and text similarity, and the container components corresponding to the text content are formed into a corresponding relationship, and the container components are visually redrawn and displayed according to the corresponding relationship.
[0017] Furthermore, the method for visually redrawing and displaying includes:
[0018] Determine the starting point and end point of the process, as well as the nodes formed by the container components in the middle, based on the connection lines of the container components; arrange the container components in the order of the starting point and the end point, use arrows to connect the nodes, and add the text content of the corresponding container component to each node; use the Dijkstra algorithm to calculate the shortest distance between containers based on the arrangement of container components and arrows, and adjust the direction of the arrow according to the trajectory of the shortest distance; obtain the text content of the container component and update the text content corresponding to the node in real time.
[0019] In the second aspect, based on the same inventive concept, the embodiment of the present application provides an ERP management and analysis system based on a visual interface, the system comprising:
[0020] An acquisition module, used for acquiring a visualization interface of the central control system, wherein the visualization interface includes a main interface of the central control system and a multi-level hierarchical sub-interface under the main interface, and a link relationship between the main interface and the sub-interface; the main interface and the multi-level hierarchical sub-interface under the main interface, and a link relationship between the main interface and the sub-interface are through an index map of the central control system;
[0021] An extraction module, used to extract keywords through a translation module according to pre-stored variables, wherein the pre-stored variables are variables to be extracted, and the translation module is a graphical element of the variables and the central control system;
[0022] The text recognition module is used to extract the text area of the visual interface through the CTPN algorithm, obtain the text correction area based on the text area through the RadonHough transform algorithm, obtain a single-line text image based on the text correction area through the projection histogram segmentation algorithm, and recognize the text content based on the single-line text image through the CRNN algorithm;
[0023] The interface component identification module is used to extract edge information of the visual interface through the CANNY algorithm, divide the visual interface into container components corresponding to the image elements according to the edge information, and identify the function of the container component by combining and matching the function type of the container component and the text content identified in the container component; the function types of the container component are defined as display components, jump components and switch components; the display component displays prompt information, the jump component jumps to another interface after being triggered, and the switch component switches a certain function after being triggered; the jump component is identified according to the hierarchical structure of the main interface of the visual interface and all its hierarchical sub-interfaces;
[0024] The component meaning matching module is used to obtain the component graphics of the pre-drawn industrial process graphics library, use the SIFT algorithm to match the component image and the features of the display component to identify the meaning of the display component, and mark the direct connection lines of the display component as the connection lines between the process flows; obtain the process flow chart of the central control system, extract the components of the process flow chart through the CANNY algorithm, and identify the meaning of the components of the process flow chart through the SIFT algorithm according to the components of the process flow chart, and mark the connection lines between the components of the process flow chart as the connection lines between the process flows; match the meaning of the display component and the meaning of the components of the process flow chart to identify the process flow chart of the visual interface;
[0025] The central control interface reconstruction module sets the process flow chart of the visual interface and the data of the display components in the process flow chart area as tracking objects, and monitors their numerical changes; summarizes the tracking object values of multiple central control systems, and transmits them to the visual interface of the intelligent management and analysis platform for display.
[0026] Furthermore, the system comprises:
[0027] The image recognition module is used to set a camera in the central control system to shoot the central control system GUI interface in real time to obtain an original image, divide the original image into square image blocks of size N, set the Euclidean distance between the square image blocks as the similarity, and stack them into a three-dimensional matrix when the similarity between two square image blocks is lower than the set threshold. The three-dimensional matrix is transformed into a three-dimensional matrix and hard threshold filtering is performed. The coefficients less than the threshold in the hard threshold filtering process are set to zero, and then a three-dimensional inverse transformation is performed to obtain a filtered image; the YOLO algorithm is used to track the trajectory of the operator's finger according to the filtered image, and the image is saved when a new interface is triggered.
[0028] Furthermore, the system comprises:
[0029] The text correspondence module is used to preprocess the text content, including word segmentation, stop word removal, and word form restoration. It extracts text features from the preprocessed text through the word vector model, calculates text similarity through Jaccard similarity, and uses the K-means clustering algorithm to screen out similar text content based on text features and text similarity. It also forms a correspondence between the container components corresponding to the text content, and redraws the container components for visualization based on the correspondence.
[0030] Furthermore, the system comprises:
[0031] The container connection reconstruction module is used to determine the starting point and end point of the process, as well as the nodes formed by the container components in the middle, based on the connection lines of the container components; arrange the container components in the order of the starting point and the end point, connect the nodes with arrows, and add the text content of the corresponding container component to each node; calculate the shortest distance between containers using the Dijkstra algorithm based on the arrangement of container components and arrows, and adjust the direction of the arrow according to the trajectory of the shortest distance; obtain the text content of the container component and update the text content corresponding to the node in real time.
[0032] The beneficial effects of the present invention are:
[0033] By detecting and identifying the visual interface of the central control system, valuable information can be filtered out, which helps large-scale production group companies to centrally manage and analyze the data of all production processes under the company and conduct analysis and evaluation, making it convenient for enterprises to conduct unified analysis and management. This process uses the method of identifying the visual interface, and can collect data even if the manufacturer of the production system does not open the data interface of the central control system. This solves the problem of inefficient data collection by large enterprises with many types of central control systems relying on manual inspection feedback, and instead collects data in real time and monitors it uniformly. BRIEF DESCRIPTION OF THE DRAWINGS
[0034] In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings required for use in the embodiments are briefly introduced below. It should be understood that the following drawings only show certain embodiments of the present invention and therefore should not be regarded as limiting the scope. For ordinary technicians in this field, other related drawings can be obtained based on these drawings without creative work.
[0035] Figure 1 It is a flow chart of the ERP management analysis method based on a visual interface described in an embodiment of the present invention;
[0036] Figure 2 It is a visual interface of a certain import manufacturer described in the embodiment of the present invention;
[0037] Figure 3 It is a schematic diagram of the structure of an enterprise planning resource management and analysis device based on a visual interface in an embodiment of the present invention. DETAILED DESCRIPTION
[0038] In order to make the purpose, technical solution and advantages of the embodiments of the present invention clearer, the technical solution in the embodiments of the present invention is clearly and completely described. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0039] Meanwhile, in the description of the present invention, the terms “first”, “second”, etc. are only used to distinguish the descriptions and cannot be understood as indicating or implying relative importance.
[0040] Before giving examples, the technical application scenarios created by the present invention are explained. In conventional central control systems, manufacturers generally leave interfaces to allow customers to read and collect data inside the system. For example, if a customer needs to deploy an intelligent management and analysis system for all central control systems of the entire group, then the data collected by the central control system of each production system needs to be filtered and deployed to the intelligent management and analysis system in a unified format. However, some manufacturers are unwilling to open data interfaces. For example, for the sake of technical confidentiality and isolation from hacker attacks, many imported equipment cannot read the data of the intelligent central control platform. Valuable information data can only be extracted through the GUI interface image of the existing central control system, and then the effective information is filtered out and summarized into the intelligent management and analysis system of the entire group deployed by the customer. For this reason, this technical solution is proposed. In actual production, the central control systems of almost all large-scale production enterprises are provided by manufacturers. The production lines of large-scale production enterprises are constantly upgraded. In each period of time, manufacturers tend to choose the most cost-effective production line production system, so this results in the diversification of the central control systems of large-scale production enterprises. Example 1
[0041] like Figure 1 As shown, this embodiment provides an ERP management and analysis method based on a visual interface, the method comprising:
[0042] Obtain a visualization interface of the central control system, wherein the visualization interface includes a main interface of the central control system and a multi-level hierarchical sub-interface under the main interface, as well as a link relationship between the main interface and the sub-interface; the main interface and the multi-level hierarchical sub-interface under the main interface, as well as a link relationship between the main interface and the sub-interface are through an index map of the central control system.
[0043] The main interface and all the hierarchical sub-interfaces under the main interface, as well as the link relationship between the main interface and the sub-interfaces, are the index map of the central control system. When the intelligent management and analysis system calls a central control system of a sub-factory, it first needs to determine the keywords to be searched, and then retrieve the keywords through the visual interface map. After completing the above actions, it is necessary to store the link relationship from the main interface to the target sub-interface. The link relationship includes which button to click from the main interface to the target sub-interface, and after clicking the button, it is necessary to determine whether the visual interface jumps to the sub-interface.
[0044] Extracting keywords through a translation module according to pre-stored variables, wherein the pre-stored variables are variables to be extracted, and the translation module is a graphic element of the variables and the central control system;
[0045] The text area of the visualization interface is extracted by the CTPN algorithm, the text correction area is obtained by the RadonHough transform algorithm based on the text area, the single-line text image is obtained by the projection histogram segmentation algorithm based on the text correction area, and the text content is recognized by the CRNN algorithm based on the single-line text image;
[0046] The edge information of the visualization interface is extracted by the CANNY algorithm, and the visualization interface is divided into container components corresponding to the image elements according to the edge information; the function of the container component is identified by combining and matching the function type of the container component and the text content identified in the container component; the function types of the container component are defined as display components, jump components and switch components; the display component displays prompt information, the jump component jumps to another interface after being triggered, and the switch component switches a certain function after being triggered; the jump component is identified according to the hierarchical structure of the main interface of the visualization interface and all its hierarchical sub-interfaces;
[0047] Obtain the graphics of the parts of the industrial process graphics library, use the SIFT algorithm to match the features of the parts images and display components to identify the meaning of the display components, and mark the direct connection lines of the display components as the connection lines between the process flows; obtain the process flow chart of the central control system, extract the components of the process flow chart through the CANNY algorithm, and identify the meaning of the components of the process flow chart through the SIFT algorithm based on the components of the process flow chart, and mark the connection lines between the components of the process flow chart as the connection lines between the process flows; match the meaning of the display components and the meaning of the components of the process flow chart to identify the process flow chart of the visual interface;
[0048] Set the process flow chart of the visualization interface and the data of the display components in the process flow chart area as tracking objects, and monitor their numerical changes; summarize the tracking object values of multiple central control systems and transmit them to the visualization interface of the intelligent management and analysis platform for display.
[0049] For example, a factory uses a camera to shoot the GUI interface of each factory's central control system in real time to obtain the original image. The original image is divided into square image blocks of size N, and stacked and three-dimensionally transformed according to the similarity between the image blocks to finally obtain the filtered image. The YOLO algorithm is used to track the operator's operations on the interface, and the new interface triggered during the operation is recorded and saved. The text area of the interface is extracted by the CTPN algorithm, and the text content, including parameter values and equipment status, is recognized by the CRNN algorithm. The keywords and data required by the intelligent management and analysis system are extracted from the central control system interface using pre-stored variables and translation modules. The CANNY algorithm is used to extract the edge information of the interface, divide the interface into container components, and identify display components, jump components, and switch components. The SIFT algorithm is used to match the component graphics and display components of the process flow chart, and mark the connection lines between the process flows. The equipment status and parameter values are used as tracking objects, and their changes are monitored in real time and summarized to the intelligent management and analysis platform. According to the connection lines and node information of the container components, the Dijkstra algorithm is used to calculate the shortest path and adjust the arrow direction to display the process flow of each factory production line. Equipment status and production parameters are updated in real time on the interface, helping managers quickly understand and respond to production changes.
[0050] Furthermore, the method for obtaining a visual interface of the central control system includes:
[0051] The camera set in the central control system shoots the GUI interface of the central control system in real time to obtain the original picture, and the original picture is divided into square image blocks of size N. The Euclidean distance between the square image blocks is set as the similarity. When the similarity between two square image blocks is lower than the set threshold, they are stacked into a three-dimensional matrix, and the three-dimensional matrix is transformed into a three-dimensional matrix and hard threshold filtering is performed. In the hard threshold filtering process, the coefficients less than the threshold are set to zero, and then a three-dimensional inverse transformation is performed to obtain the filtered picture; the YOLO algorithm is used to track the trajectory of the operator's operating finger according to the filtered picture, and it is saved when a new interface is triggered.
[0052] Further, the meaning of the matching display class component and the meaning of the component of the process flow chart include:
[0053] Preprocessing of text content includes word segmentation, removal of stop words, and word form restoration. Text features are extracted from the preprocessed text through the word vector model, and text similarity is calculated through Jaccard similarity. Similar text content is screened out through the K-means clustering algorithm based on text features and text similarity, and the container components corresponding to the text content are formed into a corresponding relationship, and the container components are visually redrawn and displayed according to the corresponding relationship.
[0054] Furthermore, the method for visually redrawing and displaying includes:
[0055] Determine the starting point and end point of the process, as well as the nodes formed by the container components in the middle, based on the connection lines of the container components; arrange the container components in the order of the starting point and the end point, use arrows to connect the nodes, and add the text content of the corresponding container component to each node; use the Dijkstra algorithm to calculate the shortest distance between containers based on the arrangement of container components and arrows, and adjust the direction of the arrow according to the trajectory of the shortest distance; obtain the text content of the container component and update the text content corresponding to the node in real time.
[0056] like Figure 2 The visualization interface is an industrial gas supply system of a semiconductor manufacturer. The central control system of the supply system cannot read data externally and can only be operated and read manually. The central control system has sufficient reliability, so it still occupies a large market share in the industry and is difficult to replace with an alternative product that can read data in the short term. Through the recognition and processing operation of the visualization interface, the meaning of each container component of the central control system can be read, and the specific data changes can be identified through camera vision and updated to the intelligent management and analysis system. Example 2
[0057] This embodiment provides an ERP management and analysis system based on a visual interface, the system comprising:
[0058] An acquisition module, used for acquiring a visualization interface of the central control system, wherein the visualization interface includes a main interface of the central control system and a multi-level hierarchical sub-interface under the main interface, and a link relationship between the main interface and the sub-interface; the main interface and the multi-level hierarchical sub-interface under the main interface, and a link relationship between the main interface and the sub-interface are through an index map of the central control system;
[0059] An extraction module, used to extract keywords through a translation module according to pre-stored variables, wherein the pre-stored variables are variables to be extracted, and the translation module is a correspondence between variables and graphic elements of the central control system;
[0060] The text recognition module is used to extract the text area of the visual interface through the CTPN algorithm, obtain the text correction area based on the text area through the RadonHough transform algorithm, obtain a single-line text image based on the text correction area through the projection histogram segmentation algorithm, and recognize the text content based on the single-line text image through the CRNN algorithm;
[0061] The interface component identification module is used to extract edge information of the visual interface through the CANNY algorithm, divide the visual interface into container components corresponding to the image elements according to the edge information, and identify the function of the container component by combining and matching the function type of the container component and the text content identified in the container component; the function types of the container component are defined as display components, jump components and switch components; the display component displays prompt information, the jump component jumps to another interface after being triggered, and the switch component switches a certain function after being triggered; the jump component is identified according to the hierarchical structure of the main interface of the visual interface and all its hierarchical sub-interfaces;
[0062] The component meaning matching module is used to obtain the component graphics of the industrial process graphics library, use the SIFT algorithm to match the component image and the features of the display component to identify the meaning of the display component, and mark the direct connection lines of the display component as the connection lines between the process flows; obtain the process flow chart of the central control system, extract the components of the process flow chart through the CANNY algorithm, and identify the meaning of the components of the process flow chart through the SIFT algorithm according to the components of the process flow chart, and mark the connection lines between the components of the process flow chart as the connection lines between the process flows; match the meaning of the display component and the meaning of the components of the process flow chart to identify the process flow chart of the visual interface;
[0063] The central control interface reconstruction module sets the process flow chart of the visual interface and the data of the display components in the process flow chart area as tracking objects, and monitors their numerical changes; summarizes the tracking object values of multiple central control systems, and transmits them to the visual interface of the intelligent management and analysis platform for display.
[0064] Furthermore, the system comprises:
[0065] The image recognition module is used to set a camera in the central control system to shoot the central control system GUI interface in real time to obtain an original image, divide the original image into square image blocks of size N, set the Euclidean distance between the square image blocks as the similarity, and stack them into a three-dimensional matrix when the similarity between two square image blocks is lower than the set threshold. The three-dimensional matrix is transformed into a three-dimensional matrix and hard threshold filtering is performed. The coefficients less than the threshold in the hard threshold filtering process are set to zero, and then a three-dimensional inverse transformation is performed to obtain a filtered image; the YOLO algorithm is used to track the trajectory of the operator's finger according to the filtered image, and the image is saved when a new interface is triggered.
[0066] Furthermore, the system comprises:
[0067] The text correspondence module is used to preprocess the text content, including word segmentation, stop word removal, and word form restoration. It extracts text features from the preprocessed text through the word vector model, calculates text similarity through Jaccard similarity, and uses the K-means clustering algorithm to screen out similar text content based on text features and text similarity. It also forms a correspondence between the container components corresponding to the text content, and redraws the container components for visualization based on the correspondence.
[0068] Furthermore, the system comprises:
[0069] The container connection reconstruction module is used to determine the starting point and end point of the process, as well as the nodes formed by the container components in the middle, based on the connection lines of the container components; arrange the container components in the order of the starting point and the end point, connect the nodes with arrows, and add the text content of the corresponding container component to each node; calculate the shortest distance between containers using the Dijkstra algorithm based on the arrangement of container components and arrows, and adjust the direction of the arrow according to the trajectory of the shortest distance; obtain the text content of the container component and update the text content corresponding to the node in real time. Example 3
[0070] Corresponding to the above method embodiment, the embodiment of the present disclosure also provides an enterprise planning resource management and analysis device based on a visual interface. The power system harmonic self-optimization detection device described below and the ERP management and analysis method based on a visual interface described above can be referenced to each other.
[0071] like Figure 3 As shown, the device 800 may include: a processor 801 , a memory 802 . The device 800 may also include one or more of a multimedia component 803 , an input / output (I / O) interface 804 , and a communication component 805 .
[0072] The processor 801 is used to control the overall operation of the device 800 to complete all or part of the steps in the above-mentioned ERP management and analysis method based on a visual interface. The memory 802 is used to store various types of data to support the operation of the device 800, and these data may include, for example, instructions for any application or method used to operate on the device 800, and application-related data, such as contact data, sent and received messages, pictures, audio, video, etc. The memory 802 can be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as static random access memory (Static Random Access Memory, referred to as SRAM), electrically erasable programmable read-only memory (Electrically Erasable Programmable Read-Only Memory, referred to as EEPROM), erasable programmable read-only memory (Erasable Programmable Read-Only Memory, referred to as EPROM), programmable read-only memory (Programmable Read-Only Memory, referred to as PROM), read-only memory (Read-Only Memory, referred to as ROM), magnetic memory, flash memory, disk or optical disk. The multimedia component 803 may include a screen and an audio component. The screen may be, for example, a touch screen, and the audio component is used to output and / or input audio signals. For example, the audio component may include a microphone, which is used to receive external audio signals. The received audio signal may be further stored in the memory 802 or sent through the communication component 805. The audio component also includes at least one speaker for outputting audio signals. The I / O interface 804 provides an interface between the processor 801 and other interface modules, and the above-mentioned other interface modules may be keyboards, mice, buttons, etc. These buttons may be virtual buttons or physical buttons. The communication component 805 is used for wired or wireless communication between the device 800 and other devices. Wireless communication, such as Wi-Fi, Bluetooth, Near Field Communication (NFC), 2G, 3G or 4G, or a combination of one or more of them, so the corresponding communication component 805 may include: Wi-Fi module, Bluetooth module, NFC module.
[0073] In an exemplary embodiment, the device 800 can be implemented by one or more application specific integrated circuits (ASIC), digital signal processors (DSP), digital signal processing devices (DSPD), programmable logic devices (PLD), field programmable gate arrays (FPGA), controllers, microcontrollers, microprocessors or other electronic components to execute the above-mentioned ERP management and analysis method based on a visual interface.
[0074] In another exemplary embodiment, a computer-readable storage medium including program instructions is also provided, and when the program instructions are executed by a processor, the steps of the above-mentioned ERP management and analysis method based on a visual interface are implemented. For example, the computer-readable storage medium can be the above-mentioned memory 802 including program instructions, and the above-mentioned program instructions can be executed by the processor 801 of the device 800 to complete the above-mentioned ERP management and analysis method based on a visual interface. Example 4
[0075] Corresponding to the above method embodiment, the embodiment of the present disclosure further provides a readable storage medium. The readable storage medium described below and the ERP management and analysis method based on a visual interface described above can refer to each other.
[0076] A readable storage medium stores a computer program, which, when executed by a processor, implements the steps of the ERP management and analysis method based on a visual interface of the above method embodiment.
[0077] The readable storage medium may specifically be a U disk, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk, or other readable storage medium that can store program codes.
[0078] The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. For those skilled in the art, the present invention may have various modifications and variations. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present invention shall be included in the protection scope of the present invention.
Claims
1. The ERP management analysis method based on the visual interface is characterized by: The method comprises: Obtaining a visualization interface of the central control system, wherein the visualization interface includes a main interface of the central control system and a multi-level hierarchical sub-interface under the main interface, and a link relationship between the main interface and the sub-interface; the main interface and the multi-level hierarchical sub-interface under the main interface, and the link relationship between the main interface and the sub-interface are through an index map of the central control system; Extracting keywords through a translation module according to pre-stored variables, wherein the pre-stored variables are variables to be extracted, and the translation module is a correspondence between the variables and the graphic elements of the central control system; The text area of the visualization interface is extracted through the CTPN algorithm. The text correction area is obtained through the RadonHough transform algorithm based on the text area. The single-line text image is obtained through the projection histogram segmentation algorithm based on the text correction area. The text content is recognized through the CRNN algorithm based on the single-line text image. The graphic elements of the central control system that need to be found are obtained through the translation module based on the text content. The edge information of the visualization interface is extracted by the CANNY algorithm, and the visualization interface is divided into container components corresponding to the image elements according to the edge information. The functions of the container components are identified by combination matching according to the types of container component functions and the text content identified in the container components; the types of container components functions are display components, jump components and switch components; the display components display prompt information, the jump components jump to another interface after being triggered, and the switch components turn on and off certain functions after being triggered; the jump components are identified according to the hierarchical structure of the main interface of the visualization interface and all its sub-interfaces; Obtain the component graphics of the pre-drawn industrial process graphics library, use the SIFT algorithm to match the component images and the features of the display components to identify the meaning of the display components, and mark the direct connection lines of the display components as the connection lines between the process flows; obtain the process flow chart of the central control system, extract the components of the process flow chart through the CANNY algorithm, and identify the meaning of the components of the process flow chart through the SIFT algorithm based on the components of the process flow chart, and mark the connection lines between the components of the process flow chart as the connection lines between the process flows; match the meaning of the display components and the meaning of the components of the process flow chart to identify the process flow chart of the visual interface; Set the process flow chart of the visualization interface and the data of the display components in the process flow chart area as tracking objects, and monitor their numerical changes; summarize the tracking object values of multiple central control systems and transmit them to the visualization interface of the intelligent management and analysis platform for display.
2. The ERP management and analysis method based on a visual interface according to claim 1, characterized in that: The method for obtaining a visual interface of a central control system includes: The camera set in the central control system shoots the GUI interface of the central control system in real time to obtain the original picture, and the original picture is divided into square image blocks of size N. The Euclidean distance between the square image blocks is set as the similarity. When the similarity between two square image blocks is lower than the set threshold, they are stacked into a three-dimensional matrix, and the three-dimensional matrix is transformed into a three-dimensional matrix and hard threshold filtering is performed. In the hard threshold filtering process, the coefficients less than the threshold are set to zero, and then a three-dimensional inverse transformation is performed to obtain the filtered picture; the YOLO algorithm is used to track the trajectory of the operator's operating finger according to the filtered picture, and it is saved when a new interface is triggered.
3. The ERP management and analysis method based on a visual interface according to claim 1, characterized in that: The meaning of the matching display class components and the meaning of the components of the process flow diagram include: Preprocessing of text content includes word segmentation, removal of stop words, and word form restoration. Text features are extracted from the preprocessed text through the word vector model, and text similarity is calculated through Jaccard similarity. Similar text content is screened out through the K-means clustering algorithm based on text features and text similarity, and the container components corresponding to the text content are formed into a corresponding relationship, and the container components are visually redrawn and displayed according to the corresponding relationship.
4. The ERP management and analysis method based on a visual interface as claimed in claim 3, characterized in that: The method for visually redrawing and displaying includes: Determine the starting point and end point of the process, as well as the nodes formed by the container components in the middle, based on the connection lines of the container components; arrange the container components in the order of the starting point and the end point, use arrows to connect the nodes, and add the text content of the corresponding container component to each node; use the Dijkstra algorithm to calculate the shortest distance between containers based on the arrangement of container components and arrows, and adjust the direction of the arrow according to the trajectory of the shortest distance; obtain the text content of the container component and update the text content corresponding to the node in real time.
5. The ERP management and analysis system based on the visual interface is characterized by: The system comprises: An acquisition module, used for acquiring a visualization interface of the central control system, wherein the visualization interface includes a main interface of the central control system and a multi-level hierarchical sub-interface under the main interface, and a link relationship between the main interface and the sub-interface; the main interface and the multi-level hierarchical sub-interface under the main interface, and a link relationship between the main interface and the sub-interface are through an index map of the central control system; An extraction module, used to extract keywords through a translation module according to pre-stored variables, wherein the pre-stored variables are variables to be extracted, and the translation module is a correspondence between variables and graphic elements of the central control system; The text recognition module is used to extract the text area of the visual interface through the CTPN algorithm, obtain the text correction area based on the text area through the RadonHough transform algorithm, obtain a single-line text image based on the text correction area through the projection histogram segmentation algorithm, and recognize the text content based on the single-line text image through the CRNN algorithm; according to the text content, the graphic elements of the central control system that need to be found are obtained through the translation module; The interface component identification module is used to extract edge information of the visual interface through the CANNY algorithm, divide the visual interface into container components corresponding to the image elements according to the edge information, and identify the function of the container component by combining and matching the function type of the container component and the text content identified in the container component; the function types of the container component are display components, jump components and switch components; the display component displays prompt information, the jump component jumps to another interface after being triggered, and the switch component switches a certain function after being triggered; the jump component is identified according to the hierarchical structure of the main interface of the visual interface and all its hierarchical sub-interfaces; The component meaning matching module is used to obtain the component graphics of the pre-drawn industrial process graphics library, use the SIFT algorithm to match the component image and the features of the display component to identify the meaning of the display component, and mark the direct connection lines of the display component as the connection lines between the process flows; obtain the process flow chart of the central control system, extract the components of the process flow chart through the CANNY algorithm, and identify the meaning of the components of the process flow chart through the SIFT algorithm according to the components of the process flow chart, and mark the connection lines between the components of the process flow chart as the connection lines between the process flows; match the meaning of the display component and the meaning of the components of the process flow chart to identify the process flow chart of the visual interface; The central control interface reconstruction module sets the process flow chart of the visual interface and the data of the display components in the process flow chart area as tracking objects, and monitors their numerical changes; summarizes the tracking object values of multiple central control systems, and transmits them to the visual interface of the intelligent management and analysis platform for display.
6. The ERP management and analysis system based on a visual interface as claimed in claim 5, characterized in that: The system comprises: The image recognition module is used to set a camera in the central control system to shoot the central control system GUI interface in real time to obtain an original image, divide the original image into square image blocks of size N, set the Euclidean distance between the square image blocks as the similarity, and stack them into a three-dimensional matrix when the similarity between two square image blocks is lower than the set threshold. The three-dimensional matrix is transformed into a three-dimensional matrix and hard threshold filtering is performed. The coefficients less than the threshold in the hard threshold filtering process are set to zero, and then a three-dimensional inverse transformation is performed to obtain a filtered image; the YOLO algorithm is used to track the trajectory of the operator's finger according to the filtered image, and the image is saved when a new interface is triggered.
7. The ERP management and analysis system based on a visual interface as claimed in claim 6, characterized in that: The system comprises: The text correspondence module is used to preprocess the text content, including word segmentation, stop word removal, and word form restoration. It extracts text features from the preprocessed text through the word vector model, calculates text similarity through Jaccard similarity, and uses the K-means clustering algorithm to screen out similar text content based on text features and text similarity. It also forms a correspondence between the container components corresponding to the text content, and redraws the container components for visualization based on the correspondence.
8. The ERP management and analysis system based on a visual interface as claimed in claim 7, characterized in that: The system comprises: The container connection reconstruction module is used to determine the starting point and end point of the process, as well as the nodes formed by the container components in the middle, based on the connection lines of the container components; arrange the container components in the order of the starting point and the end point, connect the nodes with arrows, and add the text content of the corresponding container component to each node; calculate the shortest distance between containers using the Dijkstra algorithm based on the arrangement of container components and arrows, and adjust the direction of the arrow according to the trajectory of the shortest distance; obtain the text content of the container component and update the text content corresponding to the node in real time.
9. A device, characterized in that: include: Memory, used to store computer programs; A processor, used to implement the method steps described in any one of claims 1-4 when executing a program stored in a memory.
10. A medium having a computer program stored thereon, characterized in that: When the program is executed by a processor, the method steps described in any one of claims 1 to 4 are implemented.
Citation Information
Patent Citations
Rapid dialing system capable of intelligently recognizing word segmentation and implementation method thereof
CN111866254A
Electronic device for providing enterprise resource planning based on web and method for operating thereof
KR102272316B1
Industrial automation HMI program file generation from computer-aided design
US20210397171A1
Industrial automation data management as a service
US20230393556A1
