CN117170316A - Mapping method and device for equipment numbers and data points, electronic equipment and medium - Google Patents

Mapping method and device for equipment numbers and data points, electronic equipment and medium Download PDF

Info

Publication number
CN117170316A
CN117170316A CN202210589960.0A CN202210589960A CN117170316A CN 117170316 A CN117170316 A CN 117170316A CN 202210589960 A CN202210589960 A CN 202210589960A CN 117170316 A CN117170316 A CN 117170316A
Authority
CN
China
Prior art keywords
equipment
dcs
numbers
information
bit number
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.)
Pending
Application number
CN202210589960.0A
Other languages
Chinese (zh)
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.)
China Petroleum and Chemical Corp
Sinopec Engineering Inc
Zhejiang Supcon Technology Co Ltd
Original Assignee
China Petroleum and Chemical Corp
Sinopec Engineering Inc
Zhejiang Supcon 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 China Petroleum and Chemical Corp, Sinopec Engineering Inc, Zhejiang Supcon Technology Co Ltd filed Critical China Petroleum and Chemical Corp
Priority to CN202210589960.0A priority Critical patent/CN117170316A/en
Publication of CN117170316A publication Critical patent/CN117170316A/en
Pending legal-status Critical Current

Links

Classifications

    • 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/02Total factory control, e.g. smart factories, flexible manufacturing systems [FMS] or integrated manufacturing systems [IMS]

Landscapes

  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

The application discloses a mapping method and device for equipment numbers and data points, electronic equipment and a medium. The method may include: numbering the actual equipment to obtain an equipment number; establishing and storing an association relation between equipment numbers and DCS bit numbers, and acquiring equipment information; determining the number of the target equipment, and further calling the association relationship to determine the corresponding DCS bit number; and displaying the corresponding data information according to the DCS bit number. The application takes the collection of DCS bit numbers corresponding to all data points on one device as device information by establishing the association relation between the device numbers and the DCS bit numbers, and directly acquires the information of all data points related to the device from the DCS according to the device information.

Description

