WO2011011915A1 - 数据通信方法、通信设备及通信系统 - Google Patents

数据通信方法、通信设备及通信系统 Download PDF

Info

Publication number
WO2011011915A1
WO2011011915A1 PCT/CN2009/072970 CN2009072970W WO2011011915A1 WO 2011011915 A1 WO2011011915 A1 WO 2011011915A1 CN 2009072970 W CN2009072970 W CN 2009072970W WO 2011011915 A1 WO2011011915 A1 WO 2011011915A1
Authority
WO
WIPO (PCT)
Prior art keywords
port
data
master device
slave
function
Prior art date
Application number
PCT/CN2009/072970
Other languages
English (en)
French (fr)
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 华为技术有限公司
Priority to PCT/CN2009/072970 priority Critical patent/WO2011011915A1/zh
Priority to EP09847701A priority patent/EP2434687A4/en
Priority to CN2009801564367A priority patent/CN102318267A/zh
Priority to BR112012002122A priority patent/BR112012002122A2/pt
Publication of WO2011011915A1 publication Critical patent/WO2011011915A1/zh
Priority to US13/338,392 priority patent/US20120093203A1/en

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/40Bus networks
    • H04L12/40006Architecture of a communication node
    • H04L12/40019Details regarding a bus master

Definitions

  • the present invention relates to the field of data communication technologies, and in particular, to a data communication method, a communication device, and a communication system.
  • each device of the communication system is usually connected using a bus.
  • the bus used is, for example, an RS422 bus or an RS485 bus, which are all serial data buses.
  • the RS422 bus can support 10 node devices
  • the RS485 bus can support 32 node devices
  • multiple node devices form a network.
  • the network topology formed by using the RS422 bus or the RS485 bus adopts a bus type structure.
  • each node device When implementing point-to-multipoint communication, each node device generally has one master device, and the rest are slave devices.
  • a bus type network is formed by using an RS422 bus or an RS485 bus, which is usually implemented as follows: Taking an RS485 bus as an example, an RS485 bus is connected from an interface of a master device to a slave device, and the slave device and the like The devices are connected in sequence via the RS485 bus. Among them, each slave node device provides two cable connectors, one for connecting to the bus of the previous device and the other for connecting to the bus of the next device. In this way, when the slave device is changed in position or in the middle, the connection between the two slave devices only needs to be changed, and the connection of other slave devices is not affected, so that the wiring and cable fabrication in the field is convenient.
  • a corresponding address dial switch is provided on each slave device.
  • the state of the dial switch is manually set to set a different address of the slave device, and the master device performs the interaction with the slave device according to the address of the slave device. .
  • the prior art implements the connection in the bus type network manner, when the bus connection of one of the slave devices and the next slave device fails, This will result in inaccessibility of all slave devices behind the slave device, so the reliability of the prior art connection method is low.
  • the technical problem to be solved by the embodiments of the present invention is to provide a data communication method, a communication device, and a communication system with high connection reliability.
  • a data communication method comprising: The master device transmits data to one of the at least two slave devices, wherein the master device includes a first RS485/RS422 port and a second RS485/RS422 port, and the master device passes the first RS485/ of the master device
  • An RS422 port and a second RS485/RS422 port are connected to the at least two slave devices via an RS485/RS422 bus loop from a first RS485/RS422 port of the master device to a first RS485/RS422 port of the master device
  • the connected slave device transmits data
  • the function of transmitting data of the first RS485/RS422 port of the master device is turned on, and the function of sending data of the second RS485/RS422 port of the master device is turned off;
  • the function of transmitting data of the first RS485/RS422 port of the master device is turned off, and the function of transmitting data of the second RS485/RS422 port of the master device is turned on.
  • a communication device comprising:
  • a transceiver unit configured to send data to one of the at least two slave devices, the communication device passing through the first RS485/RS422 port and the second RS485/RS422 port of the transceiver unit and the at least two slave devices
  • the first RS485/RS422 port of the transceiver unit transmits data to the slave device connected to the first RS485/RS422 port of the transceiver unit through the RS485/RS422 bus loop connection
  • the first RS485/ of the transceiver unit is turned on. Sending data function of the RS422 port, and simultaneously turning off the sending data function of the second RS485/RS422 port of the transceiver unit;
  • the control unit is configured to: when detecting that the line is interrupted, turn off the sending data function of the first RS485/RS422 port of the transceiver unit, and simultaneously open the sending data function of the second RS485/RS422 port of the transceiver unit.
  • a communication system comprising:
  • the master device including a first RS485/RS422 port and a second RS485/RS422 port;
  • the master device is configured to send data to one of the at least two slave devices, where the master device passes the first RS485/RS422 port and the second RS485/RS422 port of the master device At least two slave devices are connected through an RS485/RS422 bus loop, and when the master device transmits data from the first RS485/RS422 port to the slave device connected to the first RS485/RS422 port, the master device is turned on.
  • the master device turns off the function of transmitting data of the first RS485/RS422 port of the transceiver unit, and simultaneously opens the function of sending data of the second RS485/RS422 port of the transceiver unit.
  • a base station :
  • the main control board is configured to send data to one of the at least two slave devices, where the main control board includes a first RS485/RS422 port and a second RS485/RS422 port, where the master control The board is connected to the at least two slave devices through an RS485/RS422 bus loop through a first RS485/RS422 port and a second RS485/RS422 port of the main control board, from the first RS485/RS422 of the main control board
  • the port sends data to the slave device connected to the first RS485/RS422 port of the main control board
  • the function of sending data of the first RS485/RS422 port of the main control board is opened, and the second of the main control board is closed.
  • the function of transmitting data of the first RS485/RS422 port of the main control board is turned off, and the transmission data function of the second RS485/RS422 port of the main control board is simultaneously turned on.
  • the technical solution of the embodiment of the present invention is that the master device sends data to one of the at least two slave devices, where the master device passes the first RS485/RS422 port and the second RS485/RS422 port. Opening the at least two slave devices through an RS485/RS422 bus loop, and opening the first device from the first RS485/RS422 port to the first RS485/RS422 port connected slave device.
  • the function of sending data of the RS485/RS422 port, and the function of sending data of the second RS485/RS422 port of the master device is turned off.
  • the first RS485 of the master device can be turned off according to the ring network structure.
  • FIG. 1 is a flow chart of a data communication method according to an embodiment of the present invention
  • connection mode is a schematic diagram of a connection mode according to an embodiment of the present invention.
  • FIG. 3 is a schematic diagram of processing after detecting a connection interruption according to an embodiment of the present invention.
  • FIG. 4 is a schematic structural diagram of an internal circuit of a master device in an embodiment of the present invention.
  • FIG. 5 is a schematic structural diagram of a communication device according to an embodiment of the present invention.
  • FIG. 6 is a schematic structural diagram of a communication system according to an embodiment of the present invention.
  • FIG. 1 is a flow chart of a data communication method according to an embodiment of the present invention.
  • Step 101 The master device sends data to one of the at least two slave devices, where the master device includes a first RS485/RS422 port and a second RS485/RS422 port, where the master device passes the first device An RS485/RS422 port and a second RS485/RS422 port are connected to the at least two slave devices via an RS485/RS422 bus loop, from the first RS485/RS422 port of the master device to the first RS485 of the master device /
  • the slave device connected to the RS422 port transmits data, the function of transmitting data of the first RS485/RS422 port of the master device is turned on, and the function of sending data of the second RS485/RS422 port of the master device is turned off;
  • the first RS485 port and the second RS485 port correspond to the RS485 bus
  • the first RS422 port and the second RS422 port correspond to the RS422 bus, that is, when the first RS485 port is selected, the second RS485 port is selected correspondingly.
  • the RS485 bus when the first RS422 port is selected, the second RS422 port and the RS422 bus are selected correspondingly.
  • the master device passes the first RS485/RS422 port of the master device and the second RS485/
  • the RS422 port is connected to at least two slave devices via a bus loop including:
  • the first RS485/RS422 port of the master device is connected to the first RS485/RS422 port of the first slave device of the at least two slave devices via an RS485/RS422 bus, and the second RS485/ of the first slave device RS422 port through the RS485/RS422 bus and the at least two slave devices
  • the second RS485/RS422 port of the second slave device is connected, the at least two slave devices are sequentially connected through the RS485/RS422 bus, and the last slave device of the at least two slave devices communicates with the master through the RS485/RS422 bus
  • the second RS485/RS422 port of the device is connected.
  • Step 102 When detecting that the line is interrupted, turn off the sending data function of the first RS485/RS422 port of the master device, and simultaneously open the sending data function of the second RS485/RS422 port of the master device.
  • the detecting the line interruption includes: determining that the line is determined when the first RS485/RS422 port of the master device does not receive the data transmitted by the slave device of the first RS485/RS422 port of the master device. An interrupt occurs and the interrupt location is determined.
  • the determining the interruption location includes:
  • the function of transmitting the data of the first RS485/RS422 port of the master device and simultaneously opening the data function of the second RS485/RS422 port of the master device includes:
  • the technical solution of the embodiment of the present invention is that the master device sends data to one of the at least two slave devices, wherein the master device passes the first RS485/RS422 port and the second RS485/RS422.
  • a port is connected to the at least two slave devices through a bus loop, and data is sent from the first RS485/RS422 port to the slave device connected to the first RS485/RS422 port, and when detecting a line interruption, a ring network structure, the function of transmitting data of the first RS485/RS422 port of the master device is turned off, and the function of sending data of the second RS485/RS422 port of the master device is turned on, so that all slave devices can be realized even if the line is interrupted
  • the access overcomes the shortcomings of the prior art in connection with the bus type network, and improves the reliability of the connection. The technical solutions of the embodiments of the present invention are further described in detail below.
  • connection mode 2 is a schematic diagram of a connection mode according to an embodiment of the present invention.
  • the master device sets two RS485/RS422 ports, which are CON1 and CON2 respectively.
  • CON1 and CON2 can be two independent physical ports or a separate physical port.
  • two logical RS485/RS422 ports are implemented through two connectors (for example, RJ45).
  • Each slave device provides one RS485/RS422 input port and one RS485/RS422 output port.
  • the first RS485/RS422 port and the second RS485/RS422 port of each slave device are sequentially connected by the CON1 and CON2 of the master device, that is, the CON1 of the master device is connected to the first RS485/RS422 port of the first slave device, A second RS485/RS422 port of the slave device is connected to the first RS485/RS422 port of the second slave device, and so on, and the second RS485/RS422 port of the last slave device is connected to the CON2 of the master device, thereby forming a logic Ring.
  • the master device controls the access of CON1 and CON2 to achieve mutual exclusion, that is, when CON1 accesses the slave device (sends data), CON2 prohibits access (forbids CON2 to send data), and when CON2 accesses the slave device, CON1 prohibits access.
  • the master device can be set to access all the slave devices through CON1 by default.
  • the master device communicates and controls the slave devices on the bus through CON1, and the sending function of CON2 is in the off state.
  • the master device accesses the slave device after the breakpoint via CON2.
  • FIG. 3 is a schematic diagram of processing after detecting a connection interruption according to an embodiment of the present invention.
  • the line between device 1 and slave 2 is interrupted.
  • CON1 of the master can only access slave 0 and slave 1, and slave 2 to slave N after the break point cannot be accessed.
  • the master can turn off CON1 and use the CON2 of the master to access the slave after the breakpoint.
  • the master device turns on CON1 and CON2 in turn according to the principle of time division, so as to achieve normal access to all slave devices, and avoid the defects in the prior art that all slave devices are inaccessible due to bus interruption.
  • the master device can determine whether the line is interrupted based on the status of the data received by CON1.
  • the data sent by the master device through CON1 can be received through CON1. If it is found that the data sent by CON1 cannot be received, it can be judged that the line is interrupted.
  • the master device needs to determine the specific location where the interrupt occurs, that is, determine which slave line after the slave device is interrupted.
  • the master device can determine the specific location of the interrupt based on the detected address of the slave device.
  • FIG. 4 is a schematic diagram showing the internal circuit structure of a master device in an embodiment of the present invention.
  • the method includes: a bus sending unit 1, a bus receiving unit 1, a bus transmitting unit 2, a bus receiving unit 2, a data transceiving unit 1, a data transceiving unit 2, a control unit, and a bus transmission enable control. unit.
  • bus transmitting unit 1 and the bus receiving unit 1 are connected to CON1 of the master device, and the bus transmitting unit 2 and the bus receiving unit 2 are connected to CON2 of the master device.
  • the data transceiving unit 1 is respectively connected to the bus transmitting unit 1 and the bus receiving unit 1 to realize receiving and transmitting data of CON1; the data transceiving unit 2 is respectively connected with the bus transmitting unit 2 and the bus receiving unit 2 to realize data reception of CON2 and send.
  • the data transceiving unit 1 and the data transceiving unit 2 transmit the received data to the control unit or transmit the transmission data of the control unit.
  • the control unit realizes the opening and closing control of the transmission function of the bus transmitting unit 1 and the bus transmitting unit 2 through the bus transmission enabling control unit.
  • the control unit sends the "Enable Control” signal output from the enable control unit via the bus to open the bus transmission unit 1, so that the control unit can send data externally via CON1.
  • the control unit sends the output of the enable control unit via the bus.
  • the "Enable Control 2" signal turns off Bus Transmitter Unit 2, avoiding the bus conflict caused by CON1 and CON2 simultaneously outputting data. This allows the master device to achieve normal access to all slave devices via CON1.
  • the control unit determines that the slave device of some address cannot access normally, the control unit controls the transmission enable control unit to output the "enable control signal" to turn off the bus transmitting unit 1, and simultaneously control the bus transmission enable control unit output” enable control.
  • the 2" signal turns on the bus transmitting unit 2, so that the master device can access the device behind the line break point via the loop bus through the CON2.
  • the master/slave control unit sequentially turns on the bus transmitting unit 1 and the bus unit according to the time division principle. 2, thereby achieving normal access to all slave devices.
  • FIG. 5 is a schematic structural diagram of a communication device according to an embodiment of the present invention.
  • the communication device includes: a transceiver unit 1001 and a control unit 1002.
  • the transceiver unit 1001 is configured to send data to one of the at least two slave devices, where the communication device passes through the first RS485/RS422 port and the second RS485/RS422 port of the transceiver unit 1001 and the at least two slave devices through the RS485. / RS422 bus loop connection.
  • the first RS485/RS422 port, the second RS485/RS422 port, and the RS485/RS422 bus are applicable,
  • the first RS485 port and the second RS485 port correspond to the RS485 bus
  • the first RS422 port and the second RS422 port correspond to the RS422 bus, that is, when the first RS485 port is selected, the second RS485 port and the RS48 bus are selected correspondingly
  • the second RS422 port and the RS422 bus are selected correspondingly.
  • the function of transmitting data of the first RS485/RS422 port of the transceiver unit 1001 is turned on, and Turning off the sending data function of the second RS485/RS422 port of the transceiver unit 1001;
  • the control unit 1002 is configured to: when detecting an interruption of the line, turn off the function of sending data of the first RS485/RS422 port of the transceiver unit 1001, and simultaneously open the function of sending data of the second RS485/RS422 port of the transceiver unit 1001. .
  • the control unit 1002 includes: a detecting unit 10021 and a processing unit 10022.
  • the detecting unit 10021 is configured to: when detecting that the first RS485/RS422 port of the transceiver unit 1001 does not receive the data transmitted by the slave device of the first RS485/RS422 port connected to the transceiver unit 1001, determine that the line is interrupted, and determine Interrupted position
  • the processing unit 10022 is configured to close the transmit data function of the first RS485/RS422 port of the transceiver unit 1001, and simultaneously open the transmit data function of the second RS485/RS422 port of the transceiver unit 1001.
  • the detecting unit 10021 determines that the position between the slave device and the previous connected slave device is a break point. ;
  • the processing unit 10022 controls to transmit data from the second RS485/RS422 port of the transceiver unit 1001 to the slave device after the determined interruption point, and then sequentially controls the first RS485/ from the transceiver unit 1001 according to the time division principle.
  • the RS422 port transmits data to the slave device preceding the determined break point, and transmits data from the second RS485/RS422 port of the transceiver unit 1001 to the slave device after the determined break point.
  • the communication device in the embodiment of the present invention may be a base station, where the base station includes a main control board, and the main control board may include the transceiver unit 1001 and the control unit 1002, that is, the transceiver unit 1001 and the control unit.
  • the function of 1002 can be implemented by the main control board of the base station.
  • the main control board is configured to send data to one of the at least two slave devices, where the main control board includes a first RS485/RS422 port and a second RS485/RS422 port, where the main control board passes the a first RS485/RS422 port and a second RS485/RS422 port of the main control board are connected to the at least two slave devices via an RS485/RS422 bus loop, from the first RS485/RS422 port of the main control board to the When the slave device connected to the first RS485/RS422 port of the main control board transmits data, the function of transmitting data of the first RS485/RS422 port of the main control board is opened, and the second RS485/RS422 port of the main control board is closed.
  • Send data function
  • the function of transmitting data of the first RS485/RS422 port of the main control board is turned off, and the transmission data function of the second RS485/RS422 port of the main control board is simultaneously turned on.
  • the main control board determines that the line is interrupted and determines the interrupt position.
  • FIG. 6 is a schematic structural diagram of a communication system according to an embodiment of the present invention.
  • the communication system includes: a master device 1101, and at least two slave devices 1102.
  • the master device 1101 is configured to send data to one of the at least two slave devices 1102, where the master device 1101 passes through the first RS485/RS422 port and the second RS485/RS422 port of the master device. Opening at least two slave devices 1102 through an RS485/RS422 bus loop, when transmitting data from a first RS485/RS422 port of the master device to a slave device connected to a first RS485/RS422 port of the master device The function of transmitting data of the first RS485/RS422 port of the master device, and simultaneously turning off the function of sending data of the second RS485/RS422 port of the master device;; when detecting the interruption of the line, turning off the first RS485 of the master device / Send data function of the RS422 port, and simultaneously open the transmission data function of the second RS485/RS422 port of the master device.
  • the at least two slave devices 1102 and the master device 1101 are connected by a bus loop.
  • the master device 1101 determines that the line is interrupted, and determines that the slave device 1102 is connected to the previous one.
  • the location between devices 1102 is a break point;
  • the master device 1101 controls to transmit data from the second RS485/RS422 port of the master device to the slave device 1102 after the determined interruption point, and then sequentially controls from the device according to the time division principle.
  • the first RS485/RS422 port of the master device transmits data to the slave device 1102 preceding the determined breakpoint, and transmits data from the second RS485/RS422 port of the master device to the slave device 1102 after the determined breakpoint .
  • the technical solution of the embodiment of the present invention is that the master device sends data to one of the at least two slave devices, wherein the master device passes the first RS485/RS422 port of the master device and the second RS485/ The RS422 port is connected to the at least two slave devices via an RS485/RS422 bus loop, and when the data is transmitted from the first RS485/RS422 port of the master device to the slave device connected to the first RS485/RS422 port of the master device a function of transmitting data of the first RS485/RS422 port of the master device, and a function of transmitting data of the second RS485/RS422 port of the master device; and detecting a line interruption, according to the ring network structure Turning off the sending data function of the first RS485/RS422 port of the master device, and simultaneously opening the sending data function of the second RS485/RS422 port of the master device, so that access to all slave devices can be realized even

