Scheduling method and device for wireless networking, electronic equipment and storage medium

By obtaining the status information of the wireless access point and using the multi-agent reinforcement learning model to adjust its behavior, the problem of idle access points and load imbalance in wireless networking is solved, achieving optimal Internet access performance and load balancing, and improving Communication quality.

CN118804375APending Publication Date: 2024-10-18CHINA MOBILE M2M +1
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202311755747.3
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-12-19
Publication Date
2024-10-18

AI Technical Summary

Technical Problem

The scheduling scheme of wireless access points in existing wireless networks causes some access points to be idle or overloaded, resulting in link congestion and reduced communication quality.

Method used

By obtaining the target status information of each wireless access point, including working status, connected device status, and non-associated device status within the coverage area, the multi-agent reinforcement learning model is used to determine the target behavior information, and generate scheduling instructions to adjust access Point of action to avoid idleness and load imbalance.

Benefits of technology

It achieves the best Internet performance and load balancing of each wireless access point, improving communication quality and network stability.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118804375A_ABST
    Figure CN118804375A_ABST
Patent Text Reader

Abstract

The invention provides a wireless networking scheduling method and device, electronic equipment and a storage medium, and the method comprises the steps: obtaining the target state information of each wireless access point in a wireless network; wherein the target state information comprises at least one of the following information: a working state of the wireless access point at the current moment, a state of a lower device of the wireless access point, and a state of a non-associated device in a coverage range of the wireless access point; determining target behavior information of each wireless access point at the next moment based on the target state information; wherein the target behavior information is used for indicating the execution action of the wireless access point at the next moment; generating a first scheduling instruction of wireless networking based on the target behavior information; and issuing a first scheduling instruction to the wireless network. According to the embodiment of the invention, each wireless access point can realize the optimal internet access performance, and the load balance among the wireless access networks is ensured.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure relates to the technical field of artificial intelligence, and in particular to a scheduling method, device, electronic device and storage medium for wireless networking. Background Art

[0002] Wireless networking, also known as Mesh networking, is a multi-node, centerless, self-organizing wireless multi-hop communication network. Any wireless access point (AP) in the network can act as a router to send and receive signals, and can dynamically maintain connections and communications with other single or multiple wireless access points in any way.

[0003] At present, the scheduling scheme for wireless access points in wireless networking is relatively mature on the market. In the prior art, the terminal device selects to access the wireless access point whose signal strength relative to the terminal device is higher than the preset signal strength threshold. However, there will be problems such as some wireless access points in the wireless network being idle and some wireless access points being overloaded, resulting in link congestion and reduced communication quality. In view of these situations, it is necessary to adjust the scheduling method of wireless access points in the wireless network. Summary of the invention

[0004] The embodiments of the present disclosure at least provide a scheduling method, device, electronic device and storage medium for wireless networking.

[0005] In a first aspect, an embodiment of the present disclosure provides a scheduling method for wireless networking, including:

[0006] Obtaining target state information of each wireless access point in the wireless network; wherein the target state information includes at least one of the following: the working state of the wireless access point at the current moment, the state of the device connected to the wireless access point, and the state of non-associated devices within the coverage range of the wireless access point;

[0007] Based on the target state information, determine the target behavior information of each of the wireless access points at the next moment; wherein the target behavior information is used to indicate the execution action of the wireless access point at the next moment;

[0008] Based on the target behavior information, a first scheduling instruction for the wireless networking is generated; and the first scheduling instruction is issued to the wireless networking.

[0009] In an optional implementation manner, determining the target behavior information of each of the wireless access points at the next moment based on the target state information includes:

[0010] Inputting the target state information into the target strategy network model of the multi-agent reinforcement learning model to be trained for processing, and outputting the processing result;

[0011] The target behavior information is determined based on the processing result.

[0012] In an optional implementation, the multi-agent reinforcement learning model to be trained includes: a policy network and a value network;

[0013] The target strategy network is obtained by training in the following way:

[0014] Acquire initial state information of each of the wireless access points at the training time;

[0015] Inputting the initial state information into an initial strategy network for processing to obtain first behavior information;

[0016] Based on the initial value network and the first behavior information, the parameters of the initial policy network are updated to obtain the target policy network.

[0017] In an optional implementation, updating the parameters of the initial policy network based on the initial value network and the first behavior information to obtain the target policy network includes:

[0018] Starting with the first behavior information, taking the first behavior information as intermediate behavior information, and performing the following steps until the target policy model is obtained:

[0019] generating a second scheduling instruction for the wireless networking based on the intermediate behavior information, and performing scheduling processing on the wireless networking according to the second scheduling instruction;

[0020] Acquire the status information of each wireless access point in the wireless network after the scheduling process, and obtain the status information to be processed;

[0021] Determining a target reward value of the state information to be processed;

[0022] When it is determined that the target reward value is less than a preset reward value threshold, the to-be-processed state information is input into the initial strategy network, and second behavior information is output; and the parameters of the initial strategy network are updated through the initial value network according to the second behavior information;

[0023] Using the second behavior information as the intermediate behavior information, and returning to execute the step of generating the second scheduling instruction for the wireless networking based on the intermediate behavior information, and performing scheduling processing on the wireless networking according to the second scheduling instruction;

[0024] When it is determined that the target reward value is greater than or equal to the preset reward value threshold, the initial policy network after the last update is used as the target policy network.

[0025] In an optional implementation manner, determining the target reward value of the state information to be processed includes:

[0026] Based on the pending state information, a plurality of reward values ​​are determined; wherein the plurality of reward values ​​are used to indicate at least one of the following: CPU and memory utilization of the wireless network, network status of the wireless network, and roaming time of the wireless network;

[0027] The multiple reward values ​​are weighted and summed to obtain the target reward value.

[0028] In an optional implementation manner, the determining of multiple reward values ​​based on the pending state information includes:

[0029] Determine a first reward value based on a CPU usage rate and a memory usage rate of each wireless access point in the pending state information;

[0030] Determine a second reward value based on the delay and packet loss rate per unit bandwidth of each wireless access point in the state information to be processed;

[0031] determining a third reward value based on the roaming time of each wireless access point in the status information to be processed;

[0032] The plurality of reward values ​​are determined based on the first reward value, the second reward value, and the third reward value.

[0033] In an optional implementation manner, the generating a first scheduling instruction for wireless networking based on the target behavior information; and issuing the first scheduling instruction to the wireless networking includes:

[0034] Determining, based on the target behavior information, an action to be performed by each wireless access point at a next moment;

[0035] The scheduling instruction is generated according to the action to be executed by each wireless access point at the next moment, and the scheduling instruction is sent to the wireless network.

[0036] In a second aspect, an embodiment of the present disclosure further provides a scheduling device for wireless networking, including:

[0037] An acquisition module is used to acquire target state information of each wireless access point in the wireless network; wherein the target state information includes at least one of the following: the working state of the wireless access point at the current moment, the state of the device connected to the wireless access point, and the state of the non-associated device within the coverage range of the wireless access point;

[0038] A determination module, configured to determine target behavior information of each of the wireless access points at a next moment based on the target state information; wherein the target behavior information is used to indicate an execution action of the wireless access point at the next moment;

[0039] A generation module is used to generate a first scheduling instruction for the wireless networking based on the target behavior information; and send the first scheduling instruction to the wireless networking.

[0040] In a third aspect, an embodiment of the present disclosure further provides an electronic device, comprising: a processor, a memory and a bus, wherein the memory stores machine-readable instructions executable by the processor, and when the electronic device is running, the processor and the memory communicate via the bus, and when the machine-readable instructions are executed by the processor, the steps of the above-mentioned first aspect, or any possible implementation of the first aspect are performed.

[0041] In a fourth aspect, an embodiment of the present disclosure further provides a computer-readable storage medium, on which a computer program is stored. When the computer program is executed by a processor, the steps of the above-mentioned first aspect or any possible implementation of the first aspect are executed.

[0042] In an embodiment of the present disclosure, first, target state information of each wireless access point in a wireless network is obtained; wherein the target state information includes at least one of the following: a working state of the wireless access point at a current moment, a state of a device connected to the wireless access point, and a state of a non-associated device within the coverage of the wireless access point; secondly, based on the target state information, target behavior information of each wireless access point at a next moment is determined; wherein the target behavior information is used to indicate an execution action of the wireless access point at a next moment; finally, based on the target behavior information, a first scheduling instruction of the wireless network is generated; and the first scheduling instruction is issued to the wireless network.

[0043] In the above implementation, the working status of each wireless access point in the wireless network, the status of the devices under the wireless access point, and the status of the non-associated devices within the coverage of the wireless access point are obtained. And the action that needs to be performed by the wireless access point at the next moment is determined according to the status of each wireless access point, so as to avoid the problem that some wireless access points are idle and some wireless access points are overloaded. The wireless access point is selected not only based on the signal strength between the terminal device and each wireless access point, but also the working status of each wireless access point, the status of the devices under the wireless access point, and the status of the non-associated devices within the coverage of the wireless access point are taken into consideration, so that each wireless access point can achieve the best Internet access performance and ensure load balancing between wireless access networks.

[0044] In order to make the above-mentioned objectives, features and advantages of the present disclosure more obvious and easy to understand, preferred embodiments are specifically cited below and described in detail with reference to the attached drawings. BRIEF DESCRIPTION OF THE DRAWINGS

[0045] In order to more clearly illustrate the technical solutions of the embodiments of the present disclosure, the following is a brief introduction to the drawings required for use in the embodiments. The drawings herein are incorporated into the specification and constitute a part of the specification. These drawings illustrate embodiments consistent with the present disclosure and are used together with the specification to illustrate the technical solutions of the present disclosure. It should be understood that the following drawings only illustrate certain embodiments of the present disclosure and should not be regarded as limiting the scope. For ordinary technicians in this field, other relevant drawings can also be obtained based on these drawings without creative work.

[0046] Figure 1 A flowchart of a wireless networking scheduling method provided by an embodiment of the present disclosure is shown;

[0047] Figure 2 A flowchart showing a specific method of target strategy network training in the wireless networking scheduling method provided by an embodiment of the present disclosure;

[0048] Figure 3 A flowchart showing a specific method for training an initial strategy network and an initial value network in a scheduling method for wireless networking provided by an embodiment of the present disclosure;

[0049] Figure 4 A flowchart showing a specific method for updating parameters of an initial policy network in a scheduling method for wireless networking provided by an embodiment of the present disclosure;

[0050] Figure 5 A schematic diagram of a wireless networking scheduling device provided by an embodiment of the present disclosure is shown;

[0051] Figure 6 A schematic diagram of an electronic device provided by an embodiment of the present disclosure is shown. DETAILED DESCRIPTION

[0052] In order to make the purpose, technical scheme and advantages of the embodiments of the present disclosure clearer, the technical scheme in the embodiments of the present disclosure will be clearly and completely described below in conjunction with the drawings in the embodiments of the present disclosure. Obviously, the described embodiments are only part of the embodiments of the present disclosure, rather than all of the embodiments. The components of the embodiments of the present disclosure generally described and shown in the drawings here can be arranged and designed in various different configurations. Therefore, the following detailed description of the embodiments of the present disclosure provided in the drawings is not intended to limit the scope of the present disclosure for protection, but merely represents the selected embodiments of the present disclosure. Based on the embodiments of the present disclosure, all other embodiments obtained by those skilled in the art without making creative work belong to the scope of protection of the present disclosure.

[0053] It should be noted that similar reference numerals and letters denote similar items in the following drawings, and therefore, once an item is defined in one drawing, further definition and explanation thereof is not required in subsequent drawings.

[0054] The term "and / or" herein only describes an association relationship, indicating that three relationships may exist. For example, A and / or B may represent the following three situations: A exists alone, A and B exist at the same time, and B exists alone. In addition, the term "at least one" herein represents any combination of at least two of any one or more of a plurality of. For example, including at least one of A, B, and C may represent including any one or more elements selected from the set consisting of A, B, and C.

[0055] Research has found that wireless networking, also known as Mesh networking, is a multi-node, centerless, self-organizing wireless multi-hop communication network. Any wireless access point AP (Wireless Access Point) in the network can be used as a router to send and receive signals, and can dynamically maintain connections and communications with other single or multiple wireless access points in any way.

[0056] At present, the scheduling scheme for wireless access points in wireless networking is relatively mature on the market. In the prior art, the terminal device selects to access the wireless access point whose signal strength relative to the terminal device is higher than the preset signal strength threshold. However, there will be problems such as some wireless access points in the wireless network being idle and some wireless access points being overloaded, resulting in link congestion and reduced communication quality. In view of these situations, it is necessary to adjust the scheduling method of wireless access points in the wireless network.

[0057] Based on the above research, the present disclosure provides a scheduling method for wireless networking.

[0058] First, the target state information of each wireless access point in the wireless network is obtained; wherein the target state information includes at least one of the following: the working state of the wireless access point at the current moment, the state of the device hanging from the wireless access point, and the state of the non-associated device within the coverage of the wireless access point; secondly, based on the target state information, the target behavior information of each wireless access point at the next moment is determined; wherein the target behavior information is used to indicate the execution action of the wireless access point at the next moment; finally, based on the target behavior information, a first scheduling instruction of the wireless network is generated; and the first scheduling instruction is issued to the wireless network.

[0059] In the above implementation, the working status of each wireless access point in the wireless network, the status of the devices under the wireless access point, and the status of the non-associated devices within the coverage of the wireless access point are obtained. And the action that needs to be performed by the wireless access point at the next moment is determined according to the status of each wireless access point, so as to avoid the problem that some wireless access points are idle and some wireless access points are overloaded. The wireless access point is selected not only based on the signal strength between the terminal device and each wireless access point, but also the working status of each wireless access point, the status of the devices under the wireless access point, and the status of the non-associated devices within the coverage of the wireless access point are taken into consideration, so that each wireless access point can achieve the best Internet access performance and ensure load balancing between wireless access networks.

[0060] To facilitate understanding of this embodiment, a scheduling method for wireless networking disclosed in an embodiment of the present disclosure is first introduced in detail. The execution subject of the scheduling method for wireless networking provided in an embodiment of the present disclosure is generally a computer device with certain computing capabilities, and the computer device includes, for example: a terminal device or a server or other processing device, and the terminal device can be a user equipment (User Equipment, UE), a mobile device, a user terminal, a terminal, a cellular phone, a cordless phone, a personal digital assistant (Personal Digital Assistant, PDA), a handheld device, a computing device, a vehicle-mounted device, a wearable device, etc. In some possible implementations, the scheduling method for wireless networking can be implemented by a processor calling a computer-readable instruction stored in a memory.

[0061] See also Figure 1 As shown, it is a flowchart of a scheduling method for wireless networking provided by an embodiment of the present disclosure, the method includes steps S201 to S203, wherein:

[0062] S201. Obtain target state information of each wireless access point in the wireless network; wherein the target state information includes at least one of the following: a working state of the wireless access point at a current moment, a state of a device connected to the wireless access point, and a state of a non-associated device within the coverage of the wireless access point.

[0063] In an embodiment of the present disclosure, target state information of each wireless access point (i.e., Wireless Access Point, AP) in a wireless network (i.e., Mesh network) at the current moment is obtained. The target state information can be represented in the form of a matrix. The number of rows of the matrix can be the number of wireless access points in the wireless network. The number of columns of the matrix can be the number of dimensions of the wireless access point state information.

[0064] Here, the wireless access point status information may include the working status of the wireless access point at the current moment, the status of the devices connected to the wireless access point at the current moment, and the status of non-associated devices within the coverage of the wireless access point at the current moment.

[0065] Among them, the working status of the wireless access point at the current moment includes the upload rate of the uplink port of the wireless access point at the current moment, the download rate of the uplink port of the wireless access point at the current moment, the upload rate of the downlink port of the wireless access point at the current moment, the download rate of the downlink port of the wireless access point at the current moment, the CPU usage rate of the wireless access point at the current moment, the memory usage rate of the wireless access point at the current moment, the average delay of the message transmission of the wireless access point at the current moment, the packet loss rate of the message transmission of the wireless access point at the current moment, and the average roaming switching time of the downstream device of the wireless access point roaming to other wireless access points in the wireless network at the current moment.

[0066] The state of the device connected to the wireless access point at the current moment includes a received signal strength indication (RSSI) of the device connected to the wireless access point at the current moment.

[0067] The state of the non-associated device within the coverage of the wireless access point at the current moment includes the strength indication of the received signal of the non-associated mobile device within the coverage of the wireless access point at the current moment.

[0068] Here, the non-associated mobile device within the coverage of the wireless access point is a mobile terminal device within the coverage of the wireless access point but not connected to the wireless access point.

