CN103607406A - Protocol adaptation system and method applied to smart power grids - Google Patents
Protocol adaptation system and method applied to smart power grids Download PDFInfo
- Publication number
- CN103607406A CN103607406A CN201310617922.2A CN201310617922A CN103607406A CN 103607406 A CN103607406 A CN 103607406A CN 201310617922 A CN201310617922 A CN 201310617922A CN 103607406 A CN103607406 A CN 103607406A
- Authority
- CN
- China
- Prior art keywords
- protocol
- gateway
- packet
- target data
- application layer
- 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)
Abstract
The invention discloses a protocol adaptation system and method applied to smart power grids. The system comprises a receiving device, a protocol conversion device and an uploading device, wherein the receiving device is used for receiving data packets sent by gateways of various collecting devices, the protocol conversion device is used for converting protocol formats of the data packets into a unified protocol format to obtain a target data packet, and the uploading device is used for uploading the target data packet to an application layer. By the adoption of the system and method, comprehensive utilization of collected data in the application layer can be facilitated.
Description
Technical field
The present invention relates to intelligent grid technical field, particularly a kind of protocol adaptation system and method that is applied to intelligent grid.
Background technology
In week known to crowd, in intelligent grid field, collecting device all needs gathered data to be uploaded to application layer by gateway, for application layer institute.But due in the prior art, the gateway configuring for collecting device is not quite similar, the form that so just makes to be finally uploaded to the data of application layer is also not quite similar, and this is unfavorable for that application layer fully utilizes these data undoubtedly.
Summary of the invention
In view of this, the object of the present invention is to provide a kind of protocol adaptation system and method that is applied to intelligent grid, to be conducive to application layer comprehensive utilization image data.
For achieving the above object, the invention provides following technical scheme:
A protocol adaptation system that is applied to intelligent grid, comprising:
Receiving system is used for, and receives the packet that the gateway of various collecting devices sends;
Protocol conversion apparatus is used for, and the protocol format of various packets is converted to unified protocol format, obtains target data bag;
Upload device for, described target data is wrapped and is reached application layer.
Preferably, described receiving system comprises:
The first receiver module is used for, and by socket Socket mode, receives the packet that described gateway sends;
The second receiver module is used for, and by Webservice mode, receives the packet that described gateway sends.
Preferably, described protocol conversion apparatus comprises:
Parse module is used for, and according to default protocol conversion rule, described packet is unpacked to processing, obtains the data message in described packet;
Package module is used for, and described data message is unified to package, obtains the identical target data bag of form.
Preferably, the gateway of described collecting device comprises: the gateway of state's net standard agreement, the gateway of Internet of Things integrated service and the gateway of proprietary protocol.
Preferably, when the gateway of described collecting device is the gateway of state's net standard agreement, described default protocol conversion rule comprises: power transformation protocol conversion rule and transmission of electricity protocol conversion rule.
Preferably, described in, uploading device comprises:
On first, transmission module is used for, and described pre-transmission packet is uploaded to described application layer in socket Socket mode;
On second, transmission module is used for, and described pre-transmission packet is uploaded to described application layer in Webservice mode.
Preferably, described system also comprises:
Inking device is used for, and configures the parameters of the gateway of described collecting device.
Preferably, described parameters comprises Internet protocol IP address, port numbers, protocol information and the collection period of described gateway.
A protocol fitting method, comprising:
Receive the packet that the gateway of various collecting devices sends;
The protocol format of various packets is converted to unified protocol format, obtains target data bag;
Described target data is wrapped and reached application layer.
Preferably, the described protocol format by various packets is converted to unified protocol format, obtains target data bag, comprising:
According to default protocol conversion rule, described packet is unpacked to processing, obtain the data message in described packet;
Described data message is unified to package, obtain the identical target data bag of form.
By above-mentioned technical scheme, can be found out, in embodiments of the present invention, the protocol format of the packet that first protocol conversion apparatus can send the gateway of various collecting devices is converted to unified protocol format, obtains target data bag; Then uploading device can wrap target data to reach application layer.Because the protocol format of above-mentioned target data bag is identical, so this is conducive to undoubtedly application layer and fully utilizes these data.
Accompanying drawing explanation
In order to be illustrated more clearly in the embodiment of the present invention or technical scheme of the prior art, to the accompanying drawing of required use in embodiment or description of the Prior Art be briefly described below, apparently, accompanying drawing in the following describes is only some embodiments of the present invention, for those of ordinary skills, do not paying under the prerequisite of creative work, can also obtain according to these accompanying drawings other accompanying drawing.
The module map of the protocol adaptation system that is applied to intelligent grid that Fig. 1 provides for the embodiment of the present invention;
Another module map of the protocol adaptation system that is applied to intelligent grid that Fig. 2 provides for the embodiment of the present invention;
The another module map of the protocol adaptation system that is applied to intelligent grid that Fig. 3 provides for the embodiment of the present invention;
Another module map of the protocol adaptation system that is applied to intelligent grid that Fig. 4 provides for the embodiment of the present invention;
The flow chart of the protocol fitting method that is applied to intelligent grid that Fig. 5 provides for the embodiment of the present invention.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is clearly and completely described, obviously, described embodiment is only the present invention's part embodiment, rather than whole embodiment.Embodiment based in the present invention, those of ordinary skills, not making the every other embodiment obtaining under creative work prerequisite, belong to the scope of protection of the invention.
The invention discloses a kind of protocol adaptation system that is applied to intelligent grid, as shown in Figure 1, this system at least comprises with lower device:
Receiving system 11 for, receive the packet that the gateway of various collecting devices sends;
Concrete, the gateway of collecting device can comprise gateway, the gateway of Internet of Things integrated service and the gateway of proprietary protocol of state's net standard agreement.
Upload device 13 for, target data is wrapped and is reached application layer.
Therefore in embodiments of the present invention, the protocol format of the packet that protocol conversion apparatus 12 can send the gateway of various collecting devices is converted to unified protocol format, obtain target data bag; Then uploading device 13 can wrap target data to reach application layer.Because the protocol format of above-mentioned target data bag is identical, this is conducive to undoubtedly application layer and fully utilizes these data.
In other embodiment of the present invention, as shown in Figure 2, the receiving system 11 in above-mentioned all embodiment can comprise:
The first receiver module 21 for, by socket (Socket) mode, receive the packet that gateway sends;
The second receiver module 22 for, by Webservice mode, receive the packet that gateway sends.
In other embodiment of the present invention, as shown in Figure 3, the protocol conversion apparatus 12 in above-mentioned all embodiment can comprise:
Concrete, when the gateway of collecting device is the gateway of state's net standard agreement, default protocol conversion rule can comprise power transformation protocol conversion rule and transmission of electricity protocol conversion rule;
Therefore, adopt system of the present invention, when the gateway of the compatible newtype of needs, only the translation-protocol of this gateway need be placed in to parse module 31, and without revising system code and restarting system, this has reduced staff's workload undoubtedly.
During in the present invention, other is implemented, as shown in Figure 4, uploading device 13 and can comprise in above-mentioned all embodiment:
On first transmission module 41 for, will send in advance packet and be uploaded to application layer in socket (Socket) mode;
On second transmission module 42 for, will send in advance packet and upload formula application layer in Webservice mode.
In other embodiment of the present invention, still referring to Fig. 1, the system in above-mentioned all embodiment also can comprise:
Inking device 14 is for, the parameters of gateway of configuration collecting device;
Concrete, parameters can comprise Internet protocol (Internet Protocol, IP) address, port numbers, protocol information and the collection period etc. of the gateway of various collecting devices.
Corresponding with said system, as shown in Figure 5, the invention also discloses a kind of protocol fitting method that is applied to intelligent grid, comprising:
S51: receive the packet that the gateway of various collecting devices sends;
S52: the protocol format of various packets is converted to unified protocol format, obtains target data bag;
Concrete, step S52 can specifically be refined as:
According to default protocol conversion rule, packet is unpacked to processing, obtain the data message in target data bag;
Data message is unified to package, obtain the identical target data bag of form.
S53: target data is wrapped and reached application layer.
Therefore in embodiments of the present invention, the protocol format of the packet that first gateway of various collecting devices can be sent is converted to unified protocol format, obtain target data bag; Then target data can be wrapped and reached application layer.Because the protocol format of above-mentioned target data bag is identical, this is conducive to undoubtedly application layer and fully utilizes these data.
Above-mentioned explanation to the disclosed embodiments, makes professional and technical personnel in the field can realize or use the present invention.To the multiple modification of these embodiment, will be apparent for those skilled in the art, General Principle as defined herein can, in the situation that not departing from the spirit or scope of the present invention, realize in other embodiments.Therefore, the present invention will can not be restricted to these embodiment shown in this article, but will meet the widest scope consistent with principle disclosed herein and features of novelty.
Claims (10)
1. a protocol adaptation system that is applied to intelligent grid, is characterized in that, comprising:
Receiving system is used for, and receives the packet that the gateway of various collecting devices sends;
Protocol conversion apparatus is used for, and the protocol format of various packets is converted to unified protocol format, obtains target data bag;
Upload device for, described target data is wrapped and is reached application layer.
2. system according to claim 1, is characterized in that, described receiving system comprises:
The first receiver module is used for, and by socket Socket mode, receives the packet that described gateway sends;
The second receiver module is used for, and by Webservice mode, receives the packet that described gateway sends.
3. system according to claim 1, is characterized in that, described protocol conversion apparatus comprises:
Parse module is used for, and according to default protocol conversion rule, described packet is unpacked to processing, obtains the data message in described packet;
Package module is used for, and described data message is unified to package, obtains the identical target data bag of form.
4. system according to claim 3, is characterized in that, the gateway of described collecting device comprises: the gateway of state's net standard agreement, the gateway of Internet of Things integrated service and the gateway of proprietary protocol.
5. system according to claim 4, is characterized in that, when the gateway of described collecting device is the gateway of state's net standard agreement, described default protocol conversion rule comprises: power transformation protocol conversion rule and transmission of electricity protocol conversion rule.
6. system according to claim 1, is characterized in that, described in upload device and comprise:
On first, transmission module is used for, and described pre-transmission packet is uploaded to described application layer in socket Socket mode;
On second, transmission module is used for, and described pre-transmission packet is uploaded to described application layer in Webservice mode.
7. system according to claim 1, is characterized in that, also comprises:
Inking device is used for, and configures the parameters of the gateway of described collecting device.
8. system according to claim 7, is characterized in that, described parameters comprises Internet protocol IP address, port numbers, protocol information and the collection period of described gateway.
9. a protocol fitting method, is characterized in that, comprising:
Receive the packet that the gateway of various collecting devices sends;
The protocol format of various packets is converted to unified protocol format, obtains target data bag;
Described target data is wrapped and reached application layer.
10. method according to claim 9, is characterized in that, the described protocol format by various packets is converted to unified protocol format, obtains target data bag, comprising:
According to default protocol conversion rule, described packet is unpacked to processing, obtain the data message in described packet;
Described data message is unified to package, obtain the identical target data bag of form.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310617922.2A CN103607406A (en) | 2013-11-27 | 2013-11-27 | Protocol adaptation system and method applied to smart power grids |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310617922.2A CN103607406A (en) | 2013-11-27 | 2013-11-27 | Protocol adaptation system and method applied to smart power grids |
Publications (1)
Publication Number | Publication Date |
---|---|
CN103607406A true CN103607406A (en) | 2014-02-26 |
Family
ID=50125606
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201310617922.2A Pending CN103607406A (en) | 2013-11-27 | 2013-11-27 | Protocol adaptation system and method applied to smart power grids |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN103607406A (en) |
Cited By (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104320314A (en) * | 2014-09-25 | 2015-01-28 | 王京沪 | Intelligent home system based on multi-network communication architecture |
CN105978860A (en) * | 2016-04-26 | 2016-09-28 | 国网山东省电力公司经济技术研究院 | Implementation method of power system software interface adapter |
CN107124465A (en) * | 2017-05-12 | 2017-09-01 | 国网江苏省电力公司电力科学研究院 | Towards the distributed photovoltaic remote data acquisition system framework method accessed on a large scale |
CN107634979A (en) * | 2016-07-19 | 2018-01-26 | 北京发那科机电有限公司 | A kind of transmission method and device of computer digital control machine tool data |
CN107942778A (en) * | 2017-11-09 | 2018-04-20 | 北京许继电气有限公司 | Intellisense cut-in method and system |
CN108063775A (en) * | 2018-02-13 | 2018-05-22 | 广州云湾信息技术有限公司 | Communication protocol compatibility method, apparatus and system |
CN110855801A (en) * | 2019-12-03 | 2020-02-28 | 广州供电局有限公司 | Gateway for electric power multi-interface transmission and data transmission method |
CN111628986A (en) * | 2020-05-22 | 2020-09-04 | 广东电网有限责任公司 | Interactive data processing method, system, device, computer equipment and storage medium |
CN112738158A (en) * | 2020-12-11 | 2021-04-30 | 深圳供电局有限公司 | Information transmission method and device, computer equipment and storage medium |
CN112995100A (en) * | 2019-12-16 | 2021-06-18 | 国网冀北电力有限公司信息通信分公司 | Intelligent terminal suitable for power Internet of things and communication access method thereof |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20020003803A1 (en) * | 2000-06-15 | 2002-01-10 | Jun Kametani | Network system and packet data transmission method |
CN1866835A (en) * | 2006-03-31 | 2006-11-22 | 华为技术有限公司 | Method for data transmission in network |
CN1917510A (en) * | 2005-08-16 | 2007-02-21 | 腾讯科技(深圳)有限公司 | Method for accessing address list, and system of address list |
CN101267448A (en) * | 2008-05-09 | 2008-09-17 | 东北大学 | An intelligent protocol conversion device and method based on embedded QNX operating system |
CN101917067A (en) * | 2010-08-13 | 2010-12-15 | 华北电力大学(保定) | Method for integrating power equipment state monitoring devices |
CN102255908A (en) * | 2011-07-08 | 2011-11-23 | 北京邮电大学 | Internet of things gateway protocol consistency realization method |
-
2013
- 2013-11-27 CN CN201310617922.2A patent/CN103607406A/en active Pending
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20020003803A1 (en) * | 2000-06-15 | 2002-01-10 | Jun Kametani | Network system and packet data transmission method |
CN1917510A (en) * | 2005-08-16 | 2007-02-21 | 腾讯科技(深圳)有限公司 | Method for accessing address list, and system of address list |
CN1866835A (en) * | 2006-03-31 | 2006-11-22 | 华为技术有限公司 | Method for data transmission in network |
CN101267448A (en) * | 2008-05-09 | 2008-09-17 | 东北大学 | An intelligent protocol conversion device and method based on embedded QNX operating system |
CN101917067A (en) * | 2010-08-13 | 2010-12-15 | 华北电力大学(保定) | Method for integrating power equipment state monitoring devices |
CN102255908A (en) * | 2011-07-08 | 2011-11-23 | 北京邮电大学 | Internet of things gateway protocol consistency realization method |
Cited By (11)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104320314A (en) * | 2014-09-25 | 2015-01-28 | 王京沪 | Intelligent home system based on multi-network communication architecture |
CN105978860A (en) * | 2016-04-26 | 2016-09-28 | 国网山东省电力公司经济技术研究院 | Implementation method of power system software interface adapter |
CN107634979A (en) * | 2016-07-19 | 2018-01-26 | 北京发那科机电有限公司 | A kind of transmission method and device of computer digital control machine tool data |
CN107124465A (en) * | 2017-05-12 | 2017-09-01 | 国网江苏省电力公司电力科学研究院 | Towards the distributed photovoltaic remote data acquisition system framework method accessed on a large scale |
CN107942778A (en) * | 2017-11-09 | 2018-04-20 | 北京许继电气有限公司 | Intellisense cut-in method and system |
CN108063775A (en) * | 2018-02-13 | 2018-05-22 | 广州云湾信息技术有限公司 | Communication protocol compatibility method, apparatus and system |
CN108063775B (en) * | 2018-02-13 | 2021-06-08 | 广州云智易物联网有限公司 | Communication protocol compatible method, device and system |
CN110855801A (en) * | 2019-12-03 | 2020-02-28 | 广州供电局有限公司 | Gateway for electric power multi-interface transmission and data transmission method |
CN112995100A (en) * | 2019-12-16 | 2021-06-18 | 国网冀北电力有限公司信息通信分公司 | Intelligent terminal suitable for power Internet of things and communication access method thereof |
CN111628986A (en) * | 2020-05-22 | 2020-09-04 | 广东电网有限责任公司 | Interactive data processing method, system, device, computer equipment and storage medium |
CN112738158A (en) * | 2020-12-11 | 2021-04-30 | 深圳供电局有限公司 | Information transmission method and device, computer equipment and storage medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN103607406A (en) | Protocol adaptation system and method applied to smart power grids | |
CN201698576U (en) | Electricity utilization information collecting system and collector | |
CN104717306A (en) | Greenhouse Internet-of-Things measurement and control system, and data synchronization method thereof | |
CN102692557A (en) | Power-expenditure information acquisition terminal and method | |
EP2348601A3 (en) | Smart power delivery system and related method | |
CN102769740A (en) | Method for monitoring mobile terminal and remote video | |
CN102523275A (en) | Internet of things access system based on FPGA and method thereof | |
CN204517863U (en) | A kind of greenhouse Internet of Things TT&C system | |
CN203167301U (en) | Gatewayconverting WiFi to ZigBee | |
CN102006192A (en) | Control system and control method for digital family network equipment | |
CN103647782A (en) | Method for conversion between elevator communication protocol and elevator internet-of-things collection and communication protocol | |
CN110072208B (en) | Photovoltaic power generation-based wireless intelligent network communication device | |
CN202587006U (en) | FPGA-based access device of internet of things | |
CN107945476A (en) | A kind of general microenvironment monitor and its monitoring method | |
CN109120063A (en) | A kind of plug & play sensor monitoring method and its system and acquisition unit | |
CN207995122U (en) | A kind of multi-protocols intelligent gateway based on narrowband Internet of Things | |
CN207926643U (en) | A kind of Internet of things middleware equipment of low-power consumption | |
CN206878869U (en) | A kind of EPA CAN converters | |
CN104794582A (en) | Power information acquiring and managing system based on wireless private power network | |
CN104639532A (en) | Collection system applied to electricity consumption information and data transmission method collection system | |
CN204721367U (en) | Width funtion based on ethernet ip v6 communication protocol is powered concentrator | |
CN203338054U (en) | Agricultural environment monitoring system | |
CN103051488B (en) | A kind of communication system for monitoring terminal real-time online state-detection of transmitting electricity | |
WO2016062027A1 (en) | Intelligent household appliance control method, device, and smart home system | |
CN202272595U (en) | Elevator monitoring system |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | 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: 20140226 |
|
RJ01 | Rejection of invention patent application after publication |