CN104320415B - A kind of substation equipment kinematic insert formula specification analytic method - Google Patents

A kind of substation equipment kinematic insert formula specification analytic method Download PDF

Info

Publication number
CN104320415B
CN104320415B CN201410638711.1A CN201410638711A CN104320415B CN 104320415 B CN104320415 B CN 104320415B CN 201410638711 A CN201410638711 A CN 201410638711A CN 104320415 B CN104320415 B CN 104320415B
Authority
CN
China
Prior art keywords
parsing
class
equipment
message
plug
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
CN201410638711.1A
Other languages
Chinese (zh)
Other versions
CN104320415A (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.)
State Grid Corp of China SGCC
State Grid Jiangsu Electric Power Co Ltd
Jiangsu Fangtian Power Technology Co Ltd
Changzhou Power Supply Co of Jiangsu Electric Power Co
Maintenance Branch of State Grid Jiangsu Electric Power Co Ltd
Original Assignee
State Grid Corp of China SGCC
State Grid Jiangsu Electric Power Co Ltd
Jiangsu Fangtian Power Technology Co Ltd
Changzhou Power Supply Co of Jiangsu Electric Power Co
Maintenance Branch of State Grid Jiangsu Electric Power 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 State Grid Corp of China SGCC, State Grid Jiangsu Electric Power Co Ltd, Jiangsu Fangtian Power Technology Co Ltd, Changzhou Power Supply Co of Jiangsu Electric Power Co, Maintenance Branch of State Grid Jiangsu Electric Power Co Ltd filed Critical State Grid Corp of China SGCC
Priority to CN201410638711.1A priority Critical patent/CN104320415B/en
Publication of CN104320415A publication Critical patent/CN104320415A/en
Application granted granted Critical
Publication of CN104320415B publication Critical patent/CN104320415B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L69/00Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
    • H04L69/22Parsing or analysis of headers
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/56Provisioning of proxy services
    • H04L67/562Brokering proxy services

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer Security & Cryptography (AREA)
  • Remote Monitoring And Control Of Power-Distribution Networks (AREA)
  • Supply And Distribution Of Alternating Current (AREA)

Abstract

The invention discloses a kind of kinematic insert formula specification analytic methods comprising(1)Initialization step, the configuration initialization of measuring point coefficient, the initialization of specification transmitting order to lower levels;(2)Commands steps pending;(3)Authentication of message step;(4)Packet parsing step:(5)Obtain device address step.The present invention supports to solve the problems, such as that new equipment is online in the case where not modifying acquisition framing program by increasing plug-in card program relevant to equipment specification, realize " plug and play " truly.Dynamic type specification analytic technique is will to develop to be divided into two parts, and a part is " application platform ", and another part is Function Extension or complementary module, as kinematic insert.Card i/f is realized that application platform is only responsible for calling and using by plug-in unit completely.Card i/f is the one-way communication of " application platform " to plug-in unit direction, and the function that platform calls plug-in unit to be realized by card i/f carries out specification parsing.

Description

