Network access node distribution method, electronic equipment and storage medium

By identifying and storing the capacity information of network access nodes on the data management server and dynamically allocating access nodes using the target cache, the problem of unstable access requests is solved, and a stable and reliable network access service is achieved.

CN121531394APending Publication Date: 2026-02-13QINGDAO HAIER TECH +2
View PDF 5 Cites 0 Cited by

Patent Information

Application Number
CN202511829458.2
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-12-05
Publication Date
2026-02-13

AI Technical Summary

Technical Problem

When faced with scenarios where device reconnection time is uncertain and the number of accesses surges in a short period of time, existing technologies suffer from reduced performance in obtaining network access points, making it impossible for the requesting party to actually access the network or obtain a valid access node, thus affecting user experience and service quality.

Method used

By receiving registration requests from network access nodes on the data management server, marking them as ready and storing capacity information, and dynamically allocating network access nodes using the target cache, the system updates node status and capacity in real time, ensuring the stability and reliability of access devices.

Benefits of technology

It improves the accuracy and timeliness of network access node perception, avoids the problem of allocated nodes being unavailable, enhances the efficiency and reliability of access services, and optimizes throughput and performance.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN121531394A_ABST
    Figure CN121531394A_ABST
Patent Text Reader

Abstract

The invention provides a network access node distribution method, electronic equipment and a storage medium, and relates to the technical field of Internet information communication. The network access node distribution method comprises the following steps: receiving a registration request of a first network access node; wherein the registration request carries capacity information of the first network access node; identifying the first network access node as a ready state; and storing the capacity information of the first network access node to the target cache, so that the node allocation server obtains the capacity information of the network access node in the ready state from the target cache, and allocates the network access node to the access device according to the capacity information of the network access node in the ready state. According to the invention, stable and reliable network access service can be provided for the access equipment.
Need to check novelty before this filing date? Find Prior Art

Description

TECHNICAL FIELD

[0001] The present application relates to the technical field of Internet information communication, and in particular to a network access node allocation method, an electronic device and a storage medium. BACKGROUND

[0002] In the current network technology field, with the rapid development of Internet of Things, cloud computing and big data technology, a large number of devices are rapidly connected to network nodes. In this process, ensuring the accuracy and availability of access nodes has become a key technical challenge.

[0003] The traditional access allocation scheme mainly relies on a backend management service to obtain the load status of the network access node, and selects the access node according to a preset threshold. However, this method is not sufficient when facing uncertain device reconnection time, a sharp increase in access volume in a short time (i.e., unstable instantaneous access requests), resulting in reduced performance of the access request side in obtaining network access points, the inability to actually access the obtained access points, or the inability to obtain effective access nodes, which affects user experience and service quality.

[0004] Therefore, how to provide stable and reliable network access services for access devices is a technical problem that needs to be solved. SUMMARY

[0005] The present application provides a network access node allocation method, an electronic device and a storage medium to solve the above-mentioned defects in the prior art and provide stable and reliable network access services for access devices.

[0006] The present application provides a network access node allocation method applied to a data management server, comprising the following steps.

[0007] Receiving a registration request of a first network access node; wherein the registration request carries capacity information of the first network access node; identifying the first network access node as a ready state; storing the capacity information of the first network access node to a target cache, so that the node allocation server obtains the capacity information of the network access node in the ready state from the target cache, and allocates a network access node for the access device according to the capacity information of the network access node in the ready state.

[0008] According to the network access node allocation method provided by the present application, the method further comprises: receiving a log-off request of a second network access node; identifying the second network access node as a log-off state; sending log-off information of the second network access node to a node allocation server, so that the node allocation server reallocates network access nodes for access devices connected with the second network access node; clearing capacity information of the second network access node in a target cache; and sending a log-off instruction to the network access node.

[0009] The application further provides a network access node allocation method, applied to a node allocation server, and comprising the following steps:

[0010] The application further provides a network access node allocation method, applied to a node allocation server, and comprising the following steps: receiving an access request of an access device; obtaining an identifier of a network access node in a ready state from a data management server; obtaining capacity information of the network access node in the ready state from a target cache according to the identifier of the network access node in the ready state; and allocating a network access node for the access device according to the capacity information of the network access node in the ready state; wherein the network access node is identified as in the ready state after the data management server receives a registration request of the network access node carrying capacity information; and the capacity information is stored into the target cache by the data management server.

[0011] The application further provides a network access node allocation method, applied to a node allocation server, and comprising the following steps:

[0012] The application further provides a network access node allocation method, applied to a node allocation server, and comprising the following steps: Receiving offline information of a network access node; re-allocating network access nodes for access devices connected with the network access node; wherein the offline information of the network access node is sent by the data management server to the node after the data management server receives an offline request of the network access node; the data management server sends an offline indication to the network access node after identifying the network access node as offline and clearing the capacity information of the network access node in the target cache.

[0013] The application further provides a network access node allocation method applied to a network access node, comprising: In response to an online event, sending a registration request carrying its own capacity information to a data management server; wherein the data management server sets the network access node as ready after receiving the registration request and stores the capacity information to a target cache.

[0014] According to the network access node allocation method provided by the application, the method further comprises: In response to an offline event, sending an offline request to the data management server; wherein the data management server identifies the network access node as offline after receiving the offline request and sends offline information of the network access node to a node allocation server to make the node allocation server re-allocate network access nodes for access devices connected with the network access node; or in response to the disconnection of an access device from the network access node, sending device disconnection event reporting information to the data management server; wherein the device disconnection event reporting information carries the number information of access devices disconnected from the network access node; the data management server updates the capacity information of the network access node in the target cache according to the number information of access devices disconnected from the network access node after receiving the device disconnection event reporting information.

[0015] The application further provides a network access node allocation device arranged in a data management server, comprising: a receiving module for receiving a registration request of a first network access node; wherein the registration request carries the capacity information of the first network access node; an identification module for identifying the first network access node as ready; and a storage module for storing the capacity information of the first network access node to a target cache to make a node allocation server obtain the capacity information of network access nodes in the ready state from the target cache and allocate network access nodes for access devices according to the capacity information of network access nodes in the ready state.

[0016] The application further provides an electronic device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the allocation method of the network access node according to any one of the above description when executing the computer program.

[0017] The application further provides a non-transitory computer-readable storage medium, which stores a computer program, wherein the computer program is executed by a processor to implement the allocation method of the network access node according to any one of the above description.

[0018] The application further provides a computer program product, comprising a computer program, wherein the computer program is executed by a processor to implement the allocation method of the network access node according to any one of the above description.

[0019] The application provides the allocation method of the network access node, the electronic device and the storage medium, wherein after the data management server receives the registration request of the first network access node, the node is identified as a ready state, indicating that it has the ability to provide services for the access device; meanwhile, the capacity information of the node is stored in the target cache. The node allocation server can obtain the capacity information of the network access node in the ready state from the target cache in real time, and dynamically allocate the most suitable network access node to the access device according to the information, so as to ensure the efficiency and reliability of the access service.

[0020] The target cache is used to accurately deduct the usage of the network access node, the application effectively improves the perception accuracy and timeliness of the node allocation server on the access capacity of the network access node, and avoids the problem of 'allocated node but actually unavailable' in the related art. Meanwhile, by using the high-performance characteristics of the cache, the data storage and calculation efficiency are significantly improved, and the throughput and performance of the access allocation service are greatly optimized, so that stable and reliable network access service is provided for the access device. BRIEF DESCRIPTION OF DRAWINGS

[0021] In order to more clearly illustrate the technical solutions in the application or the prior art, the following will briefly introduce the drawings needed to be used in the embodiments or the prior art description. Obviously, the drawings in the following description are some embodiments of the application, and for those skilled in the art, other drawings can also be obtained without creative labor.

[0022] Figure 1 is one of the flowcharts of the allocation method of the network access node provided by the application.

[0023] Figure 2 is the second flowchart of the allocation method of the network access node provided by the application.

[0024] Figure 3Figure 3 is a flowchart of a third method for allocating a network access node according to the present application.

[0025] Figure 4 Figure 4 is a schematic diagram of a registration process for a network access node according to the present application.