Mapping method and device for equipment numbers and data points, electronic equipment and medium
Technical Field
The application relates to the field of control systems DCS, in particular to a mapping method and device of equipment numbers and data points, electronic equipment and media.
Background
At present, a big core of a digital factory is to realize visualization of a production flow, and real-time data during production is shown in a virtual three-dimensional factory model to be one scheme. In most factories for realizing automatic production control, DCS is used for production control and management, a first acquirer of real-time data during production is DCS, the real-time data collected by DCS corresponds to data on input and output points of field devices, such as current, voltage, liquid level, pressure and the like, and usually, a plurality of data points are collected on one field device. The virtual three-dimensional factory model system uses field devices as basic units to display the whole production process. The two are not well connected.
Therefore, it is necessary to develop a mapping method, apparatus, electronic device and medium for device number and data point.
The information disclosed in the background section of the application is only for enhancement of understanding of the general background of the application and should not be taken as an acknowledgement or any form of suggestion that this information forms the prior art already known to a person skilled in the art.
Disclosure of Invention
The application provides a mapping method, a mapping device, electronic equipment and a medium for equipment numbers and data points, which can directly acquire information of all data points related to equipment from DCS according to the equipment information by establishing an association relation between the equipment numbers and the DCS bit numbers and taking a set of the DCS bit numbers corresponding to all the data points on one piece of equipment as the equipment information.
In a first aspect, an embodiment of the present disclosure provides a mapping method of a device number and a data point, including:
numbering the actual equipment to obtain an equipment number;
establishing and storing an association relation between the equipment number and the DCS bit number, and acquiring equipment information;
determining the number of the target equipment, and further calling the association relation to determine the corresponding DCS bit number;
and displaying corresponding data information according to the DCS bit number.
Preferably, establishing the association relationship between the equipment number and the DCS bit number includes:
sorting data points corresponding to the equipment according to the equipment numbers;
sorting DCS bit number information according to the DCS configuration;
and the data points are in one-to-one correspondence with the DCS bit number information, and the association relation between the equipment numbers and the DCS bit numbers is established.
Preferably, the device information is a set of DCS bit numbers corresponding to all data points contained by the device.
Preferably, storing the association relation includes:
and storing the association relation between the equipment number and the DCS bit number into a configuration file, and importing DCS configuration software.
Preferably, determining the number of the target device, and further invoking the association relationship to determine the corresponding DCS bit number includes:
and determining the serial number of the target equipment, and further determining the DCS bit number corresponding to the data point of the equipment according to the association relation.
Preferably, the data information includes real-time value, unit, alarm state.
As a specific implementation of an embodiment of the present disclosure,
in a second aspect, an embodiment of the present disclosure further provides a mapping apparatus for device numbers and data points, including:
the numbering module is used for numbering the actual equipment to obtain the equipment number;
the association module establishes and stores the association relation between the equipment number and the DCS bit number to acquire equipment information;
the calling module is used for determining the number of the target equipment and then calling the corresponding DCS bit number determined by the association relation;
and the display module displays the corresponding data information according to the DCS bit number.
Preferably, establishing the association relationship between the equipment number and the DCS bit number includes:
sorting data points corresponding to the equipment according to the equipment numbers;
sorting DCS bit number information according to the DCS configuration;
and the data points are in one-to-one correspondence with the DCS bit number information, and the association relation between the equipment numbers and the DCS bit numbers is established.
Preferably, the device information is a set of DCS bit numbers corresponding to all data points contained by the device.
Preferably, storing the association relation includes:
and storing the association relation between the equipment number and the DCS bit number into a configuration file, and importing DCS configuration software.
Preferably, determining the number of the target device, and further invoking the association relationship to determine the corresponding DCS bit number includes:
and determining the serial number of the target equipment, and further determining the DCS bit number corresponding to the data point of the equipment according to the association relation.
Preferably, the data information includes real-time value, unit, alarm state.
In a third aspect, embodiments of the present disclosure further provide an electronic device, including:
a memory storing executable instructions;
and the processor runs the executable instructions in the memory to realize the mapping method of the equipment numbers and the data points.
In a fourth aspect, the disclosed embodiments also provide a computer readable storage medium storing a computer program that when executed by a processor implements the device number and data point mapping method.
The beneficial effects are that: according to the application, through establishing the association relation between the equipment and the bit numbers, the equipment information is provided in a multi-bit number information collection form, so that the linkage combination of the DCS system and the third-party virtual three-dimensional factory model is realized, and the three-dimensional model picture of the factory can be directly displayed in the monitoring picture of the DCS system; when specific information of data points in certain equipment is checked on a three-dimensional model picture of a factory, instrument panels or associated flowcharts of all the position numbers under the equipment in the DCS monitoring system can be directly opened. The information of the equipment number is introduced into the DCS engineering configuration in a mode of introducing configuration files, so that disturbance to a mature DCS software system is small, and engineering implementation efficiency is high. When the third party system requests data information, only the equipment number is needed, and other information is not needed, so that the DCS can be connected with various third party systems, and the adaptation range is wide. The bit number information provided by the DCS is not only limited to the bit number name, the real-time value, the unit, the alarm state and the like, but also other necessary information can be added according to the requirements of a third party system, and the expandability is strong. .
The method and apparatus of the present application have other features and advantages which will be apparent from or are set forth in detail in the accompanying drawings and the following detailed description, which are incorporated herein, and which together serve to explain certain principles of the present application.
Drawings
The foregoing and other objects, features and advantages of the application will be apparent from the following more particular descriptions of exemplary embodiments of the application as illustrated in the accompanying drawings wherein like reference numbers generally represent like parts throughout the exemplary embodiments of the application.
FIG. 1 shows a flow chart of steps of a method of mapping device numbers to data points, according to one embodiment of the application.
FIG. 2 shows a schematic diagram of a configuration file according to one embodiment of the application.
FIG. 3 illustrates a flow diagram of a three-dimensional plant model system obtaining plant data point information to a DCS in accordance with one embodiment of the present application.
Fig. 4 shows a block diagram of a device number to data point mapping apparatus according to one embodiment of the application.
Reference numerals illustrate:
201. numbering module; 202. an association module; 203. a calling module; 204. and a display module.
Detailed Description
Preferred embodiments of the present application will be described in more detail below. While the preferred embodiments of the present application are described below, it should be understood that the present application may be embodied in various forms and should not be limited to the embodiments set forth herein.
In order to facilitate understanding of the solution and the effects of the embodiments of the present application, four specific application examples are given below. It will be understood by those of ordinary skill in the art that the examples are for ease of understanding only and that any particular details thereof are not intended to limit the present application in any way.
Example 1
Fig. 1 shows a flow chart of the steps of a method of mapping device numbers to data points according to the present application.
As shown in fig. 1, the mapping method of the device number and the data point includes: step 101, numbering actual equipment to obtain equipment numbers; step 102, establishing and storing an association relation between equipment numbers and DCS bit numbers, and acquiring equipment information; step 103, determining the number of the target equipment, and further calling the association relationship to determine the corresponding DCS bit number; and 104, displaying the corresponding data information according to the DCS bit number.
In one example, establishing the association of the device number with the DCS bit number includes:
sorting data points corresponding to the equipment according to the equipment numbers;
sorting DCS bit number information according to the DCS configuration;
and (3) corresponding the data points to the DCS bit number information one by one, and establishing an association relation between the equipment number and the DCS bit number.
In one example, the device information is a set of DCS bit numbers corresponding to all data points contained by the device.
In one example, saving the association relationship includes:
and storing the association relation between the equipment number and the DCS bit number into a configuration file, and importing DCS configuration software.
In one example, determining the target device number, and thereby invoking the association to determine the corresponding DCS bit number, includes:
and determining the number of the target equipment, and further determining the DCS bit number corresponding to the data point of the equipment according to the association relation.
In one example, the data information includes real-time values, units, alarm states.
Specifically, the actual equipment is numbered, the equipment number is obtained, and the information of the industrial control field equipment and the data points is processed. The number information of the equipment, the data points under the equipment and the like are arranged according to the industrial control field engineering design data; and according to the DCS configuration, the DCS bit number information is arranged, the bit number names in the DCS are corresponding to specific data points in the field device, the association relation between the device numbers and the DCS bit numbers is established, the device information is obtained, and the device information is a set of the DCS bit numbers corresponding to all the data points contained in the device.
FIG. 2 shows a schematic diagram of a configuration file according to one embodiment of the application.
Establishing a configuration file, and recording the corresponding relation between the equipment number and the DCS bit number, wherein the content is in the following form:
DeviceNo_00001Tagname_00001_1
DeviceNo_00002Tagname_00002_1
in the same row, the device number is in front of the space, and the DCS bit number name is behind the space. Taking the CSV file format as an example, the content of the configuration file is shown in fig. 2: the first row is a header row, the first column is marked as a device number, the second column is marked as a DCS bit number, the second row starts as specific content, one row is one-to-one written form, one device number and one bit number are adopted, the same device number can correspond to a plurality of bit number names, namely the same device number can appear in a plurality of rows, and if the device DeviceNo_00001 corresponds to 3 bit numbers: tagnae_00001_1, tagnae_00001_2, and Tagnae_00001_3.
And importing configuration files into DCS configuration software, analyzing configuration file information by the configuration software, and storing the corresponding relation between the equipment number and the DCS bit number in engineering configuration information.
After the corresponding relation between the equipment number and the bit number is arranged in the DCS engineering configuration information, the DCS monitoring software can provide data point information of specific equipment for a third party system based on the information in the operation period.
The data point information is packed by taking the equipment number as an index in the operation period, a third party system sends a request for acquiring real-time data information to the DCS, and the sent request content is a specific equipment number, such as: deviceno_00001. After receiving a data request, according to the association relation between the stored equipment numbers and the bit numbers in the configuration, the bit numbers corresponding to the appointed equipment numbers are found out, and information of the appointed bit numbers is collected, and the method comprises the following steps: bit number name, bit number description, bit number alarm state, real-time value of bit number, unit of bit number, etc.; after the bit number information is collected, the information is packaged back to the third party system.
FIG. 3 illustrates a flow diagram of a three-dimensional plant model system obtaining plant data point information to a DCS in accordance with one embodiment of the present application.
Taking the example that the third party system is a virtual three-dimensional factory model, the DCS monitoring system picture sends a request for opening the three-dimensional factory model to a factory three-dimensional model server, and the sending content is a device number of DeviceNo_00001; and after the three-dimensional server returns, opening a webpage window in the DCS monitoring system picture to display a three-dimensional model picture.
After the DCS monitoring software receives the data request, the operation of jumping the three-dimensional picture is carried out on the picture of the DCS monitoring system by taking the equipment number DeviceNo_00001 as an index, at the moment, the DCS monitoring system sends a positioning message to the three-dimensional model server, after the processing of the three-dimensional model server, the picture of the appointed equipment is displayed in a concentrated mode in the opened three-dimensional model picture in the DCS monitoring picture, and the bit number names of all bit numbers associated with the equipment number DeviceNo_00001 are searched in engineering configuration information. After retrieving all the bit number names, the DCS monitoring software internally counts specific information of the bit number, such as: bit number name, bit number real-time value, bit number unit, bit number alarm state, etc.
After the three-dimensional model system obtains the equipment information from the DCS system, real-time values, alarm states, description information and the like of data points on the equipment can be displayed on a three-dimensional picture, and the method specifically comprises the following steps: the requested device number: deviceno_00001; a plurality of bit numbers associated with a device number: tagnae_00001_1, tagnae_00001_2, tagnae_00001_3; information for each bit number: bit number name, bit number description, bit number real-time value, bit number unit, bit number alarm state.
When the equipment is selected to jump to the instrument panel and the flow chart on the three-dimensional picture, the three-dimensional model system sends a request to the DCS system, and after the DCS monitoring system receives the request, the instrument panel and the associated flow chart of all the position numbers under the equipment are opened.
Example 2
Fig. 3 shows a block diagram of a device number to data point mapping apparatus according to one embodiment of the application.
As shown in fig. 3, the mapping apparatus for device number and data point includes:
the numbering module is used for numbering the actual equipment to obtain the equipment number;
the association module establishes and stores the association relation between the equipment number and the DCS bit number to acquire the equipment information;
the calling module is used for determining the number of the target equipment, and then calling the corresponding DCS bit number determined by the association relation;
and the display module displays the corresponding data information according to the DCS bit number.
In one example, establishing the association of the device number with the DCS bit number includes:
sorting data points corresponding to the equipment according to the equipment numbers;
sorting DCS bit number information according to the DCS configuration;
and (3) corresponding the data points to the DCS bit number information one by one, and establishing an association relation between the equipment number and the DCS bit number.
In one example, the device information is a set of DCS bit numbers corresponding to all data points contained by the device.
In one example, saving the association relationship includes:
and storing the association relation between the equipment number and the DCS bit number into a configuration file, and importing DCS configuration software.
In one example, determining the target device number, and thereby invoking the association to determine the corresponding DCS bit number, includes:
and determining the number of the target equipment, and further determining the DCS bit number corresponding to the data point of the equipment according to the association relation.
In one example, the data information includes real-time values, units, alarm states.
Example 3
The present disclosure provides an electronic device including: a memory storing executable instructions; and the processor runs the executable instructions in the memory to realize the mapping method of the equipment numbers and the data points.
An electronic device according to an embodiment of the present disclosure includes a memory and a processor.
The memory is for storing non-transitory computer readable instructions. In particular, the memory may include one or more computer program products, which may include various forms of computer-readable storage media, such as volatile memory and/or non-volatile memory. The volatile memory may include, for example, random Access Memory (RAM) and/or cache memory (cache), and the like. The non-volatile memory may include, for example, read Only Memory (ROM), hard disk, flash memory, and the like.
The processor may be a Central Processing Unit (CPU) or other form of processing unit having data processing and/or instruction execution capabilities, and may control other components in the electronic device to perform the desired functions. In one embodiment of the present disclosure, the processor is configured to execute the computer readable instructions stored in the memory.
It should be understood by those skilled in the art that, in order to solve the technical problem of how to obtain a good user experience effect, the present embodiment may also include well-known structures such as a communication bus, an interface, and the like, and these well-known structures are also included in the protection scope of the present disclosure.
The detailed description of the present embodiment may refer to the corresponding description in the foregoing embodiments, and will not be repeated herein.
Example 4
Embodiments of the present disclosure provide a computer readable storage medium storing a computer program which, when executed by a processor, implements the device number and data point mapping method.
A computer-readable storage medium according to an embodiment of the present disclosure has stored thereon non-transitory computer-readable instructions. When executed by a processor, perform all or part of the steps of the methods of embodiments of the present disclosure described above.
The computer-readable storage medium described above includes, but is not limited to: optical storage media (e.g., CD-ROM and DVD), magneto-optical storage media (e.g., MO), magnetic storage media (e.g., magnetic tape or removable hard disk), media with built-in rewritable non-volatile memory (e.g., memory card), and media with built-in ROM (e.g., ROM cartridge).
It will be appreciated by persons skilled in the art that the above description of embodiments of the application has been given for the purpose of illustrating the benefits of embodiments of the application only and is not intended to limit embodiments of the application to any examples given.
The foregoing description of embodiments of the application has been presented for purposes of illustration and description, and is not intended to be exhaustive or limited to the embodiments disclosed. Many modifications and variations will be apparent to those of ordinary skill in the art without departing from the scope and spirit of the various embodiments described.

