Visual platform industrial configuration display method and device, electronic equipment and medium
By embedding preset container components and an event system into the visualization platform, the industrial configuration content can be dynamically displayed and switched, solving the problems of difficulty in displaying complex processes and low control efficiency, and achieving more efficient process control.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- SHANDONG YOU INTERNET OF THINGS CO LTD
- Filing Date
- 2022-09-08
- Publication Date
- 2026-08-04
AI Technical Summary
In custom visualization platforms, it is difficult to display complex industrial business processes and control processes, and it is inconvenient to flexibly change and switch process content, resulting in low control efficiency.
By acquiring the initial interface content, querying the fields of the industrial configuration content using the preset data model and preset container components, and displaying them through a specific preview link, combined with the event system for broadcasting and parameter acquisition, the dynamic display and flexible switching of the industrial configuration content can be achieved.
It improves the visualization level and control efficiency of industrial control processes in the visualization platform, enabling operators to clearly view and flexibly change the process content.
Smart Images

Figure CN116257313B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of industrial control, and in particular to a visualization platform industrial configuration display method, device, electronic device and medium. Background Technology
[0002] With the continuous development of visualization platforms in industrial control, custom modes are becoming increasingly widely used. Operators can edit custom process modules according to their needs, thus expanding the editability. However, with the improvement of editability, some original content is limited in terms of display. For example, in a custom visualization platform, it is difficult to display specific industrial business processes, such as CNC operation and a series of complex processes and procedures using a pure visualization platform. It is also difficult to clearly display the logical flow and control flow of each data item. In addition, it is extremely inconvenient to flexibly change, modify, and switch the current process content in the visualization platform, resulting in low control efficiency of industrial control processes in the visualization platform. Summary of the Invention
[0003] The main purpose of this application is to provide a visualization platform industrial configuration display method, device, electronic device and medium, which aims to solve the technical problem of low control efficiency in industrial control processes in visualization platforms.
[0004] To achieve the above objectives, this application provides a method for displaying industrial configurations on a visualization platform, the method comprising:
[0005] Obtain initial interface content, and query the first field of the first industrial configuration content according to the preset data model and preset container element. The preset data model is used to obtain industrial configuration content, the initial interface content is determined by the industrial configuration content to be displayed, and the preset container element is created based on the component system through component creation instructions.
[0006] The first field is passed to the preset container element, and the first industrial configuration content is displayed according to the preset container element and the first field.
[0007] Optionally, before the step of querying the first field of the first industrial configuration content based on the preset data model and preset container elements, the visualization platform industrial configuration display method further includes:
[0008] Obtain the component creation instruction, and based on the component system of the visualization platform and the component creation instruction, create a preset container component;
[0009] Obtain the model creation instruction, construct the preset data model according to the model creation instruction, and bind the preset data model to the preset container element.
[0010] Optionally, the step of passing the first field to the preset container element and displaying the first industrial configuration content according to the preset container element and the first field includes:
[0011] The first field is passed to the preset container element through the event bus of the visualization platform;
[0012] The first preview link corresponding to the first field is generated through the preset container element, and the first industrial configuration content is displayed according to the first preview link.
[0013] Optionally, after the step of passing the fields of the first industrial configuration to the preset container element and displaying the content of the first industrial configuration according to the preset container element and the first fields, the method further includes:
[0014] The second industrial configuration content is acquired, and based on the event system of the visualization platform, the second industrial configuration content is broadcast to the preset container element to obtain broadcast parameters;
[0015] The first industrial configuration content in the preset container element is modified and displayed according to the broadcast parameters.
[0016] Optionally, the event system based on the visualization platform broadcasts the second industrial configuration content to the preset container element, and the step of obtaining broadcast parameters includes:
[0017] The second industrial configuration content is broadcast through the target events and event bus in the event system;
[0018] The broadcast parameters in the target event are extracted through the preset container element, wherein the preset container element has subscribed to the target event.
[0019] Optionally, the step of modifying and displaying the first industrial configuration content in the preset container element according to the broadcast parameters includes:
[0020] Based on the broadcast parameters, the interface of the preset data model is called to obtain the second field of the second industrial configuration content;
[0021] The second preview link corresponding to the second field is generated through the preset container element, and the second industrial configuration content is displayed according to the second preview link.
[0022] Optionally, before the step of querying the first field of the first industrial configuration content based on the preset data model and preset container elements, the method further includes:
[0023] Obtain configuration editing instructions, and generate various industrial configuration contents through the configuration editor and the configuration editing instructions, wherein each industrial configuration content is used for display in the preset container element.
[0024] This application also provides a visualization platform industrial configuration display device, which is applied to a visualization platform industrial configuration display equipment, and includes:
[0025] The field query module is used to obtain the initial interface content and query the first field of the first industrial configuration content according to the preset data model and the preset container element. The preset data model is used to obtain the industrial configuration content, the initial interface content is determined by the industrial configuration content to be displayed, and the preset container element is created based on the component system through the component creation instruction.
[0026] The configuration display module is used to pass the first field to the preset container element and display the first industrial configuration content according to the preset container element and the first field.
[0027] Optionally, the field query module is further used for:
[0028] Obtain the component creation instruction, and based on the component system of the visualization platform and the component creation instruction, create a preset container component;
[0029] Obtain the model creation instruction, construct the preset data model according to the model creation instruction, and bind the preset data model to the preset container element.
[0030] Optionally, the configuration display module is also used for:
[0031] The first field is passed to the preset container element through the event bus of the visualization platform;
[0032] The first preview link corresponding to the first field is generated through the preset container element, and the first industrial configuration content is displayed according to the first preview link.
[0033] Optionally, the configuration display module is further used for:
[0034] The second industrial configuration content is acquired, and based on the event system of the visualization platform, the second industrial configuration content is broadcast to the preset container element to obtain broadcast parameters;
[0035] The first industrial configuration content in the preset container element is modified and displayed according to the broadcast parameters.
[0036] Optionally, the configuration display module is further used for:
[0037] The second industrial configuration content is broadcast through the target events and event bus in the event system;
[0038] The broadcast parameters in the target event are extracted through the preset container element, wherein the preset container element has subscribed to the target event.
[0039] Optionally, the configuration display module is further used for:
[0040] Based on the broadcast parameters, the interface of the preset data model is called to obtain the second field of the second industrial configuration content;
[0041] The second preview link corresponding to the second field is generated through the preset container element, and the second industrial configuration content is displayed according to the second preview link.
[0042] Optionally, the field query module is further used for:
[0043] Obtain configuration editing instructions, and generate various industrial configuration contents through the configuration editor and the configuration editing instructions, wherein each industrial configuration content is used for display in the preset container element.
[0044] This application also provides an electronic device, which is a physical device, comprising: a memory, a processor, and a program of the visualization platform industrial configuration display method stored in the memory and executable on the processor. When the program of the visualization platform industrial configuration display method is executed by the processor, it can implement the steps of the visualization platform industrial configuration display method as described above.
[0045] This application also provides a computer-readable storage medium storing a program for implementing a visualization platform industrial configuration display method. When the program for the visualization platform industrial configuration display method is executed by a processor, it implements the steps of the visualization platform industrial configuration display method as described above.
[0046] This application also provides a computer program product, including a computer program that, when executed by a processor, implements the steps of the above-described visualization platform industrial configuration display method.
[0047] This application provides a visualization platform industrial configuration display method, electronic device, apparatus, and computer-readable storage medium. First, initial interface content is obtained. Then, based on a preset data model and preset container elements, a first field of the first industrial configuration content is queried. The preset data model is used to obtain the industrial configuration content. The initial interface content is determined by the industrial configuration content to be displayed. The preset container element is created based on a component system using component creation instructions. The first field is then passed to the preset container element. The first industrial configuration content is displayed based on the preset container element and the first field. This application embeds the industrial configuration into the preset container element and loads the specified industrial configuration content through a specific first preview link. It displays the control flow of each data item in the industrial configuration under various scenarios, making the operator's thinking clearer. Furthermore, after embedding the industrial configuration into a custom visualization platform, the industrial configuration can be switched only within the preset container element according to different event content. This allows for the display of specified configuration content and scene flows based on specified content scenarios, making it very convenient for staff to flexibly change, modify, and switch the current process content, thus improving the control efficiency of industrial control processes in the visualization platform. Attached Figure Description
[0048] The accompanying drawings, which are incorporated in and form part of this specification, illustrate embodiments consistent with this application and, together with the description, serve to explain the principles of this application.
[0049] To more clearly illustrate the technical solutions in the embodiments of this application or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, for those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0050] Figure 1 This is a flowchart illustrating the first embodiment of the industrial configuration display method for the visualization platform of this application;
[0051] Figure 2 This is a flowchart illustrating the second embodiment of the industrial configuration display method for the visualization platform of this application;
[0052] Figure 3 This is a schematic diagram of the industrial configuration device for the visualization platform of this application;
[0053] Figure 4 This is a schematic diagram of the equipment structure of the hardware operating environment involved in the visualization platform industrial configuration display method in this application embodiment.
[0054] The purpose, features, and advantages of this application will be further explained in conjunction with the embodiments and with reference to the accompanying drawings. Detailed Implementation
[0055] To make the above-mentioned objectives, features, and advantages of this application more apparent and understandable, the technical solutions in the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are merely some embodiments of this application, and not all embodiments. Based on the embodiments in this application, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of this application.
[0056] Example 1
[0057] With the continuous development of visualization platforms in industrial control, custom modes are becoming increasingly widely used. Operators can edit custom process modules according to their needs, thus expanding the editability. However, with the improvement of editability, some original content is limited in terms of display. For example, in a custom visualization platform, it is difficult to display specific industrial business processes, such as CNC operation and a series of complex processes and procedures using a pure visualization platform. It is also difficult to clearly display the logical flow and control flow of each data item. In addition, it is extremely inconvenient to flexibly change, modify, and switch the current process content in the visualization platform. Therefore, the control efficiency of industrial control processes in visualization platforms is low.
[0058] This application provides a visualization platform industrial configuration display method. In the first embodiment of this application's visualization platform industrial configuration display method, refer to... Figure 1 The visualization platform industrial configuration display method includes:
[0059] Step S10: Obtain initial interface content. Based on the preset data model and preset container element, query the first field of the first industrial configuration content. The preset data model is used to obtain industrial configuration content. The initial interface content is determined by the industrial configuration content to be displayed. The preset container element is created based on the component system through the component creation instruction.
[0060] Step S20: Pass the first field to the preset container element, and display the first industrial configuration content according to the preset container element and the first field.
[0061] In this embodiment, it should be noted that the preset container elements are independent of each other and do not affect each other. They can exist independently in the visualization platform, or multiple elements can exist simultaneously. The preset data model is used to flexibly obtain the preset data model of the configuration content. Specifically, the corresponding industrial configuration fields are dynamically obtained through the interface of the preset data model, and then presented to the created preset container elements to display the industrial configuration. The initial interface content is used to characterize the parameter information of the corresponding first industrial configuration content; the first field may include fields such as id, model, and link.
[0062] As an example, steps S10 to S20 include: obtaining initial interface content, and obtaining a first field of the first industrial configuration based on the initial interface content, the preset container element, and the interface query in the preset data model; transmitting the first field to the preset container element through the event bus of the visualization platform; calling the first field through the preset container element and generating a corresponding first preview link; and dynamically displaying the first industrial configuration based on the first preview link.
[0063] Prior to the step of querying the first field of the first industrial configuration content based on the preset data model and preset container components, the visualization platform industrial configuration display method further includes:
[0064] Step S11: Obtain the component creation instruction, and create a preset container component based on the component system of the visualization platform and the component creation instruction;
[0065] Step S12: Obtain the model creation instruction, construct the preset data model according to the model creation instruction, and bind the preset data model to the preset container element.
[0066] As an example, steps S11 to S12 include: obtaining an input component creation instruction; creating a preset container component for carrying industrial configuration content through the component system of the visualization platform and the creation requirements corresponding to the component creation instruction, wherein the preset container components are independent of each other; obtaining a model creation instruction; creating a preset data model according to the model creation instruction, wherein the preset data model is used to acquire industrial configuration content; obtaining a user-input model creation instruction; creating a preset data model according to the model creation instruction; generating a preset data model for flexibly acquiring configuration content; and binding the preset data model to the preset container component.
[0067] The step of passing the first field to the preset container element and displaying the first industrial configuration content based on the preset container element and the first field includes:
[0068] Step S21: Pass the first field to the preset container element through the event bus of the visualization platform;
[0069] Step S22: Generate a first preview link corresponding to the first field through the preset container element, and display the first industrial configuration content according to the first preview link.
[0070] As an example, steps S31 to S32 include: constructing a field transmission channel based on the event bus of the visualization platform, sending the first field to the preset container element through the field transmission channel; calling the first field through the preset container element to construct a first preview link; when a click signal of the first preview link is received, loading the corresponding first industrial configuration content through the first preview link and displaying it visually.
[0071] This application provides a method for displaying industrial configurations on a visualization platform. First, a component creation instruction is obtained. Based on the component system of the visualization platform and the component creation instruction, a preset container component is created. Then, according to a preset data model and initial interface content, a first field of the first industrial configuration content is queried. The preset data model is used to obtain the industrial configuration content, and the initial interface content is determined by the industrial configuration content to be displayed. The first field is passed to the preset container component, and the first industrial configuration content is displayed based on the preset container component and the first field. This application embeds the industrial configuration into the preset container component and loads the specified industrial configuration content through a specific first preview link, displaying the control flow for each data item in various scenarios. This makes the operator's thinking clearer and improves the visualization level and control efficiency of various industrial processes in the visualization platform.
[0072] Example 2
[0073] Furthermore, based on the first embodiment of this application, in another embodiment of this application, the same or similar content as in Embodiment 1 can be referred to the above description, and will not be repeated hereafter. Based on this, refer to... Figure 2 After the step of passing the fields of the first industrial configuration to the preset container element and displaying the content of the first industrial configuration according to the preset container element and the first fields, the method further includes:
[0074] Step A10: Obtain the second industrial configuration content; based on the event system of the visualization platform, broadcast the second industrial configuration content to the preset container element and obtain the broadcast parameters.
[0075] Step A20: Modify and display the first industrial configuration content in the preset container element according to the broadcast parameters.
[0076] In this embodiment, it should be noted that the event system includes various events such as click events, double-click events, and hover events. Other platforms in the visualization platform can broadcast the corresponding industrial configuration content through each of the events to achieve flexible changes, modifications, and switching of the configuration content loaded in the current preset container element, thereby improving the control efficiency of the industrial control process in the visualization platform. The broadcast parameters are used to characterize the corresponding industrial configuration content.
[0077] As an example, steps A10 to A20 include: broadcasting the second industrial configuration content contained in other components of the visualization platform as a target event through the event system; receiving the broadcast parameters in the target event through a preset container component that has subscribed to the target event; obtaining the second field corresponding to the second industrial configuration content based on the interface of the preset data model and the broadcast parameters; constructing a corresponding second preview link based on the second field according to the preset container component; and visually displaying the second industrial configuration content according to the second preview link.
[0078] The event system based on the visualization platform broadcasts the second industrial configuration content to the preset container element, and the step of obtaining broadcast parameters includes:
[0079] Step A11: Broadcast the second industrial configuration content through the target event and event bus in the event system;
[0080] Step A12: Extract the broadcast parameters from the target event through the preset container element, wherein the preset container element has subscribed to the target event.
[0081] In this embodiment, it should be noted that the target events include various events such as click events, double-click events, and hover events. Each event has corresponding industrial configuration content configuration information. The configuration information is used to update the new industrial configuration content to the current preset container element, so as to realize the flexible change and switching of the configuration content loaded in the current preset container element, and improve the visualization degree and control efficiency of the industrial control process in the visualization platform.
[0082] As an example, steps A11 to A12 include: broadcasting the target event corresponding to the second industrial configuration content through the event bus in the event system; receiving the target event through a preset container element that has subscribed to the target event and extracting the broadcast parameters in the target event, wherein the broadcast parameters are used to construct a second preview link corresponding to the second industrial configuration content.
[0083] The step of modifying and displaying the first industrial configuration content in the preset container element according to the broadcast parameters includes:
[0084] Step A21: Based on the broadcast parameters, call the interface of the preset data model to obtain the second field of the second industrial configuration content;
[0085] Step A22: Generate a second preview link corresponding to the second field through the preset container element, and display the second industrial configuration content according to the second preview link.
[0086] As an example, steps A21 to A22 include: calling the interface content of the preset data model according to the extracted broadcast parameters to obtain the second field in the second industrial configuration corresponding to the broadcast parameters; generating a corresponding second preview link based on the preset container element that has been loaded with the first industrial configuration according to the second field, wherein the second preview link is used to update the preset container element that has been loaded with the first industrial configuration; when a click signal is received on the second preview link, loading the corresponding second industrial configuration content through the first preview link and displaying it visually.
[0087] Prior to the step of querying the first field of the first industrial configuration content based on the preset data model and preset container components, the method further includes:
[0088] Step B10: Obtain configuration editing instructions, and generate various industrial configuration contents through the configuration editor and the configuration editing instructions, wherein each industrial configuration content is used for display in the preset container element.
[0089] In this embodiment, it should be noted that the configuration editor is used to edit various industrial configuration contents and components. By placing various data display and control functions in a separate configuration editor, this embodiment reduces the triggering frequency of flow control in the upper-level visualization platform and improves the efficiency of process control in the visualization platform.
[0090] As an example, step B10 includes: obtaining configuration editing instructions input by the user, and editing each industrial configuration content and its corresponding components based on the configuration editor and the configuration editing instructions. Each industrial configuration content is used to embed into a preset container component for visualization of the industrial configuration content. Each component is relatively independent and does not affect the others.
[0091] In another feasible approach, a method for changing and switching industrial configuration content within a preset container element is provided. First, based on the event system of the visualization platform, second industrial configuration content is broadcast to the preset container element to obtain broadcast parameters. Then, the first industrial configuration content within the preset container element is modified and displayed according to the broadcast parameters. This embodiment embeds industrial configurations into a custom visualization platform. Based on different event content and usage scenarios, the industrial configuration can be switched only within the preset container element. Therefore, complex processes and technologies are extracted as separate preset container elements for reuse, and the configuration content can be displayed and operated on different diverse visualization platforms, improving the visualization level and control efficiency of industrial process control within the visualization platform for operators.
[0092] Example 3
[0093] This application embodiment also provides a visualization platform industrial configuration display device, which is applied to a visualization platform industrial configuration display equipment, see reference. Figure 3 The industrial configuration display device of the visualization platform includes:
[0094] The field query module is used to obtain the initial interface content and query the first field of the first industrial configuration content according to the preset data model and the preset container element. The preset data model is used to obtain the industrial configuration content, the initial interface content is determined by the industrial configuration content to be displayed, and the preset container element is created based on the component system through the component creation instruction.
[0095] The configuration display module is used to pass the first field to the preset container element and display the first industrial configuration content according to the preset container element and the first field.
[0096] Optionally, the field query module is further used for:
[0097] Obtain the component creation instruction, and based on the component system of the visualization platform and the component creation instruction, create a preset container component;
[0098] Obtain the model creation instruction, construct the preset data model according to the model creation instruction, and bind the preset data model to the preset container element.
[0099] Optionally, the configuration display module is further used for:
[0100] The first field is passed to the preset container element through the event bus of the visualization platform;
[0101] The first preview link corresponding to the first field is generated through the preset container element, and the first industrial configuration content is displayed according to the first preview link.
[0102] Optionally, the configuration display module is further used for:
[0103] The second industrial configuration content is acquired, and based on the event system of the visualization platform, the second industrial configuration content is broadcast to the preset container element to obtain broadcast parameters;
[0104] The first industrial configuration content in the preset container element is modified and displayed according to the broadcast parameters.
[0105] Optionally, the configuration display module is further used for:
[0106] The second industrial configuration content is broadcast through the target events and event bus in the event system;
[0107] The broadcast parameters in the target event are extracted through the preset container element, wherein the preset container element has subscribed to the target event.
[0108] Optionally, the configuration display module is further used for:
[0109] Based on the broadcast parameters, the interface of the preset data model is called to obtain the second field of the second industrial configuration content;
[0110] The second preview link corresponding to the second field is generated through the preset container element, and the second industrial configuration content is displayed according to the second preview link.
[0111] Optionally, the field query module is further used for:
[0112] Obtain configuration editing instructions, and generate various industrial configuration contents through the configuration editor and the configuration editing instructions, wherein each industrial configuration content is used for display in the preset container element.
[0113] The visualization platform industrial configuration display device provided in this application adopts the visualization platform industrial configuration display method in the above embodiments, solving the technical problem of low control efficiency in the industrial control process of the visualization platform. Compared with the prior art, the beneficial effects of the visualization platform industrial configuration display device provided in this application are the same as the beneficial effects of the visualization platform industrial configuration display method provided in the above embodiments, and other technical features in the visualization platform industrial configuration display device are the same as the features disclosed in the previous embodiment method, and will not be repeated here.
[0114] Example 4
[0115] This application provides an electronic device, which includes: at least one processor; and a memory communicatively connected to the at least one processor; wherein the memory stores instructions executable by the at least one processor, the instructions being executed by the at least one processor to enable the at least one processor to execute the visualization platform industrial configuration display method in Embodiment 1 above.
[0116] The following is for reference. Figure 4 The diagram illustrates a structural schematic of an electronic device suitable for implementing embodiments of the present disclosure. The electronic devices in the embodiments of the present disclosure may include, but are not limited to, mobile terminals such as mobile phones, laptops, digital broadcast receivers, PDAs (personal digital assistants), PADs (tablet computers), PMPs (portable multimedia players), in-vehicle terminals (e.g., in-vehicle navigation terminals), and fixed terminals such as digital TVs and desktop computers. Figure 4 The electronic device shown is merely an example and should not be construed as limiting the functionality and scope of the embodiments disclosed herein.
[0117] like Figure 4 As shown, an electronic device may include a processing unit (such as a central processing unit, graphics processing unit, etc.) that can perform various appropriate actions and processes based on a program stored in read-only memory (ROM) or a program loaded from a storage device into random access memory (RAM). The RAM also stores various programs and data required for the operation of the electronic device. The processing unit, ROM, and RAM are interconnected via a bus. Input / output (I / O) interfaces are also connected to the bus.
[0118] Typically, the following systems can be connected to the I / O interface: input devices including, for example, touchscreens, touchpads, keyboards, mice, image sensors, microphones, accelerometers, gyroscopes, etc.; output devices including, for example, liquid crystal displays (LCDs), speakers, vibrators, etc.; storage devices including, for example, magnetic tapes, hard disks, etc.; and communication devices. Communication devices allow electronic devices to communicate wirelessly or wiredly with other devices to exchange data. Although electronic devices with various systems are shown in the figures, it should be understood that it is not required to implement or possess all the systems shown. More or fewer systems may be implemented alternatively.
[0119] In particular, according to embodiments of this disclosure, the processes described above with reference to the flowcharts can be implemented as computer software programs. For example, embodiments of this disclosure include a computer program product comprising a computer program carried on a computer-readable medium, the computer program containing program code for performing the methods shown in the flowcharts. In such embodiments, the computer program can be downloaded and installed from a network via a communication device, or installed from a storage device, or installed from a ROM. When the computer program is executed by a processing device, it performs the functions defined above in the methods of embodiments of this disclosure.
[0120] The electronic device provided in this application employs the visualization platform industrial configuration display method in the above embodiments, solving the technical problem of low control efficiency in the industrial control process of the visualization platform. Compared with the prior art, the beneficial effects of the electronic device provided in this application are the same as those of the visualization platform industrial configuration display method provided in Embodiment 1 above, and other technical features of the electronic device are the same as those disclosed in the previous embodiment method, and will not be repeated here.
[0121] It should be understood that various parts of this disclosure can be implemented using hardware, software, firmware, or a combination thereof. In the description of the above embodiments, specific features, structures, materials, or characteristics may be combined in any suitable manner in one or more embodiments or examples.
[0122] The above description is merely a specific embodiment of this application, but the scope of protection of this application is not limited thereto. Any variations or substitutions that can be easily conceived by those skilled in the art within the scope of the technology disclosed in this application should be included within the scope of protection of this application. Therefore, the scope of protection of this application should be determined by the scope of the claims.
[0123] Example 5
[0124] This embodiment provides a computer-readable storage medium having computer-readable program instructions stored thereon, which are used to execute the method for displaying the industrial configuration of the visualization platform in Embodiment 1 above.
[0125] The computer-readable storage medium provided in this application embodiment may be, for example, a USB flash drive, but is not limited to, electrical, magnetic, optical, electromagnetic, infrared, or semiconductor systems, devices, or any combination thereof. More specific examples of computer-readable storage media may include, but are not limited to: electrical connections having one or more wires, portable computer disks, hard disks, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM or flash memory), optical fiber, portable compact disk read-only memory (CD-ROM), optical storage devices, magnetic storage devices, or any suitable combination thereof. In this embodiment, the computer-readable storage medium may be any tangible medium containing or storing a program that can be used by or in conjunction with an instruction execution system, system, or device. The program code contained on the computer-readable storage medium may be transmitted using any suitable medium, including but not limited to: wires, optical cables, RF (radio frequency), etc., or any suitable combination thereof.
[0126] The aforementioned computer-readable storage medium may be included in an electronic device or may exist independently without being assembled into an electronic device.
[0127] The aforementioned computer-readable storage medium carries one or more programs. When the aforementioned one or more programs are executed by an electronic device, the electronic device causes the electronic device to: obtain initial interface content; query a first field of the first industrial configuration content according to a preset data model and a preset container element, wherein the preset data model is used to obtain the industrial configuration content, the initial interface content is determined by the industrial configuration content to be displayed, and the preset container element is created based on the component system through a component creation instruction; pass the first field to the preset container element; and display the first industrial configuration content according to the preset container element and the first field.
[0128] Computer program code for performing the operations of this disclosure can be written in one or more programming languages or a combination thereof, including object-oriented programming languages such as Java, Smalltalk, and C++, and conventional procedural programming languages such as the "C" language or similar programming languages. The program code can be executed entirely on the user's computer, partially on the user's computer, as a standalone software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In cases involving remote computers, the remote computer can be connected to the user's computer via any type of network—including a local area network (LAN) or a wide area network (WAN)—or can be connected to an external computer (e.g., via the Internet using an Internet service provider).
[0129] The flowcharts and block diagrams in the accompanying drawings illustrate the architecture, functionality, and operation of possible implementations of systems, methods, and computer program products according to various embodiments of this application. In this regard, each block in a flowchart or block diagram may represent a module, segment, or portion of code containing one or more executable instructions for implementing a specified logical function. It should also be noted that in some alternative implementations, the functions indicated in the blocks may occur in a different order than those indicated in the drawings. For example, two consecutively indicated blocks may actually be executed substantially in parallel, and they may sometimes be executed in reverse order, depending on the functions involved. It should also be noted that each block in the block diagrams and / or flowcharts, and combinations of blocks in the block diagrams and / or flowcharts, can be implemented using a dedicated hardware-based system that performs the specified function or operation, or using a combination of dedicated hardware and computer instructions.
[0130] The modules described in the embodiments of this disclosure can be implemented in software or hardware. The names of the modules do not necessarily limit the functionality of the unit itself.
[0131] The computer-readable storage medium provided in this application stores computer-readable program instructions for executing the above-described visualization platform industrial configuration display method, thus solving the technical problem of low control efficiency in industrial control processes within the visualization platform. Compared with the prior art, the beneficial effects of the computer-readable storage medium provided in this application are the same as those of the visualization platform industrial configuration display method provided in the above-described embodiments, and will not be repeated here.
[0132] Example 6
[0133] This application also provides a computer program product, including a computer program that, when executed by a processor, implements the steps of the above-described visualization platform industrial configuration display method.
[0134] The computer program product provided in this application solves the technical problem of low control efficiency in industrial control processes within a visualization platform. Compared with the prior art, the beneficial effects of the computer program product provided in this application are the same as those of the visualization platform industrial configuration display method provided in the above embodiments, and will not be repeated here.
[0135] The above are merely preferred embodiments of this application and do not limit the patent scope of this application. Any equivalent structural or procedural transformations made using the content of this application's specification and drawings, or direct or indirect applications in other related technical fields, are similarly included within the patent scope of this application.
Claims
1. A method for visualizing a platform industrial configuration display, the method comprising: The industrial configuration display method of the visualization platform includes: Obtain initial interface content, and query the first field of the first industrial configuration content according to the preset data model and preset container element. The preset data model is used to obtain industrial configuration content, the initial interface content is determined by the industrial configuration content to be displayed, and the preset container element is created based on the component system through component creation instructions. The first field is passed to the preset container element, and the first industrial configuration content is displayed according to the preset container element and the first field. The step of passing the first field to the preset container element and displaying the first industrial configuration content based on the preset container element and the first field includes: The first field is passed to the preset container element through the event bus of the visualization platform; The first preview link corresponding to the first field is generated through the preset container element, and the first industrial configuration content is displayed according to the first preview link.
2. The method of claim 1, wherein the visual platform industrial configuration display is displayed on a display device. Before the step of querying the first field of the first industrial configuration content based on the preset data model and preset container elements, the visualization platform industrial configuration display method further includes: Obtain the component creation instruction, and based on the component system of the visualization platform and the component creation instruction, create a preset container component; Obtain the model creation instruction, construct the preset data model according to the model creation instruction, and bind the preset data model to the preset container element.
3. The visualization platform industrial configuration display method as described in claim 1, after the step of transmitting the first field of the first industrial configuration content to the preset container element and displaying the first industrial configuration content according to the preset container element and the first field, further includes: The second industrial configuration content is acquired, and based on the event system of the visualization platform, the second industrial configuration content is broadcast to the preset container element to obtain broadcast parameters; The first industrial configuration content in the preset container element is modified and displayed according to the broadcast parameters.
4. The method of claim 3, wherein the visual platform industrial configuration display is displayed on a display device. The event system based on the visualization platform broadcasts the second industrial configuration content to the preset container element, and the step of obtaining broadcast parameters includes: The second industrial configuration content is broadcast through the target events and event bus in the event system; The broadcast parameters in the target event are extracted through the preset container element, wherein the preset container element has subscribed to the target event.
5. The method of claim 3, wherein the visual platform industrial configuration display is displayed on a display device. The step of modifying and displaying the first industrial configuration content in the preset container element according to the broadcast parameters includes: Based on the broadcast parameters, the interface of the preset data model is called to obtain the second field of the second industrial configuration content; The second preview link corresponding to the second field is generated through the preset container element, and the second industrial configuration content is displayed according to the second preview link.
6. The industrial configuration display method for a visualization platform as described in claim 1, characterized in that, Before the step of querying the first field of the first industrial configuration content based on the preset data model and preset container components, the method further includes: Obtain configuration editing instructions, and generate various industrial configuration contents through the configuration editor and the configuration editing instructions, wherein each industrial configuration content is used for display in the preset container element.
7. A visualizing platform industrial configuration display device, characterized by, The industrial configuration display device of the visualization platform includes: The field query module is used to obtain the initial interface content and query the first field of the first industrial configuration content according to the preset data model and the preset container element. The preset data model is used to obtain the industrial configuration content, the initial interface content is determined by the industrial configuration content to be displayed, and the preset container element is created based on the component system through the component creation instruction. The configuration display module is used to pass the first field to the preset container element and display the first industrial configuration content according to the preset container element and the first field. The configuration display module is also used to: generate a first preview link corresponding to the first field through the preset container element, and display the first industrial configuration content according to the first preview link.
8. An electronic device, comprising: The electronic device includes: At least one processor; and, A memory communicatively connected to the at least one processor; wherein, The memory stores instructions that can be executed by the at least one processor to enable the at least one processor to perform the steps of the visualization platform industrial configuration display method according to any one of claims 1 to 6.
9. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores a program for implementing the industrial configuration display method of the visualization platform, which is executed by a processor to implement the steps of the industrial configuration display method of the visualization platform as described in any one of claims 1 to 6.