[0026] Figure 5 Figure 5 is a schematic diagram of an offline process for a network access node according to the present application.

[0027] Figure 6 Figure 6 is a schematic diagram of a process for disconnecting an access device according to the present application.

[0028] Figure 7 Figure 7 is a schematic diagram of an allocation device for a network access node according to the present application.

[0029] Figure 8 Figure 8 is a schematic diagram of an electronic device according to the present application. DETAILED DESCRIPTION

[0030] The present application will be described in greater detail with reference to the drawings, in which embodiments of the present application are shown. The embodiments do not represent the full scope of the present application. Reference signs in the claims should not be construed as limiting the scope of the claims.

[0031] The present application will be described in greater detail with reference to the drawings, in which embodiments of the present application are shown. The embodiments do not represent the full scope of the present application. Reference signs in the claims should not be construed as limiting the scope of the claims. Figures 1-6 A method for allocating a network access node according to the present application will be described.

[0032] Figure 1 Figure 3 is a flowchart of a third method for allocating a network access node according to the present application. Figure 1 The method comprises the following steps: Step 101: receiving a registration request of a first network access node; wherein the registration request carries capacity information of the first network access node.

[0033] The first network access node is a node that newly joins a network, needs to register with a data management server to obtain access service qualification, and has its capacity information recorded and managed, so as to provide network access service for access devices. For example, in a large Internet of Things platform, a newly installed wireless access point (AP) is a first network access node. When the AP is started, it sends a registration request to the data management server. After the data management server processes the request, the AP can provide network access service for devices in the Internet of Things platform.

[0034] The data management server is responsible for receiving the registration and offline request of the network access node, managing the state of the network access node, storing and updating the capacity information of the network access node, and interacting with the node allocation server. It coordinates the data flow between the network access node and the node allocation server, and guarantees the accuracy and efficiency of the access allocation process.

[0035] The capacity information is quantitative or structural data that can represent the resource carrying capacity of the network access node when providing network access services. It can include total capacity, used capacity and / or remaining capacity. The total capacity can be represented by the total number of accessible devices; the used capacity can be represented by the number of accessed devices; and the remaining capacity can be represented by the number of still accessible devices.

[0036] The registration request is a request message sent by the network access node to the data management server, which informs the data management server of the access network address, device access port, management service command execution port, acceptable device type, node identification information, capacity information, etc. of the network access node, in order to apply to join the network and provide access services. For example, the first network access node is a smart gateway in a smart home system. When the smart gateway starts and prepares to access the home network to provide services for other smart devices, it will construct a registration request containing the unique identification code of the gateway, the types of accessible smart devices (such as smart light bulbs, smart sockets, etc.), capacity information, etc. and then send the registration request to the data management server of the home network.

[0037] Step 102, identify the first network access node as ready state.

[0038] After receiving the registration request of the first network access node, the data management server will verify the node information carried in the registration request, including the legality of the node and the integrity of the information. After verification, the data management server can set the state field of the node to "ready" in its node state management table.

[0039] Step 103, store the capacity information of the first network access node into the target cache, so that the node allocation server obtains the capacity information of the network access node in the ready state from the target cache, and allocates network access nodes for access devices according to the capacity information of the network access node in the ready state.

[0040] The target cache is a storage area for storing the capacity information of the network access node, which can be quickly accessed by the node allocation server to obtain the capacity information of the network access node in the ready state, so as to allocate appropriate network access nodes for access devices. The target cache has high-speed read and write capability, which can ensure timely updating and obtaining of data.

[0041] As to the node allocation server obtaining the capacity information of the network access node in the ready state from the target cache, the detailed description of allocating the network access node for the access device according to the capacity information of the network access node in the ready state can be found in the related content of Figure 2 , which will not be repeated here.

[0042] In some embodiments, the data management server receives the offline request of the second network access node; identifies the second network access node as offline; sends the offline information of the second network access node to the node allocation server, so that the node allocation server re-allocates the network access node for the access device connected to the second network access node; clears the capacity information of the second network access node in the target cache; and sends the offline indication to the network access node.

[0043] The data management server can update the state field of the second network access node from "ready" to "offline" in the node state management table of the data management server.

[0044] The second network access node is a network access node that needs to be removed from the network due to some reasons (such as device failure, maintenance upgrade, network adjustment, etc.), that is, a network access node that will stop providing network access service for the access device. In the entire network access node allocation system, the second network access node is in a state of being about to exit the service but not yet completely completing the offline process.

[0045] In the embodiments provided by the application, when the second network access node needs to be offline due to various reasons (such as device failure, maintenance upgrade, etc.), the data management server identifies it as an offline state and notifies the node allocation server. Thus, the node allocation server can quickly know that the node is no longer available, avoid allocating new access devices to this node, prevent access devices from appearing abnormal situations such as access failure and network interruption due to being connected to a node that cannot normally serve, and ensure the stable operation of the entire network access system.

[0046] The detailed description of the node allocation server re-allocating the network access node for the access device connected to the second network access node can be found in the related content of Figure 2 , which will not be repeated here.

[0047] In some embodiments, the device disconnection event reporting information of the third network access node is received; the device disconnection event reporting information is sent by the third network access node after the access device is disconnected from the connection; the device disconnection event reporting information carries the quantity information of the access devices disconnected from the third network access node; and the capacity information of the third network access node in the target cache is updated according to the quantity information of the access devices disconnected from the third network access node.

[0048] The third network access node is a network access node which can actively report the device disconnection event information to the data management server when the access device is disconnected during the network operation. The node sends the report information containing the number of disconnected devices, so that the data management server can know the change of the access capacity in time, so as to accurately allocate the access in the future.

[0049] In the specific implementation process, the data management server can read the original capacity information of the third network access node from the target cache; according to the received number of disconnected devices, the capacity information of the third network access node in the target cache is updated and calculated, for example, the updated remaining capacity = original remaining capacity + number of disconnected devices; the data management server stores the calculated updated capacity information in the target cache, replacing the original capacity information. In this way, the capacity information of the third network access node recorded in the target cache can reflect the current actual access capacity in real time. Therefore, the network access node can be allocated for the new access device based on accurate information, and the accuracy and efficiency of the access allocation are guaranteed.

[0050] Figure 2 is a flowchart of the second network access node allocation method provided by the application, which is applied to the node allocation server, as shown in Figure 2 The method comprises the following steps: Step 201, receiving the access request of the access device.

[0051] The access request of the access device refers to the request message sent by the access device (such as a smart phone, a tablet computer, an Internet of Things terminal, etc.) to the node allocation server when it needs to connect to the network, which contains the related information of the access device and the intention of requesting to access the network, so that the network system can allocate the appropriate network access node for it, thereby realizing the network connection.

[0052] The node allocation server is responsible for dynamically allocating the appropriate network access node for the access device according to the request of the access device and the state of the current network access node.

[0053] Step 202, obtaining the identification of the network access node in the ready state from the data management server.

[0054] In the specific implementation process, the node allocation server can obtain the identification of the network access node in the ready state stored by the data management server by sending a request through the network.

[0055] Step 203, obtaining the capacity information of the network access node in the ready state from the target cache according to the identification of the network access node in the ready state.

[0056] The node allocation server can construct a cache key for querying the target cache according to the network access node identifier, initiate a query request to the target cache using the cache key, and after the target cache receives the query request, search for the corresponding network access node capacity information in the data storage of the target cache according to the cache key, and return the capacity information to the node allocation server.

[0057] In step 204, the network access node is allocated to the access device according to the capacity information of the network access node in the ready state.

[0058] In some embodiments, a preset capacity matching algorithm can be used to determine the target network access node from the network access nodes in the ready state according to the capacity information of the network access nodes in the ready state, update the capacity information of the target network access node in the target cache according to the number of access devices, and send the access information of the target network access node to the access device, so that the access device accesses the target network access node according to the access information.

[0059] In the specific implementation process, a variety of capacity matching algorithms can be used to determine the target network access node from the network access nodes in the ready state according to the capacity information of the network access nodes in the ready state, which is not limited by the description in this specification.

