Packet receiving system and packet receiving method

By splitting the working time of the receiving device and configuring the working time of the communication device, the problem that the devices in the communication system cannot work simultaneously is solved, and the rotational work and reception accuracy are improved, and the efficiency of the packet receiving system is improved.

CN113973338BActive Publication Date: 2024-11-26REALTEK SEMICON CORP
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202010716275.0
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2020-07-23
Publication Date
2024-11-26
Estimated Expiration
2040-07-23

AI Technical Summary

Technical Problem

In the communication system, multiple devices cannot operate simultaneously, resulting in the receiving device waiting for a long time, affecting the packet reception efficiency and accuracy.

Method used

By splitting the working time of the receiving device into a plurality of first working hours and configuring the second working time of the communication device in these time gaps, ensuring that the receiving device and the communication device work in turn, shortening the waiting time of the communication device and improving the correct reception Rate.

Benefits of technology

The rotational operation of the receiving device and the communication device is realized, the waiting time of the communication device is shortened, the long waiting state of the communication device is avoided, and the reception accuracy of the receiving device is ensured, thereby improving the operation efficiency of the packet receiving system.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN113973338B_ABST
    Figure CN113973338B_ABST
Patent Text Reader

Abstract

A packet receiving system includes a transmitting device, a receiving device and a communication device. The transmitting device is used to periodically transmit a plurality of packets according to a packet interval. The receiving device performs a receiving operation on the plurality of packets at a plurality of first working times. The sum of the lengths of the plurality of first working times corresponds to the length of the packet interval. The communication device performs a receiving operation or a transmitting operation at a plurality of second working times. The length of each of the plurality of second working times corresponds to the length of the packet interval. Each of the plurality of second working times is arranged between two of the plurality of first working times.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to a packet receiving system and a packet receiving method, and in particular, to a packet receiving system and a packet receiving method with better operation efficiency. Background Art

[0002] Generally speaking, a transmitting device in a communication system can transmit packets to a receiving device in the communication system via a specific communication technology.

[0003] Under certain restrictions, multiple devices in a communication system cannot work simultaneously (e.g., sharing hardware). If one device takes a long time to perform a receiving task, other devices will be kept in a waiting state. Summary of the invention

[0004] Some embodiments of the present invention application are related to a packet receiving system. The packet receiving system includes a transmitting device, a receiving device and a communication device. The transmitting device is used to periodically transmit multiple packets according to the packet interval. The receiving device performs a receiving operation on the multiple packets at multiple first working times. The sum of the lengths of the multiple first working times corresponds to the length of the packet interval. The communication device performs a receiving operation or a transmitting operation at multiple second working times. The length of each of the multiple second working times corresponds to the length of the packet interval. Each of the multiple second working times is configured between two of the multiple first working times.

[0005] Some embodiments of the present invention are related to a packet receiving method. The packet receiving method includes: transmitting a plurality of packets periodically according to a packet interval by a transmitting device; performing a receiving operation on the plurality of packets at a plurality of first working times by a receiving device, wherein the sum of the lengths of the plurality of first working times corresponds to the length of the packet interval; and performing a receiving operation or a transmitting operation at a plurality of second working times by a communication device, wherein each of the lengths of the plurality of second working times corresponds to the length of the packet interval. Each of the plurality of second working times is configured between two of the plurality of first working times.

[0006] In summary, the packet receiving system and packet receiving method of the present invention can make the receiving device and the communication device work in turn and shorten the waiting time of the communication device to avoid the communication device being in a waiting state all the time and ensure the receiving accuracy of the receiving device. Therefore, the operating efficiency of the packet receiving system can be improved. BRIEF DESCRIPTION OF THE DRAWINGS

[0007] In order to make the above and other purposes, features, advantages and embodiments of the present invention more clearly understood, the following description is made in conjunction with all the accompanying drawings:

[0008] Figure 1 is a schematic diagram of a packet receiving system according to some embodiments of the present invention;

[0009] Figure 2 is a schematic diagram of the working sequence according to some embodiments of the present invention;

[0010] Figure 3 is a schematic diagram of the working sequence according to some embodiments of the present invention;

[0011] Figure 4 It is illustrated according to some embodiments of the present invention. Figure 3 Equivalent schematic diagram of working timing;

[0012] Figure 5 is a flow chart of a packet receiving method according to some embodiments of the present invention; and

[0013] Figure 6 It is illustrated according to some embodiments of the present invention. Figure 5 A detailed flowchart of some operations in the packet receiving method.

[0014] Explanation of symbols:

[0015] In order to make the above and other objects, features, advantages and embodiments of the present invention more clearly understood, the attached symbols are explained as follows:

[0016] 100: Packet receiving system

[0017] 500: Packet receiving method

[0018] TX1: Transmitter

[0019] RX1: Receiver

[0020] D2: Communication device

[0021] PK1, PK2: Packet

[0022] PT: Packet Time

[0023] T1: Original working time

[0024] T1': Total working time

[0025] T11, T12, T13: First working time

[0026] T2: Second working time

[0027] T3: The third working time

[0028] DT: Guard Time

[0029] S510, S520, S530, S610, S620, S630, S640, S650, S660, S670: Operation DETAILED DESCRIPTION

[0030] The following will disclose multiple embodiments of the present invention with the accompanying drawings. It should be understood that the practical details should not be used to limit the present invention. In other words, in some embodiments of the present invention, these practical details are not necessary. In addition, for the sake of simplicity, some well-known and commonly used structures and components will be depicted in a simple schematic manner in the drawings.

[0031] As used herein, the term “coupled” may refer to “electrically coupled”, and the term “connected” may refer to “electrically connected.” “Coupled” and “connected” may refer to two or more components cooperating or interacting with each other.

[0032] refer to Figure 1 . Figure 1 FIG. 1 is a schematic diagram of a packet receiving system 100 according to some embodiments of the present invention. Figure 1 For example, the packet receiving system 100 includes a transmitting device TX1, a transmitting device TX2, a receiving device RX1, and a communication device D2. The communication device D2 can be a transmitting device, a receiving device, or a transceiver device.

[0033] The transmitting device TX1 can transmit multiple packets PK1 to the receiving device RX1. The communication device D2 can transmit or receive multiple packets PK2. The packet format of the packet PK1 may be different from the packet format of the packet PK2. For example, the transmitting device TX1 may be an electronic device using wireless compatible authentication (Wi-Fi) technology, used to transmit the packet PK1 that complies with the wireless compatible authentication technology. Correspondingly, the receiving device RX1 may be an electronic device using wireless compatible authentication technology, used to receive the packet PK1 that complies with the wireless compatible authentication technology. The communication device D2 may be an electronic device using Bluetooth, used to transmit or receive the packet PK2 that complies with the Bluetooth technology. However, the present application is not limited to the above-mentioned devices and packet formats.

[0034] refer to Figure 1 as well as Figure 2 . Figure 2 FIG. 1 is a schematic diagram of a working sequence according to some embodiments of the present invention. Figure 2For example, the transmitting device TX1 periodically transmits a plurality of packets PK1 at a packet interval PT. In some embodiments, the length of the original working time T1 of the receiving device RX1 may be set equal to the length of the packet interval PT. In some other embodiments, the length of the original working time T1 of the receiving device RX1 may be set greater than the length of the packet interval PT to better ensure that the receiving device RX1 correctly receives the plurality of periodically transmitted packets PK1 (i.e., the working time of the receiving device RX1 is made greater than the packet interval PT to increase the probability of receiving at least one of two adjacent packets PK1).

[0035] Next, the original working time T1 is split into a plurality of first working times T11-T13. In some embodiments, the lengths of the first working times T11-T13 are all equal. In some other embodiments, the lengths of the first working times T11-T13 are not all equal.

[0036] In an embodiment where the length of the original working time T1 is equal to the length of the packet interval PT, if the length of the packet interval PT is M seconds and the length of the original working time T1 is divided into N lengths of the first working time, the lengths of the N first working time are equal to the ratio of M to N, where N is a positive integer greater than 1. In an embodiment where the length of the original working time T1 is greater than the length of the packet interval PT, if the length of the packet interval PT is M seconds and the length of the working time T1 is divided into N lengths of the first working time, the lengths of the N first working time are greater than the ratio of M to N.

[0037] Next, a second working time T2 is configured between the first working time T11 and the first working time T12, and another second working time T2 of the same length is configured between the first working time T12 and the first working time T13. In some embodiments, the length of each of the first working times T11-T13 is shorter than the length of the second working time T2.

[0038] In some application scenarios, the receiving device RX1 and the communication device D2 cannot perform work at the same time. For example, if the receiving device RX1 and the communication device D2 share the same antenna (for example, in the above embodiment, the Wi-Fi device and the Bluetooth device in the mobile phone may share the same antenna), only one of the receiving device RX1 and the communication device D2 can perform work at the same time. Figure 2In the example of FIG. 1 , the receiving device RX1 may perform a receiving operation during the first working time T11-T13 to attempt to receive the packet PK1 from the transmitting device TX1. The communication device D2 may perform a receiving operation or a transmitting operation during the plurality of second working times T2 to attempt to receive or transmit the packet PK2. That is, the receiving device RX1 and the communication device D2 take turns to perform the operation using the same antenna. In some embodiments, the length of the second working time T2 of the communication device D2 may be set to be equal to the length of the packet interval PT.

[0039] In some related technologies, the priority of the receiving device RX1 and the communication device D2 is determined based on pre-set rules. If the priority of the receiving device RX1 is higher than the priority of the communication device D2, the receiving device RX1 will first perform the reception work on the packet PK1 from the transmitting device TX1. At this time, if the number of packets PK1 in the air is large, the priority setting will cause the communication device D2 to be unable to receive or transmit the packet PK2 for a long time. Similarly, in the case where the receiving device RX1 and the communication device D2 share a radio frequency device, when the receiving device RX1 uses the radio frequency device, the communication device D2 cannot make a request to perform a reception work or a transmission work.

[0040] In some other related technologies, the original working time T1 of the receiving device RX1 is not divided into multiple working times (multiple first working times). That is, the receiving device RX1 is divided into multiple working times (multiple first working times) during the complete original working time T1 (such as Figure 2 The packet PK1 from the transmitting device TX1 is received within the length of the original working time T1 before the split shown in FIG. 1 , and then the communication device D2 receives or transmits the packet PK2 (in the case of FIG. 1 ). Figure 2 In these related technologies, the communication device D2 needs to wait for a long time (need to wait for the original working time T1) before performing the receiving task or the transmitting task. However, if the length of the original working time T1 of the receiving device RX1 is set to be less than the length of the packet interval PT in order to avoid the communication device D2 from waiting too long, it may cause the receiving device RX1 to be unable to correctly receive the packet PK1 from the transmitting device TX1 (that is, the receiving device RX1 may miss two adjacent packets PK1 in succession).

[0041] Compared to the above-mentioned related art, the packet receiving system 100 of the present invention divides the length of the complete working time T1 of the receiving device RX1 for receiving the periodic packet PK1 into the lengths of multiple first working times T11-T13, which can shorten the waiting time of other communication devices D2 to avoid a longer time consumption of the communication device D2. In addition, since the sum of the lengths of the first working times T11-T13 is equal to or greater than the length of the packet interval PT, it can still be ensured that the receiving device RX1 can correctly receive the packet PK1 from the transmitting device TX1. Furthermore, the influence of the receiving device RX1 on the communication device D2 can be reduced.

[0042] refer to Figure 3 . Figure 3 FIG. 1 is a schematic diagram of a working sequence according to some embodiments of the present invention. Figure 3 For example, in some cases, the packet PK1 sent by the transmitting device TX1 may be delayed. In order to prevent the receiving device RX1 from being unable to correctly receive the delayed packet PK1, the first segmented working time after the receiving device RX1 is split can be adjusted to the length of the first working time T11 plus the length of the protection time DT, the second segmented working time after the receiving device RX1 is split can be adjusted to the length of the first working time T12 plus the length of the protection time DT, and the third segmented working time after the receiving device RX1 is split can be adjusted to the length of the first working time T13 plus the length of the protection time DT (i.e., a buffer length is added to each working time).

[0043] Accordingly, the working time of the communication device D2 is adjusted to the second working time T2 (the length of the packet interval PT) minus the length of the protection time DT. In other words, the working time of the communication device D2 is less than the packet interval PT. Figure 2 For example, Figure 3 The length of each working time segment of the receiving device RX1 increases, while the length of each working time segment of the communication device D2 decreases.

[0044] refer to Figure 4 . Figure 4 It is illustrated according to some embodiments of the present invention. Figure 3 The equivalent working sequence diagram of Figure 3 , the sum of the length of the first working time T11 plus the length of the protection time DT is set as the length of the third working time T3, the sum of the length of the first working time T12 plus the length of the protection time DT is set as the length of the third working time T3, and so on to N first working times. Therefore, if the lengths of all first working times (for example: T11, T12) are equal to t1, the following formula (1) can be obtained:

[0045] T1^'=N×(t1+DT)=N×T3...(1)

[0046] T1' is the total working time length of the receiving device RX1 after the protection time DT is introduced.

[0047] Reference again Figure 3 as well as Figure 4 . Taking the packet PK1 and the receiving device RX1 complying with the wireless compatible authentication technology as an example, the packet PK1 may be a beacon packet. The beacon packet is a periodic packet, and its packet interval PT is 102.4 milliseconds. If the length of the packet interval PT, 102.4 milliseconds, is divided into three equal parts (N is equal to 3). The length of the first working time T11, the length of the first working time T12, or the length of the first working time T13 is equal to the ratio of the length of the packet interval PT (102.4 milliseconds) to three (34.1 milliseconds). If the length of the protection time DT is 2.4 milliseconds, the length of the third working time T3 is the sum of the length of the first working time T11, the length of the first working time T12, or the length of the first working time T13 (34.1 milliseconds) and the length of the protection time DT (2.4 milliseconds) (36.5 milliseconds). For the convenience of calculation, the third working time T3 is taken as an integer length, and the length of the third working time T3 after taking the integer is 37 milliseconds. Therefore, Figure 3 The length of the second working time T2 of the communication device D2 is the difference (100 milliseconds) between the length of the packet interval PT (102.4 milliseconds) and the length of the protection time DT (2.4 milliseconds).

[0048] Based on the above formula (1), the total working time T1' of the receiving device RX1 introducing the protection time DT is equal to 106.2 milliseconds. Since 106.2 milliseconds is greater than 102.4 milliseconds, it can cover two adjacent packets PK1, so the receiving success rate of the receiving device RX1 can be improved.

[0049] Based on the above, after the receiving device RX1 performs the receiving work for 37 milliseconds, the communication device D2 performs the receiving work or the transmitting work for 100 milliseconds. Therefore, the working time length of the communication device D2 accounts for 73% (ie, 100 / (100+37)).

[0050] refer to Figure 5 . Figure 5 is a flow chart of a packet receiving method 500 according to some embodiments of the present invention. The packet receiving method 500 includes operations S510, S520, and S530. In some embodiments, the packet receiving method 500 is applied to Figure 1 In the packet receiving system 100.

[0051] In operation S510, a plurality of packets PK1 are periodically transmitted by the transmitting device TX1 according to a packet interval PT.

[0052] In operation S520, the receiving device RX1 performs a receiving operation on the plurality of packets PK1 at a plurality of first working times T11-T13. In some embodiments, the sum of the lengths of the plurality of first working times T11-T13 is equal to the length of the packet interval PT. In some other embodiments, the sum of the lengths of the plurality of first working times T11-T13 is greater than the length of the packet interval PT, so as to better ensure that the receiving device RX1 correctly receives the plurality of periodically transmitted packets PK1.

[0053] In operation S530, the communication device D2 performs a receiving operation or a transmitting operation at a plurality of second working times T2. In some embodiments, the length of each of the plurality of second working times T2 is equal to the length of the packet interval PT, and the communication device D2 performs a receiving operation or a transmitting operation on the plurality of packets PK2 at the plurality of second working times T2.

[0054] refer to Figure 6 . Figure 6 It is illustrated according to some embodiments of the present invention. Figure 5 Detailed flowchart of operations S520 and S530 in the packet receiving method 500. Figure 5 Operation S520 in may correspond to Figure 6 Operation S610, operation S620, operation S630 and operation S640 in Figure 5 Operation S530 in may correspond to Figure 6 Operation S650, operation S660 and operation S670 in.

[0055] In operation S610, parameters are set. In some embodiments, the length of the total working time T1', the parameter N, the length of the protection time DT, and the length of the third working time T3 in the above formula (1) can be set according to the actual application scenario. For example, the length of the total working time T1', the number of segments (N) into which the total working time T1' is evenly divided, and the protection time DT is a positive number (increasing the length) or a negative number (reducing the length) can be set.

[0056] In operation S620, the receiving device RX1 issues a receiving request. For example, the receiving device RX1 issues a receiving request to receive the periodic packet PK1.

[0057] In operation S630, the receiving device RX1 is configured to perform a receiving operation. For example, the receiving device RX1 is configured to receive the packet PK1.

[0058] In operation S640, the receiving device RX1 performs the receiving operation of the first working time. For example, if the length of the working time T1 is divided into the length of the first working time T11, the length of the first working time T12, and the length of the first working time T13, the receiving operation corresponding to the first working time T11 is performed first. It should be understood that the number of divisions of the working time T1 or whether to "evenly" divide it can be set according to the actual application scenario.

[0059] In operation S650, the communication device D2 is configured to perform a receiving task or a transmitting task. For example, the communication device D2 is configured to receive or transmit the packet PK2.

[0060] In operation S660, the working time of the communication device D2 is waited. Figure 3 In the embodiment of the present invention, the length of the working time of the communication device D2 is the length of the packet interval PT minus the length of the protection time DT, but the present invention is not limited thereto. Other applicable values ​​are within the scope of the present invention. For example, the length of the working time of the communication device D2 can be K times the length of the packet interval PT minus the length of the protection time DT.

[0061] In operation S670, it is determined whether all the receiving tasks of the first working time T11-T13 of the receiving device RX1 have been completed. For example, if the receiving task of the first working time T11 has been completed but the receiving task of the first working time T12 has not been completed, the process returns to operation S640 to perform the receiving task of the first working time T12. This process is repeated in this way until all the receiving tasks of the first working time T11-T13 have been completed.

[0062] In summary, the packet receiving system and packet receiving method of the present invention can make the receiving device and the communication device work in turn and shorten the waiting time of the communication device to avoid the communication device being in a waiting state all the time and ensure the receiving accuracy of the receiving device. Therefore, the operating efficiency of the packet receiving system can be improved.

[0063] Various functional components and modules have been disclosed herein. For those of ordinary skill in the art, a functional module may be implemented by circuits (whether dedicated circuits or general purpose circuits operating under the control of one or more processors and coded instructions), which generally include transistors or other circuit components for controlling the operation of electrical circuits corresponding to the functions and operations described herein. It is further understood that the specific structure and interconnection of circuit components in general may be determined by a compiler, such as a Register Transfer Language (RTL) compiler. The Register Transfer Language compiler operates on a script that is quite similar to assembly language code, compiling the script into a form that is used to layout or fabricate the final circuit.

[0064] Although the implementation methods of the present invention have been disclosed above, they are not intended to limit the present invention. Any ordinary technician in the field can make various modifications and adjustments without departing from the spirit and scope of the present invention. Therefore, the scope of protection of the present invention should be based on the scope of protection defined in the claims.

Claims

1. A packet receiving system, characterized in that: The packet receiving system comprises: A transmitting device for periodically transmitting a plurality of packets according to a packet interval; A receiving device, performing a receiving operation on the plurality of packets at a plurality of first working times, wherein the sum of the lengths of the plurality of first working times is greater than or equal to the length of the packet interval; as well as The communication device performs a receiving task or a transmitting task at a plurality of second working times, wherein the length of each of the plurality of second working times corresponds to the length of the packet interval, wherein each of the plurality of second working times is arranged between two of the plurality of first working times, The sum of one of the multiple first working times and a protection time is a third working time, the receiving device performs a receiving operation on the multiple packets during the third working time, each of the second working times is configured between two of the third working times, and the length of each of the second working times is less than the length of the packet interval.

2. The packet receiving system as claimed in claim 1, wherein the length of the packet interval is M seconds, the receiving device performs the receiving work in N first working times, and the length of the N first working times is greater than the ratio of M to N, wherein N is a positive integer greater than 1.

3. The packet receiving system as claimed in claim 1, wherein: The length of the packet interval is M seconds, and the receiving device performs the receiving work in N first working times. The length of the N first working times is equal to the ratio of M to N, where N is a positive integer greater than 1.

4. The packet receiving system as claimed in claim 1, wherein: The length of each of the second working times is equal to the length of the packet interval.

5. The packet receiving system as claimed in claim 1, wherein: A length of one of the plurality of first operating times is smaller than a length of one of the plurality of second operating times.

6. The packet receiving system as claimed in claim 1, wherein: The receiving device adopts wireless compatible authentication technology, and the communication device adopts Bluetooth technology.

7. A packet receiving method, characterized in that: The packet receiving method comprises: Periodically transmitting a plurality of packets according to a packet interval by a transmitting device; Performing a receiving operation on the plurality of packets at a plurality of first working times by a receiving device, wherein the sum of the lengths of the plurality of first working times is greater than or equal to the length of the packet interval; as well as performing a receiving task or a transmitting task at a plurality of second working times by a communication device, wherein the length of each of the plurality of second working times corresponds to the length of the packet interval, Each of the plurality of second working times is arranged between two of the plurality of first working times, The sum of one of the multiple first working times and a protection time is a third working time, the receiving device performs a receiving operation on the multiple packets during the third working time, each of the second working times is configured between two of the third working times, and the length of each of the second working times is less than the length of the packet interval.