A kind of substation equipment kinematic insert formula specification analytic method
Technical field
The present invention relates to a kind of substation equipment data acquisition parsing mode, and in particular to be a kind of substation equipment Kinematic insert formula specification analytic method.
Background technique
Substation equipment is many kinds of, and the rule schemata that every kind of different equipment uses also is not quite similar, and of the same race sets There is also difference between standby different editions, it is difficult to solve the problems, such as using unified processing mode all, original mode uses XML The mode of configuration, heavy workload, workflow is cumbersome, is not suitable in large batch of substation maintenance work of standing.
Summary of the invention
To solve the deficiency in the prior art, it is an object of the present invention to provide a kind of substation equipment kinematic insert formula specification solutions Analysis method, to solve the difference problem between this distinct device, and can be quick, the easy online acquisition of realization equipment.
To achieve the above object, technical scheme is as follows:
A kind of method of substation equipment kinematic insert formula specification parsing, which is characterized in that it includes following steps:
(1)Initialization step:Initialize the context of relevant configuration;Its method is as follows:
(11)The configuration of measuring point coefficient initializes, and test coefficient data is loaded into memory;
(12)The initialization of specification transmitting order to lower levels is loaded into memory transmitting order to lower levels relevant to specification;And it needs Incoming parameter, is placed in Map, is matched when needing according to Key;
(2)Commands steps pending:When acquisition be non-response formula order when, need incoming command name, that is, can return to one to It says the word;
When if it is response formula order, when incoming command, need to be passed to the information for the message that an order generates again, with Which kind of order analysis generates;
(3)Authentication of message step:The frame check of original message, row frame check when to the message received are verified passing through Message composition correctly packet send to relative program parsing;
(4)Packet parsing step:It is parsed according to incoming correct message packet and measuring point information, the correlation in message Caller is returned to after measuring point data assembling corresponding with required measuring point;
(5)Obtain device address step:The address information of this equipment is obtained in messages.
The beneficial effects obtained by the present invention are as follows:
The present invention solves distinct device type, different specification numbers by establishing a kind of kinematic insert formula specification analytic technique The problem of according to parsing, under the premise of not modifying original acquisition platform program, for new equipment is increased, new specification is only needed Interface parsed according to the plug-in unit of definition and realize a set of analytic method, be associated with new equipment, when deploying new equipment, with base Plinth data issue acquisition platform together, have simplified specification configuration flow significantly, can adapt to quickly upper station and require, significantly Shorten the station time.
Detailed description of the invention
Fig. 1 is that the application of acquisition platform and kinematic insert formula specification parse interaction figure.
Specific embodiment
To be easy to understand the technical means, the creative features, the aims and the efficiencies achieved by the present invention, below with reference to Specific embodiment, the present invention is further explained.
It is a kind of method that substation equipment kinematic insert formula specification parses that the present invention, which provides, is for flexibly solving to become Power station equipment acquires the parsing of data, can be configured under the premise of not having to modify any acquisition platform code by foreground program After be issued to corresponding position, can be solved data acquisition parsing work.
Referring to Fig. 1, acquisition framing program is not being modified in a kind of kinematic insert formula specification analytic method of the present embodiment, support In the case where, it solves the problems, such as that new equipment is online by increasing plug-in card program relevant to equipment specification, realizes real meaning On " plug and play ".Dynamic type specification analytic technique is will to develop to be divided into two parts, and a part is " application platform ", another portion It is divided into Function Extension or complementary module, as kinematic insert.Card i/f is realized that application platform is only responsible for calling by plug-in unit completely With use.Card i/f is the one-way communication of " application platform " to plug-in unit direction, and platform calls plug-in unit institute real by card i/f Existing function carries out specification parsing.Kinematic insert formula specification parsing includes following module:
1) initialization module:Initialize the context of relevant configuration.The configuration of measuring point coefficient initializes, test coefficient number According to being loaded into memory;The initialization of specification transmitting order to lower levels is loaded into memory transmitting order to lower levels relevant to specification;And it needs The parameter to be passed to, is placed in Map, is matched when needing according to Key.
2) command module pending:When acquisition is non-response formula order, incoming command name is needed(Function code)It can return to One, wait say the word, when if it is response formula order, when incoming command, needs to be passed to the letter for the message that an order generates again Which kind of order breath should generate with analysis.
3) authentication of message (group packet) module:The frame check of original message, since com port data are possible to lose and different It is fixed once to transfer, row frame check when to the message received is needed, the correct packet of message composition by verifying to correlation Program parsing.
4) packet parsing module:It is parsed according to incoming correct message and measuring point information, the correlative measurement in message Caller is returned to after point data assembling corresponding with required measuring point.
5) device address module is obtained:The address information of this equipment is obtained in messages.
In the present embodiment, the generation embodiment of above-mentioned specification is as follows:
(1)Define the interface class of specification parsing.
(2)Specification analysing interface is realized according to specific specification, generates new specification parsing class.
(3)The class of specification parsing is realized in compiling, is uploaded to main website by tool and is deposited into database.
(4)Command Line Parsing class is associated with relevant device, and storage relevant configuration relationship enters database;Specification is called to parse class Issue service.
(5)It issues and successfully saves record of issuing the documents afterwards, record specification file is issued to the information of substation equipment.
(6)Intelligent terminal starting specification parsing class issues service.
(7)Receive equipment specification parsing class, storage file to specified folder.
In addition, if specification has modification, it is as follows that specification updates embodiment after generating specification:
A) it is required according to modification, judges whether specification file has been issued to intelligent terminal.
If b) do not issued, specification parsing class is updated;If issued, a newly-built specification parses class to locate Reason, can not cover original file.
C) class of compiling specification parsing is uploaded to main website more new database specification by tool and parses dependency number in class table According to.
D) updating the parsing class state in data table related is more new state;Specification is called to parse class more new demand servicing.
E) it issues and successfully saves record of issuing the documents afterwards, record specification file is issued to the information of substation equipment.
F) the more new demand servicing of intelligent terminal starting specification parsing class;Stop equipment acquisition relevant to specification parsing class to appoint Business.
G) it saves new specification and parses class, specified folder is arrived in storage;Restart equipment acquisition relevant to the specification Task.
Based on above-mentioned, the present invention solves distinct device type, no by establishing a kind of kinematic insert formula specification analytic technique The problem of with conventions data parsing, under the premise of not modifying original acquisition platform program, for the new equipment of increase, new rule About, it is only necessary to interface be parsed according to the plug-in unit of definition and realize a set of analytic method, be associated with new equipment, deploying new equipment When, acquisition platform is issued together with basic data, has simplified specification configuration flow significantly, be can adapt to quick upper station and is wanted It asks, substantially reduces the station time.
The above shows and describes the basic principles and main features of the present invention and the advantages of the present invention.The technology of the industry Personnel are it should be appreciated that the present invention is not limited to the above embodiments, and the above embodiments and description only describe this The principle of invention, without departing from the spirit and scope of the present invention, various changes and improvements may be made to the invention, these changes Change and improvement all fall within the protetion scope of the claimed invention.The claimed scope of the invention by appended claims and its Equivalent thereof.

Claims (2)

1. a kind of substation equipment kinematic insert formula specification analytic method, which is characterized in that it includes following steps:
(1)Initialization step:Initialize the context of relevant configuration;Its method is as follows:
(11)The configuration of measuring point coefficient initializes, and test coefficient data is loaded into memory;
(12)The initialization of specification transmitting order to lower levels is loaded into memory transmitting order to lower levels relevant to specification;And it needs incoming Parameter, be placed in Map, matched when needing according to Key;
(2)Commands steps pending:When acquisition is non-response formula order, incoming command name is needed, that is, can return to a life pending It enables;
When if it is response formula order, when incoming command, need to be passed to the information for the message that an order generates again, with analysis Which kind of order generated;
(3)Authentication of message step:The frame check of original message, row frame check when to the message received, the report by verifying Correctly packet sends relative program parsing to text composition;
(4)Packet parsing step:It is parsed according to incoming correct message packet and measuring point information, the related measuring point in message Caller is returned to after data assembling corresponding with required measuring point;
(5)Obtain device address step:The address information of this equipment is obtained in messages;
The generating mode of the specification is as follows:
a)Define the interface class of specification parsing;
B) specification analysing interface is realized according to specific specification, generates new specification parsing class;
C) class of specification parsing is realized in compiling, is uploaded to main website by tool and is deposited into database;
D) Command Line Parsing class and relevant device are associated with, and storage relevant configuration relationship enters database;Specification parsing class is called to issue Service;
E) it issues and successfully saves record of issuing the documents afterwards, record specification file is issued to the information of substation equipment;
F) intelligent terminal starting specification parsing class issues service;
G) equipment specification parsing class, storage file to specified folder are received.
2. a kind of substation equipment kinematic insert formula specification analytic method according to claim 1, which is characterized in that above-mentioned The update implementation method of specification is as follows:
(One)It is required according to modification, judges whether specification file has been issued to intelligent terminal;
If do not issued, specification parsing class is updated;If issued, newly-built specification parsing class is handled, can not Cover original file;
(Two)The class for compiling specification parsing is uploaded to main website more new database specification by tool and parses related data in class table;
(Three)Updating the parsing class state in data table related is more new state;Specification is called to parse class more new demand servicing;
(Four)It issues and successfully saves record of issuing the documents afterwards, record specification file is issued to the information of substation equipment;
(Five)Intelligent terminal starts the more new demand servicing of specification parsing class;Stop equipment relevant to specification parsing class to acquire;
(Six)New specification parsing class is saved, specified folder is arrived in storage;Equipment acquisition relevant to the specification is restarted to appoint Business.
CN201410638711.1A 2014-11-13 2014-11-13 A kind of substation equipment kinematic insert formula specification analytic method Active CN104320415B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410638711.1A CN104320415B (en) 2014-11-13 2014-11-13 A kind of substation equipment kinematic insert formula specification analytic method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410638711.1A CN104320415B (en) 2014-11-13 2014-11-13 A kind of substation equipment kinematic insert formula specification analytic method

Publications (2)

Publication Number Publication Date
CN104320415A CN104320415A (en) 2015-01-28
CN104320415B true CN104320415B (en) 2018-11-20

Family

ID=52375585

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410638711.1A Active CN104320415B (en) 2014-11-13 2014-11-13 A kind of substation equipment kinematic insert formula specification analytic method

Country Status (1)

Country Link
CN (1) CN104320415B (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109597652B (en) * 2018-10-31 2021-10-08 青岛益和电气集团股份有限公司 Protocol analysis method, system, computer readable storage medium and communication manager
CN111343063B (en) * 2020-01-21 2021-11-30 珠海瑞捷电气股份有限公司 Communication processing system and method based on Modbus communication protocol
CN111404902B (en) * 2020-03-08 2022-05-10 苏州浪潮智能科技有限公司 Method and device for realizing serial communication message matching based on database
CN116346949B (en) * 2023-05-29 2023-10-03 瞳见科技有限公司 Method, system and device for constructing protocol conversion rule chain

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101902457A (en) * 2010-02-23 2010-12-01 上海宝信软件股份有限公司 System for configuring external communication protocol and method thereof
CN102333031A (en) * 2011-09-07 2012-01-25 江苏润和软件股份有限公司 Device intelligent access system based on device adaptation technology, and method of the same
CN102685134A (en) * 2012-05-15 2012-09-19 深圳市中电电力技术股份有限公司 Communication managing machine capable of being comprehensively realized based on extensible markup language and dynamic library
CN102843290A (en) * 2012-08-13 2012-12-26 上海申瑞继保电气有限公司 Question and answer mode protocol message processing method of data acquisition monitoring system
CN103391290A (en) * 2013-07-16 2013-11-13 沈阳时尚实业有限公司 Power consumer power utilization information acquisition system with protocol parsing

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7962919B2 (en) * 2006-03-29 2011-06-14 Intel Corporation Apparatus and method for modifying an initial event queue for extending an XML processor's feature set

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101902457A (en) * 2010-02-23 2010-12-01 上海宝信软件股份有限公司 System for configuring external communication protocol and method thereof
CN102333031A (en) * 2011-09-07 2012-01-25 江苏润和软件股份有限公司 Device intelligent access system based on device adaptation technology, and method of the same
CN102685134A (en) * 2012-05-15 2012-09-19 深圳市中电电力技术股份有限公司 Communication managing machine capable of being comprehensively realized based on extensible markup language and dynamic library
CN102843290A (en) * 2012-08-13 2012-12-26 上海申瑞继保电气有限公司 Question and answer mode protocol message processing method of data acquisition monitoring system
CN103391290A (en) * 2013-07-16 2013-11-13 沈阳时尚实业有限公司 Power consumer power utilization information acquisition system with protocol parsing

Also Published As

Publication number Publication date
CN104320415A (en) 2015-01-28

Similar Documents

Publication Publication Date Title
CN105302732B (en) A kind of automatic test approach and device of mobile terminal
CN104320415B (en) A kind of substation equipment kinematic insert formula specification analytic method
CN102118283B (en) Method and device for testing communication equipment
CN104978258A (en) Software automation test method and system
CN103246606B (en) The performance test methods of ESB platform and system
CN107689982A (en) Multi-data source method of data synchronization, application server and computer-readable recording medium
CN105991564A (en) Message processing method and device
CN105791178A (en) Message assembly method and device
CN106406952A (en) An electronic terminal and an application program management device and method
CN103780455A (en) TETRA digit cluster protocol test method and system based on TTCN-3
CN104899134A (en) Automatic domain name registration server testing system and method
CN105139149A (en) Method for rapidly checking asset configuration information of servers
CN107357721B (en) Method and device for testing system
CN109446648A (en) Service of simulation method for building up and device
CN102999424A (en) Parallel remote automated testing method
CN100562097C (en) In the IPTV system, the J2ME business is carried out the method and system of authentication
CN102075527A (en) Internet data communication system and communication method thereof
CN109241712A (en) A kind of method and apparatus for accessing file system
CN116627849B (en) System test method, device, equipment and storage medium
CN110287070B (en) ESB special protocol interface test method, server and computer readable storage medium
CN109698813A (en) A kind of intelligent meter data recording system and method
CN102541830B (en) Method and device for generating simulation report in simulation platform
CN103188117B (en) Information interaction server simulation testing device and method
CN109816462A (en) A kind of recognition methods of invoice information and device
CN114968822A (en) Interface testing method and device, computer equipment and storage medium

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant