CN114629800A - Visual generation method, device, terminal and storage medium for industrial control network target range - Google Patents
Visual generation method, device, terminal and storage medium for industrial control network target range Download PDFInfo
- Publication number
- CN114629800A CN114629800A CN202210122571.7A CN202210122571A CN114629800A CN 114629800 A CN114629800 A CN 114629800A CN 202210122571 A CN202210122571 A CN 202210122571A CN 114629800 A CN114629800 A CN 114629800A
- Authority
- CN
- China
- Prior art keywords
- target
- control network
- component
- industrial control
- operation input
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
- 238000000034 method Methods 0.000 title claims abstract description 62
- 230000000007 visual effect Effects 0.000 title claims abstract description 41
- 239000000126 substance Substances 0.000 claims abstract description 7
- 238000004590 computer program Methods 0.000 claims description 18
- 230000000712 assembly Effects 0.000 claims description 10
- 238000000429 assembly Methods 0.000 claims description 10
- 230000004044 response Effects 0.000 claims description 9
- 230000001960 triggered effect Effects 0.000 claims description 6
- 238000010276 construction Methods 0.000 claims description 5
- 230000015572 biosynthetic process Effects 0.000 claims 1
- 230000008569 process Effects 0.000 description 24
- 230000006870 function Effects 0.000 description 8
- 238000012545 processing Methods 0.000 description 6
- 238000010586 diagram Methods 0.000 description 4
- 238000005516 engineering process Methods 0.000 description 4
- 238000012800 visualization Methods 0.000 description 4
- 238000004891 communication Methods 0.000 description 3
- 230000008878 coupling Effects 0.000 description 3
- 238000010168 coupling process Methods 0.000 description 3
- 238000005859 coupling reaction Methods 0.000 description 3
- 238000004088 simulation Methods 0.000 description 3
- 238000012937 correction Methods 0.000 description 2
- 230000006399 behavior Effects 0.000 description 1
- 238000004422 calculation algorithm Methods 0.000 description 1
- 238000013461 design Methods 0.000 description 1
- 238000001514 detection method Methods 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 239000002360 explosive Substances 0.000 description 1
- 238000007689 inspection Methods 0.000 description 1
- 239000000203 mixture Substances 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 238000011160 research Methods 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L41/00—Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
- H04L41/14—Network analysis or design
- H04L41/145—Network analysis or design involving simulating, designing, planning or modelling of a network
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F8/00—Arrangements for software engineering
- G06F8/30—Creation or generation of source code
- G06F8/33—Intelligent editors
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F8/00—Arrangements for software engineering
- G06F8/30—Creation or generation of source code
- G06F8/34—Graphical or visual programming
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L41/00—Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
- H04L41/12—Discovery or management of network topologies
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L63/00—Network architectures or network communication protocols for network security
- H04L63/20—Network architectures or network communication protocols for network security for managing network security; network security policies in general
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02P—CLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
- Y02P90/00—Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
- Y02P90/02—Total factory control, e.g. smart factories, flexible manufacturing systems [FMS] or integrated manufacturing systems [IMS]
Landscapes
- Engineering & Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Software Systems (AREA)
- Theoretical Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Computer Security & Cryptography (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Computing Systems (AREA)
- Computer Hardware Design (AREA)
- Stored Programmes (AREA)
- User Interface Of Digital Computer (AREA)
Abstract
The application is suitable for the technical field of network information, and provides a visual generation method, a visual generation device, a visual generation terminal and a visual generation storage medium for an industrial control network target range, wherein the method comprises the following steps: acquiring operation input of a user on visually edited industrial control network components; responding to the operation input, and constructing a component topological structure containing a target component selected by the operation input and a wiring harness connection relation between the target components; calling a corresponding asset virtualization interface according to the attribute information of each target component in the component topological structure to generate a virtualized chemical industry control network asset; calling a network connection relation virtualization interface corresponding to each wiring harness connection relation according to wiring harness connection relations among target components in the component topological structure, and constructing network connection relations among the virtualized chemical industry control network assets; and obtaining the industrial control network target range. The scheme can realize the personalized configuration of the industrial control network target range and meet the actual requirements of users.
Description
Technical Field
The application belongs to the technical field of network information, and particularly relates to a visual generation method, a visual generation device, a visual generation terminal and a visual generation storage medium for an industrial control network target range.
Background
The network target range is a technology or a product for simulating and reproducing the running states and running environments of network architectures, system equipment and business processes in a real network space based on a virtualization technology so as to more effectively realize the behaviors of learning, research, inspection, competition, exercise and the like related to network security, thereby improving the network security confrontation level of personnel and institutions.
With the explosive growth of the internet scale, the network security problem comes along, and in order to solve the problems, the capability of handling the emergency security incident for the practitioner is improved by building a network target range. However, because the network shooting range is long in construction time and high in construction cost, the commonly used network shooting range is usually a shooting range model prepared by a developer, the process cannot be personalized according to actual requirements, error correction cost is high, and user experience is poor.
Disclosure of Invention
The embodiment of the application provides a visual generation method, a visual generation device, a visual generation terminal and a visual generation storage medium for an industrial control network range, and aims to solve the problems that in the prior art, a commonly-used network range is a range model which is usually prepared by a developer, cannot be configured individually according to actual requirements, is high in error correction cost and is poor in user experience.
The first aspect of the embodiment of the application provides a visual generation method for an industrial control network range, which comprises the following steps:
acquiring operation input of a user on visually edited industrial control network components, wherein each industrial control network component corresponds to an industrial control network asset;
responding to the operation input, and constructing a component topological structure comprising a target component selected by the operation input and a wiring harness connection relation between the target components;
calling a corresponding asset virtualization interface according to the attribute information of each target component in the component topological structure to generate a virtualized chemical industry control network asset;
calling a network connection relation virtualization interface corresponding to each wiring harness connection relation according to the wiring harness connection relation among the target assemblies in the assembly topological structure, and constructing a network connection relation among the virtual chemical industry control network assets;
and obtaining an industrial control network target range containing the virtualized industrial control network assets and the network connection relation.
A second aspect of the present application provides a visual generation apparatus for an industrial control network target range, including:
the system comprises an acquisition module, a display module and a display module, wherein the acquisition module is used for acquiring operation input of a user on visually edited industrial control network components, and each industrial control network component corresponds to an industrial control network asset;
the construction module is used for responding to the operation input and constructing a component topological structure containing a target component selected by the operation input and a wiring harness connection relation between the target components;
the generating module is used for calling a corresponding asset virtualization interface according to the attribute information of each target component in the component topological structure to generate a virtualized chemical industry control network asset; calling a network connection relation virtualization interface corresponding to each wiring harness connection relation according to the wiring harness connection relation among the target assemblies in the assembly topological structure, and constructing a network connection relation among the virtual chemical industry control network assets; obtaining an industrial control network target range comprising the virtualized industrial control network assets and the network connection relation
A third aspect of embodiments of the present application provides a terminal, including a memory, a processor, and a computer program stored in the memory and executable on the processor, where the processor implements the steps of the method according to the first aspect when executing the computer program.
A fourth aspect of embodiments of the present application provides a computer-readable storage medium, in which a computer program is stored, which, when executed by a processor, performs the steps of the method according to the first aspect.
A fifth aspect of the present application provides a computer program product, which, when run on a terminal, causes the terminal to perform the steps of the method of the first aspect described above.
Therefore, in the embodiment of the application, the user can customize the logic structure of the network shooting range through operation input in a visual editing mode, so that the network topology matched with the logic structure of the network shooting range and the simulated industrial control network shooting range can be generated according to the user-defined logic structure of the network shooting range in the subsequent process, the personalized configuration of the industrial control network shooting range is realized, the actual requirements of the user are met, and the user experience is improved.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings needed to be used in the embodiments or the prior art descriptions will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present application, and it is obvious for those skilled in the art to obtain other drawings without creative efforts.
Fig. 1 is a first flowchart of a method for visually generating an industrial control network target range according to an embodiment of the present application;
fig. 2 is a second flowchart of a visual generation method for an industrial control network range, provided by an embodiment of the present application;
fig. 3 is a structural diagram of a visualization generating apparatus for an industrial control network range, provided in an embodiment of the present application;
fig. 4 is a structural diagram of a terminal according to an embodiment of the present application.
Detailed Description
In the following description, for purposes of explanation and not limitation, specific details are set forth, such as particular system structures, techniques, etc. in order to provide a thorough understanding of the embodiments of the present application. It will be apparent, however, to one skilled in the art that the present application may be practiced in other embodiments that depart from these specific details. In other instances, detailed descriptions of well-known systems, devices, circuits, and methods are omitted so as not to obscure the description of the present application with unnecessary detail.
It will be understood that the terms "comprises" and/or "comprising," when used in this specification and the appended claims, specify the presence of stated features, integers, steps, operations, elements, and/or components, but do not preclude the presence or addition of one or more other features, integers, steps, operations, elements, components, and/or groups thereof.
It is also to be understood that the terminology used in the description of the present application herein is for the purpose of describing particular embodiments only and is not intended to be limiting of the application. As used in the specification of the present application and the appended claims, the singular forms "a," "an," and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise.
It should be further understood that the term "and/or" as used in this specification and the appended claims refers to and includes any and all possible combinations of one or more of the associated listed items.
As used in this specification and the appended claims, the term "if" may be interpreted contextually as "when", "upon" or "in response to a determination" or "in response to a detection". Similarly, the phrase "if it is determined" or "if a [ described condition or event ] is detected" may be interpreted contextually to mean "upon determining" or "in response to determining" or "upon detecting [ described condition or event ]" or "in response to detecting [ described condition or event ]".
In particular implementations, the terminals described in embodiments of the present application include, but are not limited to, other portable devices such as mobile phones, laptop computers, or tablet computers having touch sensitive surfaces (e.g., touch screen displays and/or touch pads). It should also be understood that in some embodiments, the device is not a portable communication device, but is a desktop computer having a touch-sensitive surface (e.g., a touch screen display and/or a touchpad).
In the discussion that follows, a terminal that includes a display and a touch-sensitive surface is described. However, it should be understood that the terminal may include one or more other physical user interface devices such as a physical keyboard, mouse, and/or joystick.
The terminal supports various applications, such as one or more of the following: a drawing application, a presentation application, a word processing application, a website creation application, a disc burning application, a spreadsheet application, a gaming application, a telephone application, a video conferencing application, an email application, an instant messaging application, an exercise support application, a photo management application, a digital camera application, a web browsing application, a digital music player application, and/or a digital video player application.
Various applications that may be executed on the terminal may use at least one common physical user interface device, such as a touch-sensitive surface. One or more functions of the touch-sensitive surface and corresponding information displayed on the terminal can be adjusted and/or changed between applications and/or within respective applications. In this way, a common physical architecture (e.g., touch-sensitive surface) of the terminal can support various applications with user interfaces that are intuitive and transparent to the user.
It should be understood that, the sequence numbers of the steps in this embodiment do not mean the execution sequence, and the execution sequence of each process should be determined by its function and inherent logic, and should not constitute any limitation to the implementation process of this embodiment.
In order to explain the technical solution described in the present application, the following description will be given by way of specific examples.
Referring to fig. 1, fig. 1 is a first flowchart of a method for visually generating an industrial control network target range according to an embodiment of the present application. As shown in fig. 1, a visual generation method for an industrial control network target range includes the following steps:
In particular, the visual editing function may be implemented by means of a Visual Editor (VE). The visual editor is used for adding elements such as characters, pictures and videos at the front end of a user, self-defining modules and styles can be supported, what you see is what you get is achieved, and the requirements of the user for personalized configuration and adjustment according to actual requirements are met.
The industrial control network component is an operable control provided in the visual editing page. Wherein each industrial control network component corresponds to an industrial control network asset.
Specifically, the industrial control network asset is, for example, an analog router, an analog switch, a virtual machine configured with different services or functions, and the like.
The operation input of the user is, for example, icon dragging operation on the industrial control network component, clicking operation on a selection key, selection operation triggered by sound or a preset gesture, and the like.
The operation input comprises selection of target components and configuration of connection relations among the target components.
The building process of the component topology can be implemented using canvas technology. A canvas is an HTML element that can use script (usually JavaScript) to render graphics. For example, it can be used to draw charts, make picture compositions, or animate. And further realizing the construction and processing process of the target assembly selected by operation input and the assembly topological structure corresponding to the wiring harness connection relation between the target assemblies.
And 103, calling a corresponding asset virtualization interface according to the attribute information of each target component in the component topology structure to generate the virtualization control network asset.
The attribute information includes, for example, a position of the target component in the component topology, a component feature, an industrial control network asset attribute corresponding to the target component, and the like.
Each target component corresponds to a corresponding asset virtualization interface, and the asset virtualization interface realizes the virtualization generation of the corresponding industrial control network asset based on the target component.
For example, if the industrial control network asset corresponding to the target component is the simulation router, then based on the attribute information of the target component, correct matching of the asset virtualization interface is performed, so as to implement call of the asset virtualization interface, where the asset virtualization interface is specifically a creation interface of the simulation router, the creation interface corresponds to a creation code of the simulation router, and when the asset virtualization interface is called, execution of the creation code is triggered, so as to generate the virtual chemical control network asset corresponding to the target component.
And 104, calling a network connection relation virtualization interface corresponding to each wiring harness connection relation according to the wiring harness connection relation among the target assemblies in the assembly topological structure, and constructing the network connection relation among the virtual chemical industry control network assets.
When calling a corresponding network connection relationship virtualization interface based on a wiring harness connection relationship between target components, it is necessary to determine which network connection relationship virtualization interface corresponds to the wiring harness connection relationship between two current target components by combining attribute information of two target components connected by the wiring harness connection relationship and information such as the connection relationship of the wiring harness connection relationship.
Specifically, for example, the wire harness connection relationship includes information that the connection relationship is a gateway connection, a bridge connection, a port to which the wire harness connection relationship is accessed, and the like, and is correctly matched with the network connection relationship virtualization interface adapted to the current wire harness connection relationship, and the network connection relationship between the virtual chemical industry control network assets is constructed by using the information of the connection relationship, the access port, and the like through calling the network connection relationship virtualization interface.
And 105, obtaining an industrial control network target range containing the virtual industrial control network assets and the network connection relation.
And finally, obtaining the industrial control network target range, and realizing the visual generation of the industrial control network target range.
Further, in an optional embodiment, after constructing the component topology including the target component selected by the operation input and the wiring harness connection relationship between the target components in response to the operation input, the method further includes:
acquiring attribute information of each target assembly and configuration information of the target assembly in an assembly topological structure;
and storing the attribute information and the configuration information to the local.
Here, the related information of the target component needs to be locally stored, so as to ensure convenient calling of data in the visualization generation process of the industrial control network target range and improve the robustness in data use.
Specifically, when storing the attribute information and the configuration information to the local, the data validity check may be performed on the acquired attribute information of the target component and the configuration information of the target component in the component topology structure, and after the check is passed, the attribute information of the target component and the configuration information of the target component in the component topology structure are stored in the target component data table in accordance with the attribute information of the current target component in the target component data table corresponding to the matching from the database.
The configuration information specifically includes the wire harness connection relationship between the position of the target assembly in the assembly topological structure and other target assemblies, and information such as a custom name, an icon size, a shape and a color obtained by customizing the target assembly.
The determination of the configuration information needs to be determined according to the actual configuration operation of the target component by the user, and is not limited to this.
Further, as an optional implementation manner, after storing the attribute information and the configuration information locally, the method further includes:
acquiring a page refreshing instruction triggered by a user in a visual editing page; responding to a page refreshing instruction, and locally calling attribute information and configuration information; and outputting the topological structure of the component to a visual editing page based on the attribute information and the configuration information.
In the process, response to a page refreshing instruction triggered in a visual editing page is realized through convenient calling of local storage data, a convenient and timely page refreshing function is provided for a user, and the use experience of the user is improved.
In the embodiment of the application, a user can customize the logic structure of the network shooting range through operation input in a visual editing mode, so that a matched network topology and a simulated industrial control network shooting range can be generated according to the customized logic structure of the network shooting range in the subsequent process, the personalized configuration of the industrial control network shooting range is realized, the actual requirements of the user are met, and the user experience is improved.
The embodiment of the application also provides different implementation modes of the visual generation method of the industrial control network target range.
Referring to fig. 2, fig. 2 is a second flowchart of a visual generation method for an industrial control network target range provided in the embodiment of the present application. As shown in fig. 2, a visual generation method for an industrial control network target range includes the following steps:
Wherein each industrial control network component corresponds to an industrial control network asset.
The implementation process of this step is the same as that of step 101 in the foregoing embodiment, and is not described here again.
The operation input comprises a dragging operation on target components in the industrial control network component list and a configuration operation on a wiring harness connection relation between the target components.
At step 202, the target component is placed in the canvas based on the drag operation.
This step provides the user with the ability to drag the target component into the canvas in a drag-and-drop fashion for component topology configuration.
In a specific implementation process, the arranging the target component in the canvas based on the drag operation includes:
setting a canvas corresponding to the initial size area; acquiring a target component and a target placement point coordinate selected by a dragging operation; and arranging the target component in the canvas according to the position relation between the target placement point coordinates and the initial size area of the canvas.
Here, the canvas has a size automatically adjusting function.
The coordinate of the target placement point selected by the dragging operation is specifically the coordinate of a position point when the mouse stops moving and releases the dragged target component in the process of dragging the target component by the user mouse.
In a specific implementation process, the arranging the target component in the canvas according to the position relationship between the target placement point coordinates and the initial size area of the canvas includes:
when the coordinates of the target placement point are outside the initial size area, expanding the initial size area to a target size area containing the target placement point; the target component is arranged in the canvas corresponding to the target size area.
The position of the target placement point coordinate is compared with the initial size area, and the size of the canvas is automatically adjusted based on the comparison result so as to arrange the target assembly in the canvas, so that the topological structure of the assembly can be constructed subsequently.
On the other hand, when the target placement point coordinate is within the initial size area, the target component is directly placed in the canvas corresponding to the initial size area at the position corresponding to the target placement point coordinate.
In the processing process, a canvas with the size capable of being automatically adjusted is defined through a canvas technology, for example, the initial size area of the canvas is set to be 800 pixels by 1200 pixels, if the coordinates of the target placing points corresponding to the target components exceed the boundary of the canvas, the canvas can automatically expand the size of the canvas, the coordinates of the target placing points corresponding to the target components are ensured to be in the canvas after the size is expanded, and convenience and intelligence in visual operation of a user are improved.
The components are connected in a point pulling mode, and the connection relation between the target components in the component topological structure is configured.
And 204, calling a corresponding asset virtualization interface according to the attribute information of each target component in the component topology structure to generate the virtualization control network asset.
The implementation process of this step is the same as the implementation process of step 103 in the foregoing embodiment, and is not described here again.
The implementation process of this step is the same as that of step 104 in the foregoing embodiment, and is not described here again.
And step 206, obtaining an industrial control network target range containing the virtual industrial control network assets and the network connection relation.
The implementation process of this step is the same as that of step 105 in the foregoing embodiment, and is not described here again.
In the embodiment of the application, the canvas capable of automatically adjusting the size is provided in a visual editing mode, so that a user can customize the logic structure of the network shooting range through operation input, a network topology matched with the logic structure of the network shooting range and a simulated industrial control network shooting range can be generated according to the user-defined logic structure of the network shooting range in the subsequent process, personalized configuration of the industrial control network shooting range is realized, the actual requirements of the user are met, and the user experience is improved.
Referring to fig. 3, fig. 3 is a structural diagram of a visualization generating apparatus for an industrial control network target range provided in an embodiment of the present application, and for convenience of description, only a part related to the embodiment of the present application is shown.
The visualization generation device 300 for the industrial control network target range comprises:
an obtaining module 301, configured to obtain operation input of a user on visually edited industrial control network components, where each industrial control network component corresponds to an industrial control network asset;
a building module 302, configured to build, in response to the operation input, a component topology structure including a target component selected by the operation input and a wiring harness connection relationship between the target components;
a generating module 303, configured to call a corresponding asset virtualization interface according to the attribute information of each target component in the component topology structure, and generate a virtualized chemical industry control network asset; calling a network connection relation virtualization interface corresponding to each wiring harness connection relation according to the wiring harness connection relation among the target assemblies in the assembly topological structure, and constructing a network connection relation among the virtual chemical industry control network assets; and obtaining an industrial control network target range containing the virtualized industrial control network assets and the network connection relation.
The operation input comprises a dragging operation on the target assemblies in the industrial control network assembly list and a configuration operation on the wiring harness connection relation between the target assemblies; the building module 302 is specifically configured to:
arranging the target component in a canvas based on the drag operation;
based on the configuration operation, a connection is constructed between the target components arranged in the canvas, and the component topology is obtained.
Wherein the building module 302 is more specifically configured to:
setting a canvas corresponding to the initial size area;
acquiring the target assembly and the target placement point coordinate selected by the dragging operation;
arranging the target component in the canvas according to a positional relationship between the target placement point coordinates and the initial size region of the canvas.
Wherein the building module 302 is further specifically configured to:
when the target placement point coordinates are outside the initial size region, expanding the initial size region to a target size region containing the target placement point;
arranging the target component in the canvas corresponding to the target size region.
Wherein, the device still includes:
the storage module is used for acquiring attribute information of each target assembly and configuration information of the target assembly in the assembly topological structure; and storing the attribute information and the configuration information to the local.
Wherein, the device still includes:
the page refreshing module is used for acquiring a page refreshing instruction triggered by a user in the visual editing page;
responding to the page refreshing instruction, and locally calling the attribute information and the configuration information;
and outputting the component topological structure to the visual editing page based on the attribute information and the configuration information.
The visual generation device of industrial control network target range provided by the embodiment of the application can realize each process of the embodiment of the visual generation method of the industrial control network target range, and can achieve the same technical effect, and in order to avoid repetition, the repeated description is omitted here.
Fig. 4 is a structural diagram of a terminal according to an embodiment of the present application. As shown in the figure, the terminal 4 of this embodiment includes: at least one processor 40 (only one shown in fig. 4), a memory 41, and a computer program 42 stored in the memory 41 and executable on the at least one processor 40, the steps of any of the various method embodiments described above being implemented when the computer program 42 is executed by the processor 40.
The terminal 4 may be a desktop computer, a notebook, a palm computer, a cloud server, or other computing devices. The terminal 4 may include, but is not limited to, a processor 40, a memory 41. Those skilled in the art will appreciate that fig. 4 is only an example of a terminal 4 and does not constitute a limitation of terminal 4 and may include more or less components than those shown, or some components in combination, or different components, for example, the terminal may also include input output devices, network access devices, buses, etc.
The Processor 40 may be a Central Processing Unit (CPU), other general purpose Processor, a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), a Field Programmable Gate Array (FPGA) or other Programmable logic device, discrete Gate or transistor logic device, discrete hardware component, etc. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like.
The memory 41 may be an internal storage unit of the terminal 4, such as a hard disk or a memory of the terminal 4. The memory 41 may also be an external storage device of the terminal 4, such as a plug-in hard disk, a Smart Media Card (SMC), a Secure Digital (SD) Card, a Flash memory Card (Flash Card) and the like provided on the terminal 4. Further, the memory 41 may also include both an internal storage unit and an external storage device of the terminal 4. The memory 41 is used for storing the computer program and other programs and data required by the terminal. The memory 41 may also be used to temporarily store data that has been output or is to be output.
It will be apparent to those skilled in the art that, for convenience and brevity of description, only the above-mentioned division of the functional units and modules is illustrated, and in practical applications, the above-mentioned function distribution may be performed by different functional units and modules according to needs, that is, the internal structure of the apparatus is divided into different functional units or modules to perform all or part of the above-mentioned functions. Each functional unit and module in the embodiments may be integrated in one processing unit, or each unit may exist alone physically, or two or more units are integrated in one unit, and the integrated unit may be implemented in a form of hardware, or in a form of software functional unit. In addition, specific names of the functional units and modules are only for convenience of distinguishing from each other, and are not used for limiting the protection scope of the present application. The specific working processes of the units and modules in the system may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
In the above embodiments, the description of each embodiment has its own emphasis, and reference may be made to the related description of other embodiments for parts that are not described or recited in any embodiment.
Those of ordinary skill in the art will appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware or combinations of computer software and electronic hardware. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the implementation. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present application.
In the embodiments provided in the present application, it should be understood that the disclosed apparatus/terminal and method may be implemented in other ways. For example, the above-described apparatus/terminal embodiments are merely illustrative, and for example, the division of the modules or units is only one logical division, and there may be other divisions when actually implemented, for example, a plurality of units or components may be combined or may be integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one position, or may be distributed on multiple network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.
The integrated modules/units, if implemented in the form of software functional units and sold or used as separate products, may be stored in a computer readable storage medium. Based on such understanding, all or part of the flow in the method of the embodiments described above can be realized by a computer program, which can be stored in a computer readable storage medium and can realize the steps of the embodiments of the methods described above when the computer program is executed by a processor. Wherein the computer program comprises computer program code, which may be in the form of source code, object code, an executable file or some intermediate form, etc. The computer-readable medium may include: any entity or device capable of carrying the computer program code, recording medium, U.S. disk, removable hard disk, magnetic diskette, optical disk, computer Memory, Read-Only Memory (ROM), Random Access Memory (RAM), electrical carrier wave signal, telecommunications signal, and software distribution medium, etc. It should be noted that the computer readable medium may contain content that is subject to appropriate increase or decrease as required by legislation and patent practice in jurisdictions, for example, in some jurisdictions, computer readable media does not include electrical carrier signals and telecommunications signals as is required by legislation and patent practice.
The present application realizes all or part of the processes in the method of the above embodiments, and may also be implemented by a computer program product, when the computer program product runs on a terminal, the steps in the above method embodiments may be implemented when the terminal executes the computer program product.
The above-mentioned embodiments are only used for illustrating the technical solutions of the present application, and not for limiting the same; although the present application has been described in detail with reference to the foregoing embodiments, it should be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; such modifications and substitutions do not substantially depart from the spirit and scope of the embodiments of the present application and are intended to be included within the scope of the present application.
Claims (10)
1. A visual generation method for an industrial control network target range is characterized by comprising the following steps:
acquiring operation input of a user on visually edited industrial control network components, wherein each industrial control network component corresponds to an industrial control network asset;
responding to the operation input, and constructing a component topological structure comprising a target component selected by the operation input and a wiring harness connection relation between the target components;
calling a corresponding asset virtualization interface according to the attribute information of each target component in the component topological structure to generate a virtualized chemical industry control network asset;
calling a network connection relation virtualization interface corresponding to each wiring harness connection relation according to the wiring harness connection relation among the target assemblies in the assembly topological structure, and constructing a network connection relation among the virtual chemical industry control network assets;
and obtaining an industrial control network target range containing the virtualized industrial control network assets and the network connection relation.
2. The method according to claim 1, wherein the operation input includes a drag operation on the target components in an industrial control network component list and a configuration operation on a wiring harness connection relationship between the target components; the constructing of the component topology structure including the target component selected by the operation input and the wiring harness connection relationship between the target components in response to the operation input includes:
arranging the target component in a canvas based on the drag operation;
based on the configuration operation, a connection is constructed between the target components arranged in the canvas, and the component topology is obtained.
3. The method of claim 2, wherein placing the target component in a canvas based on the drag operation comprises:
setting a canvas corresponding to the initial size area;
acquiring the target assembly and the target placement point coordinate selected by the dragging operation;
arranging the target component in the canvas according to a positional relationship between the target placement point coordinates and the initial size region of the canvas.
4. The method of claim 3, wherein arranging the target component into the canvas according to the positional relationship between the target placement point coordinates and the initial size region of the canvas comprises:
when the target placement point coordinates are outside the initial size region, expanding the initial size region to a target size region containing the target placement point;
arranging the target component in the canvas corresponding to the target size area.
5. The method according to claim 1, wherein after the constructing of the component topology including the target component selected by the operation input and the wiring harness connection relationship between the target components in response to the operation input, the method further comprises:
acquiring attribute information of each target assembly and configuration information of the target assembly in the assembly topological structure;
and storing the attribute information and the configuration information to the local.
6. The method of claim 5, wherein after storing the attribute information and the configuration information locally, further comprising:
acquiring a page refreshing instruction triggered by a user in a visual editing page;
responding to the page refreshing instruction, and locally calling the attribute information and the configuration information;
and outputting the component topological structure to the visual editing page based on the attribute information and the configuration information.
7. The utility model provides a visual formation device of industrial control network shooting range which characterized in that includes:
the system comprises an acquisition module, a display module and a display module, wherein the acquisition module is used for acquiring operation input of a user on visually edited industrial control network components, and each industrial control network component corresponds to an industrial control network asset;
the construction module is used for responding to the operation input and constructing a component topological structure containing a target component selected by the operation input and a wiring harness connection relation between the target components;
the generating module is used for calling a corresponding asset virtualization interface according to the attribute information of each target component in the component topological structure to generate a virtualized chemical industry control network asset; calling a network connection relation virtualization interface corresponding to each wiring harness connection relation according to the wiring harness connection relation among the target assemblies in the assembly topological structure, and constructing a network connection relation among the virtual chemical industry control network assets; and obtaining an industrial control network target range containing the virtualized industrial control network assets and the network connection relation.
8. The device according to claim 7, wherein the operation input includes a drag operation on the target components in the industrial control network component list and a configuration operation on a wiring harness connection relationship between the target components; the building module is specifically configured to:
arranging the target component in a canvas based on the drag operation;
based on the configuration operation, a connection is constructed between the target components arranged in the canvas, and the component topology is obtained.
9. A terminal comprising a memory, a processor and a computer program stored in the memory and executable on the processor, characterized in that the processor implements the steps of the method according to any of claims 1 to 6 when executing the computer program.
10. A computer-readable storage medium, in which a computer program is stored which, when being executed by a processor, carries out the steps of the method according to any one of claims 1 to 6.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202210122571.7A CN114629800B (en) | 2022-02-09 | 2022-02-09 | Visual generation method, device, terminal and storage medium for industrial control network target range |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202210122571.7A CN114629800B (en) | 2022-02-09 | 2022-02-09 | Visual generation method, device, terminal and storage medium for industrial control network target range |
Publications (2)
Publication Number | Publication Date |
---|---|
CN114629800A true CN114629800A (en) | 2022-06-14 |
CN114629800B CN114629800B (en) | 2024-03-15 |
Family
ID=81898959
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202210122571.7A Active CN114629800B (en) | 2022-02-09 | 2022-02-09 | Visual generation method, device, terminal and storage medium for industrial control network target range |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN114629800B (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN115334698A (en) * | 2022-07-20 | 2022-11-11 | 烽台科技(北京)有限公司 | Construction method, device, terminal and medium for 5G safety network of target range target |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109802852A (en) * | 2018-12-13 | 2019-05-24 | 烽台科技(北京)有限公司 | The construction method and system of network simulation topology applied to network target range |
CN111934922A (en) * | 2020-07-29 | 2020-11-13 | 深信服科技股份有限公司 | Method, device, equipment and storage medium for constructing network topology |
CN112333011A (en) * | 2020-10-23 | 2021-02-05 | 苏州浪潮智能科技有限公司 | Network topological graph generation method and device, electronic equipment and storage medium |
CN112929218A (en) * | 2021-02-04 | 2021-06-08 | 西安热工研究院有限公司 | System and device for automatically generating virtual and real environments of industrial control target range |
CN113037545A (en) * | 2021-02-26 | 2021-06-25 | 中电数据服务有限公司 | Network simulation method, device, equipment and storage medium |
CN113359511A (en) * | 2021-06-23 | 2021-09-07 | 陕西工大锐迪信息技术有限公司 | Construction method and device of industrial control simulation network, computer equipment and storage medium |
-
2022
- 2022-02-09 CN CN202210122571.7A patent/CN114629800B/en active Active
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109802852A (en) * | 2018-12-13 | 2019-05-24 | 烽台科技(北京)有限公司 | The construction method and system of network simulation topology applied to network target range |
CN111934922A (en) * | 2020-07-29 | 2020-11-13 | 深信服科技股份有限公司 | Method, device, equipment and storage medium for constructing network topology |
CN112333011A (en) * | 2020-10-23 | 2021-02-05 | 苏州浪潮智能科技有限公司 | Network topological graph generation method and device, electronic equipment and storage medium |
CN112929218A (en) * | 2021-02-04 | 2021-06-08 | 西安热工研究院有限公司 | System and device for automatically generating virtual and real environments of industrial control target range |
CN113037545A (en) * | 2021-02-26 | 2021-06-25 | 中电数据服务有限公司 | Network simulation method, device, equipment and storage medium |
CN113359511A (en) * | 2021-06-23 | 2021-09-07 | 陕西工大锐迪信息技术有限公司 | Construction method and device of industrial control simulation network, computer equipment and storage medium |
Non-Patent Citations (2)
Title |
---|
孙健: "工控网络仿真靶场的虚拟化场景构建研究", 《中国优秀硕士学位论文全文数据库》 * |
陈吉龙;翟健宏;: "虚拟化工控网络靶场的设计与自动化部署", 智能计算机与应用, no. 05 * |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN115334698A (en) * | 2022-07-20 | 2022-11-11 | 烽台科技(北京)有限公司 | Construction method, device, terminal and medium for 5G safety network of target range target |
CN115334698B (en) * | 2022-07-20 | 2023-05-23 | 烽台科技(北京)有限公司 | Construction method, device, terminal and medium of target 5G safety network of target range |
Also Published As
Publication number | Publication date |
---|---|
CN114629800B (en) | 2024-03-15 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
EP4155920A1 (en) | Application screen splitting method and apparatus, storage medium and electric device | |
EP3835933A1 (en) | Product browsing method and apparatus, device and storage medium | |
US9075631B2 (en) | Method of rendering a user interface | |
US8984448B2 (en) | Method of rendering a user interface | |
EP2584463B1 (en) | Method of rendering a user interface | |
EP2984558B1 (en) | Multiple displays for displaying workspaces | |
CN107608668B (en) | Method and device for making and compatibly displaying H5 page, terminal equipment and storage medium | |
US20100271398A1 (en) | System and method for manipulating digital images on a computer display | |
CN110377215B (en) | Model display method and device and terminal equipment | |
CN114115681B (en) | Page generation method and device, electronic equipment and medium | |
WO2022242379A1 (en) | Stroke-based rendering method and device, storage medium and terminal | |
CN109213668B (en) | Operation recording method and device and terminal | |
CN114489648A (en) | Page generation method, system, terminal and medium | |
CN109718554B (en) | Real-time rendering method and device and terminal | |
CN114629800B (en) | Visual generation method, device, terminal and storage medium for industrial control network target range | |
CN107704188A (en) | Input keyboard provider method and device, terminal and computer-readable recording medium | |
CN115334698B (en) | Construction method, device, terminal and medium of target 5G safety network of target range | |
CN109582269B (en) | Physical splicing screen display method and device and terminal equipment | |
CN113487704B (en) | Dovetail arrow mark drawing method and device, storage medium and terminal equipment | |
CN115688112A (en) | Industrial control risk assessment method, device, equipment and storage medium | |
CN113965794B (en) | Banner display method and device, electronic equipment and storage medium | |
CN109754450B (en) | Method, device and equipment for generating track | |
CN109542327B (en) | Method and device for processing cells and computer readable medium | |
CN114513736B (en) | Acoustic testing method, equipment, terminal and storage medium for earphone | |
CN114327059B (en) | Gesture processing method, device, equipment and storage medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |