CN110839297B - Data communication method and device and electronic equipment - Google Patents

Data communication method and device and electronic equipment Download PDF

Info

Publication number
CN110839297B
CN110839297B CN201810931065.6A CN201810931065A CN110839297B CN 110839297 B CN110839297 B CN 110839297B CN 201810931065 A CN201810931065 A CN 201810931065A CN 110839297 B CN110839297 B CN 110839297B
Authority
CN
China
Prior art keywords
detection
channel
detection time
time period
time periods
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.)
Active
Application number
CN201810931065.6A
Other languages
Chinese (zh)
Other versions
CN110839297A (en
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.)
Harbin Hytera Technology Corp ltd
Original Assignee
Harbin Hytera Technology Corp 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 Harbin Hytera Technology Corp ltd filed Critical Harbin Hytera Technology Corp ltd
Priority to CN201810931065.6A priority Critical patent/CN110839297B/en
Priority to PCT/CN2019/096101 priority patent/WO2020034799A1/en
Publication of CN110839297A publication Critical patent/CN110839297A/en
Application granted granted Critical
Publication of CN110839297B publication Critical patent/CN110839297B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W74/00Wireless channel access
    • H04W74/08Non-scheduled access, e.g. ALOHA
    • H04W74/0808Non-scheduled access, e.g. ALOHA using carrier sensing, e.g. carrier sense multiple access [CSMA]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W74/00Wireless channel access
    • H04W74/08Non-scheduled access, e.g. ALOHA
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W74/00Wireless channel access
    • H04W74/08Non-scheduled access, e.g. ALOHA
    • H04W74/0808Non-scheduled access, e.g. ALOHA using carrier sensing, e.g. carrier sense multiple access [CSMA]
    • H04W74/0816Non-scheduled access, e.g. ALOHA using carrier sensing, e.g. carrier sense multiple access [CSMA] with collision avoidance
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The application discloses a data communication method, a data communication device and electronic equipment, wherein the method comprises the steps of generating a detection window under the condition of receiving a data sending request, wherein the detection window comprises at least two detection time periods and at least one detection time period which are sequentially arranged in a cross mode, the difference value between the number of the detection time periods and the number of the detection time periods is 1, and the duration of the at least two time periods is a random value; performing, for each adjacent set of detection and probing periods: detecting whether a channel is occupied in a detection time period, and if the channel is not occupied, sending a detection frame to the channel in a detection time period, wherein the detection frame is used for occupying the channel; stopping the operation of the detection window until the channels are detected to be occupied in a certain group of detection time periods and detection time periods; when the last detection time period is reached, if the channel is detected to be unoccupied in the detection time period, the data is sent to the channel, and the data anti-collision capacity is improved by the method.

Description

