WO2022000969A1 - 一种链路设备及链路设备通信地址配置方法 - Google Patents

一种链路设备及链路设备通信地址配置方法 Download PDF

Info

Publication number
WO2022000969A1
WO2022000969A1 PCT/CN2020/131995 CN2020131995W WO2022000969A1 WO 2022000969 A1 WO2022000969 A1 WO 2022000969A1 CN 2020131995 W CN2020131995 W CN 2020131995W WO 2022000969 A1 WO2022000969 A1 WO 2022000969A1
Authority
WO
WIPO (PCT)
Prior art keywords
address
circuit
call signal
link
roll call
Prior art date
Application number
PCT/CN2020/131995
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 维谛技术有限公司
Publication of WO2022000969A1 publication Critical patent/WO2022000969A1/zh

Links

Images

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
    • 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
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L61/00Network arrangements, protocols or services for addressing or naming
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02PCLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
    • Y02P90/00Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
    • Y02P90/02Total factory control, e.g. smart factories, flexible manufacturing systems [FMS] or integrated manufacturing systems [IMS]

Definitions

  • the present invention relates to the field of device communication, in particular to a link device and a method for configuring a communication address of the link device.
  • the data center using the link communication method includes the upper-layer monitoring equipment and the link-type equipment as a collector.
  • a bus-type communication link is used, and the link-type equipment is connected end to end.
  • the communication mode can be network communication or serial communication.
  • an IP address or serial communication address is required.
  • manually setting the IP address or manually setting the DIP switch is used to manually record the correspondence between the physical location of each link device and the IP address or serial port address.
  • FIG. 1a it is a schematic diagram of the way to connect the link devices through the network communication link. It is necessary to connect the link devices to the computer one by one to set IP, or dynamically assign IP addresses. After completion, you need to check the IP addresses one by one. There are too many human intervention factors during deployment, which is prone to errors, and address conflicts need to be checked. The entire process requires high technical requirements for personnel; check the IP addresses of the link devices one by one and match the corresponding physical locations. The IP address needs to be queried during operation and maintenance. To match the location, maintenance identification is difficult.
  • FIG. 1b it is a schematic diagram of the way of connecting link devices through serial communication.
  • Multiple link devices on site need to be set on-site dial code one by one, and then check the dial code address one by one and then correspond to the physical location. If the dial code is wrong, it needs to be repeated.
  • the adjustment has improved the complexity of deploying equipment; DIP switches are binary switches, and the multi-bit switch binary is difficult to calculate and prone to errors, and once the address is repeated, it is difficult to troubleshoot, and the deployment and commissioning process requires personnel. It is also relatively high; it is necessary to match the dialing address and the address of the upper-layer monitoring device during the later operation and maintenance of the link device, which is difficult to maintain and identify.
  • the above two communication methods have the problems of high deployment and maintenance complexity, difficult maintenance and identification, and high requirements for on-site personnel. It is necessary to propose an efficient method for configuring and maintaining the communication address of the link device.
  • the present invention provides a link device and a method for configuring the communication address of the link device.
  • a first aspect of the present invention provides a link device, the device comprising:
  • the roll call signal identification circuit is used to identify whether the roll call signal is received from the superior equipment
  • the roll call signal sending circuit is used to send the roll call signal to the lower-level equipment under the control of the main control circuit
  • the data communication circuit is used to send the address modification instruction issued by the monitoring device to the link device using the temporary address after the monitoring device establishes a connection with the link device using the temporary address, and the address modification instruction carries the The communication address configured by the monitoring device according to the physical location of the link device determined by the number of times the temporary address is identified;
  • the main control circuit is used to perform a preset logical operation on the current address to obtain a temporary address when the roll call signal identification circuit recognizes the roll call signal, and receives an address modification instruction from the monitoring device through the data communication circuit, and modifies the address according to the address After completing the configuration of the communication address, the instruction controls the roll call signal sending circuit to send the roll call signal to the lower-level equipment.
  • the roll call signal identification circuit is a power switch control circuit
  • the roll call signal transmission circuit is a circuit that outputs a power disconnection signal to a lower-level device
  • the roll call signal identification circuit is a data communication branch connected to the upper-level equipment, and the roll-call signal transmission circuit is a data communication branch that outputs preset data to the lower-level equipment;
  • the roll call signal identification circuit is a circuit connected to the upper-level equipment through a switch, and the roll-call signal transmission circuit is a circuit that outputs a switch signal to the lower level;
  • the roll call signal identification circuit is a circuit that connects a switch on the data communication circuit
  • the roll call signal transmission circuit is a circuit that outputs a switch signal to the lower-level device on the data communication circuit.
  • the roll call signal determination circuit connected with the main control circuit, is used for determining whether the roll call signal identification circuit recognizes the roll call signal.
  • the roll call signal determination circuit and the roll call signal identification circuit are integrated in the same circuit, or integrated with the main control circuit.
  • the roll call signal identification circuit and the roll call signal transmission circuit adopt the first interface protocol, and further include:
  • the data communication circuit using the second interface protocol is used to transmit the control instruction issued by the monitoring device to the corresponding link device that has completed the communication address configuration, and upload the data collected by the link device that has completed the communication address configuration to the Monitoring equipment.
  • performing a preset logical operation on the current address to obtain a temporary address including:
  • a second aspect of the present invention provides a method for configuring a communication address of a link device, which is applied to a link device, including:
  • a connection is established with a monitoring device through a data communication circuit, and an address modification instruction is received from the monitoring device.
  • the address modification instruction is configured with the physical location of the link device determined by the monitoring device according to the number of times the temporary address is identified. contact address;
  • the roll call signal sending circuit is controlled to send a roll call signal to the lower-level equipment.
  • the roll call signal identification circuit is a power switch control circuit
  • the roll call signal transmission circuit is a circuit that outputs a power disconnection signal to a lower-level device
  • the roll call signal identification circuit is a data communication branch connected to the upper-level equipment, and the roll-call signal transmission circuit is a data communication branch that outputs preset data to the lower-level equipment;
  • the roll call signal identification circuit is a circuit connected to the upper-level equipment through a switch, and the roll-call signal transmission circuit is a circuit that outputs a switch signal to the lower level;
  • the roll call signal identification circuit is a circuit that connects a switch on the data communication circuit
  • the roll call signal transmission circuit is a circuit that outputs a switch signal to the lower-level device on the data communication circuit.
  • the data communication circuit adopts the first interface protocol, and further includes:
  • the data communication circuit using the second interface protocol is used to transmit the control instruction issued by the monitoring device to the corresponding link device that has completed the communication address configuration, and upload the data collected by the link device that has completed the communication address configuration to the Monitoring equipment.
  • performing a preset logical operation on the current address to obtain a temporary address including:
  • a third aspect of the present invention provides a method for configuring a communication address of a link device, which is applied to a monitoring device, and the method includes:
  • the roll call signal is sent to the lower-level device that performs address configuration on the link;
  • the link device In response to the address configuration instruction, identify the link device using the temporary address on the link and establish a connection with it, determine the physical location of the link device according to the number of times the temporary address is identified, and configure the communication address according to the physical location, The configured communication address is sent to the link device using the temporary address through the link through the address modification instruction.
  • the method further includes:
  • the physical location of the link device and the corresponding configured communication address are stored.
  • the link includes a first data communication link using a first interface protocol, and further includes:
  • control command is issued to the link device that completes the communication address configuration
  • the first interface protocol is a serial link protocol
  • the second interface protocol is a network link protocol
  • the monitoring device includes a plurality of communication interfaces, and each communication interface is respectively connected to the first data communication link and the second data communication link.
  • the column position where the link device is located is determined according to the number of times the temporary address is recognized, the configured communication address is determined according to the row position and the column position, and the configured communication address is sent to the Describes link devices that use temporary addresses.
  • a fourth aspect of the present invention provides a computer-readable storage medium on which a computer program is stored, and when the computer program is executed by a processor, implements any one of the methods provided in the second aspect of the present invention, or implements the present invention. Any of the methods provided in the third aspect.
  • the method and device provided by the present invention it is not limited to the communication mode, and is suitable for communication link scenarios of any communication mode such as network and serial port.
  • the physical position sequence of the link devices in the cascaded communication link can be obtained without It is believed that the intervention, the configuration link is completely eliminated, and the self-organizing network mechanism of physical location and address matching can be realized by itself, which solves the need to manually configure the link devices one by one and the physical location matching process in the process of link device deployment and operation and maintenance.
  • the tedious and complex problem instead, is completely auto-configured and position-matched by the device. The workload of on-site system integration, monitoring configuration and commissioning is reduced.
  • 1a is a schematic diagram of a method for connecting link devices through a network communication link
  • Figure 1b is a schematic diagram of a method of serial communication connecting link devices
  • FIG. 2 is a schematic diagram of a link system
  • FIG. 3 is a schematic diagram of a link device
  • FIG. 4a is a schematic diagram of the principle of using a power switch control circuit in a one-in-one-out non-bus mode
  • 4b is a schematic diagram of the principle of a power switch control circuit in a bus-type communication link mode
  • Fig. 5a is a kind of principle schematic diagram of one-in-one-out non-bus mode using data communication branch point name
  • Fig. 5b is a kind of principle schematic diagram of bus type using data communication branch point name
  • Figure 6a is a schematic diagram of the principle of a sent switch disconnection signal
  • Figure 6b is a schematic diagram of the appearance of a POD product
  • Fig. 6c is a kind of schematic diagram of utilizing two-way RS485 bus roll call link equipment
  • Fig. 7 is a kind of schematic diagram of utilizing the switch on the data communication circuit to send the roll call signal
  • FIG. 8 is a flowchart of a method for configuring a communication address of a link device on the link device side;
  • FIG. 9 is a complete flow chart of a method for configuring a communication address of a link device
  • FIG. 10 is a flowchart of a method for configuring a communication address of a link device on the monitoring device side.
  • the link device In the existing link network, the link device usually uses the bus to establish the communication link, and adopts the end-to-end method to complete the communication link deployment.
  • the communication link can be network communication or serial communication, and the traditional method adopts manual operation.
  • Set the IP address or manually set the DIP switch so as to manually record the corresponding relationship between the physical location and communication address of each link device, but as the number of link devices in the link network gradually increases, the difficulty of on-site deployment is also sharp.
  • the manual on-site deployment method there is a problem that conflicts are likely to occur when the address is set or that it is difficult to manually encode the address.
  • the link system includes: a monitoring device 201 and a link device 202, wherein the monitoring device 201 communicates with each link device through a network or a serial port.
  • the network communication can be: The monitoring device 201 searches for the link device 202 according to the IP address of each link device and establishes a communication connection with the link device 202.
  • the serial port mode can be: each link device has a binary system in the link network.
  • the monitoring device 201 searches for the link device 202 according to the serial port address of each link device.
  • the monitoring device 201 determines the communication position of the link device 202 by matching the dialing address and establishes a communication connection with the link device 202.
  • an embodiment of the present invention provides a link device, which is applied to the above-mentioned link
  • the link device includes the following circuits:
  • the roll call signal identification circuit 301 is used for identifying whether a roll call signal is received from the upper-level equipment.
  • the roll call signal in this embodiment is used to determine whether the current link device is called by the monitoring device, and the link device to which the roll call is made modifies the device address. Then control the link device to call the subordinate device, the roll call signal will be transmitted to the subordinate device of the link, and the physical location and communication address of the device will be determined and stored in the monitoring device to complete the address configuration.
  • each link device in the entire link network will be named one by one and then configured with a communication address, thereby completing the determination of the physical location of the entire link and the matching of the communication addresses.
  • the roll call signal can be triggered by the level change of the internal circuit structure, or the roll call signal can be triggered by the transmission of data in the communication link, and the roll call can also be carried out by the pulse current when the power switch is turned off.
  • Triggering of signals for example, the monitoring device sends a high-level signal to the first link device connected, and the link device determines whether to trigger the default address change instruction according to the received level signal, and uses the roll call signal identification circuit 301 to determine whether to receive Whether the received signal or data information sent by the superior equipment is a roll call signal, in order to send the information to the main control circuit, those skilled in the art can identify whether the received signal or data information is a roll call signal in various ways. It should be known that there is no limitation here.
  • the monitoring device sends a roll call signal to the link device, and drives the link device to modify the current address. ;
  • the link device receives the device roll call signal sent by the cascaded superior device to modify the current address.
  • the roll call signal sending circuit 302 is used for sending roll call signals to the lower-level equipment under the control of the main control circuit.
  • the device When the device receives the address modification instruction and completes the configuration of the communication address, it receives the instruction to send the roll call signal sent by the main control circuit, and sends the equipment roll call signal to the cascaded lower-level link equipment.
  • the equipment roll call signal can also be passed through The level of the internal circuit changes is realized, and the signal transmission can also be carried out through the data information transmitted in the signal, and the signal transmission can also be carried out through the pulse current when the switch is turned off. For example, a high-level signal is sent to the connected lower-level link device. , the next link device in the cascade determines whether to trigger the default address change instruction according to the received level signal.
  • the data communication circuit 303 is used to send the address modification instruction issued by the monitoring device to the link device using the temporary address after the monitoring device establishes a connection with the link device using the temporary address, and the address modification instruction, Carry the communication address configured by the monitoring device according to the physical location of the link device determined by the number of times the temporary address is identified.
  • a preset logical operation is performed according to the current address to obtain a temporary address, for example, the current address of the link device when it leaves the factory is modified to a temporary address.
  • the current address of the road device is modified to a fixed temporary address, or the current address is incremented or decremented, which is not limited here;
  • the monitoring device After the current address of the device is modified to a temporary address, the monitoring device searches for the link device that has been modified to the temporary address according to the temporary address, and after establishing a connection with the link device using the temporary address, receives the address modification instruction issued by the monitoring device , the address modification instruction carries the communication address configured by the monitoring device according to the physical location of the link device determined by the number of times the temporary address is identified.
  • the completed communication address communicates with the monitoring device, for example, the monitoring device sends a control instruction to the link device with a known communication address, and the link device sends the data collected by the link device to the monitoring device through the data communication circuit 303 .
  • the main control circuit 304 is used to perform a preset logical operation on the current address to obtain a temporary address when the roll call signal identification circuit recognizes the roll call signal, and receives an address modification instruction from the monitoring device through the data communication circuit, according to the address After the modification instruction completes the configuration of the communication address, the roll call signal sending circuit is controlled to send the roll call signal to the lower-level equipment.
  • the roll call signal identification circuit When the roll call signal identification circuit recognizes the roll call signal, it modifies the current address of the device to a temporary address, configures the communication address of the device according to the address modification instruction received by the data communication circuit, and controls the roll call signal sending circuit Send a roll call signal to the subordinate equipment.
  • each link device there is an address set by default at the factory.
  • the current address is changed to a temporary address, and the monitoring device is based on the link device connected by the temporary address.
  • the current link device can establish a connection with the monitoring device according to the temporary address.
  • the data communication circuit and the monitoring device establish communication through at least one of the following methods: network, serial port, controller area network CAN, serial peripheral interface SPI, universal serial bus USB and two-wire serial bus IIC mode , and other connection establishment methods that can be conceived by those in the art can be used in the link device, which is not limited here and should be known by those in the art.
  • the configuration of the communication address of the device according to the address modification instruction received by the data communication circuit includes:
  • the link device When the device communicates using a network link, if the link device is the link device at the first physical location, modify the device's IP-type communication address according to the communication address, and modify the address to xx after receiving it. .xx.xx.1 IP address command;
  • the link device When the device uses serial link communication, if the link device is a device that uses the general address of link communication for the first time, modify the communication address of the device as a serial port type according to the communication address, and receive the address.
  • the binary serial port address command modified to 1;
  • the monitoring device After the communication address of the device is modified, the monitoring device will establish a communication connection with the link device based on the modified communication address when it communicates with the link device next time.
  • the link device further includes a roll-call signal determination circuit, which is connected to the main control circuit and used to determine whether the roll-call signal identification circuit recognizes the roll-call signal.
  • the roll call signal determination circuit is used to replace the main control circuit to determine whether the roll call signal is recognized.
  • the roll call signal determination circuit and the roll call signal identification circuit are integrated in the same circuit, or integrated with the main control circuit.
  • the roll call determination circuit determines whether to trigger the communication address configuration preparation according to the received roll call signal, and when triggering the communication address configuration preparation, Indicate the communication address configuration preparation to the master device, so that the master device can change the current address;
  • the roll call judgment circuit When the roll call signal judgment circuit and the main control circuit are integrated in the same circuit, after receiving the roll call signal, the roll call judgment circuit sends the roll call signal to be recognized to the main control device, and the main control device determines whether to trigger the roll call signal according to the received roll call signal.
  • Communication address configuration preparation when the communication address configuration preparation is triggered, the current address is changed.
  • the temporary address obtained by performing a preset logical operation on the current address includes:
  • the current address needs to be modified to a temporary address, wherein the modified temporary address can be based on preset rules.
  • the current address increases the preset size or reduces the preset size to obtain the temporary address, if the original address is A (255), the current address is increased or decreased by the preset size, and modified to A+N or AN,
  • the modified temporary address is based on the premise of not affecting subsequent communication settings. After setting the same temporary address on the monitoring device side and the link device side, the monitoring device can communicate with the link device through the temporary address. Therefore, the current address Modifying one by one to a public address that is not occupied by a device is also an optional implementation manner, which should be known by those skilled in the art, and will not be repeated here.
  • the link device further includes: an LED display module, configured to drive the LED lights in the LED display module to emit light after configuring the communication address of the device, so as to make the user of the link device emit light. It can be clearly known whether the link device has been configured with a communication address by the monitoring device, and the communication address is stored in the address pool.
  • the above-mentioned link device can receive and send the device roll call signal to the cascaded devices in different ways by changing the internal structure of the link device:
  • the roll call signal identification circuit is a power switch control circuit
  • the roll call signal transmission circuit is a circuit that outputs a power disconnection signal to the lower-level equipment.
  • the link device includes a power switch control circuit and a circuit that outputs a power disconnection signal to the subordinate device, receives the power disconnection signal sent by the cascaded superior device, and after modifying the communication address of the device, sends it to the subordinate device.
  • the power disconnection device uses the method of controlling the power supply to send a power disconnection signal, and disconnects the power supply of the link device when it needs to send a power disconnection signal to the lower-level device. If it is cut off, the subordinate device will receive the power disconnection signal generated by the power disconnection, the subordinate device can correspondingly modify the current address to a temporary address, and accept the address modification command sent by the monitoring device, so as to realize the power supply by switching the link device. Configure the communication addresses of the link devices one by one.
  • Fig. 4a is a schematic diagram showing the principle of using a power switch control circuit in a one-in-one-out non-bus mode
  • Fig. 4b is a schematic diagram showing the principle of a power switch control circuit in a bus communication link mode.
  • the above two methods are both methods of using the power switch control circuit to send the roll call signal, and the difference is that the communication methods of the monitoring device and the data communication circuit of each link device are different.
  • the roll call signal identification circuit is a data communication branch connected to the upper-level equipment, and the roll-call signal transmission circuit is a data communication branch that outputs preset data to the lower-level equipment.
  • the roll call signal identification circuit and roll call signal transmission circuit in the link equipment are circuits connected by data communication instead of switching signals or pulses, and the data communication branch of each link equipment is only connected to cascaded or adjacent ones.
  • the data communication branches of the cascaded link devices communicate with each other, and the data communication branches of the cascaded link devices pass preset data sent to the cascaded lower-level devices.
  • the roll call signal determination circuit is connected to the main control circuit to determine whether the roll call signal identification circuit recognizes the roll call signal.
  • the roll call identification circuit is a data communication branch, and the The roll call signal determination circuit and the data communication branch are integrated in the same circuit, wherein the data communication circuit and the data communication branch can use different cables of a physical interface, or can be divided into two independent interfaces, which are not limited here.
  • the lower-level equipment parses the preset data through the roll call signal determination circuit, and determines whether the preset information indicates a roll call signal.
  • the preset data includes at least one of the following: network data, serial port data, USB data, IIC data, SPI data, CAN data, single bus 1-Wire data, digital data,
  • the data communication branch of the link device determines whether to change the current address to a temporary address by analyzing the preset data;
  • Figure 5a is a schematic diagram showing the principle of using the data communication branch point name in the one-in-one-out non-bus mode
  • Figure 5b is a schematic diagram showing the principle of using the data communication branch point name in the bus type.
  • the above two methods are both methods of using the data communication circuit to send the roll call signal, and the difference lies in that the communication methods of the monitoring device and the data communication circuit of each link device are different.
  • the roll call signal identification circuit is a circuit connected to the upper-level equipment through a switch, and the roll call signal transmission circuit is a circuit that outputs the switch signal to the lower level.
  • this method is preferably used for roll call control and communication address. configuration.
  • the power switch control circuit is used to identify whether there is a switch input, and the circuit that outputs the switch signal to the lower level can be simplified as a switch input, such as an electronic switch such as an electromagnetic relay, and the communication address of the device is completed in the main control device. After the assignment, the electronic switch of the device is opened or closed, and the subordinate device determines whether to modify the current address to a temporary address according to the opening or closing of the electronic switch.
  • FIG. 6a it is a schematic diagram of the principle of the sent switch disconnection signal.
  • the monitoring device When starting the roll call, since the first device has no similar link device in front of it, the monitoring device sends the roll call signal with a default high level of 1 to the first link device, and the other link devices are all connected to the unconfigured communication address. on the link device, so the roll call signal of 0 is received by default;
  • the factory default address of each device is A (255), if the first device receives the roll call signal level is high level 1, the current address is changed to the temporary address A-1 (254);
  • the upper-layer monitoring device communicates with the temporary address every time when the network address is allocated. For example, the general address of link communication is 254. Since the address 254 of the device appears for the first time, the device is changed to address 1 after communication, that is The device is identified as the device in the first physical location, and the communication address is 1 (the communication address of the IP type is xx.xx.xx.1, and the communication address of the serial port type is 1);
  • the monitoring device will establish communication with the first device, update the communication address into the address pool of the link device, and issue a control request to the link device that has configured the communication address to name the lower-level devices of the device.
  • the action of disconnecting K1 is the communication address configuration preparation action, which will make the lower-level device recognize the roll call signal of high level 1;
  • multiple devices on the link network are set to corresponding communication addresses one by one according to the physical location of the link, and the communication addresses are updated into the address pool.
  • the deployment point POD product as shown in FIG. 6b is used, and the above-mentioned roll call signal identification circuit and roll call signal transmission circuit are integrated on the POD device, and the POD product is installed on the link device. Controls the function of roll call.
  • the use of link devices integrated with POD products can perform roll call control on at least one row of link devices.
  • the network connection mode of the link device is end-to-end cascading, but the layout position in the physical space is in the form of a multi-row matrix. If you need to determine the row where the link device is located, you need to first determine the current link communication mode And by adopting the method of adding interface links, the link devices of each row are named, and the row and column positions of the link devices are recognized according to the difference of the external interfaces and the number of occurrences of the temporary addresses.
  • the roll call signal identification circuit and the roll call signal transmission circuit use the first interface protocol, and the data communication circuit using the second interface protocol is used to transmit the control instruction issued by the monitoring device to the corresponding link device that completes the communication address configuration. , and upload the data collected by the link device that completes the communication address configuration to the monitoring device.
  • the first interface protocol is different from the communication protocol adopted by the second interface protocol, wherein the interface signal of at least one interface in the first interface protocol and the second interface protocol may be: switch signal, power switch signal, USB, SPI , IIC and other communication signals.
  • the current data communication circuit adopts the network mode to perform end-to-end cascading, and the monitoring device uses two RS485 buses to connect the link devices in columns A and B respectively. roll call;
  • the roll call signal is sent to the initial A link device and the B link device with the address configuration at the same time.
  • the row position of the connected device can be determined according to the RS485 bus drawn from different interfaces;
  • the monitoring equipment sends roll call signals to the A and B line link equipment through two different RS485 buses respectively.
  • the link equipment modifies the current address of the equipment to a temporary address, and the monitoring equipment determines the link according to the RS485 bus.
  • the row position of the device, the column position where the link device is located is determined according to the number of times the temporary address is identified, the communication address is configured for the link device according to the row position and the column position, and the address modification instruction carrying the configured communication address is passed through all the The link is sent to each link device using the temporary address, and the link device configures the local communication address according to the address modification instruction carrying the row and column positions.
  • the roll call signal identification circuit is a circuit that connects a switch on the data communication circuit
  • the roll call signal transmission circuit is a circuit that outputs a switch signal to the lower-level equipment on the data communication circuit.
  • the roll call signal identification circuit and the roll call signal transmission circuit are provided on the communication link of the data communication circuit, and the circuit for controlling the connection switch of the data communication on the data communication circuit determines whether to link to the lower level.
  • the subordinate link device determines whether the communication address configuration preparation is triggered by identifying the transmission status of the communication data.
  • the data communication transmission of the data communication circuit is controlled by an electronic switching device. When the electronic switching device is closed, the control The link device sends communication data to the subordinate device. When the electronic switch device is disconnected, it stops sending communication data to the subordinate device.
  • the subordinate link device determines whether the communication address configuration preparation is triggered according to the transmission state of the communication data stream.
  • a link device provided by the present invention is not limited to the communication mode, and is suitable for communication link scenarios of any communication mode such as network and serial port.
  • the physical position sequence of the link devices in the cascaded communication link can be obtained, and No human intervention is required, the configuration link is completely eliminated, and the self-organizing network mechanism of physical location and address matching can be realized by itself, which solves the need for manual configuration and physical location matching of link devices one by one in the process of link device deployment and operation and maintenance.
  • the problem is that the process is too cumbersome and complex, and instead, it is completely auto-configured and location-matched by the device. The workload of on-site system integration, monitoring configuration and commissioning is reduced.
  • An embodiment of the present invention provides a method for configuring a communication address of a link device, which is applied to a link device. As shown in FIG. 8 , the method includes the following steps:
  • Step S801 when the roll call signal identification circuit recognizes the roll call signal, perform a preset logical operation on the current address to obtain a temporary address;
  • Step S802 establishing a connection with the monitoring device through the data communication circuit, and receiving an address modification instruction from the monitoring device, the address modification instruction carrying the link device physical location determined by the monitoring device according to the number of times the temporary address is identified by the monitoring device to configure the communication address;
  • Step S803 after completing the communication address configuration according to the address modification instruction, control the roll call signal sending circuit to send a roll call signal to the lower-level device.
  • the roll call signal identification circuit is a power switch control circuit
  • the roll call signal transmission circuit is a circuit that outputs a power disconnection signal to a lower-level device
  • the roll call signal identification circuit is a data communication branch connected to the upper-level equipment, and the roll-call signal transmission circuit is a data communication branch that outputs preset data to the lower-level equipment;
  • the roll call signal identification circuit is a circuit connected to the upper-level equipment through a switch, and the roll-call signal transmission circuit is a circuit that outputs a switch signal to the lower level;
  • the roll call signal identification circuit is a circuit that connects a switch on the data communication circuit
  • the roll call signal transmission circuit is a circuit that outputs a switch signal to the lower-level device on the data communication circuit.
  • the roll call signal identification circuit and the roll call signal transmission circuit adopt the first interface protocol, and further include:
  • the data communication circuit using the second interface protocol is used to transmit the control instruction issued by the monitoring device to the corresponding link device that has completed the communication address configuration, and upload the data collected by the link device that has completed the communication address configuration to the Monitoring equipment.
  • performing a preset logical operation on the current address to obtain a temporary address including:
  • a method for configuring a communication address of a link device provided by an embodiment of the present invention is based on the same inventive concept as the link device in the above-mentioned embodiment, and details are not repeated here.
  • an embodiment of the present invention provides a complete flowchart of a method for configuring a communication address of a link device
  • Step S901 when starting the roll call, the monitoring equipment sends a roll call signal to the initial link equipment configured by the address, and the roll call signal identification circuit identifies whether the roll call signal is received from the superior equipment;
  • Step S902 when the roll call signal identification circuit recognizes the roll call signal, perform a preset logical operation on the current address to obtain a temporary address;
  • Step S903 the monitoring device establishes a connection with the link device using the temporary address, determines the column information of the link device according to the number of times the temporary address is identified, and determines the row information of the link device according to the bus type connecting the link device, and The row and column information determines the configuration communication address, and sends the address modification instruction carried by the configuration communication address to the link device using the temporary address;
  • Step S904 receiving the address modification instruction from the monitoring device through the data communication circuit, and configuring the communication address, and saving the physical location of the link device and the corresponding configuration communication address;
  • Step S905 after completing the communication address configuration according to the address modification instruction, control the roll call signal sending circuit to send a roll call signal to the lower-level equipment, and drive the LED light to emit light;
  • Step S906 when it is determined that no link device responds to the roll call signal, restore the roll call state of all devices to the default state.
  • An embodiment of the present invention provides a method for configuring a communication address of a link device, which is applied to a link device. As shown in FIG. 10 , the method includes the following steps:
  • Step S1001 when triggering the link device communication address configuration, send a roll call signal to the lower-level device that performs address configuration on the link;
  • Step S1002 in response to the address configuration instruction, identify the link device using the temporary address on the link and establish a connection with it, determine the physical location of the link device according to the number of times the temporary address is identified, and configure communication according to the physical location. address, and send the configured communication address to the link device using the temporary address through the link through the address modification instruction.
  • the method further includes:
  • the physical location of the link device and the corresponding configured communication address are stored.
  • the link includes a first data communication link using a first interface protocol, and further includes:
  • control instruction is issued to the link device that completes the communication address configuration
  • the monitoring device includes a plurality of communication interfaces, and each communication interface is respectively connected to the first data communication link and the second data communication link;
  • a method for configuring a communication address of a link device provided by an embodiment of the present invention is based on the same inventive concept as the monitoring device in the foregoing embodiment, and details are not described herein again.
  • An embodiment of the present invention provides a computer-readable storage medium on which a computer program is stored, and when the computer program is executed by a processor, implements any one of the methods described in the link device communication address configuration method applied to a link device , or execute any one of the described methods for implementing a method for configuring a communication address of a link device applied to a monitoring device.
  • the embodiments of the present application may be provided as a method, a system, or a computer program product. Accordingly, the present application may take the form of an entirely hardware embodiment, an entirely software embodiment, or an embodiment combining software and hardware aspects. Furthermore, the present application may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, etc.) having computer-usable program code embodied therein.
  • computer-usable storage media including, but not limited to, disk storage, CD-ROM, optical storage, etc.
  • These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory result in an article of manufacture comprising instruction means, the instructions
  • the apparatus implements the functions specified in the flow or flow of the flowcharts and/or the block or blocks of the block diagrams.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Small-Scale Networks (AREA)

Abstract

本发明提供一种链路设备及链路设备通信地址配置方法,所述设备包括:点名信号识别电路,用于识别是否从上级设备接收到点名信号;点名信号发送电路,用于向下级设备发送点名信号;数据通信电路,用于将监控设备下发的地址修改指令,发送到采用临时地址的链路设备;主控电路,用于对当前地址进行预设逻辑运算得到临时地址,通过数据通信电路接收到来自监控设备的地址修改指令,根据地址修改指令完成通信地址配置后,控制点名信号发送电路向下级设备发送点名信号。利用本发明提供的方法,解决了在链路设备部署和运维过程过于繁琐复杂的问题,取而代之,完全由设备自动配置和位置匹配。降低了现场系统集成、监控配置和调试的工作量。

Description

一种链路设备及链路设备通信地址配置方法
本申请要求于2020年7月1日提交中国专利局、申请号为202010627184.X、发明名称为“一种链路设备及链路设备通信地址配置方法”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。
技术领域
本发明涉及设备通信领域,特别涉及一种链路设备及链路设备通信地址配置方法。
背景技术
采用链路通信方式的数据中心包括上层监控设备与作为采集器的链路式设备,上层监控设备与链路式设备通信过程中,使用总线方式的通信链路,并通过链路式设备首尾相连的方式来完成通信链路部署,通信方式可以为网络通信或串口通信,对应地,上层监控设备与各个链路式设备进行通信时,需要IP地址或串口通信地址。
目前采用手动设置IP地址或者手动设置拨码开关的方式,从而手动记录每个链路式设备的物理位置和IP地址或串口地址的对应关系。当这种通信方式的链路式设备数量随着数据中心规模的扩张而逐渐增加时,现场的部署和记录的难度也急剧增加,并且后期运维人员需要人为的根据物理地址/IP地址连接和拨码方式来追朔。
如图1a所示,为通过网络通信链路连接链路设备的方式示意图,需要逐个将链路设备连接电脑设置IP,或者动态分配IP地址,完成后需要逐个查看IP地址。部署时人为的干预因素过多,容易出现错误,且地址冲突需要排查,整个过程对人员的技术要求较高;逐个查看链路设备的IP地址并匹配对应物理位 置,运维时需要查询IP地址来匹配位置,维护识别困难。
如图1b所示,为通过串口通信连接链路设备的方式示意图,现场多个链路设备需要逐个进行现场拨码设置,再逐个查看拨码地址然后对应物理位置,拨码错误时需要进行反复调整,提升了部署设备的复杂度;拨码开关属于二进制类型的开关,多位开关二进制在计算时难度较大容易出错,且一旦地址重复后排查的难度高,部署、调测过程对人员要求也较高;后期运维链路设备时需要匹配拨码地址与上层监控设备的地址,维护识别困难。
因此,上述两种通信方式都存在部署维护复杂度高、维护识别困难、对现场人员要求高的问题,需要提出一种高效的配置和维护链路设备通信地址的方法。
发明内容
为了解决当前链路设备的通信地址设置场景下,链路式设备会数量随着数据中心规模的扩张而逐渐增加,导致的现场的部署和记录的难度也增加,且后期运维人员需要人为的根据网络地址和拨码地址来追朔的问题,本发明提供一种链路设备及链路设备通信地址配置方法。
本发明第一方面提供一种链路设备,所述设备包括:
点名信号识别电路,用于识别是否从上级设备接收到点名信号;
点名信号发送电路,用于在主控电路的控制下向下级设备发送点名信号;
数据通信电路,用于在监控设备与采用临时地址的链路设备建立连接后,将监控设备下发的地址修改指令,发送到所述采用临时地址的链路设备,所述地址修改指令,携带所述监控设备根据识别到临时地址的次数确定的链路设备物理位置来配置的通信地址;
主控电路,用于在所述点名信号识别电路识别到点名信号时,对当前地址进行预设逻辑运算得到临时地址,通过数据通信电路接收到来自监控设备的地址修改指令,根据所述地址修改指令完成通信地址配置后,控制所述点名信号发送电路向下级设备发送点名信号。
可选地,所述点名信号识别电路为电源开关控制电路,所述点名信号发送电路为向下级设备输出电源开断信号的电路;或者
所述点名信号识别电路为与上级设备连接的数据通信支路,所述点名信号发送电路为向下级设备输出预设数据的数据通信支路;或者
所述点名信号识别电路为通过开关与上级设备连接的电路,所述点名信号发送电路为向下级输出开关信号的电路;或者
所述点名信号识别电路为在数据通信电路上连接开关的电路,所述点名信号发送电路为在数据通信电路上向下级设备输出开关信号的电路。
可选地,还包括:
点名信号判定电路,与所述主控电路连接,用于确定所述点名信号识别电路是否识别到点名信号。
可选地,所述点名信号判定电路与所述点名信号识别电路集成在同一电路中,或者与所述主控电路集成在同一电路中。
可选地,所述点名信号识别电路和点名信号发送电路采用第一接口协议,还包括:
采用第二接口协议的数据通信电路,用于将监控设备下发的控制指令传输到对应的完成通信地址配置的链路设备,及将完成通信地址配置的链路设备采集的数据上传到所述监控设备。
可选地,所述对当前地址进行预设逻辑运算得到临时地址,包括:
对当前地址增大预设大小或减小预设大小得到临时地址。
本发明第二方面提供一种链路设备通信地址配置方法,应用于链路设备,包括:
在所述点名信号识别电路识别到点名信号时,对当前地址进行预设逻辑运算得到临时地址;
通过数据通信电路与监控设备建立连接,并接收来自所述监控设备的地址修改指令,所述地址修改指令,携带所述监控设备根据识别到临时地址的次数确定的链路设备物理位置来配置的通信地址;
根据所述地址修改指令完成通信地址配置后,控制所述点名信号发送电路向下级设备发送点名信号。
可选地,所述点名信号识别电路为电源开关控制电路,所述点名信号发送电路为向下级设备输出电源开断信号的电路;或者
所述点名信号识别电路为与上级设备连接的数据通信支路,所述点名信号发送电路为向下级设备输出预设数据的数据通信支路;或者
所述点名信号识别电路为通过开关与上级设备连接的电路,所述点名信号发送电路为向下级输出开关信号的电路;或者
所述点名信号识别电路为在数据通信电路上连接开关的电路,所述点名信号发送电路为在数据通信电路上向下级设备输出开关信号的电路。
可选地,所述数据通信电路采用第一接口协议,还包括:
采用第二接口协议的数据通信电路,用于将监控设备下发的控制指令传输到对应的完成通信地址配置的链路设备,及将完成通信地址配置的链路设备采集的数据上传到所述监控设备。
可选地,所述对当前地址进行预设逻辑运算得到临时地址,包括:
对当前地址增大预设大小或减小预设大小得到临时地址。
本发明第三方面提供一种链路设备通信地址配置方法,应用于监控设备,所述方法包括:
触发链路设备通信地址配置时,向链路上进行地址配置的下级设备发送点名信号;
响应于地址配置指令,识别所述链路上采用临时地址的链路设备并与其建立连接,根据识别到临时地址的次数确定链路设备的物理位置,并根据所述物理位置配置通信地址,将配置的通信地址通过地址修改指令,通过所述链路发送给所述采用临时地址的链路设备。
可选地,通过所述链路发送给所述采用临时地址的链路设备之后,还包括:
将所述链路设备的物理位置与对应配置通信地址进行保存。
可选地,所述链路包括采用第一接口协议的第一数据通信链路,还包括:
采用第二接口协议的数据通信电路,将控制指令下发到完成通信地址配置的链路设备;
接收完成通信地址配置的链路设备采集上传的数据。
可选地,所述第一接口协议为串口链路协议,所述第二接口协议为网络链路协议。
可选地,所述监控设备包括多个通信接口,每个通信接口分别连接第一数据通信链路和第二数据通信链路。
响应于地址配置指令,识别所述链路上采用临时地址的链路设备并与其建立连接;
根据识别到链路上采用临时地址的链路设备的通信接口,确定识别到的链路上采用临时地址的链路设备所在的行位置;
根据识别到临时地址的次数确定链路设备所在的列位置,根据所述行位置及列位置确定配置的通信地址,将所述配置的通信地址通过地址修改指令,通过所述链路发送给所述采用临时地址的链路设备。
本发明第四方面提供一种计算机可读存储介质,其上存储有计算机程序,所述计算机程序被处理器执行时实现本发明第二方面提供的任一所述的方法,或者执行实现本发明第三方面提供的任一所述的方法。
利用本发明提供的方法及设备,可以不局限于通信方式,适合于网络、串口等任意通信方式的通信链路场景,级联通信链路内链路设备的物理位置顺序可获取,并且不需要认为干预,完全免去配置环节,可自行实现物理位置和地址匹配的自组网机制,解决了在链路设备部署和运维过程中需要人工对链路设备逐个进行配置及物理位置匹配过程过于繁琐复杂的问题,取而代之,完全由设备自动配置和位置匹配。降低了现场系统集成、监控配置和调试的工作量。
附图说明
图1a为一种通过网络通信链路连接链路设备的方式示意图;
图1b为一种串口通信连接链路设备的方式示意图;
图2为一种链路式系统示意图;
图3为一种链路设备示意图;
图4a为一种一进一出非总线方式使用电源开关控制电路的原理示意图;
图4b为一种总线式通信链路方式电源开关控制电路的原理示意图;
图5a为一种一进一出非总线方式使用数据通信支路点名的原理示意图;
图5b为一种总线式使用数据通信支路点名的原理示意图;
图6a为一种发送的开关开断信号的原理示意图;
图6b为一种POD产品外观示意图;
图6c为一种利用两路RS485总线点名链路设备的示意图;
图7为一种利用数据通信电路上开关发送点名信号的示意图;
图8为一种链路设备侧的链路设备通信地址配置方法流程图;
图9为一种链路设备通信地址配置方法的完整流程图;
图10为一种监控设备侧的链路设备通信地址配置方法流程图。
具体实施方式
为使本申请实施例的目的、技术方案和优点更加清楚,下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本申请一部分实施例,而不是全部的实施例。基于本申请中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本申请保护的范围。
现有的链路网络中,链路设备通常使用总线的方式建立通信链路,采取首尾相连的方式完成通信链路部署,其中通信链路可以为网络通信或串口通信,传统的方式采用人为手动设置IP地址或者手动设置拨码开关,从而通过手动记录每个链路设备的物理位置和通信地址对应关系,但随着链路网络中链路设备的设备数量逐渐增多,现场的部署难度也急剧增加,采用人工现场部署的方式,存在当地址设置时容易出现冲突或人工进行地址编码难度大的问题。
如图2所示,所述链路式系统中包括:监控设备201、链路设备202,其中 监控设备201通过网络方式或串口方式与各链路设备进行通信,所述网络方式通信可以为:监控设备201根据各链路设备的IP地址寻找链路设备202并与链路设备202建立通信连接,所述串口方式可以为:在每个链路设备在链路网络中都存在一个2进制的串口地址,监控设备201根据各链路设备的串口地址寻找链路设备202,监控设备201通过匹配拨码地址确定链路设备202的通信位置并与链路设备202建立通信连接。
为了解决上述链路系统中普遍存在的部署维护复杂度高、维护识别困难且对现场人员要求高的问题,如图3所示,本发明实施例提供一种链路设备,应用于上述链路式系统中,所述链路设备包括如下电路:
点名信号识别电路301,用于识别是否从上级设备接收到点名信号。
其中,本实施例中的点名信号用于确定当前链路设备是否被监控设备点名,点名到的链路设备将该设备地址修改。然后控制该链路设备点名下级设备,点名信号将被传递至链路的下级设备,该设备的物理位置和通信地址将被对应确定并存储在监控设备中以完成地址配置。依此类推,整个链路网络中各链路设备将逐个被点名后配置通信地址,从而完成整个链路的物理位置的确定及通信地址的匹配。
具体的,可以通过内部电路结构上的电平高低变化实现点名信号的触发,也可以通过通信链路中数据的传递的进行点名信号的触发,同样可以通过电源开关开断时的脉冲电流进行点名信号的触发,例如,监控设备向连接的第一个链路设备发送高电平信号,链路设备根据接收到的电平信号高低确定是否触发默认地址更改指令,利用点名信号识别电路301确定接收到的上级设备发送的信号或数据信息是否为点名信号,以将该信息发送给主控电路,本领域技术人员可以采用各种方式识别接收到的信号或数据信息是否为点名信号,本领域人员应当知晓,这里不做限定。
因链路网络的级联的链路结构,当需要向链路上第一个设备发送点名信号时,由监控设备发送向链路设备发送点名信号,并驱动所述链路设备进行当前地址修改;当本设备不是链路上第一个设备时,该链路设备接收级联的上级设 备发送的设备点名信号,进行当前地址修改。
点名信号发送电路302,用于在主控电路的控制下向下级设备发送点名信号。
当本设备在接收到地址修改指令完成通信地址配置后,接收主控电路发送的发送点名信号的指令,向级联的下级链路设备发送所述设备点名信号,所述设备点名信号同样可以通过内部电路变化的电平高低实现,也可以通过信号内传递的数据信息进行信号传输,同样可以通过开关开断时的脉冲电流进行信号传输,例如,向连接的下级链路设备发送高电平信号,级联的下个链路设备根据接收到的电平信号高低确定是否触发默认地址更改指令。
数据通信电路303,用于在监控设备与采用临时地址的链路设备建立连接后,将监控设备下发的地址修改指令,发送到所述采用临时地址的链路设备,所述地址修改指令,携带所述监控设备根据识别到临时地址的次数确定的链路设备物理位置来配置的通信地址。
在确定本设备接收到点名信号后,根据当前地址进行预设逻辑运算得到临时地址,例如将所述链路设备出厂时的当前地址修改为临时地址,所述临时地址的制定规则可以将所有链路设备的当前地址修改为一个固定的临时地址,或将当前地址进行递增或递减处理,这里不做限定;
在本设备的当前地址修改为临时地址后,监控设备根据临时地址寻找已修改为临时地址的链路设备,并与采用临时地址的链路设备建立连接后,接收监控设备下发的地址修改指令,所述地址修改指令,携带所述监控设备根据识别到临时地址的次数确定的链路设备物理位置来配置的通信地址,此外在本设备根据地址修改指令完成通信地址配置后,本设备根据配置完成的通信地址与监控设备进行通信,例如,由监控设备向已知通信地址的链路设备发送控制指令,链路设备通过数据通信电路303向监控设备发送链路设备采集到的数据。
主控电路304,用于在所述点名信号识别电路识别到点名信号时,对当前地址进行预设逻辑运算得到临时地址,通过数据通信电路接收到来自监控设备的地址修改指令,根据所述地址修改指令完成通信地址配置后,控制所述点名信 号发送电路向下级设备发送点名信号。
在所述点名信号识别电路识别到点名信号时,将本设备的当前地址修改为临时地址,并根据数据通信电路接收的地址修改指令,将本设备的通信地址进行配置,并控制点名信号发送电路向下级设备发送点名信号。
在每个链路设备中,存在一个出厂时默认设置的地址,当确定链路设备接收到点名信号时,将当前地址修改为临时地址,监控设备根据临时地址连接的链路设备,在本设备的当前地址修改之后,因修改后的地址为临时地址,故当前的链路设备可以根据临时地址和监控设备建立连接,在与监控设备建立连接后,监控设备根据识别到临时地址的次数配置的通信地址,确定在本链路网络中该链路设备的对应通信地址,例如,每个设备出厂地址为A(例如A=255),第一个设备自身若识别到设备点名信号为电平为高电平1后,将自身地址改为临时地址A-1(254),监控设备在组网时每次都与地址为254的链路设备进行通信,确定该链路设备为第一次出现的使用链路通信通用地址的设备时,将该设备改为地址1,即该设备被识别为第一个物理位置的设备。
其中,所述数据通信电路与监控设备通过如下至少一种方式建立通信:网络、串口、控制器局域网络CAN、串行外设接口SPI、通用串行总线USB和两线式串行总线IIC方式,其他的本领域人员能够想到的连接建立方式,均可以用于本链路设备中,这里不做限定,本领域人员应当知晓。
作为一种可选的实施方式,所述根据数据通信电路接收的地址修改指令,将本设备的通信地址进行配置,包括:
当设备采用网络链路通信时,若该链路设备为第一个物理位置的链路设备时,根据所述通信地址修改本设备为IP类型的通信地址,收到将该地址的修改为xx.xx.xx.1的IP地址指令;
当设备采用串口链路通信时,若该链路设备为第一次出现的使用链路通信通用地址的设备时,根据所述通信地址修改本设备为串口类型的通信地址,收到将该地址的修改为1的二进制串口地址指令;
将本设备通信地址修改后,监控设备在下次与链路设备通信时,基于修改 后的通信地址,与链路设备建立通信连接。
作为一种可选的实施方式,链路设备中还包括点名信号判定电路,与所述主控电路连接,用于确定所述点名信号识别电路是否识别到点名信号。
此种方式下,点名信号判定电路用于替代主控电路确定是否识别到点名信号。
作为一种可选的实施方式,所述点名信号判定电路与所述点名信号识别电路集成在同一电路中,或者与所述主控电路集成在同一电路中。
当点名信号判定电路与所述点名信号识别电路集成在同一电路中时,点名判断电路在接收到点名信号后,根据接收的点名信号确定是否触发通信地址配置准备,当触发通信地址配置准备时,将通信地址配置准备指示给主控设备,以使主控设备进行当前地址的更改;
当点名信号判定电路与主控电路集成在同一电路中,点名判断电路在接收到点名信号后,将待识别的点名信号发送到主控设备中,由主控设备根据接收的点名信号确定是否触发通信地址配置准备,当触发通信地址配置准备时,进行当前地址的更改。
作为一种可选的实施方式,所述对当前地址进行预设逻辑运算得到临时地址,包括:
对当前地址增大预设大小或减小预设大小得到临时地址,当触发通信地址配置准备后,需要将当前地址修改为临时地址,其中,修改的临时地址可以根据预设的规则,将所述当前地址增大预设大小或减小预设大小得到临时地址,如原地址为A(255),将当前地址增大预设大小或减小预设大小,修改为A+N或A-N,其中修改的临时地址以不影响后续通信设置为前提,在监控设备侧和链路设备侧设置了相同的临时地址后,监控设备就可以通过临时地址和链路设备进行通信,因此,将当前地址逐个修改为一个无设备占用的公用地址,也是一种可选的实施方式,本领域技术人员应当知晓,这里不再赘述。
作为一种可选的实施方式,链路设备上还包括:LED显示模块,用于在配置完本设备的通信地址之后,驱动LED显示模块中的LED灯发光,以使链路设 备的使用者能够清楚知晓,该链路设备是否已经被监控设备配置了通信地址,并将该通信地址存储在地址池中。
其中,上述链路设备可以通过链路设备的内部结构改变,而以不同方式接收并向级联的设备发送设备点名信号:
方式一、点名信号识别电路为电源开关控制电路,点名信号发送电路为向下级设备输出电源开断信号的电路。
此种方式下,链路设备中包括电源开关控制电路和向下级设备输出电源开断信号的电路,接收级联的上级设备发送的电源开断信号,并在修改本设备通信地址后,向级联的下级设备发送的电源开断信号。
具体的,电源开断装置使用控制电源的方式,发送电源开断信号,在需要向下级设备发送的电源开断信号时,将本链路设备的电源断开,此时由于本设备的电源被切断,下级设备会收到因电源断开而产生的电源开断信号,下级设备能对应的修改当前地址为临时地址,并接受监控设备发送的地址修改指令,以实现通过开关链路设备电源来逐个对链路设备的通信地址进行配置。
如图4a所示为一进一出非总线方式使用电源开关控制电路的原理示意图,如图4b所示为总线式通信链路方式电源开关控制电路的原理示意图。
上述两种方式均为采用电源开关控制电路发送点名信号的方式,其区别在于,监控设备与各链路设备的数据通信电路的通信方式不同。
方式二、点名信号识别电路为与上级设备连接的数据通信支路,点名信号发送电路为向下级设备输出预设数据的数据通信支路。
具体的,链路设备中的点名信号识别电路和点名信号发送电路为使用数据通信方式连接的电路而非开关信号或脉冲,且每个链路设备的数据通信支路仅与级联的或邻近的链路设备的数据通信支路进行通信,级联的链路设备的数据通信支路通过向级联的下级设备发送的预设数据。
此种情况下,由点名信号判定电路,与所述主控电路连接,用于确定所述点名信号识别电路是否识别到点名信号,在本方式中,点名识别电路为数据通信支路,所述点名信号判定电路与数据通信支路集成在同一电路中,其中数据 通信电路和数据通信支路可以使用一种物理接口的不同线缆,也可以分为两个独立接口,这里不做限定。
下级设备通过点名信号判定电路对所述预设数据进行解析,确定预设信息是否指示为点名信号。
作为一种可选的实施方式,所述预设数据,包括如下至少一种:网络数据、串口数据、USB数据、IIC数据、SPI数据、CAN数据、单总线1-Wire数据、数字量数据、模拟量数据,链路设备的数据通信支路通过对预设数据解析,确定是否将当前地址修改为临时地址;
如图5a所示为一进一出非总线方式使用数据通信支路点名的原理示意图,如图5b所示为总线式使用数据通信支路点名的原理示意图。
上述两种方式均为采用数据通信电路发送点名信号的方式,其区别在于,监控设备与各链路设备的数据通信电路的通信方式不同。
方式三、所述点名信号识别电路为通过开关与上级设备连接的电路,所述点名信号发送电路为向下级输出开关信号的电路,本实施例中优选的采用此种方式进行点名控制及通信地址配置。
具体的,电源开关控制电路用于识别是否存在开关量输入,而向下级输出开关信号的电路可以简化为一个开关量输入,例如电磁继电器等等电子开关,在主控设备完成本设备的通信地址分配后,将本设备的电子开关断开或闭合,下级设备根据所述电子开关的断开或闭合确定是否将当前地址修改为临时地址。
如图6a所示,为发送的开关开断信号的原理示意图。
在开始点名时,第一个设备由于前边无同类链路设备,监控设备将默认高电平1的点名信号发送到第一个链路设备上,其他链路设备由于都连接在未配置通信地址的链路设备上,故默认接收到0的点名信号;
每个设备出厂默认地址为A(255),第一个设备若接收到点名信号电平为高电平1后,将当前地址改为临时地址A-1(254);
上层监控设备在组网地址分配时,每次都与临时地址进行通信,例如链路 通信通用地址为254,由于该设备的地址254第一次出现,通信后将该设备改为地址1,即该设备被识别为第一个物理位置的设备,通信地址为1(IP类型为通信地址为xx.xx.xx.1,串口类型通信地址为1);
监控设备将与第一个设备建立通信,并将通信地址更新进链路设备的地址池,给配置完通信地址的链路设备下发控制要求点名该设备的下级设备,针对到被通知的链路设备上,即为使链路设备的K1断开,该断开K1的动作即为通信地址配置准备动作,会使得下级设备识别到高电平1的点名信号;
如此类推,链路网络上的多个设备逐个根据链路物理位置被设置为相应的通信地址,并将通信地址更新进地址池。
作为一种可选的实施方式,采用如图6b所示的部署点POD产品,上述点名信号识别电路及点名信号发送电路集成在该POD设备上,通过将该POD产品安装在链路设备上实现控制点名的功能。
此外,在方式三的基础上,使用集成了POD产品的链路设备,能够对至少一行的链路设备进行点名控制,例如,POD间采用二维行列类型的矩阵网络级联,即所述链路设备的网络连接方式为首尾级联,但在物理空间上的布局位置为多行矩阵形式的布局方式,若需要确定所述链路设备所在的行,需要首先确定当前的链路通信方式,并通过采用外加接口链路的方式,对各行的链路设备进行点名,根据外加接口的不同以及临时地址的出现次数,实现链路设备的行列位置识别。
具体的,点名信号识别电路和点名信号发送电路采用第一接口协议,采用第二接口协议的数据通信电路,用于将监控设备下发的控制指令传输到对应的完成通信地址配置的链路设备,及将完成通信地址配置的链路设备采集的数据上传到所述监控设备。
所述第一接口协议与第二接口协议采用的通信协议不同,其中,第一接口协议和第二接口协议中的至少一个接口的接口信号可以为:开关量信号、电源开关信号、USB、SPI、IIC等等通信信号。
例如,如图6c所示,当前数据通信电路采用网络方式进行首尾级联,由监 控设备同时使用两路RS485总线分别连接A、B列链路设备,为了对至少两行上的链路设备进行点名;
在触发链路设备点名指令时,同时向地址配置的起始A链路设备和B链路设备发送点名信号,由于A、B行链路设备分别使用两路不同的RS485总线进行点名,监控设备可以根据不同接口引出的RS485总线确定连接的设备处于的行位置;
监控设备分别通过两路不同的RS485总线向A、B行链路设备发送点名信号,在链路设备接收到点名信号后,修改本设备的当前地址为临时地址,监控设备根据RS485总线确定链路设备的行位置,根据识别到临时地址的次数确定链路设备所在的列位置,根据所述行位置和列位置给链路设备配置通信地址,将携带配置的通信地址的地址修改指令,通过所述链路发送给各路所述采用临时地址的链路设备,链路设备根据所述携带行列位置的地址修改指令配置本地通信地址。
方式四、点名信号识别电路为在数据通信电路上连接开关的电路,点名信号发送电路为在数据通信电路上向下级设备输出开关信号的电路。
本方式中,如图7所示,点名信号识别电路和点名信号发送电路设置在数据通信电路的通信链路上,通过数据通信电路上的控制数据通信的连接开关的电路,确定是否向下级链路设备发送通信数据,下级链路设备通过识别通信数据的传输状态确定是否触发了通信地址配置准备,其中,数据通信电路的数据通信传输采用电子开关器件控制,当电子开关器件闭合时,控制本链路设备向下级设备发送通信数据,当电子开关器件断开时,停止向下级设备发送通信数据,下级链路设备根据通信数据流的传输状态确定是否触发了通信地址配置准备。
利用本发明提供的一种链路设备,可以不局限于通信方式,适合于网络、串口等任意通信方式的通信链路场景,级联通信链路内链路设备的物理位置顺序可获取,并且不需要人为干预,完全免去配置环节,可自行实现物理位置和地址匹配的自组网机制,解决了在链路设备部署和运维过程中需要人工对链路 设备逐个进行配置及物理位置匹配过程过于繁琐复杂的问题,取而代之,完全由设备自动配置和位置匹配。降低了现场系统集成、监控配置和调试的工作量。
本发明实施例提供一种链路设备通信地址配置方法,应用于链路设备,如图8所示,所述方法包括如下步骤:
步骤S801,在所述点名信号识别电路识别到点名信号时,对当前地址进行预设逻辑运算得到临时地址;
步骤S802,通过数据通信电路与监控设备建立连接,并接收来自所述监控设备的地址修改指令,所述地址修改指令,携带所述监控设备根据识别到临时地址的次数确定的链路设备物理位置来配置的通信地址;
步骤S803,根据所述地址修改指令完成通信地址配置后,控制所述点名信号发送电路向下级设备发送点名信号。
可选地,所述点名信号识别电路为电源开关控制电路,所述点名信号发送电路为向下级设备输出电源开断信号的电路;或者
所述点名信号识别电路为与上级设备连接的数据通信支路,所述点名信号发送电路为向下级设备输出预设数据的数据通信支路;或者
所述点名信号识别电路为通过开关与上级设备连接的电路,所述点名信号发送电路为向下级输出开关信号的电路;或者
所述点名信号识别电路为在数据通信电路上连接开关的电路,所述点名信号发送电路为在数据通信电路上向下级设备输出开关信号的电路。
可选地,所述点名信号识别电路和点名信号发送电路采用第一接口协议,还包括:
采用第二接口协议的数据通信电路,用于将监控设备下发的控制指令传输到对应的完成通信地址配置的链路设备,及将完成通信地址配置的链路设备采集的数据上传到所述监控设备。
可选地,所述对当前地址进行预设逻辑运算得到临时地址,包括:
对当前地址增大预设大小或减小预设大小得到临时地址。
本发明实施例提供的一种链路设备通信地址配置方法,与上述实施例中链 路设备基于同一发明构思,这里不再赘述。
如图9所述,为本发明实施例提供一种链路设备通信地址配置方法的完整流程图;
步骤S901,开始点名时,由监控设备向地址配置的起始链路设备发送点名信号,点名信号识别电路识别是否从上级设备接收到点名信号;
步骤S902,在所述点名信号识别电路识别到点名信号时,对当前地址进行预设逻辑运算得到临时地址;
步骤S903,监控设备与采用临时地址的链路设备建立连接,根据识别到临时地址的次数确定链路设备的列信息,并根据连接链路设备的总线类型确定链路设备的行信息,并根据所述行列信息确定配置通信地址,将携带的配置通信地址的地址修改指令发送到所述采用临时地址的链路设备中;
步骤S904,通过数据通信电路接收到来自监控设备的地址修改指令,并进行通信地址配置,将所述链路设备的物理位置与对应配置通信地址进行保存;
步骤S905,根据所述地址修改指令完成通信地址配置后,控制所述点名信号发送电路向下级设备发送点名信号,并驱动LED灯发光;
步骤S906,确定没有链路设备响应点名信号时,恢复所有设备的点名状态至默认状态。
本发明实施例提供一种链路设备通信地址配置方法,应用于链路设备,如图10所示,所述方法包括如下步骤:
步骤S1001,触发链路设备通信地址配置时,向链路上进行地址配置的下级设备发送点名信号;
步骤S1002,响应于地址配置指令,识别所述链路上采用临时地址的链路设备并与其建立连接,根据识别到临时地址的次数确定链路设备的物理位置,并根据所述物理位置配置通信地址,将配置的通信地址通过地址修改指令,通过所述链路发送给所述采用临时地址的链路设备。
可选地,通过所述链路发送给所述采用临时地址的链路设备之后,还包括:
将所述链路设备的物理位置与对应配置通信地址进行保存。
可选地,所述链路包括采用第一接口协议的第一数据通信链路,还包括:
采用第二接口协议的数据通信电路,将控制指令下发到完成通信地址配置的链路设备;
接收完成通信地址配置的链路设备采集上传的数据。
可选地,所述监控设备包括多个通信接口,每个通信接口分别连接第一数据通信链路和第二数据通信链路;
响应于地址配置指令,识别所述链路上采用临时地址的链路设备并与其建立连接;
根据识别到链路上采用临时地址的链路设备的通信接口,确定识别到的链路上采用临时地址的链路设备所在的行位置;
根据识别到临时地址的次数确定链路设备所在的列位置及所述临时地址的链路设备所在的行位置确定配置的通信地址,将所述配置的通信地址通过地址修改指令,通过所述链路发送给所述采用临时地址的链路设备。
本发明实施例提供的一种链路设备通信地址配置方法,与上述实施例中监控设备基于同一发明构思,这里不再赘述。
本发明实施例提供一种计算机可读存储介质,其上存储有计算机程序,所述计算机程序被处理器执行时实现应用于链路设备得链路设备通信地址配置方法的任一所述的方法,或者执行实现应用于监控设备的链路设备通信地址配置方法的任一所述的方法。
本领域内的技术人员应明白,本申请的实施例可提供为方法、系统、或计算机程序产品。因此,本申请可采用完全硬件实施例、完全软件实施例、或结合软件和硬件方面的实施例的形式。而且,本申请可采用在一个或多个其中包含有计算机可用程序代码的计算机可用存储介质(包括但不限于磁盘存储器、CD-ROM、光学存储器等)上实施的计算机程序产品的形式。
本申请是参照根据本申请的方法、设备(系统)、和计算机程序产品的流程图和/或方框图来描述的。应理解可由计算机程序指令实现流程图和/或方框图中的每一流程和/或方框、以及流程图和/或方框图中的流程和/或方框的 结合。可提供这些计算机程序指令到通用计算机、专用计算机、嵌入式处理机或其他可编程数据处理设备的处理器以产生一个机器,使得通过计算机或其他可编程数据处理设备的处理器执行的指令产生用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的装置。
这些计算机程序指令也可存储在能引导计算机或其他可编程数据处理设备以特定方式工作的计算机可读存储器中,使得存储在该计算机可读存储器中的指令产生包括指令装置的制造品,该指令装置实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能。
这些计算机程序指令也可装载到计算机或其他可编程数据处理设备上,使得在计算机或其他可编程设备上执行一系列操作步骤以产生计算机实现的处理,从而在计算机或其他可编程设备上执行的指令提供用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的步骤。
显然,本领域的技术人员可以对本申请进行各种改动和变型而不脱离本申请的精神和范围。这样,倘若本申请的这些修改和变型属于本申请权利要求及其等同技术的范围之内,则本申请也意图包含这些改动和变型在内。

