Asynchronous data scanning control method and system for wireless radio frequency network resource management
By adopting asynchronous data scanning control method in wireless radio frequency networks, using bitmap preset bits and message hook modules, the problems of message processing delay and insufficient resource allocation in high-density user environments are solved, and efficient resource management and network performance improvement are achieved.
Patent Information
- Application Number
- CN202411784285.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-12-05
- Publication Date
- 2025-04-18
AI Technical Summary
In a high-density user environment, the problem of message processing delay, insufficient resource allocation and frequency band interference caused by traditional synchronization processing mechanisms.
The asynchronous data scanning control method is adopted to generate bitmap presets by receiving configuration information from the upper layer user, start the asynchronous scanning process, trigger the message scanning task according to the specified cycle, mount the message hook module to hook each message, and extract the target data for uploading.
It significantly reduces the delay in message processing, optimizes resource utilization, improves processing efficiency, avoids resource waste, improves network throughput and response speed, and ensures the stable operation of wireless RF local area networks in high-density environments.
Smart Images

Figure CN119854863A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of wireless radio frequency networks, and in particular to an asynchronous data scanning control method and system for wireless radio frequency network resource management. Background Art
[0002] Wireless radio frequency local area network (WRF-LAN) connects multiple terminal devices (STAs) through wireless radio frequency technology and uses wireless channels instead of wired transmission media. In WRF-LAN, radio frequency resource management is one of the key technologies of the system. Resource management not only controls the access of terminal devices, but also ensures efficient message processing and data transmission. Especially in high-density user scenarios, access points (APs) need to process a large number of message requests. How to efficiently process these messages and optimize resource allocation has become a core issue in improving network performance.
[0003] Existing wireless RF local area network systems usually adopt a synchronous processing mechanism, that is, the AP processes the received messages one by one. Although this method can meet the needs when the number of devices is small or the network load is light, in a high-density user environment, the AP needs to process a large number of control messages (such as Beacon, Probe responses, etc.) and target messages, resulting in increased processing delays and may even cause system overload. In the synchronous processing mode, the serial processing of messages causes a significant decrease in network latency and throughput, especially in ultra-high-density user scenarios. This problem is more serious. In addition, existing AP devices usually rely on the synchronous processing mechanism of the underlying SDK and fail to implement differentiated optimization strategies for different types of messages, resulting in frequency band interference and waste of wireless resources, which in turn affects network stability and performance.
[0004] Therefore, in view of the above shortcomings, how to effectively manage the resources of wireless RF local area networks in high-density scenarios to improve message processing efficiency and optimize resource utilization has become an important issue that needs to be urgently solved in the current technical field. Summary of the invention
[0005] In view of this, the present invention provides an asynchronous data scanning control method and system for wireless radio frequency network resource management to solve the problems of message processing delay, insufficient resource allocation and frequency band interference caused by traditional synchronous processing mechanism in a high-density user environment.
[0006] In a first aspect, the present invention provides an asynchronous data scanning control method for wireless radio frequency network resource management, the method comprising:
[0007] Receive configuration information passed in by an upper-layer user, and generate a bitmap preset position according to the configuration information;
[0008] Start the asynchronous scanning process, trigger the message scanning task according to the specified period, mount the message hook module to hook each message, and extract the target data in each message for uploading;
[0009] The uploaded target data is parsed for the bitmap preset position, and the parsed preset position parameters are used to filter the message until the message scanning task is completed.
[0010] The asynchronous data scanning control method for wireless radio frequency network resource management provided by the embodiment of the present invention significantly reduces the message processing delay, optimizes resource utilization, and improves processing efficiency through asynchronous scanning and callback mechanisms. Through bitmap preset position screening and secondary filtering, only qualified messages are processed, which avoids resource waste and improves network throughput and response speed. In addition, the asynchronous trigger mechanism and callback mechanism can effectively cope with high-density user scenarios, improve system performance, reduce processing bottlenecks and system overload, and ensure the stable operation of the wireless radio frequency local area network in a high-density environment.
[0011] In an optional implementation, generating a bitmap preset position according to the configuration information includes:
[0012] When receiving the configuration information passed in by the upper-layer user, two sub-process modules are registered according to the configuration information, namely, a scanning timer and a data processing callback. The scanning timer is used to divide the superframe into data blocks and trigger the scanning task regularly. The data processing callback is hung in the data processing module to process the scanned message and return the result.
[0013] The message type parameters configured by the user are converted into binary and coupled to generate a unified bitmap preset bit, where each bit represents the processing status of a message type, which is used to control the lower-layer asynchronous message processing and filter the message types that need to be processed.
[0014] In this implementation, by registering a scanning timer and a data processing callback module and generating a unified bitmap preset, efficient message scanning and processing is achieved. By accurately controlling the message type to be processed, resource utilization is improved, and message processing efficiency and system response speed are improved.
[0015] In an optional implementation, a message scanning task is triggered according to a specified period, a message hook module is mounted to hook each message, and target data in each message is extracted for uploading, including:
[0016] Define the hook type according to the actual message type, and regularly start the message scanning task according to the trigger period configured by the scanning timer. When each scan is triggered, the mounted message hook module continuously monitors and hooks the target message;
[0017] The message hook module filters out the messages to be processed from the wireless radio frequency service flow according to the preset hook type, and further filters according to the Type and SubType fields of the message, only processing the target messages that meet the conditions, and releasing the services and control frames that are not of interest. After filtering the target message, the message hook module decapsulates the target message, extracts the valid data and uploads it for further processing.
[0018] In this implementation, efficient message screening and data extraction are achieved through the cooperation of the scanning timer and the message hook module. The regularly triggered scanning task ensures the continuous monitoring and capture of messages, and through the definition of hook types and message field screening, only qualified target messages are processed, effectively avoiding resource waste. The decapsulation of messages and effective data extraction further improve the accuracy and efficiency of data processing, thereby effectively reducing the system burden, improving throughput, and providing support for efficient subsequent data processing and resource management.
[0019] In an optional embodiment, the method further includes:
[0020] The hook list data in the message hook module is refreshed regularly to clear outdated or unnecessary data. Regularly refreshing the hook list data can effectively avoid the accumulation of invalid data in the list, reduce memory usage, prevent system memory overflow, and improve data processing efficiency.
[0021] In an optional implementation, the mount message hook module includes:
[0022] Receive the command issued by the scanning control module, parse the core bitmap preset parameters, start the scanning process according to the parsing results and mount the message hook module;
[0023] Parse the bitmap preset position of the uploaded target data, and use the parsed preset position parameters to filter the message, including: receiving the instruction issued by the scanning control module, parsing the core bitmap preset position parameters, starting the scanning process according to the parsing results and mounting the message hook module;
[0024] The parsed bitmap preset parameters are used to perform secondary filtering on the messages uploaded by the message hook module to screen out the messages that meet the conditions, and the messages that meet the conditions are received and stored through the callback mechanism.
[0025] In this implementation, by performing secondary filtering on the message, only qualified messages are further processed, thereby avoiding interference from irrelevant or invalid messages. The use of bitmap preset parameters to filter the message makes the message processing more accurate and effective, improving the processing efficiency and resource utilization of the system. The introduction of the callback mechanism ensures that the filtered messages can be received and stored in a timely manner, further improving the system response speed and throughput.
[0026] In an optional embodiment, the method further includes:
[0027] Extract target data from the filtered messages according to business requirements and scanning methods;
[0028] The extracted target data is encapsulated to generate the final message format, and the final message is uploaded to the upper-level module through the netlink interface.
[0029] In this implementation, by extracting and encapsulating the target data, the format and content of the data are ensured to meet the requirements of the upper module, and the accuracy of data transmission is improved. The netlink interface is used to upload data, which ensures fast communication and resource management with the upper module and improves the overall response speed of the system.
[0030] In an optional implementation manner, before receiving the configuration information input by the upper-layer user, the method further includes:
[0031] Initialize the message hook module, data processing module and scanning control module, configure related resources and parameters for message scanning and data processing. The initialization settings improve the system startup efficiency, reduce the delay in the subsequent configuration process, and ensure the coordinated work of each module.
[0032] In a second aspect, the present invention provides an asynchronous data scanning control system for wireless radio frequency network resource management, the system comprising:
[0033] A scanning control module is used to receive configuration information input by an upper-layer user and generate a bitmap preset position according to the configuration information;
[0034] The message acquisition module is used to start the asynchronous scanning process, trigger the message scanning task according to the specified period, mount the message hook module to hook each message, and extract the target data in each message for uploading;
[0035] The data processing module is used to parse the bitmap preset position of the uploaded target data, and use the parsed preset position parameters to filter the message until the message scanning task is completed.
[0036] In a third aspect, the present invention provides a computer device, comprising: a memory and a processor, the memory and the processor are communicatively connected to each other, the memory stores computer instructions, and the processor executes the asynchronous data scanning control method for wireless radio frequency network resource management of the above-mentioned first aspect or any corresponding embodiment thereof by executing the computer instructions.
[0037] In a fourth aspect, the present invention provides a computer-readable storage medium having computer instructions stored thereon, the computer instructions being used to enable a computer to execute the asynchronous data scanning control method for wireless radio frequency network resource management of the above-mentioned first aspect or any corresponding embodiment thereof. BRIEF DESCRIPTION OF THE DRAWINGS
[0038] In order to more clearly illustrate the specific implementation methods of the present invention or the technical solutions in the prior art, the drawings required for use in the specific implementation methods or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are some implementation methods of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0039] Figure 1 is a flow chart of an asynchronous data scanning control method for wireless radio frequency network resource management according to an embodiment of the present invention;
[0040] Figure 2 is a flow chart of another asynchronous data scanning control method for wireless radio frequency network resource management according to an embodiment of the present invention;
[0041] Figure 3 is a flow chart of another asynchronous data scanning control method for wireless radio frequency network resource management according to an embodiment of the present invention;
[0042] Figure 4 is a flow chart of yet another asynchronous data scanning control method for wireless radio frequency network resource management according to an embodiment of the present invention;
[0043] Figure 5 is a schematic diagram of the architecture of an asynchronous data scanning control system for wireless radio frequency network resource management according to an embodiment of the present invention;
[0044] Figure 6 yes Figure 5 A structural block diagram of an asynchronous data scanning control system;
[0045] Figure 7 It is a schematic diagram of the hardware structure of a computer device according to an embodiment of the present invention. DETAILED DESCRIPTION
[0046] In order to make the purpose, technical solution and advantages of the embodiments of the present invention clearer, the technical solution in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative work are within the scope of protection of the present invention.
[0047] The asynchronous data scanning control method of the embodiment of the present invention is suitable for wireless radio frequency local area network environments with high-density user access, especially places such as schools, parks and office buildings. In these application scenarios, the access point needs to process a large number of message requests, and the traditional synchronous processing method easily leads to message processing delays and resource waste. The present invention can effectively improve the message processing efficiency, optimize resource allocation, improve the network throughput, response speed and overall stability through asynchronous data scanning and callback mechanism, and ensure the efficient operation of the wireless radio frequency local area network in a high-density environment.
[0048] According to an embodiment of the present invention, an embodiment of an asynchronous data scanning control method for wireless radio frequency network resource management is provided. It should be noted that the steps shown in the flowchart of the accompanying drawings can be executed in a computer system such as a set of computer executable instructions, and although a logical order is shown in the flowchart, in some cases, the steps shown or described can be executed in an order different from that shown here.
[0049] In this embodiment, an asynchronous data scanning control method for wireless RF network resource management is provided, which can be applied to access points (APs) and terminal devices (STAs) in wireless local area networks, and is suitable for various wireless communication devices, including but not limited to mobile terminals (such as mobile phones, tablet computers), computers, routers, etc. Figure 1 is a flow chart of an asynchronous data scanning control method for wireless radio frequency network resource management according to an embodiment of the present invention. Figure 1 As shown, the process includes the following steps:
[0050] Step S101: receiving configuration information input by an upper-layer user, and generating a bitmap preset position according to the configuration information.
[0051] Specifically, the configuration information includes the message scanning requirements set by the user. According to the configuration information, two key modules are registered: one is the scanning timer, which is used to trigger the message scanning task regularly; the other is the data processing callback, which is used to process the target message after scanning.
[0052] Furthermore, by converting the message type into binary bits, a bitmap preset bit is generated. This bitmap can be used to identify which message types need to be processed, thereby achieving efficient message screening and processing.
[0053] Step S102, start the asynchronous scanning process, trigger the message scanning task according to the specified period, mount the message hook module to hook each message, and extract the target data in each message for uploading.
[0054] Specifically, the message scanning task is triggered regularly according to the set period through the scanning timer. Each time the scan is triggered, the mounted message hook module will continuously monitor and hook the target message. The message hook module will extract valid data from the captured target message and upload it for subsequent processing.
[0055] Step S103, parsing the bitmap preset position of the uploaded target data, and filtering the message using the parsed preset position parameters until the message scanning task is completed.
[0056] Specifically, the bitmap preset is parsed to identify the type of message that needs further processing. Then, based on the parsed preset parameters, the uploaded messages are filtered twice to select the qualified messages, ensuring that only the messages that meet the preset standards are processed until the message scanning task is completed, improving processing efficiency and reducing unnecessary resource consumption.
[0057] After the scanning timer ends, that is, after the message scanning task is completed, the target data is extracted from the filtered messages and encapsulated to ensure that the data format meets the requirements of the upper-level module. Then, the encapsulated data is uploaded to the upper-level module through the netlink interface for further resource management and frequency band optimization processing, ensuring efficient allocation and optimization of network resources.
[0058] The asynchronous data scanning control method provided in this embodiment significantly improves the efficiency of message processing and the utilization of network resources through asynchronous scanning and callback mechanisms. First, the scanning task is triggered regularly by the scanning timer, and the target message is hooked with the help of the message hook module, so as to achieve efficient message capture and data extraction. By parsing the bitmap preset position and secondary filtering, it is ensured that only qualified messages are processed, thereby reducing the processing of invalid messages and resource consumption, and improving the processing speed. Secondly, the callback mechanism ensures that the data processing module can respond to and process messages flexibly and promptly, improves the response speed and real-time performance of the entire system, and avoids delays and performance bottlenecks caused by synchronous processing. It can be seen that this method improves the message processing efficiency of the wireless RF network in high-density user scenarios, optimizes resource management, and enhances the stability and performance of the network.
[0059] In this embodiment, another asynchronous data scanning control method for wireless radio frequency network resource management is provided, which is applicable to various wireless communication devices. Figure 2 is a flow chart of an asynchronous data scanning control method for wireless radio frequency network resource management according to an embodiment of the present invention. Figure 2 As shown, the process includes the following steps:
[0060] Step S201, initializing the message hook module, the data processing module and the scanning control module, and configuring related resources and parameters for message scanning and data processing.
[0061] This embodiment first initializes each module. During the initialization process, corresponding resources and parameters are configured according to specific business needs to prepare for subsequent message scanning and data processing tasks, avoid resource conflicts or configuration errors during execution, and thus improve system stability and processing efficiency.
[0062] Step S202: receiving configuration information transmitted by an upper-layer user, registering a scanning timer and a data processing callback according to the configuration information, and generating a bitmap preset to identify the type of message to be processed.
[0063] In some optional embodiments, such as Figure 2 As shown, in this step, the scan timer and data processing callback are registered according to the configuration information, and the bitmap preset position is generated, including:
[0064] Step S2021, when receiving the configuration information passed in by the upper-layer user, register two sub-process modules according to the configuration information, namely a scanning timer and a data processing callback.
[0065] The scanning timer is used to divide the superframe into data blocks and trigger the scanning task periodically so as to start the message scanning within the specified time interval; the data processing callback is hooked in the data processing module to process the scanned messages and pass the results back to the upper-level module for further resource management and frequency band optimization.
[0066] Step S2022: convert the message type parameters configured by the user into binary, and couple them to generate a unified bitmap preset bit, where each bit represents the processing status of a message type.
[0067] For example, beacon frames correspond to 0x01, probe rsp frames correspond to 0x10, and probe req frames correspond to 0x100, etc. Each bit represents the processing status of a message type, which is used to indicate which message types need to be processed. By presetting the bitmap, the asynchronous message processing process of the lower layer can be effectively controlled, thereby filtering out the message types that need to be processed, avoiding unnecessary message processing, and improving the overall processing efficiency.
[0068] Step S203, start the asynchronous scanning process, trigger the message scanning task regularly through the scanning timer, mount the message hook module to hook the target message, and extract the valid data in the target message for uploading.
[0069] In some optional embodiments, such as Figure 3 As shown, in this step, the message scanning task is triggered regularly by the scanning timer, the message hook module is mounted to hook the target message, and the valid data in the target message is extracted for uploading, including:
[0070] Step S2031, define the hook type according to the actual message type, and regularly start the message scanning task according to the trigger period configured by the scanning timer. When each scan is triggered, the mounted message hook module continuously monitors and hooks the target message.
[0071] The message hook module selects the target messages to be processed from the received messages according to the preset hook type, and ignores irrelevant messages. In this way, by accurately screening the message type, the waste of computing resources for processing irrelevant messages is avoided, and the message processing efficiency and system resource utilization are improved.
[0072] In step S2032, the message hook module selects the messages to be processed from the wireless RF service flow according to the preset hook type, and further selects according to the Type and SubType fields of the messages, and only processes the target messages that meet the conditions. After the target messages are selected, the target messages are decapsulated and the valid data is extracted for uploading.
[0073] The message hook module only processes qualified messages and releases unrelated business and control frames. In this way, the message hook module can accurately identify and process target messages, avoiding interference with irrelevant messages and wasting computing resources. After screening the target message, the message hook module decapsulates it, extracts valid data, and uploads the extracted data for further processing and analysis. This process optimizes the accuracy and efficiency of message processing and effectively improves the overall performance of the system.
[0074] Step S2033, regularly refresh the hook list data in the message hook module to clear outdated or unnecessary data.
[0075] Through the above steps, messages can be filtered and processed more efficiently, avoiding full scanning and processing of irrelevant data, improving overall processing efficiency, and ensuring optimized management of system memory.
[0076] Step S204, performing secondary filtering on the message uploaded by the message hook module, parsing the bitmap preset position, and using the parsed preset position parameters to filter out the messages that meet the conditions.
[0077] In some optional embodiments, such as Figure 4 As shown, in this step, the message uploaded by the message hook module is filtered twice, the bitmap preset position is parsed, and the qualified messages are screened out according to the parsed preset position parameters, including:
[0078] Step S2041, receiving the instruction sent by the scanning control module, parsing the core bitmap preset parameters, starting the scanning process according to the parsing result and mounting the message hook module.
[0079] Step S2042, using the parsed bitmap preset parameters to perform secondary filtering on the messages uploaded by the message hook module, and screen out messages that meet the conditions.
[0080] In this way, the system can accurately filter out the types of messages that need to be processed, avoid processing unnecessary messages, and reduce resource waste.
[0081] Step S2043, receiving and storing qualified messages through a callback mechanism, ensuring that only target messages that have been screened multiple times are processed.
[0082] In this step, by accurately screening the message type, the interference of irrelevant messages on the system is avoided, and efficient data storage and subsequent processing are achieved through the callback mechanism.
[0083] Step S205, after the scanning timer scan is completed, the target data in the filtered message is extracted and encapsulated, and uploaded to the upper layer module through the netlink interface for resource management and frequency band optimization.
[0084] In some optional embodiments, such as Figure 2 As shown, in this step, after the scanning timer scans, the target data in the filtered message is extracted and encapsulated, and uploaded to the upper module through the netlink interface, including:
[0085] Step S2051, after the scanning timer scans, target data is extracted from the filtered messages according to business requirements and scanning methods.
[0086] Step S2052, encapsulate the extracted target data, generate a final message format, and upload the final message to the upper layer module through the netlink interface.
[0087] Message encapsulation ensures that the data format meets the requirements of the upper-layer module, so that resource management and frequency band optimization can be performed quickly and effectively. In this step, accurate data extraction and encapsulation ensure the quality and consistency of data uploaded to the upper-layer module, effectively supporting the management, optimization and efficient scheduling of network resources.
[0088] The asynchronous data scanning control method provided in this embodiment significantly improves the message processing efficiency through accurate message screening and efficient processing mechanism, avoids the waste of computing resources for irrelevant messages, and optimizes the management of system resources and memory usage. By flexibly configuring the bitmap preset position and the message hook module, the system can accurately identify and process the target message, reducing unnecessary data processing. At the same time, the hook list data is refreshed regularly, which effectively avoids memory leakage and resource exhaustion, and ensures efficient memory management. In the process of data extraction and encapsulation, it is ensured that the generated message format meets the requirements of the upper-level module, guarantees the accuracy and consistency of the data, and thus provides reliable data support for network resource management and frequency band optimization. Through the efficient data upload of the netlink interface, the system can support the dynamic scheduling and frequency band optimization of network resources in real time, significantly improving the performance of the wireless RF network. This method is particularly suitable for high-density user access scenarios, has a high degree of flexibility and scalability, and improves the overall performance of the wireless RF network.
[0089] In this embodiment, an asynchronous data scanning control system for wireless radio frequency network resource management is also provided, which can be used to implement the above-mentioned embodiment and its preferred implementation mode, and the descriptions that have been made will not be repeated. As used below, the term "module" can implement a combination of software and / or hardware for a predetermined function. Although the device described in the following embodiments is preferably implemented in software, the implementation of hardware, or a combination of software and hardware, is also possible and conceivable.
[0090] This embodiment provides an asynchronous data scanning control system architecture for wireless RF network resource management. Figure 5 As shown, Figure 6 yes Figure 5 A block diagram of an asynchronous data scanning control system. Figure 6 As shown, the system includes:
[0091] The scanning control module 601 is used to receive the configuration information input by the upper layer user and generate the bitmap preset position according to the configuration information;
[0092] The message hook module 602 is used to start the asynchronous scanning process, trigger the message scanning task according to the specified period, mount the message hook module to hook each message, and extract the target data in each message for uploading;
[0093] The data processing module 603 is used to parse the bitmap preset position of the uploaded target data, and filter the message using the parsed preset position parameters until the message scanning task is completed.
[0094] In some optional implementations, the scanning control module 601 includes:
[0095] The process registration unit is used to register two sub-process modules, namely, a scanning timer and a data processing callback, according to the configuration information received from the upper-layer user.
[0096] The parameter conversion unit is used to perform binary conversion on the message type parameters configured by the user, and couple them to generate a unified bitmap preset bit, each bit representing the processing status of a message type.
[0097] In some optional implementations, the message acquisition module 602 includes:
[0098] The scanning trigger unit is used to define the hook type according to the actual message type, and regularly start the message scanning task according to the trigger period configured by the scanning timer. At each scan trigger, the mounted message hook module continuously monitors and hooks the target message.
[0099] The message hook unit is used to filter out the messages to be processed from the wireless RF service flow according to the preset hook type, and further filter according to the Type and SubType fields of the message, only processing the target messages that meet the conditions, and after filtering the target messages, decapsulate the target messages and extract the valid data for uploading.
[0100] The data refresh unit is used to periodically refresh the hook list data in the message hook unit and clear outdated or unnecessary data.
[0101] In some optional implementations, the message hook module 602 includes:
[0102] The parameter parsing unit is used to receive the instruction issued by the scanning control module, parse the core bitmap preset parameters, start the scanning process according to the parsing result and mount the message hook module.
[0103] In some optional implementations, the data processing module 603 includes:
[0104] The message filtering unit is used to perform secondary filtering on the messages uploaded by the message hook module using the parsed bitmap preset parameters to filter out the messages that meet the conditions.
[0105] The message callback unit is used to receive and store qualified messages through a callback mechanism to ensure that only target messages that have been screened multiple times are processed.
[0106] The data extraction unit is used to extract target data from the filtered messages according to business requirements and scanning methods after the scanning timer scans.
[0107] The message upload unit is used to encapsulate the extracted target data, generate the final message format, and upload the final message to the upper-level module through the netlink interface.
[0108] The further functional description of each of the above modules and units is the same as that of the above corresponding embodiments and will not be repeated here.
[0109] The asynchronous data scanning control system for wireless RF network resource management in this embodiment is presented in the form of a functional unit, where the unit refers to an ASIC (Application Specific Integrated Circuit) circuit, a processor and memory that executes one or more software or fixed programs, and / or other devices that can provide the above functions.
[0110] The embodiment of the present invention also provides a computer device having the above Figure 6 The asynchronous data scanning control system shown.
[0111] See also Figure 7 , Figure 7 is a schematic diagram of the structure of a computer device provided by an optional embodiment of the present invention, such as Figure 7 As shown, the computer device includes: one or more processors 10, a memory 20, and interfaces for connecting various components, including high-speed interfaces and low-speed interfaces. Various components are connected to each other using different buses for communication, and can be installed on a common mainboard or installed in other ways as needed. The processor can process the instructions executed in the computer device, including instructions stored in or on the memory to display the graphical information of the GUI on an external input / output device (such as, a display device coupled to the interface). In some optional embodiments, if necessary, multiple processors and / or multiple buses can be used together with multiple memories and multiple memories. Similarly, multiple computer devices can be connected, and each device provides some necessary operations (for example, as a server array, a group of blade servers, or a multi-processor system). Figure 7 A processor 10 is taken as an example.
[0112] The processor 10 may be a central processing unit, a network processor or a combination thereof. The processor 10 may further include a hardware chip. The hardware chip may be a dedicated integrated circuit, a programmable logic device or a combination thereof. The programmable logic device may be a complex programmable logic device, a field programmable gate array, a general purpose array logic or any combination thereof.
[0113] The memory 20 stores instructions executable by at least one processor 10, so that the at least one processor 10 executes the method shown in the above embodiment.
[0114] The memory 20 may include a program storage area and a data storage area, wherein the program storage area may store an operating system, an application required for at least one function; the data storage area may store data created according to the use of the computer device, etc. In addition, the memory 20 may include a high-speed random access memory, and may also include a non-transient memory, such as at least one disk storage device, a flash memory device, or other non-transient solid-state storage device. In some optional embodiments, the memory 20 may optionally include a memory remotely arranged relative to the processor 10, and these remote memories may be connected to the computer 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.
[0115] The memory 20 may include a volatile memory, such as a random access memory; the memory may also include a non-volatile memory, such as a flash memory, a hard disk or a solid state drive; the memory 20 may also include a combination of the above types of memory.
[0116] The computer device also includes an input device 30 and an output device 40. The processor 10, the memory 20, the input device 30 and the output device 40 may be connected via a bus or other means. Figure 7 The example of connecting through bus is taken in the following.
[0117] The input device 30 can receive input digital or character information, and generate key signal input related to the user settings and function control of the computer device, such as a touch screen, a keypad, a mouse, a track pad, a touch pad, an indicator bar, one or more mouse buttons, a trackball, a joystick, etc. The output device 40 may include a display device, an auxiliary lighting device (e.g., an LED) and a tactile feedback device (e.g., a vibration motor), etc. The above-mentioned display device includes but is not limited to a liquid crystal display, a light emitting diode, a display and a plasma display. In some optional embodiments, the display device can be a touch screen.
[0118] The embodiment of the present invention also provides a computer-readable storage medium. The method according to the embodiment of the present invention can be implemented in hardware, firmware, or can be implemented as a computer code that can be recorded in a storage medium, or can be implemented as a computer code that is originally stored in a remote storage medium or a non-temporary machine-readable storage medium and will be stored in a local storage medium through a network download, so that the method described herein can be stored in such software processing on a storage medium using a general-purpose computer, a dedicated processor, or programmable or dedicated hardware. Among them, the storage medium can be a magnetic disk, an optical disk, a read-only storage memory, a random access memory, a flash memory, a hard disk or a solid-state hard disk, etc.; further, the storage medium can also include a combination of the above types of memories. It can be understood that a computer, a processor, a microprocessor controller, or programmable hardware includes a storage component that can store or receive software or computer code. When the software or computer code is accessed and executed by a computer, a processor, or hardware, the method shown in the above embodiment is implemented.
[0119] A part of the present invention may be applied as a computer program product, such as a computer program instruction, which, when executed by a computer, can call or provide the method and / or technical solution according to the present invention through the operation of the computer. Those skilled in the art should understand that the existence of the computer program instruction in a computer-readable medium includes, but is not limited to, a source file, an executable file, an installation package file, etc., and accordingly, the way in which the computer program instruction is executed by the computer includes, but is not limited to: the computer directly executes the instruction, or the computer compiles the instruction and then executes the corresponding compiled program, or the computer reads and executes the instruction, or the computer reads and installs the instruction and then executes the corresponding installed program. Here, the computer-readable medium may be any available computer-readable storage medium or communication medium accessible to the computer.
[0120] Although the embodiments of the present invention have been described in conjunction with the accompanying drawings, those skilled in the art may make various modifications and variations without departing from the spirit and scope of the present invention, and such modifications and variations are all within the scope defined by the appended claims.
Claims
1. An asynchronous data scanning control method for wireless radio frequency network resource management, characterized in that: The method comprises: Receive configuration information passed in by an upper-layer user, and generate a bitmap preset position according to the configuration information; Start the asynchronous scanning process, trigger the message scanning task according to the specified period, mount the message hook module to hook each message, and extract the target data in each message for uploading; The uploaded target data is parsed for the bitmap preset position, and the parsed preset position parameters are used to filter the message until the message scanning task is completed.
2. The method according to claim 1, characterized in that Generating a bitmap preset position according to the configuration information includes: When receiving the configuration information passed in by the upper-layer user, two sub-process modules are registered according to the configuration information, namely, a scanning timer and a data processing callback. The scanning timer is used to divide the superframe into data blocks and trigger the scanning task regularly. The data processing callback is hung in the data processing module to process the scanned message and return the result. The message type parameters configured by the user are converted into binary and coupled to generate a unified bitmap preset bit, where each bit represents the processing status of a message type, which is used to control the lower-layer asynchronous message processing and filter the message types that need to be processed.
3. The method according to claim 2, characterized in that The message scanning task is triggered according to the specified period, the message hook module is mounted to hook each message, and the target data in each message is extracted for uploading, including: Define the hook type according to the actual message type, and start the message scanning task regularly according to the trigger period configured by the scanning timer. When each scan is triggered, the mounted message hook module continuously monitors and hooks the target message. The message hook module filters out the messages to be processed from the wireless radio frequency service flow according to the preset hook type, and further filters according to the Type and SubType fields of the message, only processing the target messages that meet the conditions, and releasing the services and control frames that are not of interest. After filtering the target message, the message hook module decapsulates the target message, extracts the valid data and uploads it for further processing.
4. The method according to claim 3, characterized in that The method further comprises: The hook list data in the message hook module is refreshed regularly to clear outdated or unnecessary data.
5. The method according to claim 3, characterized in that: The mount message hook module includes: Receive the command issued by the scanning control module, parse the core bitmap preset parameters, start the scanning process according to the parsing results and mount the message hook module; The step of parsing the bitmap preset position of the uploaded target data and filtering the message using the parsed preset position parameters includes: The parsed bitmap preset parameters are used to perform secondary filtering on the messages uploaded by the message hook module to screen out the messages that meet the conditions, and the messages that meet the conditions are received and stored through the callback mechanism.
6. The method according to claim 5, characterized in that The method comprises: Extract target data from the filtered messages according to business requirements and scanning methods; The extracted target data is encapsulated to generate the final message format, and the final message is uploaded to the upper-level module through the netlink interface.
7. The method according to any one of claims 1 to 6, characterized in that Before receiving the configuration information input by the upper-layer user, the method further includes: Initialize the message hook module, data processing module and scanning control module, and configure related resources and parameters for message scanning and data processing.
8. An asynchronous data scanning control system for wireless radio frequency network resource management, characterized in that: The system comprises: A scanning control module is used to receive configuration information input by an upper-layer user and generate a bitmap preset position according to the configuration information; The message acquisition module is used to start the asynchronous scanning process, trigger the message scanning task according to the specified period, mount the message hook module to hook each message, and extract the target data in each message for uploading; The data processing module is used to parse the bitmap preset position of the uploaded target data, and use the parsed preset position parameters to filter the message until the message scanning task is completed.
9. A computer device, characterized in that: include: A memory and a processor, wherein the memory and the processor are communicatively connected to each other, the memory stores computer instructions, and the processor executes the asynchronous data scanning control method for wireless radio frequency network resource management according to any one of claims 1 to 7 by executing the computer instructions.
10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores computer instructions, and the computer instructions are used to enable a computer to execute the asynchronous data scanning control method for wireless radio frequency network resource management according to any one of claims 1 to 7.