Claims (10)

1. A method for mapping device numbers to data points, comprising:
numbering the actual equipment to obtain an equipment number;
establishing and storing an association relation between the equipment number and the DCS bit number, and acquiring equipment information;
determining the number of the target equipment, and further calling the association relation to determine the corresponding DCS bit number;
and displaying corresponding data information according to the DCS bit number.
2. The mapping method of the equipment number and the data point according to claim 1, wherein establishing the association relationship between the equipment number and the DCS bit number comprises:
sorting data points corresponding to the equipment according to the equipment numbers;
sorting DCS bit number information according to the DCS configuration;
and the data points are in one-to-one correspondence with the DCS bit number information, and the association relation between the equipment numbers and the DCS bit numbers is established.
3. The mapping method of device number and data point according to claim 2, wherein the device information is a set of DCS bit numbers corresponding to all data points contained in the device.
4. The method of mapping a device number to a data point of claim 2, wherein maintaining the association comprises:
and storing the association relation between the equipment number and the DCS bit number into a configuration file, and importing DCS configuration software.
5. The mapping method of device numbers and data points according to claim 2, wherein determining a target device number, and further invoking the association relationship to determine a corresponding DCS bit number comprises:
and determining the serial number of the target equipment, and further determining the DCS bit number corresponding to the data point of the equipment according to the association relation.
6. The method of mapping device numbers to data points according to claim 1, wherein the data information includes real time values, units, alarm states.
7. A device number and data point mapping apparatus, comprising:
the numbering module is used for numbering the actual equipment to obtain the equipment number;
the association module establishes and stores the association relation between the equipment number and the DCS bit number;
the calling module determines the number of the target equipment according to the fed back equipment information, and then calls the association relation to determine the corresponding DCS bit number;
and the display module displays the corresponding data information according to the DCS bit number.
8. The apparatus for mapping a device number to a data point according to claim 7, wherein the device information is a set of DCS bit numbers corresponding to all data points contained in the device.
9. An electronic device, the electronic device comprising:
a memory storing executable instructions;
a processor executing the executable instructions in the memory to implement the device number and data point mapping method of any of claims 1-6.
10. A computer readable storage medium, characterized in that the computer readable storage medium stores a computer program which, when executed by a processor, implements the mapping method of device numbers and data points of any of claims 1-6.
CN202210589960.0A 2022-05-27 2022-05-27 Mapping method and device for equipment numbers and data points, electronic equipment and medium Pending CN117170316A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210589960.0A CN117170316A (en) 2022-05-27 2022-05-27 Mapping method and device for equipment numbers and data points, electronic equipment and medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210589960.0A CN117170316A (en) 2022-05-27 2022-05-27 Mapping method and device for equipment numbers and data points, electronic equipment and medium

