CN109861998A - A kind of plug-in type dynamic analysis system and method based on Big Dipper short message agreement - Google Patents
A kind of plug-in type dynamic analysis system and method based on Big Dipper short message agreement Download PDFInfo
- Publication number
- CN109861998A CN109861998A CN201910054304.9A CN201910054304A CN109861998A CN 109861998 A CN109861998 A CN 109861998A CN 201910054304 A CN201910054304 A CN 201910054304A CN 109861998 A CN109861998 A CN 109861998A
- Authority
- CN
- China
- Prior art keywords
- plug
- module
- short message
- protocol
- main program
- 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.)
- Granted
Links
Abstract
The invention discloses a kind of plug-in type dynamic analysis system and method based on Big Dipper short message agreement, the system comprises main program modules, registration center's module and card module, when main program starts, Main Program Service is registered to registration center, issue registration interface, when plug-in card program starts, to registration center's registered plug-ins service, the registration interface for calling main program to issue simultaneously, registered plug-ins, the Big Dipper short message content received is sent to corresponding plug-in services by main program, the short message content that main program is sent is back to main program after corresponding data according to protocol analysis by plug-in unit, the present invention makes the reduction of the coupling of analysis protocol process and integrity service in such a way that plug-in unit parses, quickly performance can be made to improve by newly-increased deployment in the environment of data volume is increased sharply.
Description
Technical field
The present invention relates to field of communication technology more particularly to a kind of plug-in type dynamic analyses based on Big Dipper short message agreement
System and method.
Background technique
In the prior art because Big Dipper short message available word joint number is limited, so when sending data using Beidou short essay,
It, with the most information of least byte transmission, but at present when being decoded to data, will be adopted using encoding data
It is worked with integrated project, coupling is high, and code logic is complicated, and when new agreement being caused to access, heavy workload, exploitation is stranded
Difficulty, deployment trouble.
Summary of the invention
It is an object of the present invention to reduce the coupling of system, system performance is improved, is designed a kind of based on Big Dipper short message
The plug-in type dynamic analysis system and method for agreement.
Goal of the invention of the invention is achieved through the following technical solutions: a kind of plug-in unit based on Big Dipper short message agreement
Formula dynamic analysis system, the system comprises main program module, registration center's module and multiple card modules;The main program mould
When block starts, to registration center's Module registers Main Program Service, while registration interface is issued;When the card module starts, to
Registration center's Module registers plug-in services, while the registration interface registered plug-ins for calling main program module to issue;Main program module
The Big Dipper short message content received is sent to corresponding plug-in services, the short message that card module sends main program module
Content is back to main program module after corresponding data according to protocol analysis.
Further, the main program module includes that theme consumption module, protocol type judgment module and plug-in unit transmission connect
Module is received, then the theme of theme consumption module consumption input agreement is judged to assist by protocol type judgment module according to protocol header
Type is discussed, protocol contents are distributed to by corresponding protocol analysis card module by plug-in unit sending/receiving module, and receive plug-in unit mould
Block parsing after as a result, it is last by returned data object be written database.
Further, the card module includes receiving module, parsing module and package module, and receiving module, which receives, to be come
The protocol contents sent from server-side, parsing module will correspond to protocol contents according to protocol analysis rule parsing, package module
Data after parsing are encapsulated into object, data are returned, or carry out further work.
Further, the card module is configured according to different protocol types, and the different Beidou of independent parsing is short
Message protocol.
Further, a kind of plug-in type dynamic analysis method based on Big Dipper short message agreement, comprising the following steps:
S51: when main program module starts, to registration center's Module registers Main Program Service, registration interface is issued;
S52: when card module starts, to registration center's Module registers plug-in services, while the note for calling main program module to issue
Volume interface registered plug-ins;
S53: main program module pre-processes the Big Dipper short message received, and protocol contents are sent to corresponding plug-in unit
Module analysis protocol;
S54: the short message content that main program module is sent is back to after corresponding data by card module according to protocol analysis
Main program module.
Further, a kind of plug-in type dynamic analysis method based on Big Dipper short message agreement, including following step
It is rapid:
S61: when log-on data supporting, to zookeeper register node, plug-in registration service is provided to dubbo;
S62: when starting plug-in unit, to zookeeper register node, corresponding protocol analysis service is provided to dubbo;
S63: calling the plug-in registration service of data supporting service after plug-in unit starting, plug-in registration is entered in data supporting service;
S64: after data supporting service acquisition to plug-in unit, plugin information is written in redis.
Further, the card module parses Big Dipper short message agreement, comprising the following steps:
S71: card module receives the protocol contents sent from server-side;
S72: by corresponding protocol contents according to protocol analysis rule parsing;
S73: the data after parsing are encapsulated into object, data are returned.
Further, the main program module pre-processes Big Dipper short message, comprising the following steps:
S81: the theme in consumption Big Dipper short message;
S82: protocol type is judged according to protocol header;
S83: by data loading after the data object that acquisition card module returns.
The utility model has the advantages that the present invention drops the coupling of analysis protocol process and integrity service in such a way that plug-in unit parses
It is low, quickly performance can be made to improve by newly-increased deployment in the environment of data volume is increased sharply, develop new protocol analysis work
It is more simple and fast when making, while independent operating between each plug-in unit does not influence other when disposing new analysis protocol work
The normal parsing of agreement.
Detailed description of the invention
Fig. 1 is system construction drawing.
Fig. 2 is main program flow chart.
Fig. 3 is plug-in unit flow chart.
Specific embodiment
The present invention will be further described with reference to the accompanying drawing, but protection scope of the present invention be not limited to it is as described below
As shown in Figure 1, a kind of plug-in type dynamic analysis system based on Big Dipper short message agreement, the system comprises main program moulds
Block, registration center's module and multiple card modules;When the main program module starts, taken to registration center's Module registers main program
Business, while issuing registration interface;When the card module starts, to registration center's Module registers plug-in services, while master is called
The registration interface registered plug-ins of program module publication;The Big Dipper short message content received is sent to corresponding insert by main program module
The short message content that main program module is sent is back to master after corresponding data according to protocol analysis by part service, card module
Program module.
Further, the main program module includes that theme consumption module, protocol type judgment module and plug-in unit transmission connect
Module is received, then the theme of theme consumption module consumption input agreement is judged to assist by protocol type judgment module according to protocol header
Type is discussed, protocol contents are distributed to by corresponding protocol analysis card module by plug-in unit sending/receiving module, and receive plug-in unit mould
Block parsing after as a result, it is last by returned data object be written database.
Further, the card module includes receiving module, parsing module and package module, and receiving module, which receives, to be come
The protocol contents sent from server-side, parsing module will correspond to protocol contents according to protocol analysis rule parsing, package module
Data after parsing are encapsulated into object, data are returned, or carry out further work.
Further, the card module is configured according to different protocol types, and the different Beidou of independent parsing is short
Message protocol.
Further, a kind of plug-in type dynamic analysis method based on Big Dipper short message agreement, comprising the following steps:
S51: when main program module starts, to registration center's Module registers Main Program Service, registration interface is issued;
S52: when card module starts, to registration center's Module registers plug-in services, while the note for calling main program module to issue
Volume interface registered plug-ins;
S53: main program module pre-processes the Big Dipper short message received, and protocol contents are sent to corresponding plug-in unit
Module analysis protocol;
S54: the short message content that main program module is sent is back to after corresponding data by card module according to protocol analysis
Main program module.
Further, a kind of plug-in type dynamic analysis method based on Big Dipper short message agreement, including following step
It is rapid:
S61: when log-on data supporting, to zookeeper register node, plug-in registration service is provided to dubbo;
S62: when starting plug-in unit, to zookeeper register node, corresponding protocol analysis service is provided to dubbo;
S63: calling the plug-in registration service of data supporting service after plug-in unit starting, plug-in registration is entered in data supporting service;
S64: after data supporting service acquisition to plug-in unit, plugin information is written in redis.
Further, as shown in figure 3, the card module parses Big Dipper short message agreement, comprising the following steps:
S71: card module receives the protocol contents sent from server-side;
S72: by corresponding protocol contents according to protocol analysis rule parsing;
S73: the data after parsing are encapsulated into object, data are returned.
Further, as shown in Fig. 2, the main program module pre-processes Big Dipper short message, comprising the following steps:
S81: the theme in consumption Big Dipper short message;
S82: protocol type is judged according to protocol header;
S83: by data loading after the data object that acquisition card module returns.
The utility model has the advantages that the present invention drops the coupling of analysis protocol process and integrity service in such a way that plug-in unit parses
It is low, quickly performance can be made to improve by newly-increased deployment in the environment of data volume is increased sharply, develop new protocol analysis work
It is more simple and fast when making, while independent operating between each plug-in unit does not influence other when disposing new analysis protocol work
The normal parsing of agreement.
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 (8)
1. a kind of plug-in type dynamic analysis system based on Big Dipper short message agreement, which is characterized in that the system comprises main journeys
Sequence module, registration center's module and multiple card modules;When the main program module starts, to the main journey of registration center's Module registers
Sequence service, while issuing registration interface;When the card module starts, to registration center's Module registers plug-in services, adjust simultaneously
The registration interface registered plug-ins issued with main program module;The Big Dipper short message content received is sent to pair by main program module
Plug-in services are answered, card module returns to the short message content that main program module is sent according to protocol analysis after corresponding data
To main program module.
2. a kind of plug-in type dynamic analysis system based on Big Dipper short message agreement as described in claim 1, which is characterized in that
The main program module includes theme consumption module, protocol type judgment module and plug-in unit sending/receiving module, and theme consumes mould
The theme of block consumption input agreement, then judges protocol type according to protocol header by protocol type judgment module, is sent out by plug-in unit
Send receiving module that protocol contents are distributed to corresponding protocol analysis card module, and receive card module parsing after as a result, most
Database is written into returned data object afterwards.
3. a kind of plug-in type dynamic analysis system based on Big Dipper short message agreement as described in claim 1, which is characterized in that
The card module includes receiving module, parsing module and package module, and receiving module reception is sent from server-side
Protocol contents, parsing module will correspond to protocol contents according to protocol analysis rule parsing, and package module seals the data after parsing
It is packed into object, data are returned, or carries out further work.
4. a kind of plug-in type dynamic analysis system based on Big Dipper short message agreement as claimed in claim 1 or 3, feature exist
In the card module configures, the different Big Dipper short message agreement of independent parsing according to different protocol types.
5. a kind of plug-in type dynamic analysis method based on Big Dipper short message agreement, which comprises the following steps:
S51: when main program module starts, to registration center's Module registers Main Program Service, registration interface is issued;
S52: when card module starts, to registration center's Module registers plug-in services, while the note for calling main program module to issue
Volume interface registered plug-ins;
S53: main program module pre-processes the Big Dipper short message received, and protocol contents are sent to corresponding plug-in unit
Module analysis protocol;
S54: the short message content that main program module is sent is back to after corresponding data by card module according to protocol analysis
Main program module.
6. a kind of plug-in type dynamic analysis method based on Big Dipper short message agreement as claimed in claim 5, which is characterized in that
The following steps are included:
S61: when log-on data supporting, to zookeeper register node, plug-in registration service is provided to dubbo;
S62: when starting plug-in unit, to zookeeper register node, corresponding protocol analysis service is provided to dubbo;
S63: calling the plug-in registration service of data supporting service after plug-in unit starting, plug-in registration is entered in data supporting service;
S64: after data supporting service acquisition to plug-in unit, plugin information is written in redis.
7. a kind of plug-in type dynamic analysis method based on Big Dipper short message agreement as claimed in claim 5, which is characterized in that
The card module parses Big Dipper short message agreement, comprising the following steps:
S71: card module receives the protocol contents sent from server-side;
S72: by corresponding protocol contents according to protocol analysis rule parsing;
S73: the data after parsing are encapsulated into object, data are returned.
8. a kind of plug-in type dynamic analysis method based on Big Dipper short message agreement as claimed in claim 5, which is characterized in that
The main program module pre-processes Big Dipper short message, comprising the following steps:
S81: the theme in consumption Big Dipper short message;
S82: protocol type is judged according to protocol header;
S83: by data loading after the data object that acquisition card module returns.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910054304.9A CN109861998B (en) | 2019-01-21 | 2019-01-21 | Plug-in type dynamic analysis system and method based on Beidou short message protocol |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910054304.9A CN109861998B (en) | 2019-01-21 | 2019-01-21 | Plug-in type dynamic analysis system and method based on Beidou short message protocol |
Publications (2)
Publication Number | Publication Date |
---|---|
CN109861998A true CN109861998A (en) | 2019-06-07 |
CN109861998B CN109861998B (en) | 2021-06-11 |
Family
ID=66895428
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910054304.9A Active CN109861998B (en) | 2019-01-21 | 2019-01-21 | Plug-in type dynamic analysis system and method based on Beidou short message protocol |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109861998B (en) |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111555915A (en) * | 2020-04-24 | 2020-08-18 | 科大国创云网科技有限公司 | Dynamic network element control system based on plug-in configuration |
CN112003937A (en) * | 2020-08-21 | 2020-11-27 | 西安寰宇卫星测控与数据应用有限公司 | Satellite data transmission method, satellite data transmission device, computer equipment and storage medium |
CN113656092A (en) * | 2021-07-29 | 2021-11-16 | 浙江浙大中控信息技术有限公司 | Plug-in-based SCADA system driver protocol efficient management method |
CN114338439A (en) * | 2021-12-27 | 2022-04-12 | 上海观安信息技术股份有限公司 | Universal network flow analysis device and method |
Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
TW550465B (en) * | 2002-02-22 | 2003-09-01 | Taiwan Knowledge Bank Co Ltd | Video multi-media message-recording discussing area and announcement system and method |
CN101426000A (en) * | 2007-10-30 | 2009-05-06 | 北京启明星辰信息技术有限公司 | General protocol parsing method and system |
CN102761545A (en) * | 2012-06-30 | 2012-10-31 | 华为技术有限公司 | Service processing method, service processor and service processing system |
CN103176795A (en) * | 2013-02-04 | 2013-06-26 | 中国电子科技集团公司第二十八研究所 | Method for applying plug-in technology to data filtering of information distribution software |
CN103645919A (en) * | 2013-12-18 | 2014-03-19 | 用友软件股份有限公司 | Method for extending functions of management information system through plugins |
CN105554160A (en) * | 2016-01-29 | 2016-05-04 | 四川长虹电器股份有限公司 | Dubbo distributed cluster system architecture method based on nginx load balancing |
CN106817353A (en) * | 2015-11-30 | 2017-06-09 | 任子行网络技术股份有限公司 | For MAC collections and the wireless aps and method of network security audit |
CN108111496A (en) * | 2017-12-13 | 2018-06-01 | 杭州安恒信息技术有限公司 | The method, apparatus and system of http services are exposed for dubbo Distributed Applications |
-
2019
- 2019-01-21 CN CN201910054304.9A patent/CN109861998B/en active Active
Patent Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
TW550465B (en) * | 2002-02-22 | 2003-09-01 | Taiwan Knowledge Bank Co Ltd | Video multi-media message-recording discussing area and announcement system and method |
CN101426000A (en) * | 2007-10-30 | 2009-05-06 | 北京启明星辰信息技术有限公司 | General protocol parsing method and system |
CN102761545A (en) * | 2012-06-30 | 2012-10-31 | 华为技术有限公司 | Service processing method, service processor and service processing system |
CN103176795A (en) * | 2013-02-04 | 2013-06-26 | 中国电子科技集团公司第二十八研究所 | Method for applying plug-in technology to data filtering of information distribution software |
CN103645919A (en) * | 2013-12-18 | 2014-03-19 | 用友软件股份有限公司 | Method for extending functions of management information system through plugins |
CN106817353A (en) * | 2015-11-30 | 2017-06-09 | 任子行网络技术股份有限公司 | For MAC collections and the wireless aps and method of network security audit |
CN105554160A (en) * | 2016-01-29 | 2016-05-04 | 四川长虹电器股份有限公司 | Dubbo distributed cluster system architecture method based on nginx load balancing |
CN108111496A (en) * | 2017-12-13 | 2018-06-01 | 杭州安恒信息技术有限公司 | The method, apparatus and system of http services are exposed for dubbo Distributed Applications |
Cited By (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111555915A (en) * | 2020-04-24 | 2020-08-18 | 科大国创云网科技有限公司 | Dynamic network element control system based on plug-in configuration |
CN112003937A (en) * | 2020-08-21 | 2020-11-27 | 西安寰宇卫星测控与数据应用有限公司 | Satellite data transmission method, satellite data transmission device, computer equipment and storage medium |
CN112003937B (en) * | 2020-08-21 | 2023-08-15 | 西安寰宇卫星测控与数据应用有限公司 | Satellite data transmission method, device, computer equipment and storage medium |
CN113656092A (en) * | 2021-07-29 | 2021-11-16 | 浙江浙大中控信息技术有限公司 | Plug-in-based SCADA system driver protocol efficient management method |
CN113656092B (en) * | 2021-07-29 | 2024-04-19 | 浙江中控信息产业股份有限公司 | Plug-in-based SCADA system driving protocol efficient management method |
CN114338439A (en) * | 2021-12-27 | 2022-04-12 | 上海观安信息技术股份有限公司 | Universal network flow analysis device and method |
CN114338439B (en) * | 2021-12-27 | 2023-08-08 | 上海观安信息技术股份有限公司 | Universal network flow analysis device and method |
Also Published As
Publication number | Publication date |
---|---|
CN109861998B (en) | 2021-06-11 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109861998A (en) | A kind of plug-in type dynamic analysis system and method based on Big Dipper short message agreement | |
CN109670081B (en) | Method and device for processing service request | |
CN100440144C (en) | Method and device for implementing compatibility between the old and new editions of system | |
CN103020024B (en) | A kind of file layout change-over method | |
CN101807205B (en) | Processing module, device, and method for processing of xml data | |
CN111294235B (en) | Data processing method, device, gateway and readable storage medium | |
CN1987925A (en) | Complex front platform of financial system and transfering method transaction data | |
CN102546442A (en) | Communication protocol conversion technology | |
CN109768970A (en) | It is a kind of based on configurable puppy parc generation method | |
CN111552838A (en) | Data processing method and device, computer equipment and storage medium | |
CN102195895A (en) | Message sending and receiving processing method and device | |
CN101848148B (en) | Data transmission processing system, device and method applied to financial message language | |
CN106941501A (en) | A kind of data communications method and device | |
CN101930362B (en) | Method for integrating TTCN language and data description language | |
CN107992439A (en) | A kind of expansible data interactive method and system | |
CN106708764A (en) | Universal IO processing system for airborne avionic system | |
CN107040613A (en) | A kind of message transmitting method and system | |
CN111343201A (en) | Analysis method, device and system for rapidly adapting to protocol change | |
CN108881124A (en) | Method, system, storage medium and the equipment of high performance communication are realized in intermodule | |
CN104021121A (en) | Method, device and server for compressing text data | |
CN1932760B (en) | System and method for execution of application program | |
CN103856396B (en) | Message transmission method and device, proxy plug-ins between plug-in unit | |
CN112769741A (en) | Message communication method and electronic equipment | |
CN108052590A (en) | The dynamic application method and system of a kind of structural data | |
CN113836211B (en) | Data extraction method for accessing data of internet of things equipment to JAVA platform |
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 |