CN108600181A - A kind of parsing configuration method for supporting polymorphic type communication protocol - Google Patents

A kind of parsing configuration method for supporting polymorphic type communication protocol Download PDF

Info

Publication number
CN108600181A
CN108600181A CN201810264902.4A CN201810264902A CN108600181A CN 108600181 A CN108600181 A CN 108600181A CN 201810264902 A CN201810264902 A CN 201810264902A CN 108600181 A CN108600181 A CN 108600181A
Authority
CN
China
Prior art keywords
data
parsing
communication protocol
type communication
application
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
CN201810264902.4A
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.)
Nanjing Zhi Ge Electric Power Technology Co Ltd
Original Assignee
Nanjing Zhi Ge Electric Power 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 Nanjing Zhi Ge Electric Power Technology Co Ltd filed Critical Nanjing Zhi Ge Electric Power Technology Co Ltd
Priority to CN201810264902.4A priority Critical patent/CN108600181A/en
Publication of CN108600181A publication Critical patent/CN108600181A/en
Pending legal-status Critical Current

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
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/14Network analysis or design
    • H04L41/145Network analysis or design involving simulating, designing, planning or modelling of a network
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/18Protocol analysers

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer Security & Cryptography (AREA)
  • Communication Control (AREA)

Abstract

The present invention provides a kind of parsing configuration method for supporting polymorphic type communication protocol.The present invention method be:The data acquisition program of front end, data are collected into data field, modeling tool establishes data model according to application demand, configuration file is automatically generated after the completion of data model configuration, application program passes through principle of reflection, data type is reflected into arithmetic analysis module, algoritic module parses stipulations, generates the data that application layer needs.This method can quickly and effectively complete each different application systems, distinct device, and the communication and parsing work of different stipulations improve the reusability of software, practicability saves development cost.

Description

A kind of parsing configuration method for supporting polymorphic type communication protocol
Technical field:
The present invention relates to a kind of parsing configuration methods for supporting polymorphic type communication protocol, more particularly to a kind of to be based on JAVA- SpringMVC supports the parsing configuration method of polymorphic type communication protocol.
Background technology:
At present in industry, in order to realize that centralized control, the functions such as intelligent monitoring have communication function, and have data certainly Parse function.Since communication standard is different in industry-by-industry, often in more exchange device, or in different industries, different zones are led It causes the packet parsing of program that can not use, needs to redesign, recompile.And existing product currently on the market, focus on Program ductility is not too much focused in the realization of function.Software development cost is virtually increased, is added in enterprise, if It is standby different, it is also possible to there are communication pattern differences, and stipulations are different, result in the need for cover systems, in order to ensure between more set systems Data interchange, data safety, it is not intended to server burden can be aggravated, cause stabilization of equipment performance to decline, be unfavorable for safeguarding, aggravate to safeguard The workload of personnel.
Invention content:
The purpose of the present invention is providing a kind of parsing configuration method for supporting polymorphic type communication protocol in view of the above problems, Each different application systems, distinct device can be quickly and effectively completed, the communication and parsing work of different stipulations improve soft The reusability of part, practicability save development cost.
Above-mentioned purpose is realized by following technical scheme:
A kind of parsing configuration method for supporting polymorphic type communication protocol, this method are:The data acquisition program of front end, data are adopted Collect data field, modeling tool establishes data model according to application demand, configuration text is automatically generated after the completion of data model configuration Part, application program are reflected into arithmetic analysis module by principle of reflection, by data type, and algoritic module parses stipulations, and generation is answered The data needed with layer.
The parsing configuration method of the support polymorphic type communication protocol, between each described application program mutually solely Vertical, the data of data field open each application program.
The parsing configuration method of the support polymorphic type communication protocol, when new stipulations generate, using modeling tool, Establishing out corresponding data model is supplied to application layer, application layer to do corresponding data parsing.
The parsing configuration method of the support polymorphic type communication protocol, voluntarily adds algorithm into program as needed, The addition manner of algorithm is, by algorithm development at jar packets, to import program, pass through algorithm configuration file, so that it may to call algorithm, It is not necessary to modify main programs.
Advantageous effect:
The present invention can quickly and effectively complete each different application systems, distinct device, the communication and parsing of different stipulations Work, improves the reusability of software, and practicability saves development cost.Flexible data modeling pattern, can utmostly open up The flexibility of existing system, can support the displaying of various data types, count, analysis.And when new stipulations occur without repairing Change main program, greatly improves system robustness, autgmentability.
Description of the drawings:
Fig. 1 is the flow chart of the present invention.
Specific implementation mode:
A kind of parsing configuration method for supporting polymorphic type communication protocol of the present embodiment, which is characterized in that data application detaches, and answers It is not necessarily to focused data transmission mode with the exploitation of layer, data acquisition can also be the data structure of diversification and stipulations can be Various.Data are collected data field by the data acquisition program of front end.Modeling tool establishes data mould according to application demand Type, data model flexibly configurable automatically generate configuration file after the completion of configuration, and application program is by principle of reflection, by data Type is reflected into arithmetic analysis module, and algoritic module parses stipulations, generates the data that application layer needs.
Each application program is relatively independent, but the data of data acquisition module are opened to each application program again, It is to be understood that data are common, it is only necessary to do corresponding configuration to data structure in the application, and can accomplish any number According to source, data format can normally be read, parsing.Because data modeling tool can establish diversification, multifarious data Structure so that in access device, application layer is simultaneously not concerned with its access way and protocol type.So that whole system becomes Autgmentability is very strong.、
When there is new stipulations to generate, data Layer, communication layers are without doing any variation, it is only necessary to utilize modeling tool, establish out Corresponding data model is supplied to application layer, is parsed using corresponding data are done.Such system makes system in difference The application power of environment, different field maximizes.
Reflex mechanism effect is, basic just without knowing the particular content in data class when application layer is developed, and After data modeling, it is only necessary to know title, program at runtime, can dynamically know the structure of data class group of functions At, substantially increase application layer exploitation flexibility.
This structure reduces the degree of coupling of whole system so that and each module is relatively independent and interrelated, any one The stability for becoming all not interfering with whole system of module.
The technical means disclosed in the embodiments of the present invention is not limited to the technical means disclosed in the above technical means, and further includes The technical solution being made of the above technical characteristic equivalent replacement.The unaccomplished matter of the present invention, belongs to those skilled in the art's Common knowledge.

