CN103647782A - Method for conversion between elevator communication protocol and elevator internet-of-things collection and communication protocol - Google Patents
Method for conversion between elevator communication protocol and elevator internet-of-things collection and communication protocol Download PDFInfo
- Publication number
- CN103647782A CN103647782A CN201310698480.9A CN201310698480A CN103647782A CN 103647782 A CN103647782 A CN 103647782A CN 201310698480 A CN201310698480 A CN 201310698480A CN 103647782 A CN103647782 A CN 103647782A
- Authority
- CN
- China
- Prior art keywords
- elevator
- protocol
- things
- frame
- elevator internet
- 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
Images
Landscapes
- Communication Control (AREA)
- Small-Scale Networks (AREA)
Abstract
The invention discloses a method for conversion between an elevator communication protocol and an elevator internet-of-things collection and communication protocol. A requesting step, a receiving step, a storage step, a converting step and a transmitting step are achieved by a protocol converter through PLC software, accordingly elevator communication protocol data transmitted by an elevator controller are converted into data of the elevator internet-of-things collection and communication protocol and transmitted to elevator internet-of-things nodes of the elevator internet-of-things collection and communication protocol. On the premise that the elevator communication protocol of elevator manufacturers is not leaked, the elevator communication protocol is converted into the elevator internet-of-things collection and communication protocol through a convenient PLC programming technology.
Description
Technical field
The present invention relates to elevator communication agreement and elevator Internet of Things and gather the method for converting protocol between communications protocol.
Background technology
At present, in elevator Internet of Things, elevator Internet of Things gathers communications protocol and has obtained more and more adding application widely.Elevator Internet of Things gather communications protocol packet structure as shown in Figure 1, it comprises Frame, be positioned at starting character STX before this Frame, be positioned at check character below of this Frame and be positioned at the end mark ETX after this check character.Answer in contrast, the elevator communication agreement of different elevator manufacturer is diversified.In elevator Internet of Things field, if the elevator data that electric life controller 91 is collected send to elevator Internet of things node 92, must could be realized by the data that the data transaction that meets elevator communication agreement become to meet elevator Internet of Things collection communications protocol by protocol converter 93, its theory diagram as shown in Figure 2.Wherein, the operation of electric life controller 91 major control elevators; Protocol converter 93 is responsible for elevator communication protocol conversion to become elevator internet of things equipment to gather communications protocol, and elevator Internet of things node 92 is responsible for cable data bag to be converted to wireless data packet.
For example, elevator vendor A wish is included its elevator I in elevator Internet of Things in, must become elevator internet of things equipment to gather communications protocol the elevator communication protocol conversion of elevator vendor A by protocol converter.But it is privately owned that the communications protocol that the electric life controller of elevator I adopts is generally elevator vendor A, do not open to the outside world.If adopt C language, realize the protocol conversion of application layer, need elevator vendor A to the program developer of protocol converter, to disclose the elevator communication agreement of self, or the program of again being write protocol converter by elevator vendor A, thereby bring inconvenience to elevator manufacturer.
Summary of the invention
Technical problem to be solved by this invention is to provide a kind of protocol converter to utilize soft PLC technology to realize the method for the protocol conversion between elevator communication agreement and elevator Internet of Things collection communications protocol.
The technical solution adopted in the present invention is: elevator communication agreement and elevator Internet of Things gather the method for converting protocol between communications protocol, it is characterized in that, comprise the following steps:
Request step, protocol converter sends the request of data frame that meets elevator communication agreement to electric life controller;
Receiving step, protocol converter receives the data answering frame of the described request of data frame of response of electric life controller transmission;
Storing step, protocol converter is kept at the data block in described data answering frame the address of appointment;
Switch process, protocol converter is by the synthetic Frame that meets elevator Internet of Things collection communications protocol of data chunk being kept in described assigned address, then this Frame is packed, starting character STX and check character are added respectively in Frame front and back after this packing, after check character, increase end mark ETX, thereby obtain, meet the packet that elevator Internet of Things gathers communications protocol;
Forwarding step, gathers the Packet Generation of communications protocol to the elevator Internet of things node of employing elevator Internet of Things collection communications protocol by meeting elevator Internet of Things;
Wherein, described protocol converter is to realize described request step, receiving step, storing step, switch process and forwarding step by soft PLC software.
Compared to C language, engineering staff is familiar with PLC programming mostly more.The present invention adopts the protocol converter based on soft PLC technology, the Neng Wei elevator engineering staff of manufacturer provides the easier mode that realizes protocol conversion, realized under the prerequisite of elevator communication agreement of not revealing elevator manufacturer, by PLC programming technique easily, become elevator Internet of Things to gather communications protocol elevator communication protocol conversion.
Accompanying drawing explanation
Fig. 1 is the structural representation that elevator Internet of Things gathers the packet of communications protocol.
Fig. 2 is the schematic block circuit diagram of communicating by letter realizing between electric life controller and elevator Internet of things node.
Fig. 3 is the schematic flow diagram of method for converting protocol one embodiment of the present invention.
Fig. 4 is the flow chart of method for converting protocol one specific embodiment of the present invention.
Fig. 5 shows the corresponding table of data answering frame and memory location.
Embodiment
Below in conjunction with accompanying drawing, the present invention is made and being further illustrated.
Refer to Fig. 3.Elevator communication agreement and elevator Internet of Things gather the method for converting protocol between communications protocol according to an embodiment of the invention, comprise the following steps:
Request step, protocol converter sends the request of data frame that meets elevator communication agreement to electric life controller;
Receiving step, protocol converter receives the data answering frame of the described request of data frame of response of electric life controller transmission;
Storing step, protocol converter is kept at the data block in data answering frame the address of appointment;
Switch process, protocol converter is by the synthetic Frame that meets elevator Internet of Things collection communications protocol of data chunk being kept in assigned address, then this Frame is packed, starting character STX and check character are added respectively in Frame front and back after this packing, after check character, increase end mark ETX, thereby obtain, meet the packet that elevator Internet of Things gathers communications protocol;
Forwarding step, gathers the Packet Generation of communications protocol to the elevator Internet of things node of employing elevator Internet of Things collection communications protocol by meeting elevator Internet of Things;
Wherein, protocol converter is to realize described request step, receiving step, storing step, switch process and forwarding step by soft PLC software.
Fig. 4 shows protocol converter and realizes and gather request step, receiving step, storing step, a switch process and forwarding step embodiment more specifically with soft PLC software.Shown in Fig. 4, in request step, be to electric life controller, to send the request of data frame (S11) that meets elevator communication agreement in the transmission network of the main program block MAIN of soft PLC software.In receiving step, in the reception network of the main program block MAIN of soft PLC software, receive the data answering frame (S12) of the described request of data frame of response that electric life controller sends.In storing step, the data block contents in data answering frame is stored in the PLC address of appointment (S13).In the present embodiment, the PLC address of this appointment is M district, and Fig. 5 shows the corresponding table of data answering frame and memory location.In switch process, with the ladder diagram command M OVB of soft PLC software, the content of data block is combined into and meets the Frame that elevator Internet of Things gathers communications protocol, wherein, the order permutation and combination that elevator Internet of Things gathers communications protocol regulation is first pressed the byte of data block in available MOVB instruction, then with MOVB instruction, the bit data in byte is pressed to the order permutation and combination that elevator Internet of Things gathers communications protocol regulation; ADD command calculations check character with soft PLC software, and with the MOVB instruction of soft PLC software, after the Frame after packing, add the check character calculating, before Frame with the MOVB instruction of soft PLC software after packing, add starting character STX, with the MOVB instruction of soft PLC software, after check character, increase end mark ETX.In acquisition, meet after the packet of elevator Internet of Things collection communications protocol, set sends request sign.Wherein, check character is double byte, is to calculate (S14) by cumulative sum algorithm.In forwarding step, the main program block MAIN of soft PLC software scans described sending request while indicating, the Packet Generation that meets elevator Internet of Things collection communications protocol is gathered to the elevator Internet of things node of communications protocol to employing elevator Internet of Things.This transmission is periodically, can take T (50ms≤T≤200) by the timer of soft PLC and send (S15) as the cycle.
The protocol converter of employing based on soft PLC technology, can provide the engineering staff of elevator manufacturer easy programming mode, so can not reveal under the prerequisite of our factory's elevator communication agreement, our factory's elevator communication protocol conversion can be become elevator Internet of Things to gather communications protocol.
Claims (7)
1. elevator communication agreement and elevator Internet of Things gather the method for converting protocol between communications protocol, it is characterized in that, comprise the following steps:
Request step, protocol converter sends the request of data frame that meets elevator communication agreement to electric life controller;
Receiving step, protocol converter receives the data answering frame of the described request of data frame of response of electric life controller transmission;
Storing step, protocol converter is kept at the data block in described data answering frame the address of appointment;
Switch process, protocol converter is by the synthetic Frame that meets elevator Internet of Things collection communications protocol of data chunk being kept in described assigned address, then this Frame is packed, starting character STX and check character are added respectively in Frame front and back after this packing, after check character, increase end mark ETX, thereby obtain, meet the packet that elevator Internet of Things gathers communications protocol;
Forwarding step, gathers the Packet Generation of communications protocol to the elevator Internet of things node of employing elevator Internet of Things collection communications protocol by meeting elevator Internet of Things;
Wherein, described protocol converter is to realize described request step, receiving step, storing step, switch process and forwarding step by soft PLC software.
2. method for converting protocol as claimed in claim 1, is characterized in that, in described request step, is to electric life controller, to send the request of data frame that meets elevator communication agreement in the transmission network of the main program block MAIN of soft PLC software.
3. method for converting protocol as claimed in claim 2, is characterized in that, in described receiving step, is the data answering frame that receives the described request of data frame of response that electric life controller sends in the reception network of the main program block MAIN of soft PLC software.
4. method for converting protocol as claimed in claim 3, is characterized in that, in described switch process, meets after the packet of elevator Internet of Things collection communications protocol in acquisition, and set sends request sign.
5. method for converting protocol as claimed in claim 4, it is characterized in that, in described forwarding step, the main program block MAIN of soft PLC software scans described sending request while indicating, the Packet Generation that meets elevator Internet of Things collection communications protocol is gathered to the elevator Internet of things node of communications protocol to employing elevator Internet of Things.
6. method for converting protocol as claimed in claim 1, it is characterized in that, in described switch process, with the MOVB instruction of soft PLC software, the content of data block is combined into and meets the Frame that elevator Internet of Things gathers communications protocol, ADD command calculations check character with soft PLC software, and after the Frame after packing, add the check character that this calculates with the MOVB instruction of soft PLC software, before Frame with the MOVB instruction of soft PLC software after packing, add starting character STX, with the MOVB instruction of soft PLC software, after check character, increase end mark ETX.
7. the method for converting protocol as described in claim 1 or 6, is characterized in that, described check character is double byte, is to calculate by cumulative sum algorithm.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310698480.9A CN103647782B (en) | 2013-12-18 | 2013-12-18 | Method for conversion between elevator communication protocol and elevator internet-of-things collection and communication protocol |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310698480.9A CN103647782B (en) | 2013-12-18 | 2013-12-18 | Method for conversion between elevator communication protocol and elevator internet-of-things collection and communication protocol |
Publications (2)
Publication Number | Publication Date |
---|---|
CN103647782A true CN103647782A (en) | 2014-03-19 |
CN103647782B CN103647782B (en) | 2017-02-22 |
Family
ID=50252938
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201310698480.9A Active CN103647782B (en) | 2013-12-18 | 2013-12-18 | Method for conversion between elevator communication protocol and elevator internet-of-things collection and communication protocol |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN103647782B (en) |
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103997497A (en) * | 2014-05-24 | 2014-08-20 | 上海新时达电气股份有限公司 | Communication method and protocol converter for internet of things of elevator |
CN103997425A (en) * | 2014-05-24 | 2014-08-20 | 上海新时达电气股份有限公司 | Self-restoration method for nodes, collector and repeater |
CN104079567A (en) * | 2014-06-25 | 2014-10-01 | 深圳市汇川技术股份有限公司 | Protocol converter, protocol conversion method and elevator remote monitoring system |
CN111123826A (en) * | 2019-12-26 | 2020-05-08 | 浙江机电职业技术学院 | Data transmission method and device and electronic equipment |
US11601396B2 (en) | 2018-10-16 | 2023-03-07 | Kone Corporation | Transportation infrastructure service discovery arrangement |
US12052250B2 (en) | 2018-10-16 | 2024-07-30 | Kone Corporation | Network commissioning of transportation infrastructure peripheral devices |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112840599B (en) * | 2018-10-16 | 2024-03-26 | 通力股份公司 | Device management for hybrid elevator environments |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN201527696U (en) * | 2009-07-20 | 2010-07-14 | 广州地铁设计研究院有限公司 | Fire hazard linkage control system applied to urban rail transit |
US20120296963A1 (en) * | 2011-03-30 | 2012-11-22 | Dexi Lu | Open wireless architecture (owa) mobile cloud infrastructure and method |
CN103347024A (en) * | 2013-07-05 | 2013-10-09 | 昆山华谷科技发展有限公司 | Method and device for conversion of elevator communication protocols |
-
2013
- 2013-12-18 CN CN201310698480.9A patent/CN103647782B/en active Active
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN201527696U (en) * | 2009-07-20 | 2010-07-14 | 广州地铁设计研究院有限公司 | Fire hazard linkage control system applied to urban rail transit |
US20120296963A1 (en) * | 2011-03-30 | 2012-11-22 | Dexi Lu | Open wireless architecture (owa) mobile cloud infrastructure and method |
CN103347024A (en) * | 2013-07-05 | 2013-10-09 | 昆山华谷科技发展有限公司 | Method and device for conversion of elevator communication protocols |
Cited By (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103997497A (en) * | 2014-05-24 | 2014-08-20 | 上海新时达电气股份有限公司 | Communication method and protocol converter for internet of things of elevator |
CN103997425A (en) * | 2014-05-24 | 2014-08-20 | 上海新时达电气股份有限公司 | Self-restoration method for nodes, collector and repeater |
CN103997425B (en) * | 2014-05-24 | 2017-07-14 | 上海新时达电气股份有限公司 | A kind of self-recovery method of node, collector and repeater |
CN104079567A (en) * | 2014-06-25 | 2014-10-01 | 深圳市汇川技术股份有限公司 | Protocol converter, protocol conversion method and elevator remote monitoring system |
CN104079567B (en) * | 2014-06-25 | 2018-07-13 | 深圳市汇川技术股份有限公司 | Protocol converter, method for converting protocol and elevator remote monitoring system |
US11601396B2 (en) | 2018-10-16 | 2023-03-07 | Kone Corporation | Transportation infrastructure service discovery arrangement |
US12052250B2 (en) | 2018-10-16 | 2024-07-30 | Kone Corporation | Network commissioning of transportation infrastructure peripheral devices |
CN111123826A (en) * | 2019-12-26 | 2020-05-08 | 浙江机电职业技术学院 | Data transmission method and device and electronic equipment |
Also Published As
Publication number | Publication date |
---|---|
CN103647782B (en) | 2017-02-22 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN103647782A (en) | Method for conversion between elevator communication protocol and elevator internet-of-things collection and communication protocol | |
JP6100857B2 (en) | Protocol converter | |
WO2013127191A1 (en) | Internet of things protocol conversion system and conversion method | |
CN105763619B (en) | The method and device that client and server-side are communicated | |
CN104166384A (en) | Method and special-purpose device for household electrical interconnection intercommunication bottom transmission | |
CN104539712A (en) | Intelligent household appliance data transmission method | |
CN104486783B (en) | Polymorphic wireless gateway system and control method for polymorphic wireless monitor network | |
CN101005418A (en) | Communication method and device between ether network and radio sensor network | |
CN103095703A (en) | Method and equipment and system for achieving data interaction between network and serial port | |
CN203167301U (en) | Gatewayconverting WiFi to ZigBee | |
CN104932373A (en) | Intelligent industrial network protocol wireless converter | |
CN106899461B (en) | Home gateway, data communication method used for same and intelligent home system | |
CN204129933U (en) | A kind of internet of things intelligent household control device of wireless | |
CN104507100B (en) | A method of Zigbee network is managed using wireless terminal | |
CN101442524A (en) | Method for data communication with national electric network marketing system server | |
CN207319431U (en) | A kind of intelligent meter data recording system based on NB-IoT | |
CN204721367U (en) | Width funtion based on ethernet ip v6 communication protocol is powered concentrator | |
CN207995122U (en) | A kind of multi-protocols intelligent gateway based on narrowband Internet of Things | |
Li et al. | Design of Smart Home System Based on Zigbee | |
CN103368908A (en) | Gateway protocol, gateway equipment and electrical equipment control system | |
CN103391223B (en) | A kind of IEC101 protocol massages fast automatic detecting method | |
CN204291526U (en) | A kind of gateway | |
CN109673044A (en) | Communication control method, chip, the gateway apparatus of chip | |
CN106297225A (en) | The remote control thereof of a kind of home controller and system | |
CN104378778A (en) | Method and system for communication between master station and slave station in Internet of Things and conversion gateway |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C14 | Grant of patent or utility model | ||
GR01 | Patent grant |