CN116801361A - Communication method and device based on ad hoc network wireless equipment - Google Patents

Communication method and device based on ad hoc network wireless equipment Download PDF

Info

Publication number
CN116801361A
CN116801361A CN202310801539.6A CN202310801539A CN116801361A CN 116801361 A CN116801361 A CN 116801361A CN 202310801539 A CN202310801539 A CN 202310801539A CN 116801361 A CN116801361 A CN 116801361A
Authority
CN
China
Prior art keywords
preamble
receiving end
hoc network
data frame
wireless device
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.)
Pending
Application number
CN202310801539.6A
Other languages
Chinese (zh)
Inventor
魏季水
令狐鹏飞
向智谋
郎胡彭
张翰斐
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Chengdu Action Electronics Joint Stock Co ltd
Original Assignee
Chengdu Action Electronics Joint Stock Co ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Chengdu Action Electronics Joint Stock Co ltd filed Critical Chengdu Action Electronics Joint Stock Co ltd
Priority to CN202310801539.6A priority Critical patent/CN116801361A/en
Publication of CN116801361A publication Critical patent/CN116801361A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W52/00Power management, e.g. TPC [Transmission Power Control], power saving or power classes
    • H04W52/02Power saving arrangements
    • H04W52/0209Power saving arrangements in terminal devices
    • H04W52/0225Power saving arrangements in terminal devices using monitoring of external events, e.g. the presence of a signal
    • H04W52/0229Power saving arrangements in terminal devices using monitoring of external events, e.g. the presence of a signal where the received signal is a wanted signal
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W52/00Power management, e.g. TPC [Transmission Power Control], power saving or power classes
    • H04W52/02Power saving arrangements
    • H04W52/0209Power saving arrangements in terminal devices
    • H04W52/0225Power saving arrangements in terminal devices using monitoring of external events, e.g. the presence of a signal
    • H04W52/0235Power saving arrangements in terminal devices using monitoring of external events, e.g. the presence of a signal where the received signal is a power saving command
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W52/00Power management, e.g. TPC [Transmission Power Control], power saving or power classes
    • H04W52/02Power saving arrangements
    • H04W52/0209Power saving arrangements in terminal devices
    • H04W52/0225Power saving arrangements in terminal devices using monitoring of external events, e.g. the presence of a signal
    • H04W52/0248Power saving arrangements in terminal devices using monitoring of external events, e.g. the presence of a signal dependent on the time of the day, e.g. according to expected transmission activity
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W52/00Power management, e.g. TPC [Transmission Power Control], power saving or power classes
    • H04W52/02Power saving arrangements
    • H04W52/0209Power saving arrangements in terminal devices
    • H04W52/0261Power saving arrangements in terminal devices managing power supply demand, e.g. depending on battery level
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W84/00Network topologies
    • H04W84/18Self-organising networks, e.g. ad-hoc networks or sensor networks

Abstract

The application discloses a communication method and a device based on an ad hoc network wireless device, wherein the method comprises the following steps: and continuously transmitting data frames through a transmitting end, circularly detecting whether a preamble exists through a receiving end according to a wake-up period, judging whether data needs to be received currently through the preamble, and entering a low-power-consumption sleep state if the preamble is not detected. If the preamble is detected, the data frame is received, the low-power-consumption dormant state is entered after the data frame is received, and the code returning is carried out after the code returning time is waited. The method for detecting the preamble greatly reduces the power consumption of the equipment in normal time, and greatly reduces the power consumption consumed during communication by increasing the code return time parameter in the data frame, so that the service life of the equipment is greatly prolonged, and the characteristics of reliability under the ultra-low power consumption scene are met.

Description