[0060] For example, the node allocation server traverses all network access nodes in the ready state, and selects the network access node with the largest accessible capacity as the target network access node.

[0061] For another example, after receiving the access requests of multiple access devices in step 201, a weight value (such as a weight value determined according to node performance, network delay, etc.) can be assigned to each ready node (network access node in the ready state), and the weight value can be dynamically adjusted to reflect the current state of the node; the total weight of all ready nodes is calculated; the number of access devices that each ready node should be allocated is calculated according to the number of access devices and the weight proportion (the ratio of the weight of the ready node to the total weight) of each ready node (rounded to the nearest integer to ensure that the total number matches); it is checked whether the number of allocated devices of each ready node exceeds its remaining capacity, if it exceeds, it is adjusted to the upper limit of the remaining capacity, and the remaining devices are re-allocated; the final target network access node and the number of allocated devices are determined.

[0062] After determining the target network access node, the node allocation server can update the capacity information of the target network access node in the target cache according to the number of access devices in the following ways.

[0063] The node allocation server queries the current capacity information of the target network access node from the target cache, including the total capacity and the number of connected devices.

[0064] According to the received number of access devices, the updated number of accessed devices (current number of accessed devices + new number of accessed devices) is calculated, and it is judged whether it exceeds the total capacity of the target network access node. If it exceeds, the capacity shortage processing logic (such as refusing to allocate, selecting other nodes, etc.) is triggered; if it does not exceed, the next step is continued.

[0065] The calculated updated number of accessed devices of the target network access node and the remaining capacity (total capacity - updated number of accessed devices) are written to the target cache, replacing the original capacity information, to ensure that the capacity information recorded in the target cache is always consistent with the actual allocation situation.

[0066] In some embodiments, the node allocation server receives offline information of the network access node, and can perform steps 201-204 to re-allocate network access nodes for access devices connected to the network access node.

[0067] Figure 3 Figure 3 is a flowchart of a method for allocating network access nodes according to an embodiment of the present application. The method is performed by a network access node, and comprises the following steps: Figure 3 Step 301: In response to an online event, a registration request carrying its own capacity information is sent to the data management server.

[0068] The online event refers to an event in which the network access node starts or resumes service capability, etc. The event marks the transition of the network access node from the "unavailable" or "unregistered" state to the "ready" state, allowing the data management server to include it in the list of available network access nodes and allocate connections for access devices.

[0069] For detailed description of the registration request and the capacity information, refer to the related content in step 101, which will not be repeated here.

[0070] For the processing of the data management server for the online request, refer to the related content in Figure 1 , which will not be repeated here.

[0071] In the embodiments provided by the present application, the network access node sends a registration request carrying its own capacity information to the data management server in response to an online event, so that the data management server can master the network access node resources in real time, avoiding allocation errors caused by information lag. When a new network access node is online, it is automatically registered, and it can be included in the list of network access nodes in the ready state managed by the data management server without manual configuration, which can effectively adapt to the demand for rapid expansion of Internet of Things devices.

[0072] Step 302: In response to an offline event, a offline request is sent to the data management server.​

[0073] Offline event refers to an event that the network access node stops providing network access service due to failure, maintenance, network adjustment or active closure, etc. The event triggers the data management server to mark the network access node as "offline", and informs the node allocation server to stop allocating new devices to it, and re-allocates other available nodes to the connected devices.

[0074] For the processing of the data management server for the offline request, see the related content in Figure 1 , which will not be repeated here.

[0075] In the embodiments provided by the application, the network access node sends an offline request to the data management server in response to the offline event, which can trigger the data management server to timely mark the network access node as "offline", and inform the node allocation server to re-allocate network access nodes to the devices connected to the network access node. Therefore, it can effectively ensure that the business does not interrupt, for example, in industrial Internet of Things, the sensors of production line devices can still upload data through the re-attached network access node.

[0076] Step 303, in response to the disconnection of the access device from itself, sending device disconnection event reporting information to the data management server.

[0077] For the processing of the data management server for the device disconnection event reporting information, see the related content in Figure 1 , which will not be repeated here.

