A method and system for wirelessly transmitting and receiving information

By combining the preamble wake-up and reception slots and adjusting the reception cycle of the first terminal, the problem of excessive power consumption of the first terminal caused by frequent reception of gateway transmission is solved, and lower power consumption and faster response time are achieved.

CN118632330BActive Publication Date: 2025-03-11HUAQING KESHENG (BEIJING) INFORMATION TECH CO LTD
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
CN202410637446.9
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-05-22
Publication Date
2025-03-11
Estimated Expiration
2044-05-22

AI Technical Summary

Technical Problem

In the prior art, the first terminal is subject to excessive power consumption due to frequent reception of gateway transmission information.

Method used

By combining the preamble wake-up and reception slots under the premise of time synchronization between the gateway and the first terminal, the reception period of the first terminal is adjusted to adapt to the response time required by different service.

Benefits of technology

The power consumption of the first terminal is reduced, the response time is improved, and the working mode of the first terminal is flexibly controlled by adjusting the reception cycle.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118632330B_ABST
    Figure CN118632330B_ABST
Patent Text Reader

Abstract

The present invention relates to the field of communication technology, and in particular to a method and system for wirelessly transmitting and receiving information. A method for wirelessly transmitting and receiving information of the present invention comprises: in response to time synchronization between a first terminal and a first gateway, the first terminal turns on an information receiving mode after a first time period; the first gateway sends a preamble code of a second time length after the first time; the information receiving mode includes a first receiving period and a second receiving period; in response to the first terminal receiving the preamble code in the first receiving period, the first terminal receives the first information sent by the first gateway in the second receiving period. The problem of how the first terminal can receive information sent by the gateway with low power consumption is solved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of communication technology, and in particular to a method and system for wirelessly transmitting and receiving information. Background Art

[0002] There are two contradictory points in the wireless data reception of the battery-powered first terminal. One is that the receiving speed is required to be as fast as possible to quickly respond to user services and give the user the next operation instructions within the specified time. The other is that the power consumption of the first terminal should be as low as possible to extend the battery working time, so that the battery-powered first terminal has better economic benefits and avoids frequent battery replacement. The above two points are usually difficult to meet at the same time. Faster response usually requires more frequent reception frequency. High-frequency reception will lead to an increase in the average receiving current, so it is difficult to meet both at the same time.

[0003] The class B working mode under the LoraWan protocol requires the support of the backend cloud server, and the gateway needs to synchronize with GPS to complete the time synchronization. The wireless wake-up technology WOR wakes up the first terminal wirelessly to send data, and the receiving end regularly monitors whether the air preamble Preamble reaches the receiving strength. If it reaches, it indicates that there is wireless data sending, and the first terminal is ready to receive. If the specified strength is not detected, the reception is turned off, and it enters sleep and waits for the next receiving cycle.

[0004] The response time of the wireless first terminal is related to the frequency of the first terminal monitoring the preamble code. When the monitoring frequency is high, the corresponding response time is fast. For example, if the preamble code is monitored once every 200ms, the first terminal can achieve a definite response time of about 200ms. However, the disadvantages of using only the WOR function are: 1. The preamble code transmission time is long; 2. The wireless channel utilization rate is low, and the downlink concurrency is low; 3. The average time for the first terminal to receive information is long, resulting in high receiving current.

[0005] LoraWan's Class B time synchronization requires GPS to maintain high-precision time. The gateway needs to be installed outdoors to complete the time synchronization, and the back-end LoraWan server is required to complete the management of the first terminal. The configuration is complex, the cost is high, and it is not suitable for indoor work. Only Lora technology-specific chips can be used. At the same time, the LoraWan gateway has fewer downlink channels, which limits the concurrency of downlink data. Summary of the invention

[0006] In view of this, one of the technical problems solved by the embodiments of the present invention is to provide a method and system for wirelessly transmitting and receiving information, so as to overcome the problem in the prior art that the power consumption of the first terminal is too high due to frequent reception of information sent by the gateway.

[0007] The first aspect of the embodiment of the present application discloses a method for wirelessly transmitting and receiving information, comprising:

[0008] In response to the first terminal being time synchronized with the first gateway, the first terminal turning on an information receiving mode after a first time period;

[0009] The first gateway sends a preamble code of a second time length after the first time;

[0010] The information receiving mode includes a first receiving period and a second receiving period;

[0011] In response to the first terminal receiving the preamble code in the first receiving time period, the first terminal receives the first information sent by the first gateway in the second receiving time period.

[0012] In some embodiments, the first terminal actively requests time synchronization from the first gateway after a third time period.

[0013] In some embodiments, the first time period is 30*2 N ms, N∈[0,11].

[0014] In some embodiments, the second time length is twice the error time between the first gateway and the first terminal.

[0015] In some embodiments, the first reception period is used to receive the preamble.

[0016] In some embodiments, the second receiving period is used to receive valid data sent by the first gateway.

[0017] In some embodiments, the method further comprises:

[0018] The first terminal does not send or receive data in a fourth time period before the first terminal turns on the information receiving mode and in a fifth time period after the first terminal turns on the information receiving mode.

[0019] In some embodiments, the method further comprises:

[0020] In response to the first terminal and at least one other first terminal starting the information receiving mode at the same time, the first terminal performs a time delay of a sixth time length after starting the information receiving mode after the first time period.

[0021] In some embodiments, the method further comprises:

[0022] In response to the first terminal and at least one other first terminal starting the information receiving mode at the same time, the first terminal performs a time delay of a sixth time length after starting the information receiving mode after the first time period.

[0023] In some embodiments, the third time period is 64 seconds.

[0024] In some embodiments, the fourth time period is 100 ms.

[0025] In some embodiments, the fifth time period is 120 ms.

[0026] In some embodiments, the sixth time length is obtained according to an AES encryption algorithm.

[0027] A second aspect of an embodiment of the present application discloses a wireless information transceiver system, the system comprising:

[0028] A gateway module, which is used for clock synchronization and data transmission and reception;

[0029] A first terminal module, the first terminal module comprising at least one first terminal;

[0030] A control module, wherein the control module is configured to implement the method described in the first aspect.

[0031] The present invention has the following advantages: it solves the problem of excessive power consumption of the first terminal caused by frequent reception of information sent by the gateway. Under the premise of time synchronization between the gateway and the first terminal, efficient wireless reception is completed by combining the preamble code wake-up and the receiving slot. The receiving cycle of the first terminal can be adjusted to adapt to the response time required by different services. Increasing the receiving cycle can further reduce the power consumption of the first terminal, and reducing the receiving cycle can increase the response time of the first terminal. By adjusting this parameter, the working mode of the first terminal can be flexibly controlled. BRIEF DESCRIPTION OF THE DRAWINGS

[0032] Figure 1 The present invention is a flowchart of a method for wirelessly sending and receiving information. DETAILED DESCRIPTION

[0033] The present disclosure will now be discussed with reference to several exemplary embodiments. It should be understood that these embodiments are discussed only to enable those skilled in the art to better understand and thus implement the present disclosure, rather than implying any limitation on the scope of the present disclosure.

[0034] As used herein, the term "including" and its variants are to be interpreted as open-ended terms meaning "including but not limited to". The term "based on" is to be interpreted as "based at least in part on". The terms "one embodiment" and "an embodiment" are to be interpreted as "at least one embodiment". The term "another embodiment" is to be interpreted as "at least one other embodiment". The orientation or position relationship indicated by the terms "upper", "lower", "left", "right", "front", "back", "top", "bottom", "inner", "outer", "vertical", "horizontal", "lateral", "longitudinal" and the like is based on the orientation or position relationship shown in the accompanying drawings. These terms are mainly for better describing the present application and its embodiments, and are not used to limit the indicated devices, elements or components to have a specific orientation, or to be constructed and operated in a specific orientation. In addition, in addition to being used to indicate an orientation or position relationship, some of the above terms may also be used to indicate other meanings, such as the term "upper" may also be used to indicate a certain dependency or connection relationship in some cases. For those of ordinary skill in the art, the specific meanings of these terms in this application can be understood according to the specific circumstances. In addition, the terms "install", "set", "provided with", "connected" and "connected" should be understood in a broad sense. For example, it can be a fixed connection, a detachable connection, or an integral structure; it can be a mechanical connection, or an electrical connection; it can be directly connected, or indirectly connected through an intermediate medium, or it can be an internal connection between two devices, elements or components. For those of ordinary skill in the art, the specific meanings of the above terms in this application can be understood according to the specific circumstances. In addition, the terms "first", "second", etc. are mainly used to distinguish different devices, elements or components (the specific types and structures may be the same or different), and are not used to indicate or imply the relative importance and quantity of the indicated devices, elements or components. Unless otherwise specified, "plurality" means two or more.

