CN110058879B - Rapid configuration method for intelligent terminal - Google Patents
Rapid configuration method for intelligent terminal Download PDFInfo
- Publication number
- CN110058879B CN110058879B CN201910275087.6A CN201910275087A CN110058879B CN 110058879 B CN110058879 B CN 110058879B CN 201910275087 A CN201910275087 A CN 201910275087A CN 110058879 B CN110058879 B CN 110058879B
- Authority
- CN
- China
- Prior art keywords
- equipment
- type
- remote
- parameter
- intelligent terminal
- 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
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F8/00—Arrangements for software engineering
- G06F8/70—Software maintenance or management
- G06F8/71—Version control; Configuration management
Landscapes
- Engineering & Computer Science (AREA)
- Software Systems (AREA)
- General Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Computer Security & Cryptography (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Communication Control (AREA)
- Selective Calling Equipment (AREA)
Abstract
A method for rapidly configuring an intelligent terminal. The method comprises the steps of automatically scanning on-line equipment to obtain equipment feature codes, identifying the type of the scanned equipment by comparing the equipment feature codes defined in a model library, then obtaining a corresponding parameter model from a parameter library by equipment type numbers, deriving equipment types, remote signaling, remote regulation, remote measurement and remote control reports, transmitting the reports to an edge intelligent terminal in a CSV format file, and automatically completing channel definition, protocol definition, field equipment topology configuration and four remote functions as input parameters of an edge intelligent terminal configuration software interface. The automatic configuration method has the advantages of reducing the workload of configuration personnel, improving the working efficiency and improving the working quality.
Description
Technical Field
The invention relates to the field of intelligent power distribution, in particular to a method for rapidly configuring an intelligent terminal at an intelligent power distribution edge.
Background
The traditional intelligent power distribution cabinet monitoring technology in the low-voltage power industry is gradually perfected, and as the number of field access devices is increased, device specifications and networks are more complex, and field configuration workload is complex and difficult. People have higher and higher requirements on the intellectualization of the low-voltage power distribution cabinet, users hope to have a more intelligent and efficient configuration method, the investment of manpower, material resources and financial resources of monitoring software can be reduced, and the solution scheme of the common functional requirements of the power distribution cabinet monitoring can be met.
Disclosure of Invention
In order to solve the problems that the prior configuration technology needs manual configuration by configuration personnel and the workload is complex and difficult in the background technology, the invention provides an intelligent terminal rapid configuration method capable of automatically completing the matching of field devices and software models and enabling configuration software to automatically complete configuration.
The technical scheme adopted for solving the technical problems is as follows: the intelligent terminal rapid configuration method is characterized by comprising the following steps of:
step 1) a parameter model is created in a device parameter model library in advance, wherein the parameter model comprises a device type parameter and a four-remote parameter, the device type parameter comprises a device type number and a device feature code, and the four-remote parameter comprises a device type number and a register index;
step 2) loading the equipment type parameters and the four remote parameters into a memory bank, and arranging according to the equipment type number sequence;
step 3) traversing all parameter models in the repository by taking the equipment type number as an index, reading equipment feature codes of the parameter models, returning the equipment feature codes of the field equipment, marking the equipment feature codes as online equipment if the equipment feature codes of the equipment feature codes are consistent, adding the parameter model corresponding to the equipment feature codes into an online repository, and exporting an online repository result as a CSV format file;
step 4) reading data in corresponding registers according to the register index of the online equipment in the repository and exporting the data into a CSV file;
and 5) importing the CSV file into the intelligent terminal, and analyzing the imported CSV file by configuration software of the intelligent terminal to complete the functions of channel definition, protocol definition, field device topology configuration and four remote control.
The memory library is addressed and accessed by adopting a hash method, the hash function of the equipment type parameter is H (key 1) =key 1, the hash function of the four remote parameters is H (key 2, devId) =DevId_MEMNUM+key 2, wherein DevId is the equipment type number, max_MEMNUM is the maximum equipment four remote parameter number, key1 is the equipment type number, and key2 is the register index.
The CSV file device comprises a device scanning report, a telemetry scanning report, a remote signaling scanning report, a remote regulation scanning report and a remote control scanning report, and is provided for the intelligent terminal in a network sharing or file sharing mode.
The equipment scanning report comprises information such as a recipe scheme, an equipment address, an equipment name, an equipment type, a protocol type, communication parameters, a counter name, a counter type, a counter number and the like, and configuration software determines the topology position of a configuration interface and determines the configuration of a field equipment acquisition channel through the equipment scanning report.
The telemetry scan report includes a device address, a protocol number, a variable name, a channel type, a read-write type, a register address, a data type.
The remote signaling scanning report comprises a device address, a protocol number, a variable name, a channel type, a read-write type, a register address and a data type.
The remote scanning report comprises a device address, a protocol number, a variable name, a channel type, a read-write type, a register address and a data type.
The remote control scanning report comprises a device address, a protocol number, a variable name, a channel type, a remote control closing command parameter, a remote control opening command parameter and a remote control tripping command parameter.
The device parameter model library, the memory library and the online library adopt a lightweight database SQLITE to create database relations, and adopt a shared memory mode to establish dynamic memory management.
The beneficial effects of the invention are as follows: according to the intelligent terminal rapid configuration method provided by the invention, the field device is automatically matched with the parameter model in the database through the device feature code, the data corresponding to the parameter model is read in the memory bank according to the index number, and is exported to be a CSV file to be shared for configuration software to automatically complete the configuration and telemetry, remote signaling, remote regulation and remote control functions, so that manual configuration of configuration personnel is not required, the workload is reduced, and the working efficiency and the working quality are improved.
Drawings
FIG. 1 is a flow chart of an embodiment of the present invention.
FIG. 2 is a device scan interface according to an embodiment of the present invention.
FIG. 3 shows telemetry, remote control, and remote control scanning information according to an embodiment of the present invention.
Fig. 4 is a device scan report of an embodiment of the present invention.
FIG. 5 is a telemetry scan report of an embodiment of the present invention.
FIG. 6 is a remote scanning report according to an embodiment of the present invention.
FIG. 7 is a remote scan report of an embodiment of the present invention.
Fig. 8 and 9 are schematic views of front and rear interfaces, respectively, according to an embodiment of the present invention.
Detailed Description
Embodiments of the invention are further described below with reference to the accompanying drawings:
in an embodiment of the present invention, as shown in fig. 1, a method for quickly configuring an intelligent terminal includes the steps of: step 1), a parameter model is created in a device parameter model library in advance, wherein the parameter model comprises a device type parameter, a telemetry parameter, a remote signaling parameter, a remote regulation parameter, a remote control parameter and the like, the device type parameter comprises a device type number, a device feature code and the like, and the four-remote parameter comprises a device type number, a register index and the like;
step 2) loading equipment type parameters and four remote parameters into registers in a memory bank, and arranging according to the equipment type number sequence;
step 3) traversing all parameter models in the repository by taking the equipment type number as an index, reading equipment feature codes of the parameter models, returning the equipment feature codes of the field equipment, marking the equipment feature codes as online equipment if the equipment feature codes of the equipment feature codes are consistent, adding the parameter model corresponding to the equipment feature codes into an online repository, and exporting an online repository result as a CSV format file;
as shown in fig. 2, after the device feature codes are matched, the successfully matched online device is displayed in the scanning result of the interface, so that the configuration personnel can directly obtain the information corresponding to the field device without manual configuration.
Step 4) reading data in corresponding registers according to the register index of the online equipment in the repository and exporting the data into a CSV file;
as shown in fig. 3, after the parameter model corresponding to the field device is added to the online library, the remote measurement, remote adjustment and remote control information of the corresponding device are read through the scanning of the memory library.
And 5) importing the CSV file into the intelligent terminal, and analyzing the imported CSV file by configuration software of the intelligent terminal to complete the functions of channel definition, protocol definition, field device topology configuration and four remote control.
As shown in fig. 4, 5, 6 and 7, which are examples of the exported CSV file, after the CSV file is imported into the edge intelligent terminal, the configuration software can analyze the data information of the CSV file to perform automatic configuration and data matching.
After the configuration is completed, as shown in fig. 9, a cabinet diagram consistent with the configuration of the field power distribution cabinet is automatically generated in the interface.
The memory library is addressed and accessed by adopting a hash method, the hash function of the equipment type parameter is H (key 1) =key 1, the hash function of the four remote parameters is H (key 2, devId) =DevId_MEMNUM+key 2, wherein DevId is the equipment type number, max_MEMNUM is the maximum equipment four remote parameter number, key1 is the equipment type number, and key2 is the register index. All numbers increment from 0 plus 1, and device types, registers, and device information can be quickly indexed from the repository by numbers.
The intelligent device on site is equipped with 485/network/other communication modules to complete communication, and the object-oriented or interface-oriented device CAN select specific drive types such as 485/232, TCP, CAN, 2G, 4G and the like through configuration. Different device specification types may be selected depending on the device type, different specification objects may be created and numbered depending on the device type, such as 112 for the modbus specification, 113 for the 645 specification, etc. And when the communication command is issued, different numbering protocol objects are dynamically selected to carry out protocol communication.
The CSV file device comprises a device scanning report, a telemetry scanning report, a remote signaling scanning report, a remote regulation scanning report and a remote control scanning report, which are provided for the intelligent terminal in a network sharing or file sharing mode.
The equipment scanning report comprises information such as a recipe scheme, an equipment address, an equipment name, an equipment type, a protocol type, communication parameters, a counter name, a counter type, a counter number and the like, and configuration software determines the topology position of a configuration interface and determines the configuration of a field equipment acquisition channel through the equipment scanning report.
The remote measuring scanning report, the remote signaling scanning report and the remote adjusting scanning report comprise equipment addresses, protocol numbers, variable names, channel types, read-write types, register addresses and data types.
The remote control scanning report comprises a device address, a protocol number, a variable name, a channel type, a remote control closing command parameter, a remote control opening command parameter and a remote control tripping command parameter.
The device parameter model library, the memory library and the online library adopt a lightweight database SQLITE to create database relations, and adopt a shared memory mode to establish dynamic memory management.
The software exports the scanning report and then provides the scanning report for the configuration equipment in a network sharing or file sharing mode, and the configuration equipment analyzes the related file information to realize automatic software configuration.
The software adopts a lightweight database SQLITE to create a database relation, and establishes dynamic memory management in a shared memory mode, so that a user can dynamically increase the types of devices, increase the number of scanned devices and define four-remote parameter information of the devices.
The skilled person will know: while the invention has been described in terms of the foregoing embodiments, the inventive concepts are not limited to the invention, and any modifications that use the inventive concepts are intended to be within the scope of the appended claims.
Claims (8)
1. The intelligent terminal rapid configuration method is characterized by comprising the following steps of:
step 1) a parameter model is created in a device parameter model library in advance, wherein the parameter model comprises a device type parameter and a four-remote parameter, the device type parameter comprises a device type number and a device feature code, and the four-remote parameter comprises a device type number and a register index;
step 2) loading the equipment type parameters and the four remote parameters into a memory bank, and arranging according to the equipment type number sequence;
step 3) traversing all parameter models in the repository by taking the equipment type number as an index, reading equipment feature codes of the parameter models, returning the equipment feature codes of the field equipment, if the equipment feature codes of the equipment type number and the equipment feature codes of the field equipment are consistent, marking the equipment as online equipment, adding the parameter model corresponding to the equipment feature code into an online repository, and exporting a result of the online repository as a CSV file;
step 4) reading data in corresponding registers according to the register index of the online equipment in the repository and exporting the data into a CSV file;
step 5) importing the CSV file into the intelligent terminal, and analyzing the imported CSV file by configuration software of the intelligent terminal to complete the functions of channel definition, protocol definition, field device topology configuration and four remote functions;
the memory library is addressed and accessed by adopting a hash method, the hash function of the equipment type parameter is H (key 1) =key 1, the hash function of the four remote parameters is H (key 2, devId) =DevId_MEMNUM+key 2, wherein DevId is the equipment type number, max_MEMNUM is the maximum equipment four remote parameter number, key1 is the equipment type number, and key2 is the register index.
2. The method for rapidly configuring an intelligent terminal according to claim 1, wherein: the CSV file is provided for intelligent terminal equipment in a network sharing or file sharing mode, and comprises an equipment scanning report, a telemetry scanning report, a remote signaling scanning report, a remote regulation scanning report and a remote control scanning report.
3. The intelligent terminal rapid configuration method according to claim 2, wherein: the equipment scanning report comprises recipe scheme, equipment address, equipment name, equipment type, protocol type, communication parameters, counter name, counter type and number information in the counter, and configuration software realizes the determination of the topology position of the configuration interface and the determination of the acquisition channel configuration of the field equipment through the equipment scanning report.
4. The intelligent terminal rapid configuration method according to claim 2, wherein: the telemetry scan report includes a device address, a protocol number, a variable name, a channel type, a read-write type, a register address, a data type.
5. The intelligent terminal rapid configuration method according to claim 2, wherein: the remote signaling scanning report comprises a device address, a protocol number, a variable name, a channel type, a read-write type, a register address and a data type.
6. The intelligent terminal rapid configuration method according to claim 2, wherein: the remote scanning report comprises a device address, a protocol number, a variable name, a channel type, a read-write type, a register address and a data type.
7. The intelligent terminal rapid configuration method according to claim 2, wherein: the remote control scanning report comprises a device address, a protocol number, a variable name, a channel type, a remote control closing command parameter, a remote control opening command parameter and a remote control tripping command parameter.
8. The method for rapidly configuring an intelligent terminal according to claim 1, wherein: the device parameter model library, the memory library and the online library adopt a lightweight database SQLITE to create database relations, and adopt a shared memory mode to establish dynamic memory management.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910275087.6A CN110058879B (en) | 2019-04-08 | 2019-04-08 | Rapid configuration method for intelligent terminal |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910275087.6A CN110058879B (en) | 2019-04-08 | 2019-04-08 | Rapid configuration method for intelligent terminal |
Publications (2)
Publication Number | Publication Date |
---|---|
CN110058879A CN110058879A (en) | 2019-07-26 |
CN110058879B true CN110058879B (en) | 2023-06-09 |
Family
ID=67318524
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910275087.6A Active CN110058879B (en) | 2019-04-08 | 2019-04-08 | Rapid configuration method for intelligent terminal |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN110058879B (en) |
Families Citing this family (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111781890A (en) * | 2020-07-14 | 2020-10-16 | 厦门海为科技有限公司 | Multi-equipment engineering communication method and system in configuration engineering |
CN113986338B (en) * | 2021-12-28 | 2022-04-15 | 深圳市明源云科技有限公司 | Project package scanning method, system, equipment and computer readable storage medium |
CN114826896A (en) * | 2022-03-14 | 2022-07-29 | 国电南瑞南京控制系统有限公司 | Self-adaptive interaction method and system for configuration modules in modular power distribution terminal |
Citations (14)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102663094A (en) * | 2012-04-10 | 2012-09-12 | 国电南瑞科技股份有限公司 | IEC61970CIM model checking method |
CN102999367A (en) * | 2012-12-14 | 2013-03-27 | 北京四方继保自动化股份有限公司 | Method for rapidly initializing client communication of IEC61850 intelligent device |
CN103064707A (en) * | 2012-12-25 | 2013-04-24 | 广州杰赛科技股份有限公司 | Method and system for configuring parameters of intelligent terminal |
CN103905231A (en) * | 2012-12-26 | 2014-07-02 | 南京中兴力维软件有限公司 | Method and device for unified management of device types |
CN104636261A (en) * | 2013-11-07 | 2015-05-20 | 中国空间技术研究院 | Main test processor and dynamic remote control command management method thereof |
CN104809535A (en) * | 2014-01-28 | 2015-07-29 | 中国移动通信集团福建有限公司 | Power operation and maintenance integrated management method, device and system based on configurable presentation |
CN105141030A (en) * | 2015-07-24 | 2015-12-09 | 国家电网公司 | Communication management system for static var compensator (SVC) |
CN105305619A (en) * | 2015-10-20 | 2016-02-03 | 珠海许继芝电网自动化有限公司 | Method and device for three-remote configuration based on distribution automation |
CN105515189A (en) * | 2015-12-10 | 2016-04-20 | 国家电网公司 | Integrated intelligent gateway machine configuration method based on unified modeling of transformer station |
CN105938360A (en) * | 2016-07-14 | 2016-09-14 | 深圳市旗众智能自动化有限公司 | Distributed automatic control system and control method thereof and configuration device |
CN106095376A (en) * | 2016-06-30 | 2016-11-09 | 广东雅达电子股份有限公司 | A kind of implementation method of quick configuration monitoring picture |
CN107910085A (en) * | 2017-10-30 | 2018-04-13 | 福建福清核电有限公司 | A kind of DCS configuration datas intelligent analysis adjustment method |
CN108847979A (en) * | 2018-06-21 | 2018-11-20 | 北京和利时智能技术有限公司 | A kind of adaptive configuration system and method based on SCADA |
EP3407567A1 (en) * | 2017-05-26 | 2018-11-28 | ABB Schweiz AG | Application deployment in industrial internet of things |
Family Cites Families (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US7099753B2 (en) * | 2004-04-27 | 2006-08-29 | The Boeing Company | Automatic generation of telemetry flight software, accompanying specifications, and decode files |
US9424209B2 (en) * | 2013-09-19 | 2016-08-23 | Intel Corporation | Dynamic heterogeneous hashing functions in ranges of system memory addressing space |
US10795593B2 (en) * | 2018-09-10 | 2020-10-06 | Intel Corporation | Technologies for adjusting the performance of data storage devices based on telemetry data |
-
2019
- 2019-04-08 CN CN201910275087.6A patent/CN110058879B/en active Active
Patent Citations (14)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102663094A (en) * | 2012-04-10 | 2012-09-12 | 国电南瑞科技股份有限公司 | IEC61970CIM model checking method |
CN102999367A (en) * | 2012-12-14 | 2013-03-27 | 北京四方继保自动化股份有限公司 | Method for rapidly initializing client communication of IEC61850 intelligent device |
CN103064707A (en) * | 2012-12-25 | 2013-04-24 | 广州杰赛科技股份有限公司 | Method and system for configuring parameters of intelligent terminal |
CN103905231A (en) * | 2012-12-26 | 2014-07-02 | 南京中兴力维软件有限公司 | Method and device for unified management of device types |
CN104636261A (en) * | 2013-11-07 | 2015-05-20 | 中国空间技术研究院 | Main test processor and dynamic remote control command management method thereof |
CN104809535A (en) * | 2014-01-28 | 2015-07-29 | 中国移动通信集团福建有限公司 | Power operation and maintenance integrated management method, device and system based on configurable presentation |
CN105141030A (en) * | 2015-07-24 | 2015-12-09 | 国家电网公司 | Communication management system for static var compensator (SVC) |
CN105305619A (en) * | 2015-10-20 | 2016-02-03 | 珠海许继芝电网自动化有限公司 | Method and device for three-remote configuration based on distribution automation |
CN105515189A (en) * | 2015-12-10 | 2016-04-20 | 国家电网公司 | Integrated intelligent gateway machine configuration method based on unified modeling of transformer station |
CN106095376A (en) * | 2016-06-30 | 2016-11-09 | 广东雅达电子股份有限公司 | A kind of implementation method of quick configuration monitoring picture |
CN105938360A (en) * | 2016-07-14 | 2016-09-14 | 深圳市旗众智能自动化有限公司 | Distributed automatic control system and control method thereof and configuration device |
EP3407567A1 (en) * | 2017-05-26 | 2018-11-28 | ABB Schweiz AG | Application deployment in industrial internet of things |
CN107910085A (en) * | 2017-10-30 | 2018-04-13 | 福建福清核电有限公司 | A kind of DCS configuration datas intelligent analysis adjustment method |
CN108847979A (en) * | 2018-06-21 | 2018-11-20 | 北京和利时智能技术有限公司 | A kind of adaptive configuration system and method based on SCADA |
Non-Patent Citations (3)
Title |
---|
一种通信网关机遥控组态智能比对系统的研究与实现;彭熹等;《湖南电力》;20180625(第03期);全文 * |
基于组态软件的配电网监控系统的研究;王彦文等;《煤矿机电》;20141212(第06期);全文 * |
新型DCS组态软件实时数据库研究和开发;丁伟等;《可编程控制器与工厂自动化》;20081215(第12期);全文 * |
Also Published As
Publication number | Publication date |
---|---|
CN110058879A (en) | 2019-07-26 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN110058879B (en) | Rapid configuration method for intelligent terminal | |
CN104793076A (en) | Intelligent automatic test system and method | |
CN110008226A (en) | Construction method, device, computer equipment and the storage medium of data model | |
CN102043981A (en) | Public real-time attendance management system and method | |
CN104468277A (en) | Consistency testing method and device for transformer substation network and communication protocol | |
CN106407078B (en) | Client performance monitoring device and method based on information exchange | |
CN106597901B (en) | Distributed Integration managing power consumption and analysis method and system based on cloud service | |
CN108959633A (en) | It is a kind of that the method and apparatus of customer service are provided | |
CN110769032B (en) | System and method for rapidly detecting and maintaining power grid equipment fault | |
CN110489407A (en) | Data filling mining method, apparatus, computer equipment and storage medium | |
CN106255082B (en) | A kind of recognition methods and system of refuse messages | |
CN110474794A (en) | A kind of information conversion method and system of SDN framework | |
CN109241065B (en) | Intelligent substation cable operation information identification system and identification method thereof | |
CN113890830A (en) | IEC104 main station simulation system | |
CN108009740A (en) | A kind of intelligent fine identifying system of essence spice for cigarette and method | |
CN108920377A (en) | A kind of log playback test method, system, device and readable storage medium storing program for executing | |
CN108111578A (en) | The method of distribution terminal data acquisition platform access terminal equipment based on NIO | |
CN107505073A (en) | Portable intelligent torsional test system and testing process | |
CN104216986B (en) | The device and method of pre-operation raising efficiency data query is carried out with the data update cycle | |
CN111443615A (en) | Electric equipment control system, method and equipment | |
CN204143504U (en) | Wireless attendance system | |
CN114285719B (en) | Policy method and system for intensively identifying different types of network equipment in multi-IDC environment | |
CN115664005A (en) | Rapid communication point establishing method and system based on new energy electrical equipment model | |
CN113204592B (en) | Data processing method, system and device in Internet of things scene and storage medium | |
CN108682056A (en) | A kind of roll calling system and roll-call method |
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 |