Physical layer collision avoidance device and emergency transmission method thereof
Patent Information
- Application Number
- JP2023181604
- Authority / Receiving Office
- JP · JP
- Patent Type
- Patents
- Current Assignee / Owner
- Priority Date
- 2023-01-16
- Filing Date
- 2023-10-23
- Publication Date
- 2025-02-26
- Estimated Expiration
- 2043-10-23
AI Technical Summary
【0007】 上記に基づいて、本発明の実施形態によって提供される方法は、緊急送信モードに入るPLCA装置が、より低い送信優先度を有する他のPLCA装置のパケット送信を適時に中止することを可能にし、それによって待機時間を短縮する効果を達成する。
Smart Images

Figure 0007636498000001 
Figure 0007636498000002 
Figure 0007636498000003
Abstract
Description
[Technical field]
[0001] The present invention relates to a physical layer collision avoidance (PLCA) technology, and in particular to a physical layer collision avoidance device and a method for implementing emergency transmission in a physical layer collision avoidance network. [Background technology]
[0002] In terms of existing technology, 10BASE-T1S is expected to replace existing multipoint networks such as the Controller Area Network (CAN) bus, which uses the Carrier Sense Multiple Access with Collision Detection (CSMA / CD) protocol to preset identification information and arbitrate priorities during transmission, thereby reducing the transmission delay of data packets and achieving the goal of predictable transmission times.
[0003] Based on the IEEE 802.3cg-2019 standard, PLCA nodes share the bandwidth equally. Users can adjust the bandwidth by adjusting the maximum burst count to give some nodes higher priority, but these PLCA nodes with higher priority have to wait for their own transmission opportunity (TO) to send data packets. This means that it may take a long time for the data packet to be sent (before other nodes have completed their packet transmission). Summary of the Invention [Problem to be solved by the invention]
[0004] In view of this, the present invention provides a physical layer collision avoidance device and an emergency transmission method in a physical layer collision avoidance network, which can be used to solve the above technical problems. [Means for solving the problem]
[0005] One embodiment of the present invention provides a physical layer collision avoidance device belonging to a physical layer collision avoidance network. The physical layer collision avoidance device includes a communication circuit and a controller. The controller is connected to the communication circuit and configured to perform the following operations: in response to determining that the physical layer collision avoidance device has entered an emergency transmission mode, find a first physical layer collision avoidance device performing a corresponding first packet transmission; in response to determining that a first transmission priority of the first physical layer collision avoidance device is lower than a transmission priority of the first physical layer collision avoidance device, abort the first packet transmission of the first physical layer collision avoidance device; in response to determining that it is the turn of the physical layer collision avoidance device to perform the corresponding packet transmission, the communication circuit is controlled to transmit at least one emergency packet corresponding to the emergency transmission mode.
[0006] One embodiment of the present invention provides a method for performing emergency transmission in a physical layer collision avoidance network suitable for a physical layer collision avoidance device, the method including the following operations: in response to determining that the physical layer collision avoidance device has entered an emergency transmission mode, find a first physical layer collision avoidance device performing a corresponding first packet transmission; in response to determining that a first transmission priority of the first physical layer collision avoidance device is lower than a transmission priority of the first physical layer collision avoidance device, abort the first packet transmission of the first physical layer collision avoidance device; in response to determining that it is the turn of the physical layer collision avoidance device to perform a corresponding packet transmission, transmit at least one emergency packet corresponding to the emergency transmission mode. Effect of the Invention
[0007] Based on the above, the method provided by the embodiment of the present invention enables a PLCA device entering an emergency transmission mode to timely stop packet transmission of other PLCA devices with lower transmission priority, thereby achieving the effect of reducing waiting time. [Brief description of the drawings]
[0008] [Figure 1]1 is a schematic diagram of a PLCA network according to one embodiment of the present invention; [Diagram 2] FIG. 2 is a schematic diagram of a PLCA mechanism according to one embodiment of the present invention. [Diagram 3] 4 is a flowchart of a method for performing emergency transmission in a PLCA network according to an embodiment of the present invention. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0009] Referring to Fig. 1, Fig. 1 is a schematic diagram of a PLCA network according to an embodiment of the present invention. In Fig. 1, the PLCA network 100 includes PLCA devices 10-1N, which may have the same or similar structure. Take the PLCA device 10 as an example, which includes a communication circuit 102 and a controller 104.
[0010] In one embodiment, the communication circuitry 102 may be used, for example, to realize communication between the PLCA device 10 and other PLCA devices in the PLCA network 100. The communication circuitry 101 may be realized as a communication module having a corresponding communication function according to a communication protocol used for packet exchange between the PLCA devices 10 to 1N.
[0011] In one embodiment, the PLCA devices 10 to 1N can use, for example, the CSMA / CD protocol for packet switching. In this case, the communication circuit 102 can be realized as, for example, a communication module having a CSMA / CD function, but is not limited thereto.
[0012] The controller 104 is coupled to the communications circuitry 102 and may be a general purpose processor, a special purpose processor, a conventional processor, a digital signal processor, multiple microprocessors, one or more complex digital signal processing microprocessors, a microcontroller, an application specific integrated circuit (ASIC), a field programmable gate array (FPGA), other types of integrated circuits, a state machine, an Advanced Risk Machine (ARM) based processor, or the like.
[0013] In FIG. 1, for the structure of the PLCA devices 11 to 1N, the relevant description of the PLCA device 10 can be referred to, and the description will not be repeated here.
[0014] In the embodiment of the present invention, each of the PLCA devices 10 to 1N performs a corresponding packet transmission in the PLCA network 100 according to a corresponding transmission opportunity.
[0015] Please refer to Fig. 2, which is a schematic diagram of a PLCA mechanism according to an embodiment of the present invention. In the situation shown in Fig. 2, before the PLCA devices 10-1N actually operate the PLCA mechanism, the corresponding node identifiers of the PLCA devices 10-1N may be manually set, or the node identifiers of the PLCA devices 10-1N in the PLCA network 100 may be determined based on a specific mechanism.
[0016] In the embodiment of the present disclosure, it is assumed that the node identifier of each of the PLCA devices 10-1N is represented by a corresponding node number, and the node number of each of the PLCA devices 10-1N may correspond to the transmission priority of each of the PLCA devices 10-1N in the PLCA network 100.
[0017] In one embodiment, for example, but not limited to, a PLCA device having a lower node number may have a higher transmission priority. For ease of explanation, in the following, it is assumed that the node numbers of the PLCA devices 10 to 1N are node numbers 0 to N, respectively, but this is merely an example and is not intended to limit possible implementations of the present invention.
[0018] 2, it is assumed that the node numbers of PLCA devices 10 to 1N are 0 to N, respectively, which means that the transmission priorities of PLCA devices 10 to 1N decrease in order. In this case, when the PLCA mechanism is operating, transmission opportunities 210 to 21N of PLCA devices 10 to 1N are allocated in order.
[0019] In this case, when the PLCA mechanism is operating, the PLCA devices 10-1N transmit sequentially at the corresponding transmission opportunities, and after the transmission opportunity 21N corresponding to the PLCA device 1N ends (e.g., the PLCA device with the lowest transmission priority), it is the turn of the transmission opportunity 210 corresponding to the PLCA device 10 (e.g., the PLCA device with the highest transmission priority). Furthermore, each PLCA device 10-1N may determine which PLCA device the current transmission opportunity corresponds to.
[0020] In one embodiment, when one of the PLCA devices 10-1N enters the emergency transmission mode, if this PLCA device is not the PLCA device corresponding to the current transmission opportunity, this PLCA device may need to wait a long time to transmit at the corresponding transmission opportunity.
[0021] For example, assuming that PLCA device 11 enters the emergency transmission mode when PLCA device 13 executes the corresponding transmission opportunity 213, PLCA device 11 must wait for PLCA devices 13-11N, 10 to sequentially complete the corresponding transmission opportunities 213-21N, 210, and can transmit a packet corresponding to the emergency transmission mode when it executes the transmission opportunity 211 corresponding to PLCA device 11. Furthermore, even if it is the turn of PLCA device 11 that enters the emergency transmission mode to execute the corresponding transmission opportunity 211, the transmission time executed by PLCA device 11 is also limited to a preset maximum transmission time (e.g., the above-mentioned maximum burst number), so that it may not be possible to completely transmit the packet corresponding to the emergency transmission mode.
[0022] In view of this, the present invention provides a method for emergency transmission in a PLCA network, which can be used to solve the above technical problems, as will be further described below.
[0023] Referring to Fig. 3, Fig. 3 is a flowchart of a method for performing emergency transmission in a PLCA network according to an embodiment of the present invention. In an embodiment of the present invention, the method of Fig. 3 may be performed by any of the PLCA devices 10 to 1N of Fig. 1. For ease of explanation, it is assumed that each step of Fig. 3 is performed by the PLCA device 10 below, and the details of each step of Fig. 3 will be described below in combination with the contents of Fig. 1.
[0024] First, in step S310, in response to determining that the PLCA device 10 has entered an emergency transmission mode, the controller 104 finds a first PLCA device in the PLCA network 100 that is performing a corresponding first packet transmission.
[0025] As described above, each PLCA device 10-1N can determine which PLCA device the current transmission opportunity corresponds to. Based on this, in one embodiment, the controller 104 can determine the current transmission opportunity and, accordingly, determine the first PLCA device that is currently performing the corresponding first packet transmission.
[0026] 2 as an example, assuming that controller 104 determines that the current transmission opportunity is transmission opportunity 211, controller 104 may determine that PLCA device 11 is the first PLCA device currently performing the corresponding first packet transmission. As another example, assuming that controller 104 determines that the current transmission opportunity is transmission opportunity 21N, controller 104 may determine, without limitation, that PLCA device 1N is the first PLCA device currently performing the corresponding first packet transmission.
[0027] Further, in the situation of FIG. 2, if the controller 104 determines that the current transmission opportunity is a transmission opportunity 210 belonging to the PLCA device 10, the controller 104 may determine, but is not limited to, that it is the turn of the PLCA device 10 to perform a packet transmission.
[0028] Next, in step S320, in response to determining that the first transmission priority of the first PLCA device is lower than the transmission priority of the PLCA device 10, the controller 104 stops the first packet transmission of the first PLCA device.
[0029] As described above, the transmission priority of each of the PLCA devices 10-1N can be expressed as the node number of each of the PLCA devices 10-1N, and the smaller the node number, the higher the transmission priority. Based on this, the controller 104 determines whether the first transmission priority of the first PLCA device is lower than the transmission priority of the PLCA device 10, for example, by determining whether the node number of the first PLCA device is higher than the node number of the PLCA device 10.
[0030] In the first embodiment, in response to determining that the node number of the first PLCA device is smaller than the node number of the PLCA device, the controller 104 can determine that the first transmission priority of the first PLCA device is higher than the transmission priority of the PLCA device 10. In this case, the controller 104 can, for example, but not limited to, wait for the first PLCA device to complete a first packet transmission.
[0031] In the second embodiment, in response to determining that the node number of the first PLCA device is greater than the node number of the PLCA device 10, the controller 104 can determine that the first transmission priority of the first PLCA device is lower than the transmission priority of the PLCA device 10. In this case, the controller 104 can stop the first packet transmission of the first PLCA device. In one embodiment, the controller 104 can, for example, control the communication circuit 102 to transmit an interference packet in the PLCA network 100 to stop the first packet transmission of the first PLCA device. In this case, the transmission opportunity corresponding to the first PLCA device can be ended earlier so that the next transmission opportunity can be started earlier. In this way, the effect of reducing the waiting time of the PLCA device 10 is obtained, and the PLCA device 10 can execute the corresponding transmission opportunity earlier.
[0032] Furthermore, after aborting the first packet transmission of the first PLCA device, the controller 104 may find one or more second PLCA devices from the PLCA network 100 that will perform a corresponding second packet transmission after the first PLCA device, and determine whether the second transmission priority of each second PLCA device is lower than the transmission priority of the PLCA device 10.
[0033] In one embodiment, in response to determining that the second transmission priority of each second PLCA device is lower than the transmission priority of PLCA device 10, controller 104 may discontinue second packet transmission corresponding to each second PLCA device.
[0034] For example, the controller 104 can transmit a corresponding interference packet within the PLCA network 100 by controlling the communication circuit 102 to stop transmitting the second packet corresponding to each second PLCA device when each second PLCA device is executing the corresponding second packet.
[0035] 2 as an example, assume that the controller 104 determines that the current transmission opportunity is the transmission opportunity 211 corresponding to the PLCA device 11. In this case, after the controller 104 determines that the transmission priority of the PLCA device 11 is lower than the transmission priority of the PLCA device 10, the controller 104 can control the communication circuit 102 to transmit an interference packet in the PLCA network 100 and stop the packet transmission of the PLCA device 11. In this way, the transmission opportunity 211 can be ended earlier and the transmission opportunity 212 can be started earlier, thereby making the transmission opportunity 210 come into order earlier, so that the PLCA device 10 can transmit an urgent packet corresponding to the urgent transmission mode.
[0036] Next, after controller 104 determines that the transmission priority of PLCA device 12 (i.e., the PLCA device that performs the corresponding packet transmission after PLCA device 11) is lower than the transmission priority of PLCA device 10, controller 104 can control communication circuit 102 to transmit an interfering packet into PLCA network 100 and abort the packet transmission of PLCA device 12. In this way, transmission opportunity 212 can end earlier and transmission opportunity 213 can start earlier.
[0037] Based on the above principle, the controller 104 can use the corresponding interference packet to stop the packet transmission of each PLCA device 13-1N when each PLCA device 13-1N executes the corresponding transmission opportunity 213-21N. In this way, the waiting time of the PLCA device 10 can be shortened, and the transmission opportunity 210 of the PLCA device 10 can be started earlier.
[0038] In step S330, in response to determining that it is the PLCA device 10's turn to perform the corresponding packet transmission (i.e., it is the turn of the transmission opportunity corresponding to the PLCA device 10), the controller 104 controls the communication circuit 102 to transmit an emergency packet corresponding to the emergency transmission mode.
[0039] In one embodiment, the PLCA device 10 can continuously transmit the urgent packets until all the urgent packets are transmitted. In other words, the total transmission time used by the PLCA device 10 to transmit the urgent packets may be greater than, but is not limited to, the preset maximum transmission time of the PLCA device 10.
[0040] In one embodiment, in response to determining that the packet transmission corresponding to the urgent packet is completed, the controller 104 can control the PLCA device 10 to terminate the urgent transmission mode. In this case, the PLCA device 10 can stop interrupting the packet transmission of other PLCA devices with the interfering packet, and can cause the PLCA devices 10-1N to operate based on a conventional PLCA mechanism, but is not limited thereto.
[0041] In order to facilitate understanding of the concept of the present invention, the following further describes with reference to Fig. 2 as an example. In the third embodiment, assuming that the PLCA device 12 enters an emergency transmission mode when the PLCA device 13 executes the transmission opportunity 213, the PLCA device 12 can abort packet transmission corresponding to at least one of the PLCA devices 13-1N (whose transmission priority is lower than that of the PLCA device 12) according to the above teaching, thereby shortening at least one of the transmission opportunities 213-21N.
[0042] Then, when the transmission opportunity 21N ends, the transmission opportunity 210 starts again. In this case, since the transmission priority of PLCA device 10 is higher than the transmission priority of PLCA device 13, PLCA device 13 will wait for PLCA device 10 to complete the corresponding packet transmission. That is, PLCA device 13 will not try to shorten the transmission opportunity 210, for example, by transmitting an interfering packet. Similarly, since the transmission priority of PLCA devices 11 and 12 is higher than the transmission priority of PLCA device 13, PLCA device 13 will wait for PLCA devices 11 and 12 to complete the corresponding packet transmission. That is, PLCA device 13 will not try to shorten the transmission opportunities 211 and 212, for example, by transmitting an interfering packet.
[0043] After the transmission opportunity 212 ends, the PLCA device 13 can transmit a required urgent packet at the corresponding transmission opportunity 213. According to the above teaching, since at least one of the transmission opportunities 213 to 21N is shortened, the transmission opportunity 213 can be started earlier, and the waiting time of the PLCA device 13 can be shortened.
[0044] In summary, the method provided by the embodiment of the present disclosure enables a PLCA device entering an emergency transmission mode to timely stop packet transmission of other PLCA devices having lower transmission priority, thereby achieving the effect of reducing waiting time.
[0045] The present invention has been described in detail above with reference to the embodiments, but these are not intended to limit the present invention. It should be understood that those skilled in the art can make changes and modifications without departing from the spirit and scope of the present disclosure. Therefore, the scope of protection of the present disclosure is defined by the following claims. [Industrial Applicability]
[0046] The physical layer collision avoidance device and the method for performing emergency transmission in a physical layer collision avoidance network of the present invention are suitable for enabling a PLCA device entering an emergency transmission mode to timely stop packet transmission of other PLCA devices with lower transmission priority, so that PLCA nodes with higher priority do not have to wait their turn to transmit data packets. [Explanation of symbols]
[0047] 100: PLCA network 10~1N: PLCA device 102: Communication circuit 104: Controller 210~21N: Transmission opportunities S310~S330: Process
Claims
1. A physical layer collision avoidance device belonging to a physical layer collision avoidance network, comprising: A communication circuit; connected to the communication circuit, locating a first physical layer collision avoidance device from the physical layer collision avoidance network that is performing a corresponding first packet transmission in response to determining that the physical layer collision avoidance device has entered an emergency transmission mode; suspending the first packet transmission of the first physical layer collision avoidance device in response to determining that a first transmission priority of the first physical layer collision avoidance device is lower than a transmission priority of the physical layer collision avoidance device; a controller configured to control the communication circuitry to transmit at least one emergency packet corresponding to the emergency transmission mode in response to determining that it is the physical layer collision avoidance device's turn to perform a corresponding packet transmission; Equipped with After the first physical layer collision avoidance device stops transmitting the first packet, The controller further comprises: Finding at least one second physical layer collision avoidance device from the physical layer collision avoidance network that performs a corresponding second packet transmission after the first physical layer collision avoidance device; a physical layer collision avoidance device configured to abort the second packet transmission corresponding to each of the second physical layer collision avoidance devices in response to determining that the second transmission priority of each of the second physical layer collision avoidance devices is lower than the transmission priority of the physical layer collision avoidance device.
2. the physical layer collision avoidance network comprises the physical layer collision avoidance device and at least one other physical layer collision avoidance device; The physical layer collision avoidance device of claim 1 , wherein the physical layer collision avoidance device and the at least one other physical layer collision avoidance device each perform a corresponding packet transmission in the physical layer collision avoidance network according to a corresponding transmission opportunity.
3. The controller:
3. The physical layer collision avoidance device of claim 2, configured to determine a current transmission opportunity and, accordingly, determine a first physical layer collision avoidance device currently performing the corresponding first packet transmission.
4. The controller:
4. The physical layer collision avoidance device of claim 3, configured to determine that it is the physical layer collision avoidance device's turn to perform the packet transmission in response to determining that the current transmission opportunity belongs to the physical layer collision avoidance device.
5. the physical layer collision avoidance device and the at least one other physical layer collision avoidance device each have a corresponding node number; The controller: in response to determining that the node number of the first physical layer collision avoidance device is greater than the node number of the physical layer collision avoidance device; determining that a first transmission priority of the first physical layer collision avoidance device is lower than the transmission priority of the physical layer collision avoidance device; in response to determining that the node number of the first physical layer collision avoidance device is less than the node number of the physical layer collision avoidance device; 3. The physical layer collision avoidance device of claim 2, configured to determine that a first transmission priority of the first physical layer collision avoidance device is higher than the transmission priority of the physical layer collision avoidance device.
6. The controller further comprises:
2. The physical layer collision avoidance device of claim 1, configured to wait for the first physical layer collision avoidance device to complete the first packet transmission in response to determining that a first transmission priority of the first physical layer collision avoidance device is lower than the transmission priority of the physical layer collision avoidance device.
7. The controller further comprises:
2. The physical layer collision avoidance device of claim 1, configured to stop the first packet transmission of the first physical layer collision avoidance device by controlling the communication circuitry to transmit an interfering packet into the physical layer collision avoidance network.
8. The controller:
2. The physical layer collision avoidance device of claim 1, configured to stop the second packet transmission corresponding to each of the second physical layer collision avoidance devices by controlling the communication circuit to transmit a corresponding interfering packet within the physical layer collision avoidance network when each of the second physical layer collision avoidance devices performs the corresponding second packet transmission.
9. The physical layer collision avoidance device according to claim 1 , wherein a sum of the transmission times of the at least one urgent packet is greater than a preset maximum transmission time of the physical layer collision avoidance device.
10. The controller further comprises:
2. The physical layer collision avoidance apparatus of claim 1, configured to terminate the emergency transmission mode in response to determining that the packet transmission corresponding to the at least one urgent packet is completed.
11. 1. A method for performing emergency transmission in a physical layer collision avoidance network suitable for a physical layer collision avoidance device, comprising: responsive to determining that the physical layer collision avoidance device has entered an emergency transmission mode, finding a first physical layer collision avoidance device from the physical layer collision avoidance network that is performing a corresponding first packet transmission; in response to determining that a first transmission priority of the first physical layer collision avoidance device is lower than a transmission priority of the physical layer collision avoidance device, ceasing the first packet transmission of the first physical layer collision avoidance device; transmitting at least one urgent packet corresponding to the urgent transmission mode in response to determining that it is the physical layer collision avoidance device's turn to perform a corresponding packet transmission; After canceling the first packet transmission of the first physical layer collision avoidance device, the method further comprises: finding at least one second physical layer collision avoidance device from the physical layer collision avoidance network that performs a corresponding second packet transmission after the first physical layer collision avoidance device; and canceling the second packet transmission corresponding to each of the second physical layer collision avoidance devices in response to determining that a second transmission priority of each of the second physical layer collision avoidance devices is lower than the transmission priority of the physical layer collision avoidance device.
Citation Information
Patent Citations
Shaping traffic on a PLCA-compliant 10SPE network
JP2021525473A
Method and apparatus for allocating priority transmission opportunities in vehicle network
US20200136857A1
Method and apparatus for allocating transmission opportunities in vehicle network
US20200136993A1
Method for Transmitting Data Packets, Controller and System Having a Controller
US20200322180A1
Method and Computer Program for Sending a Data Packet, Method and Computer Program for Receiving a Data Packet, Communication Unit and Motor Vehicle with Communication Unit
US20210144099A1