CN105151936A - Method for distributing identity document (ID) for elevator control local area network controller area network (CAN) bus device - Google Patents

Method for distributing identity document (ID) for elevator control local area network controller area network (CAN) bus device Download PDF

Info

Publication number
CN105151936A
CN105151936A CN201510574517.6A CN201510574517A CN105151936A CN 105151936 A CN105151936 A CN 105151936A CN 201510574517 A CN201510574517 A CN 201510574517A CN 105151936 A CN105151936 A CN 105151936A
Authority
CN
China
Prior art keywords
effective
equipment
data bag
elevator
upper computer
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
Application number
CN201510574517.6A
Other languages
Chinese (zh)
Inventor
刘熙旺
郭雅萍
张永生
仲兆峰
郭伟文
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangzhou Ropente Technology Development Co Ltd
Original Assignee
Guangzhou Ropente Technology Development Co Ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Guangzhou Ropente Technology Development Co Ltd filed Critical Guangzhou Ropente Technology Development Co Ltd
Priority to CN201510574517.6A priority Critical patent/CN105151936A/en
Publication of CN105151936A publication Critical patent/CN105151936A/en
Pending legal-status Critical Current

Links

Abstract

The invention discloses a method for distributing identity document (ID) for an elevator control local area network controller area network (CAN) bus device, which comprises steps: a slave device reads elevator work numbers through a main control plate and stores elevator work numbers, sends ID application packets of a CAN bus to an upper computer through a trunk device, the ID application packets comprise temporary ID and elevator work numbers, the upper computer is based on the received ID application packets, and distributes effective ID for the slave device, the upper computer sends the ID distribution data packets to the slave device through the trunk device, the ID distribution data packages comprise the effective ID, the temporary ID and the elevator work numbers, and the slave device automatically collocates effective ID according to the received ID distribution data packets. The method for distributing ID for the elevator control local area network CAN bus device automatically distributes the effective ID through the slave device, and is more convenient and rapid in appliance.

Description

A kind of method that elevator controlling local area network bus device id distributes
Technical field
The present invention relates to communication technical field, particularly relate to a kind of method that elevator controlling local area network bus device id distributes.
Background technology
Elevator monitoring system can grasp the running state of elevator at any time, is convenient to process various elevator catastrophic failure in time, plays very important effect to the management of elevator operation.Need to use control area net(CAN) (ControllerAreaNetwork, CAN) in elevator monitoring system, CAN is mainly used in the monitor and forecast of various equipment.In CAN communication, the communication of equipment room needs to use the different CANID of each equipment, but the ID of equipment distribution all will mode manually be arranged, and uses inconvenience.
Summary of the invention
In view of this, a kind of method that the embodiment of the present invention provides elevator controlling local area network bus device id to distribute, needs manually to distribute device id to solve in prior art, uses inconvenient problem.
Embodiments provide a kind of method that elevator controlling local area network bus device id distributes, comprising:
Read elevator job number from equipment by elevator master board, and store;
Describedly send CAN ID request for data bag to upper computer from equipment through trunking, described ID request for data handbag draws together interim ID and elevator job number;
Upper computer based on the described ID request for data bag received, for described from the effective ID of facility assignment;
ID distribute data bag is sent to from equipment by trunking by described upper computer, and described ID distribute data bag comprises effective ID, interim ID and elevator job number;
Described from equipment according to the described ID distribute data bag received, carry out effective ID and automatically configure.
The method that the elevator controlling local area network bus device id that the embodiment of the present invention provides distributes, is from equipment application ID by trunking, can is from the effective ID of facility assignment automatically, applies more convenient.
Accompanying drawing explanation
By reading the detailed description done non-limiting example done with reference to the following drawings, other features, objects and advantages of the present invention will become more obvious:
Fig. 1 is the diagram of circuit of the method for a kind of elevator controlling local area network bus device id distribution that the embodiment of the present invention one provides;
Fig. 2 is a kind of elevator controlling local area network bus equipment connection schematic diagram that the embodiment of the present invention one provides;
Fig. 3 is the data exchange process schematic diagram of the method for a kind of elevator controlling local area network bus device id distribution that the embodiment of the present invention two provides.
Detailed description of the invention
Below in conjunction with drawings and Examples, the present invention is described in further detail.Be understandable that, specific embodiment described herein is only for explaining the present invention, but not limitation of the invention.It also should be noted that, for convenience of description, illustrate only part related to the present invention in accompanying drawing but not full content.
Embodiment one
Fig. 1 is the diagram of circuit of the method for a kind of elevator controlling local area network bus device id distribution that the embodiment of the present invention one provides, the method can realize the automatic distribution to CAN device id, the system being applicable to be connected by CAN performs, this system comprise trunking, from equipment, elevator master board and PC end (PC end) as upper computer etc.
As shown in Figure 1, the method comprises:
S110, read elevator job number from equipment by elevator master board, and store;
In CAN, have a trunking, all the other are from equipment.From equipment and the selected equipment carrying out communicating, in elevator monitoring, there is multiple stage from equipment.Every platform is all connected with an elevator master board from equipment, when after device power, will read elevator job number by elevator master board, and is stored in corresponding to equipment, and wherein elevator job number is unique.Further, before reading elevator job number from equipment by elevator master board, also comprise: described from device power time, if unallocated effective ID detected, then local ident is set to the interim ID given tacit consent to.Wherein, interim ID can be set to arbitrary value, preferably, arranges 0 for the interim ID from equipment self.
S120, describedly send CAN ID request for data bag to upper computer from equipment through trunking, described ID request for data handbag draws together interim ID and elevator job number;
Trunking is for can, for the equipment connected in CAN, replace obtaining No. ID from equipment to upper computer application.
Upper computer is the computing machine that directly can send manipulation order, is generally PC (PersonalComputer, PC), can shows various signal (hydraulic pressure, water level, temperature etc.) on its screen.
Exemplary, as shown in Figure 2, in CAN communication bus 201, one end is connected to computing machine (PC) the i.e. upper computer 203 that directly can send manipulation order, the other end connects multiple stage from equipment 204, and be respectively connected in parallel between equipment 204, every platform is connected with the elevator master board 205 in an elevator 206 separately from equipment 204, to connect with between equipment 204 trunking 202 at upper computer 203, can retransmit signal transmission with the signal transmission amplified in communication.Respectively can make respectively to be independent of each other from the work between equipment from being connected in parallel between equipment.
S130, upper computer based on the described ID request for data bag received, for described from the effective ID of facility assignment;
Effective ID that upper computer distributes can perform based on setting rule, and preferably, upper computer, based on the described ID request for data bag received, comprises from the effective ID of facility assignment for described:
Upper computer, based on the described ID request for data bag received, according to the effective ID distributed, is described from the effective ID of facility assignment according to set algorithm.
Described set algorithm can have multiple, and preferably, the order ascending according to natural number is distributed successively, such as, upper computer, based on the described ID request for data bag received, the effective ID distributed adds up 1, as new effective ID, distribute to described from equipment.
Can be 1 ~ n (n is natural number) from effective ID of equipment, preferably, upper computer will distribute ID after receiving ID request for data bag from 1, and send ID distribute data bag to from equipment.
Exemplary, in elevator controlling local area network bus equipment, there is multiple stage from equipment, suppose there are 5, after device power, there are 3 from equipment effective ID (being respectively 1 ﹑ 2 ﹑ 3), 2 are had effective ID not detected from equipment, then these two will send ID request for data bag by trunking to upper computer from equipment A ﹑ B, supposing that upper computer first receives distributes to from device A using 4 as effective ID from the ID request for data bag of device A is then automatic, then distributes to 5 from equipment B as effective ID.If also have more how unallocated effective ID from equipment, then upper computer will distribute it successively.
ID distribute data bag is sent to from equipment by trunking by S140, described upper computer, and described ID distribute data bag comprises effective ID, interim ID and elevator job number;
Further, ID distribute data bag to be sent to by trunking and to comprise from equipment by described upper computer:
Described ID distribute data bag is sent to trunking by described upper computer;
Described ID distribute data bag sends to from equipment by described trunking.
ID distribute data bag is first sent to the trunking be directly connected with it by upper computer, and ID distribute data bag is sent to from equipment after receiving described ID distribute data bag by trunking.
S150, described from equipment according to the described ID distribute data bag received, carry out effective ID and automatically configure.
Concrete, described from equipment according to the described ID distribute data bag received, carry out effective ID and automatically configure and comprise:
The described described ID distribute data bag received from equipment, obtains effective ID and elevator job number;
Describedly from equipment, the elevator job number got to be mated with the elevator job number of storage, carry out effective ID when mating consistent and automatically configure.
The method that the elevator controlling local area network bus device id that the embodiment of the present invention provides distributes, is from equipment application ID by trunking, can is from the effective ID of facility assignment automatically, applies more convenient.
Embodiment two
The data exchange process schematic diagram of the method that a kind of elevator controlling local area network bus device id that Fig. 3 provides for the embodiment of the present invention two distributes.In the whole process that elevator controlling local area network bus device id distributes, after powering on, first from equipment by elevator master board read elevator job number and preserve, do not detect that effective ID's will send ID request for data bag to trunking from equipment afterwards, this ID request for data bag is passed to PC end by trunking again, after PC termination receives ID request for data bag, by the allocative efficiency ID respectively of the sequencing according to reception, and ID distribute data bag is transferred to again corresponding from equipment by trunking, receive after ID distribute data bag from equipment and mate with the elevator job number information data packet, if consistent, ID is revised as effective ID, so far be allocated successfully from the ID of equipment.Each from equipment all by the automatic allocative efficiency ID of above-mentioned data transmission procedure.
The data exchange process of the method that the elevator controlling local area network bus device id provided by the embodiment of the present invention is distributed, can be from the automatic allocative efficiency ID of equipment, apply more convenient.
Note, above are only preferred embodiment of the present invention and institute's application technology principle.Skilled person in the art will appreciate that and the invention is not restricted to specific embodiment described here, various obvious change can be carried out for a person skilled in the art, readjust and substitute and can not protection scope of the present invention be departed from.Therefore, although be described in further detail invention has been by above embodiment, the present invention is not limited only to above embodiment, when not departing from the present invention's design, can also comprise other Equivalent embodiments more, and scope of the present invention is determined by appended right.

Claims (6)

1. a method for elevator controlling local area network (LAN) CAN bus apparatus ID distribution, is characterized in that:
Read elevator job number from equipment by elevator master board, and store;
Describedly send CAN ID request for data bag to upper computer from equipment through trunking, described ID request for data handbag draws together interim ID and elevator job number;
Upper computer based on the described ID request for data bag received, for described from the effective ID of facility assignment;
ID distribute data bag is sent to from equipment by trunking by described upper computer, and described ID distribute data bag comprises effective ID, interim ID and elevator job number;
Described from equipment according to the described ID distribute data bag received, carry out effective ID and automatically configure.
2. method according to claim 1, is characterized in that, ID distribute data bag to be sent to by trunking and to comprise from equipment by described upper computer:
Described ID distribute data bag is sent to trunking by described upper computer;
Described ID distribute data bag sends to from equipment by described trunking.
3. method according to claim 1, is characterized in that, described from equipment according to the described ID distribute data bag received, carry out effective ID and automatically configure and comprise:
The described described ID distribute data bag received from equipment, obtains effective ID and elevator job number;
Describedly from equipment, the elevator job number got to be mated with the elevator job number of storage, carry out effective ID when mating consistent and automatically configure.
4. method according to claim 1, is characterized in that, from equipment by before elevator master board reading elevator job number, also comprises:
Described from device power time, if unallocated effective ID detected, then local ident is set to give tacit consent to interim ID.
5. method according to claim 1, is characterized in that, upper computer, based on the described ID request for data bag received, comprises from the effective ID of facility assignment for described:
Upper computer, based on the described ID request for data bag received, according to the effective ID distributed, is described from the effective ID of facility assignment according to set algorithm.
6. method according to claim 5, is characterized in that, upper computer, based on the described ID request for data bag received, according to the effective ID distributed, is describedly to comprise from the effective ID of facility assignment according to set algorithm:
Upper computer, based on the described ID request for data bag received, the effective ID distributed adds up 1, as new effective ID, distributes to described from equipment.
CN201510574517.6A 2015-09-10 2015-09-10 Method for distributing identity document (ID) for elevator control local area network controller area network (CAN) bus device Pending CN105151936A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510574517.6A CN105151936A (en) 2015-09-10 2015-09-10 Method for distributing identity document (ID) for elevator control local area network controller area network (CAN) bus device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510574517.6A CN105151936A (en) 2015-09-10 2015-09-10 Method for distributing identity document (ID) for elevator control local area network controller area network (CAN) bus device

Publications (1)

Publication Number Publication Date
CN105151936A true CN105151936A (en) 2015-12-16

Family

ID=54793072

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510574517.6A Pending CN105151936A (en) 2015-09-10 2015-09-10 Method for distributing identity document (ID) for elevator control local area network controller area network (CAN) bus device

Country Status (1)