Description

数据通信方法、 通信设备及通信系统
技术领域
本发明涉及数据通信技术领域, 具体涉及一种数据通信方法、通信设备及 通信系统。
背景技术
数据通信中,通常使用总线连接通信系统的各设备。所使用的总线例如是 RS422总线或 RS485总线, 它们都是属于串行数据总线。 RS422总线可支持 10个节点设备, RS485总线可支持 32个节点设备, 由多个节点设备构成一个 网络。一般使用 RS422总线或 RS485总线形成的网络拓朴是采用总线型结构, 在实现点对多的通信时, 各节点设备中一般有一个主设备, 其余为从设备。
现有技术中, 使用 RS422总线或 RS485总线组成一个总线型网络, 通常 采用如下方式实现: 以使用 RS485总线为例,从主设备的接口引出一条 RS485 总线与一个从设备连接, 该从设备与其他从设备依次通过 RS485总线连接。 其中,每个从节点设备提供 2个电缆连接器, 一个用于与前一个设备的总线连 接, 另一个实现与下一个设备的总线的连接。这样在改变从设备的位置或者中 间增加从设备时, 只需要改变其中两个从设备间的连接, 不影响其它从设备的 连接, 使得现场的配线和电缆制作较方便。 另外, 在每个从设备上设有对应的 地址拨码开关,现场施工时, 手工设置拨码开关的状态来设置从设备的不同地 址, 主设备根据从设备的地址实现与从设备的访问交互。
在对现有技术的研究和实践过程中, 发明人发现现有技术存在以下问题: 现有技术按总线型网络方式实现连接,当其中一个从设备与下一从设备的总线 连接出现故障时,会导致该从设备后面的所有从设备都无法访问, 因此现有技 术的连接方式的可靠性较低。
发明内容
本发明实施例要解决的技术问题是提供一种连接可靠性高的数据通信方 法、 通信设备及通信系统。
为解决上述技术问题, 本发明所提供的实施例是通过以下技术方案实现 的:
一种数据通信方法, 包括: 主设备向至少两个从设备中的一个从设备发送数据, 其中所述主设备包 括第一 RS485/ RS422端口和第二 RS485/ RS422端口,所述主设备通过所述主 设备的第一 RS485/ RS422端口和第二 RS485/ RS422端口与所述至少两个从设 备通过 RS485/ RS422总线环路连接,从所述主设备的第一 RS485/ RS422端口 向所述主设备的第一 RS485/ RS422端口连接的从设备发送数据时, 打开所述 主设备的第一 RS485/ RS422端口的发送数据功能, 同时关闭所述主设备的第 二 RS485/ RS422端口的发送数据功能;
在检测出线路发生中断时, 关闭所述主设备的第一 RS485/ RS422端口的 发送数据功能, 同时打开所述主设备的第二 RS485/ RS422端口的发送数据功 能。
一种通信设备, 包括:
收发单元, 用于向至少两个从设备中的一个从设备发送数据, 所述通信 设备通过所述收发单元的第一 RS485/ RS422端口和第二 RS485/ RS422端口与 所述至少两个从设备通过 RS485/ RS422总线环路连接, 所述收发单元的第一 RS485/ RS422端口向所述收发单元的第一 RS485/ RS422端口连接的从设备发 送数据时, 打开所述收发单元的第一 RS485/ RS422端口的发送数据功能, 同 时关闭所述收发单元的第二 RS485/ RS422端口的发送数据功能;
控制单元, 用于在检测出线路发生中断时, 关闭所述收发单元的第一 RS485/ RS422端口的发送数据功能, 同时打开所述收发单元的第二 RS485/ RS422端口的发送数据功能。
一种通信系统, 包括:
主设备和至少两个从设备,所述主设备包括第一 RS485/ RS422端口和第 二 RS485/ RS422端口;
所述主设备, 用于向所述至少两个从设备中的一个从设备发送数据, 其 中所述主设备通过所述主设备的第一 RS485/ RS422端口和第二 RS485/ RS422 端口与所述至少两个从设备通过 RS485/ RS422总线环路连接, 所述主设备从 所述第一 RS485/ RS422端口向所述第一 RS485/ RS422端口连接的从设备发送 数据时, 打开所述主设备的第一 RS485/ RS422端口的发送数据功能, 同时关 闭所述主设备的第二 RS485/ RS422端口的发送数据功能; 所述主设备在检测出线路发生中断时, 关闭所述收发单元的第一 RS485/ RS422端口的发送数据功能, 同时打开所述收发单元的第二 RS485/ RS422端 口的发送数据功能。
一种基站:
包括主控板, 所述主控板用于向至少两个从设备中的一个从设备发送数 据, 所述主控板包括第一 RS485/ RS422端口和第二 RS485/ RS422端口, 所述 主控板通过所述主控板的第一 RS485/ RS422端口和第二 RS485/ RS422端口与 所述至少两个从设备通过 RS485/ RS422总线环路连接, 从所述主控板的第一 RS485/ RS422端口向所述主控板的第一 RS485/ RS422端口连接的从设备发送 数据时, 打开所述主控板的第一 RS485/ RS422端口的发送数据功能, 同时关 闭所述主控板的第二 RS485/ RS422端口的发送数据功能;
在检测出线路发生中断时,关闭所述主控板的第一 RS485/ RS422端口的 发送数据功能, 同时打开所述主控板的第二 RS485/ RS422端口的发送数据功 能。
上述技术方案可以看出, 本发明实施例技术方案是主设备向至少两个从 设备中的一个从设备发送数据, 其中所述主设备通过第一 RS485/ RS422端口 和第二 RS485/ RS422端口与所述至少两个从设备通过 RS485/ RS422总线环路 连接,从所述第一 RS485/ RS422端口向所述第一 RS485/ RS422端口连接的从 设备发送数据时,打开所述主设备的第一 RS485/ RS422端口的发送数据功能, 同时关闭所述主设备的第二 RS485/ RS422端口的发送数据功能, 在检测出线 路发生中断时, 可以根据环网结构, 关闭所述主设备的第一 RS485/ RS422端 口的发送数据功能, 同时打开所述主设备的第二 RS485/ RS422端口的发送数 按总线型网络方式实现连接带来的缺陷, 提高了连接的可靠性。
附图说明
为了更清楚地说明本发明实施例或现有技术中的技术方案,下面将对实施 例或现有技术描述中所需要使用的附图作筒单地介绍,显而易见地, 下面描述 中的附图仅仅是本发明的一些实施例,对于本领域普通技术人员来讲,在不付 出创造性劳动的前提下, 还可以根据这些附图获得其他的附图。 图 1是本发明实施例一数据通信方法流程图;
图 2是本发明实施例的连接方式示意图;
图 3是本发明实施例检测到连接中断后的处理示意图;
图 4是本发明实施例中的主设备的内部电路结构示意图;
图 5是本发明实施例中通信设备的结构示意图;
图 6是本发明实施例通信系统的结构示意图。
具体实施方式
下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清 楚、 完整地描述, 显然, 所描述的实施例仅仅是本发明一部分实施例, 而不是 全部的实施例。基于本发明中的实施例, 本领域普通技术人员在没有作出创造 性劳动前提下所获得的所有其他实施例, 都属于本发明保护的范围。
图 1是本发明实施例一数据通信方法流程图。
步骤 101、 主设备向至少两个从设备中的一个从设备发送数据, 其中所述 主设备包括第一 RS485/ RS422端口和第二 RS485/ RS422端口,所述主设备通 过所述主设备的第一 RS485/ RS422端口和第二 RS485/ RS422端口与所述至少 两个从设备通过 RS485/ RS422总线环路连接, 从所述主设备的第一 RS485/ RS422端口向所述主设备的第一 RS485/ RS422端口连接的从设备发送数据时, 打开所述主设备的第一 RS485/ RS422端口的发送数据功能, 同时关闭所述主 设备的第二 RS485/ RS422端口的发送数据功能;
本发明实施例中第一 RS485/ RS422端口、 第二 RS485/ RS422 端口及
RS485/ RS422总线适用时, 第一 RS485端口、 第二 RS485端口与 RS485总线 对应, 第一 RS422端口、 第二 RS422端口与 RS422总线对应, 即当选取第一 RS485端口时, 对应选取第二 RS485端口与 RS485总线, 当选取第一 RS422 端口时, 对应选取第二 RS422端口与 RS422总线。
所述主设备通过所述主设备的第一 RS485/ RS422 端口和第二 RS485/
RS422端口与至少两个从设备通过总线环路连接包括:
所述主设备的第一 RS485/ RS422端口通过 RS485/ RS422总线与所述至 少两个从设备中的第一从设备的第一 RS485/ RS422端口连接, 所述第一从设 备的第二 RS485/ RS422端口通过 RS485/ RS422总线与所述至少两个从设备中 的第二从设备的第一 RS485/ RS422 端口连接, 所述至少两个从设备通过 RS485/ RS422 总线依次连接, 所述至少两个从设备中最后一个从设备通过 RS485/ RS422总线与所述主设备的第二 RS485/ RS422端口连接。
步骤 102、 在检测出线路发生中断时, 关闭所述主设备的第一 RS485/ RS422端口的发送数据功能, 同时打开所述主设备的第二 RS485/ RS422端口 的发送数据功能。
其中, 所述检测出线路发生中断包括: 在检测出所述主设备的第一 RS485/ RS422端口未接收到所述主设备的第一 RS485/ RS422端口连接的从设 备传输的数据时, 确定线路发生中断, 并确定中断位置。
所述确定中断位置包括:
检测出所述主设备的第一 RS485/ RS422端口未接收到连接的从设备传 输的数据时, 确定该从设备与前一连接的从设备之间的位置为中断点;
所述关闭所述主设备的第一 RS485/ RS422端口的发送数据功能,同时打 开所述主设备的第二 RS485/ RS422端口的发送数据功能包括:
从所述主设备的第二 RS485/ RS422端口向所述确定的中断点之后的从 设备发送数据,之后按照时分原则依次控制从所述主设备的第一 RS485/ RS422 端口向所述确定的中断点之前的从设备发送数据。
从实施例一内容可以看出,本发明实施例技术方案是主设备向至少两个从 设备中的一个从设备发送数据, 其中所述主设备通过第一 RS485/ RS422端口 和第二 RS485/ RS422端口与所述至少两个从设备通过总线环路连接, 从所述 第一 RS485/ RS422端口向所述第一 RS485/ RS422端口连接的从设备发送数 据, 在检测出线路发生中断时, 可以根据环网结构, 关闭所述主设备的第一 RS485/ RS422 端口的发送数据功能, 同时打开所述主设备的第二 RS485/ RS422端口的发送数据功能,从而即使线路中断也可以实现对所有从设备的访 问,克服了现有技术按总线型网络方式实现连接带来的缺陷,提高了连接的可 靠性。 以下详细进一步详细介绍本发明实施例技术方案。
图 2是本发明实施例的连接方式示意图。
如图 2所示,主设备设置两个 RS485/RS422端口,分别为 CON1和 CON2, CON1和 CON2可以是两个独立的物理端口, 也可以是一个独立的物理端口, 但通过两个连接器(例如 RJ45 ) 出接口实现两个逻辑的 RS485/RS422端口。 每个从设备提供 1个 RS485/RS422输入端口和 1个 RS485/RS422输出端口。 通过主设备的 CON1和 CON2与各个从设备的第一 RS485/ RS422端口和第二 RS485/ RS422端口顺序连接, 也就是, 主设备的 CON1连接第一个从设备的 第一 RS485/ RS422端口,第一个从设备的第二 RS485/ RS422端口连接第二个 从设备的第一 RS485/ RS422端口, 依次类推, 最后一个从设备的第二 RS485/ RS422端口与主设备的 CON2连接, 从而构成一个逻辑环网。
主设备控制 CON1和 CON2的访问实现互斥, 即当 CON1访问从设备时 (发送数据 ) , CON2禁止访问(禁止 CON2发送数据 ), 当 CON2访问从设备 时, CON1禁止访问。一般可以设置主设备默认通过 CON1实现对所有从设备 的访问。
正常情况下,主设备通过 CON1实现对总线上从设备的通信和控制, 同时 CON2的发送功能处在关闭状态。
当从设备中间的总线的连接中断时,主设备通过 CON2访问中断点后的从 设备。
图 3是本发明实施例检测到连接中断后的处理示意图。
如图 3所示,从设备 1和从设备 2间的线路中断,主设备的 CON1只能访 问从设备 0和从设备 1 , 中断点之后的从设备 2 ~从设备 N则无法访问。此时, 主设备可以关闭 CON1 , 采用主设备的 CON2访问中断点之后的从设备。在发 生故障后, 主设备是按照时分原则, 依次打开 CON1和 CON2, 从而实现对所 有从设备的正常访问,避免现有技术中因为总线发生中断导致后面所有从设备 无法访问的缺陷。
主设备可以根据 CON1接收数据的情况判断出线路是否中断。主设备通过 CON1发送出去的数据可以通过 CON1接收,如果发现无法接收到 CON1发送 的数据, 则可以判断出线路中断。
进一步的, 主设备需要判断发生中断的具体位置, 即确定哪个从设备之后 的线路发生中断。主设备可以根据检测到的从设备的地址确定出发生中断的具 体位置。
以下具体介绍主设备内部结构及从设备的内部结构。 图 4是本发明实施例中的主设备的内部电路结构示意图。
如图 4所示, 对于主设备, 包括: 总线发送单元 1、 总线接收单元 1、 总 线发送单元 2、总线接收单元 2、数据收发单元 1、数据收发单元 2、控制单元、 总线发送使能控制单元。
其中, 总线发送单元 1和总线接收单元 1连接到主设备的 CON1 , 总线发 送单元 2和总线接收单元 2连接到主设备的 CON2。
数据收发单元 1分别与总线发送单元 1和总线接收单元 1连接,实现 CON1 的数据的接收和发送;数据收发单元 2分别与总线发送单元 2和总线接收单元 2连接, 实现 CON2的数据的接收和发送。 数据收发单元 1和数据收发单元 2 把接收的数据发送给控制单元或者把控制单元的发送数据发送出去。
控制单元通过总线发送使能控制单元实现对总线发送单元 1 和总线发送 单元 2的发送功能的打开和关闭控制。 默认情况下,控制单元通过总线发送使 能控制单元输出的 "使能控制 Γ 信号打开总线发送单元 1 , 这样控制单元就 可以通过 CON1对外发送数据。同时控制单元通过总线发送使能控制单元输出 的 "使能控制 2" 信号关闭总线发送单元 2, 避免 CON1和 CON2同时输出数 据导致总线沖突。 这样主设备通过 CON1 就可以实现对所有从设备的正常访 问。
当控制单元判断出某些地址的从设备无法正常访问时,控制单元控制发送 使能控制单元输出 "使能控制 Γ 信号关闭总线发送单元 1 , 同时控制总线发 送使能控制单元输出 "使能控制 2"信号打开总线发送单元 2, 这样主设备通 过 CON2可以经由环路总线实现对线路中断点后面的设备的访问。此后,主备 的控制单元按照时分原则, 依次打开总线发送单元 1和总线单元 2, 从而实现 对所有从设备的正常访问。
图 5是本发明实施例中通信设备的结构示意图。
如图 5所示, 通信设备包括: 收发单元 1001、 控制单元 1002。
收发单元 1001 , 用于向至少两个从设备中的一个从设备发送数据, 所述 通信设备通过收发单元 1001的第一 RS485/ RS422端口和第二 RS485/ RS422 端口与至少两个从设备通过 RS485/ RS422总线环路连接。 本发明实施例中第 一 RS485/ RS422端口、第二 RS485/ RS422端口及 RS485/ RS422总线适用时, 第一 RS485端口、 第二 RS485端口与 RS485总线对应, 第一 RS422端口、 第 二 RS422端口与 RS422总线对应, 即当选取第一 RS485端口时, 对应选取第 二 RS485端口与 RS48总线, 当选取第一 RS422端口时,对应选取第二 RS422 端口与 RS422总线。 所述收发单元 1001的第一 RS485/ RS422端口向收发单 元 1001的第一 RS485/ RS422端口连接的从设备发送数据时,打开所述收发单 元 1001的第一 RS485/ RS422端口的发送数据功能, 同时关闭所述收发单元 1001的第二 RS485/ RS422端口的发送数据功能;
控制单元 1002, 用于在检测出线路发生中断时, 关闭所述收发单元 1001 的第一 RS485/ RS422端口的发送数据功能,同时打开所述收发单元 1001的第 二 RS485/ RS422端口的发送数据功能。
所述控制单元 1002包括: 检测单元 10021、 处理单元 10022。
检测单元 10021 ,用于在检测出所述收发单元 1001的第一 RS485/ RS422 端口未接收到收发单元 1001的第一 RS485/ RS422端口连接的从设备传输的数 据时, 确定线路发生中断, 并确定中断位置;
处理单元 10022, 用于关闭所述收发单元 1001的第一 RS485/ RS422端 口的发送数据功能,同时打开所述收发单元 1001的第二 RS485/ RS422端口的 发送数据功能。
所述检测单元 10021在检测出所述收发单元 1001的第一 RS485/ RS422 端口未接收到连接的从设备传输的数据时,确定该从设备与前一连接的从设备 之间的位置为中断点;
所述处理单元 10022控制从所述收发单元 1001的第二 RS485/ RS422端 口向所述确定的中断点之后的从设备发送数据,之后按照时分原则依次控制从 所述收发单元 1001的第一 RS485/ RS422端口向所述确定的中断点之前的从设 备发送数据,从所述收发单元 1001的第二 RS485/ RS422端口向所述确定的中 断点之后的从设备发送数据。
通信设备更具体的结构及描述可以参见前面图 5中的描述, 此处不再赘 述。 本发明实施例所述通信设备可为基站, 所述基站包括主控板, 所述主控板 可包括所述收发单元 1001及所述控制单元 1002, 即所述收发单元 1001及所 述控制单元 1002的功能可由基站的主控板实现。 所述主控板, 用于向至少两个从设备中的一个从设备发送数据, 所述主 控板包括第一 RS485/ RS422端口和第二 RS485/ RS422端口,所述主控板通过 所述主控板的第一 RS485/ RS422端口和第二 RS485/ RS422端口与所述至少两 个从设备通过 RS485/ RS422 总线环路连接, 从所述主控板的第一 RS485/ RS422端口向所述主控板的第一 RS485/ RS422端口连接的从设备发送数据时, 打开所述主控板的第一 RS485/ RS422端口的发送数据功能, 同时关闭所述主 控板的第二 RS485/ RS422端口的发送数据功能;
在检测出线路发生中断时,关闭所述主控板的第一 RS485/ RS422端口的 发送数据功能, 同时打开所述主控板的第二 RS485/ RS422端口的发送数据功 能。
所述主控板在检测出的第一 RS485/ RS422端口未接收到连接的从设备 传输的数据时, 确定线路发生中断, 并确定中断位置。
图 6是本发明实施例通信系统的结构示意图。
如图 6所示, 通信系统包括: 主设备 1101、 至少两个从设备 1102。
主设备 1101 , 用于向所述至少两个从设备 1102中的一个从设备发送数 据, 其中, 所述主设备 1101通过所述主设备的第一 RS485/ RS422端口和第二 RS485/ RS422端口与至少两个从设备 1102通过 RS485/ RS422总线环路连接, 从所述主设备的第一 RS485/ RS422端口向所述主设备的第一 RS485/ RS422端 口连接的从设备发送数据时, 打开所述主设备的第一 RS485/ RS422端口的发 送数据功能, 同时关闭所述主设备的第二 RS485/ RS422 端口的发送数据功 能;; 在检测出线路发生中断时, 关闭所述主设备的第一 RS485/ RS422端口的 发送数据功能, 同时打开所述主设备的第二 RS485/ RS422端口的发送数据功 h匕。
其中, 所述至少两个从设备 1102与主设备 1101是通过总线环路连接。 所述主设备 1101在检测出所述主设备的第一 RS485/ RS422端口未接收 到经所述从设备 1102传输的数据时,确定线路发生中断,并确定该从设备 1102 与前一连接的从设备 1102之间的位置为中断点;
所述主设备 1101控制从所述主设备的第二 RS485/ RS422端口向所述确 定的中断点之后的从设备 1102发送数据, 之后按照时分原则依次控制从所述 主设备的第一 RS485/ RS422端口向所述确定的中断点之前的从设备 1102发送 数据, 从所述主设备的第二 RS485/ RS422端口向所述确定的中断点之后的从 设备 1102发送数据。
综上所述, 本发明实施例技术方案是主设备向至少两个从设备中的一个 从设备发送数据, 其中所述主设备通过所述主设备的第一 RS485/ RS422端口 和第二 RS485/ RS422端口与所述至少两个从设备通过 RS485/ RS422总线环路 连接, 从所述主设备的第一 RS485/ RS422端口向所述主设备的第一 RS485/ RS422端口连接的从设备发送数据时, 打开所述主设备的第一 RS485/ RS422 端口的发送数据功能, 同时关闭所述主设备的第二 RS485/ RS422端口的发送 数据功能;, 在检测出线路发生中断时, 可以根据环网结构, 关闭所述主设备 的第一 RS485/ RS422 端口的发送数据功能, 同时打开所述主设备的第二 RS485/ RS422端口的发送数据功能, 从而即使线路中断也可以实现对所有从 设备的访问,克服了现有技术按总线型网络方式实现连接带来的缺陷,提高了 连接的可靠性。
本领域普通技术人员可以理解实现上述实施例方法中的全部或部分步骤 是可以通过程序来指令相关的硬件完成,所述的程序可以存储于一种计算机可 读存储介质中, 例如只读存储器, 磁盘或光盘等。
以上对本发明实施例所提供的一种数据通信方法、通信设备及通信系统进 述, 以上实施例的说明只是用于帮助理解本发明的方法及其核心思想; 同时, 对于本领域的一般技术人员,依据本发明的思想,在具体实施方式及应用范围 上均会有改变之处, 综上所述, 本说明书内容不应理解为对本发明的限制。

Claims

权 利 要 求
1、 一种数据通信方法, 其特征在于, 包括:
主设备向至少两个从设备中的一个从设备发送数据, 其中所述主设备包 括第一 RS485/ RS422端口和第二 RS485/ RS422端口,所述主设备通过所述主 设备的第一 RS485/ RS422端口和第二 RS485/ RS422端口与所述至少两个从设 备通过 RS485/ RS422总线环路连接,从所述主设备的第一 RS485/ RS422端口 向所述主设备的第一 RS485/ RS422端口连接的从设备发送数据时, 打开所述 主设备的第一 RS485/ RS422端口的发送数据功能, 同时关闭所述主设备的第 二 RS485/ RS422端口的发送数据功能;
在检测出线路发生中断时,关闭所述主设备的第一 RS485/ RS422端口的 发送数据功能, 同时打开所述主设备的第二 RS485/ RS422端口的发送数据功 能。
2、 根据权利要求 1所述的数据通信方法, 其特征在于: 所述主设备通过 所述主设备的第一 RS485/ RS422端口和第二 RS485/ RS422端口与至少两个从 设备通过 RS485/ RS422总线环路连接包括:
所述主设备的第一 RS485/ RS422端口通过 RS485/ RS422总线与所述至 少两个从设备中的第一从设备的第一 RS485/ RS422端口连接, 所述第一从设 备的第二 RS485/ RS422端口通过 RS485/ RS422总线与所述至少两个从设备中 的第二从设备的第一 RS485/ RS422 端口连接, 所述至少两个从设备通过 RS485/ RS422 总线依次连接, 所述至少两个从设备中最后一个从设备通过 RS485/ RS422总线与所述主设备的第二 RS485/ RS422端口连接。
3、 根据权利要求 1所述的数据通信方法, 其特征在于: 所述检测出线路 发生中断包括:
在检测出所述主设备的第一 RS485/ RS422端口未接收到连接的从设备 传输的数据时, 确定线路发生中断, 并确定中断位置。
4、 根据权利要求 3所述的数据通信方法, 其特征在于: 所述确定中断位 置包括:
在检测出所述主设备的第一 RS485/ RS422端口未接收到连接的从设备 传输的数据时, 确定该从设备与前一连接的从设备之间的位置为中断点; 所述关闭所述主设备的第一 RS485/ RS422端口的发送数据功能,同时打 开所述主设备的第二 RS485/ RS422端口的发送数据功能包括:
从所述主设备的第二 RS485/ RS422端口向所述确定的中断点之后的从 设备发送数据,之后按照时分原则依次控制从所述主设备的第一 RS485/ RS422 端口向所述确定的中断点之前的从设备发送数据, 从所述主设备的第二 RS485/ RS422端口向所述确定的中断点之后的从设备发送数据。
5、 一种通信设备, 其特征在于, 包括:
收发单元, 用于向至少两个从设备中的一个从设备发送数据, 所述通信 设备通过所述收发单元的第一 RS485/ RS422端口和第二 RS485/ RS422端口与 所述至少两个从设备通过 RS485/ RS422总线环路连接, 所述收发单元的第一 RS485/ RS422端口向所述收发单元的第一 RS485/ RS422端口连接的从设备发 送数据时, 打开所述收发单元的第一 RS485/ RS422端口的发送数据功能, 同 时关闭所述收发单元的第二 RS485/ RS422端口的发送数据功能;
控制单元, 用于在检测出线路发生中断时, 关闭所述收发单元的第一 RS485/ RS422 端口的发送数据功能, 同时打开所述收发单元的第二 RS485/ RS422端口的发送数据功能。
6、 根据权利要求 5所述的通信设备, 其特征在于:
所述控制单元包括:
检测单元,用于检测出所述主设备的第一 RS485/ RS422端口未接收到连 接的从设备传输的数据时, 确定线路发生中断, 并确定中断位置;
处理单元, 用于所述检测单元检测出线路发生中断时, 所述关闭所述收 发单元的第一 RS485/ RS422端口的发送数据功能, 同时打开所述收发单元的 第二 RS485/ RS422端口的发送数据功能。
7、 根据权利要求 6所述的通信设备, 其特征在于:
所述检测单元确定中断位置包括:
检测出所述主设备的第一 RS485/ RS422端口未接收到连接的从设备传 输的数据时, 确定该从设备与前一连接的从设备之间的位置为中断点;
所述处理单元控制从所述收发单元的第二 RS485/ RS422端口向所述确 定的中断点之后的从设备发送数据,之后按照时分原则依次控制从所述收发单 元的第一 RS485/ RS422端口向所述确定的中断点之前的从设备发送数据, 从 所述收发单元的第二 RS485/ RS422端口向所述确定的中断点之后的从设备发 送数据。
8、 一种通信系统, 其特征在于, 包括:
主设备和至少两个从设备,所述主设备包括第一 RS485/ RS422端口和第 二 RS485/ RS422端口;
所述主设备, 用于向所述至少两个从设备中的一个从设备发送数据, 其 中所述主设备通过所述主设备的第一 RS485/ RS422端口和第二 RS485/ RS422 端口与所述至少两个从设备通过 RS485/ RS422总线环路连接, 所述主设备从 所述第一 RS485/ RS422端口向所述第一 RS485/ RS422端口连接的从设备发送 数据时, 打开所述主设备的第一 RS485/ RS422端口的发送数据功能, 同时关 闭所述主设备的第二 RS485/ RS422端口的发送数据功能;
所述主设备在检测出线路发生中断时, 关闭所述收发单元的第一 RS485/ RS422端口的发送数据功能, 同时打开所述收发单元的第二 RS485/ RS422端 口的发送数据功能。
9、 根据权利要求 8所述的通信系统, 其特征在于: 所述主设备检测出线 路发生中断包括:
在检测出所述主设备的第一 RS485/ RS422端口未接收到连接的从设备 传输的数据时, 确定线路发生中断, 并确定中断位置。
10、 根据权利要求 9所述的通信系统, 其特征在于: 所述主设备确定中 断位置包括:
在检测出所述主设备的第一 RS485/ RS422端口未接收到连接的从设备 传输的数据时,确定线路发生中断,确定该从设备与前一连接的从设备之间的 位置为中断点;
所述主设备控制从所述主设备的第二 RS485/ RS422端口向所述确定的 中断点之后的从设备发送数据,之后按照时分原则依次控制从所述主设备的第 一 RS485/ RS422端口向所述确定的中断点之前的从设备发送数据, 从所述主 设备的第二 RS485/ RS422端口向所述确定的中断点之后的从设备发送数据。
11、 一种基站, 其特征在于:
包括主控板, 所述主控板用于向至少两个从设备中的一个从设备发送数 据, 所述主控板包括第一 RS485/ RS422端口和第二 RS485/ RS422端口, 所述 主控板通过所述主控板的第一 RS485/ RS422端口和第二 RS485/ RS422端口与 所述至少两个从设备通过 RS485/ RS422总线环路连接, 从所述主控板的第一 RS485/ RS422端口向所述主控板的第一 RS485/ RS422端口连接的从设备发送 数据时, 打开所述主控板的第一 RS485/ RS422端口的发送数据功能, 同时关 闭所述主控板的第二 RS485/ RS422端口的发送数据功能;
在检测出线路发生中断时,关闭所述主控板的第一 RS485/ RS422端口的 发送数据功能, 同时打开所述主控板的第二 RS485/ RS422端口的发送数据功 能。
12、 根据权利要求 11所述的基站, 其特征在于:
所述主控板检测出线路发生中断包括: 在检测出所述主控板的第一 RS485/ RS422端口未接收到连接的从设备传输的数据时, 确定线路发生中断, 并确定中断位置。
PCT/CN2009/072970 2009-07-29 2009-07-29 数据通信方法、通信设备及通信系统 WO2011011915A1 (zh)

Priority Applications (5)

Application Number Priority Date Filing Date Title
PCT/CN2009/072970 WO2011011915A1 (zh) 2009-07-29 2009-07-29 数据通信方法、通信设备及通信系统
EP09847701A EP2434687A4 (en) 2009-07-29 2009-07-29 DATA COMMUNICATION METHOD, COMMUNICATION EQUIPMENT AND COMMUNICATION SYSTEM
CN2009801564367A CN102318267A (zh) 2009-07-29 2009-07-29 数据通信方法、通信设备及通信系统
BR112012002122A BR112012002122A2 (pt) 2009-07-29 2009-07-29 método de comunicação de dados, dispositivo de comunicação, e sistema de comunicação
US13/338,392 US20120093203A1 (en) 2009-07-29 2011-12-28 Data communication method, communication device, and communication system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2009/072970 WO2011011915A1 (zh) 2009-07-29 2009-07-29 数据通信方法、通信设备及通信系统

Related Child Applications (1)

Application Number Title Priority Date Filing Date
US13/338,392 Continuation US20120093203A1 (en) 2009-07-29 2011-12-28 Data communication method, communication device, and communication system

Publications (1)

Publication Number Publication Date
WO2011011915A1 true WO2011011915A1 (zh) 2011-02-03

Family

ID=43528688

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2009/072970 WO2011011915A1 (zh) 2009-07-29 2009-07-29 数据通信方法、通信设备及通信系统

Country Status (5)

Country Link
US (1) US20120093203A1 (zh)
EP (1) EP2434687A4 (zh)
CN (1) CN102318267A (zh)
BR (1) BR112012002122A2 (zh)
WO (1) WO2011011915A1 (zh)

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102185718A (zh) * 2011-05-12 2011-09-14 杭州华三通信技术有限公司 一种系统升级方法及其装置
CN102710483A (zh) * 2012-05-21 2012-10-03 周明 一种rs485智能环路
CN103634388A (zh) * 2013-11-22 2014-03-12 华为技术有限公司 处理存储服务器中控制器重启的方法和相关设备及通信系统
CN106444527A (zh) * 2016-11-04 2017-02-22 南京丰道电力科技有限公司 一种基于可编程控制器的背板总线系统
CN109088753A (zh) * 2018-07-27 2018-12-25 江苏航天大为科技股份有限公司 自动检测rs485通信故障的电路和方法
CN109993958A (zh) * 2019-05-08 2019-07-09 深圳市共济科技股份有限公司 一种rs485总线的数据采集系统及方法
CN110266573A (zh) * 2019-07-16 2019-09-20 河北磐茂科技有限公司 基于485通讯的多节点控制电路
CN112260916A (zh) * 2020-09-18 2021-01-22 深圳市裕展精密科技有限公司 通信电路、通信网络及通信异常处理方法
CN112737912A (zh) * 2021-01-05 2021-04-30 安瑞科(廊坊)能源装备集成有限公司 一种485总线系统及其故障诊断方法

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106953809B (zh) * 2017-02-24 2020-04-14 烽火通信科技股份有限公司 一种基于485分时通信的设备资源采集方法
CN109104303A (zh) * 2018-07-20 2018-12-28 中国电子科技集团公司第三十八研究所 一种can总线id的自动配置系统和方法
CN113271244B (zh) * 2021-04-09 2022-06-28 电子科技大学 一种rs485总线自组网全双工通信系统及其地址自动编址方法

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6236623B1 (en) * 1998-10-16 2001-05-22 Moore Industries System and method for synchronizing clocks in a plurality of devices across a communication channel
CN1964245A (zh) * 2006-11-22 2007-05-16 中国科学院电工研究所 一种rs485面向字符的同步串行通信总线空闲时的抗干扰装置
CN1980154A (zh) * 2006-11-21 2007-06-13 华为技术有限公司 一种无线通信设备接口倒换的方法及装置
CN101005427A (zh) * 2006-12-22 2007-07-25 华为技术有限公司 一种485总线系统和传送数据的方法
CN101179337A (zh) * 2007-12-19 2008-05-14 深圳市三旺通信技术有限公司 一种单环结构串口调制解调器信号转发的方法

