+

WO2018184176A1 - Method, device and system for scheduling - Google Patents

Method, device and system for scheduling Download PDF

Info

Publication number
WO2018184176A1
WO2018184176A1 PCT/CN2017/079626 CN2017079626W WO2018184176A1 WO 2018184176 A1 WO2018184176 A1 WO 2018184176A1 CN 2017079626 W CN2017079626 W CN 2017079626W WO 2018184176 A1 WO2018184176 A1 WO 2018184176A1
Authority
WO
WIPO (PCT)
Prior art keywords
node
information
workstations
access
workstation
Prior art date
Application number
PCT/CN2017/079626
Other languages
French (fr)
Chinese (zh)
Inventor
赵望生
Original Assignee
华为技术有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 华为技术有限公司 filed Critical 华为技术有限公司
Priority to PCT/CN2017/079626 priority Critical patent/WO2018184176A1/en
Priority to CN201780063020.5A priority patent/CN109804693B/en
Publication of WO2018184176A1 publication Critical patent/WO2018184176A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W72/00Local resource management
    • H04W72/12Wireless traffic scheduling

Definitions

  • the embodiments of the present invention relate to the field of communications technologies, and in particular, to a scheduling method, apparatus, and system.
  • the basic network service set (BSS) WiFi network structure is shown in Figure 1, including an access point (AP) and one or more workstations (station, STA), one or more STAs. Access the WiFi network through the AP and use the services provided by the AP.
  • the application scenario of the WiFi network is mostly a distributed coverage scenario of multiple APs.
  • the distributed coverage refers to a WiFi network including multiple APs.
  • the multiple APs have a cascading relationship, and each AP can access one or Multiple STAs.
  • an AP can support multiple virtual APs, and each virtual AP corresponds to a service set identifier (SSID), that is, provides a service.
  • SSID service set identifier
  • each SSID may be supported, and each SSID has multiple STA accesses.
  • the AP can transmit data packets with multiple STAs.
  • the AP has a hardware sending queue. Before the data packet enters the hardware queue, there is a software sending queue.
  • the software sending queue can send a queue based on each access STA management software.
  • the process in which the AP schedules data packets from the STA-based software queue to the hardware transmission queue is called airtime fairness scheduling.
  • the embodiment of the invention provides a scheduling method, device and system, which solves the problem that the scheduling effect of the WiFi network is poor and the user experience is low in the prior art.
  • a scheduling method is provided, which is applied to a WiFi network, where the WiFi network includes a first node, a second node directly cascading with the first node, and the second node is a lower node of the first node, and the method includes
  • the first node acquires information of all the workstations that directly access and indirectly access the first node; the first node uniformly allocates the proportion of the air interface resources of each workstation according to the information of all the workstations that access the first node;
  • the sum of the air interface resource ratios of all the workstations that directly access and indirectly access the second workstation allocates air interface resources to the second node.
  • the first node obtains the information of all the workstations that directly access and indirectly access the first node, so that when the proportion of the air interface resources is allocated, the air interface of each workstation can be uniformly allocated.
  • Source ratio and allocates air interface resources to the second node according to the sum of the proportion of the air interface resources of all the workstations that directly access and indirectly access the second node, thereby ensuring direct access to the workstation of the first node and indirect access first
  • the fairness and rationality of the proportion of air interface resources allocated by the workstations of the nodes thereby improving the scheduling effect and user experience.
  • the first node obtains information about all directly accessing and indirectly accessing the workstation of the first node, including: receiving, by the first node, the second node Information about all workstations that directly access and indirectly access the second node.
  • a method is provided for the first node to obtain information of a workstation indirectly accessing the first node by using the second node, so that the ratio of the air interface resources allocated by the first node to the second node may be ensured. Rationality, which in turn improves scheduling and user experience.
  • a second possible implementation manner of the first aspect information about all workstations that directly access and indirectly access the second node is carried in the first learning packet.
  • the learning message is a packet sent by the second node for performing MAC address learning on the first node.
  • a method for the first node to obtain information of direct access and indirect access to all workstations of the second node is provided, so that the ratio of the air interface resources allocated by the first node to the second node is reasonable. Sex, which improves scheduling and user experience.
  • the first node is a root node or a slave node in the WiFi network.
  • the first node obtains all direct access and indirect access to the first node.
  • the information of the workstation includes: the first node receives information of a workstation directly connected to each node sent by each node in the WiFi network; the first node summarizes information directly connected to each node of the workstation to obtain all direct Information on workstations that access and indirectly access the first node.
  • the first node obtains all direct access and indirect access to the first node.
  • the information of the workstation includes: the first node receives the scheduling indication information sent by the root node, and the scheduling indication information is used to indicate information of all the workstations that directly access and indirectly access the first node; the first node acquires the information according to the scheduling indication information. All information directly accessing and indirectly accessing the workstation of the first node.
  • the first node may obtain, by using the root node, information about all workstations that directly access and indirectly access the first node, thereby ensuring that the first node is allocated to the workstation directly accessing the first node, and the second
  • the rationality of the air interface resource ratio of the node improves the scheduling effect and user experience.
  • the method further includes: the first node directly accesses the first node The information of the workstation is sent to the root node; or the first node sends a second learning message to the upper node of the first node, and the second learning message is the MAC address of the upper node sent by the first node for the first node. Learning message.
  • the first node may send information about the workstation directly accessing the first node to the root node. The point or the second learning message is sent to the upper node of the first node, so that the root node or the upper node of the first node can obtain information of the workstation accessing the first node.
  • the information of the workstation includes a workstation identification. Further, the information of the workstation may further include at least one of the following information: a workstation priority, a service set identifier corresponding to the workstation, and a priority of the service set identifier corresponding to the workstation.
  • a workstation priority a workstation priority
  • a service set identifier corresponding to the workstation a service set identifier corresponding to the workstation.
  • a node which is applied to a WiFi network, where the node is a first node, the WiFi network further includes a second node directly cascading with the first node, and the second node is a lower node of the first node,
  • the first node includes: an obtaining unit, configured to acquire information of all workstations that directly access and indirectly access the first node; and an allocating unit configured to uniformly allocate each workstation according to information of all workstations accessing the first node The proportion of the air interface resource; the allocation unit is further configured to allocate the air interface resource to the second node according to the sum of the proportions of the air interface resources of all the workstations that directly access and indirectly access the second node.
  • the acquiring unit is specifically configured to: receive information about all the direct access and the indirect access to the workstation of the second node that are sent by the second node.
  • the information of all the workstations that directly access and indirectly access the second node are carried in the first learning packet.
  • the first learning packet is a packet sent by the second node for performing MAC address learning on the first node.
  • the first node is a root node or a slave node in the WiFi network.
  • the acquiring unit is specifically configured to: receive, sent by each node in the WiFi network Information directly accessing the workstations of each node; summarizing the information of the workstations directly accessing each node to obtain information of all workstations that directly access and indirectly access the first node.
  • the acquiring unit is specifically configured to: receive the scheduling indication information sent by the root node,
  • the scheduling indication information is used to indicate information of all workstations that directly access and indirectly access the first node; and according to the scheduling indication information, acquire information of all workstations that directly access and indirectly access the first node.
  • the first node further includes: a sending unit, configured to directly access The information of the workstation of the first node is sent to the root node; or the sending unit is configured to send the second learning packet to the upper node of the first node, where the second learning packet is sent by the first node for the first node.
  • the information of the workstation includes a workstation identifier. Further, the information of the workstation may further include at least one of the following information: a workstation priority, a service set identifier corresponding to the workstation, and a priority of the service set identifier corresponding to the workstation.
  • a node comprising a memory, a processor, a bus, and a communication interface, storing Storing code and data, the processor and the memory are connected by a bus, and the code in the processor running the memory causes the node to perform any one of the possible implementations of the first aspect to the seventh possible implementation of the first aspect
  • the scheduling method provided.
  • a system comprising a first node, and a second node directly cascading with the first node, the second node being a lower node of the first node; wherein the first node is the second aspect A node provided by any one of the seventh possible implementations of the second aspect, or a node provided by the third aspect above.
  • Yet another aspect of the present application provides a computer readable storage medium having instructions stored therein that, when executed on a computer, cause the computer to perform the methods described in the above aspects.
  • Yet another aspect of the present application provides a computer program product comprising instructions which, when run on a computer, cause the computer to perform the methods described in the various aspects above.
  • FIG. 1 is a schematic structural diagram of a WiFi network of a basic BSS according to an embodiment of the present invention
  • FIG. 2 is a schematic diagram of AP scheduling in a WiFi network according to an embodiment of the present invention
  • FIG. 3 is a schematic structural diagram of a WiFi network according to an embodiment of the present disclosure.
  • FIG. 4 is a schematic structural diagram of an access point device according to an embodiment of the present disclosure.
  • FIG. 5 is a flowchart of a scheduling method according to an embodiment of the present invention.
  • FIG. 6 is a schematic diagram of a workstation of an access node according to an embodiment of the present disclosure.
  • FIG. 7 is a schematic structural diagram of another WiFi network according to an embodiment of the present disclosure.
  • FIG. 8 is a schematic structural diagram of a first node according to an embodiment of the present disclosure.
  • FIG. 9 is a schematic structural diagram of another first node according to an embodiment of the present invention.
  • An access point refers to a wireless access point, also called a wireless AP, which is an access point of a wireless network and is also the core of a wireless network.
  • the main functions of the AP are as follows: management of mobile stations in the cell, including processing of connection and authentication of the mobile station; completion of bridging of data frames from the wired network to the BSS, and address filtering And the learning function of the address; complete the handover management of the mobile station between different BSS; simple network management functions.
  • the AP can be used as a wireless network extension to connect with other APs to expand the coverage of the wireless network.
  • Wireless APs are mainly used in broadband homes, inside buildings, and inside campuses.
  • the distance can range from tens of meters to hundreds of meters.
  • the access point device may be a wireless router, and the wireless router mainly has a routing switching access integrated device and a pure access point device, and the integrated device performs access and routing work, and the pure access device is only responsible for wireless client access.
  • an AP may be referred to as a node, and may be divided into a root node and a slave node.
  • the root node refers to the primary AP in the distributed coverage WiFi network.
  • the primary AP can be cascaded with one or more APs, but the primary AP does not have a cascaded AP.
  • a slave node refers to a slave AP in a distributed overlay WiFi network,
  • the slave AP refers to any AP other than the primary AP in the distributed coverage WiFi network.
  • the cascading level of the AP included in the distributed coverage WiFi network may be defined.
  • the cascading level of the primary AP may be defined as the first level, and the secondary AP directly cascading with the primary AP
  • the cascading level is defined as the second level, which is defined as the third level from the AP that is directly cascaded from the AP at the second level, and so on.
  • a station also referred to as a mobile station, refers to a device that carries a wireless network interface card (such as a wireless network card).
  • the terminal device connected to the AP that is, the wireless client accessing the AP.
  • the service set identifier (SSID) technology can divide a wireless local area network into several sub-networks that require different authentication. Each sub-network needs independent authentication, and only authenticated users can enter the corresponding A subnet prevents unauthorized users from entering the network. If the SSID is not broadcast for security reasons, the user must manually set the SSID to enter the corresponding subnet. Simply put, the SSID is the name of a local area network. Only devices that are set to the same SSID value can communicate with each other.
  • FIG. 3 is a schematic structural diagram of a WiFi network according to an embodiment of the present disclosure.
  • an application scenario of the WiFi network is a distributed coverage scenario of multiple APs, that is, the WiFi network includes multiple cascaded APs, and A workstation STA accessing the plurality of APs.
  • the multiple APs included in the WiFi network may be connected by using a WiFi connection, and some APs may be connected by a wired connection.
  • the multiple APs are connected by using a WiFi connection as an example.
  • FIG. 3 a plurality of APs including R, A, B, C, and D are taken as an example, R is a root node, and A, B, C, and D are slave nodes, and may also be called a lower node of R, and the cascade relationship is as follows.
  • Figure 3 shows.
  • the workstation STAs that access the multiple APs include 10 (ie, S1 to S10) as an example, and the access relationship is as shown in FIG. 3, and S1 and S2 are connected to R, S3, and S4 to access A and S5.
  • the service set identifiers corresponding to S1, S3, S5, S7, and S9 are SSID1
  • the service set identifiers corresponding to S2, S4, S6, S8, and S10 are SSID2.
  • the access point device may include a processor, a memory, a communication interface, and a bus.
  • the memory and the communication interface are connected to the processor through a bus. .
  • the processor is configured to perform various functions of the access point device, and may include one or more modules, for example, including a central processing unit (CPU), an application-specific integrated circuit (ASIC), And field-programmable gate array (FPGA) and the like.
  • the memory can be used to store data, software programs, and modules, and can be implemented by any type of volatile or non-volatile memory or a combination thereof.
  • the memory includes flash memory and synchronous dynamic random memory (synchronous dynamic random memory).
  • Access memory, SDRAM is an example. Flash can be used to store programs and configuration data, and SDRAM can provide temporary storage for program execution and data processing.
  • the communication interface is used to support the access point device to communicate with other devices, and the access point device serves as a bridge connecting the distributed system (for example, Ethernet) and the wireless network, and needs to pass through the wireless interface of the WLAN and the other on the wireless network.
  • Node communication requires communication with other nodes in the distributed system.
  • the communication interface of the access point device is implemented by a wired network card and a WLAN network card to support communication between the access point device and other nodes.
  • FIG. 5 is a flowchart of a scheduling method according to an embodiment of the present disclosure, where the WiFi is applied to a WiFi network.
  • the network includes a first node and a second node directly cascaded with the first node, and the second node is a lower node of the first node.
  • the method includes the following steps.
  • Step 201 The first node acquires information of all workstations that directly access and indirectly access the first node.
  • the first node may refer to any node that exists in the lower node, the second node is directly cascaded with the first node, and the cascade level is one level higher than the cascade level of the first node.
  • the node in the lower node may be any one of R, B, or C, and the lower nodes of R may include A, B, C, and D, and the lower nodes of B may include C and D.
  • the lower node of C may include D.
  • the first node as R as an example, the lower node is directly cascaded with R, and the lower nodes of the cascade level are A and B, that is, the second node is A or B.
  • a workstation directly accessing the first node refers to a workstation directly accessed through the first node.
  • the workstation indirectly accessing the first node refers to a workstation accessed through a lower node directly cascaded with the first node, and the workstation accessed by the lower node includes a workstation directly accessing and indirectly accessing each lower node. All workstations that directly access and indirectly access the first node may be referred to as all workstations accessing the first node.
  • the lower nodes that are directly cascaded with R are A and B.
  • the workstations that directly access R are S1 and S2
  • the workstations that access A only include the directly connected workstations S3 and S4
  • the workstations that access B include direct access and indirect access workstations, which directly access B.
  • the workstations include S5 and S6, and the workstations that indirectly access B include S7, S8, S9, and S10, so that all workstations connected to R are S1 to S10.
  • the workstations directly accessing B are S5 and S6, and the workstations directly accessing and indirectly accessing C are S7 to S10, thereby accessing all of B.
  • the workstations are S5 ⁇ S10. If the first node is C, the lower node that is directly cascaded with C is D, the workstations that directly access C are S7 and S8, and the workstations that directly access D are S9 and S10, so that all workstations connected to C are S7 ⁇ S10.
  • the workstation information may include a workstation identification, and the workstation identification is used to uniquely identify the workstation.
  • the information of the workstation may further include at least one of the following information: a workstation priority, a service set identifier corresponding to the workstation, and a priority of the service set identifier corresponding to the workstation.
  • the workstation priority refers to the priority corresponding to the workstation, and may be a priority according to the user level or the scope of the user authority.
  • the service set identifier corresponding to the workstation refers to the identifier of the subnet corresponding to the workstation.
  • the priority of the service set identifier corresponding to the workstation refers to the priority of the identifier of the sub-network corresponding to the workstation, and may be the priority according to the importance or scope of the sub-network.
  • Step 202 The first node uniformly allocates the proportion of air interface resources of each workstation according to information of all workstations accessing the first node.
  • Air interface resources can refer to air transmission time.
  • the first node may determine the total number of all workstations accessing the first node according to the workstation identifier, thereby uniformly allocating the ratio of the air interface resources to each workstation according to the total number. For example, in the WiFi network shown in FIG.
  • the ratio of allocated air interface resources can be 1/10.
  • the first node can be based on each workstation it accesses The priority and the total number of all workstations connected to each station, the corresponding air interface resource ratio is assigned to each workstation.
  • the workstation priority may include two or more levels of partitioning, and for a workstation with a higher priority, the ratio of air interface resources allocated by the first node may be higher than the proportion of air interface resources allocated to workstations with lower priority. For example, in the WiFi network shown in FIG.
  • C can be
  • the ratio of air interface resources allocated to S7 and S9 is 3/10, and the ratio of air interface resources allocated to S8 and S10 is 1/5.
  • the first node may determine the number of workstations corresponding to each SSID according to the SSID corresponding to all workstations accessing the first node, thereby determining the workstation according to each SSID. Quantity, configure the ratio of air interface resources for each SSID. For multiple workstations under the same SSID, the ratio of air interface resources of each workstation can be determined by the method of even distribution. For example, in the WiFi network shown in FIG.
  • the identifiers of all workstations accessed by R include S1 to S10, and the SSIDs corresponding to S1, S3, S5, S7, and S9 are SSID1, S2, and S4.
  • the SSID corresponding to S6, S8, and S10 is SSID2, and the ratio of the air interface resources allocated by the first node to SSID1 and SSID2 is 1/2, so that S1, S3, S5, S7, and S9, and S2, S4, S6, and S8.
  • the proportion of air interface resources determined by the method of average allocation with S10 is 1/10.
  • the information of the workstation further includes the service set identifier SSID of the workstation and the priority of the service set identifier corresponding to the workstation
  • the number of the SSID and the priority of each SSID may be used. And the number of workstations under each SSID is assigned.
  • the SSID priority may include two or more levels of partitioning, and for a higher priority SSID, the ratio of air interface resources allocated by the first node may be higher than the proportion of air interface resources allocated for the lower priority SSID. For example, in the WiFi network shown in FIG.
  • the identifiers of all workstations accessed by R include S1 to S10, and the SSIDs corresponding to S1, S3, S5, S7, and S9 are SSID1, S2, and S4.
  • the SSID corresponding to S6, S8, and S10 is SSID2, and the priority of SSID1 is higher than the priority of SSID2.
  • the ratio of air interface resources allocated by the first node to SSID1 is 3/5, and the proportion of air interface resources that can be allocated for SSID2 is 2/.
  • the first node may allocate the ratio of the air interface resources to all workstations accessing the first node, according to each workstation of the first node.
  • the priority, the total number of SSIDs corresponding to the workstation, the priority of each SSID, and the number of workstations under each SSID allocate the proportion of air interface resources to all workstations accessing the first node.
  • the ratio of air interface resources allocated by workstations with higher priority is higher than the proportion of air interface resources allocated by workstations with lower priority.
  • the ratio of the air interface resources allocated by the higher priority SSID is higher than the proportion of the air interface resources allocated by the lower priority SSID.
  • Step 203 The first node allocates air interface resources to the second node according to the sum of the air interface resource proportions of all the workstations that directly access and indirectly access the second node.
  • the first node may be the second node according to the direct access and the indirect access for the second node in the lower node directly cascading with the first node.
  • the sum of the ratio of the air interface resources of all the workstations of the node is the ratio of the air interface resources corresponding to the second node.
  • the first node may schedule the data of the second node according to the ratio of the air interface resources corresponding to the second node.
  • the first node may also schedule data of the workstation directly accessing the first node according to the ratio of the air interface resources of the workstation directly accessing the first node.
  • the workstations that access A include S3 and S4, and the workstations that access B include S5 to S10, and the proportion of air interface resources of each workstation in S3 to S10 is 1/10, the ratio of the air interface resources corresponding to A determined by R is 1/5, the proportion of air interface resources corresponding to B is 3/5, and the proportion of air interface resources of S1 and S2 directly connected to R is 1/10.
  • a node can schedule it according to the corresponding air interface resource ratios of S1, S2, A, and B.
  • B allocates an air interface to each workstation according to the information of all the workstations accessed.
  • B does not need to consider workstations S9 and S10 that directly access D, that is, B does not need to allocate the ratio of air interface resources to workstations S9 and S10.
  • R allocates the ratio of the air interface resources to each workstation that is accessed according to the information of all the workstations that are accessed
  • R needs to allocate the ratio of the air interface resources to the workstations S9 and S10 that directly access D, and allocate the corresponding air interface for B.
  • the sum of the ratios of the air interface resources of the workstations S5 to S10 is allocated as the ratio of the air interface resources corresponding to B.
  • the first node when scheduling is performed according to the method provided by the embodiment of the present invention, if the first node has a lower-level node that is directly cascaded by wire, the first node acquires information of all workstations accessing the first node. The first node does not need to consider the information of the workstations that are connected by wire. If there is a node connected by wire in the lower-level node directly cascading with the first node, when determining information of all workstations accessing the lower-level node, all workstations that directly access and indirectly access the lower-level node are The information is taken into account, and it is not necessary to distinguish whether the nodes connected to the workstation indirectly accessing the lower node are connected by wire or wireless.
  • the first node may be a root node or a slave node in the WiFi network, and the slave node refers to a node other than the root node except the WiFi network.
  • the first node may be implemented by using different methods as follows.
  • the first node obtains the information of all the workstations that access the first node, and the method includes the following steps: Step a1 - Step a2.
  • the first node may be a root node or a slave node.
  • Step a1 The first node receives information of all direct access and indirect access to the workstation of the second node sent by the second node.
  • the first node and the second node are directly cascaded, so that the second node can report the information of all the workstations that it accesses to the first after obtaining the information of all the workstations that are directly accessed and indirectly accessed.
  • the first node receives information of all workstations accessed by the second node sent by the second node, so that the first node acquires information about all workstations accessing the second node.
  • the second node obtains the information of all the workstations that are directly accessed and indirectly accessed
  • the information of the workstation directly accessed by the second node may be directly determined, and the information of the workstation that is indirectly accessed may also be reported in a stepwise manner. Get it.
  • the first node receives information about all workstations that are sent by the second node and accesses the second node, and only includes direct access to the second node. Workstation information.
  • the lower node directly cascaded with the first node may include one or more nodes, and the second node is one of the lower nodes directly cascaded by the first node.
  • each node of the lower-level nodes directly cascaded by the first node may obtain information of all workstations accessed by the method described in the foregoing step a1.
  • the first node is sent to the first node to obtain information about all workstations that indirectly access the first node.
  • the first node is R
  • the lower nodes directly cascading with R are A and B
  • the workstations directly accessing A are S3 and S4
  • A can directly determine the information of workstations S3 and S4. Report it to R.
  • the workstations that directly access B are S5 and S6, and C can directly determine the information of workstations S5 and S6.
  • the workstations that are indirectly connected to C are S7 to S10, and D reports the information of workstations S9 and S10 that are directly connected to C, C.
  • the information of the S7 to S10 can be reported to the B, so that the B obtains the information of all the workstations that directly access and indirectly access the B, and all the workstations that the B accesses are S5 to S10.
  • the information is reported to R.
  • Step a2 The first node determines information of all workstations accessing the first node according to information of the workstation directly accessing the first node and information of the workstation indirectly accessing the first node.
  • the first node may determine the information of the workstation indirectly accessing the first node and the information of the workstation directly accessing the first node as access. Information about all workstations of the first node.
  • the workstations directly accessing R are S1 and S2, so that R is based on the information of all workstations S3 and S4 connected to A, and all workstations S5 to S10 of access B.
  • the second method if the first node is the root node, the first node obtains the information of all the workstations that directly access and indirectly access the first node, and specifically includes: step b1 to step b2.
  • Step b1 The first node receives information of a workstation directly connected to the node sent by each node except the first node in the WiFi network.
  • the first node when the first node is the root node, the first node can maintain the topology structure of the WiFi network, and each node included in the slave node in the WiFi network can send information of the workstation directly accessed by the node to the first node, so that the first node A node obtains information about all workstations directly accessed from the node.
  • Step b2 The first node summarizes the information of the workstation directly accessing each node to obtain information of all workstations accessing the first node.
  • the first node When the first node receives the information of the workstation directly connected to the node sent by each node other than the first node in the WiFi network, the first node may, according to the topology, information about the workstation directly accessing each node, And the information of the workstation directly accessing the first node is aggregated to obtain information of direct access and indirect access to the first node, and all workstations of each node in the slave node.
  • R is the root node
  • A, B, C, and D are slave nodes
  • A, B, C, and D respectively send information of the workstations directly connected to them to R
  • R is based on the WiFi network.
  • the topology aggregates the information of the received workstations to obtain information about all workstations accessing each of nodes A, B, C, and D.
  • the root node R summarizes the information obtained for all workstations accessing each node.
  • the third type if the first node is a slave node, the first node obtains the information of all the workstations that directly access and indirectly access the first node, and specifically includes: steps c1-c2.
  • Step c1 The first node receives scheduling indication information sent by the root node, where the scheduling indication information is used to indicate information of all directly accessing and indirectly accessing workstations of the first node.
  • Step c2 The first node acquires information of all workstations that directly access and indirectly access the first node according to the scheduling indication information.
  • the root node may obtain information about all workstations in the WiFi network that directly access and indirectly access each node according to the foregoing second method, so that the root node may send a scheduling indication to the first node.
  • the information when the first node receives the scheduling indication information, the first node may determine, according to the scheduling indication information, information of all workstations that directly access and indirectly access the first node.
  • the method may further include: sending, by the first node, information about the workstation directly accessing the first node to Root node.
  • the information of all the workstations that directly access and indirectly access the second node may be carried in the first learning packet, where the first learning packet is sent by the second node.
  • the learning message is a packet sent by the lower-level node for the MAC address learning of the upper-level node, and the MAC address of the workstation carried in the learning packet can be used as the identifier of the workstation.
  • the information of the workstation carried in the learning message may further include at least one of the following information: a workstation identifier, a workstation priority, a service set identifier corresponding to the workstation, and a priority of the service set identifier corresponding to the workstation.
  • the information of the workstation carried in the learning message includes the MAC address and the corresponding SSID
  • the first node is R, and the lower nodes directly cascading with R are A and B
  • R learning The obtained MAC addresses and SSIDs of A and B are as shown in Table 2 below. If the first node is B, it is directly cascaded with B. The level node is C, and the MAC address and SSID of the C learned by B are as shown in Table 3 below. If the first node is C and the lower node directly cascaded with C is D, the MAC address and SSID of the D learned by C are as shown in Table 4 below.
  • the above Tables 2 to 4 correspond to Tables 5 to 7 below.
  • the MAC addresses of the lower nodes of the first node learned by the first node shown in Tables 5 to 7 are merely exemplary, and the above Tables 5 to 7 do not limit the embodiment of the present invention. .
  • the method may further include: the first node sending the second learning report to the third node
  • the second learning message carries information about all workstations accessing the first node.
  • the first node when the third node performs scheduling according to the method provided by the embodiment of the present invention, the first node, as a lower-level node that is directly cascaded by the third node, may send the second learning packet to the third node, where the second learning packet is sent. Carrying information of all workstations accessing the first node, so that the third node acquires information of all workstations accessing the third node according to the above method.
  • the first node may obtain information about a workstation accessing the first node by using the foregoing different methods, so that when allocating the ratio of the air interface resources, all the direct access and the indirect access to the first node may be combined.
  • the information of the workstations uniformly allocates the ratio of the air interface resources to each workstation accessing the first node, and allocates the air interface resources to the second node according to the sum of the ratios of the air interface resources of all the workstations that directly access and indirectly access the second node. Therefore, the fairness and rationality of the ratio of the air interface resources of the workstation directly accessing the first node and the workstation directly accessing the first node are ensured, thereby improving the scheduling effect and the user experience of the first node.
  • each network element such as the first node, the second node, the third node, and the root node, etc., in order to implement the above functions, includes hardware structures and/or software modules corresponding to each function.
  • the present invention can be implemented in a combination of hardware or hardware and computer software in conjunction with the network elements and algorithm steps of the various examples described in the embodiments disclosed herein. Whether a function is implemented in hardware or computer software to drive hardware depends on the specific application and design constraints of the solution. A person skilled in the art can use different methods for implementing the described functions for each particular application, but such implementation should not be considered to be beyond the scope of the present invention.
  • the embodiment of the present invention may perform the division of the function module on the first node according to the foregoing method example.
  • each function module may be divided according to each function, or two or more functions may be integrated into one processing module.
  • the above integrated modules can be implemented in the form of hardware or in the form of software functional modules. It should be noted that the division of the module in the embodiment of the present invention is schematic, and is only a logic. Functional division, there may be another way of dividing when actually implemented.
  • FIG. 8 is a schematic diagram showing a possible structure of the first node involved in the foregoing embodiment.
  • the first node 300 includes an obtaining unit 301 and an allocating unit 302.
  • the obtaining unit 301 is configured to perform step 201 in FIG. 5;
  • the allocating unit 302 is configured to perform step 202 and step 203 in FIG. 5.
  • the first node 300 may further include a sending unit 303.
  • the sending unit 303 is configured to send information about a workstation directly accessing the first node to the root node, or send information to all the workstations of the first node to the upper node of the first node, or
  • the upper node of a node sends a second learning message. All the related content of the steps involved in the foregoing method embodiments may be referred to the functional description of the corresponding functional modules, and details are not described herein again.
  • the foregoing allocating unit 302 may be a processor
  • the obtaining unit 301 may be a receiver
  • the sending unit 303 may be a transmitter
  • the transmitter and the receiver may constitute a communication interface.
  • FIG. 9 is a schematic diagram showing a possible logical structure of the first node 310 involved in the foregoing embodiment provided by the embodiment of the present invention.
  • the first node 310 includes a processor 312, a communication interface 313, a memory 311, and a bus 314.
  • the processor 312, the communication interface 313, and the memory 311 are connected to one another via a bus 314.
  • the processor 312 is configured to control manage the actions of the first node 310, for example, the processor 312 is configured to perform steps 202 and 203 in FIG. 5, and/or for use in the description herein. Other processes of technology.
  • the communication interface 313 is for supporting the first node 310 to perform communication.
  • the memory 311 is configured to store program codes and data of the first node 310.
  • the processor 312 can be a central processing unit, a general purpose processor, a digital signal processor, an application specific integrated circuit, a field programmable gate array or other programmable logic device, a transistor logic device, a hardware component, or any combination thereof. It is possible to implement or carry out the various illustrative logical blocks, modules and circuits described in connection with the present disclosure.
  • the processor may also be a combination of computing functions, for example, including one or more microprocessor combinations, combinations of digital signal processors and microprocessors, and the like.
  • the bus 314 can be a Peripheral Component Interconnect (PCI) bus or an Extended Industry Standard Architecture (EISA) bus.
  • PCI Peripheral Component Interconnect
  • EISA Extended Industry Standard Architecture
  • a computer readable storage medium is stored, where computer execution instructions are stored, and when at least one processor of the device executes the computer to execute an instruction, the device executes FIG. The scheduling method shown.
  • a computer program product comprising computer executable instructions stored in a computer readable storage medium; at least one processor of the device may be Reading the storage medium reads the computer execution instructions, and the at least one processor executing the computer execution instructions causes the apparatus to implement the scheduling method illustrated in FIG.
  • the first node obtains the information of all the workstations that directly access and indirectly access the first node, and uniformly allocates the proportion of the air interface resources of each workstation, according to the direct access and the indirect access to the second node.
  • the sum of the proportions of the air interface resources of all the workstations allocates the air interface resources to the second node, thereby ensuring the fairness and rationality of the ratio of the air interface resources of the workstation directly accessing the first node and the workstation directly accessing the first node, thereby improving The scheduling effect of the first node and the user experience.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The present application relates to the field of communication technology, and provides a method, device and system for scheduling, so as to improve a scheduling effect and user experience for a WiFi network. The method is applied in a WiFi network. The WiFi network comprises: a first node and a second node cascaded directly with the first node, wherein the second node is a lower level node of the first node. The method comprises: a first node acquires information of all workstations directly and indirectly accessing the first node; the first node allocates, in a unified manner, and according to the information of all workstations accessing the first node, an air interface resource proportion for each workstation; and the first node allocates, according to the sum of air interface resource proportions of all workstations directly and indirectly accessing the second node, air interface resources for the second node.