Country Link
CN (1) CN105151936A (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106060187A (en) * 2016-05-26 2016-10-26 杭州华三通信技术有限公司 Address allocation methods and devices
CN106330644A (en) * 2016-11-25 2017-01-11 阳光电源股份有限公司 Master-slave multi-computer communication system, master computer, slave computers and slave computer ID (identification) assigning method
CN108123860A (en) * 2017-01-19 2018-06-05 山西智舒智能科技有限公司 The ID of intelligent domestic system node device based on CAN bus is distributed automatically and management method
CN108387257A (en) * 2018-02-01 2018-08-10 深圳市矗能科技有限公司 A kind of method of ageing system slave ID distribution
CN109104303A (en) * 2018-07-20 2018-12-28 中国电子科技集团公司第三十八研究所 A kind of automatic configuration system and method for CAN bus ID
CN110061879A (en) * 2019-04-24 2019-07-26 宁波弘讯软件开发有限公司 Device and method, system, equipment, computer storage medium is arranged in node ID

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1256567A (en) * 1998-11-26 2000-06-14 三星电子株式会社 Home network system and method of distributing node-identifying code
CN1392706A (en) * 2002-08-13 2003-01-22 北京长城鼎兴网络通信技术有限公司 Method for realizing multiple point communication by using serial bus
US20080189445A1 (en) * 2007-02-06 2008-08-07 Fanuc Ltd Numerical controller
CN102710809A (en) * 2012-06-08 2012-10-03 陈梓平 Address allocation method
CN103391210A (en) * 2012-05-09 2013-11-13 北汽福田汽车股份有限公司 ID distribution system and method of CAN bus network

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1256567A (en) * 1998-11-26 2000-06-14 三星电子株式会社 Home network system and method of distributing node-identifying code
CN1392706A (en) * 2002-08-13 2003-01-22 北京长城鼎兴网络通信技术有限公司 Method for realizing multiple point communication by using serial bus
US20080189445A1 (en) * 2007-02-06 2008-08-07 Fanuc Ltd Numerical controller
CN103391210A (en) * 2012-05-09 2013-11-13 北汽福田汽车股份有限公司 ID distribution system and method of CAN bus network
CN102710809A (en) * 2012-06-08 2012-10-03 陈梓平 Address allocation method

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106060187A (en) * 2016-05-26 2016-10-26 杭州华三通信技术有限公司 Address allocation methods and devices
CN106330644A (en) * 2016-11-25 2017-01-11 阳光电源股份有限公司 Master-slave multi-computer communication system, master computer, slave computers and slave computer ID (identification) assigning method
CN108123860A (en) * 2017-01-19 2018-06-05 山西智舒智能科技有限公司 The ID of intelligent domestic system node device based on CAN bus is distributed automatically and management method
CN108387257A (en) * 2018-02-01 2018-08-10 深圳市矗能科技有限公司 A kind of method of ageing system slave ID distribution
CN109104303A (en) * 2018-07-20 2018-12-28 中国电子科技集团公司第三十八研究所 A kind of automatic configuration system and method for CAN bus ID
CN110061879A (en) * 2019-04-24 2019-07-26 宁波弘讯软件开发有限公司 Device and method, system, equipment, computer storage medium is arranged in node ID

Similar Documents

Publication Publication Date Title
CN105151936A (en) Method for distributing identity document (ID) for elevator control local area network controller area network (CAN) bus device
US11398741B2 (en) Charging device and a charging method thereof
EP3214891B1 (en) Switching-on method, base station and storage medium
US10666049B2 (en) Power-over-ethernet power method and system
JP2009276934A5 (en)
CN103257694A (en) Monitoring power source redundancy via power distribution unit
JP2013520944A5 (en)
CN104253767A (en) Virtual shard network implementing method and switch
CN106471694A (en) Load balance for distribution
US10065519B1 (en) Location power monitoring and charge distribution using intelligent electric vehicle supply equipment
CN107341954B (en) Monitoring method and system based on power line carrier
CN102710764A (en) Method and system for remotely controlling terminal equipment by user according to cloud computing
CN105472023A (en) Method and device for remote direct memory access
CN105357664A (en) Wireless control system and data communication method thereof
CN105376347A (en) IP address allocation method and system
WO2013147441A1 (en) Scheduling apparatus and method for load balancing when performing multiple transcoding operations
JP5647561B2 (en) Power system supervisory control system
CN104618123B (en) A kind of method of supplying power to and device
CN103368931A (en) Data processing apparatus, computation device, and control method for data processing apparatus
CN105451367A (en) Wireless network connection method, device and system
CN102148760B (en) Identification (ID) application method, device and system
WO2016101846A1 (en) Single board slot address configuration method and apparatus and optical network site device
CN103019979B (en) USB host, equipment and information transferring method
CN107968718B (en) Method, device and equipment for confirming main standby state
CN106102126B (en) A kind of connection control method and device

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20151216