Data communication method and device and electronic equipment
Technical Field
The present application relates to the field of data communication technologies, and in particular, to a data communication method and apparatus, and an electronic device.
Background
The LORA is one of LPWAN (low-power Wide-Area Network) communication technologies, is an ultra-long-distance wireless transmission scheme based on a spread spectrum technology, and is widely applied to an internet of things system. In the internet of things system, a gateway can deploy a large number of LORA nodes, and the LORA nodes send acquired data to the gateway.
At present, in order to avoid a data collision situation when an LORA node sends data to a gateway, the LORA node generates a detection window with a fixed time before sending the data, and sends the data to the gateway if it detects that a channel is not occupied within the detection window time.
In the above manner, one gateway will usually deploy hundreds of LORA nodes, so that it is likely that a plurality of nodes send data at the same time, in this case, the plurality of LORA nodes generate a detection window with a fixed duration at the same time, so that the plurality of LORA nodes can complete the detection of whether channels are occupied at the same time and send data at the same time, thereby still causing a data collision. Therefore, when the number of LORA nodes is large, the data collision prevention capacity is low and the collision prevention effect is poor.
Disclosure of Invention
In view of this, the present application provides a data communication method, an apparatus and an electronic device, so as to improve data anti-collision capability.
In order to achieve the above object, the following solutions are proposed:
a method of data communication, the method comprising:
generating a detection window under the condition of receiving a data sending request, wherein the detection window comprises at least two detection time periods and at least one detection time period, the difference value between the number of the detection time periods and the number of the detection time periods is 1, the detection time periods and the detection time periods are sequentially arranged in a cross mode, and the duration of the at least two time periods in the detection window is a random value;
performing, in each adjacent set of the detection time period and the probing time period: detecting whether a channel is occupied in the detection time period, and if the channel is not occupied, sending a detection frame to the channel in the detection time period, wherein the detection frame is used for occupying the channel; stopping the operation in the detection window until the channel is detected to be occupied in a certain group of the detection time period and the detection time period;
and when the last detection time period is reached, if the channel is detected to be unoccupied in the detection time period, sending the data to the channel.
A data communication apparatus, the apparatus comprising:
a detection window generating unit, configured to generate a detection window under a condition that a data sending request is received, where the detection window includes at least two detection time periods and at least one detection time period, a difference between the number of the detection time periods and the number of the detection time periods is 1, the detection time periods and the detection time periods are sequentially arranged in a cross manner, and durations of the at least two time periods in the detection window are random values;
a detection window execution unit configured to execute, in each adjacent set of the detection period and the sounding period: detecting whether a channel is occupied in the detection time period, and if the channel is not occupied, sending a detection frame to the channel in the detection time period, wherein the detection frame is used for occupying the channel; stopping the operation in the detection window until the channel is detected to be occupied in a certain group of detection time periods and the detection time period;
and the sending unit is used for sending the data to the channel if the channel is detected to be unoccupied in the detection time period when the last detection time period is reached.
An electronic device, the electronic device comprising: a communication interface, a processor and a memory;
the memory stores program codes;
when the processor calls the program codes in the memory, the following operations are executed:
generating a detection window under the condition of receiving a data sending request, wherein the detection window comprises at least two detection time periods and at least one detection time period, the difference value between the number of the detection time periods and the number of the detection time periods is 1, the detection time periods and the detection time periods are sequentially arranged in a cross mode, and the duration of the at least two time periods in the detection window is a random value; performing, in each adjacent set of the detection time period and the probing time period: detecting whether a channel is occupied in the detection time period, and if the channel is not occupied, sending a detection frame to the channel in the detection time period, wherein the detection frame is used for occupying the channel; stopping the operation of the detection window at this time until the channel is detected to be occupied in a certain group of detection time periods and the detection time period; and when the last detection time period is reached, if the channel is detected to be unoccupied in the detection time period, sending the data to the channel.
According to the technical scheme, before data are sent, a detection window is generated, the detection window comprises at least two detection time periods and at least one detection time period, the difference value between the number of the detection time periods and the number of the detection time periods is 1, the detection time periods and the detection time periods are sequentially arranged in a cross mode, and the duration of the at least two time periods in the detection window is a random value; detecting whether a channel is occupied in each adjacent group of detection time periods and detection time periods, and stopping the operation of the detection window if the channel is occupied; if the channel is not occupied, transmitting a detection frame to the channel in a detection time period, wherein the detection frame is used for occupying the channel, until the channel is detected to be occupied in a certain group of detection time periods and the detection time period, stopping the operation of the detection window at this time, and when the last detection time period is reached and the channel is detected to be unoccupied in the time period, transmitting the data to the channel.
Drawings
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings used in the embodiments or the prior art descriptions will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present application, and other drawings can be obtained by those skilled in the art without creative efforts.
Fig. 1 is a flowchart of a data communication method disclosed in an embodiment of the present application;
FIG. 2 is a block diagram of a detection window disclosed in another embodiment of the present application;
FIG. 3 is a flowchart illustrating a method for detecting channel occupancy according to another embodiment of the present disclosure;
fig. 4 is a flowchart illustrating a method for transmitting a sounding frame according to an embodiment of the present disclosure;
fig. 5 is a block diagram of a data communication device according to an embodiment of the present disclosure.
Detailed Description
The technical solutions in the embodiments of the present application will be described clearly and completely with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only some embodiments of the present application, and not all embodiments. All other embodiments obtained by a person of ordinary skill in the art based on the embodiments in the present application without making any creative effort belong to the protection scope of the present application.
An embodiment of the present application provides a data communication method, as shown in fig. 1, the method includes:
s100, generating a detection window under the condition of receiving a data sending request, wherein the detection window comprises at least two detection time periods and at least one detection time period, the difference value between the number of the detection time periods and the number of the detection time periods is 1, the detection time periods and the detection time periods are sequentially arranged in a cross mode, and the duration of the at least two time periods in the detection window is a random value;
specifically, when a node in the communication network receives a data transmission request, the node generates a detection window, and the node is each terminal electronic device in the communication network. Taking the internet of things applying the LORA communication technology as an example, the nodes in the internet of things are LORA nodes, the LORA nodes are in a sleep mode when not working for keeping low power consumption, and are periodically wakened up, and when wakening up, if a data sending request is received, a detection window is generated. The structure of the detection window is shown in fig. 2, and includes n detection time periods a and n-1 detection time periods B, n is greater than or equal to 2, and the arrangement of the time periods in the detection window is a first detection time period A1, a first detection time period B1, a second detection time period A2, a second detection time period B2,. The n-1 detection time period An-1, the n-1 detection time period Bn-1, and An nth detection time period An.
The detection time period is used for executing the operation of whether the channel is occupied or not in the detection time period; the probe period is used for executing an operation of transmitting a probe frame to a channel in the probe period, where the probe frame is used for occupying the channel, that is, a certain node transmits the probe frame to the channel in the probe period, and as long as other nodes detect the probe frame, it indicates that the channel is currently occupied, so that no data is sent, and when a certain node does not transmit the probe frame, other nodes cannot detect the probe frame. It can be understood that the structure of the sounding frame is different according to the application network environment, and for example, in an application LORA communication network, the sounding frame is composed of a LOAR preamble and sounding data.
The duration of the detection time period and the duration of the detection time period are integral multiples of one symbol time. The durations of at least two time periods in the detection window are random values, and the two time periods can be any two time periods in the detection window. Specifically, two random values can be obtained within a value range, and the two random values are used as the duration of two pre-specified time periods; and then acquiring corresponding time length values pre-stored in other time periods.
S101, executing in each adjacent group of the detection time period and the detection time period: detecting whether a channel is occupied in the detection time period, and if the channel is not occupied, sending a detection frame to the channel in the detection time period, wherein the detection frame is used for occupying the channel; stopping the operation in the detection window until the channel is detected to be occupied in a certain group of the detection time period and the detection time period;
as shown in fig. 2, a group of adjacent detection periods and the detection period are a group A1 and B1, a group A2 and B2 \8230, a group An-1 and Bn-1, where detecting whether a channel is occupied is performed from a first detection period A1 of a first group, if the channel is not occupied, a probe frame is sent to the channel in the first detection period B1 of the group, then detecting whether the channel is occupied is performed in a second detection period A2 of a second group, and when it is determined that the channel is not occupied, a probe frame is sent in the second detection period B2 until the channel is occupied in a detection period of a certain group, the operation of the detection window is stopped, random avoidance is performed, a new detection window is generated after the avoidance time arrives, and then step S101 is performed in the new detection window.
S102, when the last detection time period is reached, if the channel is detected to be unoccupied in the detection time period, the target data is sent to the channel.
Specifically, after the sending of the sounding frame to the channel in the n-1 th sounding time period Bn-1 of the last group is finished, whether the channel is occupied is detected in the last detecting time period An, and if the channel is not occupied, the target data is sent.
In the above embodiment, before data transmission, a detection window is generated, where the detection window includes at least two detection time periods and at least one detection time period, a difference between the number of the detection time periods and the number of the detection time periods is 1, the detection time periods and the detection time periods are sequentially arranged in a cross manner, and durations of the at least two time periods in the detection window are random values; detecting whether a channel is occupied in each adjacent group of detection time periods and detection time periods, and stopping the operation of the detection window if the channel is occupied; if the channel is not occupied, transmitting a probe frame to the channel in a probe time period after the detection time period, wherein the probe frame is used for occupying the channel, and stopping the operation of the detection window at this time until the channel is detected to be occupied in a certain group of the detection time period and the probe time period, and transmitting the data to the channel when the last detection time period is reached and the channel is detected to be unoccupied in the time period. Specifically, when the LORA node is used in the internet of things, the data communication method of the above embodiment may be used to send data when the LORA node needs to register, report service data, or reply a gateway response.
In another embodiment of the present application, preferably, the duration of each time period in the generated detection window is a random value, so that only when the durations of each time period in the detection windows generated by the multiple nodes are completely the same, the data sent by the multiple nodes will collide, but the probability that the durations of each time period in the detection windows generated by the multiple nodes are completely the same is very low, so that this way can greatly reduce the probability of data collision.
Preferably, for any detection window, the duration of the detection time period is smaller from the first detection time period to the last detection time period in the detection window, as shown in fig. 2, the duration of the first detection time period, i.e. the first detection time period A1, is longest, and the duration of the detection time period is smaller later, the duration of An is shortest. In this way, for the detection windows generated by different nodes, the time length of the detection time period after the position in the detection window generated by any node is not only smaller than the time length of the detection time period before the position in the detection window, but also basically smaller than the time length of the detection time period before the position in the detection window generated by other nodes. The following example is used to illustrate the collision avoidance effect for a set duration:
the detection windows generated by the nodes 1 and 2 comprise 2 detection time periods, and the duration of the detection time period in the detection window generated by the node 1 follows the rule that the duration of the detection time period is smaller from the first detection time period to the last detection time period, for example, the duration of the first detection time period is 80ms. The detection period generated by the node 2 does not follow the above-mentioned rule, for example, the duration of the first detection period is 20ms, and the duration of the second detection period is 90ms.
The node 2 generates a detection window and performs detection, when the detection window generated by the node 2 is executed to the 10 th ms of the second detection time period, namely, the detection time of the remaining 80ms, the detection window generated by the node 1 just starts to execute the first detection time period, namely, the detection time of the remaining 80ms, so that the detection window generated by the node 1 determines that the channel is unoccupied after executing 80ms of the first detection time period, and sends a probe frame to the channel, while the detection window generated by the node 2 determines that the channel is unoccupied after executing the remaining 80ms of the second detection time period, and sends target data, and at this time, collision between the probe frame and the target data occurs in the channel. However, if the duration of the detection time period of the detection window generated by the node 2 follows a smaller and smaller rule, the situation that the remaining execution duration of the second detection time period of the detection window generated by the node 2 is the same as the remaining execution duration of the first detection time period of the detection window generated by the node 1 does not occur, that is, the situation that the probe frame and the target data collide with each other is completely avoided.
Preferably, the duration of the detection window is a preset fixed value, which can further reduce the collision probability of data. The following example illustrates the collision avoidance effect of setting the constant value:
if the total duration of generating the detection window comprising 3 time periods by the node 1 is 110ms, the first detection time period is 60ms, the detection time period is 10ms, and the second detection time period is 40ms; the total duration of the detection window generated by the node 2 and including 3 time segments is 100ms, wherein the first detection time segment is 50ms, the sounding time segment is 10ms, and the second detection time segment is 40ms.
If the time of the detection window generated by the node 2 is 10ms after the detection window generated by the node 1, at this time, the execution duration of the first detection time period in the detection window generated by the node 1 is left to be 50ms, which is equivalent to the duration of the first detection time period in the detection window generated by the node 2, and the detection time periods of the detection windows generated by the two nodes and the duration of the second detection time period are completely the same, so that the durations of the time periods of the two detection windows are completely the same 10ms after the detection window generated by the node 1, thereby causing data collision. However, if the time of the detection window is a fixed value, the data collision is completely avoided.
Specifically, when the duration of the detection window is a preset fixed value, the process of generating the detection window including N time periods is as follows:
for any one of N-1 time periods: acquiring a random value from a value range corresponding to the time period, and taking the acquired random value as the duration of the time period;
and taking the difference between the fixed value and the sum of the time lengths of the N-1 time periods as the time length of the Nth time period, wherein the sum of the time lengths of the N-1 time periods is less than the fixed value.
According to the setting of the detection time periods and the detection time periods in the detection window, namely the duration of the detection window is a set fixed value, the difference value between the number of the detection time periods and the number of the detection time periods is 1, the detection time periods and the detection time periods are sequentially arranged in a cross mode, the duration of the detection time periods is smaller and smaller from the first detection time period to the last detection time period in the detection window, the duration of the detection time periods and the duration of the detection time periods are integral multiples of a symbol time, and the like, the detection window structure with the largest combination of the detection time periods and the detection time periods is calculated, and is the most preferable detection window structure, so that all nodes generate the detection window according to the most preferable detection window structure to carry out channel occupation detection.
In another embodiment provided by the present application, the data communication method is specifically applied to a load node in an internet of things that is networked by using a load communication technology, and then detects whether a channel is occupied, as shown in fig. 3, the method includes:
s300, judging whether data are received from the channel or not;
the load node is in a Channel Activity Detection (CAD) mode, and in the CAD mode, the load node determines whether data is received from a Channel in real time.
S301, if data are received, demodulating the received data based on a preset demodulation mode to obtain demodulated data;
and demodulating the received data based on a preset demodulation mode corresponding to the LOAR communication.
S302, judging whether the demodulation data are matched with a prestored LOAR lead code;
and S303, if the channel is matched with the channel, determining that the channel is occupied.
According to the method, whether the channel is occupied or not is detected by using the CAD mode, and the channel can be accurately and efficiently judged to be occupied.
Based on the above embodiment, as shown in fig. 4, the method for transmitting a sounding frame to the channel includes:
s400, acquiring the LOAR lead code and the detection data;
specifically, a pre-stored lor preamble and sounding data are obtained, and the sounding data may be any data that has no substantial meaning.
S401, modulating the LOAR lead code and the detection data based on a preset modulation mode to obtain a detection frame, wherein the sum of the lead code time and the detection data time is the duration of the detection time period;
and modulating the lead code and the detection data based on a modulation mode corresponding to the LOAR communication technology, wherein the time of the detection data is more than or equal to the duration of 1 symbol.
S402, transmitting the detection frame to the channel, and stopping transmitting the detection frame after the duration of the detection time period is reached.
In the above embodiment, the generation of the probe frame is realized by a preset modulation mode, and the probe frame is sent to the channel to enable other load nodes to detect the probe frame and determine that the channel is occupied.
An embodiment of the present application further discloses a data communication apparatus, as shown in fig. 5, the apparatus includes:
a detection window generating unit 500, configured to generate a detection window under a condition that a data sending request is received, where the detection window includes at least two detection time periods and at least one detection time period, a difference between the number of the detection time periods and the number of the detection time periods is 1, the detection time periods and the detection time periods are sequentially arranged in a cross manner, and durations of the at least two time periods in the detection window are random values;
a detection window executing unit 501, configured to execute, in each adjacent set of the detection time period and the probing time period: detecting whether a channel is occupied in the detection time period, and if the channel is not occupied, sending a detection frame to the channel in the detection time period, wherein the detection frame is used for occupying the channel; stopping the operation in the detection window until the channel is detected to be occupied in a certain group of detection time periods and the detection time period;
a sending unit 502, configured to send the data to the channel when the last detection time period is reached and if it is detected that the channel is not occupied in the detection time period
Preferably, the duration of each time period in the detection window is a random value;
preferably, the duration of the detection time period is smaller and smaller from the first detection time period to the last detection time period;
preferably, the duration of the detection window is a preset fixed value.
Preferably, the device avoidance unit is configured to perform avoidance after stopping the operation of the detection window at this time, and execute the detection window generation unit after the avoidance time arrives.
The embodiment of the present application further discloses an electronic device, which is characterized in that the electronic device includes: a communication interface, a processor and a memory;
the memory stores program codes;
when the processor calls the program codes in the memory, the following operations are executed:
generating a detection window under the condition of receiving a data sending request, wherein the detection window comprises at least two detection time periods and at least one detection time period, the difference value between the number of the detection time periods and the number of the detection time periods is 1, the detection time periods and the detection time periods are sequentially arranged in a cross mode, and the duration of the at least two time periods in the detection window is a random value; performing, for each adjacent set of the detection period and the probing period: detecting whether a channel is occupied in the detection time period, and if the channel is not occupied, sending a detection frame to the channel in the detection time period, wherein the detection frame is used for occupying the channel; stopping the operation in the detection window until the channel is detected to be occupied in a certain group of detection time periods and the detection time period; and when the last detection time period is reached, if the channel is detected to be unoccupied in the detection time period, the data are sent to the channel.
Finally, it should also be noted that the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrases "comprising a," "8230," "8230," or "comprising" does not exclude the presence of additional like elements in a process, method, article, or apparatus that comprises the element.
The embodiments in the present description are described in a progressive manner, each embodiment focuses on differences from other embodiments, and the same and similar parts among the embodiments are referred to each other.
The previous description of the disclosed embodiments is provided to enable any person skilled in the art to make or use the present application. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the generic principles defined herein may be applied to other embodiments without departing from the spirit or scope of the application. Thus, the present application is not intended to be limited to the embodiments shown herein but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.