Communication method and device based on ad hoc network wireless equipment
Technical Field
The application relates to the technical field of data communication, in particular to a communication method and device based on an ad hoc network wireless device.
Background
However, in order to improve the service life of the product, the traditional battery wireless device sets the wake-up interval time of the product longer, so that the power consumption of the product is reduced, but the real-time performance of the communication response is sacrificed. Application scenes with short response time requirements, such as equipment linked with an alarm, cannot be met, and when an alarm occurs, the linked equipment needs to act within a few seconds. The service life and the communication instantaneity of the product cannot be considered, or the communication response time is long or the service life of the product is short. How to improve the service life of the product while ensuring a short communication response time is one of the problems that one skilled in the art needs to solve.
Disclosure of Invention
The application aims to overcome the defects of the prior art, and provides a communication method and a communication device based on an ad hoc network wireless device, which greatly reduce the power consumption of the device in normal time by detecting a preamble, and greatly reduce the power consumption consumed during communication by increasing a code return time parameter in a data frame, so that the service life of the device is greatly prolonged. The method has the advantage of meeting the requirement of simultaneously having reliability under the ultra-low power consumption scene.
The aim of the application is achieved by the following technical scheme:
in a first aspect, the present application proposes a communication method based on an ad hoc network wireless device, the method comprising:
continuously transmitting a data frame through a transmitting end, wherein the data frame comprises code returning time of a receiving end;
the method comprises the steps that a receiving end circularly detects whether a preamble exists according to a wake-up period, and the preamble is used for indicating whether data need to be received or not;
and if the preamble is not detected, entering a low-power-consumption dormant state.
And if the preamble is detected, receiving the data frame, entering a low-power-consumption dormant state after receiving the data frame, and waiting for the code returning time to return to the code.
In one possible implementation, the duration of the transmission of the information frame by the transmitting end is greater than the wake-up period of the receiving end.
In one possible implementation, the receiving end is preset with a preamble detection period, where the preamble detection period represents an interval time of the receiving end for detecting the preamble.
In a possible implementation manner, the receiving end is further preset with a time required for detecting the preamble, and the time required for detecting the preamble represents a duration of time for the receiving end to detect the preamble.
In a possible implementation manner, the receiving end is preset with a wakeup duration, and the wakeup duration represents a transmission time of a frame of data transmitted by the transmitting end.
In one possible implementation, the preamble detection period is less than the time required to detect the preamble.
In one possible implementation, before the step of continuously transmitting the data frames by the transmitting end, the method further includes:
and configuring radio frequency parameters and communication frame formats of the sending end and the receiving end in advance, wherein the data frame also comprises a preamble, application data and check bits.
In a second aspect, the present application proposes a communication apparatus based on an ad hoc network wireless device, the apparatus comprising:
the transmitting module is used for continuously transmitting data frames through the transmitting end, wherein the data frames comprise code returning time of the receiving end;
the detection module is used for circularly detecting whether a preamble exists or not according to a wake-up period through the receiving end, and the preamble is used for indicating whether data need to be received or not;
and the dormancy module is used for entering a low-power-consumption dormancy state if the preamble is not detected.
And the receiving module is used for receiving the data frame if the preamble is detected, entering a low-power-consumption dormant state after receiving the data frame, and carrying out code returning after waiting for the code returning time.
In a third aspect, the present application also proposes a computer device comprising a processor and a memory, the memory having stored therein a computer program, the computer program being loaded and executed by the processor to implement the method of ad hoc network based wireless device according to any of the first aspects.
In a fourth aspect, the present application also proposes a computer readable storage medium, in which a computer program is stored, the computer program being loaded and executed by a processor to implement the method of communication based on an ad hoc network wireless device according to any of the first aspects.
The above-mentioned main scheme of the application and its various further alternatives can be freely combined to form multiple schemes, which are all the schemes that the application can adopt and claim; and the application can be freely combined between the (non-conflicting choices) choices and between the choices and other choices. Various combinations will be apparent to those skilled in the art from a review of the present disclosure, and are not intended to be exhaustive or all of the present disclosure.
The application discloses a communication method and a device based on an ad hoc network wireless device, wherein the method comprises the following steps: and continuously transmitting data frames through a transmitting end, circularly detecting whether a preamble exists through a receiving end according to a wake-up period, judging whether data needs to be received currently through the preamble, and entering a low-power-consumption sleep state if the preamble is not detected. If the preamble is detected, the data frame is received, the low-power-consumption dormant state is entered after the data frame is received, and the code returning is carried out after the code returning time is waited. The method for detecting the preamble greatly reduces the power consumption of the equipment in normal time, and greatly reduces the power consumption consumed during communication by increasing the code return time parameter in the data frame, so that the service life of the equipment is greatly prolonged, and the characteristics of reliability under the ultra-low power consumption scene are met.
Drawings
Fig. 1 is a schematic flow chart of a communication method based on an ad hoc network wireless device according to an embodiment of the present application.
Fig. 2 shows a schematic diagram of periodic wake-up proposed by an embodiment of the present application.
Fig. 3 is a schematic diagram illustrating a wake-up period periodically detecting preamble according to an embodiment of the present application.
Detailed Description
Other advantages and effects of the present application will become apparent to those skilled in the art from the following disclosure, which describes the embodiments of the present application with reference to specific examples. The application may be practiced or carried out in other embodiments that depart from the specific details, and the details of the present description may be modified or varied from the spirit and scope of the present application. It should be noted that the following embodiments and features in the embodiments may be combined with each other without conflict.
All other embodiments, which can be made by those skilled in the art based on the embodiments of the application without making any inventive effort, are intended to be within the scope of the application.
In the prior art, in order to improve the service life of a product, the traditional battery wireless power supply equipment sets the wake-up interval time of the product longer, so that the power consumption of the product is reduced, but the real-time performance of communication response is sacrificed. Application scenes with short response time requirements, such as equipment linked with an alarm, cannot be met, and when an alarm occurs, the linked equipment needs to act within a few seconds. The service life and the communication instantaneity of the product cannot be considered, or the communication response time is long or the service life of the product is short. How to improve the service life of the product while ensuring a short communication response time is one of the problems that one skilled in the art needs to solve.
Therefore, in order to solve the problem of how to improve the service life of the product under the condition of ensuring short communication response time in the application scene of the wireless equipment powered by the battery, namely, reduce the power consumption of the product and avoid the trouble of frequently replacing the battery in the life cycle of the product. The application provides a communication method and a communication device based on an ad hoc network wireless device, which greatly reduce the power consumption of the device in normal time by detecting a preamble, and greatly reduce the power consumption consumed in the communication period by increasing a code return time parameter in a data frame, so that the service life of the device is greatly prolonged. The characteristics of simultaneously having reliability in the ultra-low power consumption scene are satisfied, and the following detailed description is made.
Referring to fig. 1, fig. 1 shows a flow chart of a communication method based on an ad hoc network wireless device according to an embodiment of the present application, where the communication method includes the following steps:
s100, continuously transmitting data frames through a transmitting end.
S200, detecting whether a preamble exists or not through the receiving end according to the wake-up period in a circulating mode.
And S300, if the preamble is not detected, entering a low-power-consumption dormant state.
And S400, if the preamble is detected, receiving the data frame, entering a low-power-consumption dormant state after receiving the data frame, and waiting for the code returning time to be finished.
The data frame comprises the code returning time of the receiving end, the preamble is used for indicating whether data needs to be received or not, the receiving end can adopt low-power-consumption equipment to reduce the power consumption of products, when the transmitting end needs to transmit the data, the transmitting end repeatedly transmits the data frame to be transmitted currently in a continuous and uninterrupted transmission mode, the receiving end circularly detects whether the preamble exists in the air according to a wake-up period, and if the preamble does not exist, the receiving end immediately enters dormancy waiting. If the preamble is detected, the complete current data frame is received, the dormancy waiting is also carried out after the data frame is received, and the receiving end is awakened to complete the code returning after the code returning time.
Because the battery wireless power supply equipment comprising the receiving end and the sending end does not have communication requirements in the whole communication process, the power consumption of the receiving end is larger only when detecting the preamble and receiving the data frame, and the power consumption of the periodically-detected preamble consumes most of the power consumption of the equipment. The power consumption of detecting the primary preamble is far lower than that of directly detecting the whole data frame, so that the embodiment of the application can greatly reduce the power consumption of the battery wireless power supply equipment in normal times and achieve the purpose of prolonging the service life of the equipment.
When the transmitting end repeatedly transmits the information frame to be transmitted in a continuous and uninterrupted transmission mode, the duration of transmission is required to be slightly longer than the duration of the information frame transmitted by the transmitting end of the wake-up period of the receiving equipment and longer than the wake-up period of the receiving end.
Optionally, before the transmitting end continuously transmits the data frames, the method further includes:
the radio frequency parameters of the transmitting end and the receiving end and the communication frame format are configured in advance, and the data frame also comprises a preamble, application data and check bits.
After the radio frequency parameters and the communication frame format are preconfigured, another possible implementation manner is provided in the embodiment of the present application, which includes the following steps:
step S1, each period of the receiving end is configured, including a wake-up period T1, a wake-up duration T2, a preamble detection period T3, and a time T4 required for detecting the preamble. The wake-up period T1 indicates how often the receiving end wakes up, for example, how often the receiving end 5s wakes up, t1=5s. The wakeup duration T2 represents a transmission time of a frame of data transmitted by the transmitting end, for example, a time of a frame of data transmitted by the transmitting end is 4.8ms, and t2=4.8 ms. The preamble detection period T3 represents an interval time during which the receiving end detects the preamble, for example, the receiving end detects the preamble every 900us during the wake-up period, and t3=900 us. The time T4 required for detecting the preamble indicates the duration of the preamble at the receiving end, for example, the duration of the preamble at the receiving end is 100us once, t4=100 us. Referring to fig. 2 and 3, fig. 2 shows a schematic diagram of periodic wake-up according to an embodiment of the present application, fig. 3 shows a schematic diagram of periodic detection of a preamble during a wake-up period according to an embodiment of the present application, a wake-up period at a receiving end in fig. 2 is T1, a wake-up duration T2 is included in the wake-up period T1, a plurality of preamble detection periods T3 are included in the wake-up duration T2 in fig. 3, and a time T4 required for detecting the preamble is included in each of the preamble detection periods T3.
In step S2, the transmitting end configures in advance a duration T5 of the transmitted information frame, where the duration is greater than a wake-up period T1 of the receiving end, for example, the wake-up period T1 of the receiving end is 5S, and then the value of T5 is slightly greater than 5S.
Step S3, the receiving end wakes up once every wake-up period T1, and detects the preamble in the wake-up duration time T2 in the preamble detection period T3. The preamble detection period T3 is smaller than the time T4 required for detecting the preamble.
Step S4, if the preamble is detected during the wake-up period, the frame data is continuously received until the frame data is received. And immediately entering into dormancy after the data frame is received, wherein the dormancy time is a code returning time parameter in the frame data, waiting for the end of the dormancy time, namely, returning the service data to the sending end when the code returning time point is reached.
And S5, if the preamble is not detected in the wake-up period, immediately entering a sleep state after the wake-up time is ended, and waiting for the next wake-up and detection.
And S6, repeating the steps S3-S5.
Therefore, the communication method based on the ad hoc network wireless device disclosed by the application is characterized in that the transmitting end continuously transmits the data frame, the receiving end circularly detects whether the preamble exists according to the wake-up period, the preamble judges whether the data needs to be received currently or not, and if the preamble is not detected, the communication method enters a low-power-consumption sleep state. If the preamble is detected, the data frame is received, the low-power-consumption dormant state is entered after the data frame is received, and the code returning is carried out after the code returning time is waited. The method for detecting the preamble greatly reduces the power consumption of the equipment in normal time, and greatly reduces the power consumption consumed during communication by increasing the code return time parameter in the data frame, so that the service life of the equipment is greatly prolonged, and the characteristics of reliability under the ultra-low power consumption scene are met.
A possible implementation manner of the communication apparatus based on the ad hoc network wireless device is given below, which is used to perform the respective execution steps and corresponding technical effects of the communication method based on the ad hoc network wireless device shown in the foregoing embodiments and possible implementation manners. The device comprises:
the sending module is used for continuously sending data frames through the sending end, wherein the data frames comprise code returning time of the receiving end;
the detection module is used for circularly detecting whether a preamble exists or not according to a wake-up period through the receiving end, wherein the preamble is used for indicating whether data need to be received or not;
and the dormancy module is used for entering a low-power-consumption dormancy state if the preamble is not detected.
And the receiving module is used for receiving the data frame if the preamble is detected, entering a low-power-consumption dormant state after the data frame is received, and carrying out code returning after the code returning time is waited.
The preferred embodiment provides a computer device, which can implement the steps in any embodiment of the communication method based on the ad hoc network wireless device provided by the embodiment of the present application, so that the beneficial effects of the communication method based on the ad hoc network wireless device provided by the embodiment of the present application can be implemented, which are detailed in the previous embodiments and are not repeated herein.
Those of ordinary skill in the art will appreciate that all or a portion of the steps of the various methods of the above embodiments may be performed by instructions, or by instructions controlling associated hardware, which may be stored in a computer-readable storage medium and loaded and executed by a processor. To this end, an embodiment of the present application provides a storage medium having stored therein a plurality of instructions capable of being loaded by a processor to perform the steps of any one of the embodiments of the communication method based on an ad hoc network wireless device provided by the embodiment of the present application.
Wherein the storage medium may include: read Only Memory (ROM), random access Memory (RAM, random Access Memory), magnetic or optical disk, and the like.
The instructions stored in the storage medium can execute the steps in any communication method embodiment based on the ad hoc network wireless device provided by the embodiment of the present application, so that the beneficial effects that any communication method embodiment based on the ad hoc network wireless device provided by the embodiment of the present application can achieve can be achieved, which are detailed in the previous embodiments and are not repeated herein.
The foregoing description of the preferred embodiments of the application is not intended to be limiting, but rather is intended to cover all modifications, equivalents, and alternatives falling within the spirit and principles of the application.

