Self-adaptive access method and device of self-organizing network, equipment and medium
By comprehensively judging the physical layer and application layer information in the ad hoc network, the scheduler of the access control system access control system is used to adaptively select the access mode, which solves the problem that a single access method cannot take into account business needs, and achieves more flexible and efficient resource allocation.
Patent Information
- Application Number
- CN202510320450.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-03-18
- Publication Date
- 2025-05-27
AI Technical Summary
In a complex and changeable self-organized network environment, a single access method cannot take into account the diverse needs of different services for real-time and reliability, which limits the application scope and performance improvement of the network.
The scheduler of the access control system receives the measurement item information reported by the physical layer and the data transmission requirements of the application layer, and after comprehensive judgment, determines the current access method of the target service, and adaptively switches the access mode to select a suitable time division multiple access mode or conflict resolution mode.
It improves the flexibility and adaptability of the access method, realizes more accurate resource allocation, meets the diversified needs of different services for real-time and reliability, and improves the application scope and performance of the network.
Smart Images

Figure CN120050795A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of ad hoc networks, and particularly to an adaptive access method, device, equipment and medium for an ad hoc network. Background Art
[0002] In an ad hoc network, after a terminal synchronizes with the network, when there is data transmission at a higher layer, the selection of the transmission timing depends on the current mode of the network, and the presence or absence of an interference scenario also affects the transmission timing. Briefly speaking, generally there are two typical access methods. One is based on a pre-defined TDM (Time Division Multiple Access) mode, and data can only be transmitted in the allocated transmission time slot. The other is through the CSMA / CS (Carrier Sense Multiple Access / Collision Solution) mechanism. Before transmitting data, collision detection is first performed. In this way, no matter which mode is selected, in the complex and changeable ad hoc network environment, a single access method cannot take into account the diverse requirements of different services for real-time performance and reliability, which limits the application scope and performance improvement of the network. Summary of the Invention
[0003] In view of this, the purpose of the present invention is to provide an adaptive access method, device, equipment and medium for an ad hoc network, which can reasonably judge the current application mode and adaptively switch the access mode. The specific solutions are as follows:
[0004] In a first aspect, the present application discloses an adaptive access method for an ad hoc network, which is applied to an access control system and includes:
[0005] Receiving, by a scheduler of the access control system, measurement item information reported by a physical layer in an ad hoc network and a data transmission requirement of an application layer, so that the scheduler determines a current access method for a target service in the data transmission requirement based on the measurement item information and the data transmission requirement, and issues the current access method to an access control unit of the access control system;
[0006] When the current access method is a collision resolution mode, performing, by the access control unit, an access control process optimization measure on the target service, and after the control process optimization measure is completed, notifying a media access control unit of the access control system to execute an access process in the collision resolution mode;
[0007] When the current access method is a time division multiple access mode, notifying, by the access control unit, a media access control unit of the access control system to execute an access process in the time division multiple access mode.
[0008] Optionally, receiving, by the scheduler of the access control system, measurement item information reported by the physical layer in the ad hoc network and data transmission requirements of the application layer, includes:
[0009] Receiving, by the scheduler of the access control system, measurement item information about signal strength, signal quality, and channel state reported by the physical layer in the ad hoc network;
[0010] Receiving, by the scheduler of the access control system, data transmission requirements of the application layer in the ad hoc network;
[0011] Or, receiving data transmission requirements constructed from input information input by an external user in the ad hoc network.
[0012] Optionally, determining, based on the measurement item information and the data transmission requirements, the current access mode for the target service in the data transmission requirements, includes:
[0013] Determining the current access mode for the target service in the data transmission requirements based on the intensity measurement information of the signal strength, the quality measurement information of the signal quality, the utilization measurement information of the channel state, and the data transmission requirements.
[0014] Optionally, determining, based on the measurement item information and the data transmission requirements, the current access mode for the target service in the data transmission requirements, includes:
[0015] If the measurement item information and the data link layer information respectively meet the preset interference transmission condition and the preset conflict rate threshold condition, and the time-sensitive feature of the target service in the data transmission requirements meets the service real-time requirement, then determine that the current access mode for the target service in the data transmission requirements is the conflict resolution mode;
[0016] If there is any one or more of the measurement item information not meeting the preset interference transmission condition, the data link layer information not meeting the preset conflict rate threshold condition, and the time-sensitive feature of the target service in the data transmission requirements not meeting the service real-time requirement, then determine that the current access mode for the target service in the data transmission requirements is the time division multiple access mode.
[0017] Optionally, performing access control process optimization measures on the target service by the access control unit, includes:
[0018] Performing, by the access control unit, target service listening measures and network transmission protocol requirement measures on the target service in sequence.
[0019] Optionally, before the media access control unit of the access control system is notified by the access control unit to execute the access process in the time division multiple access mode, the following steps are further included:
[0020] The access control unit performs slot length definition, frame length definition, and guard interval measures on the target service.
[0021] Optionally, the execution of the access process in the time division multiple access mode includes:
[0022] Configure the physical layer driver to convert the slot information and superframe information defined by the access control unit for the target service into corresponding physical layer parameters through the physical layer driver, so as to implement the access process according to the physical layer parameters.
[0023] In a second aspect, the present application discloses an adaptive access device for an ad hoc network, which is applied to an access control system and includes:
[0024] An access mode determination module, configured to receive measurement item information reported by the physical layer in the ad hoc network and data transmission requirements of the application layer through a scheduler of the access control system, so that the scheduler determines the current access mode for the target service in the data transmission requirements based on the measurement item information and the data transmission requirements, and sends the current access mode to the access control unit of the access control system;
[0025] A first process optimization module, configured to, when the current access mode is the conflict resolution mode, perform access control process optimization measures on the target service through the access control unit, and notify the media access control unit of the access control system to execute the access process in the conflict resolution mode after the control process optimization measures are completed;
[0026] A second process optimization module, configured to, when the current access mode is the time division multiple access mode, notify the media access control unit of the access control system to execute the access process in the time division multiple access mode through the access control unit.
[0027] In a third aspect, the present application discloses an electronic device, including:
[0028] A memory, configured to store a computer program;
[0029] A processor, configured to execute the computer program to implement the steps of the adaptive access method for the ad hoc network disclosed above.
[0030] In a fourth aspect, the present application discloses a computer-readable storage medium, configured to store a computer program; wherein, when the computer program is executed by a processor, the steps of the adaptive access method for the ad hoc network disclosed above are implemented.
[0031] It can be seen that the present application discloses an adaptive access method for an ad hoc network, which is applied to an access control system and includes: receiving, by a scheduler of the access control system, measurement item information reported by a physical layer in the ad hoc network and data transmission requirements of an application layer, so that the scheduler determines a current access mode for a target service in the data transmission requirements based on the measurement item information and the data transmission requirements, and sending the current access mode to an access control unit of the access control system; when the current access mode is a conflict resolution mode, performing, by the access control unit, access control process optimization measures on the target service, and notifying, after completion of the control process optimization measures, a media access control unit of the access control system to execute an access process in the conflict resolution mode; when the current access mode is a time division multiple access mode, notifying, by the access control unit, the media access control unit of the access control system to execute an access process in the time division multiple access mode. Thus, it can be seen that the scheduler receives physical layer measurement item information and application layer data transmission requirements, and determines the current access mode of the target service through comprehensive judgment. This means that it is no longer limited to a single conflict resolution mode or time division multiple access, but flexibly selects according to the actual network conditions and service requirements, thereby improving the flexibility and adaptability of the access mode. The scheduler determines the access mode based on the information reported by the physical layer and the requirements of the application layer, changing the current situation of only making service judgments and resource allocations based on application layer information. Considering the physical layer measurement item information avoids waste or shortage of resources and realizes more accurate resource allocation. BRIEF DESCRIPTION OF THE DRAWINGS
[0032] In order to more clearly illustrate the technical solutions in the embodiments of the present invention or the prior art, the following will briefly introduce the drawings required for use in the description of the embodiments or the prior art. Obviously, the drawings in the following description are only the embodiments of the present invention. For those of ordinary skill in the art, other drawings can be obtained according to the provided drawings without creative efforts.
[0033] Figure 1 It is a flowchart of an adaptive access method for an ad hoc network disclosed in the present application;
[0034] Figure 2 It is a structural diagram of an access control system for an ad hoc network disclosed in the present application;
[0035] Figure 3 It is a flowchart of a specific adaptive access method for an ad hoc network disclosed in the present application;
[0036] Figure 4 It is a schematic structural diagram of an adaptive access device for an ad hoc network disclosed in the present application;
[0037] Figure 5 A structural diagram of an electronic device disclosed in this application. Specific implementation manners
[0038] Next, the technical solutions in the embodiments of the present application will be clearly and completely described in conjunction with the accompanying drawings in the embodiments of the present application. Obviously, the described embodiments are only a part of the embodiments of the present invention, rather than all the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those of ordinary skill in the art without creative efforts shall fall within the protection scope of the present invention.
[0039] In a self-organizing network, after the terminal synchronizes with the network, when there is data transmission at the upper layer, the selection of the transmission opportunity depends on the current network mode, and the presence or absence of an interference scenario will also affect the transmission opportunity. Briefly speaking, generally there are two typical access methods. One is based on the pre-defined TDM mode, and data can only be transmitted in the allocated transmission time slot; the other is through the CSMA / CS mechanism. Before transmitting data, collision detection is first performed. If the CSMA transmission conditions are met, then the data is transmitted. Both of these methods have their own advantages and disadvantages. The TDM mode is suitable for scenarios that require real-time performance, but it cannot detect the occurrence of collisions. In the presence of interference, if data is still transmitted according to the existing mode, data loss will occur; while the CSMA mechanism will perform carrier sensing before transmitting data, and only when the channel idle condition is met, will it trigger the transmission of data at an appropriate time. This mechanism can effectively avoid interference and transmit data, but this mechanism of listening first and then transmitting is difficult to meet the time requirements for scenarios that require real-time control.
[0040] Therefore, the present invention provides an adaptive access scheme for a self-organizing network, which can reasonably judge the current application mode and adaptively switch the access mode.
[0041] Refer to Figure 1 As shown, an adaptive access method for a self-organizing network disclosed in an embodiment of the present invention is applied to an access control system, and includes:
[0042] Step S11: Receive, by a scheduler of the access control system, measurement item information reported by a physical layer in a self-organizing network and a data transmission requirement of an application layer, so that the scheduler determines a current access mode for a target service in the data transmission requirement based on the measurement item information and the data transmission requirement, and send the current access mode to an access control unit of the access control system.
[0043] In this embodiment, the scheduler of the access control system receives the measurement item information about signal strength, signal quality, and channel state reported by the physical layer in the ad hoc network; the scheduler of the access control system receives the data transmission requirements from the application layer in the ad hoc network; or, it receives the data transmission requirements constructed from the input information input by external users in the ad hoc network. It can be understood that the scheduler in the access control system collects the measurement items reported by the physical layer in the ad hoc network, as well as the data transmission requirements from the application layer, and even can include the data transmission requirements constructed from the input information from the application layer; among them, the input information includes: analyzing the current service form, as well as known scenario patterns and other information, all of which can be used as the input information for the scheduler. Based on this type of information, the scheduler outputs the selection of the current access control method. It should be noted that the ad hoc network can be an unmanned aerial vehicle networking network, an emergency communication network, etc., and the corresponding data transmission requirements are the unmanned aerial vehicle measurement information transmission requirements and the emergency rescue data transmission requirements respectively. Among them, when the ad hoc network is an unmanned aerial vehicle networking network, the scheduler of the access control system on each unmanned aerial vehicle starts to work. The physical layer continuously monitors and reports the measurement item information, such as signal strength, channel quality, the relative position and speed information with other unmanned aerial vehicles (this will affect the communication delay and interference situation), etc. The application layer generates data transmission requirements according to the task types executed by the unmanned aerial vehicles (such as mapping, patrol, etc.), and these requirements include the requirements for the real-time and accuracy of data transmission. For example, when performing a mapping task, the unmanned aerial vehicle needs to transmit high-resolution image data in real time, with high requirements for bandwidth and real-time performance; while the patrol task may focus more on the stable transmission of position information and low-resolution video. In the emergency communication scenario, including the damage of the base stations in the disaster area, the emergency communication vehicles, the handheld devices of the rescue personnel, and various sensor devices, etc. form an ad hoc network. The scheduler also receives information from the physical layer and the application layer. The physical layer reports the measurement item information, such as the electromagnetic interference situation around the communication device, the signal strength of different frequency bands, the distance between devices, and the signal occlusion situation (these factors will affect the signal quality and transmission delay), etc. The application layer generates data transmission requirements according to different tasks of emergency rescue. For example, the transmission of medical rescue information has extremely high requirements for real-time and accuracy, while the transmission of material allocation information has relatively high requirements for reliability and relatively low requirements for real-time performance.
[0044] In this embodiment, based on the intensity measurement information of the signal strength, the quality measurement information of the signal quality, the utilization measurement information of the channel state, and the data transmission requirements, the current access mode for the target service in the data transmission requirements is determined. It can be understood that the scheduler judges the current access mode of the target service in the data transmission requirements according to the information jointly collected by multiple network layers such as the above physical layer and application layer. Specifically, if the measurement item information and the data link layer information respectively meet the preset interference transmission condition and the preset conflict rate threshold condition, and the time-sensitive feature of the target service in the data transmission requirements meets the service real-time requirement, it is determined that the current access mode for the target service in the data transmission requirements is the conflict resolution mode. It can be understood that if the signal strength of the physical layer is close to or lower than the acceptable minimum signal threshold (such as -90 dBm), the signal-to-noise ratio is less than the preset interference transmission condition of 10 dB, and the MAC layer conflict rate of the data link layer is greater than the preset conflict rate threshold (such as 10%), the frame transmission delay is greater than the preset delay time threshold (such as 80 milliseconds), the channel utilization rate is greater than the first preset utilization rate threshold (such as 80%) or less than the second preset utilization rate threshold (30%), and the time-sensitive feature of the target service is that the service real-time requirement is a non-real-time requirement, the current access mode is determined to be the conflict resolution mode. In this way, in the determination process of the test item information of the physical layer, the signal strength is weak, close to or lower than the acceptable minimum threshold (such as -90 dBm), and the signal-to-noise ratio is also low (such as less than 10 dB). In this case, the signal quality is poor, and using the TDM (Time Division Multiple Access) mode will cause a large number of data transmission errors due to signal instability, while the CS (Conflict Resolution) mode can detect the channel before sending and try to avoid interference periods as much as possible, improving the success rate of data transmission. Similarly, the MAC layer conflict rate is relatively high, exceeding a certain threshold (such as 10%). This indicates that there is fierce competition among devices in the network and channel conflicts occur frequently, and the TDM mode is difficult to ensure reliable data transmission. The CS mode can effectively reduce the occurrence of conflicts and improve the reliability of data transmission through the conflict detection mechanism. The frame transmission delay is large and fluctuates significantly, exceeding the tolerable range of the service, which indicates that the network environment is complex. Using the CS mode can dynamically adapt to network changes and reduce the impact of delay on the service. In the case of too high (such as greater than 80%) or too low (such as less than 30%) channel utilization rate, too high utilization rate indicates serious network congestion. Using the CS mode can send data when the channel is idle, avoiding excessive competition; too low utilization rate indicates that the channel resources are not fully utilized, and the CS mode can make devices compete for the channel more flexibly, improving resource utilization. The input information of the application layer shows that the service has relatively low requirements for real-time performance, such as file transfer, email sending, etc. These services allow a certain amount of delay and pay more attention to the integrity of data transmission. Although the CS mode has a certain random delay, it can make full use of channel resources on the premise of ensuring data accuracy.
[0045] In this embodiment, if any one or more of the measurement item information does not meet the preset interference transmission condition, the data link layer information does not meet the preset conflict rate threshold condition, and the time-sensitive feature of the target service in the data transmission requirement does not meet the service real-time requirement, it is determined that the current access mode for the target service in the data transmission requirement is the time division multiple access mode. It can be understood that, contrary to the above determination that the current access mode is the conflict resolution mode, when any one or more of the above conditions are not met, it is determined that the current access mode is the time division multiple access mode. In this way, through the above determination method, compared with the general process that only considers the information at the application layer and makes some judgments based on the upper layer of the application, the present invention combines some indicators of the physical layer and the MAC layer to make some joint judgments, so that the service judgment not only considers the influence of the upper layer requirements but also combines the actual scenario inferred based on the underlying reported parameters (for example: whether there is interference and other additional useful information). Each data transmission requirement is processed for mode judgment in the above manner. By comprehensively considering the physical layer and MAC layer indicators, the actual bearing capacity and resource utilization of the network can be more accurately evaluated. And considering that the requirements for network resources may be different in each service transmission requirement, the joint judgment can take into account both the upper layer service requirements and the actual situation of the underlying network. With the interference detection indicators of the physical layer and the MAC layer, if interference is detected, the access mode is adjusted in a timely manner, and a conflict detection and avoidance mechanism, such as the CSMA / CS mode, is adopted to reduce data transmission conflicts, ensure reliable data transmission in a complex network environment, reduce data loss and error rates, and enhance the stability of the network. For real-time services, the joint judgment can ensure that the TDM mode is adopted when the network conditions are met to ensure stable low-latency transmission; when the network conditions are poor, the strategy is adjusted in a timely manner to maintain the basic operation of the service and improve the reliability and user experience of real-time services in various network environments.
[0046] Step S12: When the current access mode is the conflict resolution mode, the access control unit executes an access control process optimization measure on the target service, so as to notify the media access control unit of the access control system to execute the access process in the conflict resolution mode after the control process optimization measure is completed.
[0047] In this embodiment, when the current access mode is the conflict resolution mode, the access control unit further performs access control process optimization measures on the target service. Specifically, when it is determined to be the conflict resolution mode and the target service is not a real-time service, the access control unit is responsible for the departure of the target real-time service to enter the conflict resolution mode. To enter the conflict resolution mode, the target service needs to complete the listening process and a series of processes required by the protocol, such as the back-off mechanism, before accessing. After completing the above access control process optimization measures, the forced conflict resolution mode in the media access unit is notified to execute the access process of the conflict resolution mode.
[0048] Step S13: When the current access mode is the time division multiple access (TDMA) mode, the access control unit notifies the media access control unit of the access control system to execute the access process of the TDMA mode.
[0049] In this embodiment, when the current access mode is the TDMA mode and the target service is a real-time service, the access control unit accesses the real-time service, and the access control unit allocates specific time slots for it according to the characteristics of the real-time service, such as the data volume size, transmission frequency, etc. For example, for the real-time high-definition video transmission service, due to its large data volume and the need for continuous and stable transmission, the access control unit will allocate continuous time slots with appropriate lengths to ensure that the video frame data can be transmitted on time and avoid stuttering or frame loss. In addition to time slots, the access control unit will also allocate other network resources, such as bandwidth, according to the service requirements. Ensure that the real-time service has sufficient bandwidth within the allocated time slots to transmit data, guaranteeing the real-time and smoothness of the service. Moreover, the access control unit will calculate a series of important parameters related to the TDM mode, including the time slot length, frame length, and guard interval. For the real-time voice call service, in order to meet the low-latency requirement, the access control unit will set a shorter time slot length to reduce the waiting time for data transmission; at the same time, according to the coding method and transmission rate of the voice data, determine the appropriate frame length to ensure that each frame of data can transmit the voice information completely; and will also reasonably set the guard interval according to the interference situation of the network environment and the device synchronization accuracy to prevent the signals of different time slots from interfering with each other and ensure the accuracy of data transmission. After the settings are completed, the set parameters and calculated parameters are sent to the time division multiple access unit of the media access control unit so that the time division multiple access unit can execute the access process of the TDMA mode according to the received parameters.
[0050] Refer to Figure 2 as shown in Figure 2The access control system of the present invention. In the access control system, the access control mechanism is the execution of actions by the scheduler and the access control unit. The access and departure control of the control unit comes from the output of the scheduler, and the media access control unit is used to receive the output of the access control unit. The media access control unit specifically further includes a time division multiple access unit and a forced collision resolution mode. For the execution work of each unit or module, please refer to the content of the foregoing disclosed embodiments, and will not be elaborated herein. In this way, the entire access control process adopts a modular design, and the scheduler, the access control unit, and the media access control unit each perform their own duties and work together. This structure makes the system easy to expand and maintain. When the network scale expands or the service type increases, only the corresponding module needs to be upgraded or adjusted, without affecting the operation of the entire system, improving the scalability of the system.
[0051] It can be seen that the present application discloses an adaptive access method for an ad hoc network, which is applied to an access control system, including: receiving, by the scheduler of the access control system, measurement item information reported by the physical layer in the ad hoc network and data transmission requirements of the application layer, so that the scheduler determines the current access mode for the target service in the data transmission requirements based on the measurement item information and the data transmission requirements, and sends the current access mode to the access control unit of the access control system; when the current access mode is the collision resolution mode, the access control unit executes access control process optimization measures for the target service, and after the completion of the control process optimization measures, notifies the media access control unit of the access control system to execute the access process of the collision resolution mode; when the current access mode is the time division multiple access mode, the access control unit notifies the media access control unit of the access control system to execute the access process of the time division multiple access mode. Thus, it can be seen that the scheduler receives the physical layer measurement item information and the application layer data transmission requirements, and determines the current access mode of the target service after comprehensive judgment. This means that it is no longer limited to a single collision resolution mode or time division multiple access, but flexibly selects according to the actual network conditions and service requirements, thereby improving the flexibility and adaptability of the access mode. The scheduler determines the access mode based on the information reported by the physical layer and the requirements of the application layer, changing the current situation of only making service judgments and resource allocations based on application layer information. Considering the physical layer measurement item information avoids resource waste or insufficiency and realizes more accurate resource allocation.
[0052] Refer to Figure 3 As shown, the embodiment of the present invention discloses a specific adaptive access method for an ad hoc network. Compared with the previous embodiment, this embodiment further explains and optimizes the technical solution. Specifically:
[0053] Step S21: Receive, by the scheduler of the access control system, the measurement item information reported by the physical layer in the ad hoc network and the data transmission requirements of the application layer, so that the scheduler determines the current access mode for the target service in the data transmission requirements based on the measurement item information and the data transmission requirements, and sends the current access mode to the access control unit of the access control system.
[0054] Among them, for the more detailed processing procedure in step S21, please refer to the content of the foregoing disclosed embodiments, and details will not be elaborated herein.
[0055] Step S22: When the current access mode is the conflict resolution mode, the access control unit sequentially executes the target service listening measure and the network transmission protocol requirement measure for the target service, so as to notify the media access control unit of the access control system to execute the access procedure of the conflict resolution mode after the control flow optimization measure is completed.
[0056] In this embodiment, the access control unit will immediately start the channel listening program. Continuously monitor the channel state, use a dedicated monitoring mechanism to perform an all-round scan of the channel, and determine whether the channel is occupied by other devices. If it is detected that the channel is in a busy state, the access control unit will activate the back-off mechanism. This mechanism will randomly generate a waiting time according to a pre-set algorithm. This setting of the random waiting time is to avoid multiple devices competing for the channel simultaneously, thereby reducing the probability of conflicts. During the waiting time, the access control unit will continuously monitor the channel state. Once the waiting time ends and the channel becomes idle, the access control unit will quickly perform channel detection again to confirm the stability of the channel idle state. At the same time, the access control unit will also perform a series of dynamic parameter adjustments. Specifically, according to the current network interference situation and service requirements, recalculate and adjust the data transmission rate. If the interference is relatively severe, the access control unit will appropriately reduce the transmission rate to ensure the accuracy of data transmission and reduce the error code and retransmission phenomena caused by high-speed transmission.
[0057] After completing the above series of access control process optimization measures, the access control unit will promptly send a notification signal to the media access control unit of the access control system. This notification signal carries the detailed information of the target service and the optimized access parameters. After receiving the notification, the media access control unit will quickly respond and execute the access process in the conflict resolution mode according to the received information. Specifically, the media access control unit will first configure the underlying driver according to the parameters provided by the access control unit. It will precisely adjust various parameters of the physical layer, such as signal strength, modulation method, etc., to ensure compatibility with the current network environment and service requirements. Then, the media access control unit will encapsulate and send the data of the target service in an orderly manner according to the rules of the conflict resolution mode. During the data transmission process, the media access control unit will continuously monitor the channel state. Once a conflict is detected, it will immediately adopt corresponding conflict resolution strategies, such as restarting the back-off mechanism or adjusting the transmission power, to ensure that the data can be successfully transmitted to the target node, thereby achieving stable access and reliable data transmission of the target service under the entire conflict resolution mode.
[0058] Step S23: When the current access mode is the time division multiple access mode, the access control unit is used to notify the media access control unit of the access control system to configure the physical layer driver, so as to convert the time slot information and superframe information defined by the access control unit for the target service into corresponding physical layer parameters through the physical layer driver, and implement the access process according to the physical layer parameters.
[0059] In this embodiment, before the access control unit notifies the media access control unit of the access control system to execute the access process in the time division multiple access mode, it further includes: the access control unit performs time slot length definition, frame length definition, and guard interval measures on the target service. It can be understood that the above time slot definition, length calculation, and frame length definition are all disclosed in the above embodiments. It should be noted that the design of the guard interval length is flexible and can be compatible with the implementation scheme of the physical layer. If the physical layer does not support a high-precision synchronization mechanism, then the design of the guard interval needs to leave a redundancy to ensure the reliability of synchronization. For example, if the frequency drift rate is x ppm and the synchronization period is set to T milliseconds, then the total offset of the guard interval is T * x * 1000 microseconds, which needs to be considered in the guard interval. Set the calculated parameters into the relevant network modules and devices to ensure that the entire network system operates according to these parameters. It will send parameters such as time slot length and frame length to the media access control unit and the physical layer driver, enabling them to perform data transmission and reception according to the requirements of the TDM mode. In addition, the access control unit will also optimize the frame length to ensure that each data frame can carry sufficient valid data without increasing the conflict risk during transmission due to being too long.
[0060] It can be seen that in the conflict resolution mode, the access control unit dynamically adjusts parameters such as the data transmission rate according to the network interference situation and service requirements; in the time division multiple access mode, key parameters such as the slot length, frame length, and guard interval are defined based on service characteristics such as the data volume and transmission frequency, ensuring the reasonable utilization of network resources and improving the network's adaptability to complex and changing environments and different service types. Moreover, in the conflict resolution mode, the access control unit effectively avoids conflicts caused by multiple devices competing for the channel simultaneously through starting the channel listening program and the back-off mechanism, reducing data transmission errors and retransmission phenomena; the media access control unit continuously monitors the channel state during data transmission, and once a conflict is detected, it can immediately take corresponding strategies to ensure that the data can be successfully transmitted to the target node, enhancing the reliability of data transmission. In the time division multiple access mode, the guard interval is reasonably set and adjusted according to the network environment interference situation and device synchronization accuracy to prevent signals in different time slots from interfering with each other, ensuring the accuracy of data transmission, guaranteeing the stable transmission of service data, and improving the stability of the network.
[0061] Refer to Figure 4 As shown, the present invention also correspondingly discloses an adaptive access device for an ad-hoc network, which is applied to an access control system and includes:
[0062] An access mode determination module 11, configured to receive the measurement item information reported by the physical layer in the ad-hoc network and the data transmission requirements of the application layer through the scheduler of the access control system, so that the scheduler determines the current access mode for the target service in the data transmission requirements based on the measurement item information and the data transmission requirements, and sends the current access mode to the access control unit of the access control system;
[0063] A first process optimization module 12, configured to, when the current access mode is the conflict resolution mode, execute access control process optimization measures for the target service through the access control unit, and notify the media access control unit of the access control system to execute the access process in the conflict resolution mode after the control process optimization measures are completed;
[0064] A second process optimization module 13, configured to, when the current access mode is the time division multiple access mode, notify the media access control unit of the access control system to execute the access process in the time division multiple access mode through the access control unit.
[0065] It can be seen that this application discloses receiving, by the scheduler of the access control system, measurement item information reported by the physical layer and data transmission requirements of the application layer in the ad hoc network, so that the scheduler determines the current access mode for the target service in the data transmission requirements based on the measurement item information and the data transmission requirements, and sends the current access mode to the access control unit of the access control system; when the current access mode is the conflict resolution mode, the access control unit is used to execute access control process optimization measures for the target service, so as to notify the media access control unit of the access control system to execute the access process in the conflict resolution mode after the control process optimization measures are completed; when the current access mode is the time division multiple access mode, the access control unit is used to notify the media access control unit of the access control system to execute the access process in the time division multiple access mode. Thus, it can be seen that the scheduler receives physical layer measurement item information and application layer data transmission requirements, and determines the current access mode of the target service after comprehensive judgment. This means that it is no longer limited to a single conflict resolution mode or time division multiple access, but flexibly selects according to the actual network conditions and service requirements, thereby improving the flexibility and adaptability of the access mode. The scheduler determines the access mode based on the information reported by the physical layer and the requirements of the application layer, changing the current situation of making service judgments and resource allocations only based on application layer information. Considering the physical layer measurement item information can avoid waste or shortage of resources and achieve more accurate resource allocation.
[0066] Furthermore, the embodiment of this application also discloses an electronic device Figure 5 is a structural diagram of an electronic device 20 shown according to an exemplary embodiment, and the content in the figure should not be considered as any limitation to the scope of use of this application.
[0067] Figure 5 is a schematic structural diagram of an electronic device 20 provided by an embodiment of this application. The electronic device 20 may specifically include: at least one processor 21, at least one memory 22, a power supply 23, a communication interface 24, an input / output interface 25, and a communication bus 26. Among them, the memory 22 is used to store a computer program, and the computer program is loaded and executed by the processor 21 to implement the relevant steps in the adaptive access method of the ad hoc network disclosed in any of the foregoing embodiments. In addition, the electronic device 20 in this embodiment may specifically be an electronic computer.
[0068] In this embodiment, the power supply 23 is used to provide operating voltages for the various hardware devices on the electronic device 20; the communication interface 24 can create a data transmission channel between the electronic device 20 and external devices, and the communication protocol it follows can be any communication protocol applicable to the technical solution of this application, and specific limitations are not imposed here; the input / output interface 25 is used to obtain external input data or output data to the outside, and its specific interface type can be selected according to specific application requirements, and no specific limitations are imposed here.
[0069] Among them, the processor 21 may include one or more processing cores, such as a 4-core processor, an 8-core processor, etc. The processor 21 can be implemented in at least one of the following hardware forms: DSP (Digital Signal Processing), FPGA (Field-Programmable Gate Array), and PLA (Programmable Logic Array). The processor 21 may also include a main processor and a coprocessor. The main processor is a processor used to process data in the wake state, also known as the CPU (Central Processing Unit); the coprocessor is a low-power processor used to process data in the standby state. In some embodiments, the processor 21 may be integrated with a GPU (Graphics Processing Unit), and the GPU is responsible for rendering and drawing the content to be displayed on the display screen. In some embodiments, the processor 21 may also include an AI (Artificial Intelligence) processor, and the AI processor is used to process computational operations related to machine learning.
[0070] In addition, the memory 22, as a carrier for resource storage, can be a read-only memory, a random access memory, a magnetic disk, an optical disc, etc. The resources stored thereon may include an operating system 221, a computer program 222, etc., and the storage method can be temporary storage or permanent storage.
[0071] Among them, the operating system 221 is used to manage and control each hardware device on the electronic device 20 and the computer program 222, so as to implement the operation and processing of the massive data 223 in the memory 22 by the processor 21. It can be Windows Server, Netware, Unix, Linux, etc. In addition to the computer program that can be used to complete the self-organizing network's adaptive access method executed by the electronic device 20 disclosed in any of the foregoing embodiments, the computer program 222 may further include computer programs that can be used to complete other specific tasks. The data 223 may include not only the data transmitted by external devices received by the electronic device, but also the data collected by its own input / output interface 25, etc.
[0072] Furthermore, the present application also discloses a computer-readable storage medium for storing a computer program; wherein, when the computer program is executed by a processor, it implements the self-organizing network's adaptive access method disclosed above. For the specific steps of this method, reference can be made to the corresponding content disclosed in the foregoing embodiments, and details will not be repeated here.
[0073] The various embodiments in this specification are described in a progressive manner. Each embodiment focuses on the differences from other embodiments. For the same or similar parts among the various embodiments, reference can be made to each other. For the devices disclosed in the embodiments, since they correspond to the methods disclosed in the embodiments, the description is relatively simple. For the relevant parts, reference can be made to the description in the method part.
[0074] Those skilled in the art may further realize that the units and algorithm steps of each example described in combination with the embodiments disclosed herein can be implemented by electronic hardware, computer software, or a combination of both. To clearly illustrate the interchangeability of hardware and software, the composition and steps of each example have been generally described according to functions in the above description. Whether these functions are executed in a hardware or software manner depends on the specific application and design constraints of the technical solution. Those skilled in the art can use different methods to implement the described functions for each specific application, but such implementation should not be considered to exceed the scope of this application. The steps of the methods or algorithms described in combination with the embodiments disclosed herein can be directly implemented by hardware, software modules executed by a processor, or a combination of both. The software modules can be placed in a random access memory (RAM), internal memory, read-only memory (ROM), electrically programmable read-only memory (EPROM), electrically erasable programmable read-only memory (EEPROM), registers, hard disks, removable disks, CD-ROM (compact disc read-only memory), or any other form of storage medium known in the technical field.
[0075] Finally, it should also be noted that in this document, relational terms such as "first" and "second" are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any actual relationship or order between these entities or operations. Moreover, the term "comprising", "including" or any other variation thereof is intended to cover non-exclusive inclusion, so that a process, method, article or device comprising a series of elements not only includes those elements, but also includes other elements not expressly listed, or elements inherent to such process, method, article or device. Without further limitation, an element defined by the statement "comprising one..." does not exclude the presence of additional identical elements in the process, method, article or device comprising the element.
[0076] The solutions provided by the present invention have been introduced in detail above. Specific examples have been used herein to illustrate the principles and implementation manners of the present invention. The description of the above embodiments is only used to help understand the method and its core idea of the present invention; at the same time, for those of ordinary skill in the art, according to the idea of the present invention, there will be changes in the specific implementation manners and application scopes. In summary, the content of this specification should not be construed as a limitation to the present invention.
Claims
1. An adaptive access method for a self-organizing network, characterized in that: Applications in access control systems, including: Receiving, through the scheduler of the access control system, measurement item information reported by the physical layer in the self-organizing network and data transmission requirements of the application layer, so that the scheduler determines the current access mode for the target service in the data transmission requirement based on the measurement item information and the data transmission requirement, and sends the current access mode to the access control unit of the access control system; When the current access mode is a conflict resolution mode, the access control unit performs access control process optimization measures on the target service, so as to notify the media access control unit of the access control system to perform the access process of the conflict resolution mode after the control process optimization measures are completed; When the current access mode is a time division multiple access mode, the access control unit notifies the media access control unit of the access control system to execute an access process of the time division multiple access mode through the access control unit.
2. The method for adaptive access to a self-organizing network according to claim 1, characterized in that: The receiving, by the scheduler of the access control system, the measurement item information reported by the physical layer in the self-organizing network and the data transmission requirements of the application layer, comprises: Receiving, through the scheduler of the access control system, measurement item information about signal strength, signal quality, and channel status reported by the physical layer in the self-organizing network; Receiving data transmission requirements of the application layer in the self-organizing network through the scheduler of the access control system; Or, receiving a data transmission demand constructed by input information input by an external user in an ad hoc network.
3. The method for adaptive access to a self-organizing network according to claim 2, characterized in that: The determining, based on the measurement item information and the data transmission requirement, a current access mode for a target service in the data transmission requirement includes: Based on the strength measurement information of the signal strength, the quality measurement information of the signal quality, the utilization measurement information of the channel state and the data transmission demand, a current access mode for a target service in the data transmission demand is determined.
4. The method for adaptive access to a self-organizing network according to claim 2, characterized in that: The determining, based on the measurement item information and the data transmission requirement, a current access mode for a target service in the data transmission requirement includes: If the measurement item information and the data link layer information respectively meet the preset interference transmission condition and the preset conflict rate threshold condition, and the time-sensitive characteristics of the target service in the data transmission requirement meet the service real-time requirements, then it is determined that the current access mode for the target service in the data transmission requirement is a conflict resolution mode; If the measurement item information does not meet the preset interference transmission condition, the data link layer information does not meet the preset conflict rate threshold condition, and the time-sensitive characteristics of the target service in the data transmission requirement do not meet the real-time requirements of the service, then it is determined that the current access method for the target service in the data transmission requirement is the time division multiple access mode.
5. The method for adaptive access to a self-organizing network according to claim 1, characterized in that: The performing access control process optimization measures on the target service by the access control unit includes: The access control unit sequentially executes target service interception measures and network transmission protocol requirement measures on the target service.
6. The method for adaptive access to a self-organizing network according to claim 1, characterized in that: Before the access control unit notifies the media access control unit of the access control system to execute the access process of the time division multiple access mode, the method further includes: The access control unit executes time slot length definition, frame length definition and protection interval measures for the target service.
7. The method for adaptive access to a self-organizing network according to claim 6, characterized in that: The access process of executing the time division multiple access mode includes: A physical layer driver is configured to convert the time slot information and superframe information defined by the access control unit for the target service into corresponding physical layer parameters through the physical layer driver, so as to implement the access process according to the physical layer parameters.
8. An adaptive access device for a self-organizing network, characterized in that: Applications in access control systems, including: An access mode determination module, configured to receive, through a scheduler of the access control system, measurement item information reported by the physical layer in the self-organizing network and data transmission requirements of the application layer, so that the scheduler determines the current access mode for the target service in the data transmission requirements based on the measurement item information and the data transmission requirements, and sends the current access mode to the access control unit of the access control system; A first process optimization module is used to, when the current access mode is a conflict resolution mode, execute access control process optimization measures on the target service through the access control unit, so as to notify the media access control unit of the access control system to execute the access process of the conflict resolution mode after the control process optimization measures are completed; The second process optimization module is used to notify the media access control unit of the access control system to execute the access process of the time division multiple access mode through the access control unit when the current access mode is the time division multiple access mode.
9. An electronic device, characterized in that: include: Memory, used to store computer programs; A processor, configured to execute the computer program to implement the steps of the method for adaptive access to a self-organizing network as claimed in any one of claims 1 to 7.
10. A computer-readable storage medium, characterized in that: Used to store computer programs; wherein, when the computer program is executed by a processor, the steps of the adaptive access method for a self-organizing network as described in any one of claims 1 to 7 are implemented.