CN103647782B - 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
- CN103647782B CN103647782B CN201310698480.9A CN201310698480A CN103647782B CN 103647782 B CN103647782 B CN 103647782B CN 201310698480 A CN201310698480 A CN 201310698480A CN 103647782 B CN103647782 B CN 103647782B
- Authority
- CN
- China
- Prior art keywords
- elevator
- things
- protocol
- frame
- 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.)
- Active
Links
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 gather the method for converting protocol between communications protocol.
Background technology
At present, in elevator Internet of Things, elevator Internet of Things collection communications protocol has been obtained for increasingly increased and widely should
With.Elevator Internet of Things gathers the structure of the packet of communications protocol as shown in figure 1, it includes Frame, before this Frame
Starting character STX in face, it is located at this Frame check character below and is located at the end mark ETX after this check character.Phase therewith
Corresponding is that the elevator communication agreement of different elevator manufacturers is diversified.In elevator Internet of Things field, if by electricity
The elevator data that terraced controller 91 collects is sent to elevator Internet of things node 92 it is necessary to will be accorded with by by protocol converter 93
The data that the data conversion of conjunction elevator communication agreement becomes to meet elevator Internet of Things collection communications protocol just enables, its theory diagram
As shown in Figure 2.Wherein, the operation of electric life controller 91 major control elevator;Protocol converter 93 is responsible for elevator communication agreement
It is converted into elevator internet of things equipment collection communications protocol, elevator Internet of things node 92 is responsible for for cable data bag being converted to no line number
According to bag.
For example, elevator vendor A is intended to include its elevator I in elevator Internet of Things it is necessary to by protocol converter by Elevator Factory
The elevator communication protocol conversion of business A becomes elevator internet of things equipment collection communications protocol.But, the electric life controller of elevator I adopts
Communications protocol be usually elevator vendor A privately owned, do not open to the outside world.If realize the protocol conversion of application layer using C language,
Elevator vendor A is then needed to disclose the elevator communication agreement of itself to the program developer of protocol converter, or by Elevator Factory
Business A writes the program of protocol converter again, thus bringing inconvenience to elevator manufacturer.
Content of the invention
The technical problem to be solved is that providing a kind of protocol converter to realize elevator using SoftPLC technology leads to
The method of the protocol conversion between news 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 agreement between communications protocol
Conversion method is it is characterised in that comprise the following steps:
Request step, protocol converter sends the request of data frame meeting elevator communication agreement to electric life controller;
Receiving step, protocol converter receives the data answering of the described request of data frame of response that electric life controller sends
Frame;
Storing step, the data block in described data answering frame is saved in the address specified by protocol converter;
Switch process, the data chunk being saved in described specified address synthesis is met elevator Internet of Things by protocol converter
The Frame of collection communications protocol, then packs to this Frame, and the Frame front and back after this packing is respectively
Add starting character STX and check character, after check character, increase end mark ETX, lead to thus obtaining and meeting the collection of elevator Internet of Things
The packet of news agreement;
Forwarding step, the packet meeting elevator Internet of Things collection communications protocol is sent to using the collection of elevator Internet of Things
The elevator Internet of things node of communications protocol;
Wherein, described protocol converter is to realize described request step, receiving step, storage by Soft- PLC software
Step, switch process and forwarding step.
For C language, engineering staff is much more familiar with PLC programming mostly.The present invention is using based on SoftPLC technology
Protocol converter, can provide the easier mode realizing protocol conversion it is achieved that not letting out for elevator manufacturer engineering staff
On the premise of the elevator communication agreement of dew elevator manufacturer, elevator communication protocol conversion is become by electricity by convenient PLC programming technique
Terraced Internet of Things gathers communications protocol.
Brief description
Fig. 1 is the structural representation of the packet that elevator Internet of Things gathers communications protocol.
Fig. 2 is the schematic block circuit diagram realizing the communication 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 storage location.
Specific embodiment
Below in conjunction with the accompanying drawings the present invention is made and further illustrating.
Refer to Fig. 3.Between elevator communication agreement according to an embodiment of the invention and elevator Internet of Things collection communications protocol
Method for converting protocol, comprise the following steps:
Request step, protocol converter sends the request of data frame meeting elevator communication agreement to electric life controller;
Receiving step, protocol converter receives the data answering of the described request of data frame of response that electric life controller sends
Frame;
Storing step, the data block in data answering frame is saved in the address specified by protocol converter;
Switch process, the data chunk being saved in specified address synthesis is met the collection of elevator Internet of Things by protocol converter
The Frame of communications protocol, then packs to this Frame, and the Frame front and back after this packing is added respectively
Starting character STX and check character, increase end mark ETX after check character, thus obtain meeting elevator Internet of Things collection communication association
The packet of view;
Forwarding step, the packet meeting elevator Internet of Things collection communications protocol is sent to using the collection of elevator Internet of Things
The elevator Internet of things node of communications protocol;
Wherein, protocol converter is to be realized described request step, receiving step, storing step, turned by Soft- PLC software
Change step and forwarding step.
Fig. 4 shows that protocol converter Soft- PLC software realizes collection request step, receiving step, storing step, conversion
Step and more specifically one embodiment of forwarding step.In conjunction with shown in Fig. 4, in request step, it is the main journey in Soft- PLC software
Sending in network of sequence block MAIN sends, to electric life controller, the request of data frame meeting elevator communication agreement(S11).Receiving
In step, receive, in the receiving of main program block MAIN of Soft- PLC software, the described data of response that electric life controller sends in network
The data answering frame (S12) of claim frame.In storing step, the data block contents in data answering frame are stored in and specify
In PLC address(S13).In the present embodiment, the PLC address that this is specified is M area, and Fig. 5 shows data answering frame and storage position
The corresponding table put.In switch process, with ladder diagram command M OVB of Soft- PLC software, the content of data block is combined into and meets electricity
Terraced Internet of Things gathers the Frame of communications protocol, and wherein, the byte of data block is first adopted by available MOVB instruction by elevator Internet of Things
The order permutation and combination that collection communications protocol specifies, then with MOVB instruction, the position data in byte is pressed the collection communication of elevator Internet of Things
The order permutation and combination that agreement specifies;Calculate check character, and the MOVB instruction with Soft- PLC software with the ADD instruction of Soft- PLC software
Frame after the packing check character calculating added behind, instructs the Frame after packing with the MOVB of Soft- PLC software
Above add starting character STX, increase end mark ETX after check character with the MOVB instruction of Soft- PLC software.Meet electricity in acquisition
After terraced Internet of Things gathers the packet of communications protocol, set sends request flag.Wherein, check character is double byte, is by tired
Plus calculate with algorithm(S14).In forwarding step, the main program block MAIN of Soft- PLC software scans described transmission request mark
During will, the packet meeting elevator Internet of Things collection communications protocol is sent to the electricity gathering communications protocol using elevator Internet of Things
Terraced Internet of things node.This transmission is periodic, can be entered for the cycle with T (50ms≤T≤200) by the intervalometer of Soft- PLC
Row sends(S15).
Using the protocol converter based on SoftPLC technology, it is provided that the easy programming mode of elevator manufacturer engineering staff, such as
This can be on the premise of not revealing our factory's elevator communication agreement, you can becomes elevator Internet of Things to adopt our factory's elevator communication protocol conversion
Collection communications protocol.
Claims (6)
1. elevator communication agreement and elevator Internet of Things gather the method for converting protocol between communications protocol it is characterised in that include with
Lower step:
Request step, protocol converter sends the request of data frame meeting 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 that electric life controller sends;
Storing step, the data block in described data answering frame is saved in the address specified by protocol converter;
Switch process, the data chunk being saved in described specified address synthesis is met the collection of elevator Internet of Things by protocol converter
The Frame of communications protocol, then packs to this Frame, and the Frame front and back after this packing is added respectively
Starting character STX and check character, increase end mark ETX after check character, thus obtain meeting elevator Internet of Things collection communication association
The packet of view;In described switch process, with the MOVB instruction of Soft- PLC software, the content of data block is combined into and meets elevator
Internet of Things gathers the Frame of communications protocol, calculates check character with the ADD instruction of Soft- PLC software, and the MOVB with Soft- PLC software
The Frame check character that this calculates added behind after packing for the instruction, is instructed after packing with the MOVB of Soft- PLC software
Add starting character STX before Frame, increase end mark ETX after check character with the MOVB instruction of Soft- PLC software;
Forwarding step, the packet meeting elevator Internet of Things collection communications protocol is sent to and gathers communication using elevator Internet of Things
The elevator Internet of things node of agreement;
Wherein, described protocol converter be by Soft- PLC software realize described request step, receiving step, storing step,
Switch process and forwarding step.
2. method for converting protocol as claimed in claim 1 is it is characterised in that in described request step, be in Soft- PLC software
The sending to send to electric life controller in network and meet the request of data frame of elevator communication agreement of main program block MAIN.
3. method for converting protocol as claimed in claim 2 is it is characterised in that in described receiving step, be in Soft- PLC software
Main program block MAIN receive network in receive electric life controller send response described request of data frame data answering frame.
4. method for converting protocol as claimed in claim 3 is it is characterised in that in described switch process, meet electricity in acquisition
After terraced Internet of Things gathers the packet of communications protocol, set sends request flag.
5. method for converting protocol as claimed in claim 4 is it is characterised in that in described forwarding step, the master of Soft- PLC software
When brick MAIN scans described transmission request flag, the packet meeting elevator Internet of Things collection communications protocol is sent
To the elevator Internet of things node gathering communications protocol using elevator Internet of Things.
6. method for converting protocol as claimed in claim 1, it is characterised in that described check character is double byte, is by tired
Plus calculate with 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 CN103647782A (en) | 2014-03-19 |
CN103647782B true 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 (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2020078535A1 (en) * | 2018-10-16 | 2020-04-23 | Kone Corporation | Device management for hybrid elevator environments |
Families Citing this family (5)
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 |
CN103997425B (en) * | 2014-05-24 | 2017-07-14 | 上海新时达电气股份有限公司 | A kind of self-recovery method of node, collector and repeater |
CN104079567B (en) * | 2014-06-25 | 2018-07-13 | 深圳市汇川技术股份有限公司 | Protocol converter, method for converting protocol and elevator remote monitoring system |
AU2018445583A1 (en) | 2018-10-16 | 2021-06-03 | Kone Corporation | Data network services discovery in elevators and escalators |
CN111123826A (en) * | 2019-12-26 | 2020-05-08 | 浙江机电职业技术学院 | Data transmission method and device and electronic equipment |
Citations (2)
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 |
CN103347024A (en) * | 2013-07-05 | 2013-10-09 | 昆山华谷科技发展有限公司 | Method and device for conversion of elevator communication protocols |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US9084281B2 (en) * | 2011-03-30 | 2015-07-14 | Dexi Lu | Open wireless architecture (OWA) mobile cloud infrastructure and method |
-
2013
- 2013-12-18 CN CN201310698480.9A patent/CN103647782B/en active Active
Patent Citations (2)
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 |
CN103347024A (en) * | 2013-07-05 | 2013-10-09 | 昆山华谷科技发展有限公司 | Method and device for conversion of elevator communication protocols |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2020078535A1 (en) * | 2018-10-16 | 2020-04-23 | Kone Corporation | Device management for hybrid elevator environments |
Also Published As
Publication number | Publication date |
---|---|
CN103647782A (en) | 2014-03-19 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN103647782B (en) | Method for conversion between elevator communication protocol and elevator internet-of-things collection and communication protocol | |
WO2013127191A1 (en) | Internet of things protocol conversion system and conversion method | |
CN112671638A (en) | Gateway structure for multi-protocol conversion | |
US9244754B2 (en) | Error code conversion method and system, PPPoE server and mobile terminal | |
CN103078895A (en) | Industrial Ethernet multi-functional double-serial-port server based on MCF52233 (magnetic card file) chip | |
CN104967560A (en) | Method of realizing linkage with equipment managed by gateway and device of realizing linkage with equipment managed by gateway | |
CN102195946A (en) | Intelligent communication controller based on ARM (Advanced RISC Machines) technology | |
CN101005418A (en) | Communication method and device between ether network and radio sensor network | |
CN104539712A (en) | Intelligent household appliance data transmission method | |
CN106603530A (en) | Control system and method for electronic device compatible with different communication protocols | |
CN106375401A (en) | Electric power multi-mode heterogeneous fusion device supporting multi-stream convergence and communication method | |
JP2014211737A (en) | Communication system, communication apparatus, control method, and computer program | |
CN106341468A (en) | Remote wakeup method, device and system of intelligent equipment | |
CN203167301U (en) | Gatewayconverting WiFi to ZigBee | |
CN102098467B (en) | Method and device for realizing bilateral control of television terminal | |
CN104932373A (en) | Intelligent industrial network protocol wireless converter | |
CN106488483A (en) | A kind of method of configuration WIFI gateway device and corresponding gateway device | |
CN103368908A (en) | Gateway protocol, gateway equipment and electrical equipment control system | |
CN204291526U (en) | A kind of gateway | |
CN102081383B (en) | Device and method for secure network protocol for field control | |
CN104378778A (en) | Method and system for communication between master station and slave station in Internet of Things and conversion gateway | |
WO2016062027A1 (en) | Intelligent household appliance control method, device, and smart home system | |
CN103634028B (en) | A kind of PLC household electrical appliance communication terminal system | |
CN208143237U (en) | A kind of KNX IP gateway based on LoRa technology | |
CN105187316A (en) | Intelligent router with human-computer interaction interface |
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 |