Description

一种调度方法、装置及系统Scheduling method, device and system 技术领域Technical field
本发明实施例涉及通信技术领域,尤其涉及一种调度方法、装置及系统。The embodiments of the present invention relate to the field of communications technologies, and in particular, to a scheduling method, apparatus, and system.
背景技术Background technique
基础型基本服务集(basic service set,BSS)的WiFi网络结构如图1所示,包括一个接入点(access point,AP)和一个或者多个工作站(station,STA),一个或者多个STA通过AP接入WiFi网络,并可以使用AP提供的服务。目前,WiFi网络的应用场景大都是多个AP的分布式覆盖场景,分布式覆盖是指一个WiFi网络包括多个AP,该多个AP之间存在级联关系,每个AP可以接入一个或者多个STA。在应用中,一个AP可以支持多个虚拟AP,每个虚拟AP对应一个服务集标识(service set identifier,SSID),即提供一种服务。对于STA而言,存在有多个AP分别提供不同的服务。The basic network service set (BSS) WiFi network structure is shown in Figure 1, including an access point (AP) and one or more workstations (station, STA), one or more STAs. Access the WiFi network through the AP and use the services provided by the AP. At present, the application scenario of the WiFi network is mostly a distributed coverage scenario of multiple APs. The distributed coverage refers to a WiFi network including multiple APs. The multiple APs have a cascading relationship, and each AP can access one or Multiple STAs. In an application, an AP can support multiple virtual APs, and each virtual AP corresponds to a service set identifier (SSID), that is, provides a service. For STAs, there are multiple APs that provide different services.
如图2所示,对于一个物理的AP,可以支持多个SSID,每个SSID有多个STA接入。其中,AP可以与多个STA之间传输数据报文,AP有硬件发送队列,在数据报文进入硬件队列之前有软件发送队列,该软件发送队列可以为基于每个接入STA管理软件发送队列,AP将数据报文从基于STA的软件队列调度到硬件发送队列的过程,称为空中传输时间公平性(airtime fairness)调度。目前,对于单个AP的覆盖场景,调度的方法大致有以下三种:多个STA之间平均调度、基于SSID静态配置的空口资源比例进行调度且SSID内部的多个STA之间平均调度、以及基于STA静态配置的空口资源比例进行调度且SSID内部的多个STA之间按比例调度。As shown in FIG. 2, for one physical AP, multiple SSIDs may be supported, and each SSID has multiple STA accesses. The AP can transmit data packets with multiple STAs. The AP has a hardware sending queue. Before the data packet enters the hardware queue, there is a software sending queue. The software sending queue can send a queue based on each access STA management software. The process in which the AP schedules data packets from the STA-based software queue to the hardware transmission queue is called airtime fairness scheduling. Currently, for a coverage scenario of a single AP, there are roughly three methods for scheduling: average scheduling between multiple STAs, scheduling of air interface resources based on static configuration of SSIDs, and scheduling between multiple STAs within the SSID, and based on The proportion of air interface resources that are statically configured by the STA is scheduled and scheduled between multiple STAs within the SSID.
但是,现有大多数WiFi网络的应用范围较大,单个AP无法覆盖,需要用到分布式覆盖,对于多个AP的分布式覆盖场景,目前尚未给出明确的调度方法,且使用上述单个AP的覆盖场景时的调度方法时,会存在调度效果差的问题,进而降低了用户体验。However, most of the existing WiFi networks have a large application range, and a single AP cannot be covered, and distributed coverage is required. For a distributed coverage scenario of multiple APs, a clear scheduling method has not been given yet, and the above single AP is used. When the scheduling method is used to cover the scene, there is a problem that the scheduling effect is poor, thereby reducing the user experience.
发明内容Summary of the invention
本发明的实施例提供一种调度方法、装置及系统,解决了现有技术中WiFi网络的调度效果差、用户体验低的问题。The embodiment of the invention provides a scheduling method, device and system, which solves the problem that the scheduling effect of the WiFi network is poor and the user experience is low in the prior art.
为达到上述目的,本发明的实施例采用如下技术方案:In order to achieve the above object, embodiments of the present invention adopt the following technical solutions:
第一方面,提供一种调度方法,应用于WiFi网络中,该WiFi网络包括第一节点、与第一节点直接级联的第二节点,第二节点为第一节点的下级节点,该方法包括:第一节点获取所有直接接入和间接接入第一节点的工作站的信息;第一节点根据接入第一节点的所有工作站的信息,统一分配每个工作站的空口资源比例;第一节点根据直接接入和间接接入第二工作站的所有工作站的空口资源比例的共和,为第二节点分配空口资源。上述技术方案中,第一节点通过获取所有直接接入和间接接入第一节点的工作站的信息,从而在进行空口资源比例分配时,可以统一分配每个工作站的空口资 源比例,且根据直接接入和间接接入第二节点的所有工作站的空口资源比例的总和,为第二节点分配空口资源,从而可以保证直接接入第一节点的工作站和间接接入第一节点的工作站分配的空口资源比例的公平性和合理性,进而提高调度效果以及用户体验。In a first aspect, a scheduling method is provided, which is applied to a WiFi network, where the WiFi network includes a first node, a second node directly cascading with the first node, and the second node is a lower node of the first node, and the method includes The first node acquires information of all the workstations that directly access and indirectly access the first node; the first node uniformly allocates the proportion of the air interface resources of each workstation according to the information of all the workstations that access the first node; The sum of the air interface resource ratios of all the workstations that directly access and indirectly access the second workstation allocates air interface resources to the second node. In the foregoing technical solution, the first node obtains the information of all the workstations that directly access and indirectly access the first node, so that when the proportion of the air interface resources is allocated, the air interface of each workstation can be uniformly allocated. Source ratio, and allocates air interface resources to the second node according to the sum of the proportion of the air interface resources of all the workstations that directly access and indirectly access the second node, thereby ensuring direct access to the workstation of the first node and indirect access first The fairness and rationality of the proportion of air interface resources allocated by the workstations of the nodes, thereby improving the scheduling effect and user experience.
结合第一方面,在第一方面的第一种可能的实现方式中,第一节点获取所有直接接入和间接接入第一节点的工作站的信息,包括:第一节点接收第二节点发送的所有直接接入和间接接入第二节点的工作站的信息。上述可能的实现方式中,提供了一种第一节点通过第二节点获取间接接入第一节点的工作站的信息的一种方法,从而可以保证第一节点分配给第二节点的空口资源比例的合理性,进而提高调度效果以及用户体验。With reference to the first aspect, in a first possible implementation manner of the first aspect, the first node obtains information about all directly accessing and indirectly accessing the workstation of the first node, including: receiving, by the first node, the second node Information about all workstations that directly access and indirectly access the second node. In the foregoing possible implementation manner, a method is provided for the first node to obtain information of a workstation indirectly accessing the first node by using the second node, so that the ratio of the air interface resources allocated by the first node to the second node may be ensured. Rationality, which in turn improves scheduling and user experience.
结合第一方面的第一种可能的实现方式,在第一方面的第二种可能的实现方式中,直接接入和间接接入第二节点的所有工作站的信息携带在第一学习报文中,该一学习报文为第二节点发送的用于第一节点进行MAC地址学习的报文。上述可能的实现方式中,提供了一种第一节点获取直接接入和间接接入第二节点的所有工作站的信息的方法,从而可以保证第一节点分配给第二节点的空口资源比例的合理性,进而提高调度效果以及用户体验。In conjunction with the first possible implementation of the first aspect, in a second possible implementation manner of the first aspect, information about all workstations that directly access and indirectly access the second node is carried in the first learning packet. The learning message is a packet sent by the second node for performing MAC address learning on the first node. In the foregoing possible implementation manner, a method for the first node to obtain information of direct access and indirect access to all workstations of the second node is provided, so that the ratio of the air interface resources allocated by the first node to the second node is reasonable. Sex, which improves scheduling and user experience.
结合第一方面,在第一方面的第三种可能的实现方式中,第一节点为该WiFi网络中的根节点或者从节点。In conjunction with the first aspect, in a third possible implementation manner of the first aspect, the first node is a root node or a slave node in the WiFi network.
结合第一方面的第三种可能的实现方式,在第一方面的第四种可能的实现方式中,若第一节点为根节点,第一节点获取所有直接接入和间接接入第一节点的工作站的信息,包括:第一节点接收该WiFi网络中每个节点发送的直接接入每个节点的工作站的信息;第一节点汇总直接接入每个节点的工作站的信息,以获取所有直接接入和间接接入第一节点的工作站的信息。上述可能的实现方式中,提供了一种第一节点作为根节点时获取所有直接接入和间接接入第一节点的工作站的信息的方法,从而可以保证第一节点分配给第二节点的空口资源比例的合理性,进而提高调度效果以及用户体验。With reference to the third possible implementation manner of the first aspect, in a fourth possible implementation manner of the first aspect, if the first node is a root node, the first node obtains all direct access and indirect access to the first node. The information of the workstation includes: the first node receives information of a workstation directly connected to each node sent by each node in the WiFi network; the first node summarizes information directly connected to each node of the workstation to obtain all direct Information on workstations that access and indirectly access the first node. In the foregoing possible implementation manner, a method for obtaining information of all directly accessing and indirectly accessing workstations of the first node when the first node is the root node is provided, so that the air interface allocated by the first node to the second node can be ensured. The rationality of the proportion of resources, thereby improving the scheduling effect and user experience.
结合第一方面的第三种可能的实现方式,在第一方面的第五种可能的实现方式中,若第一节点为从节点,第一节点获取所有直接接入和间接接入第一节点的工作站的信息,包括:第一节点接收根节点发送的调度指示信息,调度指示信息用于指示所有直接接入和间接接入第一节点的工作站的信息;第一节点根据调度指示信息,获取所有直接接入和间接接入所述第一节点的工作站的信息。上述可能的实现方式中,第一节点可以通过根节点获取所有直接接入和间接接入第一节点的工作站的信息,从而可以保证第一节点分配给直接接入第一节点的工作站和第二节点的空口资源比例的合理性,进而提高调度效果以及用户体验。With reference to the third possible implementation manner of the first aspect, in a fifth possible implementation manner of the first aspect, if the first node is a slave node, the first node obtains all direct access and indirect access to the first node. The information of the workstation includes: the first node receives the scheduling indication information sent by the root node, and the scheduling indication information is used to indicate information of all the workstations that directly access and indirectly access the first node; the first node acquires the information according to the scheduling indication information. All information directly accessing and indirectly accessing the workstation of the first node. In the foregoing possible implementation manner, the first node may obtain, by using the root node, information about all workstations that directly access and indirectly access the first node, thereby ensuring that the first node is allocated to the workstation directly accessing the first node, and the second The rationality of the air interface resource ratio of the node improves the scheduling effect and user experience.
结合第一方面的第三种可能的实现方式,在第一方面的第六种可能的实现方式中,若第一节点为从节点,该方法还包括:第一节点将直接接入第一节点的工作站的信息发送给根节点;或者,第一节点向第一节点的上级节点发送第二学习报文,第二学习报文为第一节点发送的用于第一节点的上级节点进行MAC地址学习的报文。上述可能的实现方式中,第一节点可以将直接接入第一节点的工作站的信息发送给根节 点或者通过第二学习报文将其发送给第一节点的上级节点,以使根节点或者第一节点的上级节点可以获取接入第一节点的工作站的信息。With reference to the third possible implementation manner of the first aspect, in a sixth possible implementation manner of the first aspect, if the first node is a slave node, the method further includes: the first node directly accesses the first node The information of the workstation is sent to the root node; or the first node sends a second learning message to the upper node of the first node, and the second learning message is the MAC address of the upper node sent by the first node for the first node. Learning message. In the above possible implementation manner, the first node may send information about the workstation directly accessing the first node to the root node. The point or the second learning message is sent to the upper node of the first node, so that the root node or the upper node of the first node can obtain information of the workstation accessing the first node.
结合第一方面至第一方面的第六种可能的实现方式中的任一种,在第一方面的第七种可能的实现方式中,工作站的信息包括工作站标识。进一步的,该工作站的信息还可以包括以下信息中的至少一个:工作站优先级、工作站对应的服务集标识、工作站对应的服务集标识的优先级。上述可能的实现方式中,提供了几种可能的工作站的信息,从而根据该信息统一分配每个工作站的空口资源比例时,可以提高空口资源比例分配的合理性,进而提高调度效果和用户体验。In conjunction with the first aspect to any one of the sixth possible implementations of the first aspect, in a seventh possible implementation of the first aspect, the information of the workstation includes a workstation identification. Further, the information of the workstation may further include at least one of the following information: a workstation priority, a service set identifier corresponding to the workstation, and a priority of the service set identifier corresponding to the workstation. In the foregoing possible implementation manners, information about several possible workstations is provided, so that the proportion of air interface resources allocated to each workstation is uniformly allocated according to the information, thereby improving the rationality of proportion allocation of air interface resources, thereby improving the scheduling effect and user experience.
第二方面,提供一种节点,应用于WiFi网络中,该节点为第一节点,该WiFi网络还包括与第一节点直接级联的第二节点,第二节点为第一节点的下级节点,第一节点包括:获取单元,用于获取所有直接接入和间接接入第一节点的工作站的信息;分配单元,用于根据接入第一节点的所有工作站的信息,统一分配每个工作站的空口资源比例;分配单元,还用于根据直接接入和间接接入第二节点的所有工作站的空口资源比例的总和,为第二节点分配空口资源。In a second aspect, a node is provided, which is applied to a WiFi network, where the node is a first node, the WiFi network further includes a second node directly cascading with the first node, and the second node is a lower node of the first node, The first node includes: an obtaining unit, configured to acquire information of all workstations that directly access and indirectly access the first node; and an allocating unit configured to uniformly allocate each workstation according to information of all workstations accessing the first node The proportion of the air interface resource; the allocation unit is further configured to allocate the air interface resource to the second node according to the sum of the proportions of the air interface resources of all the workstations that directly access and indirectly access the second node.
结合第二方面,在第二方面的第一种可能的实现方式中,获取单元具体用于:接收第二节点发送的所有直接接入和间接接入第二节点的工作站的信息。With reference to the second aspect, in a first possible implementation manner of the second aspect, the acquiring unit is specifically configured to: receive information about all the direct access and the indirect access to the workstation of the second node that are sent by the second node.
结合第二方面的第一种可能的实现方式,在第二方面的第二种可能的实现方式中,直接接入和间接接入第二节点的所有工作站的信息携带在第一学习报文中,第一学习报文为第二节点发送的用于第一节点进行MAC地址学习的报文。With reference to the first possible implementation manner of the second aspect, in a second possible implementation manner of the second aspect, the information of all the workstations that directly access and indirectly access the second node are carried in the first learning packet. The first learning packet is a packet sent by the second node for performing MAC address learning on the first node.
结合第二方面,在第二方面的第三种可能的实现方式中,第一节点为WiFi网络中的根节点或者从节点。With reference to the second aspect, in a third possible implementation manner of the second aspect, the first node is a root node or a slave node in the WiFi network.
结合第二方面的第三种可能的实现方式,在第二方面的第四种可能的实现方式中,若第一节点为根节点,获取单元具体用于:接收WiFi网络中每个节点发送的直接接入每个节点的工作站的信息;汇总直接接入每个节点的工作站的信息,以获取所有直接接入和间接接入第一节点的工作站的信息。With reference to the third possible implementation manner of the second aspect, in a fourth possible implementation manner of the second aspect, if the first node is a root node, the acquiring unit is specifically configured to: receive, sent by each node in the WiFi network Information directly accessing the workstations of each node; summarizing the information of the workstations directly accessing each node to obtain information of all workstations that directly access and indirectly access the first node.
结合第二方面的第三种可能的实现方式,在第二方面的第五种可能的实现方式中,若第一节点为从节点,获取单元具体用于:接收根节点发送的调度指示信息,调度指示信息用于指示所有直接接入和间接接入第一节点的工作站的信息;根据调度指示信息,获取所有直接接入和间接接入第一节点的工作站的信息。With reference to the third possible implementation manner of the second aspect, in a fifth possible implementation manner of the second aspect, if the first node is a slave node, the acquiring unit is specifically configured to: receive the scheduling indication information sent by the root node, The scheduling indication information is used to indicate information of all workstations that directly access and indirectly access the first node; and according to the scheduling indication information, acquire information of all workstations that directly access and indirectly access the first node.
结合第二方面的第三种可能的实现方式,在第二方面的第六种可能的实现方式中,若第一节点为从节点,第一节点还包括:发送单元,用于将直接接入第一节点的工作站的信息发送给根节点;或者,发送单元,用于向第一节点的上级节点发送第二学习报文,第二学习报文为第一节点发送的用于第一节点的上级节点进行MAC地址学习的报文。In conjunction with the third possible implementation of the second aspect, in a sixth possible implementation manner of the second aspect, if the first node is a slave node, the first node further includes: a sending unit, configured to directly access The information of the workstation of the first node is sent to the root node; or the sending unit is configured to send the second learning packet to the upper node of the first node, where the second learning packet is sent by the first node for the first node. The packet learned by the upper node for MAC address learning.
结合第二方面至第二方面的第六种可能的实现方式中的任一种,在第二方面的第七种可能的实现方式中,工作站的信息包括工作站标识。进一步的,该工作站的信息还可以包括以下信息中的至少一个:工作站优先级、工作站对应的服务集标识、工作站对应的服务集标识的优先级。With reference to any one of the second aspect to the sixth possible implementation of the second aspect, in a seventh possible implementation of the second aspect, the information of the workstation includes a workstation identifier. Further, the information of the workstation may further include at least one of the following information: a workstation priority, a service set identifier corresponding to the workstation, and a priority of the service set identifier corresponding to the workstation.
第三方面,提供一种节点,该节点包括存储器、处理器、总线和通信接口,存储 器中存储代码和数据,处理器与存储器通过总线连接,处理器运行存储器中的代码使得该节点执行上述第一方面至第一方面的第七种可能的实现方式中任一种可能的实现方式所提供的调度方法。In a third aspect, a node is provided, the node comprising a memory, a processor, a bus, and a communication interface, storing Storing code and data, the processor and the memory are connected by a bus, and the code in the processor running the memory causes the node to perform any one of the possible implementations of the first aspect to the seventh possible implementation of the first aspect The scheduling method provided.
第四方面,提供一种系统,该系统包括第一节点、以及与第一节点直接级联的第二节点,第二节点为第一节点的下级节点;其中,第一节点为上述第二方面至第二方面的第七种可能的实现方式中的任一种所提供的节点,或者为上述第三方面所提供的节点。In a fourth aspect, a system is provided, the system comprising a first node, and a second node directly cascading with the first node, the second node being a lower node of the first node; wherein the first node is the second aspect A node provided by any one of the seventh possible implementations of the second aspect, or a node provided by the third aspect above.
本申请的又一方面提供了一种计算机可读存储介质,所述计算机可读存储介质中存储有指令,当其在计算机上运行时,使得计算机执行上述各方面所述的方法。Yet another aspect of the present application provides a computer readable storage medium having instructions stored therein that, when executed on a computer, cause the computer to perform the methods described in the above aspects.
本申请的又一方面提供了一种包含指令的计算机程序产品,当其在计算机上运行时,使得计算机执行上述各方面所述的方法。Yet another aspect of the present application provides a computer program product comprising instructions which, when run on a computer, cause the computer to perform the methods described in the various aspects above.
可以理解地,上述提供的任一种调度方法的装置、计算机存储介质或者计算机程序产品均用于执行上文所提供的对应的方法,因此,其所能达到的有益效果可参考上文所提供的对应的方法中的有益效果,此处不再赘述。It can be understood that the apparatus, computer storage medium or computer program product of any of the scheduling methods provided above is used to perform the corresponding method provided above, and therefore, the beneficial effects that can be achieved can be referred to the above. The beneficial effects in the corresponding methods are not described here.
附图说明DRAWINGS
图1为本发明实施例提供的一种基础型BSS的WiFi网络结构示意图;1 is a schematic structural diagram of a WiFi network of a basic BSS according to an embodiment of the present invention;
图2为本发明实施例提供的一种WiFi网络中AP调度的示意图;2 is a schematic diagram of AP scheduling in a WiFi network according to an embodiment of the present invention;
图3为本发明实施例提供的一种WiFi网络的结构示意图;FIG. 3 is a schematic structural diagram of a WiFi network according to an embodiment of the present disclosure;
图4为本发明实施例提供的一种接入点设备的结构示意图;FIG. 4 is a schematic structural diagram of an access point device according to an embodiment of the present disclosure;
图5为本发明实施例提供的一种调度方法的流程图;FIG. 5 is a flowchart of a scheduling method according to an embodiment of the present invention;
图6为本发明实施例提供的一种接入节点的工作站的示意图;FIG. 6 is a schematic diagram of a workstation of an access node according to an embodiment of the present disclosure;
图7为本发明实施例提供的另一种WiFi网络的结构示意图;FIG. 7 is a schematic structural diagram of another WiFi network according to an embodiment of the present disclosure;
图8为本发明实施例提供的一种第一节点的结构示意图;FIG. 8 is a schematic structural diagram of a first node according to an embodiment of the present disclosure;
图9为本发明实施例提供的另一种第一节点的结构示意图。FIG. 9 is a schematic structural diagram of another first node according to an embodiment of the present invention.
具体实施方式detailed description
在介绍本发明实施例之前,首先对本发明实施例涉及的技术名词进行介绍说明。Before introducing the embodiments of the present invention, the technical terms involved in the embodiments of the present invention are first described.
接入点(access point,AP),是指无线接入点,也可以称为无线AP,它是一个无线网络的接入点,也是无线网络的核心。在无线网络中,AP的主要功能表现在以下几个方面:对小区内移动站点的管理,包括移动站点的连接、认证等的处理;完成数据帧从有线网络到BSS的桥接过程,实现地址过滤以及地址的学习功能;完成移动站点在不同BSS间的切换管理;简单的网络管理功能等。另外,AP可以作为无线网络扩展使用,与其他AP连接以扩大无线网络的覆盖范围。无线AP主要用于宽带家庭、大楼内部以及园区内部,其距离覆盖可以为几十米至上百米。其中,接入点设备可以为无线路由器,无线路由器主要有路由交换接入一体设备和纯接入点设备,一体设备执行接入和路由工作,纯接入设备只负责无线客户端的接入。An access point (AP) refers to a wireless access point, also called a wireless AP, which is an access point of a wireless network and is also the core of a wireless network. In the wireless network, the main functions of the AP are as follows: management of mobile stations in the cell, including processing of connection and authentication of the mobile station; completion of bridging of data frames from the wired network to the BSS, and address filtering And the learning function of the address; complete the handover management of the mobile station between different BSS; simple network management functions. In addition, the AP can be used as a wireless network extension to connect with other APs to expand the coverage of the wireless network. Wireless APs are mainly used in broadband homes, inside buildings, and inside campuses. The distance can range from tens of meters to hundreds of meters. The access point device may be a wireless router, and the wireless router mainly has a routing switching access integrated device and a pure access point device, and the integrated device performs access and routing work, and the pure access device is only responsible for wireless client access.
在本发明实施例中,可以将AP称为节点,且可以分为根节点和从节点。其中,根节点,是指分布式覆盖的WiFi网络中的主AP,主AP下级可以级联一个或者多个AP,但主AP的上级不存在级联的AP。从节点是指分布式覆盖的WiFi网络中的从AP, 从AP是指分布式覆盖的WiFi网络中除主AP以外的其他任一AP。在本发明实施例中,可以定义分布式覆盖的WiFi网络包括的AP的级联层级,具体的,可以将主AP的级联层级定义为第一级,与主AP直接级联的从AP的级联层级定义为第二级,与第二级的从AP直接级联的从AP定义为第三级,以此类推。In the embodiment of the present invention, an AP may be referred to as a node, and may be divided into a root node and a slave node. The root node refers to the primary AP in the distributed coverage WiFi network. The primary AP can be cascaded with one or more APs, but the primary AP does not have a cascaded AP. A slave node refers to a slave AP in a distributed overlay WiFi network, The slave AP refers to any AP other than the primary AP in the distributed coverage WiFi network. In the embodiment of the present invention, the cascading level of the AP included in the distributed coverage WiFi network may be defined. Specifically, the cascading level of the primary AP may be defined as the first level, and the secondary AP directly cascading with the primary AP The cascading level is defined as the second level, which is defined as the third level from the AP that is directly cascaded from the AP at the second level, and so on.
工作站(station,STA),也可以称为移动站点,是指携带有无线网络接口卡(比如无线网卡)的设备。在本发明实施例中,是指连接到AP的终端设备,即接入AP的无线客户端。A station (station, STA), also referred to as a mobile station, refers to a device that carries a wireless network interface card (such as a wireless network card). In the embodiment of the present invention, the terminal device connected to the AP, that is, the wireless client accessing the AP.
服务集标识(service set identifier,SSID)技术可以将一个无线局域网分为几个需要不同身份验证的子网络,每一个子网络都需要独立的身份验证,只有通过身份验证的用户才可以进入相应的子网络,防止未被授权的用户进入本网络。若出于安全考虑可以不广播SSID,此时用户就要手工设置SSID才能进入相应的子网络。简单说,SSID就是一个局域网的名称,只有设置为名称相同SSID的值的设备才能互相通信。The service set identifier (SSID) technology can divide a wireless local area network into several sub-networks that require different authentication. Each sub-network needs independent authentication, and only authenticated users can enter the corresponding A subnet prevents unauthorized users from entering the network. If the SSID is not broadcast for security reasons, the user must manually set the SSID to enter the corresponding subnet. Simply put, the SSID is the name of a local area network. Only devices that are set to the same SSID value can communicate with each other.
图3为本发明实施例提供的一种WiFi网络的结构示意图,参见图3,该WiFi网络的应用场景为多个AP的分布式覆盖场景,即该WiFi网络包括多个级联的AP、以及接入该多个AP的工作站STA。其中,该WiFi网络包括的多个AP之间可以完全通过WiFi方式连接,也可以存在部分AP通过有线方式进行连接,图3中以该多个AP之间完全通过WiFi方式连接为例进行说明。FIG. 3 is a schematic structural diagram of a WiFi network according to an embodiment of the present disclosure. Referring to FIG. 3, an application scenario of the WiFi network is a distributed coverage scenario of multiple APs, that is, the WiFi network includes multiple cascaded APs, and A workstation STA accessing the plurality of APs. The multiple APs included in the WiFi network may be connected by using a WiFi connection, and some APs may be connected by a wired connection. In FIG. 3, the multiple APs are connected by using a WiFi connection as an example.
图3中以多个AP包括R、A、B、C和D为例,R为根节点,A、B、C和D为从节点,也可以称为R的下级节点,其级联关系如图3所示。图3中以接入该多个AP的工作站STA包括10个(即S1~S10)为例,其接入关系如图3所示,S1和S2接入R、S3和S4接入A、S5和S6接入B、S7和S8接入C、以及S9和S10接入D。其中,S1、S3、S5、S7和S9对应的服务集标识为SSID1,S2、S4、S6、S8和S10对应的服务集标识为SSID2。In FIG. 3, a plurality of APs including R, A, B, C, and D are taken as an example, R is a root node, and A, B, C, and D are slave nodes, and may also be called a lower node of R, and the cascade relationship is as follows. Figure 3 shows. In FIG. 3, the workstation STAs that access the multiple APs include 10 (ie, S1 to S10) as an example, and the access relationship is as shown in FIG. 3, and S1 and S2 are connected to R, S3, and S4 to access A and S5. And S6 access B, S7 and S8 access C, and S9 and S10 access D. The service set identifiers corresponding to S1, S3, S5, S7, and S9 are SSID1, and the service set identifiers corresponding to S2, S4, S6, S8, and S10 are SSID2.
图4为本发明实施例提供的一种接入点设备的结构示意图,参见图4,该接入点设备可以包括处理器、存储器、通信接口和总线,存储器和通信接口通过总线与处理器连接。4 is a schematic structural diagram of an access point device according to an embodiment of the present invention. Referring to FIG. 4, the access point device may include a processor, a memory, a communication interface, and a bus. The memory and the communication interface are connected to the processor through a bus. .
其中,处理器用于执行接入点设备的各种功能,可以包括一个或者多个模块,比如,包括中央处理单元(central processing unit,CPU)、专用集成电路(application-specific integrated circuit,ASIC)、以及现场可编程门阵列(field-programmable gate array,FPGA)等。存储器可用于存储数据、软件程序以及模块,可以由任何类型的易失性或非易失性存储器或者它们的组合实现,图4中以存储器包括闪存(Flash)和同步动态随机存储器(synchronous dynamic random access memory,SDRAM)为例进行说明。Flash可用于存储程序和配置数据,SDRAM可以为程序运行和数据处理提供临时存储空间。通信接口用于支持接入点设备与其他设备进行通信,接入点设备作为连接分布式系统(比如,以太网)和无线网络的桥梁,一方面需要通过WLAN的无线接口与无线网络上的其他节点通信,另一方面需要与分布式系统中的其他节点通信。图4中以接入点设备的通信接口通过有线网卡和WLAN网卡来实现,以支持接入点设备与其他节点的通信。The processor is configured to perform various functions of the access point device, and may include one or more modules, for example, including a central processing unit (CPU), an application-specific integrated circuit (ASIC), And field-programmable gate array (FPGA) and the like. The memory can be used to store data, software programs, and modules, and can be implemented by any type of volatile or non-volatile memory or a combination thereof. In FIG. 4, the memory includes flash memory and synchronous dynamic random memory (synchronous dynamic random memory). Access memory, SDRAM) is an example. Flash can be used to store programs and configuration data, and SDRAM can provide temporary storage for program execution and data processing. The communication interface is used to support the access point device to communicate with other devices, and the access point device serves as a bridge connecting the distributed system (for example, Ethernet) and the wireless network, and needs to pass through the wireless interface of the WLAN and the other on the wireless network. Node communication, on the other hand, requires communication with other nodes in the distributed system. In Figure 4, the communication interface of the access point device is implemented by a wired network card and a WLAN network card to support communication between the access point device and other nodes.
图5为本发明实施例提供的一种调度方法的流程图,应用于WiFi网络中,该WiFi 网络包括第一节点、以及与第一节点直接级联的第二节点,第二节点为第一节点的下级节点,参见图5,该方法包括以下几个步骤。FIG. 5 is a flowchart of a scheduling method according to an embodiment of the present disclosure, where the WiFi is applied to a WiFi network. The network includes a first node and a second node directly cascaded with the first node, and the second node is a lower node of the first node. Referring to FIG. 5, the method includes the following steps.
步骤201:第一节点获取所有直接接入和间接接入第一节点的工作站的信息。Step 201: The first node acquires information of all workstations that directly access and indirectly access the first node.
其中,在WiFi网络中,第一节点可以是指存在下级节点的任一节点,第二节点是指与第一节点直接级联,且其级联层级比第一节点的级联层级多一级的下级节点中的节点。比如,如图3所示的WiFi网络,第一节点可以是R、B或C中的任一个,且R的下级节点可以包括A、B、C和D,B的下级节点可以包括C和D,C的下级节点可以包括D。以第一节点为R为例,与R直接级联,且级联层级多一级的下级节点为A和B,即第二节点为A或者B。In the WiFi network, the first node may refer to any node that exists in the lower node, the second node is directly cascaded with the first node, and the cascade level is one level higher than the cascade level of the first node. The node in the lower node. For example, as shown in the WiFi network shown in FIG. 3, the first node may be any one of R, B, or C, and the lower nodes of R may include A, B, C, and D, and the lower nodes of B may include C and D. The lower node of C may include D. Taking the first node as R as an example, the lower node is directly cascaded with R, and the lower nodes of the cascade level are A and B, that is, the second node is A or B.
另外,直接接入第一节点的工作站是指直接通过第一节点接入的工作站。间接接入第一节点的工作站是指通过与第一节点直接级联的下级节点接入的工作站,下级节点接入的工作站包括直接接入和间接接入每个下级节点的工作站。所有直接接入和间接接入第一节点的工作站可以称为接入第一节点的所有工作站。In addition, a workstation directly accessing the first node refers to a workstation directly accessed through the first node. The workstation indirectly accessing the first node refers to a workstation accessed through a lower node directly cascaded with the first node, and the workstation accessed by the lower node includes a workstation directly accessing and indirectly accessing each lower node. All workstations that directly access and indirectly access the first node may be referred to as all workstations accessing the first node.
结合图3所示的WiFi网络结构,如图6所示,若第一节点为R,与R直接级联的下级节点为A和B。其中,直接接入R的工作站为S1和S2,接入A的工作站只包括直接接入的工作站S3和S4,接入B的工作站包括直接接入和间接接入的工作站,直接接入B的工作站包括S5和S6,间接接入B的工作站包括S7、S8、S9和S10,从而接入R的所有工作站为S1~S10。若第一节点为B,与B直接级联的下级节点为C,直接接入B的工作站为S5和S6,直接接入和间接接入C的工作站为S7~S10,从而接入B的所有工作站为S5~S10。若第一节点为C、与C直接级联的下级节点为D,直接接入C的工作站为S7和S8,直接接入D的工作站为S9和S10,从而接入C的所有工作站为S7~S10。In conjunction with the WiFi network structure shown in FIG. 3, as shown in FIG. 6, if the first node is R, the lower nodes that are directly cascaded with R are A and B. Among them, the workstations that directly access R are S1 and S2, the workstations that access A only include the directly connected workstations S3 and S4, and the workstations that access B include direct access and indirect access workstations, which directly access B. The workstations include S5 and S6, and the workstations that indirectly access B include S7, S8, S9, and S10, so that all workstations connected to R are S1 to S10. If the first node is B, the lower node directly cascading with B is C, the workstations directly accessing B are S5 and S6, and the workstations directly accessing and indirectly accessing C are S7 to S10, thereby accessing all of B. The workstations are S5~S10. If the first node is C, the lower node that is directly cascaded with C is D, the workstations that directly access C are S7 and S8, and the workstations that directly access D are S9 and S10, so that all workstations connected to C are S7~ S10.
进一步的,工作站的信息可以包括工作站标识,工作站标识用于唯一标识工作站。进一步的,该工作站的信息还可以包括以下信息中的至少一个:工作站优先级、工作站对应的服务集标识、工作站对应的服务集标识的优先级。工作站优先级是指工作站所对应的优先级,可以是根据用户等级或用户权限范围等划分的优先级。工作站对应的服务集标识是指工作站所对应的子网络的标识。工作站对应的服务集标识的优先级是指工作站所对应的子网络的标识的优先级,可以是根据子网络的重要性或权限范围等划分的优先级。Further, the workstation information may include a workstation identification, and the workstation identification is used to uniquely identify the workstation. Further, the information of the workstation may further include at least one of the following information: a workstation priority, a service set identifier corresponding to the workstation, and a priority of the service set identifier corresponding to the workstation. The workstation priority refers to the priority corresponding to the workstation, and may be a priority according to the user level or the scope of the user authority. The service set identifier corresponding to the workstation refers to the identifier of the subnet corresponding to the workstation. The priority of the service set identifier corresponding to the workstation refers to the priority of the identifier of the sub-network corresponding to the workstation, and may be the priority according to the importance or scope of the sub-network.
步骤202:第一节点根据接入第一节点的所有工作站的信息,统一分配每个工作站的空口资源比例。Step 202: The first node uniformly allocates the proportion of air interface resources of each workstation according to information of all workstations accessing the first node.
当第一节点获取到接入第一节点的所有工作站的信息时,第一节点可以根据其接入的所有工作站的信息,统一为其接入的所有工作站中每个工作站分配空口资源比例,该空口资源可以是指空中传输时间。具体的,若工作站的信息包括工作站标识,则第一节点可以根据工作站标识确定接入第一节点的所有工作站的总数量,从而根据该总数量为每个工作站平均分配空口资源比例。比如,如图3所示的WiFi网络,若第一节点为R,接入R的工作站的标识包括S1~S10,则接入R的所有工作站的总数量为10,则R为S1~S10平均分配的空口资源比例可以为1/10。When the first node acquires information about all the workstations accessing the first node, the first node may uniformly allocate the proportion of the air interface resources to each workstation of all the workstations accessed according to the information of all the workstations accessed by the first node, Air interface resources can refer to air transmission time. Specifically, if the information of the workstation includes the workstation identifier, the first node may determine the total number of all workstations accessing the first node according to the workstation identifier, thereby uniformly allocating the ratio of the air interface resources to each workstation according to the total number. For example, in the WiFi network shown in FIG. 3, if the first node is R, and the identifier of the workstation accessing R includes S1 to S10, the total number of all workstations accessing R is 10, and R is an average of S1 to S10. The ratio of allocated air interface resources can be 1/10.
若工作站的信息还包括工作站优先级,则第一节点可以根据其接入的每个工作站 的优先级和接入的所有工作站的总数量,为每个工作站分配对应的空口资源比例。其中,工作站优先级可以包括两个或者两个以上等级的划分,且对于优先级较高的工作站,第一节点分配的空口资源比例可以高于为优先级较低的工作站分配的空口资源比例。比如,如图3所示的WiFi网络,若第一节点为C,C接入的所有工作站的标识包括S7~S10,S7和S9对应的优先级高于S8和S10的优先级,则C可以为S7和S9分配的空口资源比例分别为3/10,为S8和S10分配的空口资源比例分别为1/5。If the workstation information also includes workstation priority, the first node can be based on each workstation it accesses The priority and the total number of all workstations connected to each station, the corresponding air interface resource ratio is assigned to each workstation. The workstation priority may include two or more levels of partitioning, and for a workstation with a higher priority, the ratio of air interface resources allocated by the first node may be higher than the proportion of air interface resources allocated to workstations with lower priority. For example, in the WiFi network shown in FIG. 3, if the first node is C, and the identifiers of all workstations accessed by C include S7 to S10, and the priorities corresponding to S7 and S9 are higher than the priorities of S8 and S10, then C can be The ratio of air interface resources allocated to S7 and S9 is 3/10, and the ratio of air interface resources allocated to S8 and S10 is 1/5.
若工作站的信息还包括工作站对应的服务集标识SSID,则第一节点可以根据接入第一节点的所有工作站对应的SSID确定每个SSID对应的工作站的数量,从而根据每个SSID下的工作站的数量,为每个SSID配置空口资源比例,对于同一SSID下的多个工作站,可以通过平均分配的方法确定每个工作站的空口资源比例。比如,如图3所示的WiFi网络,若第一节点为R,R接入的所有工作站的标识包括S1~S10,S1、S3、S5、S7和S9对应的SSID为SSID1,S2、S4、S6、S8和S10对应的SSID为SSID2,则第一节点可以为SSID1和SSID2分别分配的空口资源比例为1/2,从而S1、S3、S5、S7和S9、以及S2、S4、S6、S8和S10分别通过平均分配的方法确定的空口资源比例均为1/10。If the information of the workstation further includes the service set identifier SSID corresponding to the workstation, the first node may determine the number of workstations corresponding to each SSID according to the SSID corresponding to all workstations accessing the first node, thereby determining the workstation according to each SSID. Quantity, configure the ratio of air interface resources for each SSID. For multiple workstations under the same SSID, the ratio of air interface resources of each workstation can be determined by the method of even distribution. For example, in the WiFi network shown in FIG. 3, if the first node is R, the identifiers of all workstations accessed by R include S1 to S10, and the SSIDs corresponding to S1, S3, S5, S7, and S9 are SSID1, S2, and S4. The SSID corresponding to S6, S8, and S10 is SSID2, and the ratio of the air interface resources allocated by the first node to SSID1 and SSID2 is 1/2, so that S1, S3, S5, S7, and S9, and S2, S4, S6, and S8. The proportion of air interface resources determined by the method of average allocation with S10 is 1/10.
若工作站的信息还包括工作站对应的服务集标识SSID和工作站对应的服务集标识的优先级,则第一节点为每个SSID分配空口资源比例时,可以根据SSID的数量、每个SSID的优先级、以及每个SSID下的工作站的数量进行分配。其中,SSID优先级可以包括两个或者两个以上等级的划分,且对于优先级较高的SSID,第一节点分配的空口资源比例可以高于为优先级较低的SSID分配的空口资源比例。比如,如图3所示的WiFi网络,若第一节点为R,R接入的所有工作站的标识包括S1~S10,S1、S3、S5、S7和S9对应的SSID为SSID1,S2、S4、S6、S8和S10对应的SSID为SSID2,SSID1的优先级高于SSID2的优先级,则第一节点可以为SSID1分配的空口资源比例为3/5、可以为SSID2分配的空口资源比例为2/5,从而S1、S3、S5、S7和S9通过平均分配的方法确定的空口资源比例均为3/25,S2、S4、S6、S8和S10通过平均分配的方法确定的空口资源比例均为2/25。If the information of the workstation further includes the service set identifier SSID of the workstation and the priority of the service set identifier corresponding to the workstation, when the first node allocates the proportion of the air interface resource for each SSID, the number of the SSID and the priority of each SSID may be used. And the number of workstations under each SSID is assigned. The SSID priority may include two or more levels of partitioning, and for a higher priority SSID, the ratio of air interface resources allocated by the first node may be higher than the proportion of air interface resources allocated for the lower priority SSID. For example, in the WiFi network shown in FIG. 3, if the first node is R, the identifiers of all workstations accessed by R include S1 to S10, and the SSIDs corresponding to S1, S3, S5, S7, and S9 are SSID1, S2, and S4. The SSID corresponding to S6, S8, and S10 is SSID2, and the priority of SSID1 is higher than the priority of SSID2. The ratio of air interface resources allocated by the first node to SSID1 is 3/5, and the proportion of air interface resources that can be allocated for SSID2 is 2/. 5, so that the proportion of air interface resources determined by the method of average allocation of S1, S3, S5, S7 and S9 is 3/25, and the ratio of air interface resources determined by the method of average allocation of S2, S4, S6, S8 and S10 is 2 /25.
若工作站的信息还工作站优先级、工作站对应的SSID、工作站对应的SSID的优先级时,第一节点可以在为接入第一节点的所有工作站分配空口资源比例时,根据第一节点每个工作站的优先级、工作站对应的SSID的总数量、每个SSID的优先级,以及每个SSID下的工作站的数量为接入第一节点的所有工作站分配空口资源比例。其中,对于同一SSID优先级下的工作站,优先级较高的工作站分配的空口资源比例高于优先级较低的工作站分配的空口资源比例。对于工作站的总数量和优先级相同的SSID,优先级较高的SSID分配的空口资源比例高于优先级较低的SSID分配的空口资源比例。If the information of the workstation is also the priority of the workstation, the SSID corresponding to the workstation, and the priority of the SSID corresponding to the workstation, the first node may allocate the ratio of the air interface resources to all workstations accessing the first node, according to each workstation of the first node. The priority, the total number of SSIDs corresponding to the workstation, the priority of each SSID, and the number of workstations under each SSID allocate the proportion of air interface resources to all workstations accessing the first node. Among them, for workstations with the same SSID priority, the ratio of air interface resources allocated by workstations with higher priority is higher than the proportion of air interface resources allocated by workstations with lower priority. For the total number of workstations and the SSID with the same priority, the ratio of the air interface resources allocated by the higher priority SSID is higher than the proportion of the air interface resources allocated by the lower priority SSID.
步骤203:第一节点根据直接接入和间接接入第二节点的所有工作站的空口资源比例的总和,为第二节点分配空口资源。Step 203: The first node allocates air interface resources to the second node according to the sum of the air interface resource proportions of all the workstations that directly access and indirectly access the second node.
当第一节点为接入第一节点的所有工作站分配空口资源比例之后,对于与第一节点直接级联的下级节点中的第二节点,第一节点可以根据直接接入和间接接入第二节点的所有工作站的空口资源比例的总和,为该第二节点对应的空口资源比例。进而, 第一节点可以根据该第二节点对应的空口资源比例,对该第二节点的数据进行调度。同时,第一节点还可以根据直接接入第一节点的工作站的空口资源比例,对直接接入第一节点的工作站的数据进行调度。After the first node allocates the ratio of the air interface resources to all the workstations accessing the first node, the first node may be the second node according to the direct access and the indirect access for the second node in the lower node directly cascading with the first node. The sum of the ratio of the air interface resources of all the workstations of the node is the ratio of the air interface resources corresponding to the second node. and then, The first node may schedule the data of the second node according to the ratio of the air interface resources corresponding to the second node. At the same time, the first node may also schedule data of the workstation directly accessing the first node according to the ratio of the air interface resources of the workstation directly accessing the first node.
比如,如图3所示的WiFi网络,若第一节点为R,接入A的工作站包括S3和S4,接入B的工作站包括S5~S10,S3~S10中每个工作站的空口资源比例为1/10,则R确定的A对应的空口资源比例为1/5,B对应的空口资源比例为3/5,直接接入R的S1和S2的空口资源比例均为1/10,则第一节点可以根据S1、S2、A和B中各自对应的空口资源比例对其进行调度。For example, in the WiFi network shown in FIG. 3, if the first node is R, the workstations that access A include S3 and S4, and the workstations that access B include S5 to S10, and the proportion of air interface resources of each workstation in S3 to S10 is 1/10, the ratio of the air interface resources corresponding to A determined by R is 1/5, the proportion of air interface resources corresponding to B is 3/5, and the proportion of air interface resources of S1 and S2 directly connected to R is 1/10. A node can schedule it according to the corresponding air interface resource ratios of S1, S2, A, and B.
进一步的,当WiFi网络中存在有线连接时,比如图7所示的WiFi网络,B与D之间通过有线方式进行连接,则B在根据接入的所有工作站的信息统一为每个工作站分配空口资源比例时,B无需考虑直接接入D的工作站S9和S10,即B无需为工作站S9和S10分配空口资源比例。但是,R在根据接入的所有工作站的信息为接入的每个工作站分配空口资源比例时,R需要为直接接入D的工作站S9和S10分配空口资源比例,并在为B分配对应的空口资源比例时,是将工作站S5~S10的空口资源比例的总和分配为B对应的空口资源比例。Further, when there is a wired connection in the WiFi network, such as the WiFi network shown in FIG. 7, and B and D are connected by wire, B allocates an air interface to each workstation according to the information of all the workstations accessed. When the ratio of resources is used, B does not need to consider workstations S9 and S10 that directly access D, that is, B does not need to allocate the ratio of air interface resources to workstations S9 and S10. However, when R allocates the ratio of the air interface resources to each workstation that is accessed according to the information of all the workstations that are accessed, R needs to allocate the ratio of the air interface resources to the workstations S9 and S10 that directly access D, and allocate the corresponding air interface for B. In the case of the resource ratio, the sum of the ratios of the air interface resources of the workstations S5 to S10 is allocated as the ratio of the air interface resources corresponding to B.
也即是,在根据本发明实施例提供的方法进行调度时,若第一节点存在通过有线方式直接级联的下级节点,则第一节点在获取所有接入第一节点的工作站的信息时,第一节点无需考虑通过有线方式接入的工作站的信息。若与第一节点直接级联的下级节点中存在通过有线方式连接的节点,则在确定接入该下级节点的所有工作站的信息时,是将直接接入和间接接入该下级节点的所有工作站的信息都考虑在内,无需区分间接接入该下级节点的工作站所连接的节点是通过有线方式还是无线方式连接的。That is, when scheduling is performed according to the method provided by the embodiment of the present invention, if the first node has a lower-level node that is directly cascaded by wire, the first node acquires information of all workstations accessing the first node. The first node does not need to consider the information of the workstations that are connected by wire. If there is a node connected by wire in the lower-level node directly cascading with the first node, when determining information of all workstations accessing the lower-level node, all workstations that directly access and indirectly access the lower-level node are The information is taken into account, and it is not necessary to distinguish whether the nodes connected to the workstation indirectly accessing the lower node are connected by wire or wireless.
进一步的,第一节点可以为WiFi网络中的根节点或者从节点,从节点是指除WiFi网络中除根节点以外的节点。其中,当第一节点通过上述步骤201获取接入第一节点的所有工作站的信息时,第一节点可以通过以下几种不同的方法来实现,具体如下所述。Further, the first node may be a root node or a slave node in the WiFi network, and the slave node refers to a node other than the root node except the WiFi network. When the first node obtains the information of all the workstations accessing the first node through the foregoing step 201, the first node may be implemented by using different methods as follows.
第一种、根据WiFi网络的拓扑结构,通过逐级上报的方法使第一节点获取接入第一节点的所有工作站的信息,具体包括:步骤a1-步骤a2。其中,在第一种方法中,第一节点可以为根节点,也可以为从节点。The first type, according to the topology of the WiFi network, the first node obtains the information of all the workstations that access the first node, and the method includes the following steps: Step a1 - Step a2. Wherein, in the first method, the first node may be a root node or a slave node.
步骤a1:第一节点接收第二节点发送的所有直接接入和间接接入第二节点的工作站的信息。Step a1: The first node receives information of all direct access and indirect access to the workstation of the second node sent by the second node.
其中,由于第一节点与第二节点直接级联,从而第二节点可以在获取其直接接入和间接接入的所有工作站的信息之后,可以将其接入的所有工作站的信息上报给第一节点,第一节点接收第二节点发送的该第二节点接入的所有工作站的信息,从而使第一节点获取到接入第二节点的所有工作站的信息。其中,第二节点在获取其直接接入和间接接入的所有工作站的信息时,其直接接入的工作站的信息可以直接确定,其间接接入的工作站的信息同样可以通过逐级上报的方式进行获取。The first node and the second node are directly cascaded, so that the second node can report the information of all the workstations that it accesses to the first after obtaining the information of all the workstations that are directly accessed and indirectly accessed. a node, the first node receives information of all workstations accessed by the second node sent by the second node, so that the first node acquires information about all workstations accessing the second node. Wherein, when the second node obtains the information of all the workstations that are directly accessed and indirectly accessed, the information of the workstation directly accessed by the second node may be directly determined, and the information of the workstation that is indirectly accessed may also be reported in a stepwise manner. Get it.
需要说明的是,若第二节点不存在间接接入第二节点工作站,则第一节点接收到第二节点发送的接入第二节点的所有工作站的信息,仅包括直接接入第二节点的工作站的信息。 It should be noted that, if the second node does not have an indirect access to the second node workstation, the first node receives information about all workstations that are sent by the second node and accesses the second node, and only includes direct access to the second node. Workstation information.
另外,与第一节点直接级联的下级节点可以包括一个或者多个节点,第二节点为第一节点直接级联的下级节点中的一个节点。当第一节点获取其间接接入的所有工作站的信息时,第一节点直接级联的下级节点中的每个节点,都可以通过上述步骤a1所述的方法将其接入的所有工作站的信息发送给第一节点,以使第一节点获取到所有间接接入第一节点的工作站的信息。In addition, the lower node directly cascaded with the first node may include one or more nodes, and the second node is one of the lower nodes directly cascaded by the first node. When the first node obtains information of all the workstations that it indirectly accesses, each node of the lower-level nodes directly cascaded by the first node may obtain information of all workstations accessed by the method described in the foregoing step a1. The first node is sent to the first node to obtain information about all workstations that indirectly access the first node.
比如,如图3所示,以第一节点为R、与R直接级联的下级节点为A和B,直接接入A的工作站为S3和S4,A可以直接确定工作站S3和S4的信息并将其上报给R。直接接入B的工作站为S5和S6,C可以直接确定工作站S5和S6的信息,间接接入C的工作站为S7~S10,D将直接接入的工作站S9和S10的信息上报给C,C在获取到工作站S9和S10的信息后,可以将S7~S10的信息上报给B,从而B获取到直接接入和间接接入B的所有工作站的信息,B将接入的所有工作站S5~S10的信息上报给R。For example, as shown in FIG. 3, the first node is R, the lower nodes directly cascading with R are A and B, and the workstations directly accessing A are S3 and S4, and A can directly determine the information of workstations S3 and S4. Report it to R. The workstations that directly access B are S5 and S6, and C can directly determine the information of workstations S5 and S6. The workstations that are indirectly connected to C are S7 to S10, and D reports the information of workstations S9 and S10 that are directly connected to C, C. After obtaining the information of the workstations S9 and S10, the information of the S7 to S10 can be reported to the B, so that the B obtains the information of all the workstations that directly access and indirectly access the B, and all the workstations that the B accesses are S5 to S10. The information is reported to R.
步骤a2:第一节点根据直接接入第一节点的工作站的信息和间接接入第一节点的工作站的信息,确定接入第一节点的所有工作站的信息。Step a2: The first node determines information of all workstations accessing the first node according to information of the workstation directly accessing the first node and information of the workstation indirectly accessing the first node.
当第一节点获取到间接接入第一节点的工作站的信息时,第一节点可以将间接接入第一节点的工作站的信息、以及直接接入第一节点的工作站的信息,确定为接入第一节点的所有工作站的信息。When the first node acquires the information of the workstation indirectly accessing the first node, the first node may determine the information of the workstation indirectly accessing the first node and the information of the workstation directly accessing the first node as access. Information about all workstations of the first node.
比如,如图3所示,若第一节点为R,直接接入R的工作站为S1和S2,从而R根据接入A的所有工作站S3和S4的信息、接入B的所有工作站S5~S10的信息、以及直接接入R的工作站S1和S2的信息,确定接入R的所有工作站的信息为S1~S10的信息。For example, as shown in FIG. 3, if the first node is R, the workstations directly accessing R are S1 and S2, so that R is based on the information of all workstations S3 and S4 connected to A, and all workstations S5 to S10 of access B. The information, as well as the information of the workstations S1 and S2 directly accessing R, determines that the information of all workstations accessing R is the information of S1 to S10.
第二种、若第一节点为根节点,则第一节点获取直接接入和间接接入第一节点的所有工作站的信息,具体包括:步骤b1~步骤b2。The second method, if the first node is the root node, the first node obtains the information of all the workstations that directly access and indirectly access the first node, and specifically includes: step b1 to step b2.
步骤b1:第一节点接收WiFi网络中除第一节点以外的每个节点发送的直接接入该节点的工作站的信息。Step b1: The first node receives information of a workstation directly connected to the node sent by each node except the first node in the WiFi network.
其中,第一节点为根节点时,第一节点可以维护WiFi网络的拓扑结构,WiFi网络中从节点包括的每个节点可以将其直接接入的工作站的信息发送给第一节点,以使第一节点获取到所有从节点直接接入的工作站的信息。Wherein, when the first node is the root node, the first node can maintain the topology structure of the WiFi network, and each node included in the slave node in the WiFi network can send information of the workstation directly accessed by the node to the first node, so that the first node A node obtains information about all workstations directly accessed from the node.
步骤b2:第一节点汇总直接接入每个节点的工作站的信息,以获得接入第一节点的所有工作站的信息。Step b2: The first node summarizes the information of the workstation directly accessing each node to obtain information of all workstations accessing the first node.
当第一节点接收到WiFi网络中除第一节点以外的每个节点发送的直接接入该节点的工作站的信息时,第一节点可以根据拓扑结构对直接接入每个节点的工作站的信息、以及直接接入第一节点的工作站的信息进行汇总,以得到直接接入和间接接入第一节点、以及从节点中每个节点的所有工作站的信息。When the first node receives the information of the workstation directly connected to the node sent by each node other than the first node in the WiFi network, the first node may, according to the topology, information about the workstation directly accessing each node, And the information of the workstation directly accessing the first node is aggregated to obtain information of direct access and indirect access to the first node, and all workstations of each node in the slave node.
比如,以图3为例,R为根节点,A、B、C和D为从节点,A、B、C和D分别将其直接接入的工作站的信息发送给R,由R根据WiFi网络的拓扑结构对接收到的工作站的信息进行汇总,以得到接入A、B、C和D中每个节点的所有工作站的信息。如下表1所示,根节点R汇总得到的接入每个节点的所有工作站的信息。 For example, taking Figure 3 as an example, R is the root node, A, B, C, and D are slave nodes, and A, B, C, and D respectively send information of the workstations directly connected to them to R, and R is based on the WiFi network. The topology aggregates the information of the received workstations to obtain information about all workstations accessing each of nodes A, B, C, and D. As shown in Table 1 below, the root node R summarizes the information obtained for all workstations accessing each node.
表1Table 1
Figure PCTCN2017079626-appb-000001
Figure PCTCN2017079626-appb-000001
需要说明的是,上述表1所示的接入每个节点的所有工作站的信息仅为示例性的,上述表1并不对本发明实施例构成限定。It should be noted that the information of all the workstations connected to each node shown in Table 1 above is merely exemplary, and the above Table 1 does not limit the embodiment of the present invention.
第三种、若第一节点为从节点,则第一节点获取直接接入和间接接入第一节点的所有工作站的信息,具体可以包括:步骤c1-c2。The third type, if the first node is a slave node, the first node obtains the information of all the workstations that directly access and indirectly access the first node, and specifically includes: steps c1-c2.
步骤c1:第一节点接收根节点发送的调度指示信息,调度指示信息用于指示所有直接接入和间接接入第一节点的工作站的信息。Step c1: The first node receives scheduling indication information sent by the root node, where the scheduling indication information is used to indicate information of all directly accessing and indirectly accessing workstations of the first node.
步骤c2:第一节点根据调度指示信息,获取所有直接接入和间接接入第一节点的工作站的信息。Step c2: The first node acquires information of all workstations that directly access and indirectly access the first node according to the scheduling indication information.
其中,当第一节点为从节点时,根节点可以按照上述第二种方法获取WiFi网络中所有直接接入和间接接入各节点的工作站的信息,从而根节点可以向第一节点发送调度指示信息,当第一节点接收到该调度指示信息时,第一节点可以根据该调度指示信息确定所有直接接入和间接接入第一节点的工作站的信息。When the first node is a slave node, the root node may obtain information about all workstations in the WiFi network that directly access and indirectly access each node according to the foregoing second method, so that the root node may send a scheduling indication to the first node. The information, when the first node receives the scheduling indication information, the first node may determine, according to the scheduling indication information, information of all workstations that directly access and indirectly access the first node.
另外,在WiFi网络中的从节点通过上述第三种方法获取接入第一节点的所有工作站的信息之前,该方法还可以包括:第一节点将直接接入第一节点的工作站的信息发送给根节点。In addition, before the slave node in the WiFi network acquires the information of all the workstations accessing the first node by using the foregoing third method, the method may further include: sending, by the first node, information about the workstation directly accessing the first node to Root node.
进一步的,在上述第一种方法的步骤a1中,直接接入和间接接入第二节点的所有工作站的信息可以携带在第一学习报文中,第一学习报文为第二节点发送的用于第一节点进行MAC地址学习的报文,该第一学习报文包括所有接入第二节点的工作站的信息。也即是,当第一节点获取间接接入第一节点的工作站的信息时,与第一节点直接级联的下级节点可以将其直接接入和间接接入的所有工作站的信息携带在学习报文中,以使第一节点通过该学习报文获取间接接入第一节点的工作站的信息。Further, in step a1 of the foregoing first method, the information of all the workstations that directly access and indirectly access the second node may be carried in the first learning packet, where the first learning packet is sent by the second node. A message for the first node to perform MAC address learning, where the first learning message includes information of all workstations accessing the second node. That is, when the first node acquires information of the workstation indirectly accessing the first node, the lower-level node directly cascading with the first node may carry information of all workstations that directly access and indirectly access it in the learning report. In the text, the first node obtains information of the workstation indirectly accessing the first node through the learning message.
其中,学习报文是指下级节点发送的用于上级节点进行MAC地址学习的报文,且学习报文携带的工作站的MAC地址可以作为工作站的标识。进一步的,学习报文携带的工作站的信息还可以包括以下信息中的至少一个:工作站标识、工作站优先级、工作站对应的服务集标识、工作站对应的服务集标识的优先级。The learning message is a packet sent by the lower-level node for the MAC address learning of the upper-level node, and the MAC address of the workstation carried in the learning packet can be used as the identifier of the workstation. Further, the information of the workstation carried in the learning message may further include at least one of the following information: a workstation identifier, a workstation priority, a service set identifier corresponding to the workstation, and a priority of the service set identifier corresponding to the workstation.
结合图3所示的WiFi网络,当学习报文携带的工作站的信息包括MAC地址和对应的SSID时,若第一节点为R,与R直接级联的下级节点为A和B,则R学习得到的A和B的MAC地址和SSID如下表2所示。若第一节点为B,与B直接级联的下 级节点为C,则B学习得到的C的MAC地址和SSID如下表3所示。若第一节点为C,与C直接级联的下级节点为D,则C学习得到的D的MAC地址和SSID如下表4所示。In conjunction with the WiFi network shown in FIG. 3, when the information of the workstation carried in the learning message includes the MAC address and the corresponding SSID, if the first node is R, and the lower nodes directly cascading with R are A and B, then R learning The obtained MAC addresses and SSIDs of A and B are as shown in Table 2 below. If the first node is B, it is directly cascaded with B. The level node is C, and the MAC address and SSID of the C learned by B are as shown in Table 3 below. If the first node is C and the lower node directly cascaded with C is D, the MAC address and SSID of the D learned by C are as shown in Table 4 below.
表2Table 2
Figure PCTCN2017079626-appb-000002
Figure PCTCN2017079626-appb-000002
表3table 3
Figure PCTCN2017079626-appb-000003
Figure PCTCN2017079626-appb-000003
表4Table 4
Figure PCTCN2017079626-appb-000004
Figure PCTCN2017079626-appb-000004
需要说明的是,上述表2~表4所示的第一节点学习到的各下级节点的MAC地址和SSID仅为示例性的,上述表2~表4并不对本发明实施例构成限定。It should be noted that the MAC addresses and SSIDs of the lower-level nodes learned by the first node shown in Tables 2 to 4 above are merely exemplary, and Tables 2 to 4 above are not limited to the embodiments of the present invention.
若第一节点的下级节点发送的学习报文携带的工作站的信息为接入第一节点的各下级节点的工作站的MAC地址,则上述表2~表4分别对应如下表5~表7。If the information of the workstation carried by the learning packet sent by the lower node of the first node is the MAC address of the workstation accessing the lower node of the first node, the above Tables 2 to 4 correspond to Tables 5 to 7 below.
表5table 5
Figure PCTCN2017079626-appb-000005
Figure PCTCN2017079626-appb-000005
Figure PCTCN2017079626-appb-000006
Figure PCTCN2017079626-appb-000006
表6Table 6
Figure PCTCN2017079626-appb-000007
Figure PCTCN2017079626-appb-000007
表7Table 7
Figure PCTCN2017079626-appb-000008
Figure PCTCN2017079626-appb-000008
需要说明的是,上述表5~表7所示的第一节点学习到的第一节点的各下级节点的MAC地址仅为示例性的,上述表5~表7并不对本发明实施例构成限定。It should be noted that the MAC addresses of the lower nodes of the first node learned by the first node shown in Tables 5 to 7 are merely exemplary, and the above Tables 5 to 7 do not limit the embodiment of the present invention. .
进一步的,当WiFi网络还包括第三节点,第一节点与第三节点直接级联且为第三节点的下级节点时,该方法还可以包括:第一节点向第三节点发送第二学习报文,第二学习报文携带接入第一节点的所有工作站的信息。Further, when the WiFi network further includes a third node, where the first node is directly cascaded with the third node and is a lower node of the third node, the method may further include: the first node sending the second learning report to the third node The second learning message carries information about all workstations accessing the first node.
具体的,当第三节点按照本发明实施例提供的方法进行调度时,第一节点作为第三节点直接级联的下级节点,可以向第三节点发送第二学习报文,第二学习报文携带接入第一节点的所有工作站的信息,以使第三节点根据上述方法获取所有接入第三节点的工作站的信息。Specifically, when the third node performs scheduling according to the method provided by the embodiment of the present invention, the first node, as a lower-level node that is directly cascaded by the third node, may send the second learning packet to the third node, where the second learning packet is sent. Carrying information of all workstations accessing the first node, so that the third node acquires information of all workstations accessing the third node according to the above method.
在本发明实施例中,第一节点可以通过上述几种不同的方法获取接入第一节点的工作站的信息,从而在分配空口资源比例时,可以结合所有直接接入和间接接入第一节点的工作站的信息,统一为接入第一节点的每个工作站分配空口资源比例,且根据直接接入和间接接入第二节点的所有工作站的空口资源比例的总和,为第二节点分配空口资源,从而保证直接接入第一节点的工作站和间接接入第一节点的工作站的空口资源比例的公平性和合理性,进而提高了第一节点的调度效果以及用户体验。In the embodiment of the present invention, the first node may obtain information about a workstation accessing the first node by using the foregoing different methods, so that when allocating the ratio of the air interface resources, all the direct access and the indirect access to the first node may be combined. The information of the workstations uniformly allocates the ratio of the air interface resources to each workstation accessing the first node, and allocates the air interface resources to the second node according to the sum of the ratios of the air interface resources of all the workstations that directly access and indirectly access the second node. Therefore, the fairness and rationality of the ratio of the air interface resources of the workstation directly accessing the first node and the workstation directly accessing the first node are ensured, thereby improving the scheduling effect and the user experience of the first node.
上述主要从各个网元之间交互的角度对本发明实施例提供的方案进行了介绍。可以理解的是,各个网元,例如第一节点、第二节点、第三节点和根节点等为了实现上述功能,其包含了执行各个功能相应的硬件结构和/或软件模块。本领域技术人员应该很容易意识到,结合本文中所公开的实施例描述的各示例的网元及算法步骤,本发明能够以硬件或硬件和计算机软件的结合形式来实现。某个功能究竟以硬件还是计算机软件驱动硬件的方式来执行,取决于技术方案的特定应用和设计约束条件。专业技术人员可以对每个特定的应用来使用不同方法来实现所描述的功能,但是这种实现不应认为超出本发明的范围。The solution provided by the embodiment of the present invention is mainly introduced from the perspective of interaction between the network elements. It can be understood that each network element, such as the first node, the second node, the third node, and the root node, etc., in order to implement the above functions, includes hardware structures and/or software modules corresponding to each function. Those skilled in the art will readily appreciate that the present invention can be implemented in a combination of hardware or hardware and computer software in conjunction with the network elements and algorithm steps of the various examples described in the embodiments disclosed herein. Whether a function is implemented in hardware or computer software to drive hardware depends on the specific application and design constraints of the solution. A person skilled in the art can use different methods for implementing the described functions for each particular application, but such implementation should not be considered to be beyond the scope of the present invention.
本发明实施例可以根据上述方法示例对第一节点进行功能模块的划分,例如,可以对应各个功能划分各个功能模块,也可以将两个或两个以上的功能集成在一个处理模块中。上述集成的模块既可以采用硬件的形式实现,也可以采用软件功能模块的形式实现。需要说明的是,本发明实施例中对模块的划分是示意性的,仅仅为一种逻辑 功能划分,实际实现时可以有另外的划分方式。The embodiment of the present invention may perform the division of the function module on the first node according to the foregoing method example. For example, each function module may be divided according to each function, or two or more functions may be integrated into one processing module. The above integrated modules can be implemented in the form of hardware or in the form of software functional modules. It should be noted that the division of the module in the embodiment of the present invention is schematic, and is only a logic. Functional division, there may be another way of dividing when actually implemented.
在采用对应各个功能划分各个功能模块的情况下,图8示出了上述实施例中所涉及的第一节点的一种可能的结构示意图,第一节点300包括:获取单元301和分配单元302。其中,获取单元301用于执行图5中的步骤201;分配单元302用于执行图5中的步骤202和步骤203。进一步的,第一节点300还可以包括发送单元303。其中,发送单元303用于将直接接入第一节点的工作站的信息发送给根节点,或者用于向第一节点的上级节点发送接入第一节点的所有工作站的信息,或者用于向第一节点的上级节点发送第二学习报文。上述方法实施例涉及的各步骤的所有相关内容均可以援引到对应功能模块的功能描述,在此不再赘述。FIG. 8 is a schematic diagram showing a possible structure of the first node involved in the foregoing embodiment. The first node 300 includes an obtaining unit 301 and an allocating unit 302. The obtaining unit 301 is configured to perform step 201 in FIG. 5; the allocating unit 302 is configured to perform step 202 and step 203 in FIG. 5. Further, the first node 300 may further include a sending unit 303. The sending unit 303 is configured to send information about a workstation directly accessing the first node to the root node, or send information to all the workstations of the first node to the upper node of the first node, or The upper node of a node sends a second learning message. All the related content of the steps involved in the foregoing method embodiments may be referred to the functional description of the corresponding functional modules, and details are not described herein again.
在硬件实现上,上述分配单元302可以为处理器,获取单元301可以为接收器,发送单元303可以为发送器,发送器与接收器可以构成通信接口。In the hardware implementation, the foregoing allocating unit 302 may be a processor, the obtaining unit 301 may be a receiver, the sending unit 303 may be a transmitter, and the transmitter and the receiver may constitute a communication interface.
图9所示,为本发明的实施例提供的上述实施例中所涉及的第一节点310的一种可能的逻辑结构示意图。第一节点310包括:处理器312、通信接口313、存储器311以及总线314。处理器312、通信接口313以及存储器311通过总线314相互连接。在发明的实施例中,处理器312用于对第一节点310的动作进行控制管理,例如,处理器312用于执行图5中的步骤202和步骤203,和/或用于本文所描述的技术的其他过程。通信接口313用于支持第一节点310进行通信。存储器311,用于存储第一节点310的程序代码和数据。FIG. 9 is a schematic diagram showing a possible logical structure of the first node 310 involved in the foregoing embodiment provided by the embodiment of the present invention. The first node 310 includes a processor 312, a communication interface 313, a memory 311, and a bus 314. The processor 312, the communication interface 313, and the memory 311 are connected to one another via a bus 314. In an embodiment of the invention, the processor 312 is configured to control manage the actions of the first node 310, for example, the processor 312 is configured to perform steps 202 and 203 in FIG. 5, and/or for use in the description herein. Other processes of technology. The communication interface 313 is for supporting the first node 310 to perform communication. The memory 311 is configured to store program codes and data of the first node 310.
其中,处理器312可以是中央处理器单元,通用处理器,数字信号处理器,专用集成电路,现场可编程门阵列或者其他可编程逻辑器件、晶体管逻辑器件、硬件部件或者其任意组合。其可以实现或执行结合本申请公开内容所描述的各种示例性的逻辑方框,模块和电路。所述处理器也可以是实现计算功能的组合,例如包含一个或多个微处理器组合,数字信号处理器和微处理器的组合等等。总线314可以是外设部件互连标准(Peripheral Component Interconnect,PCI)总线或扩展工业标准结构(Extended Industry Standard Architecture,EISA)总线等。所述总线可以分为地址总线、数据总线、控制总线等。为便于表示,图9中仅用一条粗线表示,但并不表示仅有一根总线或一种类型的总线。The processor 312 can be a central processing unit, a general purpose processor, a digital signal processor, an application specific integrated circuit, a field programmable gate array or other programmable logic device, a transistor logic device, a hardware component, or any combination thereof. It is possible to implement or carry out the various illustrative logical blocks, modules and circuits described in connection with the present disclosure. The processor may also be a combination of computing functions, for example, including one or more microprocessor combinations, combinations of digital signal processors and microprocessors, and the like. The bus 314 can be a Peripheral Component Interconnect (PCI) bus or an Extended Industry Standard Architecture (EISA) bus. The bus can be divided into an address bus, a data bus, a control bus, and the like. For ease of representation, only one thick line is shown in Figure 9, but it does not mean that there is only one bus or one type of bus.
在本发明的另一实施例中,还提供一种计算机可读存储介质,计算机可读存储介质中存储有计算机执行指令,当设备的至少一个处理器执行该计算机执行指令时,设备执行图5所示的调度方法。In another embodiment of the present invention, a computer readable storage medium is stored, where computer execution instructions are stored, and when at least one processor of the device executes the computer to execute an instruction, the device executes FIG. The scheduling method shown.
在本发明的另一实施例中,还提供一种计算机程序产品,该计算机程序产品包括计算机执行指令,该计算机执行指令存储在计算机可读存储介质中;设备的至少一个处理器可以从计算机可读存储介质读取该计算机执行指令,至少一个处理器执行该计算机执行指令使得设备实施图5所示的调度方法。In another embodiment of the present invention, a computer program product is provided, the computer program product comprising computer executable instructions stored in a computer readable storage medium; at least one processor of the device may be Reading the storage medium reads the computer execution instructions, and the at least one processor executing the computer execution instructions causes the apparatus to implement the scheduling method illustrated in FIG.
在本发明实施例中,第一节点通过获取所有直接接入和间接接入第一节点的工作站的信息,并统一分配每个工作站的空口资源比例,根据直接接入和间接接入第二节点的所有工作站的空口资源比例的总和,为第二节点分配空口资源,从而保证直接接入第一节点的工作站和间接接入第一节点的工作站的空口资源比例的公平性和合理性,进而提高了第一节点的调度效果以及用户体验。 In the embodiment of the present invention, the first node obtains the information of all the workstations that directly access and indirectly access the first node, and uniformly allocates the proportion of the air interface resources of each workstation, according to the direct access and the indirect access to the second node. The sum of the proportions of the air interface resources of all the workstations, allocates the air interface resources to the second node, thereby ensuring the fairness and rationality of the ratio of the air interface resources of the workstation directly accessing the first node and the workstation directly accessing the first node, thereby improving The scheduling effect of the first node and the user experience.
最后应说明的是:以上所述,仅为本申请的具体实施方式,但本申请的保护范围并不局限于此,任何在本申请揭露的技术范围内的变化或替换,都应涵盖在本申请的保护范围之内。因此,本申请的保护范围应以所述权利要求的保护范围为准。 Finally, it should be noted that the above description is only a specific embodiment of the present application, but the scope of protection of the present application is not limited thereto, and any changes or substitutions within the technical scope disclosed in the present application should be covered in the present application. Within the scope of protection of the application. Therefore, the scope of protection of the present application should be determined by the scope of the claims.

Claims (18)

  1. 一种调度方法,其特征在于,应用于WiFi网络中,所述WiFi网络包括第一节点、以及与所述第一节点直接级联的第二节点,所述第二节点为所述第一节点的下级节点,所述方法包括:A scheduling method, which is applied to a WiFi network, the WiFi network includes a first node, and a second node directly cascading with the first node, where the second node is the first node Lower node, the method includes:
    所述第一节点获取所有直接接入和间接接入所述第一节点的工作站的信息;The first node acquires information of all workstations that directly access and indirectly access the first node;
    所述第一节点根据接入所述第一节点的所有工作站的信息,统一分配每个工作站的空口资源比例;The first node uniformly allocates the proportion of air interface resources of each workstation according to information of all workstations that access the first node;
    所述第一节点根据直接接入和间接接入所述第二节点的所有工作站的空口资源比例的总和,为所述第二节点分配空口资源。The first node allocates air interface resources to the second node according to a sum of air interface resource proportions of all workstations that directly access and indirectly access the second node.
  2. 根据权利要求1所述的方法,其特征在于,所述第一节点获取所有直接接入和间接接入所述第一节点的工作站的信息,包括:The method according to claim 1, wherein the first node acquires information of all workstations that directly access and indirectly access the first node, including:
    所述第一节点接收所述第二节点发送的所有直接接入和间接接入所述第二节点的工作站的信息。The first node receives information of all direct access and indirect access to the workstation of the second node sent by the second node.
  3. 根据权利要求2所述的方法,其特征在于,所述直接接入和间接接入所述第二节点的所有工作站的信息携带在第一学习报文中,所述第一学习报文为所述第二节点发送的用于所述第一节点进行MAC地址学习的报文。The method according to claim 2, wherein the information of all workstations that directly access and indirectly access the second node is carried in a first learning message, where the first learning message is And the packet sent by the second node for performing MAC address learning by the first node.
  4. 根据权利要求1所述的方法,其特征在于,所述第一节点为所述WiFi网络中的根节点或者从节点。The method according to claim 1, wherein the first node is a root node or a slave node in the WiFi network.
  5. 根据权利要求4所述的方法,其特征在于,若所述第一节点为所述根节点,所述第一节点获取所有直接接入和间接接入所述第一节点的工作站的信息,包括:The method according to claim 4, wherein if the first node is the root node, the first node acquires information of all workstations that directly access and indirectly access the first node, including :
    所述第一节点接收所述WiFi网络中每个节点发送的直接接入所述节点的工作站的信息;Receiving, by the first node, information about a workstation directly connected to the node sent by each node in the WiFi network;
    所述第一节点汇总直接接入每个节点的工作站的信息,以获取所有直接接入和间接接入所述第一节点的工作站的信息。The first node aggregates information of workstations directly accessing each node to obtain information of all workstations that directly access and indirectly access the first node.
  6. 根据权利要求4所述的方法,其特征在于,若所述第一节点为所述从节点,所述第一节点获取所有直接接入和间接接入所述第一节点的工作站的信息,包括:The method according to claim 4, wherein if the first node is the slave node, the first node acquires information of all workstations that directly access and indirectly access the first node, including :
    所述第一节点接收所述根节点发送的调度指示信息,所述调度指示信息用于指示所有直接接入和间接接入所述第一节点的工作站的信息;Receiving, by the first node, scheduling indication information sent by the root node, where the scheduling indication information is used to indicate information of all directly accessing and indirectly accessing workstations of the first node;
    所述第一节点根据所述调度指示信息,获取所有直接接入和间接接入所述第一节点的工作站的信息。And the first node acquires, according to the scheduling indication information, information about all workstations that directly access and indirectly access the first node.
  7. 根据权利要求4所述的方法,其特征在于,若所述第一节点为所述从节点,所述方法还包括:The method according to claim 4, wherein if the first node is the slave node, the method further comprises:
    所述第一节点将直接接入所述第一节点的工作站的信息发送给所述根节点;或者,Sending, by the first node, information of a workstation directly accessing the first node to the root node; or
    所述第一节点向所述第一节点的上级节点发送第二学习报文,所述第二学习报文为所述第一节点发送的用于所述第一节点的上级节点进行MAC地址学习的报文。The first node sends a second learning message to the upper node of the first node, where the second learning message is a MAC address learning for the upper node sent by the first node for the first node. Message.
  8. 根据权利要求1-7任一项所述的方法,其特征在于,所述工作站的信息至少包括工作站标识。The method of any of claims 1-7, wherein the information of the workstation comprises at least a workstation identification.
  9. 根据权利要求8所述的方法,其特征在于,所述工作站的信息还包括以下信息中的至少一个:工作站优先级、工作站对应的服务集标识、工作站对应的服务集标识 的优先级。The method according to claim 8, wherein the information of the workstation further comprises at least one of the following: a workstation priority, a service set identifier corresponding to the workstation, and a service set identifier corresponding to the workstation. Priority.
  10. 一种节点,其特征在于,应用于WiFi网络中,所述节点为第一节点,所述WiFi网络还包括与所述第一节点直接级联的第二节点,所述第二节点为所述第一节点的下级节点,所述第一节点包括:A node, which is applied to a WiFi network, the node is a first node, the WiFi network further includes a second node directly cascading with the first node, and the second node is the a lower node of the first node, the first node comprising:
    获取单元,用于获取所有直接接入和间接接入所述第一节点的工作站的信息;An obtaining unit, configured to acquire information about all workstations that directly access and indirectly access the first node;
    分配单元,用于根据接入所述第一节点的所有工作站的信息,统一分配每个工作站的空口资源比例;An allocating unit, configured to uniformly allocate an air interface resource ratio of each workstation according to information of all workstations accessing the first node;
    所述分配单元,还用于根据直接接入和间接接入所述第二节点的所有工作站的空口资源比例的总和,为所述第二节点分配空口资源。The allocating unit is further configured to allocate an air interface resource to the second node according to a sum of air interface resource proportions of all workstations that directly access and indirectly access the second node.
  11. 根据权利要求10所述的节点,其特征在于,所述获取单元具体用于:The node according to claim 10, wherein the obtaining unit is specifically configured to:
    接收所述第二节点发送的所有直接接入和间接接入所述第二节点的工作站的信息。Receiving information of all direct access and indirect access to the workstation of the second node sent by the second node.
  12. 根据权利要求11所述的节点,其特征在于,所述直接接入和间接接入所述第二节点的所有工作站的信息携带在第一学习报文中,所述第一学习报文为所述第二节点发送的用于所述第一节点进行MAC地址学习的报文。The node according to claim 11, wherein the information of all the workstations that directly access and indirectly access the second node is carried in a first learning message, where the first learning message is And the packet sent by the second node for performing MAC address learning by the first node.
  13. 根据权利要求10所述的节点,其特征在于,所述第一节点为所述WiFi网络中的根节点或者从节点。The node according to claim 10, wherein the first node is a root node or a slave node in the WiFi network.
  14. 根据权利要求13所述的节点,其特征在于,若所述第一节点为所述根节点,所述获取单元具体用于:The node according to claim 13, wherein if the first node is the root node, the obtaining unit is specifically configured to:
    接收所述WiFi网络中每个节点发送的直接接入每个节点的工作站的信息;Receiving information of a workstation directly connected to each node sent by each node in the WiFi network;
    汇总直接接入每个节点的工作站的信息,以获取所有直接接入和间接接入所述第一节点的工作站的信息。The information of the workstations directly accessing each node is summarized to obtain information of all workstations that directly access and indirectly access the first node.
  15. 根据权利要求13所述的节点,其特征在于,若所述第一节点为所述从节点,所述获取单元具体用于:The node according to claim 13, wherein if the first node is the slave node, the acquiring unit is specifically configured to:
    接收所述根节点发送的调度指示信息,所述调度指示信息用于指示所有直接接入和间接接入所述第一节点的工作站的信息;Receiving, by the root node, scheduling indication information, where the scheduling indication information is used to indicate information of all directly accessing and indirectly accessing workstations of the first node;
    根据所述调度指示信息,获取所有直接接入和间接接入所述第一节点的工作站的信息。Obtaining, according to the scheduling indication information, information of all workstations that directly access and indirectly access the first node.
  16. 根据权利要求13所述的节点,其特征在于,若所述第一节点为所述从节点,所述第一节点还包括:The node according to claim 13, wherein if the first node is the slave node, the first node further comprises:
    发送单元,用于将直接接入所述第一节点的工作站的信息发送给所述根节点;或者,a sending unit, configured to send information of a workstation directly accessing the first node to the root node; or
    所述发送单元,用于向所述第一节点的上级节点发送第二学习报文,所述第二学习报文为所述第一节点发送的用于所述第一节点的上级节点进行MAC地址学习的报文。The sending unit is configured to send a second learning message to the upper node of the first node, where the second learning message is a MAC address sent by the first node for the first node Address learning message.
  17. 一种节点,其特征在于,所述节点包括存储器、处理器、总线和通信接口;其中,所述存储器中存储代码和数据,所述处理器与所述存储器通过所述总线连接,所述处理器运行存储器中的代码使得所述节点执行上述权利要求1-9任一项所述的调度方法。 A node, wherein the node comprises a memory, a processor, a bus, and a communication interface; wherein the memory stores code and data, and the processor is connected to the memory through the bus, the processing The code in the memory running causes the node to perform the scheduling method of any of the preceding claims 1-9.
  18. 一种系统,其特征在于,所述系统包括第一节点、以及与所述第一节点直接级联的第二节点,所述第二节点为所述第一节点的下级节点;其中,所述第一节点为上述权利要求10-17任一项所述的节点。 A system, comprising: a first node, and a second node directly cascading with the first node, the second node being a lower node of the first node; wherein The first node is the node of any of the preceding claims 10-17.