Claims (15)

  1. 一种链路设备,其特征在于,所述设备包括:
    点名信号识别电路,用于识别是否从上级设备接收到点名信号;
    点名信号发送电路,用于在主控电路的控制下向下级设备发送点名信号;
    数据通信电路,用于在监控设备与采用临时地址的链路设备建立连接后,将监控设备下发的地址修改指令发送到所述采用临时地址的链路设备,所述地址修改指令携带所述监控设备根据识别到临时地址的次数确定的链路设备物理位置来配置的通信地址;
    主控电路,用于在所述点名信号识别电路识别到点名信号时,对当前地址进行预设逻辑运算得到临时地址,通过数据通信电路接收到来自监控设备的地址修改指令,根据所述地址修改指令完成通信地址配置后,控制所述点名信号发送电路向下级设备发送点名信号。
  2. 根据权利要求1所述的设备,其特征在于,
    所述点名信号识别电路为电源开关控制电路,所述点名信号发送电路为向下级设备输出电源开断信号的电路;或者
    所述点名信号识别电路为与上级设备连接的数据通信支路,所述点名信号发送电路为向下级设备输出预设数据的数据通信支路;或者
    所述点名信号识别电路为通过开关与上级设备连接的电路,所述点名信号发送电路为向下级输出开关信号的电路;或者
    所述点名信号识别电路为在数据通信电路上连接开关的电路,所述点名信号发送电路为在数据通信电路上向下级设备输出开关信号的电路。
  3. 根据权利要求1或2所述的设备,其特征在于,还包括:
    点名信号判定电路,与所述主控电路连接,用于确定所述点名信号识别电路是否识别到点名信号。
  4. 根据权利要求3所述的设备,其特征在于,所述点名信号判定电路与所 述点名信号识别电路集成在同一电路中,或者与所述主控电路集成在同一电路中。
  5. 根据权利要求1或2所述的设备,其特征在于,所述点名信号识别电路和点名信号发送电路采用第一接口协议,还包括:
    采用第二接口协议的数据通信电路,用于将监控设备下发的控制指令传输到对应的完成通信地址配置的链路设备,及将完成通信地址配置的链路设备采集的数据上传到所述监控设备。
  6. 根据权利要求1所述的设备,其特征在于,对当前地址进行预设逻辑运算得到临时地址包括:
    对当前地址增大预设大小或减小预设大小得到临时地址。
  7. 一种链路设备通信地址配置方法,应用于链路设备,其特征在于,包括:
    在点名信号识别电路识别到点名信号时,对当前地址进行预设逻辑运算得到临时地址;
    通过数据通信电路与监控设备建立连接,并接收来自所述监控设备的地址修改指令,所述地址修改指令携带所述监控设备根据识别到临时地址的次数确定的链路设备物理位置来配置的通信地址;
    根据所述地址修改指令完成通信地址配置后,控制点名信号发送电路向下级设备发送点名信号。
  8. 根据权利要求7所述的方法,其特征在于,所述点名信号识别电路为电源开关控制电路,所述点名信号发送电路为向下级设备输出电源开断信号的电路;或者
    所述点名信号识别电路为与上级设备连接的数据通信支路,所述点名信号发送电路为向下级设备输出预设数据的数据通信支路;或者
    所述点名信号识别电路为通过开关与上级设备连接的电路,所述点名信号发送电路为向下级输出开关信号的电路;或者
    所述点名信号识别电路为在数据通信电路上连接开关的电路,所述点名信号发送电路为在数据通信电路上向下级设备输出开关信号的电路。
  9. 根据权利要求7或8所述的方法,其特征在于,所述数据通信电路采用第一接口协议,还包括:
    采用第二接口协议的数据通信电路,用于将监控设备下发的控制指令传输到对应的完成通信地址配置的链路设备,及将完成通信地址配置的链路设备采集的数据上传到所述监控设备。
  10. 根据权利要求7所述的方法,其特征在于,对当前地址进行预设逻辑运算得到临时地址包括:
    对当前地址增大预设大小或减小预设大小得到临时地址。
  11. 一种链路设备通信地址配置方法,应用于监控设备,其特征在于,所述方法包括:
    触发链路设备通信地址配置时,向链路上进行地址配置的下级设备发送点名信号;
    响应于地址配置指令,识别所述链路上采用临时地址的链路设备并与其建立连接,根据识别到临时地址的次数确定链路设备的物理位置,并根据所述物理位置配置通信地址,将配置的通信地址通过地址修改指令,通过所述链路发送给所述采用临时地址的链路设备。
  12. 根据权利要求11所述的方法,其特征在于,通过所述链路发送给所述采用临时地址的链路设备之后,还包括:
    将所述链路设备的物理位置与对应配置通信地址进行保存。
  13. 根据权利要求11所述的方法,其特征在于,所述链路包括采用第一接口协议的第一数据通信链路,还包括:
    采用第二接口协议的数据通信电路,将控制指令下发到完成通信地址配置的链路设备;
    接收完成通信地址配置的链路设备采集上传的数据。
  14. 根据权利要求11所述的方法,其特征在于,所述监控设备包括多个通信接口,每个通信接口分别连接第一数据通信链路和第二数据通信链路,
    响应于地址配置指令,识别所述链路上采用临时地址的链路设备并与其建 立连接;
    根据识别到链路上采用临时地址的链路设备的通信接口,确定识别到的链路上采用临时地址的链路设备所在的行位置;
    根据识别到临时地址的次数确定链路设备所在的列位置,根据所述行位置及列位置确定配置的通信地址,将所述配置的通信地址通过地址修改指令,通过所述链路发送给所述采用临时地址的链路设备。
  15. 一种计算机可读存储介质,其特征在于,其上存储有计算机程序,其特征在于,所述计算机程序被处理器执行时实现如权利要求7-10任一所述的方法,或者执行实现如权利要求11-14任一所述的方法。