Claims (4)

1. a kind of parsing configuration method for supporting polymorphic type communication protocol, it is characterized in that:This method is:The data of front end acquire journey Data are collected data field by sequence, and modeling tool establishes data model according to application demand, automatic after the completion of data model configuration Configuration file is generated, application program is reflected into arithmetic analysis module, algoritic module parsing rule by principle of reflection, by data type About, the data that application layer needs are generated.
2. the parsing configuration method according to claim 1 for supporting polymorphic type communication protocol, it is characterized in that:Described in each Between application program independently of each other, the data of data field open each application program.
3. the parsing configuration method according to claim 1 for supporting polymorphic type communication protocol, it is characterized in that:In new stipulations When generation, using modeling tool, establishes out corresponding data model and application layer, application layer is supplied to do corresponding data parsing i.e. It can.
4. the parsing configuration method according to claim 1 for supporting polymorphic type communication protocol, it is characterized in that:As needed certainly Row adds algorithm into program, and the addition manner of algorithm is, by algorithm development at jar packets, to import program, passes through algorithm configuration text Part, so that it may which, to call algorithm, it is not necessary to modify main programs.
CN201810264902.4A 2018-03-28 2018-03-28 A kind of parsing configuration method for supporting polymorphic type communication protocol Pending CN108600181A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810264902.4A CN108600181A (en) 2018-03-28 2018-03-28 A kind of parsing configuration method for supporting polymorphic type communication protocol

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810264902.4A CN108600181A (en) 2018-03-28 2018-03-28 A kind of parsing configuration method for supporting polymorphic type communication protocol

Publications (1)

Publication Number Publication Date
CN108600181A true CN108600181A (en) 2018-09-28

Family

ID=63624818

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810264902.4A Pending CN108600181A (en) 2018-03-28 2018-03-28 A kind of parsing configuration method for supporting polymorphic type communication protocol

Country Status (1)

