CN113543359A - Data transmission method, device, system and storage medium based on channel competition - Google Patents

Data transmission method, device, system and storage medium based on channel competition Download PDF

Info

Publication number
CN113543359A
CN113543359A CN202011516391.4A CN202011516391A CN113543359A CN 113543359 A CN113543359 A CN 113543359A CN 202011516391 A CN202011516391 A CN 202011516391A CN 113543359 A CN113543359 A CN 113543359A
Authority
CN
China
Prior art keywords
transmission
channel
internet
things
idle
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
CN202011516391.4A
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.)
Southern Power Grid Digital Grid Research Institute Co Ltd
Original Assignee
Southern Power Grid Digital Grid Research Institute 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 Southern Power Grid Digital Grid Research Institute Co Ltd filed Critical Southern Power Grid Digital Grid Research Institute Co Ltd
Priority to CN202011516391.4A priority Critical patent/CN113543359A/en
Publication of CN113543359A publication Critical patent/CN113543359A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W74/00Wireless channel access
    • H04W74/08Non-scheduled access, e.g. ALOHA

Landscapes

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

Abstract

The invention discloses a data transmission method and device based on channel competition, an Internet of things network system and a storage medium, wherein the method comprises the following steps: acquiring recorded idle channel information before the transmission time period of the node of the Internet of things starts, wherein the idle channel information is used for recording the information of idle channels in the Internet of things before the transmission time period; when the Internet of things nodes with transmission tasks in the transmission period do not uniquely correspond to the idle channels, the Internet of things nodes select candidate channels for countdown in the competition time slot, broadcast channel locking messages to confirm the corresponding transmission channels and inform other Internet of things nodes when the countdown is finished, and the Internet of things nodes receiving the channel locking messages update the candidate channels based on the remaining idle channels and continue to count down until the corresponding transmission channels are confirmed; and the nodes of the Internet of things transmit data through corresponding transmission channels in the transmission time period. The scheme reduces the collision probability during actual data transmission after channel allocation.

Description