Claims (13)

1. A method of data communication, the method comprising:
generating a detection window under the condition of receiving a data sending request, wherein the detection window comprises at least two detection time periods and at least one detection time period, the difference value between the number of the detection time periods and the number of the detection time periods is 1, the detection time periods and the detection time periods are sequentially arranged in a cross mode, and the duration of the at least two time periods in the detection window is a random value;
performing, for each adjacent set of the detection period and the probing period: detecting whether a channel is occupied in the detection time period, and if the channel is not occupied, sending a detection frame to the channel in the detection time period, wherein the detection frame is used for occupying the channel; stopping the operation in the detection window until the channel is detected to be occupied in a certain group of the detection time period and the detection time period;
and when the last detection time period is reached, if the channel is detected to be unoccupied in the detection time period, sending the data to the channel.
2. The method of claim 1, wherein the duration of each time segment in the detection window is a random value.
3. The method of claim 1, wherein the detection time periods are progressively shorter in duration from a first detection time period to a last detection time period.
4. The method of claim 1, wherein the duration of the detection window is a predetermined constant value.
5. The method of claim 1, wherein after stopping the operation of the detection window, the method further comprises:
and avoiding, and generating the detection window after the avoiding time is reached.
6. The method as claimed in claim 1, wherein said detecting whether the channel is occupied comprises:
judging whether data is received from the channel;
if data are received, demodulating the received data based on a preset demodulation mode to obtain demodulated data;
judging whether the demodulation data is matched with a prestored LOAR lead code;
and if the channel is matched with the channel, determining that the channel is occupied.
7. The method as claimed in claim 6, wherein said transmitting sounding frames to said channel comprises:
acquiring the LOAR lead code and the detection data;
modulating the LOAR lead code and the detection data based on a preset modulation mode to obtain a detection frame, wherein the sum of the lead code time and the detection data time is the duration of the detection time period;
transmitting the sounding frame to the channel.
8. A data communication apparatus, characterized in that the apparatus comprises:
a detection window generating unit, configured to generate a detection window under a condition that a data sending request is received, where the detection window includes at least two detection time periods and at least one detection time period, a difference between the number of the detection time periods and the number of the detection time periods is 1, the detection time periods and the detection time periods are sequentially arranged in a cross manner, and durations of the at least two time periods in the detection window are random values;
a detection window execution unit configured to execute, in each adjacent set of the detection period and the sounding period: detecting whether a channel is occupied in the detection time period, and if the channel is not occupied, sending a detection frame to the channel in the detection time period, wherein the detection frame is used for occupying the channel; stopping the operation of the detection window at this time until the channel is detected to be occupied in a certain group of detection time periods and the detection time period;
and the sending unit is used for sending the data to the channel if the channel is detected to be unoccupied in the detection time period when the last detection time period is reached.
9. The apparatus of claim 8, wherein the duration of each time segment in the detection window is a random value.
10. The apparatus of claim 8, wherein the duration of the detection period decreases from a first detection period to a last detection period.
11. The apparatus of claim 8, wherein the duration of the detection window is a predetermined constant value.
12. The apparatus as recited in claim 8, wherein said apparatus further comprises:
and the avoidance unit is used for stopping avoiding after the operation of the detection window.
13. An electronic device, characterized in that the electronic device comprises: a communication interface, a processor and a memory;
the memory stores program codes;
when the processor calls the program codes in the memory, the following operations are executed:
generating a detection window under the condition of receiving a data sending request, wherein the detection window comprises at least two detection time periods and at least one detection time period, the difference value between the number of the detection time periods and the number of the detection time periods is 1, the detection time periods and the detection time periods are sequentially arranged in a cross mode, and the duration of the at least two time periods in the detection window is a random value; performing, for each adjacent set of the detection period and the probing period: detecting whether a channel is occupied in the detection time period, and if the channel is not occupied, sending a detection frame to the channel in the detection time period, wherein the detection frame is used for occupying the channel; stopping the operation in the detection window until the channel is detected to be occupied in a certain group of detection time periods and the detection time period; and when the last detection time period is reached, if the channel is detected to be unoccupied in the detection time period, sending the data to the channel.
CN201810931065.6A 2018-08-15 2018-08-15 Data communication method and device and electronic equipment Active CN110839297B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201810931065.6A CN110839297B (en) 2018-08-15 2018-08-15 Data communication method and device and electronic equipment
PCT/CN2019/096101 WO2020034799A1 (en) 2018-08-15 2019-07-16 Data communication method and apparatus, and electronic device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810931065.6A CN110839297B (en) 2018-08-15 2018-08-15 Data communication method and device and electronic equipment

Publications (2)

Publication Number Publication Date
CN110839297A CN110839297A (en) 2020-02-25
CN110839297B true CN110839297B (en) 2023-04-14

Family

ID=69525089

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810931065.6A Active CN110839297B (en) 2018-08-15 2018-08-15 Data communication method and device and electronic equipment

Country Status (2)

Country Link
CN (1) CN110839297B (en)
WO (1) WO2020034799A1 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114025378B (en) * 2021-10-13 2023-08-25 北京邮电大学 Cross-channel scanning-based LoRa channel occupation detection method and system

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103648179A (en) * 2013-12-16 2014-03-19 吉林大学 Device, system and method based on OW communication for MTC access bump detection
CN104717686A (en) * 2015-03-31 2015-06-17 深圳酷派技术有限公司 Channel detection method of unauthorized frequency band and network cell equipment
CN105050190A (en) * 2015-08-14 2015-11-11 宇龙计算机通信科技(深圳)有限公司 Method, device and base station for configuring discovery reference signal (DRS) based on unauthorized frequency band
CN105451358A (en) * 2014-08-27 2016-03-30 ***通信集团公司 Uplink transmission method, base station and terminal
CN105900514A (en) * 2014-10-11 2016-08-24 华为技术有限公司 Resource competing, signal transmitting and signal receiving method and device
WO2016169400A1 (en) * 2015-04-21 2016-10-27 电信科学技术研究院 Channel access method and apparatus
CN106358313A (en) * 2016-08-30 2017-01-25 中兴长天信息技术(南昌)有限公司 LORA wireless communication network channel access control method for Internet of Things
CN107295676A (en) * 2016-03-31 2017-10-24 中兴通讯股份有限公司 Data transmission method and device

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103648179A (en) * 2013-12-16 2014-03-19 吉林大学 Device, system and method based on OW communication for MTC access bump detection
CN105451358A (en) * 2014-08-27 2016-03-30 ***通信集团公司 Uplink transmission method, base station and terminal
CN105900514A (en) * 2014-10-11 2016-08-24 华为技术有限公司 Resource competing, signal transmitting and signal receiving method and device
CN104717686A (en) * 2015-03-31 2015-06-17 深圳酷派技术有限公司 Channel detection method of unauthorized frequency band and network cell equipment
WO2016169400A1 (en) * 2015-04-21 2016-10-27 电信科学技术研究院 Channel access method and apparatus
CN105050190A (en) * 2015-08-14 2015-11-11 宇龙计算机通信科技(深圳)有限公司 Method, device and base station for configuring discovery reference signal (DRS) based on unauthorized frequency band
CN107295676A (en) * 2016-03-31 2017-10-24 中兴通讯股份有限公司 Data transmission method and device
CN106358313A (en) * 2016-08-30 2017-01-25 中兴长天信息技术(南昌)有限公司 LORA wireless communication network channel access control method for Internet of Things

Also Published As

Publication number Publication date
CN110839297A (en) 2020-02-25
WO2020034799A1 (en) 2020-02-20

Similar Documents

Publication Publication Date Title
CN109803321B (en) Resource selection method and terminal under multiple services
KR20190039078A (en) Method and apparatus for selecting resources in V2X communication
CN102498736B (en) Radio station
KR102411969B1 (en) Resource selection method and terminal
CN111885620B (en) Channel part interception method and terminal equipment
EP3217750B1 (en) Method for measuring channel quality
US11297650B2 (en) Systems and methods for signal detection using PHY layer processing
WO2019041244A1 (en) Beam recovery in connected discontinuous reception
CN108809603A (en) method and user equipment for data transmission
EP2456250A1 (en) Information sharing method in cognitive radio communication, cognitive radio communication device, and cognitive radio communication system
CN105517181B (en) Carrier resource processing method and device of unauthorized carrier and transmission node
EP3247157B1 (en) Method for managing wireless resources, and access point using same
WO2018121168A1 (en) Resource exclusion method and network nodes
CN111436118A (en) Transmission resource detection method, transmission resource determination method and communication equipment
CN111225446A (en) Resource allocation method and device for vehicle-to-vehicle communication
CN111447682A (en) Service data transmission method, device and communication node
US11159986B2 (en) Unlicensed spectrum access method and device, and transmission node
CN110839297B (en) Data communication method and device and electronic equipment
EP3944548A1 (en) A method for allocating frequency channels to a plurality of neighboring access points
CN111757531A (en) Random access backspacing method and device
CN111436035B (en) Method and device for selecting transmission style in 5G Internet of vehicles and user equipment
CN110249700A (en) Media access control
Friedrich et al. WRTMAC: A MAC proposal for 802.11 networks in factory automation.
EP2157829B1 (en) Methods and Apparatus for Operating a Wireless Communications System
Choi et al. Delay analysis of carrier sense multiple access with collision resolution

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant