CN102857499A - Expandable intelligent protocol conversion method based on embedded platform - Google Patents
Expandable intelligent protocol conversion method based on embedded platform Download PDFInfo
- Publication number
- CN102857499A CN102857499A CN2012103072144A CN201210307214A CN102857499A CN 102857499 A CN102857499 A CN 102857499A CN 2012103072144 A CN2012103072144 A CN 2012103072144A CN 201210307214 A CN201210307214 A CN 201210307214A CN 102857499 A CN102857499 A CN 102857499A
- Authority
- CN
- China
- Prior art keywords
- data
- stipulations
- processing module
- module
- protocol
- 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
Images
Landscapes
- Computer And Data Communications (AREA)
- Communication Control (AREA)
Abstract
The invention discloses an expandable intelligent protocol conversion method based on an embedded platform which is characterized by comprising the steps of: 1) establishing a data transceiving module: for each communication protocol needed to be used, establishing a data transceiving module to receive/send data and issue data; 2) establishing a data processing module: establishing a special data processing module for protocols of each type; 3) accessing data of a protocol I first through a communication interface of the embedded platform, after receiving the data by a corresponding data transceiving module, issuing the data, that is, parsing received data, and sending the data to a data processing module I according to the parsed result; and 4) converting data of the protocol I to that of the protocol II within the data processing module I, introducing the data of the protocol II to the data processing module II of the protocol II for continuous protocol conversion or transmission. According to the expandable intelligent protocol conversion method based on the embedded platform provided by the invention, data conversion of different protocol types can be realized.
Description
Technical field
The present invention relates to a kind of stipulations conversion method, be specifically related to extendible stipulations conversion method, belong to electric power system stipulations switch technology field.
Background technology
In the power automation field; there are different functions, dissimilar plurality of devices; there is communication requirement between the equipment; and the construction along with electric power data network; the raising of automatization level; conventional telecontrol system will be replaced in the dispatch automated system of the networking of one by technology such as fusion calculation machine, protection, control, network, communications, and various Information Monitorings also will access unified supervisory control system.
Yet the used stipulations of the collection of information are of a great variety, carry out the integrated of data.Various telecommunication stipulations are unified standard not, has hindered interconnecting between the equipment.The stipulations switch technology has solved this problem.
Progress along with embedded technology, a complete embedded platform has processor module, communication module, the memory module that forms protocol conversion device fully, and the resource that embedded platform provides is very abundant, comprises the MCU that disposal ability improves constantly, the communication interface of abundant species.Can process the processing of the data of various communications protocols, multiple protocol type based on the protocol conversion device of embedded platform.
The stipulations modular converter of a telotism comprises data receiver unit, Date Conversion Unit and data transmission unit, the data receiver unit adopts different communication protocol to receive/send the data of privately owned stipulations from data transmission unit, and Date Conversion Unit is done data the conversion process of privately owned stipulations.
The data receiver unit may receive the data of different stipulations, through conversion, becomes the data of another protocol type, sends via data transmission unit again.When the kind of privately owned stipulations was more, the stipulations modular converter just need to have preferably extensibility, to support the increase of different protocol type data.
Existing protocol converter is to do man-to-man stipulations conversion mostly, function singleness, and disposal ability is limited, and autgmentability is not enough.
Summary of the invention
But technical problem to be solved by this invention provides a kind of expansion convention conversion method, can be different communication protocol and set up reception/sending function module, with the data of supporting to adopt different communication protocol to send, for different stipulations are set up functional module, to support the expansion to dissimilar stipulations.
For solving the problems of the technologies described above, the invention provides a kind of intelligent protocol expanded conversion method based on embedded platform, it is characterized in that, may further comprise the steps:
1) sets up data transmit-receive module, for each communication protocol that need to use, all set up a data transceiver module, the distribution of the reception of responsible data/transmission and data;
2) set up data processing module, the stipulations of each type are set up specific data processing module for it, data processing module be used for to realize that data process and data transaction, comprises judging whether data are legal, resolution data, response data, translation data and be sent to data transmit-receive module;
3) data of stipulations one at first access by the communication interface of embedded platform, after stipulations one corresponding data transmit-receive module one reception, carry out the distribution of data, the data that are about to receive are resolved, and the result who make a thorough investigation of to resolve data processing module one that data are delivered to;
4) data of stipulations one are converted into the data of stipulations two in data processing module one, enter the handling process of stipulations two data, enter the data processing module two of stipulations two, proceed stipulations conversion or transmission, perhaps do other processing.The data of stipulations one are resolved out at data processing module one, do corresponding processing according to the result, such as: transmit leg is carried out corresponding etc., then convert the data format that stipulations two and stipulations one processing module all are familiar with to, enter the data processing module of stipulations two, carry out the stipulations conversion, or do other processing.
The aforesaid a kind of intelligent protocol expanded conversion method based on embedded platform, it is characterized in that: described data transmit-receive module comprises data buffer zone one, is used for holding the data processing module of other stipulations or the data that will send that data transmit-receive module sends over.The data buffering of data transmit-receive module holds all data that need to send by this data transmit-receive module, and data may be from any data processing module, also may be from other data transmit-receive modules.
The aforesaid a kind of intelligent protocol expanded conversion method based on embedded platform, it is characterized in that: described data processing module is included as data buffer zone two, is used for holding data transmit-receive module and divides the data that send.
The beneficial effect that the present invention reaches:
The intelligent protocol expanded conversion method based on embedded platform of the present invention by every kind of stipulations being set up a data transceiver module and data processing module, is carried out the conversion of stipulations, can realize the data transaction of different protocol types.
Description of drawings
Fig. 1 is data flow figure in the stipulations transfer process of the present invention.
Embodiment
Fig. 1 is data flow figure in the stipulations transfer process of the present invention.Suppose, there are stipulations one and 2 two kinds of data of stipulations to carry out the stipulations conversion, the data flow of this stipulations conversion method as shown in Figure 1, the data of stipulations one type at first access by the communication interface of embedded platform, does data according to concrete protocol type distribution after data are received and process, according to the result that data are processed, data or be converted into the type of data format that data processing module one and data processing module two can both be identified, enter the handling process of stipulations two data, perhaps do other processing.The data of stipulations two types are also processed such as the processing procedure of stipulations one.
The realization of this method cooperatively interacts by data transmit-receive module and data processing module.
Data transmit-receive module: data transmit-receive module is the implementation method towards communication protocol, for each communication protocol that need to use, for example TCP, UDP, RS485, Webservice etc. will set up a realization, the distribution of the reception of responsible data/transmission and data.Like this, no matter transfer of data adopts any communication protocol, all only needs to increase the data transmit-receive module of response, and when communication protocol did not increase, the implementation method that newly-increased data only need be called the specific data transceiver module got final product.
Data transmit-receive module also needs to be responsible for the distribution of data, with the data of receiving, simply resolves, and makes a thorough investigation of the result who resolves, and send corresponding data processing module with data.
Data processing module: data processing module is the implementation method towards stipulations, the specific data processing module of the foundation that the stipulations of each type are required to be.The major function of data processing module comprises that data are processed and data transaction, and data processing function comprises judging whether data are legal, resolution data, response data, translation data and be sent to data transmit-receive module.The processing of newly-increased protocol type data only needs to increase corresponding data processing module.
Functional module multiplexing: data transmit-receive functional module and data processing function module all are reusable, and the quantity that increases deal with data is multiplexing existing functional module then.Adopting different communication protocol to access in the situation of data of multiple protocol type, functional module multiplexing so that the realization of system is simple.Data for new access dispose corresponding data transmit-receive module and data processing module for it, can realize the stipulations conversion to data.The multiplexing functional module that refers to when setting up new data transaction flow process, only need be called corresponding data transmit-receive module and data processing module once setting up arbitrarily matched combined use.
The realization of stipulations conversion method of the present invention relies on the hardware resource of embedded platform and the functional module that software approach is set up.Set up the master control framing program for whole stipulations conversion, be responsible for entering, withdrawing from of program, the loading of functional module, and other are such as functions such as house dogs.
For concrete communication protocol is set up independently data transmit-receive module, this data transmit-receive module comprises a data buffering area and holds the data that will send that other functional modules send over.
For concrete stipulations are set up independently data processing module, this data processing module also comprises a data buffering area and holds data transmit-receive module and divide the data that send.
Set up configuration file, be all data configuration data transmit-receive module and data processing modules.
The present invention is illustrated according to the preferred embodiment, should be appreciated that but above-described embodiment does not limit the present invention in any form, and all employings are equal to replaces or technical scheme that the form of equivalent transformation obtains, all drops within protection scope of the present invention.
Claims (3)
1. the intelligent protocol the expanded conversion method based on embedded platform is characterized in that, may further comprise the steps:
1) sets up data transmit-receive module, for each communication protocol that need to use, all set up a data transceiver module, the distribution of the reception of responsible data/transmission and data;
2) set up data processing module, the stipulations of each type are set up specific data processing module for it, data processing module be used for to realize that data process and data transaction, comprises judging whether data are legal, resolution data, response data, translation data and be sent to data transmit-receive module;
3) data of stipulations one at first access by the communication interface of embedded platform, after stipulations one corresponding data transmit-receive module one reception, carry out the distribution of data, the data that are about to receive are resolved, and the result who make a thorough investigation of to resolve data processing module one that data are delivered to;
4) data of stipulations one are converted into the data of stipulations two in data processing module one, enter the handling process of stipulations two data, enter the data processing module two of stipulations two, proceed stipulations conversion or transmission.
2. a kind of intelligent protocol expanded conversion method based on embedded platform according to claim 1, it is characterized in that: described data transmit-receive module comprises data buffer zone one, is used for holding the data processing module of other stipulations or the data that will send that data transmit-receive module sends over.
3. a kind of intelligent protocol expanded conversion method based on embedded platform according to claim 1, it is characterized in that: described data processing module is included as data buffer zone two, is used for holding data transmit-receive module and divides the data that send.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2012103072144A CN102857499A (en) | 2012-08-27 | 2012-08-27 | Expandable intelligent protocol conversion method based on embedded platform |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2012103072144A CN102857499A (en) | 2012-08-27 | 2012-08-27 | Expandable intelligent protocol conversion method based on embedded platform |
Publications (1)
Publication Number | Publication Date |
---|---|
CN102857499A true CN102857499A (en) | 2013-01-02 |
Family
ID=47403693
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN2012103072144A Pending CN102857499A (en) | 2012-08-27 | 2012-08-27 | Expandable intelligent protocol conversion method based on embedded platform |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN102857499A (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105720689A (en) * | 2016-03-22 | 2016-06-29 | 广州供电局有限公司 | Power telecontrol protocol combination method and power telecontrol protocol combiner |
CN106506504A (en) * | 2016-11-17 | 2017-03-15 | 国网上海市电力公司 | A kind of intelligent protocol conversion method and device |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN201146538Y (en) * | 2008-01-21 | 2008-11-05 | 上海可鲁系统软件有限公司 | Apparatus for protocol conversion |
CN101562600A (en) * | 2008-04-18 | 2009-10-21 | 东莞市腾华电子技术有限公司 | Electric power automation communication protocol self-adaptive method based on condition code |
CN202141931U (en) * | 2011-07-13 | 2012-02-08 | 山东电力研究院 | Electric automobile charging station intelligent protocol converter based on AT 96 bus architecture |
US20120051542A1 (en) * | 2010-08-25 | 2012-03-01 | Samsung Electro-Mechanics Co., Ltd. | Remote communication apparatus including security function and remote electric power metering system using the same |
-
2012
- 2012-08-27 CN CN2012103072144A patent/CN102857499A/en active Pending
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN201146538Y (en) * | 2008-01-21 | 2008-11-05 | 上海可鲁系统软件有限公司 | Apparatus for protocol conversion |
CN101562600A (en) * | 2008-04-18 | 2009-10-21 | 东莞市腾华电子技术有限公司 | Electric power automation communication protocol self-adaptive method based on condition code |
US20120051542A1 (en) * | 2010-08-25 | 2012-03-01 | Samsung Electro-Mechanics Co., Ltd. | Remote communication apparatus including security function and remote electric power metering system using the same |
CN202141931U (en) * | 2011-07-13 | 2012-02-08 | 山东电力研究院 | Electric automobile charging station intelligent protocol converter based on AT 96 bus architecture |
Non-Patent Citations (1)
Title |
---|
佘春涛 等: "一种新型嵌入式规约转换器的研制", 《电网与水力发电进展》 * |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105720689A (en) * | 2016-03-22 | 2016-06-29 | 广州供电局有限公司 | Power telecontrol protocol combination method and power telecontrol protocol combiner |
CN105720689B (en) * | 2016-03-22 | 2018-06-08 | 广州供电局有限公司 | Power remote stipulations merging method and power remote stipulations combiner |
CN106506504A (en) * | 2016-11-17 | 2017-03-15 | 国网上海市电力公司 | A kind of intelligent protocol conversion method and device |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN105429858A (en) | Real-time message transmission method among multiple robots | |
CN102508473A (en) | Intelligent home control system, method and device | |
CN107395653B (en) | Enterprise instant communication system and method based on security isolation network gate | |
CN105245521A (en) | Protocol format conversion method and device and interface platform | |
CN102195946A (en) | Intelligent communication controller based on ARM (Advanced RISC Machines) technology | |
CN103996276A (en) | Remote transmission system and method for data of power plant | |
CN102802170A (en) | Method for acquiring Ethernet data frame, device and base station | |
CN205491169U (en) | Electric power data transmission device based on big dipper satellite short message communication for service | |
CN102857499A (en) | Expandable intelligent protocol conversion method based on embedded platform | |
CN102098738B (en) | Wireless network device capable of changeably distributing data transmission duration and method thereof | |
CN201781589U (en) | Coaxial-cable network broadband access device | |
CN103139291B (en) | A kind of location application server obtains the method for terminal gps data | |
CN105025273A (en) | Building visible intercom system connection method, password setting method and system | |
CN201993628U (en) | Communication system between PLC (Programmable Logic Controller) and CAN (Controller Area Network) bus | |
WO2009078241A1 (en) | Server device, communication terminal, access system, access method, and access program | |
CN101237663B (en) | Operation and maintenance management method and system for base station device in wireless communication system | |
CN103107831B (en) | Data two-way transmission method based on 2.4G one-way wireless communication protocol | |
CN103825966A (en) | Internet of things demonstration control system and control method | |
CN101320359A (en) | Control circuit and method of serial port equipment | |
CN103929457A (en) | Internet of things application data interaction system and method based on mobile internet | |
CN105188159B (en) | A kind of WIFI wireless communication modules | |
CN103780326B (en) | The transmission method of a kind of multinode voice data | |
CN202713363U (en) | Radio monitoring system based on protocol interface adaptation | |
CN204031197U (en) | The management system of master station automation equipment | |
CN204733185U (en) | A kind of station level network communication switching equipment |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C12 | Rejection of a patent application after its publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20130102 |