Country Link
CN (1) CN108600181A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109491678A (en) * 2018-11-16 2019-03-19 重庆瑞盾科技发展有限公司 A kind of communication monitoring terminal data acquisition system and acquisition method
CN109639529A (en) * 2018-12-21 2019-04-16 国网四川省电力公司电力科学研究院 The diagnostic method of intelligent substation remote control command exception
CN110769005A (en) * 2019-11-11 2020-02-07 交控科技股份有限公司 Multi-professional multi-system multi-protocol data acquisition method for rail transit

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104618459A (en) * 2015-01-13 2015-05-13 北京中交兴路车联网科技有限公司 Method and system for automatically acquiring data model
CN105022736A (en) * 2014-04-18 2015-11-04 中国科学院深圳先进技术研究院 Demand analysis system and method of pedigree high-speed train
US20160380816A1 (en) * 2015-06-24 2016-12-29 Yokogawa Electric Corporation System and method for configuring a data access system
CN107291060A (en) * 2016-03-31 2017-10-24 上海海事大学 Large-scale industry management information system and its control method based on oracle database

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105022736A (en) * 2014-04-18 2015-11-04 中国科学院深圳先进技术研究院 Demand analysis system and method of pedigree high-speed train
CN104618459A (en) * 2015-01-13 2015-05-13 北京中交兴路车联网科技有限公司 Method and system for automatically acquiring data model
US20160380816A1 (en) * 2015-06-24 2016-12-29 Yokogawa Electric Corporation System and method for configuring a data access system
CN107291060A (en) * 2016-03-31 2017-10-24 上海海事大学 Large-scale industry management information system and its control method based on oracle database

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
王凤连: "《一种可配置的协议解析器分析》", 《无线互联科技》 *
赵玉文: "《面向物联网的自适应异构数据采集技术的研究与实现》", 《中国优秀硕士学位论文全文数据库(电子期刊)》 *

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109491678A (en) * 2018-11-16 2019-03-19 重庆瑞盾科技发展有限公司 A kind of communication monitoring terminal data acquisition system and acquisition method
CN109639529A (en) * 2018-12-21 2019-04-16 国网四川省电力公司电力科学研究院 The diagnostic method of intelligent substation remote control command exception
CN109639529B (en) * 2018-12-21 2022-05-24 国网四川省电力公司电力科学研究院 Diagnostic method for abnormal remote control command of intelligent substation
CN110769005A (en) * 2019-11-11 2020-02-07 交控科技股份有限公司 Multi-professional multi-system multi-protocol data acquisition method for rail transit

Similar Documents

Publication Publication Date Title
CN103049271B (en) The method and apparatus of the description document of automatic generation api interface
CN109495308A (en) A kind of automation operational system based on management information system
CN108600181A (en) A kind of parsing configuration method for supporting polymorphic type communication protocol
CN101834750B (en) Method for monitoring common service
CN102663552B (en) Dynamic workflow engine supporting online self-evolution
CN100395987C (en) Method and system for realizing telecommunication network universal performance management
CN109359094A (en) A kind of full link tracing method and device of distributed system journal
SG115362A1 (en) Asset management and scheduling graphical user interface for media streamer
CN109471845A (en) Blog management method, server and computer readable storage medium
CN105719078A (en) Holographic flow management method based on business flow butt joint and state monitoring
CN102611563A (en) Management system of RFID (radio frequency identification devices) electronic distributing frame
CN103327080A (en) Method and device for establishing control system of internet of things
CN105893591A (en) Intelligent compiling technology of data sharing service
US7974937B2 (en) Adaptive embedded historians with aggregator component
CN101727626A (en) Method and system for customizing electronic operation flow
CN104639386A (en) Fault positioning system and method
CN113608952B (en) System fault processing method and system based on log construction supporting environment
CN101056210B (en) An event processing system and method of network central management platform
CN110209578A (en) A kind of information on-line testing platform
CN109885483A (en) Log method for visualizing and system for operating status in Real-time Feedback game
CN112667243A (en) Automatic log adding and code problem searching and positioning method based on go language
CN101595450A (en) Be used to compile method and apparatus with reporting printing statistics
CN107480883B (en) Transformer substation secondary system resource configuration method and system
CN109190969A (en) Weighing-appliance management-control method, system, weighing-appliance management middleware and medium
CN108629048A (en) A kind of routing parameter transmits optimization method and system

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
CB02 Change of applicant information

Address after: Room 505, No.11, software Avenue, Yuhuatai District, Nanjing City, Jiangsu Province, 210000

Applicant after: Jiangsu Zhige Hi Tech Co.,Ltd.

Address before: 210000 room 402, Huashen building, No. 11, software Avenue, Yuhuatai District, Nanjing City, Jiangsu Province

Applicant before: NANJING CHIGE POWER TECHNOLOGY Co.,Ltd.

CB02 Change of applicant information
RJ01 Rejection of invention patent application after publication

Application publication date: 20180928

RJ01 Rejection of invention patent application after publication