CN108234299A - The information processing method of configurable protocol data gateway and gateway based on model - Google Patents
The information processing method of configurable protocol data gateway and gateway based on model Download PDFInfo
- Publication number
- CN108234299A CN108234299A CN201711420948.2A CN201711420948A CN108234299A CN 108234299 A CN108234299 A CN 108234299A CN 201711420948 A CN201711420948 A CN 201711420948A CN 108234299 A CN108234299 A CN 108234299A
- Authority
- CN
- China
- Prior art keywords
- protocol
- model
- database
- standardization
- live interaction
- 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
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L12/00—Data switching networks
- H04L12/66—Arrangements for connecting between networks having differing types of switching systems, e.g. gateways
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/20—Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
- G06F16/25—Integrating or interfacing systems involving database management systems
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/20—Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
- G06F16/28—Databases characterised by their database models, e.g. relational or object models
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L69/00—Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
- H04L69/03—Protocol definition or specification
Landscapes
- Engineering & Computer Science (AREA)
- Databases & Information Systems (AREA)
- Theoretical Computer Science (AREA)
- Data Mining & Analysis (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Computer Security & Cryptography (AREA)
- Data Exchanges In Wide-Area Networks (AREA)
- Computer And Data Communications (AREA)
Abstract
The present invention provides a kind of configurable protocol data gateways based on model and the information processing method of gateway, the data gateway to include:Model database, for extracting the feature of all known protocols, and by characteristic storage in model database;Standardize protocol database, for carrying out standardization processing to the content of all known protocols, and is stored in standardization protocol database;Communication interface, for obtaining the particular content of live interaction protocol from standardization protocol database;Interface server provides interface for accessing standardization protocol database for communication interface;Memory, for storing the particular content of the live interaction protocol obtained;Model solution parser, for live interaction protocol to be parsed according to the corresponding aspect of model;Actuator, for performing the live interaction protocol after parsing.The present invention effectively reduces the operating cost of data gateway, improves the convenience and scalability of data gateway maintenance.
Description
Technical field
The present invention relates to the communications field, more particularly, to a kind of configurable protocol data gateway and net based on model
The information processing method of pass.
Background technology
With the development of technology of Internet of things, the demand to communicate between equipment is more and more stronger.And current equipment room
Communication is mostly in physical layer, therefore produce many general physical layer interfaces, such as RS485, RJ45, CAN etc..But
The realization in the agreement of physical layer of each producer and industry-by-industry simultaneously differs, this communication between devices from different manufacturers causes
Inconvenience, forms information island phenomenon.
In order to solve the problems, such as between devices from different manufacturers can not normal communication, people employ the mode of data gateway, i.e.,
The agreement of all producers is formed software code to be written in data gateway, since agreement is numerous, the development cycle of gateway protocol
Also long, so this requirement for the processing capacity and memory capacity of data gateway is very high, this results in cost
It is very high.On the other hand, for the agreement directly realized with software, direct compilation, when increasing agreement, is gone back into executable code
It needs that original gateway source code is rewritten and is compiled, this brings great inconvenience to the maintenance of data gateway.Cause
How this, effectively reduce the operating cost of data gateway, and ensure more convenient maintenance, and become needs what is urgently solved at present
Problem.
Invention content
The purpose of the present invention is to provide a kind of information processings of configurable protocol data gateway and gateway based on model
Method, solve the problems, such as current data gateway operating cost it is high and safeguard it is inconvenient, realize to different manufacturers agreement according to
Certain feature carries out model partition, by the database on the agreement deposit server cluster after division, reduces data network
Close the complexity of processing access request.
To achieve the above object, the present invention provides a kind of configurable protocol data gateway based on model, including:
Model database, for extracting the feature of all known protocols, and by the characteristic storage in the model data
In library;
Standardize protocol database, for carrying out standardization processing to the content of all known protocols, and is stored in
In the standardization protocol database;
Communication interface, for obtaining the particular content of live interaction protocol from the standardization protocol database;
Memory, for storing the particular content of the live interaction protocol obtained;
Model solution parser, for reading the particular content of the live interaction protocol from the memory, described in acquisition
The corresponding aspect of model of live interaction protocol, and the live interaction protocol is parsed according to the aspect of model;
Actuator, for performing the live interaction protocol after parsing.
Preferably, the model database and the standardization protocol database are run in server cluster.
Preferably, the configurable protocol data gateway based on model further includes interface server, for being described logical
Believe that interface accesses the standardization protocol database in the server cluster and provides interface.
Preferably, the particular content that live interaction protocol is obtained from the standardization protocol database, including institute
State the corresponding pattern number of live interaction protocol.
The present invention also provides a kind of information processing method of the configurable protocol data gateway based on model, including following
Step:
The feature of all known protocols is extracted, and by the characteristic storage in model database;
Standardization processing is carried out to the content of all known protocols, and is stored in standardization protocol database;
The particular content of live interaction protocol is obtained from the standardization protocol database using communication interface;
The particular content of the live interaction protocol obtained using memory storage;
Controlling model resolver reads the particular content of the live interaction protocol from the memory, obtains described existing
The corresponding aspect of model of field interaction protocol, and the live interaction protocol is parsed according to the aspect of model;
Actuator is controlled to perform the live interaction protocol after parsing.
Preferably, the model database and the standardization protocol database are run in server cluster.
Preferably, described information processing method further includes step:Using interface server institute is accessed for the communication interface
The standardization protocol database stated in server cluster provides interface.
Preferably, it is described to obtain the specific of live interaction protocol from the standardization protocol database using communication interface
Content, including the corresponding pattern number of the scene interaction protocol.
Compared with prior art, the present invention haing the following advantages and high-lighting effect:
Using a kind of information processing method of configurable protocol data gateway and gateway based on model provided by the invention,
By the way that the big protocol database of storage capacity requirement is placed in server cluster, only retain scene interaction association in gateway
View significantly reduces the performance requirement of gateway storage, retrieval, so as to reduce operating cost.On the other hand, to all producers
Agreement carries out standardization processing according to certain feature, and the realization of such data gateway is just transformed to by the realization of protocol contents
The realization of model solution parser effectively reduces the workload of data gateway maintenance, improves the autgmentability of data gateway.
Description of the drawings
In order to illustrate more clearly about the embodiment of the present invention or technical scheme of the prior art, to embodiment or will show below
There is attached drawing needed in technology description to be briefly described, it should be apparent that, the accompanying drawings in the following description is only this
Some embodiments of invention, for those of ordinary skill in the art, without creative efforts, can be with
Other attached drawings are obtained according to these attached drawings.
Fig. 1 is a kind of structure diagram of the configurable protocol data gateway based on model disclosed by the embodiments of the present invention;
Fig. 2 is a kind of information processing method of the configurable protocol data gateway based on model disclosed by the embodiments of the present invention
Flow chart.
Specific embodiment
In order to make the purpose , technical scheme and advantage of the present invention be clearer, with reference to the accompanying drawings and embodiments, it is right
The present invention is further elaborated.It should be appreciated that the specific embodiments described herein are merely illustrative of the present invention, and
It is not used in the restriction present invention.
As shown in Figure 1, the embodiment of the invention discloses a kind of configurable protocol data gateway based on model, including:
Model database 101 for carrying out structured analysis to the agreement of all producers, extracts their feature, wraps
It includes:Model generates parameter (such as address etc.), set form parameter (such as instruction, register etc.), outside get parms (such as
The data of acquisition), procedure parameter (such as the circulation logic respectively instructed), standardize to these features, by similar agreement
Composition is a kind of, forms a protocol model, and a model is made of pattern number, model name and one group of protocol characteristic, owns
Protocol model be stored in model database 101.
Standardize protocol database 102, for carrying out above-mentioned standardization processing to the content of all known protocols, and stores
In the standardization protocol database 102, the agreement after standardization corresponds to the agreement of a physical device, while also includes
The corresponding pattern number of physical device agreement.Wherein, model database 101 and standardization protocol database 102 run on clothes
It is engaged in device cluster.
Communication interface 103, for obtaining the particular content of the agreement of field device from standardization protocol database 102.
Interface server 104, for accessing the standardization protocol database 102 in server cluster for communication interface 103
Interface is provided, way of realization is WEB SEVICE interfaces or SOCKET interfaces.
Memory 105, for storing the particular content of the agreement of the field device obtained, memory 105 is built-in NOR
FLASH or NAND FLASH.
Model solution parser 106, for reading the particular content of the agreement of field device, then basis from memory 105
Pattern number in the particular content, obtains the corresponding aspect of model of agreement of field device, and the agreement of field device is pressed
It is parsed according to the aspect of model.
Actuator 107 performs the relevant action of data using bifurcation approach, i.e., first by model solution parser 106 from
Acquisition information is got at field device one, is then judged whether there is by actuator 107 and operated in next step.If meet agreement regulation
Condition, then by model solution parser 106 obtain in next step operate corresponding agreement, and parse, be then sent to actuator 107,
Dependent instruction is sent to relevant device by actuator 107.
The configurable protocol data gateway based on model described in the present embodiment, standardize protocol database and pattern number
Standardization processing is carried out to the feature of all producer's agreements according to library and is classified according to certain feature, gateway is only deposited
The agreement of field device is stored up, such gateway only needs implementation model resolver, significantly reduces the performance requirement of gateway retrieval,
Reduce cost.Meanwhile in the maintenance for carrying out agreement, modification source code is not needed to, it is only necessary to which the agreement after specification is carried out
Modification, and re-download in gateway, improve the convenience of maintenance and the scalability of gateway.
As shown in Fig. 2, at the embodiment of the invention discloses a kind of information of the configurable protocol data gateway based on model
Reason method, includes the following steps:
S201 carries out structured analysis to the agreement of all producers, extracts their feature, including:Model generates ginseng
Number (such as address etc.), set form parameter (such as instruction, register etc.), outside get parms (such as data of acquisition),
Procedure parameter (such as the circulation logic respectively instructed), standardizes to these features, and similar agreement is formed to a kind of, formation
One protocol model, a model are made of pattern number, model name and one group of protocol characteristic, the storage of all protocol models
In model database.
S202 carries out above-mentioned standardization processing, and be stored in standardization protocol database to the content of all known protocols
In, the agreement after standardization corresponds to the agreement of a physical device, while also includes the corresponding model of physical device agreement
Number.Wherein, model database and standardization protocol database are run in server cluster.
S203 obtains the particular content of the agreement of field device using communication interface from standardization protocol database.
S204 is the standardization protocol data in the communication interface access server cluster using interface server
Library provides interface.
S205, the particular content of the agreement of field device obtained using memory storage.
S206, Controlling model resolver read the particular content of live interaction protocol from memory, obtain the scene
The corresponding aspect of model of interaction protocol, and live interaction protocol is parsed according to the aspect of model.
S207 performs the relevant action of data using bifurcation approach, i.e., first by model solution parser from field device
Acquisition information is got at one, is then judged whether there is by actuator and operated in next step.If meeting condition as defined in agreement, by
Model solution parser obtains operates corresponding agreement, and parse in next step, actuator is then sent to, by actuator by dependent instruction
It is sent to relevant device.
The information processing method of the configurable protocol data gateway based on model described in the present embodiment, by all factories
The feature of family's agreement carries out standardization processing, then classifies, and sorted protocol database and model database are stored
In server cluster, gateway only stores the agreement of field device, and such gateway only needs implementation model resolver, effectively
The performance requirement of gateway retrieval is reduced, reduces cost.Meanwhile in the maintenance for carrying out agreement, modification source code is not needed to,
It only needs to modify to the agreement after specification, and re-download in gateway, improves the convenience and net of maintenance
The scalability of pass.
Particular embodiments described above has carried out the purpose of the present invention, technical solution and advantageous effect further in detail
It describes in detail bright, it should be understood that the above is only a specific embodiment of the present invention, is not intended to restrict the invention, it is all
Within the principle of the present invention, any modification, equivalent substitution, improvement and etc. done should be included in protection scope of the present invention
Within.
Claims (8)
1. a kind of configurable protocol data gateway based on model, which is characterized in that including:
Model database, for extracting the feature of all known protocols, and by the characteristic storage in the model database;
Standardize protocol database, for carrying out standardization processing to the content of all known protocols, and is stored in described
In standardization protocol database;
Communication interface, for obtaining the particular content of live interaction protocol from the standardization protocol database;
Memory, for storing the particular content of the live interaction protocol obtained;
Model solution parser for reading the particular content of the live interaction protocol from the memory, obtains the scene
The corresponding aspect of model of interaction protocol, and the live interaction protocol is parsed according to the aspect of model;
Actuator, for performing the live interaction protocol after parsing.
A kind of 2. configurable protocol data gateway based on model as described in claim 1, which is characterized in that the pattern number
It is run in server cluster according to library and the standardization protocol database.
3. a kind of configurable protocol data gateway based on model as claimed in claim 2, which is characterized in that further include interface
Server provides interface for accessing the standardization protocol database in the server cluster for the communication interface.
4. a kind of configurable protocol data gateway based on model as described in claim 1, which is characterized in that described from described
The particular content of live interaction protocol is obtained in standardization protocol database, is compiled including the corresponding model of the scene interaction protocol
Number.
5. a kind of information processing method of the configurable protocol data gateway based on model, which is characterized in that include the following steps:
The feature of all known protocols is extracted, and by the characteristic storage in model database;
Standardization processing is carried out to the content of all known protocols, and is stored in standardization protocol database;
The particular content of live interaction protocol is obtained from the standardization protocol database using communication interface;
The particular content of the live interaction protocol obtained using memory storage;
Controlling model resolver reads the particular content of the live interaction protocol from the memory, obtains the scene and hands over
The corresponding aspect of model of mutual agreement, and the live interaction protocol is parsed according to the aspect of model;
Actuator is controlled to perform the live interaction protocol after parsing.
6. a kind of information processing method of the configurable protocol data gateway based on model as claimed in claim 5, feature
It is, the model database and the standardization protocol database are run in server cluster.
7. a kind of information processing method of the configurable protocol data gateway based on model as claimed in claim 6, feature
It is, further includes step:It is the standardization in the communication interface access server cluster using interface server
Protocol database provides interface.
8. a kind of information processing method of the configurable protocol data gateway based on model as claimed in claim 5, feature
It is, the particular content for obtaining live interaction protocol from the standardization protocol database using communication interface, including
The corresponding pattern number of the scene interaction protocol.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201711420948.2A CN108234299A (en) | 2017-12-25 | 2017-12-25 | The information processing method of configurable protocol data gateway and gateway based on model |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201711420948.2A CN108234299A (en) | 2017-12-25 | 2017-12-25 | The information processing method of configurable protocol data gateway and gateway based on model |
Publications (1)
Publication Number | Publication Date |
---|---|
CN108234299A true CN108234299A (en) | 2018-06-29 |
Family
ID=62648786
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201711420948.2A Pending CN108234299A (en) | 2017-12-25 | 2017-12-25 | The information processing method of configurable protocol data gateway and gateway based on model |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN108234299A (en) |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110138748A (en) * | 2019-04-23 | 2019-08-16 | 北京交通大学 | A kind of network integration communication means, gateway and system |
CN110417734A (en) * | 2019-06-24 | 2019-11-05 | 广州迈峰网络科技有限公司 | Remote device data acquisition method, device and system |
CN111343201A (en) * | 2020-05-18 | 2020-06-26 | 成都数之联科技有限公司 | Analysis method, device and system for rapidly adapting to protocol change |
CN112104654A (en) * | 2020-09-16 | 2020-12-18 | 北京天地玛珂电液控制***有限公司 | Multi-protocol automatic identification and conversion method and intelligent gateway |
CN113381999A (en) * | 2021-06-08 | 2021-09-10 | 杭州昊美科技有限公司 | Communication method and device and electronic equipment |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101145982A (en) * | 2007-10-29 | 2008-03-19 | 广州复旦奥特科技股份有限公司 | A general gateway design method based on object model and protocol dynamic component configuration |
WO2012072034A1 (en) * | 2010-12-03 | 2012-06-07 | 华为终端有限公司 | Method for managing terminal device, proxy device and system |
CN105282019A (en) * | 2014-12-29 | 2016-01-27 | 中国科学院沈阳自动化研究所 | Service-based data gateway configurable method and system |
-
2017
- 2017-12-25 CN CN201711420948.2A patent/CN108234299A/en active Pending
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101145982A (en) * | 2007-10-29 | 2008-03-19 | 广州复旦奥特科技股份有限公司 | A general gateway design method based on object model and protocol dynamic component configuration |
WO2012072034A1 (en) * | 2010-12-03 | 2012-06-07 | 华为终端有限公司 | Method for managing terminal device, proxy device and system |
CN105282019A (en) * | 2014-12-29 | 2016-01-27 | 中国科学院沈阳自动化研究所 | Service-based data gateway configurable method and system |
Cited By (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110138748A (en) * | 2019-04-23 | 2019-08-16 | 北京交通大学 | A kind of network integration communication means, gateway and system |
CN110417734A (en) * | 2019-06-24 | 2019-11-05 | 广州迈峰网络科技有限公司 | Remote device data acquisition method, device and system |
CN111343201A (en) * | 2020-05-18 | 2020-06-26 | 成都数之联科技有限公司 | Analysis method, device and system for rapidly adapting to protocol change |
CN112104654A (en) * | 2020-09-16 | 2020-12-18 | 北京天地玛珂电液控制***有限公司 | Multi-protocol automatic identification and conversion method and intelligent gateway |
CN112104654B (en) * | 2020-09-16 | 2023-04-18 | 北京天玛智控科技股份有限公司 | Multi-protocol automatic identification and conversion method, storage medium and intelligent gateway |
CN113381999A (en) * | 2021-06-08 | 2021-09-10 | 杭州昊美科技有限公司 | Communication method and device and electronic equipment |
CN113381999B (en) * | 2021-06-08 | 2023-04-28 | 杭州昊美科技有限公司 | Communication method and device and electronic equipment |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN108234299A (en) | The information processing method of configurable protocol data gateway and gateway based on model | |
CN105704234B (en) | The control method and device of smart machine | |
CN105391985B (en) | A kind of video monitoring system and method based on built-in Linux | |
CN104714828B (en) | Using installation, operation method and device | |
US20080155239A1 (en) | Automata based storage and execution of application logic in smart card like devices | |
CN100580622C (en) | Telecommunication region modeling tool based on unified modeling language and modeling method | |
CN105704188B (en) | Using the dispositions method and device with service | |
CN106095698B (en) | Caching write-in, read method and the device of object-oriented | |
CN101776996A (en) | Construction implementation method of object-based configuration management system in communication system | |
CN110489812A (en) | Multilayer level netlist processing method, device, computer equipment and storage medium | |
CN107609302B (en) | Method and system for generating product process structure | |
CN103812894B (en) | The management method of web file publishings version in a kind of real-time monitoring system | |
CN110912782B (en) | Data acquisition method, device and storage medium | |
CN110007924A (en) | The automated construction method and system of YANG model configuration interface | |
CN106909441A (en) | The method that a kind of direct I/O of disk based on JVM is accessed | |
CN107894886B (en) | A kind of method, apparatus and terminal device running code | |
CN103631645A (en) | Digital family middleware system based on digital medical treatment | |
Haikun et al. | Research and Application of the IOT Gateway Based on the Real-Time Specification for Java. | |
CN103677842A (en) | Software tool configuration type integrated expansion calling method and system | |
CN105808354B (en) | The method for setting up interim Hadoop environment using wlan network | |
CN116521181A (en) | Script data processing method, device, equipment and medium based on game system | |
Alonso et al. | Dynamic memory management for embedded systems | |
CN104932982B (en) | A kind of Compilation Method and relevant apparatus of message memory access | |
JP3548777B2 (en) | Control device | |
CN113449444B (en) | Simulation method, computer device and storage medium for domain engineering |
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 | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20180629 |
|
RJ01 | Rejection of invention patent application after publication |