Channel allocation method, device, system and storage medium based on channel status

By obtaining real-time idle channel information and channel allocation according to the maximum transmission gain rule, dynamically adjusting the number of channels, the problem of data transmission conflict after channel allocation in the Internet of Things network is solved, and spectrum utilization and channel efficiency are improved.

CN114189903BActive Publication Date: 2025-06-06TECH IMAGE TECH (NANJING) CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202111263766.5
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Priority Date
2020-12-23
Filing Date
2021-10-26
Publication Date
2025-06-06
Estimated Expiration
2041-10-26

AI Technical Summary

Technical Problem

There are many conflicts in the transmission of actual data after channel allocation in the Internet of Things network, especially during peak data transmission periods, nodes compete more fiercely for channels, and the frequency of transmission conflicts may occur.

Method used

By obtaining recorded idle channel information before the transmission period of the IoT node begins, channel allocation is confirmed according to the preset transmission gain maximum rule, and the number of channels is dynamically adjusted within the bandwidth allowable range to reduce the probability of conflict.

Benefits of technology

It effectively reduces the probability of collision during actual data transmission after channel allocation, and improves spectrum utilization and channel efficiency.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114189903B_ABST
    Figure CN114189903B_ABST
Patent Text Reader

Abstract

The embodiment of the present invention discloses a channel allocation method, device, Internet of Things system and storage medium based on channel status. The method includes: obtaining recorded idle channel information before the start of the transmission period of the Internet of Things node, the idle channel information is used to record the information of the idle channels in the Internet of Things before the transmission period; confirming the number of idle channels recorded in the idle channel information; confirming the allocation of idle channels corresponding to the Internet of Things node according to the preset maximum transmission gain rule to confirm the transmission channel corresponding to the Internet of Things node; when the number of Internet of Things nodes with transmission tasks meets the preset requirements, the bandwidth is reallocated within the maximum bandwidth range to increase the number of channels; the Internet of Things node transmits data through the corresponding transmission channel during the transmission period. Based on the maximum transmission gain rule, the idle channels and Internet of Things nodes are allocated for the transmission requirements with possible allocation, so as to reduce the probability of conflict during actual data transmission after channel allocation.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] Embodiments of the present invention relate to the field of network technology, and in particular to a channel allocation method, device, system and storage medium based on channel status. Background Art

[0002] As the demand for wireless communication applications continues to expand, spectrum as a resource is becoming increasingly scarce under the continuously expanding application demand. Conventional spectrum mainly adopts a fixed allocation method, which results in serious resource waste and low spectrum utilization. In view of the drawbacks of fixed spectrum allocation, in order to optimize and improve spectrum utilization, it is best to enable each node in the wireless communication network to have learning capabilities, to be able to interact with the surrounding environment, to perceive and utilize the available spectrum in the space, and to limit and reduce the occurrence of conflicts.

[0003] As a specific implementation form of wireless communication network, the existing Internet of Things also refers to the learning mechanism to improve the utilization of spectrum by interacting with the surrounding environment.

[0004] When the inventors optimized the utilization of spectrum based on learning perception in the Internet of Things, they found that in the existing Internet of Things application scenarios, there were blind spots in the interactive transmission of environmental information between nodes, which may lead to incomplete perception of environmental information. The number of channels remained fixed, resulting in transmission conflicts of actual data after channel allocation. Especially during the peak period of data transmission, the competition for channels among Internet of Things nodes was more intense, and more transmission conflicts were likely to occur. Summary of the invention

[0005] The present invention provides a channel allocation method, device, system and storage medium based on channel status to solve the technical problem of transmission conflict of actual data after channel allocation in the Internet of Things network in the prior art.

[0006] In a first aspect, an embodiment of the present invention provides a channel allocation method based on a channel state, comprising:

[0007] Acquire recorded idle channel information before the start of a transmission period of the Internet of Things node, wherein the idle channel information is used to record information of idle channels in the Internet of Things before the transmission period;

[0008] Confirming the number of idle channels recorded in the idle channel information;

[0009] Confirming the allocation of the idle channel to the IoT node according to a preset maximum transmission gain rule to confirm the transmission channel corresponding to the IoT node;

[0010] When the number of IoT nodes with transmission tasks exceeds the number of idle channels and reaches a first threshold value and the continuous transmission period reaches a second threshold value, the bandwidth is reallocated within the maximum bandwidth range to increase the number of channels;

[0011] The Internet of Things node transmits data through the corresponding transmission channel during the transmission period.

[0012] Furthermore, the method further comprises:

[0013] When the number of IoT nodes with transmission tasks is lower than the third threshold value and the continuous transmission period reaches the fourth threshold value, the bandwidth is reallocated within the maximum bandwidth range to reduce the number of channels.

[0014] Furthermore, a backup bandwidth range is provided within the maximum bandwidth range;

[0015] Correspondingly, the added channels are allocated from the spare bandwidth range.

[0016] Further, the transmission period includes a plurality of time slots of equal length;

[0017] Correspondingly, the IoT node transmits data through the corresponding transmission channel during the transmission period, including:

[0018] The Internet of Things node broadcasts a sending request on a transmission channel corresponding to the transmission period, and after receiving a cancellation request in response to the sending request, performs data transmission through the corresponding transmission channel.

[0019] Furthermore, the IoT node transmits data through the corresponding transmission channel during the transmission period, and further includes:

[0020] The IoT node broadcasts a sending request on the transmission channel corresponding to the transmission period, and if no cancellation request in response to the sending request is received, transmits data through the corresponding transmission channel after delaying one or more equal-length time slots.

[0021] Furthermore, the method further comprises:

[0022] The Internet of Things node monitors the signal transmission status of each channel during an idle period, and updates the idle channel information according to the signal transmission status.

[0023] In a second aspect, an embodiment of the present invention further provides a channel allocation device based on a channel state, comprising:

[0024] An information acquisition unit, used to acquire recorded idle channel information before the start of a transmission period of an Internet of Things node, wherein the idle channel information is used to record information of idle channels in the Internet of Things before the transmission period;

[0025] A quantity confirmation unit, used to confirm the number of idle channels recorded in the idle channel information;

[0026] A channel allocation unit, configured to confirm the allocation of the idle channel to the IoT node according to a preset maximum transmission gain rule, so as to confirm the transmission channel corresponding to the IoT node;

[0027] A bandwidth allocation unit, configured to reallocate bandwidth within a maximum bandwidth range to increase the number of channels when the number of IoT nodes with transmission tasks exceeds the number of idle channels and reaches a first threshold value and the continuous transmission period reaches a second threshold value;

[0028] The data transmission unit is used for the IoT node to transmit data through the corresponding transmission channel during the transmission period.

[0029] Furthermore, the device further comprises:

[0030] The channel correction unit is used to reallocate bandwidth within the maximum bandwidth range to reduce the number of channels when the number of IoT nodes with transmission tasks is lower than a third threshold value and the continuous transmission period reaches a fourth threshold value.

[0031] Furthermore, a backup bandwidth range is provided within the maximum bandwidth range;

[0032] Correspondingly, the added channels are allocated from the spare bandwidth range.

[0033] Further, the transmission period includes a plurality of time slots of equal length;

[0034] Correspondingly, the data transmission unit includes:

[0035] The first transmission module is used for the Internet of Things node to broadcast a sending request on the transmission channel corresponding to the transmission period, and after receiving a cancellation request in response to the sending request, to transmit data through the corresponding transmission channel.

[0036] Furthermore, the data transmission unit further includes:

[0037] The second transmission module is used for the Internet of Things node to broadcast a sending request on the transmission channel corresponding to the transmission time period, and if no cancellation request is received in response to the sending request, data transmission is performed through the corresponding transmission channel after delaying one or more equal-length time slots.

[0038] Furthermore, the device further comprises:

[0039] The channel monitoring unit is used for the IoT node to monitor the signal transmission status of each channel during an idle period and update the idle channel information according to the signal transmission status.

[0040] 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, wherein the plurality of Internet of Things nodes each include:

[0041] one or more processors;

[0042] A memory for storing one or more programs;

[0043] When the one or more programs are executed by the one or more processors, the Internet of Things network implements the channel allocation method based on channel status as described in any one of the first aspects.

[0044] In a fourth aspect, an embodiment of the present invention further provides a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the channel allocation method based on channel status as described in the first aspect.

[0045] The above-mentioned channel allocation method, device, network system and storage medium based on channel status obtain recorded idle channel information before the transmission period of the Internet of Things node begins, and the idle channel information is used to record the information of idle channels in the Internet of Things before the transmission period; confirm the number of idle channels recorded in the idle channel information; confirm the allocation of the idle channels corresponding to the Internet of Things node according to the preset maximum transmission gain rule to confirm the transmission channel corresponding to the Internet of Things node; when the number of Internet of Things nodes with transmission tasks exceeds the number of idle channels and reaches the first threshold value and the continuous transmission period reaches the second threshold value, the bandwidth is reallocated within the maximum bandwidth range to increase the number of channels; the Internet of Things node transmits data through the corresponding transmission channel during the transmission period. In this scheme, by obtaining the idle channel information recorded in real time, the idle channels and Internet of Things nodes are allocated for the transmission requirements with possible allocation based on the preset maximum transmission gain rule, so as to reduce the probability of conflict during actual data transmission after channel allocation. BRIEF DESCRIPTION OF THE DRAWINGS

[0046] Figure 1 A flow chart of a channel allocation method based on channel status provided in Embodiment 1 of the present invention;

[0047] Figure 2 A schematic diagram of the structure of a channel allocation device based on channel status provided in Embodiment 2 of the present invention;

[0048] Figure 3 A schematic diagram of the structure of an Internet of Things node device provided in Embodiment 3 of the present invention. DETAILED DESCRIPTION

[0049] The present invention will be further described in detail below in conjunction with the accompanying drawings and embodiments. It is to be understood that the specific embodiments described herein are used to explain the present invention, rather than to limit the present invention. It should also be noted that, for ease of description, only the parts related to the present invention, rather than all structures, are shown in the accompanying drawings.

[0050] It should be noted that due to space limitations, this application description does not list all optional implementation methods. After reading this application description, those skilled in the art should be able to understand that as long as the technical features do not contradict each other, any combination of technical features can constitute an optional implementation method.

[0051] Each embodiment is described in detail below.

[0052] Embodiment 1

[0053] Figure 1 A flow chart of a channel allocation method based on channel status provided in Embodiment 1 of the present invention. The channel allocation method based on channel status provided in the embodiment can be executed by various operating devices (mainly IoT node devices) for channel allocation based on channel status, and the operating device can be implemented by software and / or hardware, and the operating device can be composed of two or more physical entities, or can be composed of one physical entity.

[0054] Specifically, refer to Figure 1 , the channel allocation method based on channel status specifically includes:

[0055] Step S101: obtaining recorded idle channel information before the start of a transmission period of an Internet of Things node, wherein the idle channel information is used to record information of idle channels in the Internet of Things before the transmission period.

[0056] The idle channel information is updated in real time, which records the relevant information of the current idle channel, mainly including the idle channel identification, the frequency band corresponding to the idle channel, the gain of each IoT node corresponding to the idle channel, the signal transmission strength, etc.

[0057] Step S102: confirming the number of idle channels recorded in the idle channel information.

[0058] According to the specific data transmission needs, the data of the IoT nodes currently actually transmitting and the number of channels in use will change dynamically. During this dynamic change, when the IoT nodes need to transmit data, the number of idle channels recorded in the idle channel information may be more or less. Different numbers of idle channels can meet different transmission needs, and corresponding channel allocation is required.

[0059] Step S103: confirming the allocation of the idle channel to the IoT node according to a preset maximum transmission gain rule, so as to confirm the transmission channel corresponding to the IoT node.

[0060] In the specific allocation process, there is a simple channel allocation method that does not require balancing, that is, there is only one correspondence between IoT nodes with transmission tasks and idle channels. Specifically, it is divided into two situations. The first situation is that there is currently a transmission demand for an IoT node, but the number of idle channels recorded in the idle channel information is 0, and it is impossible to allocate idle channels for the IoT node to meet its transmission demand, and it can only wait for the next transmission period; the second situation is that there is currently an IoT node with a transmission demand, and the number of idle channels recorded in the idle channel information is 1. At this time, the idle channel can be directly allocated to the IoT node to meet its transmission demand.