[0069] S202: Determine target behavior information of each wireless access point at the next moment based on the target state information; wherein the target behavior information is used to indicate an execution action of the wireless access point at the next moment.

[0070] In an embodiment of the present disclosure, the target state information may be input into a trained multi-agent reinforcement learning model, and the output of the trained multi-agent reinforcement learning model may be used as the target behavior information.

[0071] Here, the target behavior information may be represented in the form of a matrix. The number of rows of the matrix may be the number of wireless access points in the wireless network. The number of columns of the matrix may be the number of dimensions of the wireless access point behavior information.

[0072] The next moment wireless access point behavior information includes whether the wireless access point performs channel reset at the next moment, whether the wireless access point changes the transmit power at the next moment, whether the wireless access point changes the wireless working mode at the next moment, whether the wireless access point refreshes the memory at the next moment, whether the wireless access point refreshes the CPU at the next moment, whether the wireless access point restarts at the next moment, and whether the downstream device of the wireless access point will roam to other wireless access points in the wireless network at the next moment.

[0073] Here, the next moment wireless access point behavior information is all elements in the matrix generated according to the target behavior information. For example, if the wireless access point performs channel reset at the next moment, the corresponding element in the matrix is ​​set to 1, otherwise, it is set to 0.

[0074] S203: Generate a first scheduling instruction for the wireless network based on the target behavior information; and issue the first scheduling instruction to the wireless network.

[0075] In an embodiment of the present disclosure, a first scheduling instruction for wireless networking is generated based on the target behavior information. The first scheduling instruction for wireless networking can be generated by the value of an element in a matrix corresponding to the target behavior information. For example, if a wireless access point performs a channel reset at the next moment, the corresponding element in the matrix is ​​set to 1, and a channel reset instruction for the wireless access point is generated and added to the first scheduling instruction.

[0076] Here, after the first scheduling instruction is sent to the wireless networking, the wireless networking may perform scheduling according to the content in the first scheduling instruction and change the execution action of the wireless access point.

[0077] In an embodiment of the present disclosure, first, target state information of each wireless access point in a wireless network is obtained; wherein the target state information includes at least one of the following: a working state of the wireless access point at a current moment, a state of a device connected to the wireless access point, and a state of a non-associated device within the coverage of the wireless access point; secondly, based on the target state information, target behavior information of each wireless access point at a next moment is determined; wherein the target behavior information is used to indicate an execution action of the wireless access point at a next moment; finally, based on the target behavior information, a first scheduling instruction of the wireless network is generated; and the first scheduling instruction is issued to the wireless network.

[0078] In the above implementation, the working status of each wireless access point in the wireless network, the status of the devices under the wireless access point, and the status of the non-associated devices within the coverage of the wireless access point are obtained. And the action that needs to be performed by the wireless access point at the next moment is determined according to the status of each wireless access point, so as to avoid the problem that some wireless access points are idle and some wireless access points are overloaded. The wireless access point is selected not only based on the signal strength between the terminal device and each wireless access point, but also the working status of each wireless access point, the status of the devices under the wireless access point, and the status of the non-associated devices within the coverage of the wireless access point are taken into consideration, so that each wireless access point can achieve the best Internet access performance and ensure load balancing between wireless access networks.

[0079] In an optional implementation, based on the target state information, determining the target behavior information of each wireless access point at the next moment specifically includes the following steps:

[0080] First, the target state information is input into the target strategy network model of the multi-agent reinforcement learning model to be trained for processing, and the processing result is output;

[0081] Secondly, target behavior information is determined based on the processing results.

[0082] In the embodiment of the present disclosure, it is necessary to determine the behavior information of each wireless access point in the wireless network as the target behavior information according to the target state information.

[0083] Here, the multi-agent reinforcement learning model may be a Communication Neural Net (CommNet) model. The number of agents in the multi-agent reinforcement learning model may be the same as the number of wireless access points in the wireless network. Since the target state information is the state information of each wireless access point in the wireless network, each agent in the multi-agent reinforcement learning model may correspond to the state information of a wireless access point.

[0084] Here, the target state information is input into the target policy network model of the multi-agent reinforcement learning model to be trained for processing. The state information of the wireless access point in the target state information can be input into the agent corresponding to the wireless access point for processing.

[0085] Here, the target behavior information is determined based on the processing result. All the behavior information obtained by each agent according to the corresponding state information can be used as the target behavior information. Thus, the first scheduling instruction of the wireless networking can be generated according to the target behavior information.

[0086] In an embodiment of the present disclosure, the multi-agent reinforcement learning model to be trained includes: a policy network (i.e., an actor network) and a value network (i.e., a critic network);

[0087] In an alternative embodiment, referring to Figure 2 As shown, the target strategy network is trained in the following way:

[0088] S1. Obtaining the initial state information of each wireless access point at the training time;

[0089] S2, inputting the initial state information into the initial strategy network for processing to obtain the first behavior information;

[0090] S3. Based on the initial value network and the first behavior information, update the parameters of the initial policy network to obtain the target policy network.

[0091] In an embodiment of the present disclosure, the training moment is a historical moment before the current moment, which is the initial moment of training the initial policy network in the multi-agent reinforcement learning model to be trained.

[0092] Here, refer to Figure 3 As shown, the initial policy network and the initial value network can be obtained by training in the following way at the pre-training time before the training time:

[0093] First, the number of training rounds M and the number of training rounds T required for each training round can be set, and the target number of training rounds m and the target number of training rounds t are set to 1. Then, the state information at the pre-training moment can be input into the policy network to be trained, and the policy network to be trained outputs the behavior information at the next moment of the pre-training moment. Then, the third scheduling instruction can be generated according to the behavior information at the next moment of the pre-training moment, and sent to the wireless network. Then, the state information at the next moment of the pre-training moment can be obtained and the reward value can be calculated according to the state information at the next moment of the pre-training moment. Then, the state information, behavior information and reward value at the same moment can be stored in the experience pool. Then, it is determined whether t is greater than or equal to T. If t<T, t=t+1 is set and the above steps are repeated; if t≥T, the parameters of the policy network to be trained and the value network to be trained are updated according to the data in the experience pool. Then, it can be determined whether m is greater than or equal to M. If m<M, m=m+1 is set and the above steps are repeated; if m≥M, the policy network to be trained and the value network to be trained updated for the last time are used as the initial policy network and the initial value network.

[0094] As described above, by enabling the multi-agent reinforcement learning model to reinforce learning of multiple state information and by using the multi-agent reinforcement learning model to perform good generalization, a faster network rate and a better WiFi switching experience can be provided for the devices connected to the wireless access point.

[0095] Here, after obtaining the initial policy network and the initial value network, the initial policy network can be trained according to the initial value network to obtain the target policy network.

[0096] In an embodiment of the present disclosure, the initial state information is input into the strategy network to be trained for processing to obtain the first behavior information. The initial state information can be input into the initial strategy network, and the initial state information is processed according to the agent in the initial strategy network to obtain the first behavior information.

[0097] In the embodiments of the present disclosure, referring to Figure 4 As shown, based on the value network to be trained and the first behavior information, the parameters of the initial policy network are updated to obtain the target policy network, which specifically includes the following steps:

[0098] Starting with the first behavior information, use the first behavior information as the intermediate behavior information, and perform the following steps until the target policy model is obtained:

[0099] S31, generating a second scheduling instruction for the wireless networking based on the intermediate behavior information, and performing scheduling processing on the wireless networking according to the second scheduling instruction;

[0100] S32, obtaining status information of each wireless access point in the wireless network after scheduling processing, and obtaining status information to be processed;

[0101] S33, determining a target reward value for the status information to be processed;

[0102] S34, when it is determined that the target reward value is less than the preset reward value threshold, inputting the state information to be processed into the initial strategy network, outputting the second behavior information; and updating the parameters of the strategy network to be trained according to the second behavior information;

[0103] S35, taking the second behavior information as the intermediate behavior information, and returning to execute the step of generating a second wireless networking scheduling instruction based on the intermediate behavior information, and performing scheduling processing on the wireless networking according to the second scheduling instruction;

[0104] S36: When it is determined that the target reward value is greater than or equal to the preset reward value threshold, the initial policy network after the last update is used as the target policy network.

[0105] In an embodiment of the present disclosure, a second scheduling instruction for wireless networking is generated based on the intermediate behavior information, and the wireless networking is scheduled according to the second scheduling instruction. The second scheduling instruction for wireless networking can be generated by the value of the element in the matrix corresponding to the intermediate behavior information. The second scheduling instruction is sent to the wireless networking, so that the wireless networking can perform scheduling according to the second scheduling instruction.

[0106] In the embodiment of the present disclosure, all the state information of each access point may be used as the state information to be processed.

[0107] In an embodiment of the present disclosure, the target reward value is used to indicate the global reward of each agent in the target decision network.

[0108] In an embodiment of the present disclosure, the state information to be processed is input into the initial policy network, and the second behavior information is output. First, the state information to be processed can be converted into hidden layer state information using an agent in the initial policy network. Then, the hidden layer state information can be input into the communication layer for mean pooling to obtain a pooling result. Then, the pooling result can be input into the decoding layer to obtain the second behavior information.

[0109] In an embodiment of the present disclosure, the parameters of the initial policy network are updated according to the second behavior information. The parameters of the initial policy network may be updated according to the second behavior information, the target reward value, and the state information to be processed.

[0110] In an embodiment of the present disclosure, when it is determined that the target reward value is greater than or equal to the preset reward value threshold for a preset number of consecutive times, the initial policy network after the last update is used as the target policy network.

[0111] In an optional implementation, determining the target reward value of the state information to be processed specifically includes the following steps:

[0112] First, based on the status information to be processed, a plurality of reward values ​​are determined; wherein the plurality of reward values ​​are used to indicate at least one of the following: CPU and memory utilization of the wireless network, network status of the wireless network, and roaming time of the wireless network;

[0113] Secondly, multiple reward values ​​are weighted and summed to obtain the target reward value.

[0114] In an embodiment of the present disclosure, multiple reward values ​​may be determined based on the state value of each wireless access point in each dimension in the state information to be processed.

[0115] Here, all or part of the reward values ​​among the multiple reward values ​​may be weightedly summed to obtain the target reward value.

[0116] The network status of the wireless networking can be determined based on the delay and packet loss rate per unit bandwidth of each wireless access point in the wireless networking.

[0117] In an optional implementation, based on the pending state information, determining multiple reward values ​​specifically includes the following steps:

[0118] First, based on the CPU usage and memory usage of each wireless access point in the state information to be processed, a first reward value is determined;

[0119] Secondly, based on the delay and packet loss rate per unit bandwidth of each wireless access point in the state information to be processed, a second reward value is determined;

[0120] Secondly, determining a third reward value based on the roaming time of each wireless access point in the status information to be processed;

[0121] Finally, a plurality of reward values ​​are determined based on the first reward value, the second reward value, and the third reward value.

[0122] In an embodiment of the present disclosure, the first reward value F1 is determined based on the CPU usage rate and memory usage rate of each wireless access point in the state information to be processed. The first reward value F1 can be determined based on the CPU usage rate of each wireless access point and the memory usage rate of each wireless access point in the state information to be processed. The first reward value F1 meets the following conditions:

[0123] F1=∑ n i=1 (C max -C n )+∑ n i=1 (M max -M n );

[0124] Among them, C n is the CPU usage of the nth wireless access point in the status information to be processed, M n is the memory usage of the nth wireless access point in the pending state information, C max is the CPU usage threshold of the wireless access point, M max is the memory usage threshold of the wireless access point. The value of i ranges from 1 to n, where n is the number of wireless access points in the wireless network.

[0125] Here, the CPU usage threshold C of the wireless access point max and the memory usage threshold M of the wireless access point max It can be set according to actual needs and will not be described in detail here.

[0126] Here, the larger the first reward value F1 is, the lower the CPU usage and memory usage of the wireless access point in the wireless network is, and the more stable the wireless network is.

[0127] In an embodiment of the present disclosure, the second reward value F2 is determined based on the latency and packet loss rate of the unit bandwidth of each wireless access point in the state information to be processed. The second reward value F2 can be determined based on the latency of the unit bandwidth of each wireless access point in the state information to be processed, the packet loss rate of each wireless access point in the state information to be processed, the upload rate of the uplink port of each wireless access point in the state information to be processed, the download rate of the uplink port of each wireless access point in the state information to be processed, the upload rate of the downlink port of each wireless access point in the state information to be processed, and the download rate of the downlink port of each wireless access point in the state information to be processed. The second reward value F2 meets the following conditions:

[0128] F2=∑ n i=1 [(U n,w +D n,w +U n,l +D n,l ) / De n ]+∑ n i=1 [(U n,w +D n,w +U n,l +D n,l ) / LS n ];

[0129] Among them, De n is the delay per unit bandwidth of the nth wireless access point in the state information to be processed, LS n is the packet loss rate of the nth wireless access point in the state information to be processed, U n,w is the upload rate of the nth wireless access point uplink port in the status information to be processed, D n,w is the download rate of the uplink port of the nth wireless access point in the status information to be processed, U n,l is the upload rate of the downlink port of the nth wireless access point in the status information to be processed, D n,l It is the download rate of the downlink port of the nth wireless access point in the status information to be processed.

[0130] Here, a larger second reward value F2 indicates a better network status of the wireless networking and a more stable wireless networking.

[0131] In an embodiment of the present disclosure, the third reward value F3 is determined based on the roaming time of each wireless access point in the state information to be processed. It can be determined according to the average roaming switching time of the devices connected to each wireless access point in the processing state information roaming to other wireless access points in the wireless network. The third reward value F3 meets the following conditions:

[0132] F3=∑ n i=1 (1 / Rm n);

[0133] Among them, Rm n It is the average roaming switching time of the devices connected to the nth wireless access point roaming to other wireless access points in the wireless network.

[0134] Here, a larger second reward value F2 indicates a faster roaming time of the wireless network and a more stable wireless network.

[0135] In an embodiment of the present disclosure, the target reward value R may be calculated as follows:

[0136] R = K1*F1+K2*F2+K3*F3;

[0137] Among them, K1 is the weight value of the first reward value F1, K2 is the weight value of the second reward value F2, and K3 is the weight value of the third reward value F3.

[0138] Here, K1+K2+K3=1, and K1≥0, K2≥0, K3≥0.

[0139] In an optional implementation, based on the target behavior information, generating a first scheduling instruction for the wireless network; and issuing the first scheduling instruction to the wireless network specifically includes the following steps:

[0140] First, based on the target behavior information, determine the action to be performed by each wireless access point at the next moment;

[0141] Secondly, a scheduling instruction is generated according to the action to be executed by each wireless access point at the next moment, and the scheduling instruction is sent to the wireless network.

[0142] In an embodiment of the present disclosure, the actions to be performed include resetting the wireless access point channel, changing the wireless access point transmit power, changing the wireless working mode of the wireless access point, refreshing the wireless access point memory, refreshing the wireless access point CPU, restarting the wireless access point, and roaming the devices connected to the wireless access point to other wireless access points in the wireless network.

[0143] Here, according to the target behavior information, an action to be performed by each wireless access point may be selected from the actions to be performed to generate a scheduling instruction.

[0144] Those skilled in the art will appreciate that, in the above method of specific implementation, the order in which the steps are written does not imply a strict execution order and does not constitute any limitation on the implementation process. The specific execution order of the steps should be determined by their functions and possible internal logic.

[0145] Based on the same inventive concept, the embodiments of the present disclosure also provide a scheduling device for wireless networking corresponding to the scheduling method for wireless networking. Since the principle of solving the problem by the device in the embodiments of the present disclosure is similar to the above-mentioned scheduling method for wireless networking in the embodiments of the present disclosure, the implementation of the device can refer to the implementation of the method, and the repeated parts will not be repeated.

[0146] Reference Figure 5 As shown, it is a schematic diagram of a scheduling device for wireless networking provided by an embodiment of the present disclosure, the device comprises: an acquisition module 11, a determination module 12, and a generation module 13; wherein,

[0147] An acquisition module is used to acquire target state information of each wireless access point in the wireless network; wherein the target state information includes at least one of the following: the working state of the wireless access point at the current moment, the state of the device connected to the wireless access point, and the state of the non-associated device within the coverage range of the wireless access point;

[0148] A determination module, configured to determine target behavior information of each of the wireless access points at a next moment based on the target state information; wherein the target behavior information is used to indicate an execution action of the wireless access point at the next moment;

[0149] A generation module is used to generate a first scheduling instruction for the wireless networking based on the target behavior information; and send the first scheduling instruction to the wireless networking.

[0150] The disclosed embodiment obtains the working status of each wireless access point in the wireless network, the status of the devices under the wireless access point, and the status of the non-associated devices within the coverage of the wireless access point. And the action that needs to be performed by the wireless access point at the next moment is determined according to the status of each wireless access point, so as to avoid the problem that some wireless access points are idle and some wireless access points are overloaded. The wireless access point is selected not only based on the signal strength between the terminal device and each wireless access point, but also takes into account the working status of each wireless access point, the status of the devices under the wireless access point, and the status of the non-associated devices within the coverage of the wireless access point. Therefore, each wireless access point can achieve the best Internet access performance and ensure load balancing between wireless access networks.

[0151] In a possible implementation manner, the determination module is further used to: input the target state information into a target strategy network model of a multi-agent reinforcement learning model to be trained for processing, and output a processing result;

[0152] The target behavior information is determined based on the processing result.

[0153] In a possible implementation manner, the determination module is specifically used to: obtain initial state information of each of the wireless access points at the training time;

[0154] Inputting the initial state information into an initial strategy network for processing to obtain first behavior information;

[0155] Based on the value network and the first behavior information, the parameters of the initial policy network are updated to obtain the target policy network.

[0156] In a possible implementation manner, the determination module is specifically configured to: start with the first behavior information, use the first behavior information as intermediate behavior information, and perform the following steps until the target policy model is obtained:

[0157] generating a second scheduling instruction for the wireless networking based on the intermediate behavior information, and performing scheduling processing on the wireless networking according to the second scheduling instruction;

[0158] Acquire the status information of each wireless access point in the wireless network after the scheduling process, and obtain the status information to be processed;

[0159] Determining a target reward value of the state information to be processed;

[0160] When it is determined that the target reward value is less than a preset reward value threshold, the to-be-processed state information is input into the initial strategy network, and second behavior information is output; and the parameters of the initial strategy network are updated according to the second behavior information;

[0161] Using the second behavior information as the intermediate behavior information, and returning to execute the step of generating the second scheduling instruction for the wireless networking based on the intermediate behavior information, and performing scheduling processing on the wireless networking according to the second scheduling instruction;

[0162] When it is determined that the target reward value is greater than or equal to the preset reward value threshold, the initial policy network after the last update is used as the target policy network.

[0163] In a possible implementation, the determination module is specifically used to: determine a plurality of reward values ​​based on the pending state information; wherein the plurality of reward values ​​are used to indicate at least one of the following: CPU and memory utilization of the wireless network, network status of the wireless network, and roaming time of the wireless network;

[0164] The multiple reward values ​​are weighted and summed to obtain the target reward value.

[0165] In a possible implementation manner, the determination module is specifically configured to: determine a first reward value based on a CPU usage rate and a memory usage rate of each wireless access point in the state information to be processed;

[0166] Determine a second reward value based on the delay and packet loss rate per unit bandwidth of each wireless access point in the state information to be processed;

[0167] determining a third reward value based on the roaming time of each wireless access point in the status information to be processed;

[0168] The plurality of reward values ​​are determined based on the first reward value, the second reward value, and the third reward value.

[0169] In a possible implementation manner, the generating module is further used to: determine the action to be performed by each wireless access point at the next moment based on the target behavior information;

[0170] The scheduling instruction is generated according to the action to be executed by each wireless access point at the next moment, and the scheduling instruction is sent to the wireless network.

[0171] For descriptions of the processing flow of each module in the device and the interaction flow between each module, reference may be made to the relevant descriptions in the above method embodiment, which will not be described in detail here.

[0172] Corresponds to Figure 1 The present disclosure also provides an electronic device 700, such as Figure 6 FIG. 7 is a schematic diagram of the structure of an electronic device 700 provided in an embodiment of the present disclosure, including:

[0173] Processor 71, memory 72, and bus 73; memory 72 is used to store execution instructions, including internal memory 721 and external memory 722; the internal memory 721 is also called internal memory, which is used to temporarily store the operation data in the processor 71 and the data exchanged with the external memory 722 such as a hard disk. The processor 71 exchanges data with the external memory 722 through the internal memory 721. When the electronic device 700 is running, the processor 71 communicates with the memory 72 through the bus 73, so that the processor 71 executes the following instructions:

[0174] The embodiment of the present disclosure also provides a computer-readable storage medium, on which a computer program is stored, and when the computer program is executed by a processor, the steps of the wireless networking scheduling method described in the above method embodiment are executed. The storage medium can be a volatile or non-volatile computer-readable storage medium.

[0175] The embodiments of the present disclosure also provide a computer program product, which carries a program code. The instructions included in the program code can be used to execute the steps of the wireless networking scheduling method described in the above method embodiment. For details, please refer to the above method embodiment, which will not be repeated here.

[0176] The computer program product may be implemented in hardware, software or a combination thereof. In one optional embodiment, the computer program product is implemented as a computer storage medium. In another optional embodiment, the computer program product is implemented as a software product, such as a software development kit (SDK).

[0177] Those skilled in the art can clearly understand that, for the convenience and simplicity of description, the specific working process of the system and device described above can refer to the corresponding process in the aforementioned method embodiment, and will not be repeated here. In the several embodiments provided in the present disclosure, it should be understood that the disclosed system, device and method can be implemented in other ways. The device embodiments described above are merely schematic. For example, the division of the units is only a logical function division. There may be other division methods in actual implementation. For example, multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some communication interfaces, and the indirect coupling or communication connection of the device or unit can be electrical, mechanical or other forms.

[0178] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.

[0179] In addition, each functional unit in each embodiment of the present disclosure may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit.

[0180] If the functions are implemented in the form of software functional units and sold or used as independent products, they can be stored in a non-volatile computer-readable storage medium that is executable by a processor. Based on this understanding, the technical solution of the present disclosure, or the part that contributes to the prior art or the part of the technical solution, can be embodied in the form of a software product, which is stored in a storage medium and includes several instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present disclosure. The aforementioned storage medium includes: various media that can store program codes, such as a USB flash drive, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk.

[0181] Finally, it should be noted that the above-described embodiments are only specific implementation methods of the present disclosure, which are used to illustrate the technical solutions of the present disclosure, rather than to limit them. The protection scope of the present disclosure is not limited thereto. Although the present disclosure is described in detail with reference to the above-described embodiments, ordinary technicians in the field should understand that any technician familiar with the technical field can still modify the technical solutions recorded in the above-described embodiments within the technical scope disclosed in the present disclosure, or can easily think of changes, or make equivalent replacements for some of the technical features therein; and these modifications, changes 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 disclosure, and should be included in the protection scope of the present disclosure. Therefore, the protection scope of the present disclosure should be based on the protection scope of the claims.

Claims

1. A wireless networking scheduling method, characterized in that: include: Obtaining target state information of each wireless access point in the wireless network; wherein the target state information includes at least one of the following: the working state of the wireless access point at the current moment, the state of the device connected to the wireless access point, and the state of non-associated devices within the coverage range of the wireless access point; Based on the target state information, determine the target behavior information of each of the wireless access points at the next moment; wherein the target behavior information is used to indicate the execution action of the wireless access point at the next moment; Based on the target behavior information, a first scheduling instruction for the wireless networking is generated; and the first scheduling instruction is issued to the wireless networking.

2. The method according to claim 1, characterized in that The determining, based on the target state information, target behavior information of each of the wireless access points at a next moment includes: Inputting the target state information into the target strategy network model of the multi-agent reinforcement learning model to be trained for processing, and outputting the processing result; The target behavior information is determined based on the processing result.

3. The method according to claim 2, characterized in that The multi-agent reinforcement learning model to be trained includes: a policy network and a value network; The target strategy network is obtained by training in the following way: Acquire initial state information of each of the wireless access points at the training time; Inputting the initial state information into an initial strategy network for processing to obtain first behavior information; Based on the initial value network and the first behavior information, the parameters of the initial policy network are updated to obtain the target policy network.

4. The method according to claim 3, characterized in that The updating of the parameters of the initial policy network based on the initial value network and the first behavior information to obtain the target policy network includes: Starting with the first behavior information, taking the first behavior information as intermediate behavior information, and performing the following steps until the target policy model is obtained: generating a second scheduling instruction for the wireless networking based on the intermediate behavior information, and performing scheduling processing on the wireless networking according to the second scheduling instruction; Acquire the status information of each wireless access point in the wireless network after the scheduling process, and obtain the status information to be processed; Determining a target reward value of the state information to be processed; When it is determined that the target reward value is less than a preset reward value threshold, the to-be-processed state information is input into the initial strategy network, and second behavior information is output; and the parameters of the initial strategy network are updated through the initial value network according to the second behavior information; Using the second behavior information as the intermediate behavior information, and returning to execute the step of generating the second scheduling instruction for the wireless networking based on the intermediate behavior information, and performing scheduling processing on the wireless networking according to the second scheduling instruction; When it is determined that the target reward value is greater than or equal to the preset reward value threshold, the initial policy network after the last update is used as the target policy network.

5. The method according to claim 4, characterized in that The determining of the target reward value of the state information to be processed includes: Based on the pending state information, a plurality of reward values ​​are determined; wherein the plurality of reward values ​​are used to indicate at least one of the following: CPU and memory utilization of the wireless network, network status of the wireless network, and roaming time of the wireless network; The multiple reward values ​​are weighted and summed to obtain the target reward value.

6. The method according to claim 5, characterized in that The determining of a plurality of reward values ​​based on the pending state information comprises: Determine a first reward value based on the CPU usage and memory usage of each wireless access point in the pending state information; Determine a second reward value based on the delay and packet loss rate per unit bandwidth of each wireless access point in the state information to be processed; determining a third reward value based on the roaming time of each wireless access point in the status information to be processed; The plurality of reward values ​​are determined based on the first reward value, the second reward value, and the third reward value.

7. The method according to claim 1, characterized in that The step of generating a first scheduling instruction for wireless networking based on the target behavior information; and issuing the first scheduling instruction to the wireless networking includes: Determining, based on the target behavior information, an action to be performed by each wireless access point at a next moment; The scheduling instruction is generated according to the action to be executed by each wireless access point at the next moment, and the scheduling instruction is sent to the wireless network.

8. A wireless networking scheduling device, characterized in that: include: An acquisition module is used to acquire target state information of each wireless access point in the wireless network; wherein the target state information includes at least one of the following: the working state of the wireless access point at the current moment, the state of the device connected to the wireless access point, and the state of the non-associated device within the coverage range of the wireless access point; A determination module, configured to determine target behavior information of each of the wireless access points at a next moment based on the target state information; wherein the target behavior information is used to indicate an execution action of the wireless access point at the next moment; A generation module is used to generate a first scheduling instruction for the wireless networking based on the target behavior information; and send the first scheduling instruction to the wireless networking.

9. An electronic device, characterized in that: include: A processor, a memory and a bus, wherein the memory stores machine-readable instructions executable by the processor, and when the electronic device is running, the processor and the memory communicate via the bus, and when the machine-readable instructions are executed by the processor, the steps of the wireless networking scheduling method as described in any one of claims 1 to 7 are performed.

10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the steps of the wireless networking scheduling method as claimed in any one of claims 1 to 7 are executed.