PCT/CN2020/131995 2020-07-01 2020-11-27 一种链路设备及链路设备通信地址配置方法 WO2022000969A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202010627184.XA CN113965547B (zh) 2020-07-01 2020-07-01 一种链路设备及链路设备通信地址配置方法
CN202010627184.X 2020-07-01

Publications (1)

Publication Number Publication Date
WO2022000969A1 true WO2022000969A1 (zh) 2022-01-06

Family

ID=79317357

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2020/131995 WO2022000969A1 (zh) 2020-07-01 2020-11-27 一种链路设备及链路设备通信地址配置方法

Country Status (2)

Country Link
CN (1) CN113965547B (zh)
WO (1) WO2022000969A1 (zh)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115473763B (zh) * 2022-09-15 2024-01-30 长城汽车股份有限公司 信息配置方法、主节点、从节点以及车辆
CN115865867A (zh) * 2022-11-24 2023-03-28 上海艾为电子技术股份有限公司 地址修改方法、芯片、控制模块和电子设备
CN116599842B (zh) * 2023-07-17 2023-09-19 北京中科睿信科技有限公司 一种多模块阵列系统管理方法、设备及介质

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP2723044A1 (de) * 2012-10-22 2014-04-23 Truma Gerätetechnik GmbH & Co. KG Rangierantrieb mit flexibler Adressierung
CN108632796A (zh) * 2018-04-16 2018-10-09 Oppo广东移动通信有限公司 蓝牙连接方法、装置、终端及计算机可读存储介质
CN110505319A (zh) * 2019-08-07 2019-11-26 金陵科技学院 一种rs485从设备地址自动分配方法及系统
CN111211955A (zh) * 2019-11-15 2020-05-29 华为技术有限公司 从节点地址分配的方法和节点管理系统

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103246627A (zh) * 2012-02-03 2013-08-14 施耐德电器工业公司 能够自动分配地址的多级从属串行通信系统和方法
CN105872123B (zh) * 2016-03-29 2019-04-02 宁德时代新能源科技股份有限公司 地址编码方法、电池监控单元、电池管理单元及系统
EP3639628B1 (en) * 2017-06-13 2023-08-16 Signify Holding B.V. Automatic address allocation for serially connected devices
CN110417930B (zh) * 2019-06-19 2022-02-25 浙江天正电气股份有限公司 一种串行设备通信地址的自动分配方法

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP2723044A1 (de) * 2012-10-22 2014-04-23 Truma Gerätetechnik GmbH & Co. KG Rangierantrieb mit flexibler Adressierung
CN108632796A (zh) * 2018-04-16 2018-10-09 Oppo广东移动通信有限公司 蓝牙连接方法、装置、终端及计算机可读存储介质
CN110505319A (zh) * 2019-08-07 2019-11-26 金陵科技学院 一种rs485从设备地址自动分配方法及系统
CN111211955A (zh) * 2019-11-15 2020-05-29 华为技术有限公司 从节点地址分配的方法和节点管理系统