Claims (10)

1. A method of communication based on an ad hoc network wireless device, the method comprising:
continuously transmitting a data frame through a transmitting end, wherein the data frame comprises code returning time of a receiving end;
the method comprises the steps that a receiving end circularly detects whether a preamble exists according to a wake-up period, and the preamble is used for indicating whether data need to be received or not;
and if the preamble is not detected, entering a low-power-consumption dormant state.
And if the preamble is detected, receiving the data frame, entering a low-power-consumption dormant state after receiving the data frame, and waiting for the code returning time to return to the code.
2. The communication method based on an ad hoc network wireless device according to claim 1, wherein the duration of the transmission of the information frame by the transmitting end is longer than the wake-up period of the receiving end.
3. The communication method according to claim 1, wherein the receiving end is preset with a preamble detection period, and the preamble detection period indicates an interval time of the receiving end detecting the preamble.
4. The communication method according to claim 1, wherein the receiving end is further provided with a time required for detecting the preamble, and the time required for detecting the preamble indicates a duration of time for the receiving end to detect the preamble.
5. The communication method based on an ad hoc network wireless device according to claim 1, wherein the receiving end is preset with a wakeup duration, and the wakeup duration indicates a transmission time when the transmitting end transmits a frame of data.
6. The method of communication of an ad hoc network-based wireless device according to claim 3 or 4, wherein the preamble detection period is smaller than a time required for detecting the preamble.
7. The communication method based on an ad hoc network wireless device according to claim 1, wherein before continuously transmitting data frames through the transmitting end, further comprising:
and configuring radio frequency parameters and communication frame formats of the sending end and the receiving end in advance, wherein the data frame also comprises a preamble, application data and check bits.
8. A communication apparatus based on an ad hoc network wireless device, the apparatus comprising:
the transmitting module is used for continuously transmitting data frames through the transmitting end, wherein the data frames comprise code returning time of the receiving end;
the detection module is used for circularly detecting whether a preamble exists or not according to a wake-up period through the receiving end, and the preamble is used for indicating whether data need to be received or not;
and the dormancy module is used for entering a low-power-consumption dormancy state if the preamble is not detected.
And the receiving module is used for receiving the data frame if the preamble is detected, entering a low-power-consumption dormant state after receiving the data frame, and carrying out code returning after waiting for the code returning time.
9. A computer device comprising a processor and a memory, wherein the memory has stored therein a computer program that is loaded and executed by the processor to implement the ad hoc network-based wireless device communication method of any of claims 1-7.
10. A computer readable storage medium, wherein the storage medium has stored therein a computer program that is loaded and executed by a processor to implement the ad hoc network based wireless device communication method of any of claims 1-7.
CN202310801539.6A 2023-07-03 2023-07-03 Communication method and device based on ad hoc network wireless equipment Pending CN116801361A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202310801539.6A CN116801361A (en) 2023-07-03 2023-07-03 Communication method and device based on ad hoc network wireless equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202310801539.6A CN116801361A (en) 2023-07-03 2023-07-03 Communication method and device based on ad hoc network wireless equipment

Publications (1)

Publication Number Publication Date
CN116801361A true CN116801361A (en) 2023-09-22

Family

ID=88041544

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202310801539.6A Pending CN116801361A (en) 2023-07-03 2023-07-03 Communication method and device based on ad hoc network wireless equipment

Country Status (1)

Country Link
CN (1) CN116801361A (en)

Similar Documents

Publication Publication Date Title
US9980219B2 (en) Power efficient PS-Poll
CN108738109B (en) Site awakening method and site
US8934390B2 (en) Enhancement of low power medium access STAs
US20150245290A1 (en) Node control method, network controller, and network system
KR100592903B1 (en) Apparatus supporting active and passive telecommunication and control method thereof
EP1982474A1 (en) Power save system and method
US8559366B2 (en) Method of communication, emitter and receiver stations and associated computer programs
US9078212B2 (en) System and method for reducing power used for radio transmission and reception
US20040128387A1 (en) Broadcasting information in ad-hoc network clusters between pseudo-random time intervals
US9094916B1 (en) System and method for adjusting power used in reception in a wireless packet network
US20070160027A1 (en) Dynamic power save modes
CN110958676A (en) Low-power consumption dormancy equipment awakening method and system
CN112042218B (en) Method and apparatus for channel quality information reporting
CN106471747B (en) Method for node synchronization in frequency hopping wireless networks
US8010091B2 (en) System, method and apparatus employing tone and/or tone patterns to indicate the message type in wireless sensor networks
US8433353B2 (en) Method of communication, emitter and receiver stations and associated computer programs
US7720465B2 (en) System, method and apparatus employing tones and/or tone patterns to indicate the message type in wireless sensor networks
JP5425194B2 (en) Method for transmitting communication signals
US8054771B2 (en) Method and system for adding a new connection identifier to an existing power save class
CN116801361A (en) Communication method and device based on ad hoc network wireless equipment
CN111385860A (en) Message priority based Bluetooth Mesh low-power consumption node on-demand awakening method
CN115604796A (en) Data transmission method, system, device and storage medium
KR101216736B1 (en) Apparatus and method for managing sleep mode in wideband wireless access system
US9223744B1 (en) Scheduled service periods in wireless mesh networks
CN100539547C (en) Use the end of ATIM frame in IEEE 802.11 IBSS, to carry out power management with the ATIM cycle of dynamically determining

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