Communication method in a communication segment of a network
09992295 ยท 2018-06-05
Assignee
Inventors
- Julien Baron (Nort sur Erdre, FR)
- Jerome Laine (Sautron, FR)
- Christian Gregoire (La chapelle sur erdre, FR)
- Pierre Sagot (Nantes, FR)
- Jean-Pierre Houdusse (Suce-sur-Erdre, FR)
Cpc classification
H04L67/12
ELECTRICITY
International classification
Abstract
A communication method is provided in a communication network, including a plurality of devices forming an ordered communication segment. At least one intermediate device of this segment is connected to at most two other devices called a previous device and a next device. The intermediate device receives data from the previous device and emits at least these data to the next device to propagate the data on the segment. A concentrator initializes transmission of a first frame of data through the segment to a terminal device ending the segment, which sends back a symbol initiating transmission of a second frame of data to the first concentrator through the segment. The method includes receiving a first symbol from the previous device, which triggers emitting a WAIT symbol to the previous device and emitting at least first symbol to the next device.
Claims
1. A communication method in a communication network comprising an ordered communication segment of devices, said segment comprising a first and a second terminal devices ending the segment and at least one intermediary device, wherein said intermediary device is connected to at most two other devices of the segment, called a previous device and a next device, receives data from the previous device and emits at least these data to the next device, allowing propagation of the data on the segment, the first terminal device being a concentrator initializing transmission of a first frame of data through the segment to the second terminal device, said second terminal device sending back a second frame of data downstream to the concentrator through the segment; wherein the communication method comprises the following acts carried out by at least an intermediary device: reception of a first symbol EOSF from the previous device of said intermediary device, periodic emission of WAIT symbols to the previous device of said intermediary device, said periodic emission being triggered by reception of a first symbol, and emission of at least the first symbol EOSF to the next device of said intermediary device, and wherein the periodic emission of WAIT symbols is interrupted by reception of determined data other than WAIT symbols from the next device.
2. The method according to claim 1, wherein emission of WAIT symbols is periodically spaced out of a duration less than a first determined period.
3. The method according to claim 1, wherein an absence of reception of a WAIT symbol from the next device during a second determined period triggers a definition of said intermediary device as being the second terminal device of the segment.
4. The method according to claim 3, wherein the second determined period is at least larger than or equal to twice the first determined period.
5. The method according to claim 1 wherein the second terminal device is a second concentrator.
6. The method according to claim 1, further comprising changing the data received from the previous device by modifying a determined field when the data goes across the intermediary device of the segment, the value of this determined field being representative to the range of said intermediary device in the segment.
7. The method according to claim 6, wherein the value of the determined field is modified whichever the direction of the data transmission.
8. The method according to claim 1 wherein each device comprises at least two communication ports for transmitting the data to the following devices by different cables, the data being transmitted by the at least two communication ports.
9. The method according to claim 1 wherein each device comprises at least two communication ports for transmitting the data to the following devices by different cables, the data being transmitted by the at least two communications ports, and wherein an absence of reception of a WAIT symbol from the next device during a second determined period triggers the definition of said intermediary device as being the second terminal device of the segment, and further comprising the emission by said intermediary device to the next device by using only one communication port as long as said intermediary device receives WAIT symbols from this next device during the last cycle, and the emission by said intermediary device to the next device by using the at least two communication ports when said intermediary device did not receive WAIT symbols from this next device.
10. A non-transitory computer-readable medium storing a computer program comprising program code instructions which, when executed on a computer or a processor, implement a method for managing communication in a communication network comprising an ordered communication segment of devices, said segment comprising a first and a second terminal devices ending the segment and at least one intermediary device, wherein said intermediary devices is connected to at most two other devices of the segment, called previous device and next device, receives data from the previous device and emits at least these data to the next device, allowing the propagation of the data on the segment, the first terminal device being a concentrator initializing the transmission of a first frame of data through the segment to the second terminal device, said second terminal device sending back a second frame of data downstream to the concentrator through the segment; wherein the instructions configure the intermediary device to carry out the following acts of the method: reception of a first symbol EOSF from the previous device of said intermediary device, periodic emission of WAIT symbols to the previous device of said intermediary device, said periodic emission being triggered by reception of a first symbol, and emission of at least the first symbol EOSF to the next device of said intermediary device, wherein the periodic emission of WAIT symbols is interrupted by reception of determined data other than WAIT symbols from the next device.
11. A communication device implemented in a communication network comprising a plurality of devices forming a ordered communication segment, at least one device of the segment being connected to at most two other devices called previous device and next device, the communication device comprising: a first communication port for exchanging data with a previous device and a second communication port for exchanging at least these data with a next device allowing propagation of the data on the segment, wherein said first communication port is adapted to receive a first symbol EOSF from the previous device and to periodically emit WAIT symbols to said previous device, said second communication port is adapted to emit at least said first symbol EOSF to the next device, the reception of said first symbol activating the periodic emission of WAIT symbols and the emission of said at least first symbol EOSF, wherein the periodic emission of WAIT symbols is interrupted by reception of determined data other than WAIT symbols from the next device.
Description
4. BRIEF DESCRIPTION OF THE DRAWINGS
(1) Other features and advantages of embodiments of the disclosure shall appear from the following description, given by way of an indicative and non-exhaustive example and from the appended drawings, of which:
(2)
(3)
(4)
(5)
(6)
(7)
(8)
(9)
(10)
(11)
(12)
(13)
(14)
5. DETAILED DESCRIPTION
(15) In all of the figures of the present document, identical elements and steps are designated by the same numerical reference sign.
(16)
(17) According to a preferred embodiment with a wired system, physically, the wired link segment includes 2 pairs of wires: a first pair is preferentially used for data transfer, for example with a Half-duplex protocol, and the two pairs provide power supply to the connected devices on the segment. One skilled in the art would understand that the method is not limited to two communication pairs. In case of a wireless system, nodes are wirelessly connected one to another by radiofrequency connection means such as and non limited to Wi-Fi, Bluetooth, radio transmission . . . . The communication network may be used on land or sea, in the latter case the UC 3 is generally on board a ship.
(18)
(19) A concentrator 1 includes similar elements as a node 2 with additional elements, like a third communication interface for a high bandwidth connection via a transverse line, allowing a fast transmission of data to the master central unit 3. In a general manner, a node and a concentrator are communication devices comprising at least a CPU running a computer program and communication means for receiving data and transmitting data.
(20) The network described by
(21)
(22) At first, a super frame of data called HD-Up is sent by the concentrator 1 (at the left of the
(23) The super-frame is split in temporal slots and sent to the first node N1. The super-frame is received by the first input output interface 13 of node N1. The content of the super-frame is stored in the data memory 12 of the node. Upon reception of the EOSF symbol, the node N1 activates a module stored in the program memory 11 for periodically sending WAIT symbols on the first input output interface 13. The emissions of a WAIT symbol to the concentrator 1 are spaced out of duration less than a first determined period, typically 10 milliseconds. In this way, the concentrator periodically receives data from the next device and may deduce that the wired link is in working order.
(24) Then, node N1 emits the super-frame HD-Up to the next node N2 by using the second input output interface 15 and the wired link 16. According to a particular embodiment, the super-frame HD-Up is enriched by information specific to each crossed node, this information identifying the node. The first node N1 receives the super-frame HD-Up and extracts data useful to its running. The first node N1 sends the super-frame HD-Up to the next node with a new data field with its second input output interface 15. The new data field contains an indicator of presence of node N1 on the segment. Typically, the first data field contains a bit that is initialized to 1 by node N1. The second node N2 receives the super-frame with its first input output interface 13, and extracts data useful to its running. Following the reception of symbol EOSF, the node N2 activates a module stored in its program memory 11 for periodically sending WAIT symbols on the first input output interface 13. The WAIT symbols sent by N2 are received by N1 via the link. The node N2 also modifies the field specifying the range of each device in the segment. For example, the concentrator sending the super-frame initializes this specific field with the value 000, then each node receiving the super-frame, reads its value and adds one unit to this value before to re-send the super-frame. At the end of the crossing of the super-frame through the segment, the value of specific field corresponds to the number of nodes of this segment. In this manner, by analyzing the plurality of data fields to find a free field, each node knows its rank in the ordered succession of nodes.
(25) At the end of the segment, a second concentrator C receives the super-frame HD-Up. In response to the reception of HD-Up, C builds a super-frame HD-Down with internal data. If C is not able to send back the super-frame HD_Down into the first delay after the reception of EOSF symbol, C sends WAIT symbols. The last node of the segment managed by C receives the super-frame HD_Down. The reception of the first byte of HD-Down stops the periodical emission of WAIT symbols. The HD_Down is sent back to node N1, and the node N2 becomes inactive, i.e. it does not send data anymore. In the same way as the HD-Up, the super-frame HD-Down contains also a specific field specifying the range of each device in the segment.
(26) Finally, concentrator C receives the super-frame HD-Down. By reading the value of specific field, C knows the number of nodes in its segment.
(27) According to an embodiment, the data fields are written with an identifier of each node. That allows specifically pointing a node when the concentrator wants to send it a command.
(28) If there is no concentrator to end the segment 5, the last node does not know it is the last. It sends the HD_Up and waits for receiving a WAIT symbol from the next node. If no WAIT symbol arises during at least a predetermined period, for example twice the duration between two WAIT symbols emission, this node determines itself to be the last node of the segment. In particular, a timer with a determined duration is launched at the emission of data on a communication means and when the determined duration ends, if the communication means have not received any data, then the node is considered as the last. In this case, it sends the super-frame HD_Down on the first input output interface 13 and then, it stops its emission of WAIT symbols; it acts as above second concentrator C.
(29) In the case of a line cut during the transmission of super-frame HD_Up or HD_Down, a node does not receive anymore WAIT symbols and therefore, determines itself as the last node. In the same way, this node sends the super-frame HD_Down on the first input output interface 13 and then, it stops its emission of WAIT symbols.
(30) After the transmission of super-frames HD_Up and HD_Down, the concentrator at the beginning of a segment initializes others super-frames that go across the segment. In this manner, the measurements performed by the seismic sensors may be retrieve at any time.
(31)
(32) According to this embodiment, the links 14 and 16 comprise two pairs of wires for communication and power supply. Concerning the communication, the pairs are redundant and only one pair is sufficient to transmit data: communication mode named Xb, wherein devices emit and receive data on two pairs simultaneously, is preferably avoided in view of the electrical power consumption since devices such as nodes do not have their own power supply. In the embodiment, the devices emit data on a single pair called favored according to a communication mode named X mode, even if they could also emit data on two pairs (Xb mode) or only on the other pair. In the example illustrated by
(33) At the initialization of the communication of the segment, as shown in
(34)
(35)
(36) No data is received on the other input output interface, so N3 is still considered as a terminal node of the segment and sends back the frame HD_Down as shown by
(37) When a wire cut occurs on the favored pair between N1 and N2, as shown in
(38) N1, being the new terminal node, returns the frame HD_Down on its preferred pair as shown in
(39)
(40)
(41)
(42) Frames HD_Down and HD_Up are thus transmitted through the segment, from one end to the other end, despite partial wire cuts.
(43) Although the present disclosure has been described with reference to the illustrated embodiments, it is in no way limited by these embodiments. It will indeed be noted that any means of navigation equivalent to direction buttons is applicable to the implementation of the disclosure.