Also Published As

Publication number Publication date
CN113965547B (zh) 2023-09-01
CN113965547A (zh) 2022-01-21

Similar Documents

Publication Publication Date Title
WO2022000969A1 (zh) 一种链路设备及链路设备通信地址配置方法
CN103455005B (zh) 一种控制器冗余及切换方法
CN101296065B (zh) 一种提高冗余主站可靠性的方法及系统
US6757777B1 (en) Bus master switching unit
CN106647613A (zh) 一种基于mac的plc双机冗余方法及系统
CN103684848B (zh) 一种自动配置的非管理型工业以太网交换机及其实现方法
CN107807630A (zh) 一种主备设备的切换控制方法、其切换控制系统及装置
US20060209816A1 (en) Method and equipment for implementing synchronous switching of CLOS cross connection matrix
CN115941102A (zh) 一种采用spi连接mcu和fpga的控制器间同步通信的方法
CN105162514B (zh) 光纤环网通信系统及方法
JP3452117B2 (ja) 入出力装置の制御方法
CN210324188U (zh) 一种集成电路总线iic主从竞争自动切换设备及其系统
CN102331762B (zh) 总机通过rs-485总线写入地址码的控制方法
CN104135411A (zh) 一种基于rs232接口多节点通信的实现装置及方法
CN210323800U (zh) 一种可冗余的智能照明网关系统
CN104572556A (zh) 多级串口扩展电路
CN113632423B (zh) 用于控制数据通信的单元
CN104656478B (zh) 一种多电源模块的控制电路及控制方法
CN113348649B (zh) 致动执行单元的方法以及对应设置的系统
CN115080465A (zh) 可寻址的主从系统以及从机单元的寻址方法
CN105871624A (zh) 不依赖于控制专网的动态sdn控制信令带内传输方法
TW201823888A (zh) 數值控制系統及其控制方法
JPH03196737A (ja) 通信システムおよび該システムに用いる中継装置
CN110059046A (zh) 一种切换数据信号的传输路径的方法、系统及可读介质
CN103825747A (zh) 一种兼容百兆千兆以太网的分路器系统

Legal Events

Date Code Title Description
NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 20942658

Country of ref document: EP

Kind code of ref document: A1