Multidrop network system and network device
20230037027 · 2023-02-02
Inventors
- Yung-Le CHANG (Hsinchu, TW)
- Wen-Chih FANG (Hsinchu, TW)
- DENG-SHIAN WANG (Hsinchu, TW)
- Shieh-Hsing Kuo (Hsinchu, TW)
Cpc classification
H04L12/413
ELECTRICITY
International classification
Abstract
A multidrop network system includes N network devices. The N network devices include a master device and multiple slave devices, and each network device has an identification code as its own identification in the multidrop network system. The N network devices have N identification codes and obtain transmission opportunities in turn according to the N identification codes in each round of data transmission. Each network device performs a count operation to generate a current count value, and when the identification code of a network device is the same as the current count value, this network device obtains a transmission opportunity. After a device obtains the transmission opportunity, it determines whether a cut-in signal from another network device is observed in a front duration of a predetermined time slot, and then determines whether to abandon/defer the right to start transmitting in the remaining duration of the predetermined time slot.
Claims
1. A multidrop network system comprising N network devices, the N network devices including a master device and (N−1) slave device(s), each of the N network devices having an identification code as an identification in the multidrop network system and thus the N network devices having N identification codes in total, the N network devices earning transmission opportunities in turn according to the N identification codes in each round of data transmission of the multidrop network system, and each of the N network devices performing a count operation to generate a current count value, wherein: the N is an integer greater than or equal to two; when the identification code of a K.sup.th device of the N network devices is the same as the current count value, the K.sup.th device earns a K.sup.th-device transmission opportunity of the transmission opportunities, in which the K is a positive integer not greater than the N; and after earning the K.sup.th-device transmission opportunity, the K.sup.th device makes a determination of whether a cut-in signal from another network device is observed in a front duration of a predetermined time slot, and then determines whether to abandon or defer a right to start transmitting in a back duration of the predetermined time slot according to the determination.
2. The multidrop network system of claim 1, wherein the K.sup.th device is the master device or one of the (N−1) slave device(s); the cut-in signal is a data signal, or the cut-in signal is a request signal from the another network device asking to join the multidrop network system; and after receiving the cut-in signal, the K.sup.th device abandons or defers the right to start transmitting in the back duration of the predetermined time slot.
3. The multidrop network system of claim 2, wherein the cut-in signal is the data signal; and the another network device is one of the N network devices except the K.sup.th device.
4. The multidrop network system of claim 2, wherein the cut-in signal is the request signal; and the another network device is not any of the N network devices.
5. The multidrop network system of claim 4, wherein the master device receives the request signal in a round of data transmission of the multidrop network system, and accordingly adjusts a count range of the current count value after the round of data transmission finishes.
6. The multidrop network system of claim 5, wherein the count range is defined by a difference between a maximum count value and a minimum count value; and after receiving the request signal, the master device increases the count range after the round of data transmission finishes.
7. The multidrop network system of claim 6, wherein the master device increases the maximum count value to increase the count range; before increasing the count range, the maximum count value is equal to (N−1); and after increasing the count range, the maximum count value is equal to N.
8. The multidrop network system of claim 6, wherein the identification code of the master device is equal to the minimum count value.
9. The multidrop network system of claim 6, wherein after the current count value reaches the maximum count value, each of the N network devices resets the current count value to the minimum count value.
10. The multidrop network system of claim 1, wherein when the determination indicates that the cut-in signal is not observed, in a circumstance that the K.sup.th device has no need to transmit, a (K+1).sup.th device of the N network devices is assigned the K.sup.th-device transmission opportunity after the predetermined time slot elapses.
11. The multidrop network system of claim 1, wherein a duration of each round of data transmission of the multidrop network system is defined according to two successive beacons; the another network device ascertains a value of the N according to a length of the predetermined time slot and transmission statuses of the N network devices within an interval between the two successive beacons, and afterward the another network device uses a new identification code as an identification of the another network device in the multidrop network system according to the value of N; and the new identification code is different from any of the N identification codes owned by the N network devices.
12. A network device being a cooperative network device among N network devices of a multidrop network system, the N network devices earning transmission opportunities in turn in the multidrop network system, the N network devices including a master device and (N−1) slave device(s), each of the N network devices having an identification code as an identification in the multidrop network system, and each of the N network devices performing a predetermined operation to generate a current value, wherein: the N is an integer greater than or equal to two; when the identification code of the cooperative network device is the same as the current value, the cooperative network device earns a cooperative-device transmission opportunity of the transmission opportunities; and; after earning the cooperative-device transmission opportunity, the cooperative network device makes a determination of whether a cut-in signal from another network device is observed in a front duration of a predetermined time slot, and then determines whether to abandon or defer a right to start transmitting in a back duration of the predetermined time slot according to the determination.
13. The network device of claim 12, wherein the cooperative network device is the master device or one of the (N−1) slave device(s); the cut-in signal is a data signal, or the cut-in signal is a request signal from the another network device asking to join the multidrop network system; and after receiving the cut-in signal, the cooperative network device abandons or defers the right to start transmitting in the back duration of the predetermined time slot.
14. The network device of claim 13, wherein the cut-in signal is the data signal; and the another network device is one of the N network devices except the cooperative network device.
15. The network device of claim 13, wherein the cut-in signal is the request signal; and the another network device is not any of the N network devices.
16. The network device of claim 15, wherein the cooperative network device is the master device; the master device receives the request signal in a round of data transmission of the multidrop network system, and accordingly adjusts a value range of the current value after the round of data transmission finishes.
17. The network device of claim 16, wherein the value range is defined by a difference between a maximum value and a minimum value; and after receiving the request signal, the master device increases the value range after the round of data transmission finishes.
18. The network device of claim 17, wherein the master device increases the maximum value to increase the value range; before the master device increases the value range, the maximum value is equal to (N−1); and after the master device increases the value range, the maximum value is equal to N.
19. The network device of claim 12, wherein the predetermined operation is an incremental count operation, and the current value is a current count value.
20. The network device of claim 12, wherein when the determination indicates that the cut-in signal is not observed, in a circumstance that the cooperative network device has no need to transmit, another device of the N network devices is assigned the cooperative-device transmission opportunity after the predetermined time slot elapses.
Description
BRIEF DESCRIPTION OF THE DRAWINGS
[0007]
[0008]
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0009] The present specification discloses a multidrop network system and a network device of the multidrop network system. The multidrop network system and network device support instant transmission and allow a new node (i.e., a new network device) to join the multidrop network system. The background knowledge of a multidrop network system is found in the IEEE 802.3 standard and the US patent application publication of publication number US2019/0230705A1.
[0010]
[0011] In regard to the embodiment of
It is noted that if the predetermined operation is another kind of operations (e.g., a decremental count operation), those having ordinary skill in the art can derive the corresponding circumstances from the above description. The incremental/decremental count operation can be realized with known/self-developed technologies (e.g., counter/timer).
[0022] In regard to the embodiment of
[0023] On the basis of the above, if the cut-in signal is the request signal, the count range of the current count value should be adjusted to the affiliation of the another network device. Normally, the count range is defined by the difference between a maximum count value (e.g., N−1) and a minimum count value (e.g., 0). The difference could be equal to the number of effective nodes (i.e., devices that can earn transmission opportunities in turn in the multidrop network system 100) in the multidrop network system 100, but the present invention is not limited thereto. For example, if the N network devices receive the request signal in a round of data transmission of the multidrop network system 100, the master device 110 adjusts the count range of the current count value (e.g., increases the maximum count value by one) after this round of data transmission finishes (i.e., when or before a next round of data transmission begins). For another example, if the N network devices receive the request signal in a round of data transmission of the multidrop network system 100, the (N−1) slave device(s) 120 is/are silent after receiving the request signal; and after receiving the request signal, the master device 110 adjusts the count range of the current count value (e.g., increasing the maximum count value by one) before the end of the round of data transmission and then sends out a beacon to notify all the slave device(s) 120 of the start of the next round of data transmission.
[0024] In regard to the embodiment of
[0025] In regard to the embodiment of
N≅interval between the two successive beacons/duration of the predetermined time slot
In another exemplary implementation, if an M.sup.th network device transmits in the interval between the two successive beacons (i.e., a first beacon and a second beacon) while the other (N−1) network device(s) do(es) not transmit in the interval, the another network device can ascertain the start and end of the transmission of the M.sup.th network device according to the M.sup.th network device's transmitting data or status, and then the another network device can estimate the value of the N according to the following equation:
Other ways to estimate the value of the N can be derived from the above description.
[0026] It is noted that the aforementioned new IDC of the another network device can be determined by other means without the value of the N. For example, when a physical layer (not shown) of the master device 110 receives the request signal from the another network device, the physical layer can forward the request signal or the information thereof to an upper layer (e.g., application layer) (not shown) of the master device 110, and then the upper layer can determine the new IDC accordingly; afterward, the master device 110 provides the new IDC for the another network device through the physical layer, and adjusts the count range of the current count value.
[0027] Each network device of the multidrop network system 100 in
[0028] It should be noted that people of ordinary skill in the art can selectively use some or all of the features of any embodiment in this specification or selectively use some or all of the features of multiple embodiments in this specification to implement the present invention as long as such implementation is practicable; in other words, the present invention can be carried out flexibly in accordance with the present disclosure.
[0029] To sum up, the present invention supports instant transmission (e.g., instant messaging) and allows the affiliation of a new node without significantly changing the configuration of a multidrop network system.
[0030] The aforementioned descriptions represent merely the preferred embodiments of the present invention, without any intention to limit the scope of the present invention thereto. Various equivalent changes, alterations, or modifications based on the claims of the present invention are all consequently viewed as being embraced by the scope of the present invention.