Publications (1)

Publication Number Publication Date
CN117170316A true CN117170316A (en) 2023-12-05

Family

ID=88932333

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210589960.0A Pending CN117170316A (en) 2022-05-27 2022-05-27 Mapping method and device for equipment numbers and data points, electronic equipment and medium

Country Status (1)

Country Link
CN (1) CN117170316A (en)

Similar Documents

Publication Publication Date Title
JP6888019B2 (en) Memory access command transfer descriptor
US20130086501A1 (en) Visualizing related events within a timeline
CN104317618B (en) A kind of firmware partition treating method and apparatus
CN112199007A (en) Menu display method and device, electronic equipment and storage medium
CN112580812A (en) Model training method, inventory safety early warning method, device, equipment and medium
CN111949905A (en) Rendering method and device for popup window of tree component
CN112989151A (en) Data blood relationship display method and device, electronic equipment and storage medium
CN110597644B (en) Data stream transmission method, transmission device, electronic equipment and storage medium
CN110019974B (en) Chart drill-down implementation method and device
CN111444447A (en) Content recommendation page display method and device
CN117170316A (en) Mapping method and device for equipment numbers and data points, electronic equipment and medium
CN116451842A (en) Method and intelligent platform for predicting crop yield and growth period time
CN113064895A (en) Incremental updating method, device and system for map
CN109308204B (en) Chart generation method and device for responding to window clicking
CN113177036A (en) Storage method, query method and display method of monitoring data
CN110958435A (en) Digital production monitoring system
CN109388385A (en) Method and apparatus for application and development
CN111596979B (en) Sequence data pixel visualization self-adaptive visual mapping adjustment method and system
CN113741410B (en) Distributed control system debugging data refreshing method and system
JP2022078060A (en) Labeling capability information determination method, associated apparatus, electronic device, computer readable storage medium, and computer program
CN116820901A (en) Method and system for visualizing embedded histogram based on pointer popup window
CN116107587A (en) Buried point method, device, equipment and medium applied to page
CN115145985A (en) Visual display method, device and equipment based on multi-type vehicle data
CN115758024A (en) Data state processing method and system and electronic equipment
CN116341597A (en) Information input method, device and equipment

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