A method and apparatus for communication based on ad hoc wireless devices

CN116801361BActive Publication Date: 2026-09-08CHENGDU ACTION ELECTRONICS JOINT STOCK
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202310801539.6
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-07-03
Publication Date
2026-09-08
Estimated Expiration
2043-07-03

AI Technical Summary

Technical Problem

[0002]但是传统的电池无线设备为了提升产品使用寿命,把产品的唤醒间隔时间设置的较长,这样虽然降低了产品的功耗,但是牺牲了通讯响应的实时性

Benefits of technology

[0025] This application discloses a communication method and apparatus for ad hoc wireless devices. The method includes: continuously transmitting data frames through a transmitter; cyclically detecting the presence of a preamble at a receiver according to a wake-up cycle; determining whether data needs to be received based on the preamble; and entering a low-power sleep state if no preamble is detected. If a preamble is detected, receiving data frames; and entering a low-power sleep state after receiving the data frames, waiting for the echo time to elapse before echoing the data frames. By detecting the preamble, the power consumption of the device during normal operation is greatly reduced. By adding an echo time parameter to the data frames, the power consumption during communication is significantly reduced, resulting in a substantial increase in the device's lifespan and meeting the requirements of reliability in ultra-low power scenarios.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116801361B_ABST
    Figure CN116801361B_ABST
Patent Text Reader

Abstract

The application discloses a kind of communication method and device based on self-organizing network wireless device, the method comprises: by sending end continuous sending data frame, by receiving end according to wake-up cycle cyclic detection whether there is preamble, by preamble judging whether there is data to be received currently, if no preamble is detected, enter low-power sleep state.If preamble is detected, receive data frame, after receiving data frame, enter low-power sleep state, wait for the time after code back and carry out code back.By the way of detecting preamble, the power consumption of device during normal work is greatly reduced, by increasing the way of code back time parameter in data frame, the power consumption consumed during communication is greatly reduced, so that the service life of device is greatly improved, meet the characteristics of reliability under ultra-low power consumption scene.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of data communication technology, and more specifically, to a communication method and apparatus based on ad hoc wireless devices. Background Technology

[0002] However, traditional battery-powered wireless devices, in order to extend product lifespan, set relatively long wake-up intervals. While this reduces power consumption, it sacrifices real-time communication response. This fails to meet the needs of applications with short response time requirements, such as devices linked to alarms, where the linked device needs to act within seconds of an alarm. It's impossible to balance product lifespan and real-time communication; either the communication response time is too long, or the product lifespan is too short. How to improve product lifespan while maintaining a short communication response time has become one of the many problems that those skilled in the art need to solve. Summary of the Invention

[0003] The purpose of this application is to overcome the shortcomings of existing technologies and provide a communication method and apparatus for self-organizing wireless devices. By detecting the preamble, the power consumption of the device during normal operation is greatly reduced. By adding a return code time parameter to the data frame, the power consumption during communication is greatly reduced, thus significantly extending the lifespan of the device. It also meets the requirements of reliability in ultra-low power consumption scenarios.

[0004] The objective of this application is achieved through the following technical solution:

[0005] In a first aspect, this application proposes a communication method based on ad hoc wireless devices, the method comprising:

[0006] The sending end continuously transmits data frames, and the data frames include the return code time of the receiving end;

[0007] The receiving end cyclically checks for a preamble according to the wake-up cycle. The preamble is used to indicate whether there is data to be received.

[0008] If the preamble is not detected, the system enters a low-power sleep state.

[0009] If the preamble is detected, the data frame is received, and after receiving the data frame, the system enters a low-power sleep state and waits for the return code time to pass before returning the code.

[0010] In one possible implementation, the duration for which the sending end transmits the information frame is longer than the wake-up period of the receiving end.

[0011] In one possible implementation, the receiver is pre-set with a preamble detection period, which represents the interval between preamble detections by the receiver.

[0012] In one possible implementation, the receiver is further preset with a time required to detect the preamble, the time required to detect the preamble representing the duration of the receiver's detection of the preamble.

[0013] In one possible implementation, the receiving end is pre-set with a wake-up duration, which represents the time it takes for the sending end to send one data frame.

[0014] In one possible implementation, the preamble detection period is shorter than the time required to detect the preamble.

[0015] In one possible implementation, the steps prior to continuously transmitting data frames via the sending end further include:

[0016] The radio frequency parameters and communication frame format of the transmitting end and the receiving end are configured in advance. The data frame also includes a preamble, application data and a check bit.

[0017] Secondly, this application proposes a communication device based on an ad hoc wireless network, the device comprising:

[0018] A sending module is used to continuously send data frames through a sending end, wherein the data frames include the response time of the receiving end;

[0019] The detection module is used to cyclically detect whether there is a preamble by the receiving end according to the wake-up cycle. The preamble is used to indicate whether there is data to be received.

[0020] A sleep module is used to enter a low-power sleep state if the preamble is not detected.

[0021] The receiving module is configured to receive the data frame if the preamble is detected, and after receiving the data frame, enter a low-power sleep state and wait for the return code time to pass before returning the code.

[0022] Thirdly, this application also proposes a computer device comprising a processor and a memory, wherein the memory stores a computer program, which is loaded and executed by the processor to implement the communication method based on an ad hoc wireless device as described in any of the first aspects.

[0023] Fourthly, this application also proposes a computer-readable storage medium storing a computer program that is loaded and executed by a processor to implement the communication method based on an ad hoc wireless device as described in any of the first aspects.

[0024] The main solution and its various further alternatives described above can be freely combined to form multiple solutions, all of which are solutions that can be adopted and are claimed in this application; furthermore, the (non-conflicting alternatives) can also be freely combined with each other and with other alternatives. Those skilled in the art, after understanding the solution of this application, will realize from the prior art and common general knowledge that there are many combinations, all of which are technical solutions to be protected by this application, and will not be exhaustively listed here.

[0025] This application discloses a communication method and apparatus for ad hoc wireless devices. The method includes: continuously transmitting data frames through a transmitter; cyclically detecting the presence of a preamble at a receiver according to a wake-up cycle; determining whether data needs to be received based on the preamble; and entering a low-power sleep state if no preamble is detected. If a preamble is detected, receiving data frames; and entering a low-power sleep state after receiving the data frames, waiting for the echo time to elapse before echoing the data frames. By detecting the preamble, the power consumption of the device during normal operation is greatly reduced. By adding an echo time parameter to the data frames, the power consumption during communication is significantly reduced, resulting in a substantial increase in the device's lifespan and meeting the requirements of reliability in ultra-low power scenarios. Attached Figure Description

[0026] Figure 1 A flowchart illustrating the communication method based on ad hoc wireless devices proposed in this application is shown.

[0027] Figure 2 A schematic diagram of the periodic wake-up proposed in an embodiment of this application is shown.

[0028] Figure 3 A schematic diagram of the wake-up period periodic detection preamble proposed in an embodiment of this application is shown. Detailed Implementation

[0029] The following specific examples illustrate the implementation of this application. Those skilled in the art can easily understand other advantages and effects of this application from the content disclosed in this specification. This application can also be implemented or applied through other different specific embodiments, and various details in this specification can also be modified or changed based on different viewpoints and applications without departing from the spirit of this application. It should be noted that, unless otherwise specified, the following embodiments and features in the embodiments can be combined with each other.

[0030] Based on the embodiments in this application, all other embodiments obtained by those skilled in the art without inventive effort are within the scope of protection of this application.

[0031] In existing technologies, traditional battery-powered wireless devices often have long wake-up intervals to extend product lifespan. While this reduces power consumption, it sacrifices real-time communication response. This fails to meet the needs of applications with short response time requirements, such as devices linked to alarms, where the linked device needs to act within seconds of an alarm. It's impossible to balance product lifespan and real-time communication; either the communication response time is too long, or the product lifespan is too short. How to improve product lifespan while maintaining a short communication response time has become one of the many problems that those skilled in the art need to solve.

[0032] Therefore, to address the challenge of extending product lifespan while maintaining short communication response times in battery-powered wireless device applications—that is, reducing power consumption and avoiding the inconvenience of frequent battery replacements throughout the product's lifespan—this application proposes a communication method and apparatus for ad hoc wireless devices. By detecting preambles, the power consumption during normal operation is significantly reduced. Furthermore, by adding a response time parameter to the data frame, power consumption during communication is greatly reduced, resulting in a substantial increase in device lifespan. This method also achieves reliability in ultra-low power consumption scenarios, which will be described in detail below.

[0033] Please refer to Figure 1 , Figure 1 A flowchart illustrating a communication method based on an ad hoc wireless network according to an embodiment of this application is shown. The communication method includes the following steps:

[0034] S100: Continuously send data frames through the sending end.

[0035] S200: The receiving end continuously checks for a preamble according to the wake-up cycle.

[0036] If no preamble is detected, the S300 enters a low-power sleep state.

[0037] S400: If a preamble is detected, a data frame is received. After receiving the data frame, the system enters a low-power sleep state and waits for the code return time to complete the code return.

[0038] The data frame includes the receiver's response time. The preamble indicates whether data needs to be received. The receiver can use low-power devices to reduce power consumption. When data needs to be sent, the transmitter repeatedly sends the data frame continuously. The receiver checks for a preamble in the air according to a wake-up cycle. If no preamble is detected, it immediately enters sleep mode. If a preamble is detected, it receives the complete data frame. After receiving the data frame, it also enters sleep mode, waking up after the response time to complete the response.

[0039] Since the battery-powered wireless device, including the receiver and transmitter of this application, does not require communication most of the time during the entire communication process, the receiver only consumes significant power when detecting the preamble and receiving data frames. The power consumption of periodically detecting the preamble accounts for a large portion of the device's power consumption. Furthermore, the power consumption of detecting a single preamble is far lower than the power consumption of directly detecting the entire data frame. Therefore, the embodiments of this application can greatly reduce the power consumption of the battery-powered wireless device during normal operation, thereby extending the device's lifespan.

[0040] When the sending end repeatedly sends the information frame to be sent in a continuous and uninterrupted manner, the duration of the transmission must be slightly longer than the wake-up period of the receiving device.

[0041] Optionally, before the sending end continuously transmits data frames, it also includes:

[0042] The radio frequency parameters and communication frame format of the transmitting and receiving ends are configured in advance. The data frame also includes a preamble, application data, and a check bit.

[0043] After pre-configuring the radio frequency parameters and communication frame format, this application also proposes another possible implementation method, which consists of the following steps:

[0044] Step S1: Configure the various cycles of the receiver, including the wake-up cycle T1, wake-up duration T2, preamble detection cycle T3, and preamble detection time T4. The wake-up cycle T1 indicates how often the receiver wakes up; for example, if the receiver wakes up every 5 seconds, T1 = 5 seconds. The wake-up duration T2 indicates the transmission time of one data frame by the transmitter; for example, if the transmitter takes 4.8 ms to send one data frame, then T2 = 4.8 ms. The preamble detection cycle T3 indicates the interval at which the receiver detects the preamble; for example, if the receiver detects the preamble every 900 µs during the wake-up period, then T3 = 900 µs. The preamble detection time T4 indicates the duration of the receiver's preamble detection; for example, if the receiver's preamble detection time is 100 µs, then T4 = 100 µs. Please refer to... Figure 2 and Figure 3 , Figure 2 This illustration shows a schematic diagram of the periodic wake-up proposed in an embodiment of this application. Figure 3 This diagram illustrates a wake-up periodic detection preamble proposed in an embodiment of this application. Figure 2 The wake-up period at the receiving end is T1, and within the wake-up period T1 there is a wake-up duration T2. Figure 3The wake-up duration T2 includes multiple preamble detection cycles T3, and each preamble detection cycle T3 contains the time T4 required to detect the preamble.

[0045] Step S2: The sending end pre-configures the duration T5 of the transmitted information frame. This duration is greater than the wake-up period T1 of the receiving end. For example, if the wake-up period T1 of the receiving end is 5s, then the value of T5 can be slightly greater than 5s.

[0046] Step S3: The receiving end wakes up once every wake-up period T1, and detects the preamble during the preamble detection period T3 within the wake-up duration T2. ​​The preamble detection period T3 is less than the time T4 required to detect the preamble.

[0047] Step S4: If a preamble is detected during the wake-up period, the system continues to receive the data frame until the data frame is fully received. After the data frame is received, the system immediately enters a sleep state. The sleep time is equal to the return code time parameter in the data frame. Once the sleep time ends (i.e., the return code time has arrived), the service data is sent back to the sending end.

[0048] Step S5: If no preamble is detected during the wake-up period, the system will immediately enter a sleep state after the wake-up time ends, waiting for the next wake-up and detection.

[0049] Step S6: Repeat steps S3-S5.

[0050] Therefore, this application discloses a communication method for ad hoc wireless devices. The transmitting end continuously sends data frames, while the receiving end cyclically checks for a preamble according to a wake-up cycle. The preamble determines whether data needs to be received. If no preamble is detected, the device enters a low-power sleep state. If a preamble is detected, the device receives data frames and then enters a low-power sleep state, waiting for the echo time to elapse before responding. By detecting the preamble, the power consumption during normal operation is significantly reduced. Furthermore, by adding an echo time parameter to the data frames, the power consumption during communication is greatly reduced, significantly extending the device's lifespan and meeting the requirements of reliability in ultra-low-power scenarios.

[0051] The following provides a possible implementation of a communication device based on an ad hoc wireless network, which performs the various execution steps and corresponding technical effects of the communication method based on an ad hoc wireless network shown in the above embodiments and possible implementations. The device includes:

[0052] The sending module is used to continuously send data frames through the sending end. The data frames contain the response time of the receiving end.

[0053] The detection module is used to detect whether there is a preamble by the receiving end according to the wake-up cycle. The preamble is used to indicate whether there is data to be received.

[0054] The sleep module is used to enter a low-power sleep state if no preamble is detected.

[0055] The receiving module is used to receive data frames if a preamble is detected. After receiving the data frames, it enters a low-power sleep state and waits for the return code time to complete the return code.

[0056] This preferred embodiment provides a computer device that can implement the steps in any embodiment of the communication method based on ad hoc wireless devices provided in this application. Therefore, it can achieve the beneficial effects of the communication method based on ad hoc wireless devices provided in this application, as detailed in the preceding embodiments, which will not be repeated here.

[0057] Those skilled in the art will understand that all or part of the steps in the various methods of the above embodiments can be implemented by instructions, or by instructions controlling related hardware. These instructions can be stored in a computer-readable storage medium and loaded and executed by a processor. Therefore, embodiments of this application provide a storage medium storing multiple instructions that can be loaded by a processor to execute the steps of any embodiment of the communication method based on an ad hoc wireless device provided in this application.

[0058] The storage medium may include: read-only memory (ROM), random access memory (RAM), disk or optical disk, etc.

[0059] Since the instructions stored in the storage medium can execute the steps in any of the communication method embodiments based on ad hoc wireless devices provided in this application, the beneficial effects that any of the communication methods based on ad hoc wireless devices provided in this application can achieve can be realized. For details, please refer to the previous embodiments, which will not be repeated here.

[0060] The above description is merely a preferred embodiment of this application and is not intended to limit this application. Any modifications, equivalent substitutions, and improvements made within the spirit and principles of this application should be included within the protection scope of this application.

Claims

1. A communication method based on ad hoc wireless network devices, characterized in that, The method includes: The radio frequency parameters and communication frame format of the transmitting and receiving ends are configured in advance. The data frame also includes a preamble, application data, and a check bit. The sending end continuously sends data frames, the data frames containing the return code time of the receiving end, and the duration of the sending end sending information frames is greater than the wake-up period of the receiving end. The receiving end cyclically checks for a preamble according to a wake-up cycle. The preamble indicates whether data needs to be received. The receiving end has a preamble detection cycle, which represents the interval between preamble detections. The receiving end also has a pre-set preamble detection time, which represents the duration of preamble detection. The receiving end also has a pre-set wake-up duration, which represents the transmission time of one data frame. The preamble detection cycle is shorter than the preamble detection time. If the preamble is not detected, the system enters a low-power sleep state. If the preamble is detected, the data frame is received. After receiving the data frame, the system enters a low-power sleep state and waits for the return code time to pass before returning the code.

2. A communication device based on a self-organizing network wireless device, characterized in that, The device includes: The radio frequency parameters and communication frame format of the transmitting and receiving ends are configured in advance. The data frame also includes a preamble, application data, and a check bit. The sending module is used to continuously send data frames through the sending end. The data frames include the response time of the receiving end, and the duration of the sending end sending information frames is greater than the wake-up period of the receiving end. The detection module is used to cyclically detect whether there is a preamble by the receiving end according to the wake-up cycle. The preamble is used to indicate whether there is data to be received. The receiving end is preset with a preamble detection cycle, which represents the interval time at which the receiving end detects the preamble. The receiving end is also preset with a preamble detection time, which represents the duration of the receiving end's preamble detection. The receiving end is preset with a wake-up duration, which represents the transmission time of the sending end to send one data frame. The preamble detection cycle is less than the preamble detection time. A sleep module is used to enter a low-power sleep state if the preamble is not detected. The receiving module is configured to receive the data frame if the preamble is detected, and after receiving the data frame, enter a low-power sleep state and wait for the return code time to pass before returning the code.

3. A computer device, characterized in that, The computer device includes a processor and a memory, the memory storing a computer program, which is loaded and executed by the processor to implement the communication method based on an ad hoc wireless device as described in claim 1.

4. A computer-readable storage medium, characterized in that, The storage medium stores a computer program, which is loaded and executed by a processor to implement the communication method based on an ad hoc wireless device as described in claim 1.

Citation Information

Patent Citations

  • Communication apparatus, and communicating method and program

    JP2007013577A

  • Communication system, communication terminal, communication method and program

    JP2015146511A