Virtual data tag generation system and method for front-end pages
Through the virtual data label generation system and method, the problem of frequent background calls and insufficient temporary variables when the front-end page is processing binding point data is solved, the automatic construction of graphics and the flexible binding of data are realized, and the development and operation of the front-end page are improved. efficiency and user experience.
Patent Information
- Application Number
- CN202410903315.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-08
- Publication Date
- 2024-09-10
- Estimated Expiration
- 2044-07-08
AI Technical Summary
When processing bound point data, the front-end page needs to frequently call the background for calculations, resulting in increased system communication overhead and delay. The lack of temporary variables as a carrier makes it difficult to reuse bound point graphics and expressions to be nested, which limits the flexibility of the front-end page. sex and efficiency.
Provides a virtual data label generation system and method for front-end pages. By obtaining the device pictures and basic information input by the user, it constructs an abstract subgraph and introduces virtual data labels to realize the decoupling of data and graphics, and embed dynamic expressions into the abstract subgraph. , enhance the reusability of graphics and the nested use of expressions.
Optimizes the nested use of tied point data expressions, enhances the reusability of tied point graphics, simplifies calculation logic, saves memory resources, and makes web page display more concise and efficient.
Smart Images

Figure CN118445018B
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of front-end development, and in particular to a system and method for generating virtual data tags for front-end pages. Background Art
[0002] With the continuous development of industrial automation and informatization, manufacturing enterprises often deploy a large number of metering equipment, such as electricity meters and water meters. There are complex hierarchical relationships between these devices, and sometimes they need to be adjusted frequently, such as the hierarchical relationship of relay boxes. In addition, the graphical equipment monitoring interface usually contains a large number of judgment conditions, and as the complexity of the system increases, the judgment conditions are also increasing. In the prior art, the graphical interface can generally only associate direct data points. For data points that require secondary calculations, it is necessary to configure the calculation formula in the background and generate new data points before they can be used in the front end. When the front-end page processes the binding point data, it mainly directly calls the background interface, and the background calculates according to various variables and expressions, and then returns the results to the front end for display. However, this processing method has the following shortcomings: when encountering complex calculations, the front end needs to frequently initiate requests to the background, which increases the communication overhead and delay of the system. At the same time, due to the lack of temporary variables in the front end as a carrier, it is difficult to reuse the graphics bound to the data points, and it is also difficult to nest the expressions between different graphics. These problems limit the flexibility and efficiency of the front-end page and affect the user's operating experience. Summary of the invention
[0003] The present application provides a virtual data label generation system and method for front-end pages, aiming to solve the technical problems in the prior art that when the front-end page processes binding point data, it is necessary to frequently call the background for calculation, and the lack of temporary variables as carriers makes it difficult to reuse binding point graphics and difficult to nest expressions.
[0004] In view of the above problems, the present application provides a virtual data tag generation system and method for front-end pages.
[0005] The first aspect disclosed in the present application provides a virtual data label generation system for a front-end page, the system comprising: an acquisition module for acquiring user input information, the input information including image information and basic information of the device; a construction module for constructing an abstract subgraph, the abstract subgraph is constructed by an abstract network, the abstract network is an intelligent processing network for disassembling and reconstructing basic graphic elements, and the abstract network is provided with an adaptively updated distinction database, the distinction database is used to store the constructed abstract subgraph, the image information is input into the abstract network, and the abstract subgraph is generated; a first parsing module is used to parse the basic information, establish the status identification of the device, and The status identifier updates the abstract subgraph; the second parsing module is used to parse the basic information, establish equipment configuration information, on-site operating data, indicator configuration information, and indicator statistical data, and establish virtual data tags based on the equipment configuration information, on-site operating data, indicator configuration information, and indicator statistical data; the construction module is used to embed the dynamic expression of the virtual data tag of the updated abstract subgraph to complete the construction of the abstract subgraph; the management module is used to read the virtual data tag of the abstract subgraph when referencing the constructed abstract subgraph, and assign a value to the virtual data tag, update the abstract subgraph state according to the assignment result, and complete the equipment management based on the virtual data tag.
[0006] Another aspect disclosed in the present application provides a method for generating virtual data tags for front-end pages, the method comprising: obtaining user input information, the input information including image information and basic information of the device; constructing an abstract subgraph, the abstract subgraph being constructed by an abstract network, the abstract network being an intelligent processing network for disassembling and reconstructing basic graphic elements, and the abstract network being provided with an adaptively updated distinction database, the distinction database being used to store the constructed abstract subgraph, the image information being input into the abstract network to generate the abstract subgraph; parsing the basic information, establishing a status identifier of the device, and updating the abstract subgraph through the status identifier; parsing the basic information, establishing device configuration information, on-site operating data, indicator configuration information, and indicator statistical data, and establishing a virtual data tag based on the device configuration information, on-site operating data, indicator configuration information, and indicator statistical data; embedding the dynamic expression of the virtual data tag into the updated abstract subgraph to complete the construction of the abstract subgraph; when referencing the constructed abstract subgraph, reading the virtual data tag of the abstract subgraph, and assigning a value to the virtual data tag, updating the abstract subgraph state based on the assignment result, and completing device management based on the virtual data tag.
[0007] One or more technical solutions provided in this application have at least the following technical effects or advantages:
[0008] The acquisition module is used to obtain the device image information and basic information input by the user, wherein the image information is used to generate the abstract subgraph of the device, and the basic information is used to establish the device status identification and virtual data labels; the construction module uses the abstract network to construct the abstract subgraph based on the image information. The abstract network disassembles and reconstructs the basic graphics elements through intelligent processing, and is equipped with an adaptively updated difference database for storing the constructed abstract subgraphs, thereby improving the efficiency of graphics construction; the first parsing module parses the basic information, establishes the device status identification, and updates the abstract subgraph accordingly; the second parsing module further parses the basic information, establishes the device configuration, working conditions, indicators and other information, and establishes the virtual data labels accordingly, introduces the virtual data labels, and acts as the temporary variables of the front end, which is convenient for the nested use of expressions and the reuse of graphics; the construction module embeds the dynamic expression of the virtual data label into the update The abstract subgraph is constructed after the abstract subgraph is built. By decoupling data from graphics and embedding dynamic expressions into graphics, the graphics can be flexibly adapted to different data, thereby enhancing the reusability of graphics. When referencing the abstract subgraph, the management module reads its virtual data label and assigns a value, updates the subgraph status according to the assignment result, implements device management based on virtual labels, maps device status to virtual labels, manages devices by managing virtual labels, simplifies the technical solution of the management process, and solves the technical problems in the prior art that when the front-end page processes the binding point data, it needs to frequently call the background for calculation, and the lack of temporary variables as a carrier makes it difficult to reuse the binding point graphics and difficult to nest the expressions. The technical effect of optimizing the nested use of binding point data expressions, enhancing the reusability of binding point graphics, simplifying the calculation logic, saving memory resources, and making the web page display more concise and efficient is achieved.
[0009] The above description is only an overview of the technical solution of the present application. In order to more clearly understand the technical means of the present application, it can be implemented in accordance with the contents of the specification. In order to make the above and other purposes, features and advantages of the present application more obvious and easy to understand, the specific implementation methods of the present application are listed below. BRIEF DESCRIPTION OF THE DRAWINGS
[0010] Figure 1 A structural schematic diagram of a virtual data tag generation system for a front-end page is provided for an embodiment of the present application;
[0011] Figure 2 A flow chart of a method for generating virtual data tags for a front-end page is provided for an embodiment of the present application.
[0012] Explanation of the reference numerals: acquisition module 11 , construction module 12 , first analysis module 13 , second analysis module 14 , construction module 15 , management module 16 . DETAILED DESCRIPTION
[0013] The overall idea of the technical solution provided by this application is as follows:
[0014] The embodiments of the present application provide a system and method for generating virtual data tags for front-end pages, which constructs an efficient and flexible front-end binding point data processing solution by automatically constructing abstract subgraphs, introducing virtual data tags, decoupling data and graphics, and managing devices based on virtual tags.
[0015] Specifically, first, the device information input by the user is obtained, and the abstract network is used to intelligently generate the device abstract subgraph, avoiding the tedious manual drawing. Then, the basic information of the device is parsed, the device status identification and virtual data tags are established, and the front-end temporary variables are introduced to enhance the graphics reusability and expression adaptability. Next, the dynamic expression of the virtual tag is embedded in the abstract subgraph to achieve the decoupling of data and graphics, so that the graphics can be flexibly adapted to different data. After that, the device status is mapped by managing the virtual data tags to simplify the device management process.
[0016] To sum up, this application overcomes the shortcomings of the existing front-end binding point data processing technology, realizes the automation of graphics construction, flexibility of data binding, and simplification of device management, thereby greatly improving the front-end page development and operation efficiency and optimizing the human-computer interaction experience.
[0017] After introducing the basic principles of the present application, various non-limiting implementation methods of the present application will be specifically described below in conjunction with the drawings in the specification.
[0018] Embodiment 1, as Figure 1 As shown, an embodiment of the present application provides a virtual data tag generation system for a front-end page, the system comprising:
[0019] The acquisition module 11 is used to acquire the user's input information, and the input information includes the image information and basic information of the device.
[0020] Specifically, the image information of the device is image data related to the appearance of the device provided by the user by uploading an image file, scanning and identifying a device drawing, taking a photo of the device, etc. The acquisition module 11 supports a variety of image formats, such as JPG, PNG, BMP, etc. By acquiring the image information of the device, the system can intuitively understand the appearance characteristics of the device and provide a data basis for subsequent graphical processing.
[0021] The basic information of the equipment covers various attribute data of the equipment, such as equipment model, specification parameters, installation location, measurement point configuration, etc. The user provides the basic information of the equipment to the acquisition module 11 by manual entry, importing into a spreadsheet, reading a database, etc. The system supports users to customize the equipment attribute fields to meet the needs of different industries and application scenarios. By comprehensively acquiring the basic information of the equipment, a data foundation is laid for subsequent data binding, logic control and other functions.
[0022] After obtaining the user's input information, the acquisition module 11 performs format check and data verification on the image information and basic information input by the user to ensure the integrity and accuracy of the information. At the same time, the acquisition module 11 provides error prompts and correction guidance to help users complete the information entry process efficiently and accurately.
[0023] In short, the acquisition module 11 comprehensively acquires the device images and basic information provided by the user, provides high-quality and reliable data input for the virtual data label generation system, and is the basis for realizing subsequent graphical display and data-driven functions.
[0024] The construction module 12 is used to construct an abstract subgraph, and the abstract subgraph is constructed by an abstract network. The abstract network is an intelligent processing network for disassembling and reconstructing basic graphic elements, and the abstract network is provided with an adaptively updated distinction database, and the distinction database is used to store the constructed abstract subgraph. The image information is input into the abstract network to generate an abstract subgraph.
[0025] Specifically, the construction module 12 is responsible for constructing an abstract subgraph according to the acquired device image information. The construction module 12 uses an abstract network to automatically generate an abstract subgraph, thereby improving the efficiency and intelligence level of graph construction.
[0026] The abstract network is an intelligent processing network specifically used for graphic disassembly and reconstruction. It takes a device image as input and generates an abstract subgraph that represents the device structure and features by identifying, extracting and combining the basic graphic elements in the image. Compared with traditional manual drawing methods, the abstract network can quickly and accurately complete graphic abstraction, reducing the requirements for drawing skills.
[0027] In order to further improve the adaptability and accuracy of the abstract network, an adaptively updated difference database is introduced. The difference database is used to store historically generated abstract subgraph samples. Through the analysis and learning of the samples, the parameters and strategies of the abstract network are continuously optimized to enable it to adapt to the graph abstraction requirements of different devices and scenarios.
[0028] Specifically, when the image information is input into the abstract network, the abstract network first preprocesses the image, such as noise removal and edge detection, to improve the image quality. Then, the abstract network uses the graphic recognition algorithm to extract the basic primitives in the image, such as identifying the outer contour, key components, and connecting lines of the device. Then, the abstract network classifies and combines the extracted primitives through primitive analysis and semantic understanding to generate high-level device components and structural representations. Finally, the abstract network optimizes and adjusts the generated abstract subgraphs in combination with historical samples in the difference database to better meet the actual characteristics of the device. The generated abstract subgraph represents the structure and composition of the device in the form of vector graphics, which contains information such as the key components, layout methods, and connection relationships of the device. The abstract subgraph can easily interact with other modules for data and visual presentation, providing a basis for subsequent functions such as status identification and virtual data binding.
[0029] The construction module 12 realizes the automatic abstraction and intelligent construction of device graphics through the abstract network, and continuously optimizes the generation effect by combining the adaptively updated difference database, thereby improving the efficiency and quality of graphics construction and providing support for the application of the virtual data label generation system.
[0030] The first parsing module 13 is used to parse the basic information, establish a status identifier of the device, and update the abstract subgraph through the status identifier.
[0031] Specifically, the first parsing module 13 is used to parse the basic information of the device acquired by the acquiring module 11, establish a state identifier of the device, and update the abstract subgraph generated by the constructing module 12 according to the state identifier.
[0032] First, the first parsing module 13 performs semantic analysis and data extraction on the basic information of the equipment. The basic information contains various status data of the equipment, such as switch status, operation mode, fault sign, etc. The first parsing module 13 accurately identifies and extracts these status data through natural language processing and regular expression matching technologies, providing a data basis for the subsequent establishment of status identification. Then, the first parsing module 13 establishes a corresponding status identification based on the extracted status data. The status identification uses vivid and intuitive graphic symbols to represent the different states of the equipment, such as red for fault status and green for normal operation status. The first parsing module 13 maintains a set of status identification libraries, which predefines identification symbols for common equipment states. At the same time, the system also allows users to customize status identification to meet the needs of specific equipment and scenarios.
[0033] After the status identifier is established, the first parsing module 13 associates the status identifier with the abstract subgraph to update the status of the abstract subgraph. Specifically, the first parsing module 13 analyzes the structure and composition of the abstract subgraph and identifies the graphic elements corresponding to the status identifier, such as key components of the equipment, connecting lines, etc. Then, according to the semantic information of the status identifier, the first parsing module 13 modifies the attributes of the corresponding graphic elements, such as changing the color, adding text descriptions, displaying animation effects, etc., to intuitively reflect the real-time status of the equipment. Through the dynamic association of the status identifier and the abstract subgraph, the user can intuitively understand the operating status of the equipment, quickly locate the fault point, and improve the visualization effect and interactive performance. At the same time, the introduction of the status identifier also lays the foundation for subsequent monitoring and early warning, intelligent diagnosis and other functions.
[0034] The first parsing module 13 parses the basic information of the device, establishes an identification symbol corresponding to the device status, and associates and updates it with the abstract subgraph, thereby realizing the visual expression and real-time mapping of the device status and improving the monitoring efficiency and user experience of the front-end page.
[0035] The second parsing module 14 is used to parse the basic information, establish equipment configuration information, on-site working condition data, indicator configuration information, and indicator statistical data, and establish virtual data tags based on the equipment configuration information, on-site working condition data, indicator configuration information, and indicator statistical data.
[0036] Specifically, first, the second analysis module 14 comprehensively analyzes the basic information of the equipment and extracts various data such as equipment configuration information, field operating data, indicator configuration information, and indicator statistical data. Among them, the equipment configuration information includes static attribute data such as the model, specification, and installation location of the equipment; the field operating data reflects the real-time operating status of the equipment, such as temperature, pressure, current and other measurement point data; the indicator configuration information defines the key performance indicators of the equipment and their calculation methods; and the indicator statistical data records the historical trends and statistical laws of the equipment indicators. The second analysis module 14 uses a variety of data analysis technologies such as regular expressions, keyword extraction, and data mapping to accurately extract the required data elements from the basic information.
[0037] On the basis of the extracted data, the second parsing module 14 organizes the extracted data into structured and semantic associations according to the predefined data model, and establishes a multi-dimensional data model of complete equipment configuration information, field working condition data, indicator configuration information and indicator statistical data. The data model represents the static characteristics and dynamic behaviors of the equipment in the form of an object attribute graph, and establishes the logical relationship and calculation dependency between the data elements, laying a solid data foundation for subsequent data analysis and intelligent decision-making.
[0038] Based on the established multi-dimensional data model, the second parsing module 14 further generates virtual data tags corresponding to the data elements according to predefined mapping rules. Virtual data tags abstractly represent key data points of devices in the form of custom identifiers, such as "$deviceName$" for device name, "$deviceCode$" for device code, "$pointName$" for measuring point name, "$pointCode$" for measuring point code, "$pointValue$" for measuring point value, etc. The generation of virtual data tags follows unified naming conventions and semantic rules to ensure the uniqueness and consistency of tags.
[0039] Through virtual data tags, abstract subgraphs can be easily bound and interacted with actual device data. When displaying graphics and interacting with each other, you only need to reference the corresponding data elements through virtual tags, without paying attention to the specific data collection and calculation process, which improves the flexibility and scalability of the system. At the same time, the introduction of virtual data tags also facilitates the reuse and sharing of graphic templates. Different devices and scenarios can share the same graphic templates and label definitions, reducing the workload of repeated development.
[0040] Through the in-depth analysis and data modeling of the basic information of the equipment by the second analysis module 14, a complete equipment data panorama is established, and virtual labels corresponding to the data elements are generated, providing data support for the data-driven and intelligent analysis of the abstract subgraph.
[0041] The building module 15 is used to embed the dynamic expression of the virtual data label into the updated abstract subgraph to complete the building of the abstract subgraph.
[0042] Specifically, the construction module 15 is responsible for dynamically associating the abstract subgraph updated by the first parsing module 13 with the virtual data labels generated by the second parsing module 14, and realizing the deep integration of graphics and data by embedding the dynamic expression of the virtual labels in the abstract subgraph, thereby completing the final construction of the abstract subgraph.
[0043] First, the construction module 15 analyzes the updated abstract subgraph and identifies key graphic elements therein, such as equipment components, connection lines, status identifiers, etc. At the same time, the construction module 15 also reads the virtual data label list generated by the second parsing module 14 to extract the semantic information and data type of the label. Then, the construction module 15 matches and associates the virtual data labels with the graphic elements of the abstract subgraph according to the predefined binding rules. The binding rules define the correspondence between graphic elements and data labels, such as the binding of equipment components to their measurement point labels, the binding of status identifiers to their judgment condition labels, etc. The construction module 15 uses technologies such as graphic semantic analysis and pattern matching to automatically identify and recommend the optimal binding solution, while also allowing users to manually adjust and optimize the binding relationship.
[0044] After completing the binding of the graphic element and the data label, the construction module 15 further embeds the dynamic expression of the virtual data label into the abstract subgraph. The dynamic expression is embedded in the attribute definition of the graphic element in the form of a placeholder, and the value of the label is dynamically filled into the text attribute of the graphic. Through the embedding of the dynamic expression of the virtual label, the abstract subgraph realizes dynamic binding with real-time data. When the device data changes, the bound virtual label is automatically updated, the dynamic expression recalculates the attributes of the graphic element according to the updated label value, and triggers the redrawing and refreshing of the graphic. The dynamic binding mechanism enables the abstract subgraph to reflect the status and data changes of the device in real time, providing a highly interactive and responsive user experience. Afterwards, the construction module 15 performs the final optimization and adjustment of the abstract subgraph embedded with the dynamic expression, such as adjusting the graphic layout, optimizing the drawing performance, etc., to generate a complete visual interface. The constructed abstract subgraph is encapsulated in a componentized form and flexibly embedded in different application interfaces and scenarios to achieve graphic reuse and modular development.
[0045] Building module 15 achieves deep integration and real-time interaction between graphics and data by dynamically binding virtual data labels with abstract subgraphs and embedding dynamic expressions of labels in graphics, greatly improving the system's visualization effect and user experience.
[0046] The management module 16 is used to read the virtual data tag of the abstract subgraph when referencing the constructed abstract subgraph, assign a value to the virtual data tag, update the abstract subgraph state according to the assignment result, and complete the device management based on the virtual data tag.
[0047] Specifically, the management module 16 is responsible for referencing and managing the constructed abstract subgraph, and realizes the dynamic update of the abstract subgraph state by reading and assigning values to virtual data tags, thereby completing the device management function based on virtual tags.
[0048] In specific applications, when it is necessary to reference an abstract subgraph, the management module 16 first reads the definition information of the abstract subgraph, including graphic elements, binding relationships, virtual tags, etc. By parsing the metadata of the abstract subgraph, the management module 16 identifies the virtual data tags therein, and generates corresponding data access interfaces and management controls based on the semantic information and data types of the tags. Then, the management module 16 reads the device data corresponding to the virtual tag from the real-time database or historical database through the data access interface. The data access process follows predefined data security and authority control policies to ensure the confidentiality and integrity of the data. The management module 16 supports the integration of multiple data sources, including relational databases, time series databases, message queues, etc., and flexibly adapts to different data environments.
[0049] After obtaining the actual data of the virtual tag, the management module 16 assigns the virtual tag according to the data type and range. For numeric tags, the management module 16 directly assigns the acquired data to the tag; for enumeration tags, the management module 16 converts the data into the corresponding enumeration value according to the predefined mapping relationship; for Boolean tags, the management module 16 converts the data into true or false according to the logical condition of the data. The tag assignment process automatically performs data type conversion and range checking to ensure the correctness and consistency of the data.
[0050] After the virtual tag is assigned, the management module 16 triggers the state update of the abstract subgraph. The graphic element bound to the virtual tag recalculates the dynamic expression according to the new value of the tag, and updates the properties and style of the graphic. For example, when the value of the temperature tag exceeds the preset threshold, the pointer of the thermometer graphic will automatically move to the corresponding position and trigger the change of the alarm color. The management module 16 is responsible for coordinating the timing and consistency between the tag assignment and the graphic update to ensure that the graphic state is synchronized with the device data.
[0051] Through the dynamic assignment of virtual tags and the automatic update of graphic states, the management module 16 implements device management based on virtual tags. Users can directly operate and monitor virtual tags through the interactive interface without paying attention to the specific device communication and data processing details. The management module 16 implements device management based on virtual tags by referencing abstract subgraphs, reading and assigning virtual data tags, and automatically updating graphic states. This data-driven graphical management method greatly improves the ease of use and maintainability of the system, and provides users with an intuitive and efficient device management method.
[0052] Furthermore, the building blocks are also used to:
[0053] The image information is parsed through the preprocessing subnetwork, and the image complexity is generated according to the parsing result; the image complexity is synchronized to the decomposition subnetwork, and the number of basic primitives of the first gradient, the number of basic primitives of the second gradient, and the number of basic primitives of the third gradient of the decomposition subnetwork are configured; the image information is decomposed according to the configured decomposition subnetwork, and the first gradient basic primitives, the second gradient basic primitives, and the third gradient basic primitives are established; the distinction database is called to perform adaptation evaluation of the second gradient basic primitives and the third gradient basic primitives, and an abstract sub-image is output according to the adaptation evaluation result and the first gradient basic primitives.
[0054] In a feasible implementation, first, the preprocessing subnetwork first parses and preprocesses the input image information. The preprocessing process includes operations such as image denoising, edge detection, and color space conversion, which aims to improve image quality and highlight key features. Among them, the preprocessing subnetwork adopts deep learning models such as convolutional neural networks, and learns robust and efficient image preprocessing strategies through training on a large number of device images. On the basis of image preprocessing, the complexity of the image is further analyzed to generate a quantitative index reflecting the complexity of the image. Among them, the image complexity is calculated by a weighted combination of features such as information entropy, edge density, and color histogram based on factors such as the richness of details, structural complexity, and color diversity of the image. Then, the decomposition subnetwork is responsible for decomposing the preprocessed image into multiple basic primitives. In order to adapt to images of different complexities, the decomposition subnetwork adopts a multi-gradient decomposition strategy. The first gradient processes simple graphics and extracts the most basic geometric elements; the second gradient processes medium-complex graphics and extracts combined graphic units; the third gradient processes complex graphics and extracts abstract semantic units. The decomposition subnetwork adaptively configures the number of basic primitives of each gradient according to the image complexity generated by the preprocessing subnetwork to balance the decomposition accuracy and computational efficiency. Through gradient-by-gradient primitive decomposition, the decomposition subnetwork extracts three levels of basic primitives from the image: first gradient basic primitives, second gradient basic primitives, and third gradient basic primitives. These primitives are represented in the form of vector graphics, containing attribute information such as position, size, and direction, providing basic units for subsequent primitive combinations.
[0055] After the primitive decomposition is completed, the existing primitive combination template is read from the difference database, and then the extracted second gradient basic primitive and third gradient basic primitive are matched with the template to calculate the similarity between the primitive and the template. The similarity is calculated using a graph matching algorithm based on multiple factors such as the geometric properties, topological relationships, and semantic labels of the primitives. According to the adaptation evaluation results, the parts with the highest similarity are selected from the second gradient basic primitive and the third gradient basic primitive, and combined with the first gradient basic primitive to generate the final abstract subgraph. The abstract subgraph represents the key components of the device in the form of vector graphics, retaining the basic structure and semantic information of the device, while also eliminating redundant details, achieving a high degree of abstraction of the device graphics.
[0056] By introducing the preprocessing sub-network, decomposition sub-network and adaptation evaluation, the construction module 12 realizes the adaptive multi-gradient primitive decomposition and optimization combination, which greatly improves the generation quality and efficiency of the abstract sub-graph. Through the progressive graph abstraction method, the historical samples in the database are fully utilized, while the flexibility and diversity of graph decomposition are also taken into account, laying a graphical foundation for the subsequent virtual label binding.
[0057] Furthermore, the embodiment of the present application also includes:
[0058] A sequence sorting penalty coefficient construction module is used to obtain the sequence sorting within the second gradient basic primitive and the third gradient basic primitive, and establish a sequence sorting penalty coefficient; a gradient trust value construction module is used to obtain the gradient trust value of the second gradient basic primitive and the third gradient basic primitive, adjust the gradient trust value penalty by the sequence sorting penalty coefficient, and perform weighted calculation of the penalty adjustment result according to the adaptation evaluation result, perform sequence screening according to the weighted calculation result, and construct an abstract subgraph based on the sequence screening result and the first gradient basic primitive.
[0059] In a preferred embodiment, a sequential sorting penalty coefficient construction module and a gradient trust value construction module are introduced to further optimize the screening and combination of the second gradient basic primitives and the third gradient basic primitives, thereby improving the construction quality of the abstract subgraph.
[0060] Among them, the sequential sorting penalty coefficient construction module is responsible for analyzing the sequential relationship between the second gradient basic primitive and the third gradient basic primitive, and establishing the sequential sorting penalty coefficient accordingly. Specifically, the sequential sorting penalty coefficient construction module first extracts the geometric attributes of each primitive, such as position, direction, and connection relationship, and then calculates the sequential distance between the primitives based on the similarity and adjacency of the attributes. The larger the sequential distance, the farther the primitive is in the original image, and the less likely it is to appear in the abstract sub-image at the same time. According to the calculated sequential distance, the sequential sorting penalty coefficient construction module generates a sequential sorting penalty coefficient matrix. Each element of the penalty coefficient matrix represents the sequential distance between two primitives. The larger the distance, the higher the penalty coefficient. The sequential sorting penalty coefficient matrix reflects the relative position relationship between the primitives, providing an important basis for subsequent primitive screening.
[0061] The gradient trust value construction module is used to evaluate the trustworthiness of the second gradient basic primitive and the third gradient basic primitive and generate a gradient trust value. Initially, the gradient trust value construction module assigns a basic trust value to each primitive based on factors such as the decomposition level and matching degree of the primitive. The higher the level and the higher the matching degree of the primitive, the larger its basic trust value, indicating that they are more likely to become part of the abstract subgraph. Then, the gradient trust value construction module uses the order sorting penalty coefficient to penalize the basic trust value. Specifically, for each primitive, the gradient trust value construction module calculates the sum of its order sorting penalty coefficients with other primitives as a penalty term. The larger the penalty term, the more inconsistent the order relationship between the primitive and other primitives, and the greater the penalty on its basic trust value. The gradient trust value construction module obtains the adjusted trust value of the primitive by subtracting the penalty term.
[0062] On this basis, the gradient trust value construction module further combines the adaptation evaluation results to perform weighted calculation on the adjusted trust value. The adaptation evaluation results reflect the degree of match between the primitive and the historical samples in the database. The higher the match, the greater the weight coefficient of the primitive. The gradient trust value construction module multiplies the adjusted trust value with the corresponding weight coefficient to obtain the final gradient trust value of the primitive. Afterwards, the gradient trust value construction module sequentially screens the second gradient basic primitive and the third gradient basic primitive according to the gradient trust value. The higher the trust value of the primitive, the higher the priority it is selected. The screening process follows the preset combination rules and constraints, such as connection compatibility and semantic consistency between primitives. The gradient trust value construction module combines the selected optimal primitive with the first gradient basic primitive to generate the final abstract subgraph.
[0063] Through sequential sorting penalty and gradient trust value adjustment, the order relationship and credibility of the primitives are fully considered in the process of primitive screening and combination, which effectively improves the accuracy and rationality of the abstract subgraph, while also reducing the computational complexity, making the construction of the abstract subgraph more efficient and reliable.
[0064] Furthermore, the gradient trust value building module is also used to:
[0065] Determine whether a preset size of a distinction database meets a preset threshold; if the preset size of the distinction database meets the preset threshold, activate an additional generation subnetwork of the abstract network; before constructing an abstract subgraph according to a sequential screening result and a first gradient basic primitive, perform device matching based on image information through the additional generation subnetwork, and establish additional features according to the device matching results; complete the construction of the abstract subgraph according to the additional features, the sequential screening result and the first gradient basic primitive.
[0066] In a preferred embodiment, the gradient trust value construction module also includes a threshold judgment and an additional generation sub-network, which is used to introduce additional device matching information when the distinction database reaches a certain scale, so as to further enhance the construction capability of the abstract sub-graph.
[0067] First, the current size of the difference database is obtained, that is, the number of abstract subgraph samples stored in the database. Then, the current size is compared with the preset threshold. The preset threshold is an empirical value, which means that when the difference database reaches this size, enough historical samples have been accumulated to support a relatively complete and accurate graph abstraction task. If the size of the difference database is less than or equal to the preset threshold, the additional generative subnetwork is triggered and activated. In this case, the number of historical samples in the difference database is relatively limited. It is difficult to cover all device types and graph features by relying solely on existing samples for graph understanding and matching, resulting in a decrease in the construction quality of the abstract subgraph.
[0068] In order to make up for the problem of insufficient samples, an additional generative subnetwork is introduced as a supplementary means. The additional generative subnetwork is an image understanding model based on deep learning. It has learned rich visual features and semantic concepts through pre-training on a large-scale general image dataset. When faced with new device images, the additional generative subnetwork uses its general image understanding ability to capture key information and abstract features in the image even when the samples in the difference database are limited. In the stage of abstract subgraph construction, that is, before generating an abstract subgraph based on the sequential screening results and the first gradient basic primitives, the additional generative subnetwork analyzes and understands the input original device image. The deep features of the image are extracted through the convolutional neural network, and combined with the pre-trained semantic knowledge, the high-level information such as the device type and functional attributes contained in the image is output to generate additional features.
[0069] Afterwards, the gradient trust value construction module combines the additional features with the sequential screening results and the first gradient basic primitives to jointly guide the generation of abstract subgraphs. The additional features make up for the blind spots in graph understanding that may be caused by insufficient samples in the distinction database, providing a more comprehensive and accurate reference for the construction of abstract subgraphs, effectively improving the generation quality.
[0070] Through threshold judgment and additional generative subnetworks, the graph understanding and matching strategies are adaptively adjusted according to the actual size of the difference database. When there are sufficient samples, the difference database is directly used for accurate matching; when there are insufficient samples, general features are supplemented by additional generative subnetworks to maintain the reliability of abstract subgraph construction. Through dynamic adaptation, it can stably generate high-quality abstract subgraphs under different data conditions, providing a solid foundation for subsequent virtual data label binding.
[0071] Furthermore, the management module is also used to:
[0072] A character string replacement strategy and a numerical value replacement strategy are configured, and a value is assigned to the virtual data label according to the character string replacement strategy and / or the numerical value replacement strategy.
[0073] In a feasible implementation, the string replacement strategy defines how to map string-type data such as device attribute information and status description to virtual labels. For example, the model name of the device is mapped to the virtual label "\$device model\$", and the location description of the device is mapped to "\$device location\$". Through string replacement, the text label in the abstract subgraph dynamically displays the actual attribute information of the device. The value replacement strategy defines how to map the numerical type data such as the device's measurement point data and statistical indicators to the virtual label. For example, the temperature measurement point of the device is mapped to the virtual label "\$temperature value\$", and the efficiency index of the device is mapped to "\$efficiency value\$". Through value replacement, the numerical label in the abstract subgraph reflects the operating status and performance indicators of the device in real time. Provide a visual configuration interface to allow users to customize the replacement rules of strings and values. Users can map data sources such as device attributes and measurement points to virtual labels through simple drag and drop operations, and set corresponding formatting options such as decimal places, units, etc., to generate corresponding mapping scripts and conversion functions to perform data replacement at runtime.
[0074] Subsequently, during the operation of the system, the virtual data tags are actually assigned according to the defined replacement strategy. Specifically, the attribute information and operation data of the device are obtained in real time through the data access interface, and the acquired data is dynamically filled into the corresponding virtual tag according to the mapping relationship defined in the replacement strategy. For virtual tags of string type, string replacement is performed to replace the device attribute information with the placeholder position of the tag. The replacement process automatically formats and truncates the string to meet the display requirements of the label; for virtual tags of numeric type, numeric replacement is performed to convert the device data into a numeric value of the specified format and fill it into the label. The numeric replacement process will perform necessary data type conversion, precision control and range checking to ensure the correctness and rationality of the assignment.
[0075] After the virtual tag assignment is completed, the abstract sub-graph is redrawn and updated, so that the graphical interface can reflect the latest status and data of the device in real time. Through regular data acquisition and tag assignment, the management module 16 realizes the dynamic synchronization of virtual data tags and actual device data, ensuring the real-time and accuracy of the system presentation.
[0076] In summary, the management module 16 enhances the flexibility and applicability of virtual data tags by introducing replacement strategy configuration and label assignment mechanism. Users can customize personalized replacement strategies according to specific application scenarios and data characteristics to achieve seamless connection between virtual tags and device data. At the same time, the automation and real-time nature of label assignment also improves the operating efficiency and response speed of the system. Based on data-driven dynamic label updates, the abstract subgraph can be adaptively adjusted as the device status changes, providing users with real-time, accurate, and intuitive device monitoring and management experience.
[0077] Furthermore, the embodiment of the present application also includes an optimization module, which is used to:
[0078] The abstract sub-graph information in the front-end page is obtained, graphic elements are identified for the abstract sub-graph information, and graphic distribution characteristics are extracted; the graphic element spacing, alignment and distribution analysis are performed according to the graphic distribution characteristics, and layout optimization is performed according to the distribution analysis results.
[0079] In a feasible implementation, the virtual data label generation system introduces an optimization module for optimizing the layout of the generated abstract subgraph to improve the aesthetics and readability of the graphical interface.
[0080] The optimization module first obtains the information of all abstract subgraphs embedded in the front-end page, including the position, size, internal composition, etc. of the subgraph. Then, the optimization module conducts an in-depth analysis of each abstract subgraph to identify the graphic elements contained therein, such as geometric figures, text labels, connecting lines, etc. Through techniques such as graphic semantic segmentation and pattern matching, the optimization module accurately extracts the graphic composition and structural information of the subgraph. After completing the identification of graphic elements, the optimization module further extracts the graphic distribution features. The graphic distribution features describe the spatial arrangement of graphic elements in the subgraph, including geometric properties such as element spacing, alignment, and symmetry. The optimization module constructs a feature vector reflecting the distribution of graphics by calculating indicators such as the Euclidean distance, angle, and center of gravity between elements.
[0081] Based on the extracted graphic distribution features, the optimization module comprehensively evaluates and optimizes the layout of the sub-graph. First, the optimization module analyzes whether the spacing between graphic elements is reasonable. Too large or too small spacing will affect the beauty and clarity of the graphics. The optimization module identifies areas with abnormal spacing by calculating the mean and variance of the element spacing, and adjusts the size and position of the elements to make the spacing distribution more uniform and reasonable. Secondly, the optimization module evaluates the alignment of graphic elements. Good alignment can improve the overall beauty and coordination of the graphics. The optimization module detects elements with alignment problems such as misalignment and skewness by analyzing the boundaries and center lines of the elements. For these elements, the optimization module aligns them with adjacent elements through geometric transformations such as translation and rotation to improve the overall visual effect. In addition, the optimization module also analyzes the distribution balance of graphic elements. A balanced layout can stabilize the center of gravity of the graphics and reasonably distribute information. The optimization module evaluates the balance of the layout by calculating the spatial density and distribution entropy of the elements. For unevenly distributed areas, the optimization module adjusts the spacing and position of the elements to make the layout more balanced and coordinated. After completing the spacing, alignment and distribution balance analysis, the distribution analysis results are obtained. The optimization module comprehensively considers the distribution analysis results and generates a layout optimization plan. Under the premise of satisfying the layout constraints, the global optimal solution of the layout evaluation index is found. The optimization module then adjusts the position and attributes of the graphic elements in the abstract subgraph according to the layout optimization plan to generate an optimized layout.
[0082] By optimizing the layout of the optimization module, the visual presentation of the abstract sub-graph can be intelligently adjusted to make it more beautiful, clear and reasonable. The optimized layout can make full use of the space, reasonably organize the graphic elements, highlight the key information, and improve the user's visual experience.
[0083] Furthermore, layout optimization is performed according to the distribution analysis results, and further includes:
[0084] Key abstract subgraphs are identified according to the abstract subgraph information to establish key abstract subgraph identifiers; position optimization is performed using the key abstract subgraph identifiers to generate a first optimization result; and distribution analysis results are adjusted based on the first optimization result to complete layout optimization.
[0085] In a preferred embodiment, when performing layout optimization according to the graph distribution characteristics, the optimization module introduces key abstract subgraph identification and priority layout mechanism to further improve the pertinence and effectiveness of layout optimization.
[0086] The optimization module first analyzes all abstract subgraphs in the front-end page and identifies the key abstract subgraphs. Key abstract subgraphs refer to abstract subgraphs that play a core role in page layout and information transmission, and usually have characteristics such as large size, complex structure, and rich information. The optimization module establishes a scoring model for key abstract subgraphs by comprehensively considering factors such as the visual attributes, interactive behavior, and business importance of abstract subgraphs. The scoring model contains multiple weight parameters to quantify the impact of different factors on the criticality. Through model calculation, the optimization module obtains the criticality score of each abstract subgraph, selects the top N abstract subgraphs with the highest scores as key abstract subgraphs, and establishes key abstract subgraph identifiers. After identifying the key abstract subgraphs, the optimization module prioritizes the layout of the key abstract subgraphs. Through the key abstract subgraph identifier, the optimization module gives higher weights and priorities to the key abstract subgraphs during the layout optimization process to ensure that their layout quality is optimal. Specifically, the optimization module recalculates the graphic distribution characteristics of the key abstract subgraphs and uses them as the main reference for optimization. When optimizing spacing, alignment, and distribution balance, the optimization module prioritizes the layout requirements of key abstract subgraphs, and based on this, adjusts the layout of other abstract subgraphs. Through the layout optimization strategy centered on key abstract subgraphs, the optimization module generates the first optimization result, achieving prominent display and key optimization of key content.
[0087] Then, the optimization module adjusts and corrects the original graphic distribution analysis results based on the first optimization result. The first optimization result reflects the optimal layout plan of the key abstract subgraph, and its graphic distribution characteristics represent the core skeleton of the page layout. The optimization module uses the graphic distribution characteristics of the first optimization result as a new reference standard to perform secondary optimization on the layout of other abstract subgraphs. When analyzing spacing, alignment, and distribution balance, the optimization module compares the layout of non-key abstract subgraphs with the first optimization result, identifies areas with large layout differences, and adjusts the position and attributes of non-key abstract subgraphs to make them more consistent with the first optimization result. Through layout adjustments based on the optimization results of key abstract subgraphs, the optimization module ultimately obtains the globally optimal page layout plan.
[0088] By introducing the key abstract subgraph identification and priority layout mechanism, a more intelligent and accurate layout optimization is achieved. The key abstract subgraph represents the most important and critical information carrier in the page, and has a decisive influence on the user's visual perception and interactive operations. The optimization module prioritizes the layout quality of the key abstract subgraph and uses it as a benchmark to optimize the layout of other abstract subgraphs, making the overall information hierarchy of the page clearer, the key content more prominent, and the layout more reasonable. At the same time, the introduction of key abstract subgraphs also provides a clearer direction and goal for layout optimization, reduces blind searches and invalid calculations during the optimization process, and improves optimization efficiency.
[0089] Furthermore, the embodiment of the present application also includes an early warning module, which is used to:
[0090] A global abnormality analysis of the device is performed based on the abstract sub-graph information to establish an abnormality mark; and a display warning of the front-end page is performed based on the abnormality mark.
[0091] In a feasible implementation, the virtual data tag generation system introduces an early warning module for globally analyzing the operating status of the equipment based on the abstract subgraph information, timely discovering and warning of abnormal situations, and improving safety and reliability.
[0092] The early warning module monitors all abstract subgraphs in the front-end page in real time and obtains the equipment operation information contained therein. By parsing the binding relationship between virtual data tags and real equipment data, the early warning module extracts key data such as equipment status parameters, performance indicators, and alarm signals from the abstract subgraph. Based on the acquired equipment operation data, the early warning module performs global abnormality analysis on the overall operation status of the equipment. Among them, the global abnormality analysis adopts a comprehensive evaluation method with multiple dimensions and multiple indicators to evaluate the health level and risk level of the equipment from different angles. The early warning module establishes a normal model for equipment operation and compares the collected data with the normal model in real time to identify abnormal points that deviate from the normal working state. Abnormal analysis involves multiple dimensions, including abnormal detection of a single device, analysis of associated abnormalities between devices, and global trend and pattern mining. The early warning module uses technical means such as statistical methods and machine learning algorithms to build an abnormality detection model, automatically discover various abnormal problems in equipment operation, and generate abnormal identification. The abnormal identification contains a variety of attribute information such as the type, severity, occurrence time, and associated equipment of the abnormality.
[0093] For abnormalities of different types and severity, the early warning module defines corresponding early warning strategies and processing procedures. When the abnormal identification is identified, the early warning module triggers the corresponding display warning on the front-end page according to the early warning strategy. There are various ways to display early warnings on the front end, including pop-up prompts, sound alarms, icon flashing, color changes, etc. The early warning module selects the appropriate early warning method according to the severity of the abnormality and the user's setting preferences, and reminds the user of the abnormal situation in the most intuitive and effective way. For example, for serious fault abnormalities, the early warning module pops up a warning dialog box accompanied by a harsh alarm sound; for general deviation abnormalities, the early warning module displays a yellow warning icon on the corresponding abstract sub-graph and displays specific abnormal information in the floating prompt.
[0094] Through the abnormal analysis and early warning display of the early warning module, real-time monitoring and intelligent alarm of the equipment operation status are realized. By automatically identifying the abnormal situation of the equipment and visualizing it on the front-end page, abnormal information is delivered to the user in a timely and accurate manner, attracting the user's attention and attention. The global abnormal analysis and early warning mechanism based on the abstract subgraph can effectively improve the efficiency and accuracy of equipment management, avoid the deterioration and expansion of abnormal problems, and ensure the safe and stable operation of the equipment.
[0095] In summary, the virtual data tag generation system for front-end pages provided by the embodiments of the present application has the following technical effects:
[0096] The acquisition module is used to obtain the user's input information. The input information includes the image information and basic information of the equipment, which provides the original material for the subsequent graphics construction and data binding. The construction module is used to construct the abstract subgraph. The abstract subgraph is constructed through the abstract network. The abstract network is an intelligent processing network for disassembling and reconstructing the basic graphics elements. The abstract network is provided with an adaptively updated difference database. The difference database is used to store the constructed abstract subgraphs. The image information is input into the abstract network to generate the abstract subgraphs, which improves the efficiency of graphics construction. The first parsing module is used to parse the basic information, establish the status identification of the equipment, and update the abstract subgraph through the status identification, so as to realize the association between the equipment status and the graphics, and lay the foundation for the subsequent status management. The second parsing module is used to parse the basic information, establish the equipment configuration information, the on-site working condition data, the indicator configuration information, and the indicator statistical data. According to the equipment configuration information, the on-site working condition data, the indicator configuration information, and the indicator statistical data, a virtual data label is established, and the virtual label is introduced as a temporary variable of the front end, which facilitates the nested use of expressions and the reuse of graphics. The construction module is used to embed the dynamic expression of the virtual data label of the updated abstract subgraph to complete the construction of the abstract subgraph. The data can be flexibly injected into the graph through dynamic expressions, which realizes the decoupling of data and graph, making the graph adaptable to different data sources. The management module is used to read the virtual data label of the abstract subgraph when referencing the constructed abstract subgraph, assign values to the virtual data label, update the abstract subgraph state according to the assignment result, complete the device management based on the virtual data label, map the device state to the virtual label, manage the device by managing the virtual label, realize the nested use of optimized binding point data expression, enhance the reusability of binding point graphics, simplify the calculation logic, save memory resources, and make the web page display more concise and efficient.
[0097] Embodiment 2, based on the same inventive concept as the virtual data tag generation system for the front-end page in the above embodiment, Figure 2 As shown, the embodiment of the present application provides a method for generating a virtual data tag for a front-end page, the method comprising:
[0098] Obtaining user input information, including device image information and basic information;
[0099] Constructing an abstract subgraph, wherein the abstract subgraph is constructed by an abstract network, wherein the abstract network is an intelligent processing network for disassembling and reconstructing basic graphic elements, and the abstract network is provided with an adaptively updated difference database, wherein the difference database is used to store the constructed abstract subgraph, and the image information is input into the abstract network to generate an abstract subgraph;
[0100] Parsing the basic information, establishing a status identifier of the device, and updating the abstract subgraph through the status identifier;
[0101] Parse the basic information, establish equipment configuration information, on-site working condition data, indicator configuration information, and indicator statistical data, and establish virtual data tags according to the equipment configuration information, on-site working condition data, indicator configuration information, and indicator statistical data;
[0102] Embed the dynamic expression of the virtual data label into the updated abstract subgraph to complete the construction of the abstract subgraph;
[0103] When referencing the constructed abstract subgraph, the virtual data tag of the abstract subgraph is read, and the virtual data tag is assigned a value, and the state of the abstract subgraph is updated according to the assignment result, thereby completing the device management based on the virtual data tag.
[0104] Furthermore, the embodiment of the present application also includes:
[0105] The preprocessing sub-network is used to parse the image information and generate image complexity based on the parsing results.
[0106] Synchronize the image complexity to the decomposition sub-network, and configure the number of basic image elements of the first gradient, the number of basic image elements of the second gradient, and the number of basic image elements of the third gradient of the decomposition sub-network;
[0107] Decompose the image information according to the configured decomposition sub-network to establish a first gradient basic primitive, a second gradient basic primitive, and a third gradient basic primitive;
[0108] The difference database is called to perform adaptation evaluation of the second gradient basic primitive and the third gradient basic primitive, and an abstract sub-image is output according to the adaptation evaluation result and the first gradient basic primitive.
[0109] Furthermore, the embodiment of the present application also includes:
[0110] Obtain the order of the second gradient basic primitive and the third gradient basic primitive, and establish the order penalty coefficient;
[0111] Obtain the gradient trust values of the second gradient basic primitive and the third gradient basic primitive, adjust the gradient trust value penalty by the sequential sorting penalty coefficient, perform weighted calculation on the penalty adjustment results according to the adaptation evaluation results, perform sequential screening according to the weighted calculation results, and construct an abstract subgraph based on the sequential screening results and the first gradient basic primitive.
[0112] Furthermore, the embodiment of the present application also includes:
[0113] Determining whether a preset size of the difference database meets a preset threshold;
[0114] If the preset size of the difference database meets a preset threshold, activating an additional generation sub-network of the abstract network;
[0115] Before constructing the abstract subgraph according to the sequential screening result and the first gradient basic primitive, performing device matching based on the image information through the additional generation subnetwork, and establishing additional features according to the device matching result;
[0116] The abstract sub-graph is constructed according to the additional features, the sequential screening results and the first gradient basic primitive.
[0117] Furthermore, the embodiment of the present application also includes:
[0118] A character string replacement strategy and a numerical value replacement strategy are configured, and a value is assigned to the virtual data label according to the character string replacement strategy and / or the numerical value replacement strategy.
[0119] Furthermore, the embodiment of the present application also includes:
[0120] Obtaining abstract sub-graph information in the front-end page, performing graphic element recognition on the abstract sub-graph information, and extracting graphic distribution features;
[0121] The spacing, alignment and distribution of graphic elements are analyzed according to the graphic distribution characteristics, and the layout is optimized according to the distribution analysis results.
[0122] Furthermore, the embodiment of the present application also includes:
[0123] Perform key abstract subgraph identification according to the abstract subgraph information, and establish a key abstract subgraph identifier;
[0124] Performing position optimization through the key abstract subgraph identifier to generate a first optimization result;
[0125] The distribution analysis result is adjusted based on the first optimization result to complete the layout optimization.
[0126] Furthermore, the embodiment of the present application also includes:
[0127] Perform global abnormality analysis of the device according to the abstract subgraph information and establish an abnormality mark;
[0128] A front-end page display warning is performed according to the abnormal identification.
[0129] Any step of the method described above can be stored as a computer instruction or program in an unlimited computer memory, and can be called and recognized by an unlimited computer processor to implement any method in the embodiments of the present application, without any unnecessary restrictions.
[0130] Furthermore, the first or second mentioned above may not only represent an order relationship, but may also represent a specific concept, and / or refer to multiple elements that can be selected individually or in full. Obviously, those skilled in the art can make various changes and modifications to the present application without departing from the scope of the present application. Thus, if these modifications and variations of the present application fall within the scope of the present application and its equivalents, the present application intends to include these modifications and variations.
Claims
1. A virtual data tag generation system for front-end pages, characterized in that: The system comprises: An acquisition module is used to acquire user input information, wherein the input information includes image information and basic information of the device; A construction module is used to construct an abstract subgraph, wherein the abstract subgraph is constructed by an abstract network, wherein the abstract network is an intelligent processing network for disassembling and reconstructing basic graphic elements, and the abstract network is provided with an adaptively updated difference database, wherein the difference database is used to store the constructed abstract subgraph, and the image information is input into the abstract network to generate an abstract subgraph; A first parsing module, configured to parse the basic information, establish a status identifier of a device, and update the abstract subgraph through the status identifier; A second parsing module is used to parse the basic information, establish equipment configuration information, on-site working condition data, indicator configuration information, and indicator statistical data, and establish a virtual data tag according to the equipment configuration information, on-site working condition data, indicator configuration information, and indicator statistical data; A building module is used to embed the dynamic expression of the virtual data label into the updated abstract subgraph to complete the building of the abstract subgraph; A management module is used to read the virtual data tag of the abstract subgraph when referencing the constructed abstract subgraph, assign a value to the virtual data tag, update the abstract subgraph state according to the assignment result, and complete the device management based on the virtual data tag; The building blocks are also used to: The preprocessing sub-network is used to parse the image information and generate image complexity based on the parsing results. Synchronize the image complexity to the decomposition sub-network, and configure the number of basic image elements of the first gradient, the number of basic image elements of the second gradient, and the number of basic image elements of the third gradient of the decomposition sub-network; Decompose the image information according to the configured decomposition sub-network to establish a first gradient basic primitive, a second gradient basic primitive, and a third gradient basic primitive; Calling the difference database, performing adaptation evaluation of the second gradient basic primitive and the third gradient basic primitive, and outputting an abstract sub-image according to the adaptation evaluation result and the first gradient basic primitive; The system further comprises: A sequence sorting penalty coefficient building module is used to obtain the sequence sorting within the second gradient basic primitive and the third gradient basic primitive, and establish a sequence sorting penalty coefficient; A gradient trust value construction module is used to obtain the gradient trust values of the second gradient basic primitive and the third gradient basic primitive, adjust the gradient trust value penalty by the sequential sorting penalty coefficient, perform weighted calculation of the penalty adjustment results according to the adaptation evaluation results, perform sequential screening according to the weighted calculation results, and construct an abstract subgraph based on the sequential screening results and the first gradient basic primitive.
2. The virtual data tag generation system for front-end pages according to claim 1, characterized in that: The gradient trust value building module is also used for: Determining whether a preset size of the difference database meets a preset threshold; If the preset size of the difference database meets a preset threshold, activating an additional generation sub-network of the abstract network; Before constructing the abstract subgraph according to the sequential screening result and the first gradient basic primitive, performing device matching based on the image information through the additional generation subnetwork, and establishing additional features according to the device matching result; The abstract sub-graph is constructed according to the additional features, the sequential screening results and the first gradient basic primitive.
3. The virtual data tag generation system for front-end pages according to claim 1, characterized in that: The management module is also used for: A character string replacement strategy and a numerical value replacement strategy are configured, and a value is assigned to the virtual data label according to the character string replacement strategy and / or the numerical value replacement strategy.
4. The virtual data tag generation system for front-end pages according to claim 1, characterized in that: The system also includes an optimization module for: Obtaining abstract sub-graph information in the front-end page, performing graphic element recognition on the abstract sub-graph information, and extracting graphic distribution features; The spacing, alignment and distribution of graphic elements are analyzed according to the graphic distribution characteristics, and the layout is optimized according to the distribution analysis results.
5. The virtual data tag generation system for front-end pages according to claim 4, characterized in that: The performing layout optimization according to the distribution analysis result also includes: Perform key abstract subgraph identification according to the abstract subgraph information, and establish a key abstract subgraph identifier; Performing position optimization through the key abstract subgraph identifier to generate a first optimization result; The distribution analysis result is adjusted based on the first optimization result to complete the layout optimization.
6. The virtual data tag generation system for front-end pages according to claim 5, characterized in that: The system also includes an early warning module, which is used to: Perform global abnormality analysis of the device according to the abstract subgraph information and establish an abnormality mark; A front-end page display warning is performed according to the abnormal identification.
7. A method for generating a virtual data tag for a front-end page, characterized in that: The method comprises: Obtaining user input information, including device image information and basic information; Constructing an abstract subgraph, wherein the abstract subgraph is constructed by an abstract network, wherein the abstract network is an intelligent processing network for disassembling and reconstructing basic graphic elements, and the abstract network is provided with an adaptively updated difference database, wherein the difference database is used to store the constructed abstract subgraph, and the image information is input into the abstract network to generate an abstract subgraph; Parsing the basic information, establishing a status identifier of the device, and updating the abstract subgraph through the status identifier; Parse the basic information, establish equipment configuration information, on-site working condition data, indicator configuration information, and indicator statistical data, and establish virtual data tags according to the equipment configuration information, on-site working condition data, indicator configuration information, and indicator statistical data; Embed the dynamic expression of the virtual data label into the updated abstract subgraph to complete the construction of the abstract subgraph; When referencing the constructed abstract subgraph, the virtual data tag of the abstract subgraph is read, and the virtual data tag is assigned a value, and the state of the abstract subgraph is updated according to the assignment result, so as to complete the device management based on the virtual data tag; Generate an abstract subgraph, also including: The preprocessing sub-network is used to parse the image information and generate image complexity based on the parsing results. Synchronize the image complexity to the decomposition sub-network, and configure the number of basic image elements of the first gradient, the number of basic image elements of the second gradient, and the number of basic image elements of the third gradient of the decomposition sub-network; Decompose the image information according to the configured decomposition sub-network to establish a first gradient basic primitive, a second gradient basic primitive, and a third gradient basic primitive; Calling the difference database, performing adaptation evaluation of the second gradient basic primitive and the third gradient basic primitive, and outputting an abstract sub-image according to the adaptation evaluation result and the first gradient basic primitive; The method further comprises: Obtain the order of the second gradient basic primitive and the third gradient basic primitive, and establish the order penalty coefficient; Obtain the gradient trust values of the second gradient basic primitive and the third gradient basic primitive, adjust the gradient trust values by the sequential sorting penalty coefficient, perform weighted calculation on the penalty adjustment results according to the adaptation evaluation results, perform sequential screening according to the weighted calculation results, and construct an abstract subgraph based on the sequential screening results and the first gradient basic primitive.
8. The method for generating a virtual data tag for a front-end page according to claim 7, characterized in that: The method further comprises: Determining whether a preset size of the difference database meets a preset threshold; If the preset size of the difference database meets a preset threshold, activating an additional generation sub-network of the abstract network; Before constructing the abstract subgraph according to the sequential screening result and the first gradient basic primitive, performing device matching based on the image information through the additional generation subnetwork, and establishing additional features according to the device matching result; The abstract sub-graph is constructed according to the additional features, the sequential screening results and the first gradient basic primitive.
9. The method for generating a virtual data tag for a front-end page according to claim 7, characterized in that: Assigning a value to the virtual data label includes: A character string replacement strategy and a numerical value replacement strategy are configured, and a value is assigned to the virtual data label according to the character string replacement strategy and / or the numerical value replacement strategy.
10. The method for generating a virtual data tag for a front-end page according to claim 7, characterized in that: The method further comprises: Obtaining abstract sub-graph information in the front-end page, performing graphic element recognition on the abstract sub-graph information, and extracting graphic distribution features; The spacing, alignment and distribution of graphic elements are analyzed according to the graphic distribution characteristics, and the layout is optimized according to the distribution analysis results.
11. The method for generating a virtual data tag for a front-end page according to claim 10, characterized in that: The performing layout optimization according to the distribution analysis result also includes: Perform key abstract subgraph identification according to the abstract subgraph information, and establish a key abstract subgraph identifier; Performing position optimization through the key abstract subgraph identifier to generate a first optimization result; The distribution analysis result is adjusted based on the first optimization result to complete the layout optimization.
12. The method for generating a virtual data tag for a front-end page according to claim 11, characterized in that: The method further comprises: Perform global abnormality analysis of the device according to the abstract subgraph information and establish an abnormality mark; A front-end page display warning is performed according to the abnormal identification.