[0035] The present application discloses a method for wirelessly transmitting and receiving information, including:

[0036] In response to the first terminal being time synchronized with the first gateway, the first terminal turning on an information receiving mode after a first time period;

[0037] The first gateway sends a preamble code of a second time length after the first time;

[0038] The information receiving mode includes a first receiving period and a second receiving period;

[0039] In response to the first terminal receiving the preamble code in the first receiving time period, the first terminal receives the first information sent by the first gateway in the second receiving time period.

[0040] In an embodiment of the present invention, the first terminal and the gateway periodically synchronize beacon information (beacon information is the first information: information sent by the gateway at regular intervals, used for time synchronization or synchronization of network information). The information contains the gateway time. After the wireless first terminal receives the time, it synchronizes its own clock. After the clocks of the two are synchronized, the gateway and the first terminal calculate the receiving time of the first terminal according to the same algorithm. At the obtained receiving time, the gateway sends data to it at regular intervals. The first terminal opens the reception in a specific time slot, and the time slot consists of a first receiving period and a second receiving period. The two have a precise time correspondence, and do not need a very long preamble to wake up the first terminal. At the same time, the first terminal does not need to open the reception detection preamble at a high frequency. The receiving cycle of the first terminal is determined according to the response time required by the service.

[0041] The gateway time uses a high-precision RTC (real-time clock, providing accurate time for the system) clock, and regularly synchronizes time with the NTP (network time protocol, used to synchronize time between the client and the server) server in the LAN, ensuring that the time deviation of multiple gateways in the same LAN remains within a small range. The gateway does not use GPS synchronization, so the gateway can work indoors, expanding the scope of use of the first terminal and making it suitable for indoor work. At the same time, the synchronization and network access management of the first terminal are completed on the gateway side, which simplifies the work on the server side, makes its configuration and installation easier, and reduces the cost of implementation.

[0042] When the gateway sends data to the first terminal, it no longer needs to send a long preamble to wake up the first terminal. It only needs to send a preamble with a length slightly larger than the clock deviation of the first terminal. The preamble is shortened from hundreds of ms to about 10ms. The shortened preamble time improves the utilization rate of the wireless channel and increases the number of first terminals that can be downlinked per unit time. For example, if the first terminal originally receives data once every 200ms, the gateway preamble length should be slightly longer than 200ms, so that the first terminal will not miss the preamble. At this time, each downlink data will use at least 200ms, and a maximum of 5 data will be sent in one second. In addition, in the process of sending the preamble, all first terminals that detect the preamble will enter the receiving state, which greatly increases the overall power consumption. After adopting the predefined receiving slots, each first terminal works in its specific receiving slot. Each slot is 30ms wide. 33 slots can be used for data transmission by the first terminal within 1 second. The maximum number of downlink first terminals can be 33, which is 6 times the original downlink number. At the same time, when sending data, irrelevant first terminals will not wake up and enter the receiving state, which reduces the irrelevant wake-up time of all first terminals and saves power consumption.

[0043] In some embodiments, the first terminal actively requests time synchronization from the first gateway after a third time period.

[0044] In an embodiment of the present invention, when the first terminal fails to receive beacon, the first terminal cannot synchronize to the latest time. The first terminal will actively request time synchronization from the gateway. When the gateway receives the time synchronization request command, it sends its time to the first terminal. The first terminal adjusts its receiving slot time according to the received time, thereby avoiding the increase of clock error causing beacon reception failure and the problem that the receiving time cannot be synchronized with the gateway again.

[0045] In some embodiments, the first time period is 30*2Nms, N∈[0,11].

[0046] In an embodiment of the present invention, the receiving period of the first terminal determines the response time of the first terminal. When the receiving period (i.e., the first time period) is 960ms, each first terminal receives once every 32 slots, so that it can respond to business needs within 1 second. When the receiving period is adjusted to 30ms, that is, each slot can receive, the response time of the first terminal can reach 30ms. The setting of this parameter enables the first terminal to dynamically adjust the receiving time and balance the business response time requirements and low power consumption.

[0047] In some embodiments, the second time length is twice the error time between the first gateway and the first terminal.

[0048] In the embodiment of the present invention, the system time of the gateway and the first terminal will deviate after running for a period of time. This deviation may cause the gateway to send data at a time difference from the receiving opening time of the first terminal. Therefore, the preamble length of the gateway to send data shall be based on the operating time error between the gateway and the first terminal. When the error between the two is 5ms, the preamble length shall be greater than or equal to 2*5ms=10ms to cover the faster or slower time deviation between the two.

[0049] In some embodiments, the first reception period is used to receive the preamble.

[0050] In the embodiment of the present invention, the role of the preamble is as follows: when the first terminal receives data, it will detect whether there is a preamble information being sent. If it is detected that there is a preamble data being sent, the first terminal will open the reception to receive the data. If there is no preamble data, the reception will be closed immediately to save system power consumption. The gateway sends the preamble before sending the data. The sending time of the preamble is 1 / 2 of the preamble sending time in advance, so that the middle position of the preamble corresponds to the receiving detection window point of the first terminal. Ideal receiving position: the ideal receiving position when there is no time deviation between the gateway and the first terminal. Maximum deviation receivable position: when the time deviation between the first terminal and the gateway exceeds this value, the first terminal will not be able to correctly receive the maximum value position of the information.

[0051] In some embodiments, the second receiving period is used to receive valid data sent by the first gateway.

[0052] In some embodiments, the method further comprises:

[0053] The first terminal does not send or receive data in a fourth time period before the first terminal turns on the information receiving mode and in a fifth time period after the first terminal turns on the information receiving mode.

[0054] In some embodiments, the fourth time period is 100 ms.

[0055] In some embodiments, the fifth time period is 120 ms.

[0056] In the embodiment of the present invention, the fourth time period and the fifth time period are reserved to ensure the correct delivery of beacons, and no data is sent or received during this time period. No data is sent during the fourth time period and the fifth time period to prevent it from affecting the sending of beacon information. At the same time, this time period cannot be too long. If the time period is too long, the real-time nature of data transmission is affected. The time period of 120ms after beacon transmission and 100ms before transmission is selected to ensure real-time nature without affecting the data flow of the business.

[0057] In some embodiments, the method further comprises:

[0058] In response to the first terminal and at least one other first terminal starting the information receiving mode at the same time, the first terminal performs a time delay of a sixth time length after starting the information receiving mode after the first time period.

[0059] In some embodiments, the method further comprises:

[0060] In response to the first terminal and at least one other first terminal starting the information receiving mode at the same time, the first terminal performs a time delay of a sixth time length after starting the information receiving mode after the first time period.

[0061] In some embodiments, the sixth time length is obtained according to an AES encryption algorithm.

[0062] In an embodiment of the present invention, after the beacon is received, the first terminal adjusts its own time according to the receiving time. After adjusting the time, it prepares to receive information regularly. If multiple first terminals use the same time slot to receive data, the receiving time windows will overlap each time. In order to reduce the problem that multiple first terminals always use the same time slot for reception, a delay time is added. The delay time uses the AES encryption algorithm to calculate the encryption result using the current time and the device address, and the calculated result is used for time offset. The gateway and the first terminal perform this calculation at the same time. In this way, the overlapping first terminals will have different offset times after the next beacon reception is successful, which can stagger the overlapping problem of their receiving windows. Adding this random delay can avoid the problem of multiple first terminals always overlapping.

[0063] In some embodiments, the third time period is 64 seconds.

[0064] In an embodiment of the present invention, the beacon synchronization time of the gateway is 64s, and the preamble code length can be selected to be 5-10ms according to the working accuracy of the timer of the first terminal. The preamble code length should be able to meet the time deviation within the beacon period of the first terminal. For example, if the timer deviation of the first terminal within 64S is +5ms, the preamble code length should be greater than 5ms, so that when the preamble code is sent, the first terminal can detect it when detecting the wireless signal.