[0078] In the embodiments provided by the application, the network access node sends device disconnection event reporting information to the data management server in response to the disconnection of the access device from itself. By reporting the number of disconnected devices, the data management server can dynamically update the remaining capacity in the target cache, ensuring that the subsequent allocation algorithm is executed based on the latest data, effectively avoiding the waste of idle resources of the network access node.

[0079] Figure 4 is a process diagram provided by the application.

[0080] As shown in Figure 4 , when the network access node sends a registration request, the data management server, the node allocation server and the network access node perform the following tasks: The network access node sends a registration request to the data management server, which carries its capacity information.

[0081] The data management server receives registration requests from network access nodes, marks the network access node as ready, indicating that it has the ability to provide network access services; at the same time, it stores and updates the capacity information of the network access node to the target cache to ensure the real-time and accuracy of data during subsequent allocation.

[0082] When an access device requests access, the node allocation server retrieves the identifier and related capacity information of the network access node in the ready state from the target cache; it attempts to deduct the available capacity of the target network access node according to a preset strategy; if the deduction is successful, it returns the target network access node to the access device, thus completing the access allocation.

[0083] In the embodiments provided by this invention, the target cache serves as the core of data storage and updating, providing support for the node allocation server to quickly query and dynamically adjust capacity information, thereby ensuring the efficiency and reliability of network access node allocation.

[0084] Figure 5 This is a schematic diagram of the offline processing procedure for a network access node provided by the present invention.

[0085] like Figure 5 As shown, when a network access node issues a shutdown request, the tasks executed by the data management server, the node allocation server, and the network access node are as follows: Network access nodes proactively send offline requests to the data management server (e.g., due to maintenance, faults, or resource adjustments), triggering the node offline process.

[0086] Upon receiving a shutdown request, the data management server updates the status of the network access node from "ready" to "offline." It clears the capacity information related to the node from the target cache to ensure that the cached data matches the actual node status, avoiding invalid resource allocation. Finally, it sends shutdown information to the node allocation server, notifying it that the node is no longer available.

[0087] Upon receiving the offline information, the node allocation server retrieves the offline information (such as node identifier, original capacity, etc.) of the network access node from the target cache. Based on the remaining available node resources, it reallocates new network access nodes to the affected access devices, ensuring the continuity of service for connected devices and avoiding the allocation of new devices to offline nodes.

[0088] In the embodiments provided by this invention, the data management server updates the status and cache information of network access nodes in real time, and the node allocation server can quickly detect node offline events and dynamically adjust the access allocation strategy. This avoids device connection failures or service interruptions caused by unavailable network access nodes, effectively improving the stability and resource utilization of the network system.

[0089] Figure 6 is a schematic diagram of a processing procedure for disconnection of an access device provided by the application.

[0090] As shown in the figure, when the network access node detects disconnection of an access device from it, the data management server, the node allocation server and the network access node perform the following tasks: Figure 6 The network access node actively reports device disconnection event information to the data management server when it detects disconnection of an access device.

[0091] The data management server receives the device disconnection event information reported by the network access node. According to the number of disconnected devices, the capacity information of the network access node in the target cache is updated. The capacity information in the target cache is ensured to be synchronized with the actual network access node resource state, providing accurate basis for subsequent device allocation.

[0092] The node allocation server obtains the updated capacity information from the target cache when allocating a network access node for a new access device, and executes the allocation strategy based on the latest data, avoiding waste of released resources due to information lag.

[0093] In the embodiments provided by the application, through real-time reporting of device disconnection events and cache updating mechanism, the data management server can timely recover and reuse the released network access node resources, ensure the accuracy of the capacity information of the network access node and the reliability of the allocation decision, thereby improving the resource utilization rate and stability of the overall network access service.

[0094] The allocation device of the network access node provided by the application is described below. The allocation device of the network access node described below can be referred to in correspondence with the allocation method of the network access node described above.

[0095] Figure 7 is a structural schematic diagram of the allocation device of the network access node provided by the application. As shown in the figure, the device 700 includes the following modules. Figure 7

[0096] The receiving module 710 is configured to receive a registration request of a first network access node, wherein the registration request carries capacity information of the first network access node.

[0097] The identification module 720 is configured to identify the first network access node as a ready state.

[0098] ​​The storage module 730 is used to store the capacity information of the first network access node in the target cache, so that the node allocation server can obtain the capacity information of the network access node in the ready state from the target cache, and allocate the network access node to the access device according to the capacity information of the network access node in the ready state.

[0099] Figure 8 An example is a schematic diagram of the physical structure of an electronic device, such as... Figure 8 As shown, the electronic device may include a processor 810, a communications interface 820, a memory 830, and a communication bus 840, wherein the processor 810, the communications interface 820, and the memory 830 communicate with each other via the communication bus 840. The processor 810 can invoke logical instructions in the memory 830 to execute a network access node allocation method. This method includes: receiving a registration request from a first network access node; wherein the registration request carries capacity information of the first network access node; marking the first network access node as ready; storing the capacity information of the first network access node in a target cache, so that a node allocation server can obtain the capacity information of the ready network access nodes from the target cache; and allocating a network access node to an access device based on the capacity information of the ready network access nodes.

[0100] Furthermore, the logical instructions in the aforementioned memory 830 can be implemented as software functional units and, when sold or used as independent products, can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention, or the part that contributes to the prior art, or a part of the technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute all or part of the steps of the methods described in the various embodiments of the present invention. The aforementioned storage medium includes various media capable of storing program code, such as USB flash drives, portable hard drives, read-only memory (ROM), random access memory (RAM), magnetic disks, or optical disks.

[0101] In another aspect, the present application also provides a computer program product comprising a computer program, which can be stored on a non-transitory computer readable storage medium, and the computer program, when executed by a processor, enables a computer to perform the network access node allocation method provided by the above-mentioned methods, which comprises: receiving a registration request of a first network access node; wherein the registration request carries capacity information of the first network access node; identifying the first network access node as a ready state; storing the capacity information of the first network access node to a target cache, so that a node allocation server obtains the capacity information of the network access node in the ready state from the target cache, and allocates a network access node to an access device according to the capacity information of the network access node in the ready state.

[0102] In another aspect, the present application also provides a non-transitory computer readable storage medium, which stores a computer program, and the computer program, when executed by a processor, implements the network access node allocation method provided by the above-mentioned methods, which comprises: receiving a registration request of a first network access node; wherein the registration request carries capacity information of the first network access node; identifying the first network access node as a ready state; storing the capacity information of the first network access node to a target cache, so that a node allocation server obtains the capacity information of the network access node in the ready state from the target cache, and allocates a network access node to an access device according to the capacity information of the network access node in the ready state.

[0103] The device embodiments described above are only schematic, wherein the units illustrated as separate components can or can not be physically separate, and the components illustrated as units can or can not be physical units, i.e., can be located in one place or distributed on a plurality of network units. Some or all of the modules can be selected according to actual needs to achieve the purpose of the present embodiment. Those skilled in the art can understand and implement without creative labor.

[0104] From the above description of the embodiments, those skilled in the art can clearly understand that the embodiments can be implemented by means of software plus necessary general hardware platforms, and of course can also be implemented by hardware. Based on such understanding, the above technical solutions, essentially or in other words, the part that contributes to the prior art, can be embodied in the form of a software product, which can be stored in a computer readable storage medium, such as a ROM / RAM, a magnetic disk, an optical disk, etc., and includes a number of instructions to make a computer device (which can be a personal computer, a server, or a network device, etc.) execute the methods described in each embodiment or some parts of the embodiments.

[0105] It should be pointed out finally that the above embodiments are only used to illustrate the technical solutions of the present application, but not to limit the same; and although the present application has been described in detail with reference to the foregoing embodiments, it should be appreciated by those skilled in the art that the technical solutions recorded in the foregoing embodiments can be modified, or some technical features thereof can be replaced equivalently; and these modifications or replacements do not make the essence of the corresponding technical solutions deviate from the spirit and scope of the technical solutions of the embodiments of the present application.

Claims

1. A method for allocating network access nodes, characterized in that, Applied to a data management server, the method includes: Receive a registration request from a first network access node; wherein the registration request carries capacity information of the first network access node; Mark the first network access node as ready; The capacity information of the first network access node is stored in the target cache, so that the node allocation server can obtain the capacity information of the network access node in the ready state from the target cache, and allocate the network access node to the access device according to the capacity information of the network access node in the ready state.

2. The method for allocating network access nodes according to claim 1, characterized in that, The method further includes: Receive the offline request from the second network access node; The second network access node is marked as offline. Send the offline information of the second network access node to the node allocation server so that the node allocation server can reallocate a network access node for the access device connected to the second network access node; Clear the capacity information of the second network access node in the target cache; Send a disconnection instruction to the network access node.

3. The method for allocating network access nodes according to claim 1 or 2, characterized in that, The method further includes: Receive device disconnection event reporting information from a third network access node; wherein, the device disconnection event reporting information is sent by the third network access node after the access device disconnects from it; the device disconnection event reporting information carries information about the number of access devices that have disconnected from the third network access node; The capacity information of the third network access node in the target cache is updated based on the number of access devices disconnected from the third network access node.

4. A method for allocating network access nodes, characterized in that, Applied to a node allocation server, the method includes: Receive access requests from access devices; Obtain the identifiers of network access nodes that are in a ready state from the data management server; Based on the identifier of the network access node in the ready state, obtain the capacity information of the network access node in the ready state from the target cache. Based on the capacity information of the network access nodes that are in a ready state, allocate network access nodes to the access device; The network access node is marked as ready after the data management server receives the registration request carrying capacity information from the network access node; the capacity information is stored in the target cache by the data management server.

5. The method for allocating network access nodes according to claim 4, characterized in that, The step of allocating network access nodes to the access device based on the capacity information of network access nodes in a ready state includes: Using a preset capacity matching algorithm, the target network access node is determined from the network access nodes in the ready state based on their capacity information. Update the capacity information of the target network access node in the target cache according to the number of access devices; The access information of the target network access node is sent to the access device so that the access device can access the target network access node according to the access information.

6. The method for allocating network access nodes according to claim 4 or 5, characterized in that, The method further includes: Receive offline information from network access nodes; Reassign network access nodes to access devices connected to the network access node; Specifically, the offline information of the network access node is sent by the data management server to the node allocation server after receiving the offline request of the network access node; after the data management server marks the network access node as offline and clears the capacity information of the network access node in the target cache, it sends an offline instruction to the network access node.

7. A method for allocating network access nodes, characterized in that, Applied to network access nodes, the method includes: In response to the online event, a registration request carrying its own capacity information is sent to the data management server; wherein, after receiving the registration request, the data management server sets the network access node to a ready state and stores the capacity information in the target cache.

8. The method for allocating network access nodes according to claim 7, characterized in that, The method further includes: In response to an offline event, an offline request is sent to the data management server; wherein, after receiving the offline request, the data management server marks the network access node as offline and sends the offline information of the network access node to the node allocation server, so that the node allocation server can reassign network access nodes for the access devices connected to the network access node. Alternatively, in response to an access device disconnecting from itself, the data management server sends a device disconnection event reporting message to the data management server; wherein the device disconnection event reporting message carries information about the number of access devices disconnected from the network access node; after receiving the device disconnection event reporting message, the data management server updates the capacity information of the network access node in the target cache according to the information about the number of access devices disconnected from the network access node.

9. An electronic device comprising a memory, a processor, and a computer program stored in the memory and running on the processor, characterized in that, When the processor executes the computer program, it implements the network access node allocation method as described in any one of claims 1 to 8.

10. A non-transitory computer-readable storage medium having a computer program stored thereon, characterized in that, When the computer program is executed by a processor, it implements the network access node allocation method as described in any one of claims 1 to 8.

Citation Information

Patent Citations

  • Method, node manager and system for load balancing in cloud computing system

    CN102624916A

  • Network access allocation method and system

    CN112672404A

  • Network connection method and device, electronic equipment and storage medium

    CN114158112A

  • Network access method and device, medium and electronic equipment

    CN114205296A

  • Network access method, communication equipment and computer readable storage medium

    CN117202312A