WO2011160335A1 - Method and device for configuring network node addresses in controller area network automatically - Google Patents

Method and device for configuring network node addresses in controller area network automatically Download PDF

Info

Publication number
WO2011160335A1
WO2011160335A1 PCT/CN2010/076334 CN2010076334W WO2011160335A1 WO 2011160335 A1 WO2011160335 A1 WO 2011160335A1 CN 2010076334 W CN2010076334 W CN 2010076334W WO 2011160335 A1 WO2011160335 A1 WO 2011160335A1
Authority
WO
WIPO (PCT)
Prior art keywords
address
preset address
preset
information
node device
Prior art date
Application number
PCT/CN2010/076334
Other languages
French (fr)
Chinese (zh)
Inventor
滕凌巧
孟燕妮
刘明明
周保航
韦树旺
Original Assignee
中兴通讯股份有限公司
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 中兴通讯股份有限公司 filed Critical 中兴通讯股份有限公司
Publication of WO2011160335A1 publication Critical patent/WO2011160335A1/en

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L61/00Network arrangements, protocols or services for addressing or naming
    • H04L61/50Address allocation
    • H04L61/5038Address allocation for local use, e.g. in LAN or USB networks, or in a controller area network [CAN]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L61/00Network arrangements, protocols or services for addressing or naming
    • H04L61/50Address allocation
    • H04L61/5092Address allocation by self-assignment, e.g. picking addresses at random and testing if they are already in use

Definitions

  • the present invention relates to a technique for setting a network node address of a Controller Area Network (CAN), and more particularly to a method and apparatus for automatically setting a network node address.
  • CAN Controller Area Network
  • the purpose of the embodiments of the present invention is to provide an automatic setting method for a CAN network node address, which can better solve the problem of address setting in a CAN network.
  • Another object of the embodiments of the present invention is to provide an automatic setting device for a CAN network node address, which can better solve the problem of address setting in a CAN network.
  • a method for automatically setting a CAN network node address including the following steps:
  • Each node device in the CAN network sets the preset address of the local device separately;
  • the node devices respectively send preset address information of the local device to other node devices in the CAN network;
  • the other node device that receives the preset address information sends preset address response information about the preset address information.
  • the node device that sends the preset address information receives the preset address response information sent by the other node device, and determines and saves the local address according to the preset address response information.
  • an apparatus for automatically setting a CAN network node address including:
  • a preset address generating unit configured to set a preset address of the local device by each node device in the CAN network
  • a preset address information sending unit configured to send, by each node device, preset address information of the local device to other node devices in the CAN network;
  • a preset address information response unit wherein the other node device for receiving the preset address information responds to the preset address information about the preset address information and sends the preset address information;
  • the preset address information response receiving unit the node device for sending the preset address information receives the preset address response information sent by the other node device;
  • the address setting unit, the node device for transmitting the preset address information determines and saves the local address according to the preset address response information.
  • the embodiment of the present invention can automatically complete the setting of the address of each device node in the CAN network, and the automatic setting policy can be applied to the master-slave communication mode or the competitive communication mode.
  • FIG. 1 is a system structural diagram of a CAN network provided by the prior art
  • FIG. 2 is a logic flow chart of a CAN network node address setting provided by this embodiment.
  • FIG. 3 is a structural diagram of a CAN network node address setting apparatus provided in this embodiment.
  • FIG. 4 is an automatic diagram of a CAN network node address provided by this embodiment. Set up the flow chart. detailed description
  • FIG. 2 shows the logic flow of the CAN network node address setting provided by this embodiment. As shown in FIG. 2, the process mainly includes the following steps:
  • Step S201 Each node device in the CAN network sets a preset address of the local device.
  • the node device needs to detect whether it has a preset address. If the detection result is that the preset address is already stored and the address is within the valid range, the address is set as the preset address of the local machine; If the preset address is not stored, the node device sets the preset address of the local device within the valid range.
  • the preset address can be discontinuous. Different methods can be set according to different system requirements. As long as it is within the valid range, the lower limit of the effective range is 1 and the upper limit should be greater than or equal to the node in the CAN network.
  • the node device may be a device that is applicable to a CAN network, such as a power monitoring device, a monitor in a cell, or the like.
  • each node device needs to set the address setting factor of the local device separately, and the generation method of the factor may be formulated according to different systems, and the method includes obtaining the device serial number or the startup time.
  • Step S202 Each node device sends the preset address information of the local device to other node devices in the CAN network.
  • Step S203 The other node device that receives the preset address information sends preset address response information about the preset address information.
  • the preset address response information includes one of the following:
  • the address setting response information is used to indicate that the address set by the other node device is the same as the preset address in the preset address information
  • the preset address is the same response information, and is used to indicate that the preset address of the other node device is the same as the preset address in the preset address information;
  • the preset address has different response information, and is used to indicate that the preset address of the other node device is different from the preset address in the preset address information.
  • Step S204 The node device that sends the preset address information receives the preset address response information sent by the other node device, and determines and saves the local address according to the preset address response information.
  • the node device that sends the preset address information determines the local address according to the received preset address response information, specifically:
  • the node device discards the original preset address, regenerates the preset address of the local device, and sends the newly generated preset address information to other node devices again, and waits for the predetermined time.
  • the node device determines the local address according to the size of the address setting factor; if the address setting factor of the node device is greater than the node device that sends the same response information with the preset address The address setting factor, and the other type of preset address response information is not received within the predetermined time TO, the node device sets the preset address of the local device as the local address; if the address setting factor of the node device is less than or Equal to the address setting factor of the node device that sends the same response information to the preset address, the node device discards the original preset address, regenerates the preset address of the local device, and sends the newly generated preset address information to other node devices again;
  • the node device sets the preset address of the local machine as the local address.
  • the predetermined time TO is determined according to the rate of the network, the number of node devices in the network, and the internal processing mechanism of each node device.
  • the preset address of the regenerated local machine is the same as the preset address generated last time, the preset address of the local machine is regenerated again until the newly generated preset address is different from the previously generated preset address.
  • the address setting response information is sent to the node device. Also, when the node device starts up next time, the address set this time is used as the default address of the machine.
  • FIG. 3 shows the structure of the CAN network node address setting apparatus provided in this embodiment, as shown in FIG. 3.
  • the device comprises: a preset address generating unit, a preset address information transmitting unit, a preset address information responding unit, a preset address information response receiving unit, and an address setting unit.
  • the preset address generating unit is configured to set a preset address of the local device by each node device in the CAN network.
  • the preset address information sending unit is configured to send, by each node device, preset address information of the local device to other node devices in the CAN network.
  • the preset address information response unit the other node device for receiving the preset address information responds to and sends the preset address information about the preset address information.
  • the preset address information response receiving unit the node device for sending the preset address information receives the preset address response information sent by the other node device.
  • the address setting unit, the node device for transmitting the preset address information determines and saves the local address according to the preset address response information.
  • FIG. 4 shows the automatic setting procedure of the CAN network node address provided by this embodiment, as shown in FIG. 4.
  • Embodiment 1 In the communication DC power system, the monitoring unit and each rectifier form a CAN bus network.
  • the monitoring unit and each rectifier are a typical master-slave communication mode.
  • the monitoring unit is the master node device, and each rectifier is a slave node device.
  • CAN The network communication rate is 500Kbps, and the adopted message format is extended 29-bit data bit format.
  • the system has one monitoring unit, 10 rectifiers, and the set address saved by the rectifier is stored in the electrically erasable programmable read-only memory ( In EERPOM, Electrically Erasable Programmable Read-Only Memory ), the initial value is 0, and the address setting steps are as follows:
  • Step S401 after the system is powered on, each rectifier separately obtains the number of milliseconds of the startup of the internal monitoring software, and is used as the address setting factor of the local randomN, where N is the serial number of the rectifier, that is, 1 ⁇ 10;
  • Step S406 the monitoring software in the rectifier sends the preset address information of the local device to other node devices in the CAN network;
  • Steps S407 ⁇ S416, within the predetermined time T0 50ms, one of the following types of data information may be received, and the T0 value may be appropriately adjusted according to the specific situation:
  • the rectifier abandons the original preset address and regenerates a new one.
  • the preset address if the newly generated address is the same as the last generated address, it is regenerated once until the newly generated preset address is different from the previously generated preset address; this processing can alleviate the network. Burden, shorten the time set by the address; if receiving the same response information from the preset address sent by other rectifiers, it means that the preset address of the other rectifier is the same as the preset address in the preset address information of the local machine.
  • the rectifier sets the preset address of the local machine to the local device. Address; if the address setting factor of the rectifier is less than or equal to the address setting factor of the node device that sends the same response information of the preset address, the rectifier discards the original preset address, regenerates the preset address of the local device, and re-generates to the other node device. Send newly generated preset address information;
  • the rectifier sets the preset address of the unit to the local address.
  • Step S417 after the rectifier determines the local address, saves the address in the EEPROM, and sends an address confirmation message to the monitoring unit.
  • the monitoring unit After receiving the address, the monitoring unit records the address and starts normal CAN communication. Thereafter, when the preset address information sent by the other rectifiers is received, if the preset address in the preset address information is the same as the local address, the address setting response information is sent to the rectifier that sends the preset address information.
  • Embodiment 2 is a diagrammatic representation of Embodiment 1:
  • a rectifier bus constitutes a peer-to-peer communication mode CAN bus network
  • the CAN communication rate is 500Kbps
  • the message format is an extended 29-bit data bit
  • the rectifier stores the set address in the FLASH.
  • the initial value is 0, the address setting steps are as follows:
  • Step S401 after the system is powered on, each rectifier obtains the factory time of the machine, that is, the year, month, day, hour, minute and second, as the address setting factor randomN of the machine, wherein the value of N is 1 to 6;
  • Steps S402 ⁇ 405 reading the address information from the FLASH, if the address information is 0, generating a preset address addrN ranging from 1 to 30; if the address information in the EEPROM is not 0, and in the range of 1 ⁇ 30 Inside, the address is used as the default address addrN of the machine; if not in 1 ⁇ 30 Within the range, a preset address addrN ranging from 1 to 30 is generated;
  • Step S406 the monitoring software in the rectifier sends the preset address information of the local device to other node devices in the CAN network;
  • Steps S407 ⁇ S416, within the predetermined time T0 30ms, one of the following types of data information may be received, and the TO value may be appropriately adjusted according to the specific situation:
  • the rectifier relinquishes the original preset address and regenerates a new preset address. If the newly generated address is the same as the last generated address, it is generated again until Different from the last preset address;
  • the rectifier sets the preset address of the local machine as the local address; otherwise, the rectifier relinquishes the original preset address, regenerates the preset address of the local device, and sends the new generation to the other node device again.
  • the preset address information if different response information is received from the preset address sent by the other rectifier, at this time, if the rectifier does not receive other types of preset address response information within the predetermined time TO, the rectifier will be the local
  • the default address is set to the local address
  • Step S417 after the rectifier determines the local address, the address is saved in the FLASH, and normal CAN communication is started. Thereafter, when the preset address information sent by the other rectifiers is received, if the preset address in the preset address information is the same as the local address, the address setting response information is sent to the rectifier that sends the preset address information.
  • the embodiment has the following technical effects:
  • the automatic setting method of the CAN network node address uses a pure software setting policy, so there is no need to increase the cost on the hardware, and in addition, the embodiment uses an adaptive address.
  • the detection method makes the address setting simple, and the number of node devices in the network can be unrestricted, which greatly improves the flexibility and scalability of the system, and has a wider application range.