Family Cites Families (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US4593154A (en) * 1983-07-08 1986-06-03 Nissan Motor Company, Limited Loop-type data transmission/reception network
US5049871A (en) * 1987-01-20 1991-09-17 American Magnetics Corporation Loop communication system
JP2749581B2 (ja) * 1988-01-22 1998-05-13 ユニバーサル販売 株式会社 遊技機用データ通信システム
ATE225585T1 (de) * 1994-05-09 2002-10-15 Europlex Res Ltd Ringnetzsystem
US5787258A (en) * 1996-05-10 1998-07-28 General Signal Corporation Life safety system having a panel network with message priority
US7366115B2 (en) * 2001-12-13 2008-04-29 Ami Semiconductor Belgium Bvba Multiplex transmission system with in-circuit addressing
US20030154285A1 (en) * 2002-02-13 2003-08-14 International Business Machines Corporation Method and system for assigning network addreses
JP3630418B2 (ja) * 2002-09-11 2005-03-16 三菱電機株式会社 ネットワーク通信装置
US7693080B2 (en) * 2003-12-22 2010-04-06 Ge Security, Inc. Network loop monitor
US7570672B2 (en) * 2004-02-02 2009-08-04 Simplexgrinnell Lp Fiber optic multiplex modem
DE102005016596A1 (de) * 2005-04-11 2006-10-19 Beckhoff Automation Gmbh Teilnehmer, Master-Einheit, Kommunikationssystem und Verfahren zu deren Betreiben
CN101009625A (zh) * 2006-01-24 2007-08-01 普顿数位科技有限公司 一种即时环状监控网络系统
US8072999B1 (en) * 2007-05-08 2011-12-06 Motion Engineering Inc. Method and system for removing and returning nodes in a synchronous network

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6236623B1 (en) * 1998-10-16 2001-05-22 Moore Industries System and method for synchronizing clocks in a plurality of devices across a communication channel
CN1980154A (zh) * 2006-11-21 2007-06-13 华为技术有限公司 一种无线通信设备接口倒换的方法及装置
CN1964245A (zh) * 2006-11-22 2007-05-16 中国科学院电工研究所 一种rs485面向字符的同步串行通信总线空闲时的抗干扰装置
CN101005427A (zh) * 2006-12-22 2007-07-25 华为技术有限公司 一种485总线系统和传送数据的方法
CN101179337A (zh) * 2007-12-19 2008-05-14 深圳市三旺通信技术有限公司 一种单环结构串口调制解调器信号转发的方法

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
See also references of EP2434687A4 *

Cited By (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102185718A (zh) * 2011-05-12 2011-09-14 杭州华三通信技术有限公司 一种系统升级方法及其装置
CN102185718B (zh) * 2011-05-12 2014-06-25 杭州华三通信技术有限公司 一种系统升级方法及其装置
CN102710483A (zh) * 2012-05-21 2012-10-03 周明 一种rs485智能环路
CN103634388A (zh) * 2013-11-22 2014-03-12 华为技术有限公司 处理存储服务器中控制器重启的方法和相关设备及通信系统
CN103634388B (zh) * 2013-11-22 2017-06-20 华为技术有限公司 处理存储服务器中控制器重启的方法和相关设备及通信系统
CN106444527A (zh) * 2016-11-04 2017-02-22 南京丰道电力科技有限公司 一种基于可编程控制器的背板总线系统
CN109088753A (zh) * 2018-07-27 2018-12-25 江苏航天大为科技股份有限公司 自动检测rs485通信故障的电路和方法
CN109088753B (zh) * 2018-07-27 2021-10-26 江苏航天大为科技股份有限公司 自动检测rs485通信故障的电路和方法
CN109993958A (zh) * 2019-05-08 2019-07-09 深圳市共济科技股份有限公司 一种rs485总线的数据采集系统及方法
CN110266573A (zh) * 2019-07-16 2019-09-20 河北磐茂科技有限公司 基于485通讯的多节点控制电路
CN112260916A (zh) * 2020-09-18 2021-01-22 深圳市裕展精密科技有限公司 通信电路、通信网络及通信异常处理方法
CN112737912A (zh) * 2021-01-05 2021-04-30 安瑞科(廊坊)能源装备集成有限公司 一种485总线系统及其故障诊断方法

Also Published As

Publication number Publication date
CN102318267A (zh) 2012-01-11
EP2434687A1 (en) 2012-03-28
BR112012002122A2 (pt) 2016-05-31
US20120093203A1 (en) 2012-04-19
EP2434687A4 (en) 2012-03-28

Similar Documents

Publication Publication Date Title
WO2011011915A1 (zh) 数据通信方法、通信设备及通信系统
US7792016B2 (en) Network relay device for relaying data in a network and control method for the same
US7936685B2 (en) Intelligent fast switch-over network tap system and methods
AU2014339273B2 (en) Bus system, and method for operating such a bus system
KR20170103678A (ko) 피드포워드 링잉 억제 회로
US9952995B2 (en) Redundant packet forwarding system
JPS6333945A (ja) ロ−カルエリアデ−タデイストリビユ−シヨンシステム
CN101394288B (zh) 一种以太网设备端口镜像实现方法及装置
US20020124110A1 (en) Media converter and link test technique using the same
CN102664918B (zh) 刀片服务器控制方法及控制台
WO2011137797A1 (zh) 以太网中的数据传输方法和系统
WO2012059066A1 (zh) 串口定位故障方法及系统
US5469437A (en) Network chip with auto sensing and reconfiguration
CN201766606U (zh) 一种基于物理层状态检测和故障筛查策略的网络切换装置
CN113852529B (zh) 轨旁设备数据通信用背板总线系统及其数据传输方法
CN109753392B (zh) 网络桥接装置、总线测试的方法及其系统
US9660835B2 (en) Bidirectional packet transfer fail-over switch for serial communication
US6609172B1 (en) Breaking up a bus to determine the connection topology and dynamic addressing
US7881193B2 (en) Network system
US11714772B2 (en) Additional communication in standardized pinout of a bidirectional interface between a first and second communication device
TWI701938B (zh) 網路電話設備、外部連接卡以及網路電話設備的通訊方法
CN109088753B (zh) 自动检测rs485通信故障的电路和方法
CN108337143B (zh) 通信结构、通信系统及通信方法
CN103678227A (zh) Usb功能和网络功能共用usb接口的电路及方法
US20050220008A1 (en) Host fail-over switch presence detection compatible with existing protocol and host controllers

Legal Events

Date Code Title Description
WWE Wipo information: entry into national phase

Ref document number: 200980156436.7

Country of ref document: CN

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

Ref document number: 09847701

Country of ref document: EP

Kind code of ref document: A1

WWE Wipo information: entry into national phase

Ref document number: 5067/KOLNP/2011

Country of ref document: IN

Ref document number: 2009847701

Country of ref document: EP

NENP Non-entry into the national phase

Ref country code: DE

REG Reference to national code

Ref country code: BR

Ref legal event code: B01A

Ref document number: 112012002122

Country of ref document: BR

ENP Entry into the national phase

Ref document number: 112012002122

Country of ref document: BR

Kind code of ref document: A2

Effective date: 20120130