[0061] In this scheme, what needs to be focused on is the channel allocation method that can be used if the current idle channel is not the only corresponding to the IoT node with a transmission task. In general, it is divided according to the preset maximum transmission gain rule. Generally speaking, there are three specific situations. The first situation is that an IoT node has a transmission task and multiple idle channels at the same time. At this time, the one with the largest transmission gain among the multiple idle channels can be allocated as the transmission channel of the IoT node; the second situation is that multiple IoT nodes have transmission tasks and there is only one idle channel at the same time. At this time, the transmission gains of multiple IoT nodes in the idle channel are compared, and the idle channel is allocated to the IoT node with the largest transmission gain; the third situation is that multiple IoT nodes have transmission tasks and multiple idle channels at the same time. At this time, all IoT nodes are allocated transmission channels (the number of IoT nodes is less than or equal to the number of idle channels) or all idle channels are allocated to some IoT nodes as transmission channels (the number of IoT nodes is greater than the number of idle channels). The specific allocation principle is that the sum of all corresponding transmission gains is the largest. For example, there is currently an IoT node A, whose corresponding transmission gains for idle channels A, B and C are 1.1, 1.4 and 1.2 respectively; an IoT node B, whose corresponding transmission gains for idle channels A, B and C are 1.0, 1.5 and 1.1 respectively; an IoT node C, whose corresponding transmission gains for idle channels A, B and C are 1.3, 1.2 and 1.4 respectively. During random allocation, there are a total of six allocation methods, of which there are two allocation methods with total transmission gains of 4.0, 3.8 and 3.4 respectively.

[0062] For the above three specific situations, if there are two allocation methods with the highest total transmission gain, random allocation is performed. For example, in the specific example of the third situation, if the total transmission gain of the two allocation methods is 4.0, then any one allocation method can be selected; for example, in the first and second situations, if there is an IoT node corresponding to multiple idle channels with the largest transmission gain, or an idle channel corresponding to multiple IoT nodes with the largest transmission gain, then the IoT node is randomly allocated an idle channel with the largest transmission gain, or the idle channel is randomly allocated to an IoT node with the largest transmission gain.

[0063] Step S104: When the number of IoT nodes with transmission tasks exceeds the number of idle channels and reaches a first threshold value and the continuous transmission period reaches a second threshold value, the bandwidth is reallocated within the maximum bandwidth range to increase the number of channels.

[0064] When implementing this solution, if there are a large number of IoT nodes that have data transmission requirements for a long period of time, more channels are needed to ensure the normal transmission of data. The specific judgment standard for a large number is that the number of IoT nodes with transmission tasks exceeds the number of idle channels to reach the first threshold value, and the long period of time is that the transmission period during which this excess state continues reaches the second threshold value, that is, if the idle channels cannot meet the requirements of IoT nodes with transmission tasks in multiple consecutive transmission periods and the difference reaches the preset threshold value, it is confirmed that the number of channels needs to be increased, and the number of channels is increased by reallocating the bandwidth. Specifically, there are two ways. The first is to reallocate the total maximum bandwidth range, increase the number of channels, and respond by reducing the bandwidth of a single channel; the second is to set a spare bandwidth range within the maximum bandwidth range; the spare bandwidth range generally does not carry out data transmission, but when channels need to be added, the added channels are allocated from the spare bandwidth range. It should be noted that the increase in channels is not unlimited. At least the basic transmission speed of each channel must be guaranteed. That is to say, if the number of channels reaches the set limit, even if there are more IoT nodes with data transmission tasks in the entire IoT network, channels will not be added to avoid reducing the bandwidth of a single channel and the resulting slow transmission speed of a single channel.

[0065] Corresponding to the adjustment process of increasing the number of channels in step S104, the present solution may further include:

[0066] Step S1041: when the number of IoT nodes with transmission tasks is lower than the third threshold value and the continuous transmission period reaches the fourth threshold value, the bandwidth is reallocated within the maximum bandwidth range to reduce the number of channels.

[0067] Corresponding to the increase in the number of channels in step S104, when the number of IoT nodes with transmission tasks decreases, the idle channels can always meet the data transmission needs of the IoT nodes, then the bandwidth can be reallocated to reduce the number of channels. The allocation process is the same as the increase process in principle, but the trend is opposite, so it is not repeated here. In addition, it should be emphasized that the processing can allocate bandwidth to reduce the number of channels by the absolute number of IoT nodes with transmission tasks, and can also allocate bandwidth to reduce the number of channels by the relative number of IoT nodes with transmission tasks, that is, to ensure that the difference between the number of idle channels and the number of IoT nodes with transmission tasks is within a certain range, and the number of channels gradually decreases as the number of IoT nodes with transmission tasks decreases. Of course, the number of channels will no longer continue to decrease after it decreases to a certain extent.

[0068] Step S105: The IoT node transmits data via the corresponding transmission channel during the transmission period.

[0069] The data transmission process of IoT nodes in normal state is basically similar to that of IoT, so no special explanation is given here. However, for some special cases, this solution further adjusts the data transmission process.

[0070] When performing transmission, in order to further eliminate transmission conflicts during actual data transmission, the transmission period includes a plurality of time slots of equal length;

[0071] Correspondingly, step S105 includes:

[0072] Step S1051: the IoT node broadcasts a sending request on a transmission channel corresponding to the transmission period, and after receiving a cancellation request in response to the sending request, transmits data through the corresponding transmission channel.

[0073] In specific implementation, step S105 may further include:

[0074] Step S1052: the IoT node broadcasts a sending request on the transmission channel corresponding to the transmission period, and if no cancellation request is received in response to the sending request, transmits data through the corresponding transmission channel after delaying one or more equal-length time slots.

[0075] When implementing the data transmission in the present solution, it is considered that the idle channel recorded in the idle channel information may be delayed. Therefore, during the specific data transmission, the IoT node currently assigned to the transmission channel will broadcast a transmission request before transmission to confirm whether the transmission channel is indeed idle and whether it can perform data transmission. If other nodes currently receive the transmission request in the transmission channel and respond with a cancellation request, indicating that it currently has no transmission task, it indicates that the transmission channel is available and the IoT node assigned to it can perform data transmission in the transmission channel. If other nodes receive the transmission request in the transmission channel but do not respond with a cancellation request, indicating that it currently occupies the transmission channel for data transmission, the IoT node will transmit data after a delay. The specific delay is in units of equal-length time slots, and one or more delays can be performed. If the delay time is reached before attempting to transmit again, the broadcast step needs to be performed again, and the transmission or continued delay is selected based on the feedback result.

[0076] In the specific implementation process, this solution further includes step S106.

[0077] Step S106: the IoT node monitors the signal transmission status of each channel during an idle period, and updates the idle channel information according to the signal transmission status.

[0078] Generally speaking, in an IoT network system, the total bandwidth is evenly divided into several parallel channels. Each parallel channel corresponds to an IoT node for data transmission in each transmission period. In the specific data transmission process, the length of a single data packet transmitted by all IoT nodes is equal. In addition, in this solution, each IoT node can monitor the signal transmission status of each channel. The specific monitoring solution has been implemented in many existing technologies and is a basic function of the learning mechanism in the wireless network. It will not be explained in detail here.

[0079] It should be noted that the step numbers mentioned in the embodiments of the present application do not represent a strict limitation on the order in which the steps are executed. As a network system that continuously and dynamically adjusts the connection relationship, the execution of each step performs the corresponding operation according to the current state or time period. For example, an IoT node may be idle for three consecutive time periods. Then, during these three consecutive idle time periods, the physical network node always executes step S106 to monitor the signal transmission status of each channel and updates the idle channel information accordingly. Before and after these three consecutive idle time periods are transmission periods. During the transmission period, the corresponding transmission information is confirmed through steps S101-S105 and data transmission is performed.

[0080] In the above, the recorded idle channel information is obtained before the transmission period of the IoT node begins, and the idle channel information is used to record the information of the idle channels in the IoT before the transmission period; the number of idle channels recorded in the idle channel information is confirmed; when the IoT node with a transmission task in the transmission period does not correspond exclusively to the idle channel, the allocation of the idle channel corresponding to the IoT node is confirmed according to the preset maximum transmission gain rule to confirm the transmission channel corresponding to the IoT node; the IoT node transmits data through the corresponding transmission channel during the transmission period. In this scheme, by obtaining the idle channel information recorded in real time, the idle channels and IoT nodes are allocated for the transmission requirements with possible allocation based on the preset maximum transmission gain rule, thereby reducing the probability of conflict during actual data transmission after channel allocation. In particular, for the method of sending requests by broadcasting in a specific transmission period, the transmission status of other IoT nodes is obtained, and whether data transmission needs to be delayed is confirmed according to the transmission status, which effectively avoids possible data conflicts in the specific transmission process.

[0081] Embodiment 2

[0082] Figure 2 This is a schematic diagram of the structure of a channel allocation device based on channel status provided by Embodiment 2 of the present invention. Figure 2 The channel allocation device based on the channel status includes: an information acquisition unit 210, a quantity confirmation unit 220, a channel allocation unit 230, a bandwidth allocation unit 240 and a data transmission unit 250.

[0083] Among them, the information acquisition unit 210 is used to acquire the recorded idle channel information before the start of the transmission period of the Internet of Things node, and the idle channel information is used to record the information of the idle channels in the Internet of Things before the transmission period; the number confirmation unit 220 is used to confirm the number of idle channels recorded in the idle channel information; the channel allocation unit 230 is used to confirm the allocation of the idle channel corresponding to the Internet of Things node according to the preset maximum transmission gain rule to confirm the transmission channel corresponding to the Internet of Things node; the bandwidth allocation unit 240 is used to reallocate the bandwidth within the maximum bandwidth to increase the number of channels when the number of Internet of Things nodes with transmission tasks exceeds the number of idle channels and reaches a first threshold value and the continuous transmission period reaches a second threshold value; the data transmission unit 250 is used for the Internet of Things node to transmit data through the corresponding transmission channel during the transmission period.

[0084] Based on the above embodiment, the device further includes:

[0085] The channel correction unit is used to reallocate bandwidth within the maximum bandwidth range to reduce the number of channels when the number of IoT nodes with transmission tasks is lower than a third threshold value and the continuous transmission period reaches a fourth threshold value.

[0086] Based on the above embodiment, a spare bandwidth range is set within the maximum bandwidth range;

[0087] Correspondingly, the added channels are allocated from the spare bandwidth range.

[0088] Based on the above embodiment, the transmission period includes a plurality of time slots of equal length;

[0089] Correspondingly, the data transmission unit includes:

[0090] The first transmission module is used for the Internet of Things node to broadcast a sending request on the transmission channel corresponding to the transmission period, and after receiving a cancellation request in response to the sending request, to transmit data through the corresponding transmission channel.

[0091] Based on the above embodiment, the data transmission unit further includes:

[0092] The second transmission module is used for the Internet of Things node to broadcast a sending request on the transmission channel corresponding to the transmission time period, and if no cancellation request is received in response to the sending request, data transmission is performed through the corresponding transmission channel after delaying one or more equal-length time slots.

[0093] Based on the above embodiment, the device further includes:

[0094] The channel monitoring unit is used for the IoT node to monitor the signal transmission status of each channel during an idle period and update the idle channel information according to the signal transmission status.

[0095] The channel allocation apparatus based on channel status provided in the embodiment of the present invention is included in the channel allocation device based on channel status, and can be used to execute any channel allocation method based on channel status provided in the above-mentioned embodiment 1, and has corresponding functions and beneficial effects.

[0096] Embodiment 3

[0097] Figure 3 A schematic diagram of the structure of an Internet of Things node device provided in Embodiment 3 of the present invention is shown in FIG. Figure 3 As shown, 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 processors 310 in the terminal device can be one or more. Figure 3A processor 310 is taken as an example; the processor 310, the memory 320, the input device 330, the output device 340 and the communication device 350 in the terminal device can be connected via a bus or other means. Figure 3 The example of connecting through bus is taken in the following.

[0098] The memory 320, as a computer-readable storage medium, can be used to store software programs, computer executable programs and modules, such as program instructions / modules corresponding to the channel allocation method based on channel status in the embodiment of the present invention (for example, the information acquisition unit 210, the quantity confirmation unit 220, the channel allocation unit 230, the bandwidth allocation unit 240 and the data transmission unit 250 in the channel allocation device based on channel status). The processor 310 executes various functional applications and data processing of the terminal device by running the software programs, instructions and modules stored in the memory 320, that is, realizes the above-mentioned channel allocation method based on channel status.

[0099] 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 and at least one application required for a function; the data storage area may store data created according to the use of the terminal device, etc. In addition, the memory 320 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one disk storage device, a flash memory device, or other non-volatile solid-state storage device. In some instances, the memory 320 may further include a memory remotely arranged relative to the processor 310, and these remote memories may be connected to the terminal device via a network. Examples of the above-mentioned network include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof.

[0100] The input device 330 may be used to receive input digital or character information and generate key signal input related to user settings and function control of the terminal device. The output device 340 may include a display device such as a display screen.

[0101] The above-mentioned terminal device includes a channel allocation device based on the channel state, which can be used to execute any channel allocation method based on the channel state and has corresponding functions and beneficial effects.

[0102] Embodiment 4

[0103] An embodiment of the present invention also provides a storage medium containing computer executable instructions, which, when executed by a computer processor, are used to perform relevant operations in the channel allocation method based on channel status provided in any embodiment of the present application, and have corresponding functions and beneficial effects.

[0104] Those skilled in the art should understand that the embodiments of the present application may be provided as methods, systems, or computer program products.

[0105] Therefore, the present application may take the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware. Moreover, the present application may take the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code. The present application is described with reference to the flowcharts and / or block diagrams of the methods, devices (systems), and computer program products according to the embodiments of the present application. It should be understood that each process and / or box in the flowchart and / or block diagram, as well as the combination of the processes and / or boxes in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to produce a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the functions in the process. Figure 1 A process or multiple processes and / or boxes Figure 1 These computer program instructions can also be stored in a computer-readable memory that can guide a computer or other programmable data processing device to work in a specific way, so that the instructions stored in the computer-readable memory produce a product including an instruction device, which implements the functions specified in the process. Figure 1 A process or multiple processes and / or boxes Figure 1 These computer program instructions can also be loaded onto a computer or other programmable data processing device, so that a series of operation steps are executed on the computer or other programmable device to produce a computer-implemented process, so that the instructions executed on the computer or other programmable device provide for implementing the process in the process. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.

[0106] In a typical configuration, a computing device includes one or more processors (CPU), input / output interfaces, network interfaces, and memory. The memory may include non-permanent memory in a computer-readable medium, random access memory (RAM) and / or non-volatile memory in the form of read-only memory (ROM) or flash RAM. The memory is an example of a computer-readable medium.

[0107] Computer readable media include permanent and non-permanent, removable and non-removable media that can be implemented by any method or technology to store information. Information can be computer readable instructions, data structures, program modules 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 disk read-only memory (CD-ROM), digital versatile disk (DVD) or other optical storage, magnetic cassettes, magnetic tape magnetic disk storage or other magnetic storage devices or any other non-transmission media that can be used to store information that can be accessed by a computing device. As defined herein, computer readable media does not include temporary computer readable media (transitory media), such as modulated data signals and carrier waves.

[0108] It should also be noted that the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, commodity or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, commodity or device. In the absence of more restrictions, the elements defined by the sentence "comprises a ..." do not exclude the existence of other identical elements in the process, method, commodity or device including the elements.

[0109] Note that the above are only preferred embodiments of the present invention and the technical principles used. Those skilled in the art will understand that the present invention is not limited to the specific embodiments described herein, and that various obvious changes, readjustments and substitutions can be made by those skilled in the art without departing from the scope of protection of the present invention. Therefore, although the present invention has been described in more detail through the above embodiments, the present invention is not limited to the above embodiments, and may include more other equivalent embodiments without departing from the concept of the present invention, and the scope of the present invention is determined by the scope of the appended claims.

Claims

1. A channel allocation method based on channel status, It is characterized in that include: Acquire recorded idle channel information before the start of a transmission period of the Internet of Things node, wherein the idle channel information is used to record information of idle channels in the Internet of Things before the transmission period; Confirming the number of idle channels recorded in the idle channel information; Confirming the allocation of the idle channel to the IoT node according to a preset maximum transmission gain rule to confirm the transmission channel corresponding to the IoT node; When the number of IoT nodes with transmission tasks exceeds the number of idle channels and reaches a first threshold value, and the continuous transmission period reaches a second threshold value, the bandwidth is reallocated within the maximum bandwidth range to increase the number of channels, wherein a spare bandwidth range is set within the maximum bandwidth range; correspondingly, the added channels are allocated from the spare bandwidth range; When the number of IoT nodes with transmission tasks is lower than the third threshold value and the continuous transmission period reaches the fourth threshold value, the bandwidth is reallocated within the maximum bandwidth range to reduce the number of channels; wherein, in the process of reducing the number of channels, the difference between the number of idle channels and the number of IoT nodes with transmission tasks is within a certain range, and the number of channels gradually decreases as the number of IoT nodes with the transmission tasks decreases; The Internet of Things node transmits data through the corresponding transmission channel during the transmission period.

2. The method according to claim 1, It is characterized in that The transmission period includes a plurality of time slots of equal length; Correspondingly, the IoT node transmits data through the corresponding transmission channel during the transmission period, including: The Internet of Things node broadcasts a sending request on a transmission channel corresponding to the transmission period, and after receiving a cancellation request in response to the sending request, performs data transmission through the corresponding transmission channel.

3. The method according to claim 2, It is characterized in that The Internet of Things node performs data transmission through the corresponding transmission channel during the transmission period, and further includes: The IoT node broadcasts a sending request on the transmission channel corresponding to the transmission period, and if no cancellation request in response to the sending request is received, transmits data through the corresponding transmission channel after delaying one or more equal-length time slots.

4. The method according to claim 1, It is characterized in that The method further comprises: The Internet of Things node monitors the signal transmission status of each channel during an idle period, and updates the idle channel information according to the signal transmission status.

5. A channel allocation device based on channel status, It is characterized in that include: An information acquisition unit, used to acquire recorded idle channel information before the start of a transmission period of an Internet of Things node, wherein the idle channel information is used to record information of idle channels in the Internet of Things before the transmission period; A quantity confirmation unit, used to confirm the number of idle channels recorded in the idle channel information; A channel allocation unit, configured to confirm the allocation of the idle channel to the IoT node according to a preset maximum transmission gain rule, so as to confirm the transmission channel corresponding to the IoT node; A bandwidth allocation unit, configured to reallocate bandwidth within a maximum bandwidth range to increase the number of channels when the number of IoT nodes with transmission tasks exceeds the number of idle channels and reaches a first threshold value and the continuous transmission period reaches a second threshold value, wherein a spare bandwidth range is provided within the maximum bandwidth range; correspondingly, the added channels are allocated from the spare bandwidth range; A channel correction unit, configured to reallocate bandwidth within a maximum bandwidth range to reduce the number of channels when the number of IoT nodes with transmission tasks is lower than a third threshold value and the continuous transmission period reaches a fourth threshold value, wherein in the process of reducing the number of channels, the difference between the number of idle channels and the number of IoT nodes with transmission tasks is within a certain range, and the number of channels gradually decreases as the number of IoT nodes with transmission tasks decreases; The data transmission unit is used for the Internet of Things node to transmit data through the corresponding transmission channel during the transmission period.

6. The device according to claim 5, It is characterized in that The transmission period includes a plurality of time slots of equal length; Correspondingly, the data transmission unit includes: The first transmission module is used for the Internet of Things node to broadcast a sending request on the transmission channel corresponding to the transmission period, and after receiving a cancellation request in response to the sending request, to transmit data through the corresponding transmission channel.

7. An Internet of Things network system, It is characterized in that The method comprises a plurality of IoT nodes, each of which comprises: one or more processors; A memory for storing one or more programs; When the one or more programs are executed by the one or more processors, the Internet of Things network system implements the channel allocation method based on channel status as described in any one of claims 1-4.

8. A computer-readable storage medium having a computer program stored thereon, It is characterized in that When the program is executed by a processor, the channel allocation method based on channel status as described in any one of claims 1 to 4 is implemented.