Abstract

The present invention discloses a method and device for configuring network node addresses in a Controller Area Network (CAN) automatically. The method provides a process for transmitting preset address messages and preset address response messages in the CAN communication network, a method for configuring preset addresses and address configuration factors, and corresponding measures taken by each node device according to different types of preset address response messages, and others. The present invention solves the problem of configuring node addresses in the CAN network automatically. The invention adopts a pure-software configuration strategy without additional hardware cost; meanwhile, a self-adapting address detection method enables a simpler address configuration; therefore, the flexibility and the extensibility of the system are greatly improved and the application range is widened.

Description

一种 CAN网络节点地址的自动设置方法和装置 技术领域  Automatic setting method and device for CAN network node address
本发明涉及一种控制器局域网 (CAN, Controller Area Network ) 网络 节点地址的设置技术, 特别涉及一种能够自动设置网络节点地址的方法和 装置。 背景技术  The present invention relates to a technique for setting a network node address of a Controller Area Network (CAN), and more particularly to a method and apparatus for automatically setting a network node address. Background technique
随着监控领域的快速发展, 对监控技术的要求越来越高, 需要监控的 设备也越来越多, CAN网络中的节点设备的数量成倍增长, 如何有效地区 分各节点设备成为有效管理的关键, CAN网络的系统结构图如图 1所示, 各节点设备间实时地进行信息的交互和管理, 尤其在主从式的通信模式下, 必须要确定各从节点的地址信息, 各节点设备必须要保证通信地址的唯一 性。 CAN网络节点地址的设置方法多釆用固定地址和硬件拨码等方法, 其 扩展性和灵活性较差。 固定地址的方法是按照一定的原则人为设置各节点 设备的地址, 该方法的管理比较方便, 但对人的依赖较强, 灵活性较差, 若节点设备的数量较多, 地址设置的工作量将大大增加, 出错的可能性也 将大大提高; 而硬件拨码的方法将使得地址设置的工作量很大, 并且可管 理的节点设备数量较少, 可适应的场合也较少。 发明内容  With the rapid development of the monitoring field, the requirements for monitoring technology are getting higher and higher, and more and more devices need to be monitored. The number of node devices in the CAN network has doubled. How to effectively distinguish each node device into effective management The key, the system structure diagram of CAN network is shown in Figure 1. The information exchange and management between each node device in real time, especially in the master-slave communication mode, must determine the address information of each slave node, each node The device must guarantee the uniqueness of the communication address. The method of setting the node address of the CAN network uses methods such as fixed address and hardware dialing, which is inferior in scalability and flexibility. The method of fixed address is to set the address of each node device according to certain principles. The management of this method is convenient, but the dependence on people is strong and the flexibility is poor. If the number of node devices is large, the workload of address setting is It will increase greatly, and the possibility of error will be greatly improved; and the hardware dialing method will make the address setting work much, and the number of manageable node devices is small, and there are fewer occasions to adapt. Summary of the invention
本发明实施例的目的在于提供一种 CAN 网络节点地址的自动设置方 法, 能更好地解决在 CAN网络中地址设置的问题。  The purpose of the embodiments of the present invention is to provide an automatic setting method for a CAN network node address, which can better solve the problem of address setting in a CAN network.
本发明实施例的另一目的在于提供一种 CAN网络节点地址的自动设置 装置, 能更好地解决在 CAN网络中地址设置的问题。 根据本发明实施例的一个方面,提供了一种 CAN网络节点地址的自动 设置方法, 包括以下步骤: Another object of the embodiments of the present invention is to provide an automatic setting device for a CAN network node address, which can better solve the problem of address setting in a CAN network. According to an aspect of an embodiment of the present invention, a method for automatically setting a CAN network node address is provided, including the following steps:
A、 CAN网络中的各节点设备分别设置本机的预设地址;  A. Each node device in the CAN network sets the preset address of the local device separately;
B、 所述各节点设备分别向 CAN网络中其他节点设备发送本机的预设 地址信息;  B. The node devices respectively send preset address information of the local device to other node devices in the CAN network;
C、接收到预设地址信息的所述其他节点设备发送关于所述预设地址信 息的预设地址响应信息;  C. The other node device that receives the preset address information sends preset address response information about the preset address information.
D、发送预设地址信息的节点设备接收所述其他节点设备发送的预设地 址响应信息, 并根据所述预设地址响应信息确定和保存本机地址。  D. The node device that sends the preset address information receives the preset address response information sent by the other node device, and determines and saves the local address according to the preset address response information.
根据本发明实施例的另一方面,提供了一种 CAN网络节点地址的自动 设置装置, 包括:  According to another aspect of the present invention, an apparatus for automatically setting a CAN network node address is provided, including:
预设地址产生单元,用于 CAN网络中的各节点设备分别设置本机的预 设地址;  a preset address generating unit, configured to set a preset address of the local device by each node device in the CAN network;
预设地址信息发送单元,用于所述各节点设备分别向 CAN网络中其他 节点设备发送本机的预设地址信息;  a preset address information sending unit, configured to send, by each node device, preset address information of the local device to other node devices in the CAN network;
预设地址信息响应单元, 用于接收到预设地址信息的所述其他节点设 备对关于所述预设地址信息的预设地址信息产生响应并发送;  a preset address information response unit, wherein the other node device for receiving the preset address information responds to the preset address information about the preset address information and sends the preset address information;
预设地址信息响应接收单元, 用于发送预设地址信息的节点设备接收 所述其他节点设备发送的预设地址响应信息; 以及  The preset address information response receiving unit, the node device for sending the preset address information receives the preset address response information sent by the other node device;
地址设定单元, 用于发送预设地址信息的节点设备根据所述预设地址 响应信息确定和保存本机地址。  The address setting unit, the node device for transmitting the preset address information determines and saves the local address according to the preset address response information.
与现有技术相比较, 本发明实施例的有益效果在于: 本发明实施例可 以自动完成 CAN网络中各设备节点地址的设置,其自动设置策略可适用于 主从通信模式或竟争通信模式等多种通信方式, 同时也避免了因地址设置 的失误而导致的通信管理错误, 设备管理的智能性也大大提高了。 附图说明 Compared with the prior art, the beneficial effects of the embodiments of the present invention are as follows: The embodiment of the present invention can automatically complete the setting of the address of each device node in the CAN network, and the automatic setting policy can be applied to the master-slave communication mode or the competitive communication mode. A variety of communication methods, but also avoid communication management errors caused by mistakes in address setting, and the intelligence of device management is greatly improved. DRAWINGS
图 1是现有技术提供的 CAN网络的系统结构图;  1 is a system structural diagram of a CAN network provided by the prior art;
图 2 是本实施例提供的 CAN网络节点地址设置的逻辑流程图; 图 3是本实施例提供的 CAN网络节点地址设置装置的结构图; 图 4是本实施例提供的 CAN网络节点地址的自动设置流程图。 具体实施方式  2 is a logic flow chart of a CAN network node address setting provided by this embodiment. FIG. 3 is a structural diagram of a CAN network node address setting apparatus provided in this embodiment. FIG. 4 is an automatic diagram of a CAN network node address provided by this embodiment. Set up the flow chart. detailed description
以下结合附图对本发明的优选实施例进行详细说明, 应当理解, 以下 所说明的优选实施例仅用于说明和解释本发明, 并不用于限定本发明。  The preferred embodiments of the present invention are described in detail below with reference to the accompanying drawings.
图 2显示了本实施例提供的 CAN网络节点地址设置的逻辑流程,如图 2所示, 该流程主要包括以下步骤:  FIG. 2 shows the logic flow of the CAN network node address setting provided by this embodiment. As shown in FIG. 2, the process mainly includes the following steps:
步骤 S201 , CAN网络中的各节点设备分别设置本机的预设地址。其中, 各节点设备要检测自身是否已存有预设地址, 若检测结果为已存有预设地 址且该地址在有效范围内, 则将该地址设置为本机的预设地址; 若检测结 果为尚未存有预设地址, 则该节点设备在有效范围内自行设置本机的预设 地址。 预设地址可以是不连续的, 可以根据不同的系统需求制定不同的方 式, 只要在有效范围内都可以, 有效范围的下限值为 1 , 上限值应大于或等 于所述 CAN网络中节点设备的总数。所述的节点设备可以是电力监控设备、 小区内的监视器等可适用于 CAN网络的设备。  Step S201: Each node device in the CAN network sets a preset address of the local device. The node device needs to detect whether it has a preset address. If the detection result is that the preset address is already stored and the address is within the valid range, the address is set as the preset address of the local machine; If the preset address is not stored, the node device sets the preset address of the local device within the valid range. The preset address can be discontinuous. Different methods can be set according to different system requirements. As long as it is within the valid range, the lower limit of the effective range is 1 and the upper limit should be greater than or equal to the node in the CAN network. The total number of devices. The node device may be a device that is applicable to a CAN network, such as a power monitoring device, a monitor in a cell, or the like.
此外, 在本步骤之前, 各节点设备要分别设置本机的地址设置因子, 该因子的产生方式可以根据系统的不同来制定, 制定方式包括获取设备序 列号或启动时间等。  In addition, before this step, each node device needs to set the address setting factor of the local device separately, and the generation method of the factor may be formulated according to different systems, and the method includes obtaining the device serial number or the startup time.
步骤 S202, 各节点设备分别向 CAN 网络中其他节点设备发送本机的 预设地址信息。  Step S202: Each node device sends the preset address information of the local device to other node devices in the CAN network.
步骤 S203 , 接收到预设地址信息的其他节点设备发送关于预设地址信 息的预设地址响应信息。 其中, 预设地址响应信息包括以下之一: Step S203: The other node device that receives the preset address information sends preset address response information about the preset address information. The preset address response information includes one of the following:
地址设定响应信息, 用于表示其他节点设备已设定的地址与所述预设 地址信息中的预设地址相同;  The address setting response information is used to indicate that the address set by the other node device is the same as the preset address in the preset address information;
预设地址相同响应信息, 用于表示其他节点设备的预设地址与所述预 设地址信息中的预设地址相同;  The preset address is the same response information, and is used to indicate that the preset address of the other node device is the same as the preset address in the preset address information;
预设地址不同响应信息, 用于表示其他节点设备的预设地址与所述预 设地址信息中的预设地址不同。  The preset address has different response information, and is used to indicate that the preset address of the other node device is different from the preset address in the preset address information.
步骤 S204 , 发送预设地址信息的节点设备接收其他节点设备发送的预 设地址响应信息, 并根据该预设地址响应信息确定和保存本机地址。  Step S204: The node device that sends the preset address information receives the preset address response information sent by the other node device, and determines and saves the local address according to the preset address response information.
其中, 发送预设地址信息的节点设备根据接收到的预设地址响应信息 确定本机地址, 具体为:  The node device that sends the preset address information determines the local address according to the received preset address response information, specifically:
若预设地址响应信息为地址设定响应信息, 则该节点设备放弃原预设 地址, 重新生成本机的预设地址, 再次向其他节点设备发送新生成的预设 地址信息, 并等待预定时间 TO;  If the preset address response information is the address setting response information, the node device discards the original preset address, regenerates the preset address of the local device, and sends the newly generated preset address information to other node devices again, and waits for the predetermined time. TO;
若预设地址响应信息为预设地址相同响应信息, 则该节点设备根据地 址设置因子的大小确定本机地址; 若所述节点设备的地址设置因子大于发 送预设地址相同响应信息的节点设备的地址设置因子,并在预定时间 TO内 未收到其他类型的预设地址响应信息, 则该节点设备将本机的预设地址设 置为本机地址; 若所述节点设备的地址设置因子小于或等于发送预设地址 相同响应信息的节点设备的地址设置因子, 则该节点设备放弃原预设地址, 重新生成本机的预设地址, 再次向其他节点设备发送新生成的预设地址信 息;  If the preset address response information is the same response information of the preset address, the node device determines the local address according to the size of the address setting factor; if the address setting factor of the node device is greater than the node device that sends the same response information with the preset address The address setting factor, and the other type of preset address response information is not received within the predetermined time TO, the node device sets the preset address of the local device as the local address; if the address setting factor of the node device is less than or Equal to the address setting factor of the node device that sends the same response information to the preset address, the node device discards the original preset address, regenerates the preset address of the local device, and sends the newly generated preset address information to other node devices again;
若预设地址响应信息为预设地址不同响应信息,并在预定时间 TO内未 接收到其他类型的预设地址响应信息, 则该节点设备将本机的预设地址设 置为本机地址。 预定时间 TO根据网络的速率、 网络中节点设备的数量和各节点设备的 内部处理机制等确定。 If the preset address response information is different response information of the preset address, and other types of preset address response information are not received within the predetermined time TO, the node device sets the preset address of the local machine as the local address. The predetermined time TO is determined according to the rate of the network, the number of node devices in the network, and the internal processing mechanism of each node device.
若重新生成的本机的预设地址若与上次生成的预设地址相同, 则再次 重新生成本机的预设地址, 直至新生成的预设地址与上次生成的预设地址 不同为止。  If the preset address of the regenerated local machine is the same as the preset address generated last time, the preset address of the local machine is regenerated again until the newly generated preset address is different from the previously generated preset address.
确定本机地址之后, 若确定地址的节点设备接收到其他节点设备发送 的预设地址信息中的预设地址与本机地址相同, 则向其发送地址设定响应 信息。 并且, 节点设备下次启动时, 优先使用本次设定的地址作为本机的 预设地址。  After the local address is determined, if the node device that determines the address receives the preset address in the preset address information sent by the other node device and the local address is the same, the address setting response information is sent to the node device. Also, when the node device starts up next time, the address set this time is used as the default address of the machine.
图 3显示了本实施例提供的 CAN网络节点地址设置装置的结构,如图 3所示。 该装置包括: 预设地址产生单元、 预设地址信息发送单元、 预设地 址信息响应单元、 预设地址信息响应接收单元和地址设定单元。  FIG. 3 shows the structure of the CAN network node address setting apparatus provided in this embodiment, as shown in FIG. 3. The device comprises: a preset address generating unit, a preset address information transmitting unit, a preset address information responding unit, a preset address information response receiving unit, and an address setting unit.
其中, 预设地址产生单元, 用于 CAN网络中的各节点设备分别设置本 机的预设地址。  The preset address generating unit is configured to set a preset address of the local device by each node device in the CAN network.
预设地址信息发送单元,用于各节点设备分别向 CAN网络中其他节点 设备发送本机的预设地址信息。  The preset address information sending unit is configured to send, by each node device, preset address information of the local device to other node devices in the CAN network.
预设地址信息响应单元, 用于接收到预设地址信息的其他节点设备对 关于预设地址信息的预设地址信息产生响应并发送。  The preset address information response unit, the other node device for receiving the preset address information responds to and sends the preset address information about the preset address information.
预设地址信息响应接收单元, 用于发送预设地址信息的节点设备接收 其他节点设备发送的预设地址响应信息。  The preset address information response receiving unit, the node device for sending the preset address information receives the preset address response information sent by the other node device.
地址设定单元, 用于发送预设地址信息的节点设备根据预设地址响应 信息确定和保存本机地址。  The address setting unit, the node device for transmitting the preset address information determines and saves the local address according to the preset address response information.
图 4显示了本实施例提供的 CAN网络节点地址的自动设置流程,如图 4所示。  FIG. 4 shows the automatic setting procedure of the CAN network node address provided by this embodiment, as shown in FIG. 4.
实施例一: 在通信直流电源系统中,监控单元和各整流器组成了一个 CAN总线网 络, 监控单元和各整流器之间是一个典型的主从通信模式, 监控单元为主 节点设备, 各整流器为从节点设备, CAN网络的通信速率为 500Kbps, 釆 用的报文格式为扩展 29位数据位格式, 该系统有 1个监控单元, 10个整流 器, 整流器保存的设定地址存放于电可擦可编程只读存储器 (EERPOM, Electrically Erasable Programmable Read-Only Memory ) 中, 初始为 0, 地址 设置步骤如下: Embodiment 1: In the communication DC power system, the monitoring unit and each rectifier form a CAN bus network. The monitoring unit and each rectifier are a typical master-slave communication mode. The monitoring unit is the master node device, and each rectifier is a slave node device. CAN The network communication rate is 500Kbps, and the adopted message format is extended 29-bit data bit format. The system has one monitoring unit, 10 rectifiers, and the set address saved by the rectifier is stored in the electrically erasable programmable read-only memory ( In EERPOM, Electrically Erasable Programmable Read-Only Memory ), the initial value is 0, and the address setting steps are as follows:
步骤 S401 , 系统上电后, 各整流器分别获取自身机内监控软件启动的 时间毫秒数, 并作为本机的地址设置因子 randomN, 其中 N的值为整流器 的序号, 即 1~10;  Step S401, after the system is powered on, each rectifier separately obtains the number of milliseconds of the startup of the internal monitoring software, and is used as the address setting factor of the local randomN, where N is the serial number of the rectifier, that is, 1~10;
步骤 S402~405 , 从 EEPROM中读取地址信息, 若地址信息为 0, 则产 生一个范围在 1~50的预设地址 addrN; 若 EEPROM中的地址信息不为 0, 且在 1~50的范围内, 则将该地址作为本机的预设地址 addrN, 若不在 1~50 的范围内, 则产生一个范围在 1~50的预设地址 addrN;  Steps S402~405, reading the address information from the EEPROM. If the address information is 0, a preset address addrN ranging from 1 to 50 is generated; if the address information in the EEPROM is not 0, and is in the range of 1~50 Inside, the address is used as the default address addrN of the local device. If it is not within the range of 1~50, a preset address addrN ranging from 1 to 50 is generated;
步骤 S406, 整流器内监控软件向 CAN 网络中的其他节点设备发送本 机的预设地址信息;  Step S406, the monitoring software in the rectifier sends the preset address information of the local device to other node devices in the CAN network;
步骤 S407~S416, 在预定时间 T0=50ms内, 可能收到以下类型的数据 信息之一, T0值可根据具体情况作适当调整:  Steps S407~S416, within the predetermined time T0=50ms, one of the following types of data information may be received, and the T0 value may be appropriately adjusted according to the specific situation:
若收到其他整流器发送的地址设定响应信息, 表示其他整流器已设定 的地址与本机的预设地址信息中的预设地址相同, 此时该整流器放弃原预 设地址, 重新生成一个新的预设地址, 若新生成的地址和上次生成的地址 一样, 则再重新生成一次, 直至新生成的预设地址与上次生成的预设地址 不同为止; 这种处理方式可以减轻网络的负担, 缩短地址设定的时间; 若收到其他整流器发送的预设地址相同响应信息, 表示其他整流器的 预设地址与本机的预设地址信息中的预设地址相同, 此时, 若该整流器的 地址设置因子大于发送预设地址相同响应信息的整流器的地址设置因子, 并在预定时间 TO内未收到其他类型的预设地址响应信息, 则该整流器将本 机的预设地址设置为本机地址; 若该整流器的地址设置因子小于或等于发 送预设地址相同响应信息的节点设备的地址设置因子, 则该整流器放弃原 预设地址, 重新生成本机的预设地址, 再次向其他节点设备发送新生成的 预设地址信息; If the address setting response message sent by another rectifier is received, it indicates that the address set by the other rectifier is the same as the preset address in the preset address information of the local machine. At this time, the rectifier abandons the original preset address and regenerates a new one. The preset address, if the newly generated address is the same as the last generated address, it is regenerated once until the newly generated preset address is different from the previously generated preset address; this processing can alleviate the network. Burden, shorten the time set by the address; if receiving the same response information from the preset address sent by other rectifiers, it means that the preset address of the other rectifier is the same as the preset address in the preset address information of the local machine. Rectifier If the address setting factor is greater than the address setting factor of the rectifier that sends the same response information as the preset address, and the other types of preset address response information are not received within the predetermined time TO, the rectifier sets the preset address of the local machine to the local device. Address; if the address setting factor of the rectifier is less than or equal to the address setting factor of the node device that sends the same response information of the preset address, the rectifier discards the original preset address, regenerates the preset address of the local device, and re-generates to the other node device. Send newly generated preset address information;
若收到其他整流器发送的预设地址不同响应信息, 表示其他整流器的 预设地址与本机的预设地址信息中的预设地址不同, 此时, 若该整流器在 预定时间 TO内未接收到其他类型的预设地址响应信息,则该整流器将本机 的预设地址设置为本机地址。  If different response information is received from the preset address sent by the other rectifier, it indicates that the preset address of the other rectifier is different from the preset address in the preset address information of the local device. At this time, if the rectifier does not receive within the predetermined time TO For other types of preset address response information, the rectifier sets the preset address of the unit to the local address.
步骤 S417, 该整流器确定本机地址后, 将该地址保存于 EEPROM中, 同时向监控单元发送一个地址确认信息, 监控单元收到后记录该地址, 并 开始正常的 CAN通信。 此后, 当收到其他整流器发送的预设地址信息时, 若该预设地址信息中的预设地址与本机地址相同, 则向发送该预设地址信 息的整流器发送地址设定响应信息。  Step S417, after the rectifier determines the local address, saves the address in the EEPROM, and sends an address confirmation message to the monitoring unit. After receiving the address, the monitoring unit records the address and starts normal CAN communication. Thereafter, when the preset address information sent by the other rectifiers is received, if the preset address in the preset address information is the same as the local address, the address setting response information is sent to the rectifier that sends the preset address information.
实施例二:  Embodiment 2:
在通信直流电源系统中, 由 6 个整流器构成了一个对等通信模式的 CAN总线网络, CAN的通信速率为 500Kbps, 报文格式为扩展的 29位数 据位, 整流器将设定地址保存在 FLASH中, 初始值为 0, 地址设置步骤如 下:  In the communication DC power system, a rectifier bus constitutes a peer-to-peer communication mode CAN bus network, the CAN communication rate is 500Kbps, the message format is an extended 29-bit data bit, and the rectifier stores the set address in the FLASH. , the initial value is 0, the address setting steps are as follows:
步骤 S401 , 系统上电后, 各整流器获取本机的出厂时间, 即年月日时 分秒, 作为本机的地址设置因子 randomN , 其中 N的值为 1 ~6;  Step S401, after the system is powered on, each rectifier obtains the factory time of the machine, that is, the year, month, day, hour, minute and second, as the address setting factor randomN of the machine, wherein the value of N is 1 to 6;
步骤 S402~405 , 从 FLASH中读取地址信息, 若地址信息为 0, 则产生 一个范围在 1~30的预设地址 addrN; 若 EEPROM中的地址信息不为 0, 且 在 1~30 的范围内, 则将该地址作为本机的预设地址 addrN; 若不在 1~30 的范围内, 则产生一个范围在 1~30的预设地址 addrN; Steps S402~405, reading the address information from the FLASH, if the address information is 0, generating a preset address addrN ranging from 1 to 30; if the address information in the EEPROM is not 0, and in the range of 1~30 Inside, the address is used as the default address addrN of the machine; if not in 1~30 Within the range, a preset address addrN ranging from 1 to 30 is generated;
步骤 S406, 整流器内监控软件向 CAN 网络中的其他节点设备发送本 机的预设地址信息;  Step S406, the monitoring software in the rectifier sends the preset address information of the local device to other node devices in the CAN network;
步骤 S407~S416, 在预定时间 T0=30ms内, 可能收到以下类型的数据 信息之一, TO值可根据具体情况作适当调整:  Steps S407~S416, within the predetermined time T0=30ms, one of the following types of data information may be received, and the TO value may be appropriately adjusted according to the specific situation:
若收到其他整流器发送的地址设定响应信息, 此时该整流器放弃原预 设地址, 重新生成一个新的预设地址, 若新生成的地址和上次生成的地址 一样, 再生成一次, 直至与上次的预设地址不同为止;  If the address setting response message sent by another rectifier is received, the rectifier relinquishes the original preset address and regenerates a new preset address. If the newly generated address is the same as the last generated address, it is generated again until Different from the last preset address;
若收到其他整流器发送的预设地址相同响应信息, 此时, 若该整流器 的地址设置因子大于发送预设地址相同响应信息的整流器的地址设置因 子, 并在预定时间 TO内未收到其他类型的预设地址响应信息, 则该整流器 将本机的预设地址设置为本机地址; 否则该整流器放弃原预设地址, 重新 生成本机的预设地址, 并再次向其他节点设备发送新生成的预设地址信息; 若收到其他整流器发送的预设地址不同响应信息, 此时, 若该整流器 在预定时间 TO内未接收到其他类型的预设地址响应信息, 则该整流器将本 机的预设地址设置为本机地址;  If the same response information is received from the preset address sent by the other rectifiers, if the address setting factor of the rectifier is greater than the address setting factor of the rectifier that sends the same response information of the preset address, and no other type is received within the predetermined time TO The preset address response information, the rectifier sets the preset address of the local machine as the local address; otherwise, the rectifier relinquishes the original preset address, regenerates the preset address of the local device, and sends the new generation to the other node device again. The preset address information; if different response information is received from the preset address sent by the other rectifier, at this time, if the rectifier does not receive other types of preset address response information within the predetermined time TO, the rectifier will be the local The default address is set to the local address;
步骤 S417 , 该整流器确定本机地址后, 将该地址保存于 FLASH中, 开始正常的 CAN通信。 此后, 当收到其他整流器发送的预设地址信息时, 若该预设地址信息中的预设地址与本机地址相同, 则向发送该预设地址信 息的整流器发送地址设定响应信息。  Step S417, after the rectifier determines the local address, the address is saved in the FLASH, and normal CAN communication is started. Thereafter, when the preset address information sent by the other rectifiers is received, if the preset address in the preset address information is the same as the local address, the address setting response information is sent to the rectifier that sends the preset address information.
综上所述, 本实施例具有以下技术效果: CAN网络节点地址的自动设 置方法釆用的是纯软件的设置策略, 所以在硬件上无需增加成本, 此外, 本实施例釆用自适应的地址检测方法, 使得地址设置变得简单, 网络中节 点设备的数量也可以不受限制, 大大提高了系统的灵活性和可扩展性, 并 具有更加广泛的适用范围。 尽管上文对本发明进行了详细说明, 但是本发明不限于此, 本领域技 术人员可以根据本发明的原理进行各种修改。 因此, 凡按照本发明原理所 作的修改, 都应当理解为落入本发明的保护范围。 In summary, the embodiment has the following technical effects: The automatic setting method of the CAN network node address uses a pure software setting policy, so there is no need to increase the cost on the hardware, and in addition, the embodiment uses an adaptive address. The detection method makes the address setting simple, and the number of node devices in the network can be unrestricted, which greatly improves the flexibility and scalability of the system, and has a wider application range. Although the invention has been described in detail above, the invention is not limited thereto, and various modifications may be made by those skilled in the art in accordance with the principles of the invention. Therefore, modifications made in accordance with the principles of the invention should be construed as falling within the scope of the invention.

Claims

权利要求书 Claim
1、 一种控制器局域网 (CAN ) 网络节点地址的自动设置方法, 其特征 在于, 包括以下步骤:  1. A method for automatically setting a controller local area network (CAN) network node address, comprising the steps of:
A、 CAN网络中的各节点设备分别设置本机的预设地址;  A. Each node device in the CAN network sets the preset address of the local device separately;
B、 所述各节点设备分别向 CAN网络中其他节点设备发送本机的预设 地址信息;  B. The node devices respectively send preset address information of the local device to other node devices in the CAN network;
C、接收到预设地址信息的所述其他节点设备发送关于所述预设地址信 息的预设地址响应信息;  C. The other node device that receives the preset address information sends preset address response information about the preset address information.
D、发送预设地址信息的节点设备接收所述其他节点设备发送的预设地 址响应信息, 并根据所述预设地址响应信息确定和保存本机地址。  D. The node device that sends the preset address information receives the preset address response information sent by the other node device, and determines and saves the local address according to the preset address response information.
2、 根据权利要求 1所述的 CAN网络节点地址的自动设置方法, 其特 征在于, 所述预设地址响应信息包括以下之一:  2. The automatic setting method of a CAN network node address according to claim 1, wherein the preset address response information comprises one of the following:
地址设定响应信息, 用于表示其他节点设备已设定的地址与所述预设 地址信息中的预设地址相同;  The address setting response information is used to indicate that the address set by the other node device is the same as the preset address in the preset address information;
预设地址相同响应信息, 用于表示其他节点设备的预设地址与所述预 设地址信息中的预设地址相同;  The preset address is the same response information, and is used to indicate that the preset address of the other node device is the same as the preset address in the preset address information;
预设地址不同响应信息, 用于表示其他节点设备的预设地址与所述预 设地址信息中的预设地址不同。  The preset address has different response information, and is used to indicate that the preset address of the other node device is different from the preset address in the preset address information.
3、 根据权利要求 1所述的 CAN网络节点地址的自动设置方法, 其特 征在于, 在所述步骤 A之前, 所述各节点设备分别设置本机的地址设置因 子。  3. The automatic setting method of a CAN network node address according to claim 1, wherein each of the node devices sets an address setting factor of the local device before the step A.
4、 根据权利要求 1所述的 CAN网络节点地址的自动设置方法, 其特 征在于, 所述步骤 A包括以下步骤:  4. The automatic setting method of a CAN network node address according to claim 1, wherein the step A comprises the following steps:
Al、 所述各节点设备检测自身是否已存有预设地址;  Al, each node device detects whether a preset address is already stored by itself;
A2、 若检测结果为已存有预设地址且该地址在有效范围内, 则将该地 址设置为本机的预设地址; A2. If the detection result is that a preset address is already stored and the address is within the valid range, the place is The address is set to the default address of the machine;
A3、 若检测结果为尚未存有预设地址, 则该节点设备在有效范围内自 行设置本机的预设地址。  A3. If the detection result is that the preset address is not stored, the node device automatically sets the preset address of the local machine within the valid range.
5、 根据权利要求 2或 4所述的 CAN网络节点地址的自动设置方法, 其特征在于, 所述预设地址, 其制定方法可在保证其值在有效范围内的条 件下自行决定, 其有效范围的下限值为 1 , 上限值应大于或等于所述 CAN 网络中节点设备的总数。  The method for automatically setting a node address of a CAN network according to claim 2 or 4, wherein the method for formulating the preset address can be determined by itself under the condition that the value is within the valid range, and the method is effective. The lower limit of the range is 1 and the upper limit should be greater than or equal to the total number of node devices in the CAN network.
6、 根据权利要求 3所述的 CAN网络节点地址的自动设置方法, 其特 征在于, 所述发送预设地址信息的节点设备根据所述预设地址响应信息确 定本机地址的步骤包括以下之一:  The method for automatically setting a node address of a CAN network according to claim 3, wherein the step of the node device that transmits the preset address information determining the local address according to the preset address response information includes one of the following :
若预设地址响应信息为地址设定响应信息, 则所述节点设备放弃原预 设地址, 重新生成本机的预设地址, 再次向其他节点设备发送新生成的预 设地址信息, 并等待预定时间 TO;  If the preset address response information is the address setting response information, the node device discards the original preset address, regenerates the preset address of the local device, and sends the newly generated preset address information to other node devices again, and waits for the reservation. Time TO;
若预设地址响应信息为预设地址相同响应信息, 则所述节点设备根据 地址设置因子的大小确定本机地址;  If the preset address response information is the same response information as the preset address, the node device determines the local address according to the size of the address setting factor;
若预设地址响应信息为预设地址不同响应信息,并在预定时间 TO内未 接收到其他类型的预设地址响应信息, 则所述节点设备将本机的预设地址 设置为本机地址。  If the preset address response information is different response information of the preset address, and other types of preset address response information are not received within the predetermined time TO, the node device sets the preset address of the local machine as the local address.
7、 根据权利要求 6所述的 CAN网络节点地址的自动设置方法, 其特 征在于, 所述节点设备根据地址设置因子的大小确定本机地址的步骤包括 以下之一:  7. The automatic setting method of a CAN network node address according to claim 6, wherein the step of the node device determining the local address according to the size of the address setting factor comprises one of the following:
若所述节点设备的地址设置因子大于发送预设地址相同响应信息的节 点设备的地址设置因子,并在预定时间 TO内未收到其他类型的预设地址响 应信息, 则所述节点设备将本机的预设地址设置为本机地址;  If the address setting factor of the node device is greater than the address setting factor of the node device that sends the same response information as the preset address, and the other types of preset address response information are not received within the predetermined time TO, the node device will The default address of the machine is set to the local address;
若所述节点设备的地址设置因子小于或等于发送预设地址相同响应信 息的节点设备的地址设置因子, 则所述节点设备放弃原预设地址, 重新生 成本机的预设地址, 再次向其他节点设备发送新生成的预设地址信息。 If the address setting factor of the node device is less than or equal to the same response address as the sending preset address The address setting factor of the node device of the information, the node device discards the original preset address, regenerates the preset address of the local device, and sends the newly generated preset address information to the other node device again.
8、 根据权利要求 7 所述的 CAN网络节点地址的自动设置方法, 其特 征在于, 所述重新生成的本机的预设地址若与上次生成的预设地址相同, 则再次重新生成本机的预设地址, 直至新生成的预设地址与上次生成的预 设地址不同为止。  8. The method for automatically setting a CAN network node address according to claim 7, wherein the regenerated local preset address is regenerated locally if the preset address is the same as the last generated preset address. The default address until the newly generated preset address is different from the last generated preset address.
9、 根据权利要求 2所述的 CAN网络节点地址的自动设置方法, 其特 征在于, 在所述步骤 D中确定本机地址之后, 若所述节点设备接收到所述 其他节点设备发送的预设地址信息中的预设地址与本机地址相同, 则向发 送该预设地址信息的节点设备发送地址设定响应信息。  The method for automatically setting a CAN network node address according to claim 2, wherein after determining the local address in the step D, if the node device receives the preset sent by the other node device If the preset address in the address information is the same as the local address, the address setting response information is sent to the node device that sends the preset address information.
10、 根据权利要求 1所述的 CAN网络节点地址的自动设置方法, 其特 征在于, 在所述步骤 D之后, 所述节点设备下次启动时, 优先使用本次设 定的地址作为本机的预设地址。  The method for automatically setting a node address of a CAN network according to claim 1, wherein, after the step D, the node device preferentially uses the address set this time as the local device. Default address.
11、 一种 CAN网络节点地址的自动设置装置, 其特征在于, 包括: 预设地址产生单元,用于 CAN网络中的各节点设备分别设置本机的预 设地址;  An automatic setting device for a CAN network node address, comprising: a preset address generating unit, configured to set a preset address of the local device by each node device in the CAN network;
预设地址信息发送单元,用于所述各节点设备分别向 CAN网络中其他 节点设备发送本机的预设地址信息;  a preset address information sending unit, configured to send, by each node device, preset address information of the local device to other node devices in the CAN network;
预设地址信息响应单元, 用于接收到预设地址信息的所述其他节点设 备对关于所述预设地址信息的预设地址信息产生响应并发送;  a preset address information response unit, wherein the other node device for receiving the preset address information responds to the preset address information about the preset address information and sends the preset address information;
预设地址信息响应接收单元, 用于发送预设地址信息的节点设备接收 所述其他节点设备发送的预设地址响应信息;  The preset address information response receiving unit, the node device for sending the preset address information receives the preset address response information sent by the other node device;
地址设定单元, 用于发送预设地址信息的节点设备根据所述预设地址 响应信息确定和保存本机地址。  The address setting unit, the node device for transmitting the preset address information determines and saves the local address according to the preset address response information.
PCT/CN2010/076334 2010-06-21 2010-08-25 Method and device for configuring network node addresses in controller area network automatically WO2011160335A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201010205873.8 2010-06-21
CN201010205873.8A CN101877727B (en) 2010-06-21 2010-06-21 Method for automatically setting CAN network node address and device thereof

Publications (1)

Publication Number Publication Date
WO2011160335A1 true WO2011160335A1 (en) 2011-12-29

Family

ID=43020189

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2010/076334 WO2011160335A1 (en) 2010-06-21 2010-08-25 Method and device for configuring network node addresses in controller area network automatically

Country Status (2)

Country Link
CN (1) CN101877727B (en)
WO (1) WO2011160335A1 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103217956B (en) * 2013-03-26 2015-05-13 三一重工股份有限公司 Industrial control system as well as control method and control device thereof
CN105812496A (en) * 2014-12-30 2016-07-27 深圳奥特迅电力设备股份有限公司 Power module address automatic setting method and system

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP0495515A2 (en) * 1991-01-17 1992-07-22 KONE Elevator GmbH Method of assigning message identifiers in the data transmission network of an elevator system
US6216172B1 (en) * 1997-03-29 2001-04-10 Endress + Hauser Gmbh + Co. Automatic can address allocation method
CN101175000A (en) * 2007-11-22 2008-05-07 华为技术有限公司 Method and device for automatic IP address detection
CN101309306A (en) * 2008-07-16 2008-11-19 哈尔滨工业大学 Method for allocating addresses from node device in Modbus communication network

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101399700B (en) * 2008-06-06 2011-10-05 韦自力 Apparatus, method and integrated circuit chip having on-line addressing bus type node

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP0495515A2 (en) * 1991-01-17 1992-07-22 KONE Elevator GmbH Method of assigning message identifiers in the data transmission network of an elevator system
US6216172B1 (en) * 1997-03-29 2001-04-10 Endress + Hauser Gmbh + Co. Automatic can address allocation method
CN101175000A (en) * 2007-11-22 2008-05-07 华为技术有限公司 Method and device for automatic IP address detection
CN101309306A (en) * 2008-07-16 2008-11-19 哈尔滨工业大学 Method for allocating addresses from node device in Modbus communication network

Also Published As

Publication number Publication date
CN101877727B (en) 2014-07-16
CN101877727A (en) 2010-11-03

Similar Documents

Publication Publication Date Title
EP2555468B1 (en) Device control method, network device and network system
JP6463709B2 (en) Industrial Internet Broadband Fieldbus Clock Synchronization Method
US9100397B2 (en) BACnet MS/TP automatic MAC addressing
JP2017191610A (en) Method for supplying power in network and apparatus therefor
US11316654B2 (en) Communication device and method for operating a communication system for transmitting time critical data
US11467566B2 (en) Communication device, communication terminal, communication device and method for operating a communication system for transmitting time-critical data
JP2008099482A (en) Battery pack block, battery pack system, and address setting method for battery pack system
CN112075063B (en) Gateway for data communication in a vehicle
WO2017215492A1 (en) Device detection method and apparatus
CN101820359A (en) Fault processing method and equipment for network equipment
KR20200141206A (en) Apparatus for management network of a vehicle, system having the same and method thereof
CA2998428A1 (en) Modular control device of an industrial automation system, and method for configuring the modular control device
WO2012126243A1 (en) Address pool allocation system and method
JP5775473B2 (en) Edge device redundancy system, switching control device, and edge device redundancy method
JP2007500986A (en) Time-triggered communication system and method for dual channel network synchronization
WO2011160335A1 (en) Method and device for configuring network node addresses in controller area network automatically
JP6398605B2 (en) Wireless communication apparatus, wireless communication program, and wireless communication system
CN103841218A (en) Method for determining duration of public network access by user terminal and net access server
CN109274763B (en) Information synchronization method and dual-computer hot standby equipment
CN106982156B (en) Priority setting method, device, communication system, equipment and readable storage medium storing program for executing
CN108600179B (en) Authentication processing method and device
WO2016065925A1 (en) Controller replacing method and device
KR102032898B1 (en) Method for remote power control using power over ethernet line and the apparatus thereof
CN107846312A (en) A kind of network service ensuring equipment
JP2003078536A (en) Serial communication system

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 10853474

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 10853474

Country of ref document: EP

Kind code of ref document: A1