Time domain wireless resource scheduling method and device based on CSMA

By introducing the concepts of prohibited time slots and equivalent data packets into CSMA technology, the time resource usage of nodes is adjusted, which solves the signal conflict and delay problems caused by the increase in the number of nodes in CSMA technology, and achieves more efficient resource utilization and transmission. efficiency.

CN114126065BActive Publication Date: 2024-09-13湖南智领通信科技有限公司
View PDF 5 Cites 0 Cited by

Patent Information

Application Number
CN202111416746.7
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-11-25
Publication Date
2024-09-13
Estimated Expiration
2041-11-25

AI Technical Summary

Technical Problem

In Carrier Sense Multiple Access (CSMA) technology, the increase in the number of nodes leads to serious signal conflicts and an increase in access delay index, which cannot meet the requirements of future Internet of Everything communications.

Method used

By setting forbidden time slots in the data packet sequence, the node's time resource usage is adjusted to form equivalent data packets, and wireless resource scheduling is performed through CSMA to reduce the probability of conflict and improve energy efficiency.

Benefits of technology

It significantly reduces the probability of conflict between nodes, improves the energy efficiency of access, and reduces transmission delay, making it suitable for future Internet of Everything communication scenarios.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114126065B
    Figure CN114126065B
Patent Text Reader

Abstract

The present application relates to a method and device for scheduling wireless resources in a time domain based on CSMA. The method comprises: obtaining a sequence of data packets sent by multiple nodes to an external communication device; setting a prohibited time slot between each data packet in the data packet sequence to obtain an equivalent data packet; the prohibited time slot means that the node has sent a data packet and sends the next data packet after the prohibited time slot; when multiple nodes send a sequence of data packets to an external communication device, multiple nodes send equivalent data packets to the external communication device; wherein, the equivalent data packets of multiple nodes are scheduled for wireless resources through CSMA free competition. The use of this method can solve signal conflicts.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of data processing technology, and in particular to a CSMA-based time-domain wireless resource scheduling method, device, computer equipment and storage medium. Background Art

[0002] The commonly used access control method for multi-point shared channels is the "Carrier Sense Multiple Access (CSMA)" technology. CSMA requires each user to monitor the channel before sending data, and is allowed to send data only when the channel is idle. This can reduce the probability of conflicts. As described above, when the number of nodes is very large, this mechanism will cause very serious conflicts, and the access delay will also increase exponentially with the increase in the number of nodes. It is far from meeting the requirements of future Internet of Everything communications.

[0003] However, the current CSMA technology has a fatal flaw. In the CSMA protocol, all nodes use a competitive method to decide which node can transmit when there is data to be transmitted, and they compete for the same time and frequency resources. When there are fewer nodes, this method can quickly transmit a large amount of data, but when the number of nodes is very large, this mechanism will bring very serious conflict problems, and the access delay will also increase exponentially with the increase in the number of nodes. In the future smart homes or smart buildings, the number of nodes will increase rapidly, and the performance of traditional communication methods is far from meeting the requirements of future Internet of Everything communications. Summary of the invention

[0004] Based on this, it is necessary to provide a CSMA-based time-domain wireless resource scheduling method, device, computer equipment and storage medium that can solve signal conflicts in order to solve the above technical problems.

[0005] A time domain wireless resource scheduling method based on CSMA, the method comprising:

[0006] Obtaining a sequence of data packets sent by multiple nodes to an external communication device;

[0007] A prohibited time slot is set between each data packet in the data packet sequence to obtain an equivalent data packet; a prohibited time slot means that after a node sends a data packet, it sends the next data packet after the prohibited time slot;

[0008] When multiple nodes send a sequence of data packets to an external communication device, multiple nodes send equivalent data packets to the external communication device; wherein the equivalent data packets of multiple nodes are scheduled for wireless resources through CSMA free competition.

[0009] In one of the embodiments, the priority of the corresponding node in occupying time resources is increased by adjusting the prohibited time slot between each data packet in the data packet sequence.

[0010] In one of the embodiments, setting a prohibited time slot between each data packet in the data packet sequence includes: setting a prohibited time slot between each data packet in the data packet sequence by comprehensively analyzing the business data volume, network conflict conditions, and occupied time resources.

[0011] In one embodiment, the prohibited time slot indicates that the node has finished sending the data packet, and after the prohibited time slot, the next data packet is sent, including:

[0012] After each node sends a data packet, it needs to idle for a prohibited time slot before sending the second data packet.

[0013] In one embodiment, equivalent data packets refer to data packets having the same prohibited time slot.

[0014] In one embodiment, equal-value data packets of multiple nodes are scheduled for wireless resources through CSMA free competition, including:

[0015] When the first node and the second node compete for resources, if the second node fails, it will participate in the next competition. After the competition succeeds, it will wait for the prohibited time slot between the equivalent data packets of the first node to send, and so on, until all nodes have completed the competition and the time resource allocation converges.

[0016] A time-domain wireless resource scheduling device based on CSMA, the device comprising:

[0017] A data packet sequence acquisition module is used to acquire data packet sequences sent by multiple nodes to an external communication device;

[0018] A forbidden time slot setting module is used to set a forbidden time slot between each data packet in a data packet sequence to obtain an equivalent data packet; a forbidden time slot means that after a node sends a data packet, it sends the next data packet after the forbidden time slot time;

[0019] The wireless resource scheduling module is used for sending equivalent data packets to the external communication device when multiple nodes send data packet sequences to the external communication device; wherein the equivalent data packets of multiple nodes are scheduled for wireless resources through CSMA free competition.

[0020] A computer device comprises a memory and a processor, wherein the memory stores a computer program, and when the processor executes the computer program, the following steps are implemented:

[0021] Obtaining a sequence of data packets sent by multiple nodes to an external communication device;

[0022] A prohibited time slot is set between each data packet in the data packet sequence to obtain an equivalent data packet; a prohibited time slot means that after a node sends a data packet, it sends the next data packet after the prohibited time slot;

[0023] When multiple nodes send a sequence of data packets to an external communication device, multiple nodes send equivalent data packets to the external communication device; wherein the equivalent data packets of multiple nodes are scheduled for wireless resources through CSMA free competition.

[0024] A computer-readable storage medium stores a computer program, which, when executed by a processor, implements the following steps:

[0025] Obtaining a sequence of data packets sent by multiple nodes to an external communication device;

[0026] A prohibited time slot is set between each data packet in the data packet sequence to obtain an equivalent data packet; a prohibited time slot means that after a node sends a data packet, it sends the next data packet after the prohibited time slot;

[0027] When multiple nodes send a sequence of data packets to an external communication device, multiple nodes send equivalent data packets to the external communication device; wherein the equivalent data packets of multiple nodes are scheduled for wireless resources through CSMA free competition.

[0028] The above-mentioned CSMA-based time-domain wireless resource scheduling method, device, computer equipment and storage medium, the present invention readjusts each node to a different time resource by setting a prohibited time slot between each data packet in the node's data packet sequence, thereby greatly reducing the probability of conflict, thereby significantly improving the energy efficiency of node access and reducing transmission delay. BRIEF DESCRIPTION OF THE DRAWINGS

[0029] Figure 1 A schematic diagram of a flow chart of a time domain wireless resource scheduling method based on CSMA in an embodiment;

[0030] Figure 2 A schematic diagram of CSMA competition in one embodiment;

[0031] Figure 3 is a schematic diagram of a prohibited time slot in one embodiment;

[0032] Figure 4 A schematic diagram of improving the node contention priority by adjusting the prohibited time slot in one embodiment;

[0033] Figure 5 A schematic diagram of time resource convergence arrangement in one embodiment;

[0034] Figure 6It is a structural block diagram of a time domain wireless resource scheduling device based on CSMA in one embodiment;

[0035] Figure 7 FIG. 4 is a diagram showing the internal structure of a computer device in one embodiment. DETAILED DESCRIPTION

[0036] In order to make the purpose, technical solution and advantages of the present application more clearly understood, the present application is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.

[0037] In one embodiment, Figure 1 As shown, a time-domain wireless resource scheduling method based on CSMA is provided, comprising the following steps:

[0038] Step 102, obtaining a sequence of data packets sent by multiple nodes to an external communication device.

[0039] The data packet sequence contains multiple data packets. When a node sends a data packet, it needs to compete with the data packets of other nodes for the entire time resource. For example, Figure 2 As shown, node A and node B each need to send 3 data packets of different lengths. The two nodes compete for the entire time resource. After sending all the data packets, there are a total of 5 competitions for time resources between the two nodes.

[0040] Step 104, setting a prohibited time slot between each data packet in the data packet sequence to obtain an equivalent data packet; the prohibited time slot means that after the node sends the data packet, it sends the next data packet after the prohibited time slot time.

[0041] The present invention introduces a "forbidden time slot" function into the working time of each node, such as Figure 3 As shown in the figure, a forbidden time slot is set between each data packet in the data packet sequence. After each node sends a packet, it must be idle for a forbidden time slot and cannot participate in the competition for time resources. Therefore, when node B and node A do not compete for time resources in the first competition, they only need to wait for A's forbidden time slot to send.

[0042] Step 106, when multiple nodes send a sequence of data packets to an external communication device, multiple nodes send equivalent data packets to the external communication device; wherein the equivalent data packets of multiple nodes are scheduled for wireless resources through CSMA free competition.

[0043] When the number of nodes is N, each node will participate in the first competition at the first time, and the remaining nodes will participate in the second competition, and so on, until all nodes have completed the competition. At this time, the time resource allocation will converge. When each node sends a data packet again, because it is the "forbidden time slot" of other nodes, over time, there will be no competition.

[0044] The above-mentioned CSMA-based time-domain wireless resource scheduling method, the present invention readjusts each node to a different time resource by setting a prohibited time slot between each data packet in the node's data packet sequence, thereby greatly reducing the probability of conflict, thereby significantly improving the energy efficiency of node access and reducing transmission delay.

[0045] In one of the embodiments, the priority of the corresponding node in occupying time resources is increased by adjusting the prohibited time slot between each data packet in the data packet sequence.

[0046] The "forbidden time slot" introduced in the present invention is not to completely eliminate competition. When the C node has a large amount of business transmission or a high business emergency procedure, such as Figure 4 As shown in the figure, the "prohibited time" of node C can be lowered to allow node C to fully participate in the competition for time resources. Shortening the "prohibited time slot" can increase the chance of node competition, and increasing the "prohibited time slot" will reduce the time resources occupied by the node.

[0047] In one of the embodiments, setting a prohibited time slot between each data packet in the data packet sequence includes: setting a prohibited time slot between each data packet in the data packet sequence by comprehensively analyzing the business data volume, network conflict conditions, and occupied time resources.

[0048] In one embodiment, the prohibited time slot means that after a node sends a data packet, it sends the next data packet after the prohibited time slot, including: after each node sends a data packet, it needs to idle for a prohibited time slot before sending the second data packet.

[0049] In prohibited time slots, nodes do not participate in the competition for time resources.

[0050] In one embodiment, equivalent data packets refer to data packets having the same prohibited time slot.

[0051] In one embodiment, equal-value data packets of multiple nodes are scheduled for wireless resources through CSMA free competition, including:

[0052] When the first node and the second node compete for resources, if the second node fails, it will participate in the next competition. After the competition succeeds, it will wait for the prohibited time slot between the equivalent data packets of the first node to send, and so on, until all nodes have completed the competition and the time resource allocation converges.

[0053] For example, if A, B, and C are communicating, the node communication duration is set to a fixed value, and the prohibition duration can be set to twice the fixed value. In the competition state with CSMA function, after a period of free competition, the three nodes will automatically converge and arrange themselves into the following Figure 5 As shown, finding the convergence value can make full use of time resources without wasting time resources.

[0054] It should be understood that although Figure 1 The steps in the flowchart are shown in sequence as indicated by the arrows, but these steps are not necessarily executed in the order indicated by the arrows. Unless otherwise specified in this document, there is no strict order restriction for the execution of these steps, and these steps can be executed in other orders. Moreover, Figure 1 At least part of the steps may include multiple sub-steps or multiple stages. These sub-steps or stages are not necessarily executed at the same time, but can be executed at different times. The execution order of these sub-steps or stages is not necessarily sequential, but can be executed in turn or alternately with other steps or at least part of the sub-steps or stages of other steps.

[0055] In one embodiment, Figure 6 As shown, a time domain wireless resource scheduling device based on CSMA is provided, comprising: a data packet sequence acquisition module 602, a prohibited time slot setting module 604 and a wireless resource scheduling module 606, wherein:

[0056] The module 602 for obtaining a data packet sequence is used to obtain a data packet sequence sent by a plurality of nodes to an external communication device;

[0057] The module 604 for setting forbidden time slots is used to set forbidden time slots between each data packet in the data packet sequence to obtain equivalent data packets; the forbidden time slot means that after the node sends the data packet, the next data packet is sent after the forbidden time slot time;

[0058] The wireless resource scheduling module 606 is used for sending equivalent data packets to the external communication device when the multiple nodes send a data packet sequence to the external communication device; wherein the equivalent data packets of the multiple nodes are scheduled for wireless resources through CSMA free competition.

[0059] In one of the embodiments, the wireless resource scheduling module 606 is further configured to increase the priority of the corresponding node occupying the time resource by adjusting the prohibited time slot between each data packet in the data packet sequence.

[0060] In one embodiment, the module for setting forbidden time slots 604 is further used to set forbidden time slots between each data packet in the data packet sequence by comprehensively analyzing the service data volume, network conflict conditions, and occupied time resources.

[0061] In one embodiment, the prohibited time slot indicates that the node has finished sending the data packet, and after the prohibited time slot, the next data packet is sent, including:

[0062] After each node sends a data packet, it needs to idle for a prohibited time slot before sending the second data packet.

[0063] In one embodiment, equivalent data packets refer to data packets having the same prohibited time slot.

[0064] In one of the embodiments, the line resource scheduling module 606 is also used when the first node and the second node compete for resources. If the second node fails in the competition, it will participate in the next competition. After the competition is successful, it will wait for the prohibited time slot between the equivalent data packets of the first node to send, and so on, until all nodes have completed the competition and the time resource allocation converges.

[0065] For the specific definition of a time-domain wireless resource scheduling device based on CSMA, please refer to the definition of a time-domain wireless resource scheduling method based on CSMA above, which will not be repeated here. Each module in the above-mentioned time-domain wireless resource scheduling device based on CSMA can be implemented in whole or in part by software, hardware and a combination thereof. The above-mentioned modules can be embedded in or independent of the processor in the computer device in the form of hardware, or can be stored in the memory in the computer device in the form of software, so that the processor can call and execute the operations corresponding to the above modules.

[0066] In one embodiment, a computer device is provided. The computer device may be a terminal, and its internal structure diagram may be as follows: Figure 7As shown. The computer device includes a processor, a memory, a network interface, a display screen and an input device connected through a system bus. Among them, the processor of the computer device is used to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The network interface of the computer device is used to communicate with an external terminal through a network connection. When the computer program is executed by the processor, a time-domain wireless resource scheduling method based on CSMA is implemented. The display screen of the computer device can be a liquid crystal display screen or an electronic ink display screen, and the input device of the computer device can be a touch layer covered on the display screen, or a button, trackball or touchpad set on the computer device housing, or an external keyboard, touchpad or mouse, etc.

[0067] Those skilled in the art will understand that Figure 7 The structure shown in the figure is only a block diagram of a part of the structure related to the solution of the present application, and does not constitute a limitation on the computer device to which the solution of the present application is applied. The specific computer device may include more or fewer components than those shown in the figure, or combine certain components, or have a different arrangement of components.

[0068] In one embodiment, a computer device is provided, including a memory and a processor, wherein the memory stores a computer program, and the processor implements the steps of the method in the above embodiment when executing the computer program.

[0069] In one embodiment, a computer storage medium is provided, on which a computer program is stored. When the computer program is executed by a processor, the steps of the method in the above embodiment are implemented.

[0070] Those skilled in the art can understand that all or part of the processes in the above-mentioned embodiment methods can be completed by instructing the relevant hardware through a computer program, and the computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to memory, storage, database or other media used in the embodiments provided in this application can include non-volatile and / or volatile memory. Non-volatile memory can include read-only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM) or flash memory. Volatile memory can include random access memory (RAM) or external cache memory. As an illustration and not limitation, RAM is available in many forms, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double data rate SDRAM (DDRSDRAM), enhanced SDRAM (ESDRAM), synchronous link (Synchlink) DRAM (SLDRAM), memory bus (Rambus) direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM).

[0071] The technical features of the above embodiments may be combined arbitrarily. To make the description concise, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.

[0072] The above-mentioned embodiments only express several implementation methods of the present application, and the descriptions thereof are relatively specific and detailed, but they cannot be understood as limiting the scope of the invention patent. It should be pointed out that, for a person of ordinary skill in the art, several variations and improvements can be made without departing from the concept of the present application, and these all belong to the protection scope of the present application. Therefore, the protection scope of the patent of the present application shall be subject to the attached claims.

Claims

1. A time domain wireless resource scheduling method based on CSMA, It is characterized in that The method comprises: Obtaining a sequence of data packets sent by multiple nodes to an external communication device; A prohibited time slot is set between each data packet in the data packet sequence to obtain an equivalent data packet; the prohibited time slot indicates that the node has sent the data packet and sends the next data packet after the time of the prohibited time slot; When the multiple nodes send a sequence of data packets to an external communication device, the multiple nodes send the equivalent data packets to the external communication device; wherein the equivalent data packets of the multiple nodes are scheduled for wireless resources through CSMA free competition.

2. The method according to claim 1, It is characterized in that The method further comprises: The priority of the corresponding node occupying time resources is increased by adjusting the prohibited time slot between each data packet in the data packet sequence.

3. The method according to claim 2, It is characterized in that Setting a prohibited time slot between each data packet in the data packet sequence, comprising: A prohibited time slot is set between each data packet in the data packet sequence by comprehensively analyzing the business data volume, network conflict situation, and occupied time resources.

4. The method according to claim 3, It is characterized in that The prohibited time slot indicates that the node has finished sending the data packet, and after the time of the prohibited time slot, the next data packet is sent, including: After each node sends a data packet, it needs to idle for a prohibited time slot before sending the second data packet.

5. The method according to any one of claims 1 to 4, It is characterized in that The equivalent data packets refer to data packets having the same prohibited time slot.

6. The method according to claim 1, It is characterized in that The equivalent data packets of multiple nodes are scheduled for wireless resources through CSMA free competition, including: When the first node and the second node compete for resources, if the second node fails in the competition, it will participate in the next competition. After the competition succeeds, it will wait for the prohibited time slot between the equivalent data packets of the first node to send, and so on, until all nodes have completed the competition and the time resource allocation converges.

7. A time domain wireless resource scheduling device based on CSMA, It is characterized in that The device comprises: A data packet sequence acquisition module is used to acquire data packet sequences sent by multiple nodes to an external communication device; A forbidden time slot module is set, which is used to set a forbidden time slot between each data packet in the data packet sequence to obtain an equivalent data packet; the forbidden time slot means that the node sends the next data packet after sending the data packet and the time of the forbidden time slot; The wireless resource scheduling module is used for sending the equivalent data packets to the external communication device when the multiple nodes send the data packet sequence to the external communication device; wherein the equivalent data packets of the multiple nodes are scheduled for wireless resources through CSMA free competition.

8. A computer device comprising a memory and a processor, wherein the memory stores a computer program. It is characterized in that When the processor executes the computer program, the steps of the method according to any one of claims 1 to 6 are implemented.

9. A computer-readable storage medium having a computer program stored thereon, It is characterized in that When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 6 are implemented.

Citation Information

Patent Citations

  • Method and device for time slot allocation

    CN101572649A

  • Discrete channel access method based on CSMA competition and TDMA reservation

    CN108811001A

  • CSMA data communication method, and broadcast transmission node device and slave node device using method

    JP2005136881A

  • Nearly Collision-Free Channel Access System and Method

    US20080198815A1

  • Method and node for preventing collision between networks communicating based on CSMA / ca

    US20130188653A1