CN113346919A - Receiving device, receiving system and operation method - Google Patents
Receiving device, receiving system and operation method Download PDFInfo
- Publication number
- CN113346919A CN113346919A CN202010135594.2A CN202010135594A CN113346919A CN 113346919 A CN113346919 A CN 113346919A CN 202010135594 A CN202010135594 A CN 202010135594A CN 113346919 A CN113346919 A CN 113346919A
- Authority
- CN
- China
- Prior art keywords
- packet
- value
- receiving device
- layer circuit
- physical layer
- Prior art date
- Legal status (The legal status 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 status listed.)
- Granted
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04B—TRANSMISSION
- H04B1/00—Details of transmission systems, not covered by a single one of groups H04B3/00 - H04B13/00; Details of transmission systems not characterised by the medium used for transmission
- H04B1/06—Receivers
- H04B1/16—Circuits
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Communication Control (AREA)
- Mobile Radio Communication Systems (AREA)
Abstract
The disclosure relates to a receiving device, a receiving system and an operating method. A receiving apparatus is disclosed to receive a packet. The receiving device includes physical layer circuitry. The physical layer circuit is used for demodulating the packet to obtain at least one index related to the packet, and judging whether the packet is an abnormal packet according to the at least one index. If the packet is an abnormal packet, the physical layer circuit discards the packet.
Description
Technical Field
Embodiments described in the present disclosure relate to a discard packet technique, and more particularly, to a receiving apparatus, a receiving system and an operating method.
Background
With the development of technology, electronic devices have been applied to various fields. Data can be transmitted between two electronic devices by communication technology.
In some related art, when a receiving apparatus receives a packet, the packet is preprocessed by a physical layer (PHY) circuit in the receiving apparatus. The physical layer circuit then transfers the processed packet to a medium access control layer (MAC layer) circuit in the receiving device. Next, the mac layer circuit determines whether to execute a packet drop (packet drop) procedure. However, this will take more processing time.
Disclosure of Invention
Some embodiments in this disclosure relate to a receiving device. The receiving device is used for receiving the packet. The receiving device includes physical layer circuitry. The physical layer circuit is used for demodulating the packet to obtain at least one index related to the packet, and judging whether the packet is an abnormal packet according to the at least one index. If the packet is an abnormal packet, the physical layer circuit discards the packet.
Some embodiments in this disclosure relate to a receiving system. The receiving system comprises a first receiving device and a second receiving device. The first receiving device includes a first physical layer circuit. The second receiving device includes a second physical layer circuit. The first physical layer circuit is configured to receive and demodulate a packet from a transmitting device to obtain a first value related to at least one indicator of the packet. The second physical layer circuit is configured to receive and demodulate the packet to obtain a second value associated with at least one indicator of the packet. Based on the first value and the second value, the packet is determined whether it is an abnormal packet. If the packet is an abnormal packet, the first physical layer circuit and the second physical layer circuit discard the packet.
Some embodiments of the present disclosure relate to a method of operation. The operation method comprises the following steps: receiving a packet by a receiving device; demodulating, by a physical layer circuit of a receiving device, a packet to obtain at least one indicator associated with the packet; judging whether the packet is an abnormal packet or not by the physical layer circuit according to at least one index; and discarding the packet by the physical layer circuit if the packet is an abnormal packet.
In summary, the receiving apparatus, the receiving system and the operating method of the present disclosure can discard the abnormal packet by using the physical layer circuit, so as to save the processing time.
Drawings
In order to make the aforementioned and other objects, features, advantages and embodiments of the disclosure more comprehensible, the following figures illustrate:
fig. 1 is a schematic diagram of a communication system according to some embodiments of the present disclosure;
fig. 2 is a schematic diagram illustrating processing stages of a receiving device according to some embodiments of the disclosure;
FIG. 3 is a schematic diagram of stages in FIG. 2 according to some embodiments of the present disclosure; and
fig. 4 is a flow chart of an operation method according to some embodiments of the disclosure.
Detailed Description
The term "coupled", as used herein, may also mean "electrically coupled", and the term "connected", as used herein, may also mean "electrically connected". "coupled" and "connected" may also mean that two or more elements co-operate or interact with each other.
Refer to fig. 1. Fig. 1 is a schematic diagram of a communication system 100 according to some embodiments of the present disclosure. As illustrated in fig. 1, the communication system 100 includes a transmitting device 120, a receiving device 140, and a receiving device 160. In some embodiments, the transmitting device 120 may perform data transmission with the receiving device 140 and the receiving device 160 through a communication technology. The communication technology is, for example, a wired communication technology or a wireless communication technology. The Wireless communication technology is, for example, Wireless Fidelity (WIFI), but the disclosure is not limited thereto.
The number of transmitting devices or the number of receiving devices in fig. 1 is merely an example, and various suitable numbers are within the scope of the present disclosure.
The following description will take the receiving apparatus 140 as an example. In operation, the transmitting device 120 may transmit a packet to the receiving device 140 to transmit data to the receiving device 140. However, the data transfer process may suffer from interference, causing packet distortion.
In some related art techniques, when a receiving device receives a packet, the packet is pre-processed by physical layer circuitry in the receiving device. The physical layer circuitry passes the processed packet to medium access control layer circuitry in the receiving device. Next, the mac layer circuit determines whether to perform a packet discarding procedure. When the packet is discarded, the receiving device will not perform any further processing on the packet. However, this will take more processing time.
In contrast to the related arts described above, in the present disclosure, when the receiving device 140 receives a packet from the transmitting device 120, the PHY1 of the receiving device 140 can determine whether to discard the packet. If PHY1 determines to discard the packet, PHY1 performs a packet discarding procedure so that PHY1 does not need to continue to spend time demodulating the packet to process the next packet. In some embodiments, the receiving device 160 may also have similar operations. That is, when the receiving device 160 receives a packet from the transmitting device 120, the PHY2 of the receiving device 160 may also determine whether to discard the packet. If PHY2 determines to discard the packet, PHY2 may perform a packet discard procedure. Since the packet discarding procedure can be performed earlier in the processing stage of the phy layer circuit (without waiting for the processing stage of the mac layer circuit), the receiving device 140 (or 160) can be prevented from consuming too much time to process the packet distorted due to interference.
Refer to fig. 2. Fig. 2 is a schematic diagram illustrating processing stages of the receiving device 140 according to some embodiments of the disclosure. The receiving device 160 has similar operations, and therefore, the description thereof is omitted. Referring to the example of FIG. 2, the process of determining whether to discard a packet includes an idle stage 210, an initialization stage 220, a monitoring stage 230, a determining operation 240, and a discard stage 250.
The operation of these stages will be described below. Reference is also made to fig. 1-3. Fig. 3 is a schematic diagram of stages in fig. 2 according to some embodiments of the disclosure.
For the example of FIG. 3, FIG. 3 includes time points T1-T8. The transmitting device 120 sequentially sends out the packet PK1 and the packet PK 2. The packet PK1 includes a header (header) H1 and a payload (payload) PL 1. Similarly, packet PK2 includes header H2 and payload PL 2. The number of groupings in fig. 3 is merely an example, and various suitable numbers are within the scope of the present disclosure.
When the receiving device 140 has not received any packets, the receiving device 140 is in the idle phase 210. In some embodiments, when the receiving device 140 is idle, the related hardware may be in an off state to save power consumption.
When the receiving device 140 receives the packet PK1, the receiving device 140 performs a Clear Channel Assessment (CCA) procedure on the packet PK 1. After the packet PK1 passes through the clear channel assessment procedure, the receiving device 140 goes from the idle stage 210 to the initialization stage 220. In the initial stage 220, the physical layer circuit PHY1 demodulates the packet PK1 to obtain metrics related to the packet PK 1. The indicators are, for example, the signal strength of the packet PK1, the carrier frequency offset, the signal-to-noise ratio, the Barker code sum, the error vector magnitude or the guard interval (guard interval). The types of the above-described indices are merely examples, and various indices are within the scope of the present disclosure. For example, the physical layer circuit PHY1 may demodulate the header H1 of the packet PK1 to obtain a first value of the signal strength of the packet PK1 corresponding to time point T1.
During the monitoring phase 230, the physical layer circuit PHY1 continues to demodulate the packet PK1 to obtain a second value for the signal strength of the packet PK1 corresponding to time point T2.
In the determining operation 240, the PHY1 determines whether the packet PK1 is an abnormal packet according to the index. For example, the PHY1 calculates a difference between the second value and the first value, and compares the difference with a first threshold (e.g., a signal strength threshold) to determine whether the packet PK1 is an abnormal packet. For example, if the difference is equal to or less than the first threshold, the PHY1 determines the packet PK1 to be a normal packet and returns to the monitoring stage 230. Conversely, if the difference is greater than the first threshold, the PHY1 determines the packet PK1 to be an abnormal packet, and then enters the discard stage 250.
In the discard packets phase 250, the PHY1 discards the packet PK1 and stops performing the clear channel assessment procedure. The receiving device 140 then returns to the idle stage 210 and waits for the next successful receipt of the packet (e.g., packet PK 2). Stated another way, if the variation of the signal strength values corresponding to different time points is too large, the representative packet PK1 may be interfered and distorted, so the PHY1 discards the packet PK1 and does not continue to process the packet, thereby saving processing time. If the variation of the signal strength values corresponding to different time points is small, the representative packet PK1 is not distorted or distorted to a small extent, so that the demodulation of the packet PK1 can be continued.
In some embodiments, the physical layer circuit PHY1 may continuously and periodically monitor this indicator for the packet PK 1. For example, if the PHY1 determines that the PK1 packet is a normal packet, the PHY1 will continue to demodulate the PK1 packet to obtain a third value corresponding to the time T3. Next, the PHY1 calculates a difference between the third value and the second value, and compares the difference with the first threshold to determine whether the packet PK1 is still a normal packet. Similarly, if the difference is greater than the first threshold, the PHY1 determines the packet PK1 to be an abnormal packet and discards the packet PK1 in the discard packet stage 250. If the difference is equal to or smaller than the first threshold, the PHY1 determines that the packet PK1 is still a normal packet.
In some other embodiments, the PHY1 further calculates a difference between the third value and the first value, and compares the difference with a second threshold to determine whether the packet PK1 is still a normal packet. That is, in these embodiments, the difference between the subsequently obtained value and the first value is used to determine whether the packet PK1 is still a normal packet, and the threshold is gradually adjusted. In some embodiments, the second threshold is greater than the first threshold. For example, after determining that the difference between the first value and the second value is equal to or smaller than the first threshold, if the difference between the third value and the first value is larger than the second threshold, the PHY1 determines that the packet PK1 is an abnormal packet and discards the packet PK1 in the discarding step 250. On the contrary, if the difference between the third value and the first value is equal to or smaller than the second threshold, the PHY1 determines that the packet PK1 is still a normal packet.
The packet PK2 and the associated time points T5-T8 have similar operations and will not be described herein.
Reference is again made to fig. 1. The receiving device 140 and the receiving device 160 may form a receiving system and respectively receive the same packet from the transmitting device 120. In some embodiments, the receiving device 140 and the receiving device 160 may be antennas, respectively. The physical layer circuit PHY1 of the receiving device 140 may demodulate the packet to obtain a first value of an indicator associated with the packet. The PHY2 of the receiving device 160 may also demodulate the packet to obtain a second value for the indicator associated with the packet. Based on the first value and the second value, it is possible to determine whether the packet is an abnormal packet. That is, in these embodiments, the index difference between different receiving devices (e.g., different antennas) is used to determine whether the packet is a normal packet. For example, if the difference between the first value and the second value is greater than a third threshold value, the packet is determined to be an abnormal packet.
In some other embodiments, if the first value or the second value is lower than the fourth threshold value, the packet is determined to be an abnormal packet. For example, if the signal strength value (first value) obtained by the PHY1 is almost zero, it indicates that the transmission process of the packet may be greatly interfered, and thus the packet is determined to be an abnormal packet. In this case, the PHY1 and the PHY2 would discard the packet.
Refer to fig. 4. Fig. 4 is a flow chart of an operating method 400 according to some embodiments of the disclosure. The operation method 400 includes operations S410, S420, S430 and S440.
In some embodiments, the operation method 400 is applied to the communication system 100 of fig. 1, but the disclosure is not limited thereto. For ease of understanding, the method 400 will be discussed in conjunction with the communication system 100 of fig. 1 and fig. 3.
In operation S410, the packet PK1 is received by the receiving device 140. In some embodiments, the packet PK1 includes a header H1 and a payload PL 1.
In operation S420, the packet PK1 is demodulated by the physical layer circuit PHY1 of the receiving device 140 to obtain at least one index related to the packet PK 1. In some embodiments, the physical layer circuit PHY1 may demodulate the portion of the header H1 of the packet PK1 to obtain a signal strength value for the packet PK1 corresponding to point in time T1.
In operation S430, the PHY1 determines whether the packet PK1 is an abnormal packet according to the indicator. In some cases, the transmission process of the packet PK1 may suffer from interference causing distortion of the packet PK 1. In some embodiments, the physical layer circuit PHY1 may use the values of the indicators corresponding to different points in time to determine whether the characteristics of the packet PK1 have changed greatly.
In operation S440, if the packet PK1 is an abnormal packet, the physical layer circuit PHY1 discards the packet PK1 to avoid the receiving device 140 consuming too much time to process the distorted packet.
The operations of the method 400 are exemplary only and need not be performed in the order shown. The various operations of the method 400 may be suitably added, substituted, omitted, or performed in a different order without departing from the manner and scope of operation of various embodiments of the present disclosure.
In summary, the receiving apparatus, the receiving system and the operating method of the present disclosure can discard the abnormal packet by using the physical layer circuit, so as to save the processing time.
Various functional components and blocks have been disclosed herein. It will be apparent to those of ordinary skill in the art that functional blocks may be implemented by circuits (whether dedicated circuits or general purpose circuits that operate under the control of one or more processors and coded instructions), which generally comprise transistors or other circuit elements that control the operation of the electrical circuits in accordance with the functions and operations described herein. As will be further appreciated, the specific structure and interconnections of circuit elements in general may be determined by a compiler, such as a Register Transfer Language (RTL) compiler. A register transfer language compiler operates on scripts (scripts) that are fairly similar to assembly language code (assembly language code) and compiles the scripts into a form for layout or fabrication of the final circuit. Indeed, register transfer languages are known for their role and purpose in facilitating the design process of electronic and digital systems.
Although the present disclosure has been described with reference to the above embodiments, it is not intended to limit the present disclosure, and various changes and modifications may be made by one of ordinary skill in the art without departing from the spirit and scope of the present disclosure, so that the scope of the present disclosure is to be determined by the appended claims.
Claims (10)
1. A receiving device for receiving a packet, wherein the receiving device comprises:
the physical layer circuit is used for demodulating the packet to obtain at least one index related to the packet, judging whether the packet is an abnormal packet or not according to the at least one index, and if the packet is the abnormal packet, the physical layer circuit discards the packet.
2. The receiving device as recited in claim 1, wherein the physical layer circuit is further configured to demodulate the packet at a first time to obtain a first value of the at least one indicator, obtain a second value of the at least one indicator at a second time, calculate a first difference between the second value and the first value, and compare the first difference with a first threshold to determine whether the packet is an abnormal packet.
3. The receiving device as claimed in claim 2, wherein the physical layer circuit determines the packet to be an abnormal packet if the first difference is greater than the first threshold, and wherein the physical layer circuit determines the packet to be a normal packet if the first difference is equal to or less than the first threshold.
4. The receiving device as recited in claim 2, wherein if the phy layer circuit determines that the packet is a normal packet, the phy layer circuit is further configured to obtain a third value of the at least one indicator at a third time, calculate a second difference between the third value and the second value, and compare the second difference with the first threshold to determine whether the packet is still a normal packet.
5. The receiving device as recited in claim 4, wherein the physical layer circuit determines the packet to be an abnormal packet if the second difference is greater than the first threshold, wherein the physical layer circuit determines the packet to be still a normal packet if the second difference is equal to or less than the first threshold.
6. The receiving device as claimed in claim 2, wherein if the PHY circuit determines that the packet is a normal packet, the PHY circuit is further configured to obtain a third value of the at least one indicator at a third time, calculate a second difference between the third value and the first value, and compare the second difference with a second threshold to determine whether the packet is still a normal packet.
7. A receiving system, comprising:
a first receiving device comprising a first physical layer circuit for receiving and demodulating a packet from a transmitting device to obtain a first value related to at least one indicator of the packet; and
a second receiving device comprising a second physical layer circuit for receiving and demodulating the packet to obtain a second value associated with the at least one indicator of the packet,
wherein the packet is determined whether to be an abnormal packet based on the first value and the second value, wherein the first phy layer circuit and the second phy layer circuit discard the packet if the packet is an abnormal packet.
8. The receiving system of claim 7 wherein the packet is determined to be an abnormal packet if the difference between the first value and the second value is greater than a threshold value.
9. The receiving system of claim 7 wherein the packet is determined to be an abnormal packet if the first value or the second value is below a threshold value.
10. An operating method, comprising:
receiving a packet by a receiving device;
demodulating, by a physical layer circuit of the receiving device, the packet to obtain at least one indicator associated with the packet;
determining whether the packet is an abnormal packet according to the at least one indicator by the physical layer circuit; and
if the packet is an abnormal packet, discarding the packet by the physical layer circuit.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010135594.2A CN113346919B (en) | 2020-03-02 | 2020-03-02 | Receiving device, receiving system and operation method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010135594.2A CN113346919B (en) | 2020-03-02 | 2020-03-02 | Receiving device, receiving system and operation method |
Publications (2)
Publication Number | Publication Date |
---|---|
CN113346919A true CN113346919A (en) | 2021-09-03 |
CN113346919B CN113346919B (en) | 2022-10-04 |
Family
ID=77467209
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202010135594.2A Active CN113346919B (en) | 2020-03-02 | 2020-03-02 | Receiving device, receiving system and operation method |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN113346919B (en) |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20030206559A1 (en) * | 2000-04-07 | 2003-11-06 | Trachewsky Jason Alexander | Method of determining a start of a transmitted frame in a frame-based communications network |
CN101635631A (en) * | 2008-01-18 | 2010-01-27 | 瑞昱半导体股份有限公司 | Power-saving network apparatus and method thereof |
CN101807967A (en) * | 2009-02-13 | 2010-08-18 | 瑞昱半导体股份有限公司 | Remote control method for physical layer and relevant physical layer device thereof |
CN105323778A (en) * | 2014-06-23 | 2016-02-10 | 瑞昱半导体股份有限公司 | Wireless communication apparatus and method |
-
2020
- 2020-03-02 CN CN202010135594.2A patent/CN113346919B/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20030206559A1 (en) * | 2000-04-07 | 2003-11-06 | Trachewsky Jason Alexander | Method of determining a start of a transmitted frame in a frame-based communications network |
CN101635631A (en) * | 2008-01-18 | 2010-01-27 | 瑞昱半导体股份有限公司 | Power-saving network apparatus and method thereof |
CN101807967A (en) * | 2009-02-13 | 2010-08-18 | 瑞昱半导体股份有限公司 | Remote control method for physical layer and relevant physical layer device thereof |
CN105323778A (en) * | 2014-06-23 | 2016-02-10 | 瑞昱半导体股份有限公司 | Wireless communication apparatus and method |
Also Published As
Publication number | Publication date |
---|---|
CN113346919B (en) | 2022-10-04 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US7062703B1 (en) | Early detection of false start-of-packet triggers in a wireless network node | |
CN102263615B (en) | Communication Device And Method | |
EP2991236B1 (en) | Multiple-input multiple-output orthogonal frequency-division multiplexing communication system and signal compensation method | |
US20110038441A1 (en) | Transmission mode detection | |
US8837640B2 (en) | Multiple protocol receiver | |
CN106804044B (en) | Communication fault detection method and device and radio remote unit | |
US9197467B2 (en) | Multiple protocol receiver | |
US20230387969A1 (en) | Enhancement of range and throughput for multi-antenna wireless communications devices | |
CN111726138A (en) | Radio frequency circuit and electronic device | |
CN113346919B (en) | Receiving device, receiving system and operation method | |
CN113452472B (en) | Packet detection method and system for wireless signals | |
TWI736146B (en) | Receiver device, receiver system, and operation method | |
CN114884626B (en) | PSFCH signal detection method and device, storage medium and electronic device | |
CN103428721A (en) | Method and device for processing random access signal | |
US6016567A (en) | Radio broadcast system with improved reception of an NAK code | |
CN109541329A (en) | A kind of antenna test method and device, antenna measurement equipment and storage medium | |
JP4860569B2 (en) | Wireless communication terminal and wireless communication method | |
JP4869203B2 (en) | Wireless communication device | |
EP4178314A1 (en) | Response frame replying method and apparatus, and access point system | |
JP7181694B2 (en) | COMMUNICATION DEVICE, COMMUNICATION DEVICE CONTROL METHOD, AND PROGRAM | |
CN112737651B (en) | Multiple-input multiple-output receiver and electronic device for Wi-Fi | |
US20060034271A1 (en) | Packet detection system and method for packet-based wireless receivers having multiple receive chains | |
US20220248258A1 (en) | Eht release 2 device indication | |
JP6811417B2 (en) | Receiver and program | |
TWI517611B (en) | Cooperative communication system and relay misbehavior detection method thereof |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |