CN113343409B - Visual configuration method and device based on virtual equipment - Google Patents

Visual configuration method and device based on virtual equipment Download PDF

Info

Publication number
CN113343409B
CN113343409B CN202110400170.9A CN202110400170A CN113343409B CN 113343409 B CN113343409 B CN 113343409B CN 202110400170 A CN202110400170 A CN 202110400170A CN 113343409 B CN113343409 B CN 113343409B
Authority
CN
China
Prior art keywords
virtual
equipment
model
target
measuring point
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.)
Active
Application number
CN202110400170.9A
Other languages
Chinese (zh)
Other versions
CN113343409A (en
Inventor
徐秀眉
谢峰
陈磊
王新月
孟金涛
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Hollysys Kauber Technology Co ltd
Original Assignee
Ningbo Helishi Intelligent Technology Co ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Ningbo Helishi Intelligent Technology Co ltd filed Critical Ningbo Helishi Intelligent Technology Co ltd
Priority to CN202110400170.9A priority Critical patent/CN113343409B/en
Publication of CN113343409A publication Critical patent/CN113343409A/en
Application granted granted Critical
Publication of CN113343409B publication Critical patent/CN113343409B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F30/00Computer-aided design [CAD]
    • G06F30/20Design optimisation, verification or simulation
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/901Indexing; Data structures therefor; Storage structures
    • G06F16/9024Graphs; Linked lists
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/901Indexing; Data structures therefor; Storage structures
    • G06F16/9027Trees
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/904Browsing; Visualisation therefor
    • YGENERAL 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
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02PCLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
    • Y02P90/00Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
    • Y02P90/30Computing systems specially adapted for manufacturing

Abstract

A visual configuration method and a device based on virtual equipment are disclosed, wherein a target drawing is obtained by establishing a mapping relation between measuring point information and dynamic characteristics of a primitive, a mapping relation between the measuring point information and an icon, and a mapping relation between the virtual equipment and real equipment, the primitive and the icon in the target drawing are identified, measuring point information corresponding to the primitive and the icon in the target drawing is obtained based on the mapping relation between the measuring point information and the dynamic characteristics of the primitive and the mapping relation between the measuring point information and the icon, the virtual equipment corresponding to the measuring point information is obtained, a target virtual equipment name list is established, and a real equipment list corresponding to the target virtual equipment name list is obtained based on the corresponding relation between the virtual equipment and the real equipment; and measuring point values of each real device in the real device list are obtained and displayed, so that the usability of the configuration system is improved, and the implementation and later maintenance costs are reduced.

Description

Visual configuration method and device based on virtual equipment
Technical Field
The invention relates to the technical field of data, graph and chart visualization, in particular to a visual configuration method and device based on virtual equipment.
Background
The configuration is that the tool provided by the software is used for forming own works, and the works are saved in the data file without executing programs, so that the purpose of completing specific application without writing the programs is achieved. The configuration data can be identified only by the manufacturing tool or other special tools, and the interpretation engine of the configuration tool is displayed and operated in real time according to the configuration result.
The process flow of a production and manufacturing enterprise has complex characteristics of multivariable, strong coupling, serious interference, frequent working condition change and the like, so that the simulation of real equipment has great difficulty. The rapid development of informatization and automation also promotes the requirements and development of a simulation process experiment system.
Disclosure of Invention
In view of this, embodiments of the present invention provide a visual configuration method and apparatus based on a virtual device, so as to realize fast simulation of a real device.
In order to achieve the above purpose, the embodiments of the present invention provide the following technical solutions:
a visual configuration method based on virtual equipment comprises the following steps:
determining a target equipment model from the tree-shaped equipment model list according to the obtained user instruction;
constructing virtual equipment matched with the target equipment model;
constructing a virtual device list based on each virtual device;
establishing a mapping relation between the virtual equipment and the real equipment;
acquiring measuring point information of each virtual device based on the tree-shaped device model list;
establishing a mapping relation between the measuring point information and the dynamic characteristics of the graphic primitive based on a user operation instruction;
establishing a mapping relation between the measuring point information and the icon based on a user operation instruction;
acquiring a primitive and an icon in a target drawing, acquiring measuring point information corresponding to the primitive and the icon in the target drawing based on a mapping relation between the measuring point information and dynamic characteristics of the primitive and a mapping relation between the measuring point information and the icon, acquiring virtual equipment corresponding to the measuring point information, and establishing a name list of the target virtual equipment;
acquiring a real device list corresponding to the target virtual device name list based on the corresponding relation between the virtual device and the real device;
and acquiring and displaying the measuring point value of each real device in the real device list.
Optionally, in the visual configuration method based on the virtual device, before determining the target device model from the tree-shaped device model list according to the obtained user instruction, the method further includes:
creating an equipment model of a tree structure;
and acquiring and storing a tree-shaped equipment model list corresponding to the equipment model.
Optionally, in the visual configuration method based on a virtual device, the constructing a virtual device matched with the target device model includes:
extracting model parameters of the target equipment model;
acquiring a virtual equipment name which is input by a user and matched with the target equipment model;
and constructing virtual equipment based on the virtual equipment name and the model parameter corresponding to the target equipment model.
Optionally, in the visual configuration method based on a virtual device, the method further includes: model measurement point information on the icon is instantiated.
Optionally, in the visual configuration method based on the virtual device, the primitive is a graph or a text, and the dynamic characteristics of the primitive include: text properties, color changing properties, fill properties, blinking properties, visible properties, rotation properties, translation properties, scaling properties, and flow properties.
A visual configuration device based on virtual equipment comprises:
the virtual equipment construction unit is used for determining a target equipment model from the tree-shaped equipment model list according to the obtained user instruction; constructing virtual equipment matched with the target equipment model; constructing a virtual device list based on each virtual device;
the mapping relation establishing unit is used for establishing a mapping relation between the virtual equipment and the real equipment; acquiring measuring point information of each virtual device based on the tree-shaped device model list; establishing a mapping relation between the measuring point information and the dynamic characteristics of the graphic primitive based on a user operation instruction; establishing a mapping relation between the measuring point information and the icon based on a user operation instruction;
the target drawing identification unit is used for acquiring a primitive and an icon in a target drawing, acquiring measuring point information corresponding to the primitive and the icon in the target drawing based on a mapping relation between the measuring point information and dynamic characteristics of the primitive and a mapping relation between the measuring point information and the icon, acquiring virtual equipment corresponding to the measuring point information, and establishing a name list of the target virtual equipment;
a point measurement value extraction unit, configured to obtain, based on a correspondence between the virtual device and a real device, a real device list corresponding to the target virtual device name list; and acquiring and displaying the measuring point value of each real device in the real device list.
Optionally, in the visual configuration device based on a virtual device, before the virtual device constructing unit determines the target device model from the tree device model list according to the obtained user instruction, the method further includes:
creating an equipment model of a tree structure;
and acquiring and storing a tree-shaped equipment model list corresponding to the equipment model.
Optionally, in the visual configuration apparatus based on a virtual device, when the virtual device building unit builds a virtual device matched with the target device model, the virtual device building unit is specifically configured to:
extracting model parameters of the target equipment model;
acquiring a virtual equipment name which is input by a user and matched with the target equipment model;
and constructing virtual equipment based on the virtual equipment name and the model parameter corresponding to the target equipment model.
Optionally, the visual configuration device based on a virtual device further includes: and the instantiation unit is used for instantiating the model measuring point information on the icon.
Optionally, in the visual configuration apparatus based on a virtual device, the primitive is a graphic or a text, and the dynamic characteristics of the primitive include: text properties, color changing properties, fill properties, blinking properties, visible properties, rotation properties, translation properties, scaling properties, and flow properties.
Based on the technical scheme, the scheme provided by the embodiment of the invention includes that firstly, after a target drawing is obtained, a primitive and an icon in the target drawing are identified by establishing a mapping relation between measuring point information and dynamic characteristics of the primitive, a mapping relation between the measuring point information and the icon, and a mapping relation between virtual equipment and real equipment, measuring point information corresponding to the primitive and the icon in the target drawing is obtained based on the mapping relation between the measuring point information and the dynamic characteristics of the primitive and the mapping relation between the measuring point information and the icon, the virtual equipment corresponding to the measuring point information is obtained, a name list of the target virtual equipment is established, and the real equipment list corresponding to the name list of the target virtual equipment is obtained based on the corresponding relation between the virtual equipment and the real equipment; and acquiring and displaying the measuring point value of each real device in the real device list. On the premise of not influencing the operation mode of the conventional configuration system, the method and the device for configuring the virtual device control release the strong coupling between the virtual device control and the specific device, improve the usability, compatibility and intelligence of the configuration system, and reduce the implementation and later maintenance costs.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the provided drawings without creative efforts.
Fig. 1 is a schematic flowchart of a visual configuration method based on a virtual device according to an embodiment of the present disclosure;
fig. 2 is a schematic flowchart of a visualization configuration method based on virtual devices according to another embodiment of the present disclosure;
fig. 3 is a schematic structural diagram of a visualization configuration apparatus based on a virtual device according to an embodiment of the present disclosure.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
First, the technical terms used in the present application are explained,
primitive: i.e. graphics (circles, squares, triangles, diamonds, pentagons), text, pen tools are usually primitives. As generally shown in fig. 1.
The icon: a reusable vector complex primitive (shape) is rendered from the base primitive.
Drawing: the designed picture is configured by using various graphic elements (shapes), icons or picture resources.
Dynamic characteristics: the dynamic control or transformation is carried out on the graphic elements according to real-time data and preset conditions.
The dynamic characteristics supported so far are:
1. text properties
2. Color change characteristics
3. Filling characteristics
4. Scintillation property
5. Visual characteristics
6. Rotation characteristic
7. Characteristic of self-rotation
8. Translation characteristics
9. Scaling characteristics
10. Flow characteristics
For example, the text primitive a has a text characteristic, and can show the measured point real-time data on the text, and the delta primitive has a color change characteristic, and then the color change processing can be performed on the graphic frame of the delta primitive according to the real-time data and the preset condition. And the four-star graphics primitives have filling characteristics, so that the interiors of the four-star graphics primitives can be filled according to real-time data and preset conditions.
Defining a drawing equipment mode as virtual equipment, wherein the equipment mode is as follows: the method comprises real equipment and virtual equipment, and an equipment mode is defined as the virtual equipment in a drawing.
Virtual equipment: the abstract device model is a virtual device model based on the device model. The virtual device is specifically defined as follows:
{
name virtual device name
uri device model information linked with "/" compliance
BrowseName device model browse name
DisplayName device model display name
}
Wherein, the virtual device uri: defined as "/" + device model ItemPath + "/" + device model CategoryPath + "/" + device model Category + "/" + device model GUID.
Specifically, the visual configuration method based on the virtual device disclosed in the embodiment of the present application includes:
step S101: determining a target equipment model from the tree-shaped equipment model list according to the obtained user instruction;
the step may specifically include:
step S1011: creating an equipment model of a tree structure;
step S1012: acquiring a tree-shaped equipment model list corresponding to the equipment model;
specifically, the modeling is implemented by a modeling tool CCTool in steps S101 and S102, where the modeling tool CCTool can provide a function of creating an equipment model, the modeling tool CCTool can implement equipment model creation based on a modeling instruction when acquiring a modeling instruction of a user, and after the equipment model is successfully created, equipment model information corresponding to the equipment model is stored in a database, where the equipment model information is the tree-shaped equipment model list mentioned in step S102. Wherein, the equipment model created by the modeling tool CCtools is as follows: the device model information is of a tree structure, and the corresponding device model information is also of a tree structure. That is, there is a root node, there are several child nodes on the root node, and each child node nests several child nodes again.
Step S1013: determining a target equipment model from the tree-shaped equipment model list according to the obtained user instruction;
in this step, a model information capturing instruction input by a user captures a target device model from device model information stored in the database, and when the device model information is acquired, if the model information capturing instruction does not include a device model starting point (ItemPath, CategoryPath, Category) parameter, all device model information under a root node of a device model tree of the whole tree structure is returned. And if the model information capturing instruction contains the parameters of the starting point (ItemPath, CategoryPath, Category) of the equipment model, returning the equipment model information under the starting point (ItemPath, CategoryPath, Category) in the equipment model tree. Wherein: the starting point may be the root node or any device model point on the device model tree. The three parameters ItemPath, CategoryPath, Category can uniquely locate a device model point in a device model tree. The ItemPath is a device model path, starting from a root node to a start point device model path, in the following order: "splice, as the EQ _003 path, can be: TestHDBV4: Custom: Lib _001: Family _002: EQ _003, wherein Category is a device type, Category Path is a type of device from a root node to a starting point of a device model tree, and the following steps are performed: category Path, for example EQ — 003, is: "17:25:26:27:0".
In this scheme, the device model information may be understood as a tree list, and therefore the device model information returned based on the model information fetching instruction is in a nested mode, that is, under a root node, the device model information includes a node 1 … n, that is, a child list, and each node may be nested with the child list again, so as to be nested indefinitely.
Step S102: constructing virtual equipment matched with the target equipment model;
the step may specifically include:
step S1021: extracting model parameters of the target equipment model;
in this step, a device model (DeviceModel) object extracts model parameters of the target device model, and these model parameters may include, but are not limited to, ItemPath, CategoryPath, Category, GUID, displayName, browseName data, where ItemPath refers to a device model path. Starting from the root node to the device model point path, in ": and splicing. Category refers to the device type, Category path refers to the type from the root node to the device model, in ": and splicing. GUID refers to global uniform device ID, DisplayName refers to device model display name, and browse refers to device model view name.
Step S1022: acquiring a virtual equipment name which is input by a user and matched with the target equipment model;
in this step, each target device model is named based on a virtual device name input by a user, so as to obtain a virtual device name.
Step S1023: constructing a virtual device based on the virtual device name and the model parameter corresponding to the target device model;
in this step, a virtual device is constructed based on the extracted model parameters of each target device model and the virtual device name.
For example, if the virtual device name of a certain target device model input by the user is EQ _003_001, the structure of the virtual device is as follows:
Figure BDA0003020110950000071
step S103: constructing a virtual device list based on each virtual device;
in this step, when a virtual device list is constructed based on the constructed virtual devices, the virtual device list is constructed;
in other words, according to the scheme, a plurality of target equipment models are selected from the equipment model list to form a virtual equipment model, and then the virtual equipment list is formed by the plurality of virtual equipment models.
Step S104: establishing a mapping relation between real equipment and the virtual equipment;
step S105: acquiring measuring point information of each virtual device under the virtual device list based on the attribute device model list;
in this step, the tree-shaped device model list has the measurement point information of each virtual device, in this step, the measurement point information and configuration information of each virtual device in the virtual device list can be obtained through the virtual device list, and a measurement point refers to a point on the device where input and output acquisition can be performed, for example, an analog input measurement point, an analog input and output measurement point, a digital input measurement point, a digital output measurement point, and a text input and output measurement point of the device, in this scheme, the same virtual device can simultaneously support multiple measurement points: if the device can support AI measuring points, also support DI measuring points; it is also possible to support multiple stations of the same type simultaneously, for example two stations of AI type. Thus, under each device, there may be multiple stations. Taking the measurement point information and the configuration information as virtual device information corresponding to the virtual device, where the structure of the virtual device information may be shown in the following table:
Figure BDA0003020110950000081
Figure BDA0003020110950000091
in this scheme, a measurement point corresponding to a virtual device is a virtual measurement point, and the definition of the virtual measurement point is as follows: "$" + "virtual device name" + "," + "measure point name" + ":" + "measure point variable name" + ": "+" Point Property "
Wherein: "$": and defining a measuring point at the beginning of the '$' as a virtual equipment measuring point, which is called a virtual measuring point for short. "Point name": the browsing name of the device. And corresponding to the browse name in the device model in the virtual device, wherein the browse name is the browsing name of the device model. "Point variable name": in an industrial field, a plurality of indexes for measuring the measuring points exist at each measuring point, such as the alarm type, the alarm level, the storage period of a collecting point, a default value (PV) and the like of the measuring point, and the indexes are collectively called measuring point variables. Each measurement point variable has a corresponding name browse name, that is, a measurement point variable name. "Point attributes": and measuring point variable corresponding attributes.
Step S106: establishing a mapping relation between the measuring point information and the dynamic characteristics of the graphic primitive based on a user operation instruction;
in the scheme, the dynamic characteristics of the graphic primitive are associated with the measuring point information of the virtual equipment, and a mapping relation between the dynamic characteristics of the graphic primitive and the measuring point information is established, so that the measuring point information can be obtained according to the mapping relation on the basis of knowing the dynamic characteristics of the graphic primitive.
For example, a triangle [ color change characteristic ] is associated with the station information $ EQ _003_001 based on the following:
Figure BDA0003020110950000092
Figure BDA0003020110950000101
wherein dynamic represents dynamic characteristics, bordercorcontroditionjson: array list, [ preset conditions ] list. Multiple [ preset conditions ] may be supported simultaneously. In the examples: the representation takes a frame as a preset condition, namely setting the color change characteristic
The [ preset relation ] fields of the dynamic characteristics supported so far are defined as follows:
Figure BDA0003020110950000102
conditional expression of result
color when the condition is not satisfied
resultConditionJson: object, and the association relation between the preset conditions and the attribute of the measuring point is described in detail
logic: extension field, temporarily without specific meaning
objName: virtual device variable attributes
guid: globally uniform device ID
condition: conditions, here supported >, ═ <, |! A plurality of conditions such as >
result: [ preset condition ] reference value for participating in comparison.
The dynamic characteristics of the graphic elements can be associated with the measuring point information of the virtual equipment in the above manner, and after the association, the measuring point values of the measuring point information are monitored through preset conditions, so that when the measuring point values of the measuring point information of the virtual equipment change, the effect of the dynamic characteristics of the graphic elements changes accordingly. For example, as long as the virtual device endpoint value $ EQ _003_001.DI _001: PV: value. value is greater than 0, the color of the border of the primitive during drawing is green, otherwise, it is red. When the primitive is rendered, the virtual device endpoint value $ EQ _003_001.DI _001: PV: value. value is obtained first, then comparison size operation is carried out with 0, if the comparison size operation is larger than 0, green is drawn, and if the comparison size operation is not larger than 0, red is drawn.
Step S107: establishing a mapping relation between the measuring point information and the icon based on a user operation instruction;
the icon is composed of complex primitives, and in the step, the association between the icon and the measuring point information can be established on the basis that the association relationship between the primitive of the icon and each measuring point information is determined.
Furthermore, in the scheme, model measuring point information on the icon can be instantiated;
the model measuring point information on the icon is the measuring point information associated with the icon, and the virtual device can instantiate the measuring point on the icon completely because the virtual device is abstracted by the device model.
The instantiated standard: the device model corresponding to the model measurement point on the icon is equal to the device model of the abstract virtual device, that is: the device model GUID of the icon measuring point is the GUID of the virtual device URI.
Wherein: the device model of the model measuring points on the icon, i.e. the "father" of the measuring point information selected and associated by the icon, is because the measuring point information must be attached to a certain device model, and the device model provides input and output points, which are called measuring points. And the subordinate equipment models are the equipment models of the model measuring points.
Step S108: acquiring a primitive and an icon in a target drawing, acquiring measuring point information corresponding to the primitive and the icon in the target drawing based on a mapping relation between the measuring point information and dynamic characteristics of the primitive and a mapping relation between the measuring point information and the icon, acquiring virtual equipment corresponding to the measuring point information, and establishing a name list of the target virtual equipment;
step S109: acquiring a real device list corresponding to the target virtual device name list based on the corresponding relation between the virtual device and the real device;
step S110: and obtaining and displaying model point values of all equipment models in the real equipment list.
The visual configuration method based on the virtual device disclosed in the above embodiment of the present application can be seen in that a mapping relationship between measurement point information and dynamic characteristics of a primitive, a mapping relationship between the measurement point information and an icon, and a mapping relationship between the virtual device and a real device are established, after a target drawing is obtained, the primitive and the icon in the target drawing are identified, measurement point information corresponding to the primitive and the icon in the target drawing is obtained based on the mapping relationship between the measurement point information and the dynamic characteristics of the primitive and the mapping relationship between the measurement point information and the icon, the virtual device corresponding to the measurement point information is obtained, a name list of the target virtual device is established, and a real device list corresponding to the name list of the target virtual device is obtained based on the corresponding relationship between the virtual device and the real device; and acquiring and displaying the measuring point value of each real device in the real device list. On the premise of not influencing the operation mode of the conventional configuration system, the method and the device for configuring the virtual device control release the strong coupling between the virtual device control and the specific device, improve the usability, compatibility and intelligence of the configuration system, and reduce the implementation and later maintenance costs.
In this embodiment, corresponding to the method, the application also discloses a visual configuration device based on virtual equipment, and specific working contents of each unit of the device, please refer to the contents of the method embodiment
In the following, the visualization configuration apparatus based on virtual devices provided in the embodiments of the present invention is described, and the visualization configuration apparatus based on virtual devices described below and the method described above may be referred to correspondingly.
Referring to fig. 3, the apparatus may include:
the virtual device building unit 100 is configured to determine a target device model from the tree-shaped device model list according to the obtained user instruction; constructing virtual equipment matched with the target equipment model; constructing a virtual device list based on each virtual device;
a mapping relationship establishing unit 200, configured to establish a mapping relationship between the virtual device and the real device; acquiring measuring point information of each virtual device based on the tree-shaped device model list; establishing a mapping relation between the measuring point information and the dynamic characteristics of the graphic primitive based on a user operation instruction; establishing a mapping relation between the measuring point information and the icon based on a user operation instruction;
the target drawing identification unit 300 is configured to obtain a primitive and an icon in a target drawing, obtain measurement point information corresponding to the primitive and the icon in the target drawing based on a mapping relationship between the measurement point information and dynamic characteristics of the primitive and a mapping relationship between the measurement point information and the icon, obtain virtual equipment corresponding to the measurement point information, and establish a name list of the target virtual equipment;
a measurement point value extraction unit 400, configured to obtain a real device list corresponding to the target virtual device name list based on a correspondence between the virtual device and the real device; and acquiring and displaying the measuring point value of each real device in the real device list.
Corresponding to the method, in the visual configuration device based on virtual equipment, before the virtual equipment constructing unit determines the target equipment model from the tree-shaped equipment model list according to the obtained user instruction, the method further includes:
creating an equipment model of a tree structure;
and acquiring and storing a tree-shaped equipment model list corresponding to the equipment model.
Corresponding to the method, in the visual configuration device based on virtual devices, when the virtual device construction unit constructs a virtual device matched with the target device model, the virtual device construction unit is specifically configured to:
extracting model parameters of the target equipment model;
acquiring a virtual equipment name which is input by a user and matched with the target equipment model;
and constructing virtual equipment based on the virtual equipment name and the model parameter corresponding to the target equipment model.
Corresponding to the method, the visual configuration device based on virtual equipment further includes: and the instantiation unit is used for instantiating the model measuring point information on the icon.
Corresponding to the method, in the visual configuration apparatus based on virtual device, the primitive is a graphic or a text, and the dynamic characteristics of the primitive include: text properties, color change properties, fill properties, flicker properties, visibility properties, rotation properties, translation properties, zoom properties, and flow properties.
For convenience of description, the above system is described with the functions divided into various modules, which are described separately. Of course, the functionality of the various modules may be implemented in the same one or more software and/or hardware implementations of the invention.
The embodiments in the present specification are described in a progressive manner, and the same and similar parts among the embodiments are referred to each other, and each embodiment focuses on the differences from the other embodiments. In particular, the system or system embodiments are substantially similar to the method embodiments and therefore are described in a relatively simple manner, and reference may be made to some of the descriptions of the method embodiments for related points. The above-described system and system embodiments are only illustrative, wherein the units described as separate parts may or may not be physically separate, and the parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of the present embodiment. One of ordinary skill in the art can understand and implement it without inventive effort.
Those of skill would further appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware, computer software, or combinations of both, and that the various illustrative components and steps have been described above generally in terms of their functionality in order to clearly illustrate this interchangeability of hardware and software. 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 invention.
The steps of a method or algorithm described in connection with the embodiments disclosed herein may be embodied directly in hardware, in a software module executed by a processor, or in a combination of the two. A software module may reside in Random Access Memory (RAM), memory, Read Only Memory (ROM), electrically programmable ROM, electrically erasable programmable ROM, registers, hard disk, a removable disk, a CD-ROM, or any other form of storage medium known in the art.
It is further noted that, herein, relational terms such as first and second, and the like may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other identical elements in a process, method, article, or apparatus that comprises the element.
The previous description of the disclosed embodiments is provided to enable any person skilled in the art to make or use the present invention. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the generic principles defined herein may be applied to other embodiments without departing from the spirit or scope of the invention. Thus, the present invention is not intended to be limited to the embodiments shown herein but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.

Claims (10)

1. A visual configuration method based on virtual equipment is characterized by comprising the following steps:
determining a target equipment model from the tree-shaped equipment model list according to the obtained user instruction;
constructing virtual equipment matched with the target equipment model;
constructing a virtual device list based on each virtual device;
establishing a mapping relation between the virtual equipment and the real equipment;
acquiring measuring point information of each virtual device based on the tree-shaped device model list;
establishing a mapping relation between the measuring point information and the dynamic characteristics of the graphic primitive based on a user operation instruction;
establishing a mapping relation between the measuring point information and the icon based on a user operation instruction;
acquiring a primitive and an icon in a target drawing, acquiring measuring point information corresponding to the primitive and the icon in the target drawing based on a mapping relation between the measuring point information and dynamic characteristics of the primitive and a mapping relation between the measuring point information and the icon, acquiring virtual equipment corresponding to the measuring point information, and establishing a name list of the target virtual equipment;
acquiring a real device list corresponding to the target virtual device name list based on the corresponding relation between the virtual device and the real device;
and acquiring and displaying the measuring point value of each real device in the real device list.
2. The visual configuration method based on virtual devices according to claim 1, wherein before determining the target device model from the tree-shaped device model list according to the obtained user instruction, the method further comprises:
creating an equipment model of a tree structure;
and acquiring and storing a tree-shaped equipment model list corresponding to the equipment model.
3. The virtual device-based visual configuration method of claim 1, wherein the constructing the virtual device matching the target device model comprises:
extracting model parameters of the target equipment model;
acquiring a virtual equipment name which is input by a user and matched with the target equipment model;
and constructing virtual equipment based on the virtual equipment name and the model parameter corresponding to the target equipment model.
4. The virtual machine-based visual configuration method of claim 1, further comprising: model measurement point information on the instantiation icon.
5. The virtual machine-based visual configuration method of claim 1, wherein the primitive is graphics or text, and the dynamic characteristics of the primitive include: text properties, color changing properties, fill properties, blinking properties, visible properties, rotation properties, translation properties, scaling properties, and flow properties.
6. A visual configuration device based on virtual equipment, comprising:
the virtual equipment construction unit is used for determining a target equipment model from the tree-shaped equipment model list according to the obtained user instruction; constructing virtual equipment matched with the target equipment model; constructing a virtual device list based on each virtual device;
the mapping relation establishing unit is used for establishing a mapping relation between the virtual equipment and the real equipment; acquiring measuring point information of each virtual device based on the tree-shaped device model list; establishing a mapping relation between the measuring point information and the dynamic characteristics of the graphic primitive based on a user operation instruction; establishing a mapping relation between the measuring point information and the icon based on a user operation instruction;
the target drawing identification unit is used for acquiring a primitive and an icon in a target drawing, acquiring measuring point information corresponding to the primitive and the icon in the target drawing based on a mapping relation between the measuring point information and dynamic characteristics of the primitive and a mapping relation between the measuring point information and the icon, acquiring virtual equipment corresponding to the measuring point information, and establishing a name list of the target virtual equipment;
a point measurement value extraction unit, configured to obtain, based on a correspondence between the virtual device and a real device, a real device list corresponding to the target virtual device name list; and acquiring and displaying the measuring point value of each real device in the real device list.
7. The visual configuration apparatus based on virtual devices according to claim 6, wherein the virtual device building unit, before determining the target device model from the tree device model list according to the obtained user instruction, further comprises:
creating an equipment model of a tree structure;
and acquiring and storing a tree-shaped equipment model list corresponding to the equipment model.
8. The virtual device-based visualization configuration apparatus according to claim 6, wherein the virtual device constructing unit, when constructing the virtual device matching the target device model, is specifically configured to:
extracting model parameters of the target equipment model;
acquiring a virtual equipment name which is input by a user and matched with the target equipment model;
and constructing virtual equipment based on the virtual equipment name and the model parameter corresponding to the target equipment model.
9. The virtual machine based visualization configuration apparatus of claim 6, further comprising: and the instantiation unit is used for instantiating the model measuring point information on the icon.
10. The virtual machine-based visualization configuration apparatus of claim 6, wherein the primitive is graphics or text, and the dynamic characteristics of the primitive comprise: text properties, color changing properties, fill properties, blinking properties, visible properties, rotation properties, translation properties, scaling properties, and flow properties.
CN202110400170.9A 2021-04-14 2021-04-14 Visual configuration method and device based on virtual equipment Active CN113343409B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110400170.9A CN113343409B (en) 2021-04-14 2021-04-14 Visual configuration method and device based on virtual equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110400170.9A CN113343409B (en) 2021-04-14 2021-04-14 Visual configuration method and device based on virtual equipment

Publications (2)

Publication Number Publication Date
CN113343409A CN113343409A (en) 2021-09-03
CN113343409B true CN113343409B (en) 2022-05-17

Family

ID=77468057

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110400170.9A Active CN113343409B (en) 2021-04-14 2021-04-14 Visual configuration method and device based on virtual equipment

Country Status (1)

Country Link
CN (1) CN113343409B (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103336710A (en) * 2013-06-26 2013-10-02 安科智慧城市技术(中国)有限公司 Method and system for constructing virtual equipment widget
CN108847979A (en) * 2018-06-21 2018-11-20 北京和利时智能技术有限公司 A kind of adaptive configuration system and method based on SCADA
WO2019076233A1 (en) * 2017-10-17 2019-04-25 广东工业大学 Quick customization design method and system for intelligent workshop
CN111447103A (en) * 2020-03-09 2020-07-24 杭州海康威视系统技术有限公司 Virtual device management system, electronic device, virtual device management method, and medium
CN111783184A (en) * 2020-06-10 2020-10-16 东风设计研究院有限公司 Virtual configuration system and method

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
GB2449593A (en) * 2006-03-17 2008-11-26 Fujitsu Ltd Network design processing device, network design processing method and network design processing program

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103336710A (en) * 2013-06-26 2013-10-02 安科智慧城市技术(中国)有限公司 Method and system for constructing virtual equipment widget
WO2019076233A1 (en) * 2017-10-17 2019-04-25 广东工业大学 Quick customization design method and system for intelligent workshop
CN108847979A (en) * 2018-06-21 2018-11-20 北京和利时智能技术有限公司 A kind of adaptive configuration system and method based on SCADA
CN111447103A (en) * 2020-03-09 2020-07-24 杭州海康威视系统技术有限公司 Virtual device management system, electronic device, virtual device management method, and medium
CN111783184A (en) * 2020-06-10 2020-10-16 东风设计研究院有限公司 Virtual configuration system and method

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
基于PLC与组态软件的虚拟设备开发;张广红 等;《设计与研究》;20091231;29-32 *
基于智能组件的虚拟场景建模;张全贵等;《北京工业大学学报》;20110715(第07期);13-17 *

Also Published As

Publication number Publication date
CN113343409A (en) 2021-09-03

Similar Documents

Publication Publication Date Title
CN101504746B (en) Information processing apparatus, information processing method
JP5513071B2 (en) Information processing apparatus, information processing method, and program
US7761802B2 (en) Expanding and collapsing components in a measurement system diagram
CN110795148A (en) Method and device for generating layout file and electronic equipment
CN108597032B (en) Method and system for importing building information model into Unity3D for display
JP7264989B2 (en) Visualization method, device and recording medium for multi-source earth observation image processing
CN113538706B (en) Digital sand table-based house scene display method, device, equipment and storage medium
CN115081414B (en) Spreadsheet generation method, device, equipment and medium based on data model
CN115438396A (en) Package design method and device
CN106444427A (en) Configuration-based physical object display method
CN110647610B (en) Construction method and device of power system visualization platform
CN106846431B (en) Unified Web graph drawing system supporting multiple expression forms
WO2018076946A1 (en) Method and system for displaying physical object based on configuration, and computer program and storage medium
CN108153572A (en) GIS display methods, device and system
CN109858059B (en) Application method of virtual reality technology based on CAD (computer-aided design) super-large model in hydropower station simulation
US20040032413A1 (en) Multiple views for a measurement system diagram
CN113343409B (en) Visual configuration method and device based on virtual equipment
US20040034496A1 (en) Displaying functionality of a hardware device in a measurement system
KR102282284B1 (en) Method, apparatus, device, and storage medium for providing visual representation of set of objects
CN115311429B (en) Revit-based data export method and system
CN115981625A (en) Extensible power system wiring diagram interface modeling method and system
CN115827809A (en) Method and device for generating Geographic Information System (GIS) application
CN115935104A (en) Digital twinning construction method driven by fusion of geometric model and data model
CN114820968A (en) Three-dimensional visualization method and device, robot, electronic device and storage medium
CN114048110A (en) Method for realizing customized visual topological graph based on Antv

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
CP01 Change in the name or title of a patent holder
CP01 Change in the name or title of a patent holder

Address after: 5-7, No.38, building 7, East District, Ningbo new material innovation center, Ningbo hi tech Zone, 315000, Zhejiang Province

Patentee after: Hollysys Kauber Technology Co.,Ltd.

Address before: 5-7, No.38, building 7, East District, Ningbo new material innovation center, Ningbo hi tech Zone, 315000, Zhejiang Province

Patentee before: NINGBO HELISHI INTELLIGENT TECHNOLOGY Co.,Ltd.