Data transmission method, device, system and storage medium based on channel competition
Technical Field
The embodiments of the present invention relate to the field of network technologies, and in particular, to a method, an apparatus, a system, and a storage medium for data transmission based on channel contention.
Background
With the continuous expansion of the application requirements of wireless communication, the frequency spectrum as a resource is increasingly tense under the continuously expanded application requirements, and the conventional frequency spectrum mainly adopts a fixed allocation mode, so that the resource waste is serious, and the frequency spectrum utilization rate is low. Aiming at the defect of fixed spectrum allocation, in order to improve the utilization rate of the spectrum optimally, each node in the wireless communication network can preferably interact with the information of the surrounding environment so as to sense and utilize the available spectrum in the space and limit and reduce the occurrence of conflicts.
The existing internet of things is used as a concrete implementation form of a wireless communication network, and a learning mechanism is also referred to, so that the utilization rate of a frequency spectrum is improved by exchanging information with the surrounding environment.
The inventor discovers that a blind area exists between nodes when environment information is interactively transmitted under the application scene of the existing internet of things, and the sensing of the environment information is incomplete, so that the transmission conflict of actual data after channel allocation is caused when the frequency spectrum is optimized based on learning sensing in the internet of things.
Disclosure of Invention
The invention provides a data transmission method, a device, a system and a storage medium based on channel competition, which are used for solving the technical problem of transmission conflict of actual data after channel allocation in the internet of things network in the prior art.
In a first aspect, an embodiment of the present invention provides a data transmission method based on channel contention, including:
acquiring recorded idle channel information before the beginning of a transmission time period of a node of the Internet of things, wherein the idle channel information is used for recording information of idle channels in the Internet of things before the transmission time period;
when the Internet of things node with the transmission task in the transmission period does not uniquely correspond to the idle channel, the Internet of things node selects a candidate channel for countdown in a contention time slot and broadcasts a channel locking message when the countdown is finished; the countdown duration is determined according to the data volume of the data to be transmitted, and the channel locking message is used for confirming that the candidate channel is a transmission channel corresponding to the Internet of things node and informing other Internet of things nodes;
the Internet of things node receiving the channel locking message updates the candidate channel based on the remaining idle channels and continues to count down until the corresponding transmission channel is confirmed;
and the nodes of the Internet of things transmit data through corresponding transmission channels in the transmission time period.
Further, the transmission period comprises a plurality of equal-length time slots;
correspondingly, the data transmission is performed by the internet of things node through the corresponding transmission channel in the transmission time period, and the method includes:
and the nodes of the Internet of things broadcast and send requests in the transmission channels corresponding to the transmission time periods, and perform data transmission through the corresponding transmission channels after receiving cancellation requests responding to the sending requests.
Further, the internet of things node performs data transmission through a corresponding transmission channel in the transmission time period, and further includes:
and the nodes of the Internet of things broadcast and send requests in the transmission channels corresponding to the transmission time periods, and if a cancellation request responding to the sending request is not received, data transmission is carried out through the corresponding transmission channels after one or more equal-length time slots are delayed.
Further, the method further comprises:
and the nodes of the Internet of things monitor the signal transmission state of each channel in an idle period, and update the idle channel information according to the signal transmission state.
In a second aspect, an embodiment of the present invention further provides a data transmission apparatus based on channel contention, including:
the information acquisition unit is used for acquiring recorded idle channel information before the transmission time period of the nodes of the Internet of things starts, wherein the idle channel information is used for recording the information of idle channels in the Internet of things before the transmission time period;
the channel allocation unit is used for selecting a candidate channel for countdown in a contention time slot and broadcasting a channel locking message when the countdown is finished when the Internet of things node with the transmission task in the transmission period does not uniquely correspond to the idle channel; the countdown duration is determined according to the data volume of the data to be transmitted, and the channel locking message is used for confirming that the candidate channel is a transmission channel corresponding to the Internet of things node and informing other Internet of things nodes;
the candidate switching unit is used for updating the candidate channels based on the remaining idle channels and continuously counting down until the corresponding transmission channels are confirmed by the nodes of the internet of things receiving the channel locking message;
and the data transmission unit is used for transmitting data by the nodes of the Internet of things through corresponding transmission channels in the transmission time period.
Further, the transmission period comprises a plurality of equal-length time slots;
correspondingly, the data transmission unit includes:
and the first transmission module is used for broadcasting a sending request by the internet of things node in a transmission channel corresponding to the transmission time interval, and after receiving a cancellation request responding to the sending request, transmitting data through the corresponding transmission channel.
Further, the data transmission unit further includes:
and the second transmission module is used for broadcasting a sending request by the node of the Internet of things in a transmission channel corresponding to the transmission time interval, and if a cancellation request responding to the sending request is not received, carrying out data transmission through the corresponding transmission channel after delaying one or more equal-length time slots.
Further, the apparatus further includes:
and the channel monitoring unit is used for monitoring the signal transmission state of each channel by the nodes of the Internet of things in idle time and updating the idle channel information according to the signal transmission state.
In a third aspect, an embodiment of the present invention further provides an internet of things network system, including a plurality of internet of things nodes, where each of the plurality of internet of things nodes includes:
one or more processors;
a memory for storing one or more programs;
when executed by the one or more processors, cause the internet of things network to implement the channel contention-based data transmission method according to any one of the first aspect.
In a fourth aspect, an embodiment of the present invention further provides a computer-readable storage medium, on which a computer program is stored, which when executed by a processor, implements the data transmission method based on channel contention according to the first aspect.
According to the data transmission method, the device, the network system and the storage medium based on the channel competition, the recorded idle channel information is obtained before the transmission time period of the nodes of the Internet of things starts, and the idle channel information is used for recording the information of the idle channel in the Internet of things before the transmission time period; when the Internet of things node with the transmission task in the transmission period does not uniquely correspond to the idle channel, the Internet of things node selects a candidate channel for countdown in a contention time slot and broadcasts a channel locking message when the countdown is finished; the countdown duration is determined according to the data volume of the data to be transmitted, and the channel locking message is used for confirming that the candidate channel is a transmission channel corresponding to the Internet of things node and informing other Internet of things nodes; the Internet of things node receiving the channel locking message updates the candidate channel based on the remaining idle channels and continues to count down until the corresponding transmission channel is confirmed; and the nodes of the Internet of things transmit data through corresponding transmission channels in the transmission time period. According to the scheme, the idle channel information recorded in real time is obtained, the idle channel and the nodes of the Internet of things are allocated according to the transmission requirement with possible allocation based on the preset maximum transmission gain rule, and the collision probability of actual data transmission after channel allocation is reduced.
Drawings
Fig. 1 is a flowchart of a data transmission method based on channel contention according to an embodiment of the present invention;
fig. 2 is a schematic structural diagram of a data transmission apparatus based on channel contention according to a second embodiment of the present invention;
fig. 3 is a schematic structural diagram of an internet of things node device according to a third embodiment of the present invention.
Detailed Description
The present invention will be described in further detail with reference to the accompanying drawings and examples. It is to be understood that the specific embodiments described herein are for purposes of illustration and not limitation. It should be further noted that, for the convenience of description, only some of the structures related to the present invention are shown in the drawings, not all of the structures.
It should be noted that, for the sake of brevity, this description does not exhaust all alternative embodiments, and it should be understood by those skilled in the art after reading this description that any combination of features may constitute an alternative embodiment as long as the features are not mutually inconsistent.
The following examples are described in detail.
Example one
Fig. 1 is a flowchart of a data transmission method based on channel contention according to an embodiment of the present invention. The channel contention based data transmission method provided in the embodiment may be performed by various operating devices (mainly, node devices of the internet of things) for channel contention based data transmission, where the operating devices may be implemented in a software and/or hardware manner, and the operating devices may be formed by two or more physical entities or may be formed by one physical entity.
Specifically, referring to fig. 1, the method for transmitting data based on channel contention specifically includes:
step S101: acquiring recorded idle channel information before the transmission time period of the nodes of the Internet of things starts, wherein the idle channel information is used for recording the information of idle channels in the Internet of things before the transmission time period.
The idle channel information is information updated in real time, wherein relevant information of a current idle channel is recorded, and the information mainly comprises an identifier of the idle channel, a frequency band corresponding to the idle channel, gains of nodes of the internet of things corresponding to the idle channel, signal transmission strength and the like.
Step S102: when the Internet of things node with the transmission task in the transmission period does not uniquely correspond to the idle channel, the Internet of things node selects a candidate channel for countdown in a contention time slot and broadcasts a channel locking message when the countdown is finished; the countdown duration is determined according to the data volume of the data to be transmitted, and the channel locking message is used for confirming that the candidate channel is the transmission channel corresponding to the Internet of things node and informing other Internet of things nodes.
According to the specific data transmission requirement, the data of the currently and actually transmitted internet of things nodes and the number of channels in the use state have a dynamic change process, in the dynamic change process, when there is a data transmission requirement on the internet of things nodes, the number of idle channels recorded in the idle channel information may be more or less, and the transmission requirements that different numbers of idle channels can meet are different, and channel allocation is correspondingly required.
In a specific allocation process, a simple channel allocation mode is not needed, that is, only one corresponding mode of an internet of things node with a transmission task and an idle channel is available, specifically, the method is divided into two cases, wherein the first case is that the transmission requirement exists in the current internet of things node, but the number of the idle channels recorded in the idle channel information is 0, the transmission requirement cannot be met for the respective idle channel of the internet of things node, and only the next transmission period can be waited; the second situation is that there is a transmission requirement for an internet of things node at present, and the number of idle channels recorded in the idle channel information is 1, and at this time, the idle channel is directly allocated to the internet of things node to meet the transmission requirement.
In the scheme, the important point to be processed is that if the current idle channel is not uniquely corresponding to the node of the internet of things with the transmission task, the channel allocation mode can be adopted. Overall, the allocation is based on a contention mechanism. Generally, there are three specific situations, the first situation is that one internet of things node has a transmission task and simultaneously has a plurality of idle channels, and at this time, the transmission channel with the largest transmission gain in the idle channels is allocated as the transmission channel of the internet of things node; the second situation is that a plurality of internet of things nodes have transmission tasks and only have one idle channel, the transmission gains of the plurality of internet of things nodes in the idle channel are compared at the moment, and the idle channel is allocated to the internet of things node with the maximum transmission gain; the third situation is that a plurality of internet of things nodes have transmission tasks and simultaneously have a plurality of idle channels, and at this time, transmission channels are allocated to all the internet of things nodes (the number of the internet of things nodes is less than or equal to the number of the idle channels) or all the idle channels are allocated to part of the internet of things nodes to be used as the transmission channels (the number of the internet of things nodes is greater than the number of the idle channels).
In the scheme, the idle period is further divided into contention time slots, each Internet of things counts down in the contention time slots, and channel allocation results are confirmed according to the associated channels when the counting down is finished, that is, in a contention process, two Internet of things nodes may compete for one same channel in a countdown mode at the same time, after one Internet of things node completes the acknowledgement of the background book to confirm the allocation of the channel, channel locking information is broadcasted to other Internet of things nodes, and after the other Internet of things nodes receive the channel locking, if the same channel is taken as a candidate channel before, the other channel is switched to be the candidate channel until the channel allocation is finished or the contention time slot is finished, allocation failure is waited for next countdown contention. Specifically, the countdown strategy based on the data volume may be that the larger the data volume is, the longer the countdown duration is, or the larger the data volume is, the shorter the countdown duration is, which is actually determined according to the application scenario and the data use requirement. In the scheme, the distribution of one Internet of things node to one channel is realized in a countdown and broadcast mode, and data transmission conflicts caused by the fact that a plurality of Internet of things nodes are distributed to the same channel are avoided.
Step S103: and the Internet of things node receiving the channel locking message updates the candidate channel based on the remaining idle channels and continues to count down until the corresponding transmission channel is confirmed.
The countdown process of the internet of things node after updating the candidate channel is similar to the countdown process before updating, if the countdown is completed firstly, the updated channel is used as a corresponding transmission channel and broadcasts a channel locking message, the specific processing process is similar, and repeated description is not provided herein.
Step S104: and the nodes of the Internet of things transmit data through corresponding transmission channels in the transmission time period.
The data transmission of the nodes of the internet of things in the normal state is basically similar to the data transmission process of the internet of things, and no particular description is given here. But aiming at some special cases, the scheme further adjusts the data transmission process.
In the specific transmission, in order to further eliminate the transmission conflict during the actual data transmission, the transmission time interval comprises a plurality of time slots with equal length;
correspondingly, step S104 includes:
step S1041: and the nodes of the Internet of things broadcast and send requests in the transmission channels corresponding to the transmission time periods, and perform data transmission through the corresponding transmission channels after receiving cancellation requests responding to the sending requests.
In a specific implementation, step S104 may further include:
step S1042: and the nodes of the Internet of things broadcast and send requests in the transmission channels corresponding to the transmission time periods, and if a cancellation request responding to the sending request is not received, data transmission is carried out through the corresponding transmission channels after one or more equal-length time slots are delayed.
In the specific implementation of the data transmission in the present scheme, it is considered that an idle channel recorded in the idle channel information may be delayed, so that during specific data transmission, an internet of things node currently allocated to a transmission channel broadcasts a sending request before transmission to determine whether the transmission channel is actually in an idle state or not, and whether data transmission can be performed by the transmission channel. If there is no feedback cancellation request after other nodes receive the sending request in the transmission channel, indicating that the other nodes currently occupy the transmission channel for data transmission, the internet of things node transmits data after delaying, specifically, the delay is in units of equal-length time slots, one or more delays can be delayed, if the transmission is attempted again after the delay time is reached, the broadcasting step needs to be executed again, and sending or continuing delaying is selected according to the feedback result.
In a specific implementation process, the present solution further includes step S105.
Step S105: and the nodes of the Internet of things monitor the signal transmission state of each channel in an idle period, and update the idle channel information according to the signal transmission state.
Generally, in an internet of things network system, a total bandwidth is divided into a plurality of parallel channels, each parallel channel corresponds to one internet of things node for data transmission in each transmission period, and in a specific data transmission process, lengths of single data packets transmitted by all the internet of things nodes are equal. In addition, in the scheme, each node of the internet of things can monitor and obtain the signal transmission state of each channel, and a specific monitoring scheme is mostly realized in the prior art, belongs to the basic function of a learning mechanism in a wireless network, and is not described herein.
It should be noted that, as a network system for continuously and dynamically adjusting a connection relationship, the step number mentioned in this embodiment does not indicate a strict limitation on the execution sequence of the step, and each step is executed according to the current state or the time period in which the step is executed, for example, an internet of things node may all be idle time periods in three consecutive time periods, in the three consecutive idle time periods, the physical network node always executes step S105 to monitor the signal transmission state of each channel and update the idle channel information correspondingly, and before and after the three consecutive idle time periods, all are transmission time periods, and in the transmission time periods, the corresponding transmission information is confirmed through steps S101 to S104 and data transmission is performed.
The recorded idle channel information is obtained before the transmission time period of the node of the internet of things starts, and the idle channel information is used for recording the information of the idle channel in the internet of things before the transmission time period; when the Internet of things node with the transmission task in the transmission period does not uniquely correspond to the idle channel, the Internet of things node selects a candidate channel for countdown in a contention time slot and broadcasts a channel locking message when the countdown is finished; the countdown duration is determined according to the data volume of the data to be transmitted, and the channel locking message is used for confirming that the candidate channel is a transmission channel corresponding to the Internet of things node and informing other Internet of things nodes; the Internet of things node receiving the channel locking message updates the candidate channel based on the remaining idle channels and continues to count down until the corresponding transmission channel is confirmed; and the nodes of the Internet of things transmit data through corresponding transmission channels in the transmission time period. According to the scheme, the idle channel information recorded in real time is obtained, the idle channel and the nodes of the Internet of things are allocated according to the transmission requirement with possible allocation based on the preset maximum transmission gain rule, and the collision probability of actual data transmission after channel allocation is reduced.
Example two
Fig. 2 is a schematic structural diagram of a data transmission apparatus based on channel contention according to a second embodiment of the present invention. Referring to fig. 2, the channel contention based data transmission apparatus includes: an information acquisition unit 210, a channel allocation unit 220, a candidate switching unit 230, and a data transmission unit 240.
The information obtaining unit 210 is configured to obtain recorded idle channel information before a transmission time period of a node of the internet of things starts, where the idle channel information is used to record information of an idle channel in the internet of things before the transmission time period; a channel allocation unit 220, configured to select a candidate channel for countdown in a contention time slot and broadcast a channel locking message when the countdown is completed when the internet of things node having the transmission task in the transmission period does not uniquely correspond to the idle channel; the countdown duration is determined according to the data volume of the data to be transmitted, and the channel locking message is used for confirming that the candidate channel is a transmission channel corresponding to the Internet of things node and informing other Internet of things nodes; the candidate switching unit 230 is configured to update the candidate channel based on the remaining idle channels and continue to count down until the corresponding transmission channel is confirmed by the internet of things node that receives the channel locking message; a data transmission unit 240, configured to perform data transmission on the internet of things node through a corresponding transmission channel in the transmission time period.
On the basis of the above embodiment, the transmission period includes a plurality of equal-length time slots;
correspondingly, the data transmission unit includes:
and the first transmission module is used for broadcasting a sending request by the internet of things node in a transmission channel corresponding to the transmission time interval, and after receiving a cancellation request responding to the sending request, transmitting data through the corresponding transmission channel.
On the basis of the above embodiment, the data transmission unit further includes:
and the second transmission module is used for broadcasting a sending request by the node of the Internet of things in a transmission channel corresponding to the transmission time interval, and if a cancellation request responding to the sending request is not received, carrying out data transmission through the corresponding transmission channel after delaying one or more equal-length time slots.
On the basis of the above embodiment, the apparatus further includes:
and the channel monitoring unit is used for monitoring the signal transmission state of each channel by the nodes of the Internet of things in idle time and updating the idle channel information according to the signal transmission state.
The data transmission device based on channel contention provided by the embodiment of the present invention is included in the data transmission device based on channel contention, and can be used to execute any data transmission method based on channel contention provided in the first embodiment of the present invention, and has corresponding functions and beneficial effects.
EXAMPLE III
Fig. 3 is a schematic structural diagram of a node device of the internet of things according to a third embodiment of the present invention, as shown in fig. 3, the terminal device includes a processor 310, a memory 320, an input device 330, an output device 340, and a communication device 350; the number of the processors 310 in the terminal device may be one or more, and one processor 310 is taken as an example in fig. 3; the processor 310, the memory 320, the input device 330, the output device 340 and the communication device 350 in the terminal equipment may be connected by a bus or other means, and the connection by the bus is taken as an example in fig. 3.
The memory 320 may be used as a computer-readable storage medium for storing software programs, computer-executable programs, and modules, such as program instructions/modules corresponding to the data transmission method based on channel contention according to the embodiment of the present invention (for example, the information acquisition unit 210, the channel allocation unit 220, the candidate switching unit 230, and the data transmission unit 240 in the data transmission device based on channel contention). The processor 310 executes various functional applications and data processing of the terminal device by executing software programs, instructions and modules stored in the memory 320, that is, implements the above-described data transmission method based on channel contention.
The memory 320 may mainly include a program storage area and a data storage area, wherein the program storage area may store an operating system, an application program required for at least one function; the storage data area may store data created according to the use of the terminal device, and the like. Further, the memory 320 may include high speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other non-volatile solid state storage device. In some examples, memory 320 may further include memory located remotely from processor 310, which may be connected to the terminal device via a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof.
The input device 330 may be used to receive input numeric or character information and generate key signal inputs related to user settings and function control of the terminal apparatus. The output device 340 may include a display device such as a display screen.
The terminal equipment comprises a data transmission device based on channel competition, can be used for executing any data transmission method based on channel competition, and has corresponding functions and beneficial effects.
Example four
Embodiments of the present invention also provide a storage medium containing computer-executable instructions, which when executed by a computer processor, are configured to perform operations related to a data transmission method based on channel contention provided in any embodiment of the present application, and have corresponding functions and advantages.
As will be appreciated by one skilled in the art, embodiments of the present application may be provided as a method, system, or computer program product.
Accordingly, the present application may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present application may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein. The present application is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the application. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks. These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks. These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
In a typical configuration, a computing device includes one or more processors (CPUs), input/output interfaces, network interfaces, and memory. The memory may include forms of volatile memory in a computer readable medium, Random Access Memory (RAM) and/or non-volatile memory, such as Read Only Memory (ROM) or flash memory (flash RAM). The memory is an example of a computer-readable medium.
Computer-readable media, including both non-transitory and non-transitory, removable and non-removable media, may implement information storage by any method or technology. The information may be computer readable instructions, data structures, modules of a program, or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), Static Random Access Memory (SRAM), Dynamic Random Access Memory (DRAM), other types of Random Access Memory (RAM), Read Only Memory (ROM), Electrically Erasable Programmable Read Only Memory (EEPROM), flash memory or other memory technology, compact disc read only memory (CD-ROM), Digital Versatile Discs (DVD) or other optical storage, magnetic cassettes, magnetic tape magnetic disk storage or other magnetic storage devices, or any other non-transmission medium that can be used to store information that can be accessed by a computing device. As defined herein, a computer readable medium does not include a transitory computer readable medium such as a modulated data signal and a carrier wave.
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 phrase "comprising an … …" does not exclude the presence of other identical elements in the process, method, article, or apparatus that comprises the element.
It is to be noted that the foregoing is only illustrative of the preferred embodiments of the present invention and the technical principles employed. It will be understood by those skilled in the art that the present invention is not limited to the particular embodiments described herein, but is capable of various obvious changes, rearrangements and substitutions as will now become apparent to those skilled in the art without departing from the scope of the invention. Therefore, although the present invention has been described in greater detail by the above embodiments, the present invention is not limited to the above embodiments, and may include other equivalent embodiments without departing from the spirit of the present invention, and the scope of the present invention is determined by the scope of the appended claims.

Claims (10)

1. A method for transmitting data based on channel contention, comprising:
acquiring recorded idle channel information before the beginning of a transmission time period of a node of the Internet of things, wherein the idle channel information is used for recording information of idle channels in the Internet of things before the transmission time period;
when the Internet of things node with the transmission task in the transmission period does not uniquely correspond to the idle channel, the Internet of things node selects a candidate channel for countdown in a contention time slot and broadcasts a channel locking message when the countdown is finished; the countdown duration is determined according to the data volume of the data to be transmitted, and the channel locking message is used for confirming that the candidate channel is a transmission channel corresponding to the Internet of things node and informing other Internet of things nodes;
the Internet of things node receiving the channel locking message updates the candidate channel based on the remaining idle channels and continues to count down until the corresponding transmission channel is confirmed;
and the nodes of the Internet of things transmit data through corresponding transmission channels in the transmission time period.
2. The method of claim 1, wherein the transmission period comprises a plurality of equal length time slots;
correspondingly, the data transmission is performed by the internet of things node through the corresponding transmission channel in the transmission time period, and the method includes:
and the nodes of the Internet of things broadcast and send requests in the transmission channels corresponding to the transmission time periods, and perform data transmission through the corresponding transmission channels after receiving cancellation requests responding to the sending requests.
3. The method of claim 2, wherein the nodes of the internet of things perform data transmission through corresponding transmission channels during the transmission period, further comprising:
and the nodes of the Internet of things broadcast and send requests in the transmission channels corresponding to the transmission time periods, and if a cancellation request responding to the sending request is not received, data transmission is carried out through the corresponding transmission channels after one or more equal-length time slots are delayed.
4. The method of claim 1, further comprising:
and the nodes of the Internet of things monitor the signal transmission state of each channel in an idle period, and update the idle channel information according to the signal transmission state.
5. A data transmission apparatus based on channel contention, comprising:
the information acquisition unit is used for acquiring recorded idle channel information before the transmission time period of the nodes of the Internet of things starts, wherein the idle channel information is used for recording the information of idle channels in the Internet of things before the transmission time period;
the channel allocation unit is used for selecting a candidate channel for countdown in a contention time slot and broadcasting a channel locking message when the countdown is finished when the Internet of things node with the transmission task in the transmission period does not uniquely correspond to the idle channel; the countdown duration is determined according to the data volume of the data to be transmitted, and the channel locking message is used for confirming that the candidate channel is a transmission channel corresponding to the Internet of things node and informing other Internet of things nodes;
the candidate switching unit is used for updating the candidate channels based on the remaining idle channels and continuously counting down until the corresponding transmission channels are confirmed by the nodes of the internet of things receiving the channel locking message;
and the data transmission unit is used for transmitting data by the nodes of the Internet of things through corresponding transmission channels in the transmission time period.
6. The apparatus of claim 5, wherein the transmission period comprises a plurality of equal length time slots;
correspondingly, the data transmission unit includes:
and the first transmission module is used for broadcasting a sending request by the internet of things node in a transmission channel corresponding to the transmission time interval, and after receiving a cancellation request responding to the sending request, transmitting data through the corresponding transmission channel.
7. The apparatus of claim 6, wherein the data transmission unit further comprises:
and the second transmission module is used for broadcasting a sending request by the node of the Internet of things in a transmission channel corresponding to the transmission time interval, and if a cancellation request responding to the sending request is not received, carrying out data transmission through the corresponding transmission channel after delaying one or more equal-length time slots.
8. The apparatus of claim 5, further comprising:
and the channel monitoring unit is used for monitoring the signal transmission state of each channel by the nodes of the Internet of things in idle time and updating the idle channel information according to the signal transmission state.
9. The Internet of things network system is characterized by comprising a plurality of Internet of things nodes, wherein the Internet of things nodes all comprise:
one or more processors;
a memory for storing one or more programs;
the one or more programs, when executed by the one or more processors, cause the internet of things network system to implement the channel contention-based data transmission method according to any one of claims 1 to 4.
10. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out a method for channel contention based data transmission according to any one of claims 1 to 4.
CN202011516391.4A 2020-12-21 2020-12-21 Data transmission method, device, system and storage medium based on channel competition Pending CN113543359A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011516391.4A CN113543359A (en) 2020-12-21 2020-12-21 Data transmission method, device, system and storage medium based on channel competition

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011516391.4A CN113543359A (en) 2020-12-21 2020-12-21 Data transmission method, device, system and storage medium based on channel competition

Publications (1)

Publication Number Publication Date
CN113543359A true CN113543359A (en) 2021-10-22

Family

ID=78124206

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011516391.4A Pending CN113543359A (en) 2020-12-21 2020-12-21 Data transmission method, device, system and storage medium based on channel competition

Country Status (1)

Country Link
CN (1) CN113543359A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114828286A (en) * 2022-05-07 2022-07-29 长沙师范学院 Big data processing method and system of Internet of things
CN114916089A (en) * 2022-05-11 2022-08-16 南方电网科学研究院有限责任公司 Node data transmission method and device, electronic equipment and storage medium
CN117956014A (en) * 2024-03-27 2024-04-30 四川省建筑设计研究院有限公司 Method and system for improving control and feedback instantaneity of Internet of things equipment

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114828286A (en) * 2022-05-07 2022-07-29 长沙师范学院 Big data processing method and system of Internet of things
CN114916089A (en) * 2022-05-11 2022-08-16 南方电网科学研究院有限责任公司 Node data transmission method and device, electronic equipment and storage medium
CN114916089B (en) * 2022-05-11 2024-05-28 南方电网科学研究院有限责任公司 Node data transmission method, wireless transmission system and storage medium
CN117956014A (en) * 2024-03-27 2024-04-30 四川省建筑设计研究院有限公司 Method and system for improving control and feedback instantaneity of Internet of things equipment

Similar Documents

Publication Publication Date Title
JP7317824B2 (en) Information transmission/reception method and device
CN113543359A (en) Data transmission method, device, system and storage medium based on channel competition
US11317408B2 (en) Method and device for allocating resources, user equipment, base station and readable storage medium
US12022434B2 (en) Resource selection method and device
KR20220150989A (en) Resource selection method and terminal device
CN101946552B (en) Wireless communications method, base station apparatus and wireless communication system
JP5855260B2 (en) Method and apparatus for distributed media access in a wireless peer-to-peer network
WO2021155756A1 (en) Information determination method and device, receiving method and device, communication node, and storage medium
WO2022151908A1 (en) Resource allocation method, resource selection method, device, and storage medium
CN112770271B (en) Data transmission method, device, system and storage medium based on information broadcast
CN111836312B (en) Resource reservation method and equipment based on competition
WO2024067797A1 (en) Information transmission method, first communication node, second communication node, and storage medium
CN112770270A (en) Data transmission method, device, system and storage medium based on channel reservation
CN114189903A (en) Channel allocation method, device, system and storage medium based on channel state
CN112600730B (en) Data transmission method, device, system and storage medium based on channel detection
CN112600702B (en) Data transmission method, device, system and storage medium based on competition mechanism
US8149803B2 (en) Apparatus for a beacon-enabled wireless network, transmission time determination method, and tangible machine-readable medium thereof
CN114006864B (en) Channel scheduling method, device, system and storage medium based on time equalization
CN112600732A (en) Data transmission method, device and system based on data margin and storage medium
CN112601291A (en) Low-conflict access method, device, system and storage medium based on channel detection
US20230327928A1 (en) Symbol reservation, inquiry, and notification methods, first node, second node, and medium
CN113923606B (en) Time-first-based transmission reservation method, device, system and storage medium
CN113543358A (en) Data transmission method, device, system and storage medium based on channel pre-allocation
US8879422B2 (en) Fairness provision via controlling a transmission opportunity window in a wireless mesh network
US8792463B2 (en) Method for managing a distribution of bandwidth in a communications network, corresponding storage means and slave node

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