PCT/CN2017/079626 2017-04-06 2017-04-06 Method, device and system for scheduling WO2018184176A1 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
PCT/CN2017/079626 WO2018184176A1 (en) 2017-04-06 2017-04-06 Method, device and system for scheduling
CN201780063020.5A CN109804693B (en) 2017-04-06 2017-04-06 Scheduling method, device and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2017/079626 WO2018184176A1 (en) 2017-04-06 2017-04-06 Method, device and system for scheduling

Publications (1)

Publication Number Publication Date
WO2018184176A1 true WO2018184176A1 (en) 2018-10-11

Family

ID=63712976

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2017/079626 WO2018184176A1 (en) 2017-04-06 2017-04-06 Method, device and system for scheduling

Country Status (2)

Country Link
CN (1) CN109804693B (en)
WO (1) WO2018184176A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111010713A (en) * 2019-12-17 2020-04-14 烽火通信科技股份有限公司 Data transmission method and system

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2014179722A1 (en) * 2013-05-02 2014-11-06 Interdigital Patent Holdings, Inc. Method for selecting an entity based on a total link quality
CN104185188A (en) * 2013-05-27 2014-12-03 华为技术有限公司 Interference processing method and equipment
CN105359609A (en) * 2013-05-31 2016-02-24 诺基亚通信公司 Method and apparatus for configuring scheduling periods based on information about the mode of operation
CN105554093A (en) * 2015-12-10 2016-05-04 广州蓝杰网络科技有限公司 Cloud-based link method and link system between wireless controller (AC) and wireless hotspot

Family Cites Families (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20060251013A1 (en) * 2005-05-04 2006-11-09 Interdigital Technology Corporation Resource allocation in multi-access point wireless networks
CN101282569B (en) * 2007-04-03 2012-11-14 中兴通讯股份有限公司 Self-adaption management method for wireless transmission network containing base station and wireless relay station
US7907562B2 (en) * 2007-06-20 2011-03-15 Microsoft Corporation Managing dense wireless access point infrastructures in wireless local area networks
KR100891757B1 (en) * 2007-07-26 2009-04-07 엘지노텔 주식회사 Method and apparatus for providing neighbor Appointment (AP) information in a wireless LAN system
WO2014032733A1 (en) * 2012-08-31 2014-03-06 Huawei Technologies Co., Ltd. Method for energy saving in a communication system
WO2015039311A1 (en) * 2013-09-18 2015-03-26 华为技术有限公司 Method and apparatus for establishing interface between access points
US10264510B2 (en) * 2013-11-06 2019-04-16 Kt Corporation Method and device for transmitting and receiving data in wireless LAN system
US9591564B2 (en) * 2014-03-31 2017-03-07 Huawei Technologies Co., Ltd. Methods for dynamic traffic offloading and transmit point (TP) muting for energy efficiency in virtual radio access network (V-RAN)
CN114158121B (en) * 2015-04-28 2025-03-07 交互数字专利控股公司 Method, apparatus and process for CSMA and spatial reuse in sub-channelized WLAN
US20170079044A1 (en) * 2015-09-10 2017-03-16 Qualcomm Incorporated Communication resource allocation
CN106060963B (en) * 2016-06-28 2020-03-06 新华三技术有限公司 Message processing method and device

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2014179722A1 (en) * 2013-05-02 2014-11-06 Interdigital Patent Holdings, Inc. Method for selecting an entity based on a total link quality
CN104185188A (en) * 2013-05-27 2014-12-03 华为技术有限公司 Interference processing method and equipment
CN105359609A (en) * 2013-05-31 2016-02-24 诺基亚通信公司 Method and apparatus for configuring scheduling periods based on information about the mode of operation
CN105554093A (en) * 2015-12-10 2016-05-04 广州蓝杰网络科技有限公司 Cloud-based link method and link system between wireless controller (AC) and wireless hotspot

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111010713A (en) * 2019-12-17 2020-04-14 烽火通信科技股份有限公司 Data transmission method and system
CN111010713B (en) * 2019-12-17 2022-09-27 烽火通信科技股份有限公司 Data transmission method and system

Also Published As

Publication number Publication date
CN109804693B (en) 2021-08-13
CN109804693A (en) 2019-05-24

Similar Documents

Publication Publication Date Title
US11909652B2 (en) Method, device and storage medium for quality of service (QoS) flow management of time sensitive data for transmission of ethernet packet filter sets
US11894992B2 (en) Network component management method and network device
RU2520380C2 (en) Method and system for dynamic service coordination with homogeneous protective control plane in wireless network
WO2020073903A1 (en) Latency-sensitive network communication method and apparatus thereof
US12063594B2 (en) Method, device, and system for deploying network slice
WO2021063407A1 (en) Configuration method, apparatus, and system for radio resource allocation policy
WO2018176471A1 (en) Channel selection method and apparatus
WO2014090006A1 (en) Information processing method, access point, and station
US9467340B2 (en) Logical channel establishing method and system, edge virtual bridging station and bridge
WO2020191684A1 (en) Method and device for handling priorities of qos rules, and storage medium
CN117676916A (en) Communication resource management method, device, system and storage medium
WO2018184176A1 (en) Method, device and system for scheduling
WO2024016801A1 (en) Base station computing power arrangement method and apparatus, electronic device and storage medium
WO2016078325A1 (en) Data transmission method and device
CN108934058B (en) Communication method and device
WO2019222999A1 (en) Access control method and device, and readable storage medium
CN112203354B (en) Service processing method and device
CN113115369B (en) Resource allocation method and device for network slices
CN112492629B (en) Network slice deployment method, slice management platform and network side equipment
WO2018049626A1 (en) Service processing method, and related device and system
WO2021135485A1 (en) Access control method, apparatus and system
EP3370368B1 (en) Communication system, networking method and controller for application-driven network
CN115119316B (en) Resource allocation method, device and readable storage medium
CN115604723B (en) Resource load determining method, device and storage medium
CN113938956B (en) Resource allocation method, device and computer readable storage medium

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 17904847

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 17904847

Country of ref document: EP

Kind code of ref document: A1

点击 这是indexloc提供的php浏览器服务,不要输入任何密码和下载