[0065] Another embodiment of the present invention discloses a wireless information transceiver system, the system comprising:

[0066] A gateway module, which is used for clock synchronization and data transmission and reception;

[0067] A first terminal module, the first terminal module comprising at least one first terminal;

[0068] A control device, wherein the control device is configured to implement the above-mentioned method for wirelessly sending and receiving information.

[0069] The beneficial effects of the present invention are: solving the problem of excessive power consumption of the first terminal caused by frequent reception of information sent by the gateway. Under the premise of time synchronization between the gateway and the first terminal, efficient wireless reception is achieved by combining the preamble code wake-up and the receiving slot. The receiving cycle of the first terminal can be adjusted to adapt to the response time required by different services. Increasing the receiving cycle can further reduce the power consumption of the first terminal, and reducing the receiving cycle can increase the response time of the first terminal. By adjusting this parameter, the working mode of the first terminal can be flexibly controlled.

[0070] The above description is only a preferred embodiment of the present application and an explanation of the technical principles used. Those skilled in the art should understand that the scope of the invention involved in the present application is not limited to the technical solution formed by a specific combination of the above technical features, but should also cover other technical solutions formed by any combination of the above technical features or their equivalent features without departing from the inventive concept. For example, the above features are replaced with the technical features with similar functions disclosed in this application (but not limited to) by each other.

[0071] It should be understood that the size of the sequence number of each step in the content of the invention and the embodiments of the present invention does not absolutely mean the order of execution, and the execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of the present invention. For the purpose of example and description, the above description of the implementation of the present disclosure has been given. The above description is not exhaustive and is not intended to limit the present disclosure to the exact form disclosed. According to the above teachings, there may be various deformations and modifications, or various deformations and modifications may be obtained from the practice of the present disclosure. These embodiments are selected and described to illustrate the principles of the present disclosure and its practical application, so that those skilled in the art can use the present disclosure in various embodiments and various modifications for the specific purpose suitable for the conception. It can be understood by those of ordinary skill in the art that the above-mentioned embodiments are specific cases for implementing the present disclosure, and in practical applications, various changes can be made to them in form and detail without departing from the spirit and scope of the present disclosure.

Claims

1. A method for wirelessly transmitting and receiving information, characterized in that: The method comprises: In response to the first terminal being time synchronized with the first gateway, the first terminal turning on an information receiving mode after a first time period; The first gateway then sends a preamble code of a second time length after the first time; The information receiving mode includes a first receiving period and a second receiving period; In response to the first terminal receiving the preamble code in the first receiving time period, the first terminal receives first information sent by the first gateway in the second receiving time period; The second time length is twice the error time between the first gateway and the first terminal; The first terminal does not send or receive data in a fourth time period before the first terminal turns on the information receiving mode and in a fifth time period after the first terminal turns on the information receiving mode; In response to the first terminal and at least one other first terminal starting the information receiving mode at the same time, the first terminal performs a time delay of a sixth time length after starting the information receiving mode after the first time period.

2. The method according to claim 1, characterized in that The method further comprises: After a third time period, the first terminal actively requests the first gateway for time synchronization.

3. The method according to claim 1, characterized in that The first time period is 30*2 N ms, N∈[0,11].

4. The method according to claim 1, characterized in that The second receiving period is used to receive valid data sent by the first gateway.

5. The method according to claim 2, characterized in that The third time period is 64 seconds.

6. The method according to claim 1, characterized in that The fourth time period is 100 ms.

7. The method according to claim 1, characterized in that The fifth time period is 120 ms.

8. The method according to claim 1, characterized in that The sixth time length is obtained according to the AES encryption algorithm.

9. A wireless information transceiver system, characterized in that: The system comprises: A gateway module, which is used for clock synchronization and data transmission and reception; A first terminal module, the first terminal module comprising at least one first terminal; A control module, wherein the control module is configured to implement the method according to any one of claims 1 to 8.

Citation Information

Patent Citations

  • Communication system based on LoRa technology, gateway, terminal and communication method

    CN110312299A