WO2022237458A1 - 一种资源管理方法及设备 - Google Patents

一种资源管理方法及设备 Download PDF

Info

Publication number
WO2022237458A1
WO2022237458A1 PCT/CN2022/087394 CN2022087394W WO2022237458A1 WO 2022237458 A1 WO2022237458 A1 WO 2022237458A1 CN 2022087394 W CN2022087394 W CN 2022087394W WO 2022237458 A1 WO2022237458 A1 WO 2022237458A1
Authority
WO
WIPO (PCT)
Prior art keywords
channel
island
interference
information
devices
Prior art date
Application number
PCT/CN2022/087394
Other languages
English (en)
French (fr)
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 US18/560,796 priority Critical patent/US20240259119A1/en
Priority to EP22806428.3A priority patent/EP4322670A4/en
Publication of WO2022237458A1 publication Critical patent/WO2022237458A1/zh

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W72/00Local resource management
    • H04W72/50Allocation or scheduling criteria for wireless resources
    • H04W72/54Allocation or scheduling criteria for wireless resources based on quality criteria
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W74/00Wireless channel access
    • H04W74/08Non-scheduled access, e.g. ALOHA
    • H04W74/0808Non-scheduled access, e.g. ALOHA using carrier sensing, e.g. carrier sense multiple access [CSMA]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04BTRANSMISSION
    • H04B17/00Monitoring; Testing
    • H04B17/30Monitoring; Testing of propagation channels
    • H04B17/309Measuring or estimating channel quality parameters
    • H04B17/345Interference values
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W16/00Network planning, e.g. coverage or traffic planning tools; Network deployment, e.g. resource partitioning or cells structures
    • H04W16/14Spectrum sharing arrangements between different networks
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W72/00Local resource management
    • H04W72/50Allocation or scheduling criteria for wireless resources
    • H04W72/54Allocation or scheduling criteria for wireless resources based on quality criteria
    • H04W72/541Allocation or scheduling criteria for wireless resources based on quality criteria using the level of interference
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W72/00Local resource management
    • H04W72/50Allocation or scheduling criteria for wireless resources
    • H04W72/56Allocation or scheduling criteria for wireless resources based on priority criteria
    • H04W72/563Allocation or scheduling criteria for wireless resources based on priority criteria of the wireless resources
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W84/00Network topologies
    • H04W84/18Self-organising networks, e.g. ad-hoc networks or sensor networks
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W84/00Network topologies
    • H04W84/02Hierarchically pre-organised networks, e.g. paging networks, cellular networks, WLAN [Wireless Local Area Network] or WLL [Wireless Local Loop]
    • H04W84/10Small scale networks; Flat hierarchical networks

Definitions

  • the present application relates to the field of communication technologies, and in particular to a resource management method and device.
  • WiFi wireless fidelity
  • CSMA/CA carrier sense multiple access with collision avoidance
  • WiFi uses unlicensed frequency band networking and the CSMA channel competition mechanism
  • the channel interference in the network is relatively serious.
  • the devices have many links.
  • the probability of channel interference between multiple links is greater, which limits the overall throughput of the network. For this, there is no corresponding anti-jamming solution.
  • the present application provides a resource management method and device, which are used for unified management of air interface resources of a system, and reduce mutual interference between links in the system.
  • a method for resource management of a distributed system is provided.
  • the method can be used in a domain including a master device and multiple slave devices, and multiple devices connected to each other in the domain form an island.
  • This method is applicable to any device in the domain.
  • the following takes the method executed by the master device as an example.
  • the method includes:
  • the master device receives channel score information from each slave device, and generates first radio resource management (radio resource management, RRM) information according to the received channel score information and the channel score information of the master device, and sends the first radio resource management (RRM) information to each slave device - RRM information.
  • RRM radio resource management
  • each channel score information is used to indicate the degree of interference of each channel measured by the corresponding device.
  • the first RRM information is used to indicate the priority ranking of each channel, wherein the higher the priority of the channel, the lower the interference degree of the channel.
  • the allocated channels are scheduled by acquiring the channel interference score and service type of each device in the system, combining the capacity of the channel and the interference situation of the channel. This allows more device links to work on channels with less interference, reducing mutual interference between multiple links.
  • the master device before the master device generates the first RRM information according to the received channel score information and the channel score information of the master device, the master device measures each channel to obtain the channel score information of the master device.
  • the master device generates first RRM information according to the received channel score information and the channel score information of the master device, including:
  • the master device combines channel interference information from multiple slave devices to obtain target channel interference information, and generates first RRM information according to the target interference information.
  • the target interference information includes a channel interference score and/or an interference duty cycle of each channel.
  • the master device may initially sort the priority of each channel according to the channel interference score and/or interference duty cycle of each device.
  • the master device updates the first RRM information according to one or more of the following factors: channel interference score of each channel, interference duty cycle of each channel, service priority of the island corresponding to each channel, The remaining rate capacity of each channel, the total rate capacity of each channel, and the number of devices included in each island.
  • the actual service requirements of the devices in each island are different, which will also affect the channel scheduling; or the number of devices in each island will also affect the channel scheduling; or the remaining rate capacity of the channels in each island is different, It will also affect channel scheduling. Therefore, in this solution, in addition to considering the interference score of the channel, the service priority of the island corresponding to each channel, the remaining rate capacity of each channel, the total rate capacity of each channel, and the number of devices included in each island can also be integrated. Prioritize individual channels. In this way, more accurate prioritization can be obtained, so as to ensure that the channels allocated to each island have less interference as much as possible, and ensure that the service of each island is not affected as much as possible.
  • the method further includes:
  • the main device determines that the remaining rate capacity of the first channel to be allocated to the first island does not meet the service requirements of the first island, lowers the priority of the first channel by one level, and assigns the first
  • the RRM information is updated to the second RRM information.
  • the remaining rate capacity of the channels to be allocated may be considered comprehensively.
  • the remaining rate capacity of the channel to be allocated is insufficient to meet the current service demand, in order to reduce the service impact on the first island, a channel with greater interference may be allocated. That is, the priority of the channel to be allocated is lowered by one level, and the RRM information is updated. In this way, the RRM information is dynamically adjusted according to the remaining rate capacity of each channel and the actual service requirements of each island, so as to allocate channels to each island more reasonably.
  • the method further includes: if the master device determines that the master device meets the channel switching condition, sending a first notification frame to other devices on the island where the master device is located, where the first notification frame is used to notify all The other devices mentioned above switch to the alternate channel.
  • the channel switching condition includes one or more of the following: service freeze, service delay exceeding a second preset threshold, and the second channel that the main device is currently working on is busy. In this scheme, any device detects that channel interference affects the service of the device, and can request other devices in the system to switch to alternative channels to improve anti-interference performance and system capacity as much as possible.
  • the method further includes: if the master device determines that the second slave device and the third slave device included in the second island work on multiple channels, the master device sends the first A notification frame, the first notification frame is used to instruct the third slave device to switch to the working channel of the second slave device.
  • the master device discovers that different devices in an island work on multiple channels through the connection information of each device in the system, and the master device can send a notification frame for channel switching to one or some devices in the island to Ensure that the devices on the island work on the same channel. In this way, some slave devices may switch to channels of other islands because they have not obtained the second RRM information.
  • the method further includes: if the master device determines that the third island and the fourth island work on the third channel, the master device sends a second notification frame to the fourth island, and the second notification frame It is used to instruct the fourth island to switch from the third channel to the fourth channel.
  • the master device determines that multiple islands switch to the same channel, or a channel with less interference, and the master device forces each slave device to switch the current channel.
  • a resource management method of a distributed system which can be used in a domain including a master device and multiple slave devices, and multiple devices connected to each other in the domain form an island.
  • This method is applicable to any device in the domain.
  • the following takes the method executed by the first slave device as an example. The method includes:
  • the first slave device sends channel score information to the master device, and receives the first RRM information from the master device. After determining that the degree of interference of the first channel currently working is greater than the first preset threshold, the first slave device receives the first RRM information according to the first RRM information. The channel switches to the second channel.
  • the channel score information is used to indicate the degree of interference of each channel measured by the first slave device; the higher the priority of the channel, the lower the degree of interference of the channel; the degree of interference of the first channel is greater than that of the second channel. level of interference.
  • the first slave device sends channel score information to the master device, including:
  • the first slave device sends channel score information to the master device when the first duration of the reporting interference timer expires.
  • the reporting interference timer includes multiple durations, and each duration is used for some slave devices to report their respective channel interference information.
  • the reporting interference timer includes multiple durations, and each duration is used for some slave devices to report their respective channel interference information, so that the information interference information reported by each slave device can be staggered as much as possible to ensure transmission quality.
  • the difference between the interference level of the first channel and the interference level of the second channel is greater than or equal to a second preset threshold.
  • the slave device switches to the channel to be allocated only after determining that the degree of interference between the currently working channel and the channel to be allocated is relatively large, so as to avoid unnecessary switching procedures.
  • the method further includes:
  • the first slave device determines that the first slave device meets the channel switching condition, and sends a first notification frame to other devices on the island where the first slave device is located, where the first notification frame is used to notify the other devices to switch to an alternative channel.
  • the channel switching condition includes one or more of the following: service freeze, service delay exceeding a second preset threshold, and the second channel is busy.
  • the method further includes:
  • the first slave device receives a second notification frame from the master device, where the second notification frame is used to instruct the first slave device to switch to a working channel of the second slave device.
  • the first slave device and the second slave device belong to the same island, and the first slave device and the second slave device work on different channels.
  • the method further includes:
  • the first slave device receives a third notification frame from the master device, where the third notification frame is used to instruct the first slave device to switch from the fourth channel to the fifth channel.
  • the fourth channel is a channel on which multiple islands work, and the first slave device belongs to one of the multiple islands.
  • an electronic device in a third aspect, includes a display screen, one or more processors, a memory, a transceiver, and one or more programs.
  • the one or more programs are stored in the memory, the one or more programs include instructions, and when the instructions are executed by the electronic device, the electronic device executes the above first aspect or The method provided by the master device in any possible implementation manner, or causing the electronic device to execute the method provided by the first slave device in the second aspect above or any possible implementation manner.
  • the transceiver can be used to receive channel score information from each slave device, and each channel score information is used to indicate the degree of interference of each channel measured by the corresponding device;
  • the channel score information of the device generates first RRM information, and the first RRM information is used to indicate the priority ordering of each channel, wherein, the higher the priority of the channel, the lower the interference degree of the channel; the transceiver is also used to send each channel The slave device sends first RRM information.
  • the processor is specifically configured to:
  • target interference information includes channel interference scores and/or interference duty cycles of each channel
  • Each channel is prioritized according to the target channel interference information and one or more of the following factors, and the first RRM information is generated according to the sorted channels: channel interference score of each channel, interference duty cycle of each channel, each The service priority of the island corresponding to the channel, the remaining rate capacity of each channel, the total rate capacity of each channel, and the number of devices included in each island.
  • the processor is further configured to: according to the service priority of the first island, determine that the remaining rate capacity of the first channel to be allocated to the first island does not meet the service requirements of the first island, Decrease the priority of the first channel by one level, and update the first RRM information to the second RRM information.
  • the processor is further configured to determine that the master device meets the channel switching condition; the transceiver is further configured to send a first notification frame to other devices on the island where the master device is located, and the first notification The frame is used to notify said other devices to switch to an alternate channel.
  • the channel switching condition includes one or more of the following: service freeze, service delay exceeding a second preset threshold, and the second channel that the main device is currently working on is busy.
  • the processor is also used to determine that the second slave device and the third slave device included in the second island work on multiple channels; the transceiver is also used to send the second slave device to the third slave device A first notification frame, where the first notification frame is used to instruct the third slave device to switch to the working channel of the second slave device.
  • the processor is further configured to determine that the third island and the fourth island work on the third channel; the transceiver is further configured to send a second notification frame to the fourth island, the second The notification frame is used to instruct the fourth island to switch from the third channel to the fourth channel.
  • the transceiver is configured to send channel score information to the master device and receive first RRM information from the master device; the processor is configured to determine that the degree of interference of the first channel that is currently working is greater than a first preset threshold, according to The first RRM information is switched from the first channel to the second channel.
  • the channel score information is used to indicate the degree of interference of each channel measured by the first slave device; the higher the priority of the channel, the lower the degree of interference of the channel; the degree of interference of the first channel is greater than that of the second channel. level of interference.
  • the transceiver is specifically used for:
  • the channel score information is sent to the master device.
  • the reporting interference timer includes multiple durations, and each duration is used for some slave devices to report their respective channel interference information.
  • the difference between the interference level of the first channel and the interference level of the second channel is greater than or equal to a second preset threshold.
  • the processor is further configured to determine that the first slave device meets the channel switching condition; the transceiver is configured to send a first notification frame to other devices on the island where the first slave device is located, and the first slave device A notification frame is used to notify the other devices to switch to an alternative channel.
  • the channel switching condition includes one or more of the following: service freeze, service delay exceeding a second preset threshold, and the second channel is busy.
  • the transceiver is also used for:
  • a second notification frame from the master device is received, where the second notification frame is used to instruct the first slave device to switch to the working channel of the second slave device.
  • the first slave device and the second slave device belong to the same island, and the first slave device and the second slave device work on different channels.
  • the transceiver is also used for:
  • the third notification frame is used to instruct the first slave device to switch from the fourth channel to the fifth channel.
  • the fourth channel is a channel on which multiple islands work, and the first slave device belongs to one of the multiple islands.
  • an electronic device in a fourth aspect, includes a module/unit for executing the method executed by the master device in the first aspect or any possible implementation manner; or, the electronic device includes a A module/unit for performing the method performed by the first slave device in the second aspect or any possible implementation manner.
  • a system includes a first device, a second device, and a third device.
  • the system may also include other devices.
  • the devices included in the system can implement distributed services, such as multiple screen collaboration.
  • Each device can be realized by the electronic device of the third aspect or the electronic device of the fourth aspect.
  • a chip the chip includes a processor and an interface, the interface is used to communicate with the processor and receive information from other devices; the processor is used to implement the above first aspect and the first aspect The method described in any possible implementation manner of the second aspect, or the processor is configured to execute the method described in the second aspect and any possible implementation manner of the second aspect.
  • a computer-readable storage medium is provided, the computer-readable storage medium is used to store a computer program, and when the computer program is run on a computer, the computer is made to perform one or more of the following methods : the method executed by the master device in the above first aspect or any possible implementation manner, and the method executed by the first slave device in the above second aspect or any one possible implementation manner.
  • a computer program product containing instructions, the computer program product is used to store a computer program, and when the computer program is run on a computer, the computer is made to perform one or more of the following methods: The method executed by the master device in the above first aspect or any possible implementation manner, and the method executed by the first slave device in the above second aspect or any one possible implementation manner.
  • FIG. 1 is a schematic diagram of a network architecture of a distributed system
  • Fig. 2 is a schematic diagram of a network architecture of another distributed system
  • FIG. 3 is a schematic structural view of an electronic device
  • FIG. 4 is a schematic diagram of a network architecture of a distributed system provided by an embodiment of the present application.
  • FIG. 5 is a schematic flowchart of a resource management method provided in an embodiment of the present application.
  • FIG. 6 is a schematic diagram of a network architecture of an exemplary distributed system provided by an embodiment of the present application.
  • FIG. 7 is a schematic flow diagram of the master device generating RRM information according to the channel interference information of each slave device provided by the embodiment of the present application;
  • FIG. 8 is a schematic diagram of a master device merging channel interference information of each slave device provided by an embodiment of the present application.
  • FIG. 9 is a schematic diagram of a network architecture of a distributed system provided by an embodiment of the present application.
  • FIG. 10 is a schematic diagram of the service types of each island in FIG. 9 and the rate requirements of the services of each island;
  • FIG. 11 is a schematic diagram of the channel switching sequence of each device provided in the embodiment of the present application.
  • FIG. 12 is a schematic structural diagram of an action frame for reporting channel interference information from a device according to an embodiment of the present application.
  • FIG. 13 is a schematic structural diagram of an action frame for channel switching provided by an embodiment of the present application.
  • FIG. 14 is a schematic structural diagram of a beacon frame provided by an embodiment of the present application.
  • FIG. 15 is a schematic structural diagram of an electronic device provided by an embodiment of the present application.
  • a multi-screen collaboration function (or called a multi-device collaboration function) is provided, thereby supporting applications and services for multi-device collaboration, such as multi-screen collaboration and information sharing.
  • device 1 can project a screen to device 2, so that files on device 1 can be opened on device 2.
  • a mobile phone and a personal computer (PC) perform multi-screen collaboration, a mirror image of the mobile phone will be displayed on the display screen of the PC, and the mirror image of the mobile phone displayed on the PC can also be understood as a screen projection interface.
  • the user operates on the screen projection interface on the PC, for example, the user chooses to open file A, then the PC can open file A, but actually file A is a file in the mobile phone.
  • a PC has a larger display area, and the user can improve the user's viewing effect by viewing the file on the PC.
  • distributed services applications or services that rely on the cooperative work of multiple devices are collectively referred to as distributed services.
  • distributed services multiple terminal devices such as mobile phones, tablets, PCs, and display screens need to be connected together to realize a one-to-one or one-to-many connection or even a many-to-many connection system between multiple devices. That is, multiple devices are interconnected, so that distributed services can run collaboratively in multiple terminal devices.
  • a one-to-one connection or a one-to-many connection system may be formed between multiple devices.
  • the Wireless Fidelity (Wireless Fidelity, WiFi) Alliance WI-FI alliance, WFA
  • the distributed system defined by the Wireless Fidelity Peer-to-Peer (Wireless Fidelity Peer-to-Peer, WiFi P2P) protocol is established.
  • the WiFi P2P protocol is a point-to-point connection technology that enables multiple WiFi devices to form a network (Network) without an access point (also known as an access point, AP).
  • the network can also be called a P2P Network, or a P2P group (Group), and multiple WiFi devices in the network can communicate with each other.
  • the general principle of the WiFi P2P protocol is: a transmission control protocol (transmission control protocol, TCP)/Internet protocol (internet protocol, IP) link can be directly established between two workstations (also known as stations) (Station, STA).
  • TCP transmission control protocol
  • IP Internet protocol
  • STA Internet protocol
  • GO group owner
  • the other of the two STAs can be called a group User (group client, GC). That is, GC is similar to STA, and GO is similar to AP, so similar to STA connecting to AP, GC can also connect to GO.
  • a GO in a P2P Network or P2P Group can correspond to one GC, or can correspond to multiple GCs, that is, there can be a one-to-one relationship between GOs and GCs, or a one-to-many relationship.
  • WiFi P2P protocol is developed based on the 802.11 protocol framework and belongs to a central network communication structure. That is, WiFi P2P requires that each terminal device must be configured with a role, such as GO or GC. As a central node, GO can communicate with any GC node connected to the GO, but GO cannot communicate with GO or GC with GC.
  • FIG. 1 is a schematic diagram of a network architecture of a distributed system.
  • FIG. 1 includes three terminal devices, and these three terminal devices are respectively a terminal device 101, a terminal device 102 and a terminal device 103 located in a network.
  • the terminal device 101 and the terminal device 102 are mobile phones
  • the terminal device 103 is a PAD as an example.
  • the terminal device 103 is a GO, and the terminal device 101 and the terminal device 102 are both GCs.
  • the terminal device 103 can perform coordinated services with the terminal device 101 , and can also perform coordinated services with the terminal device 102 .
  • the terminal device 103 and the terminal device 102 can perform a screen projection service. If the business that requires coordination exists in any two GCs in multiple interconnected settings, it is obvious that the coordination business cannot be performed because the GCs cannot communicate with each other. For example, as shown in Figure 1, it is necessary to implement information sharing between the terminal device 101 and the terminal device 102, but since both the terminal device 101 and the terminal device 102 are GCs, it is limited by the roles played by the terminal device 102 and the terminal device 101, The connection between the terminal device 102 and the terminal device 103 needs to be disconnected.
  • the terminal device 101 acts as a GO
  • the other acts as a GC
  • the link between the terminal device 102 and the terminal device 103 is disconnected.
  • the terminal device 101 acts as a GO
  • the terminal device 102 acts as a GC as an example. That is to say, the role of a device can change as the link is established. For example, after the initial link establishment of the terminal device 101, the role of the terminal device 101 is GC, and after the link is re-established, the role of the terminal device 101 is GC. It's GO.
  • multiple devices may also form a many-to-many connected system.
  • the distributed system is established based on a neighbor awareness networking (NAN) protocol. That is to say, a device discovers other devices in the same area based on WiFi, and selects one device among all devices in the area as the master device, then the devices other than the master device are slave devices.
  • the slave device can synchronize time with the master device. For example, the master device periodically sends signaling frames carrying time information. Each slave device receives the signaling frame, and performs time synchronization with the master device according to the time information of the signaling frame, so that all devices in a network are time synchronized.
  • NAN neighbor awareness networking
  • the master device can allocate some discovery windows (discovery window, DW), and the master device and each slave device can broadcast their own information in the DW.
  • any device can listen to information broadcast from other devices within the DW.
  • Any device can discover other devices by detecting the synchronization beacon frame (synchronization beacon) sent by other devices before the end of the DW slot.
  • the synchronization beacon frame is sent by a device in an active state. After the devices discover each other, they can establish a connection with each other.
  • each device schedules air interface resources based on the minimum data transmission unit of air interface resources in the time domain (time slice) and frequency domain (channel), that is, the active window (avaliable windows, AW). That is, each device controls air interface transmission by scheduling AW configuration.
  • devices can also discover each other based on Bluetooth or WiFi, and establish a connection with the discovered device; then negotiate the link information for establishing WiFi direct communication with each other through the established communication channel, based on the link Information realizes WiFi direct connection communication between devices, thus forming a distributed system. Since the communication connection is established after the discovery between the devices, and then the link information for establishing the WiFi direct communication between the devices is negotiated through the communication channel established between the devices, there is no need to assign specific roles to each device.
  • the relationship between devices can be one-to-one, or It can be a one-to-many relationship or a many-to-many relationship, and the roles of each device in the system are equal.
  • distributed services can be coordinated between any devices, and distributed services will not be restricted due to role issues.
  • a first device in a distributed system can cast a screen to a second device, and at the same time, files can be shared between the first device and the third device, that is, there is no role conflict.
  • FIG. 2 is a schematic diagram of a distributed system.
  • FIG. 2 takes the distributed system including 5 devices as an example. It should be understood that these 2 devices are in the same network.
  • the five devices are device 201, device 202, device 203, device 204, and device 205, respectively.
  • Device 201, device 202, device 203, device 204, and device 205 can perform multi-screen collaboration or information sharing.
  • device 201 may perform multi-screen collaboration or information sharing with device 202 or device 203
  • device 202 and device 204 may perform multi-screen collaboration
  • device 203 and device 202 may perform information sharing.
  • Fig. 2 takes the example that device 201 is a mobile phone, device 202 is a portable computer, device 203 is a tablet computer, device 204 is a personal computer and device 205 is a smart speaker.
  • device 201 may broadcast a discovery message through a Bluetooth communication channel, and the discovery message is used to discover one or more devices, such as device 201-device 205. Any device in the device 201-device 205, for example, the device 203 may send a response message to the device 201 after receiving the discovery message.
  • Device 201 receives the response message, and may establish a Bluetooth connection with device 203 according to the response message.
  • other devices can also establish a Bluetooth connection with the device 201 .
  • the device 201 After the device 201 establishes a Bluetooth connection with each device, it can negotiate link information for establishing WiFi direct communication, and establish WiFi direct communication with each other based on the link information, thereby forming the second distributed system. Since the communication connection is established after the discovery between the devices, and then the link information for establishing the WiFi direct communication between the devices is negotiated through the communication channel established between the devices, there is no need to assign specific roles to each device.
  • WiFi wireless fidelity
  • CSMA/CA carrier sense multiple access with collision avoidance
  • channel interference is particularly serious, causing problems such as device business freezes.
  • the devices For the network topology of multi-device interconnection, the devices have many links. When the services of multiple links are performed at the same time, the probability of channel interference between multiple links is greater, which limits the overall throughput of the network.
  • the WiFi P2P service usually when the WiFi P2P service establishes a link, it will choose a channel following GO, or randomly select a channel. In this case, it may cause severe interference of the same-frequency channel in the network, thereby causing interference between multiple P2P services, and mutual interference between P2P services and other services.
  • each device controls air interface transmission by scheduling AW configuration. That is, any device uses a fixed channel (social channel) to send its own related information, such as time synchronization information.
  • the social channel can be considered as the frequency domain position where all devices in the near field interact when they discover each other, and is used to discover each device in the near field. Any device listens to information from other devices on the social channel to discover each other.
  • the social channel can be considered as a negotiated or fixed channel, for example, the social channel is ch6, ch36, ch44 or ch149. It should be understood that 6, 36, 44 and 149 are channel numbers.
  • the device may construct a synchronous channel sequence around a timing sequence (including multiple availability windows (AWs) and multiple extended availability windows (extension window, EW) (EWs)).
  • AWs are fixed-length windows that allow devices to communicate in shorter fixed-length time slots.
  • EWs can extend the length of the window, which is more flexible.
  • Each device can advertise the window time slots available for data communication, and the peer device matches the received window time slots with its own AWs sequence. If there is a common channel in a particular AWs, communication can be performed during this AW.
  • This synchronization mechanism enables sequence alignment between devices.
  • When a device sends user data to a peer device it needs to negotiate and calculate public AWs.
  • public AWSs both devices switch to the same channel and only send frames in those AWSs.
  • the embodiment of the present application provides a resource management method for a distributed system.
  • this method by obtaining the channel interference score and service type of each device in the system, the capacity of the integrated channel and the interference situation of the channel, the scheduling is assigned Channel. This allows more device links to work on channels with less interference, reducing mutual interference between multiple links. Any device in the system detects that channel interference affects the services of the device, and can request other devices in the system to switch to alternative channels to improve anti-interference performance and system capacity as much as possible.
  • the resource management method provided by the embodiment of the present application may be applied to various distributed systems, for example, the distributed system shown in FIG. 1 or the distributed system shown in FIG. 2 .
  • the distributed system based on the WiFi P2P protocol as shown in Figure 1 can be called the first type of distributed system
  • the distributed system based on the NAN protocol can be called the second type of distributed system.
  • the second type of distributed system is relative to the first type of distributed system, that is, the roles of devices in the first type of distributed system are limited, and there is a one-to-one relationship between devices, or a pair of many relationships.
  • the roles of devices in the second type of distributed system are equal, and the relationship between devices can be one-to-one, one-to-many, or many-to-many.
  • the embodiment of the present application does not limit the establishment method of the second type of distributed system, for example, it may be established based on the NAN protocol, or based on the method provided in the embodiment of the present application. That is to discover each other based on Bluetooth or WiFi, and establish a connection with the discovered device; then negotiate the link information for establishing WiFi direct communication with each other through the established communication channel, and realize WiFi direct communication between devices based on the link information, thus forming Distributed Systems.
  • the technical solutions provided in the embodiments of the present application may be applied to electronic devices, for example, any device constituting distributed system 1 or distributed system 2.
  • Electronic devices and embodiments for using such electronic devices are described below.
  • the electronic device may be a portable electronic device, such as a mobile phone, a PAD, a portable computer, a wearable device with a wireless communication function (such as a smart watch, smart glasses, a smart bracelet, or a smart helmet, etc.), or vehicle equipment, etc.
  • portable electronic devices include, but are not limited to Or portable electronic devices with other operating systems.
  • the above-mentioned electronic device may not be a portable device, for example, may also be a desktop computer, such as a PC, or may also be a device such as a TV.
  • FIG. 3 shows a schematic structural diagram of an electronic device 300 .
  • the illustrated electronic device 300 is only one example, and that the electronic device 300 may have more or fewer components than shown, may combine two or more components, or may have different Part configuration.
  • the various components shown in the figures may be implemented in hardware, software, or a combination of hardware and software including one or more signal processing and/or application specific integrated circuits.
  • the electronic device 300 may include a processor 310, an external memory interface 320, an internal memory 321, a universal serial bus (universal serial bus, USB) interface 330, a charging management module 340, a power management module 341, and a battery 342 , antenna 1, antenna 2, mobile communication module 350, wireless communication module 360, audio module 370, speaker 370A, receiver 370B, microphone 370C, earphone jack 370D, sensor module 380, button 390, motor 391, indicator 392, camera 393 , a display screen 394, and a subscriber identification module (subscriber identification module, SIM) card interface 395, etc.
  • a processor 310 an external memory interface 320, an internal memory 321, a universal serial bus (universal serial bus, USB) interface 330, a charging management module 340, a power management module 341, and a battery 342 , antenna 1, antenna 2, mobile communication module 350, wireless communication module 360, audio module 370, speaker 370A, receiver 370B, microphone 370C, earphone
  • the sensor module 380 may include a pressure sensor 380A, a gyroscope sensor 380B, an air pressure sensor 380C, a magnetic sensor 380D, an acceleration sensor 380E, a distance sensor 380F, a proximity light sensor 380G, a fingerprint sensor 380H, a temperature sensor 380J, a touch sensor 380K, and an ambient light sensor.
  • Each component of the electronic device 300 will be specifically introduced below with reference to FIG. 3 .
  • the processor 310 may include one or more processing units, for example, the processor 310 may include an application processor (application processor, AP), a modem processor, a graphics processing unit (graphics processing unit, GPU), an image signal processor (image signal processor, ISP), controller, memory, video codec, digital signal processor (digital signal processor, DSP), baseband processor, and/or neural network processor (neural-network processing unit, NPU) Wait.
  • application processor application processor
  • AP application processor
  • modem processor graphics processing unit
  • graphics processing unit graphics processing unit
  • ISP image signal processor
  • controller memory
  • video codec digital signal processor
  • DSP digital signal processor
  • baseband processor baseband processor
  • neural network processor neural-network processing unit, NPU
  • different processing units may be independent devices, or may be integrated in one or more processors.
  • the controller may be the nerve center and command center of the electronic device 300 .
  • the controller can generate an operation control signal according to the instruction opcode and timing signal, and complete the control of fetching and
  • a memory may also be provided in the processor 310 for storing instructions and data.
  • the memory in processor 310 is a cache memory.
  • the memory may hold instructions or data that the processor 310 has just used or recycled. If the processor 310 needs to use the instruction or data again, it can be called directly from the memory, thereby avoiding repeated access, reducing the waiting time of the processor 310, and thus improving the efficiency of the system.
  • the processor 310 may execute the information sharing method provided in the embodiment of the present application.
  • the embodiment of the present application provides a fast collaborative service (Fast Collaborative Service).
  • the fast collaborative service may be a software module that runs on the processor 310, and the software module may be understood as a computer program.
  • the software module can provide system-level capabilities. Taking the Android system as an example, from a business perspective, the software module can be placed in the system service (system_server) process, and the activity manager service (activity manager service) in the system_server process.
  • AMS), package manager service (package manager service, PMS), or window manager service (window manager service) and other modules jointly build the basic capabilities of the platform.
  • the collaborative shortcut operation service can also be placed in other processes.
  • the processor 310 integrates different devices, such as an integrated CPU and GPU
  • the CPU and GPU can cooperate to execute the method provided by the embodiment of the present application.
  • part of the algorithm is executed by the CPU
  • the other part of the algorithm is executed by the GPU. Execute to get faster processing efficiency.
  • processor 310 may include one or more interfaces.
  • the interface may include an integrated circuit (inter-integrated circuit, I2C) interface, an integrated circuit built-in audio (inter-integrated circuit sound, I2S) interface, a pulse code modulation (pulse code modulation, PCM) interface, a universal asynchronous transceiver ( Universal asynchronous receiver/transmitter, UART) interface, mobile industry processor interface (mobile industry processor interface, MIPI), general-purpose input and output (general-purpose input/output, GPIO) interface, subscriber identity module (subscriber identity module, SIM) interface , and/or a universal serial bus (universal serial bus, USB) interface, etc.
  • I2C integrated circuit
  • I2S integrated circuit built-in audio
  • PCM pulse code modulation
  • PCM pulse code modulation
  • UART Universal asynchronous receiver/transmitter
  • mobile industry processor interface mobile industry processor interface
  • MIPI mobile industry processor interface
  • general-purpose input and output general-purpose input/output
  • GPIO
  • the USB interface 330 is an interface conforming to the USB standard specification, specifically, it may be a Mini USB interface, a Micro USB interface, a USB Type C interface, and the like.
  • the USB interface 330 can be used to connect a charger to charge the electronic device 300 , and can also be used to transmit data between the electronic device 300 and peripheral devices.
  • the charging management module 340 is configured to receive charging input from the charger.
  • the power management module 341 is used for connecting the battery 342 , the charging management module 340 and the processor 310 .
  • the power management module 341 receives the input of the battery 342 and/or the charging management module 340, and supplies power for the processor 310, the internal memory 321, the external memory, the display screen 394, the camera 393, and the wireless communication module 360, etc.
  • the I2C interface is a bidirectional synchronous serial bus, including a serial data line (serial data line, SDA) and a serial clock line (derail clock line, SCL).
  • processor 310 may include multiple sets of I2C buses.
  • the processor 310 can be respectively coupled to the touch sensor 380K, the charger, the flashlight, the camera 393 and so on through different I2C bus interfaces.
  • the processor 310 may be coupled to the touch sensor 380K through the I2C interface, so that the processor 310 and the touch sensor 380K communicate through the I2C bus interface to realize the touch function of the electronic device 300 .
  • a mobile industry processor interface may be used to connect the processor 310 with peripheral devices such as a display screen 394 and a camera 393 .
  • MIPI interface includes camera serial interface (camera serial interface, CSI), display serial interface (display serial interface, DSI), etc.
  • the processor 310 communicates with the camera 393 through the CSI interface to realize the shooting function of the electronic device 300 .
  • the processor 310 communicates with the display screen 394 through the DSI interface to realize the display function of the electronic device 300 .
  • the GPIO interface can be configured by software.
  • the GPIO interface can be configured as a control signal or as a data signal.
  • the GPIO interface can be used to connect the processor 310 with the camera 393 , the display screen 394 , the wireless communication module 360 , the audio module 370 , the sensor module 380 and so on.
  • the GPIO interface can also be configured as an I2C interface, I2S interface, UART interface, MIPI interface, etc.
  • the wireless communication function of the electronic device 300 can be realized by the antenna 1 , the antenna 2 , the mobile communication module 350 , the wireless communication module 360 , a modem processor, a baseband processor, and the like.
  • Antenna 1 and Antenna 2 are used to transmit and receive electromagnetic wave signals.
  • Each antenna in electronic device 300 may be used to cover single or multiple communication frequency bands. Different antennas can also be multiplexed to improve the utilization of the antennas.
  • Antenna 1 can be multiplexed as a diversity antenna of a wireless local area network.
  • the antenna may be used in conjunction with a tuning switch.
  • the mobile communication module 350 can provide wireless communication solutions including 2G/3G/4G/5G applied on the electronic device 300 .
  • the mobile communication module 350 may include at least one filter, switch, power amplifier, low noise amplifier (low noise amplifier, LNA) and the like.
  • the mobile communication module 350 can receive electromagnetic waves through the antenna 1, filter and amplify the received electromagnetic waves, and send them to the modem processor for demodulation.
  • the mobile communication module 350 can also amplify the signal modulated by the modem processor, convert it into electromagnetic wave and radiate it through the antenna 1 .
  • at least part of the functional modules of the mobile communication module 350 may be set in the processor 310 .
  • at least part of the functional modules of the mobile communication module 350 and at least part of the modules of the processor 310 may be set in the same device.
  • the wireless communication module 360 can provide wireless local area networks (wireless local area networks, WLAN) (such as wireless fidelity (Wireless Fidelity, Wi-Fi) network), bluetooth (bluetooth, BT), global navigation satellite, etc. applied on the electronic device 300.
  • System global navigation satellite system, GNSS
  • frequency modulation frequency modulation, FM
  • near field communication technology near field communication, NFC
  • infrared technology infrared, IR
  • the wireless communication module 360 may be one or more devices integrating at least one communication processing module.
  • the wireless communication module 360 receives electromagnetic waves via the antenna 2 , frequency-modulates and filters the electromagnetic wave signals, and sends the processed signals to the processor 310 .
  • the wireless communication module 360 can also receive the signal to be sent from the processor 310 , frequency-modulate it, amplify it, and convert it into electromagnetic waves through the antenna 2 for radiation.
  • the antenna 1 of the electronic device 300 is coupled to the mobile communication module 350, and the antenna 2 is coupled to the wireless communication module 360, so that the electronic device 300 can communicate with the network and other devices through wireless communication technology.
  • the wireless communication technology may include global system for mobile communications (GSM), general packet radio service (general packet radio service, GPRS), code division multiple access (code division multiple access, CDMA), broadband Code division multiple access (wideband code division multiple access, WCDMA), time division code division multiple access (time-division code division multiple access, TD-SCDMA), long term evolution (long term evolution, LTE), BT, GNSS, WLAN, NFC , FM, and/or IR techniques, etc.
  • GSM global system for mobile communications
  • GPRS general packet radio service
  • code division multiple access code division multiple access
  • CDMA broadband Code division multiple access
  • WCDMA wideband code division multiple access
  • time division code division multiple access time-division code division multiple access
  • TD-SCDMA time-division code division multiple access
  • the GNSS may include a global positioning system (global positioning system, GPS), a global navigation satellite system (global navigation satellite system, GLONASS), a Beidou navigation satellite system (beidou navigation satellite system, BDS), a quasi-zenith satellite system (quasi -zenith satellite system (QZSS) and/or satellite based augmentation systems (SBAS).
  • GPS global positioning system
  • GLONASS global navigation satellite system
  • Beidou navigation satellite system beidou navigation satellite system
  • BDS Beidou navigation satellite system
  • QZSS quasi-zenith satellite system
  • SBAS satellite based augmentation systems
  • the interface connection relationship between the modules shown in the embodiment of the present application is only a schematic illustration, and does not constitute a structural limitation of the electronic device 300 .
  • the electronic device 300 may also adopt different interface connection methods in the above embodiments, or a combination of multiple interface connection methods.
  • the electronic device 300 implements a display function through a GPU, a display screen 394, and an application processor.
  • the GPU is a microprocessor for image processing, connected to the display screen 394 and the application processor. GPUs are used to perform mathematical and geometric calculations for graphics rendering.
  • Processor 310 may include one or more GPUs that execute program instructions to generate or alter display information.
  • the display screen 394 is used to display images, videos and the like.
  • Display 394 includes a display panel.
  • the display panel can be a liquid crystal display (LCD), an organic light-emitting diode (OLED), an active matrix organic light emitting diode or an active matrix organic light emitting diode (active-matrix organic light emitting diode, AMOLED), flexible light-emitting diode (flex light-emitting diode, FLED), Miniled, MicroLed, Micro-oLed, quantum dot light emitting diodes (quantum dot light emitting diodes, QLED), etc.
  • LCD liquid crystal display
  • OLED organic light-emitting diode
  • AMOLED active matrix organic light emitting diode
  • FLED flexible light-emitting diode
  • Miniled MicroLed, Micro-oLed
  • quantum dot light emitting diodes quantum dot light emitting diodes (quantum dot light emitting diodes, QLED), etc.
  • the electronic device 300 can realize the shooting function, or realize the function of collecting images through the ISP, the camera 393 , the video codec, the GPU, the display screen 394 and the application processor.
  • the ISP is used for processing the data fed back by the camera 393 .
  • the light is transmitted to the photosensitive element of the camera through the lens, and the light signal is converted into an electrical signal, and the photosensitive element of the camera transmits the electrical signal to the ISP for processing, and converts it into an image visible to the naked eye.
  • ISP can also perform algorithm optimization on image noise, brightness, and skin color.
  • ISP can also optimize the exposure, color temperature and other parameters of the shooting scene.
  • the ISP may be located in the camera 393 .
  • Camera 393 is used to capture still images or video.
  • the object generates an optical image through the lens and projects it to the photosensitive element.
  • the photosensitive element may be a charge coupled device (CCD) or a complementary metal-oxide-semiconductor (CMOS) phototransistor.
  • CMOS complementary metal-oxide-semiconductor
  • the photosensitive element converts the light signal into an electrical signal, and then transmits the electrical signal to the ISP to convert it into a digital image signal.
  • the ISP outputs the digital image signal to the DSP for processing.
  • DSP converts digital image signals into standard RGB, YUV and other image signals.
  • the electronic device 300 may include 1 or N cameras 393, where N is a positive integer greater than 1.
  • Digital signal processors are used to process digital signals. In addition to digital image signals, they can also process other digital signals. For example, when the electronic device 300 selects a frequency point, the digital signal processor is used to perform Fourier transform on the energy of the frequency point.
  • Video codecs are used to compress or decompress digital video.
  • the electronic device 300 may support one or more video codecs.
  • the electronic device 300 can play or record videos in various encoding formats, for example: moving picture experts group (moving picture experts group, MPEG) 1, MPEG2, MPEG3, MPEG4 and so on.
  • MPEG moving picture experts group
  • the NPU is a neural-network (NN) computing processor.
  • NN neural-network
  • Applications such as intelligent cognition of the electronic device 300 can be realized through the NPU, such as image recognition, face recognition, speech recognition, text understanding, and the like.
  • the internal memory 321 may be used to store computer-executable program codes including instructions.
  • the internal memory 321 may include an area for storing programs and an area for storing data.
  • the stored program area can store an operating system, at least one application program required by a function (such as a sound playing function, an image playing function, etc.) and the like.
  • the storage data area can store data (such as audio data, phone book, etc.) created during the use of the electronic device 300 .
  • the internal memory 321 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one magnetic disk storage device, flash memory device, universal flash storage (universal flash storage, UFS) and the like.
  • the processor 310 executes various functional applications and data processing of the electronic device 300 by executing instructions stored in the internal memory 321 and/or instructions stored in a memory provided in the processor.
  • the external memory interface 320 can be used to connect an external memory card, such as a Micro SD card, to expand the storage capacity of the electronic device.
  • the external memory card communicates with the processor 310 through the external memory interface 320 to implement a data storage function. For example, save pictures, videos and other files in the external memory card.
  • the electronic device 300 can implement audio functions through an audio module 370 , a speaker 370A, a receiver 370B, a microphone 370C, an earphone interface 370D, and an application processor. Such as music playback, recording, etc.
  • the keys 390 include a power key, a volume key and the like.
  • the key 390 may be a mechanical key. It can also be a touch button.
  • the electronic device 300 may receive key input and generate key signal input related to user settings and function control of the electronic device 300 .
  • the motor 391 can generate a vibrating prompt.
  • the motor 391 can be used for incoming call vibration prompts, and can also be used for touch vibration feedback. For example, touch operations applied to different applications (such as taking pictures, playing audio, etc.) may correspond to different vibration feedback effects.
  • the touch vibration feedback effect can also support customization.
  • the indicator 392 can be an indicator light, which can be used to indicate the charging status, the change of the battery capacity, and can also be used to indicate messages, missed calls, notifications and the like.
  • the SIM card interface 395 is used for connecting a SIM card. The SIM card can be connected and separated from the electronic device 300 by inserting it into the SIM card interface 395 or pulling it out from the SIM card interface 395 .
  • the components shown in FIG. 3 do not constitute a specific limitation on the electronic device 300, and the mobile phone may also include more or fewer components than shown in the figure, or combine some components, or split some components, or different component arrangements.
  • the combination/connection relationship between the components in FIG. 3 can also be adjusted and modified.
  • the embodiment of the present application provides multiple devices, and the multiple devices may be the same device, such as the electronic device 300; or, the multiple devices may also be different devices, for example, some of the multiple devices are electronic devices 300, part of the equipment is a display.
  • the embodiment of the present application does not limit the implementation forms of these multiple devices, for example, these multiple devices can be electronic devices, or these multiple devices can also be chips in electronic devices, or some of these multiple devices It is an electronic device, and part of the device is a chip in an electronic device.
  • the embodiment of the present application also provides a distributed system correspondingly, where the distributed system may include at least two devices among multiple devices, and of course, the distributed system may also include other devices. Any device in the distributed system can perform multi-screen collaboration, information sharing, etc.
  • FIG. 4 is a schematic diagram of a distributed system.
  • FIG. 4 takes the distributed system including 5 devices as an example. It should be understood that these 5 devices are in the same network.
  • the five devices are device 401, device 402, device 403, device 404, and device 405, respectively.
  • Device 401, device 402, device 403, device 404, and device 405 can perform multi-screen collaboration or information sharing.
  • device 401 can perform multi-screen collaboration or information sharing with device 402 or device 403
  • device 402 can perform information sharing with device 404
  • device 403 can perform information sharing with device 405 .
  • device 401 is a mobile phone
  • device 402 is a portable computer
  • device 403 is a tablet computer
  • device 404 is a personal computer
  • device 405 is a smart speaker.
  • the structure of the mobile phone is, for example, the structure shown in FIG. 3
  • the portable computer, tablet computer, personal computer and smart speaker may include more or less components than the structure shown in FIG. 3 .
  • a connection needs to be established before performing distributed services among the device 401, the device 402, the device 403, the device 404, and the device 405, such as multi-screen collaboration or information sharing. That is, before any device needs to perform multi-screen collaboration or information sharing, it can be connected with other possible devices, that is, multi-device interconnection.
  • multiple devices in Figure 4 are used to discover each other based on Bluetooth or WiFi, and establish a connection with the discovered devices; then negotiate the link information for establishing WiFi direct communication with each other through the established communication channel, based on the link Take Wi-Fi direct communication between devices as an example.
  • any device in the network cooperates with distributed applications, which requires time synchronization between devices in the distributed system. For this reason, after multiple devices establish WiFi direct communication, time synchronization is required. Since the roles of each device in the distributed system established by the embodiment of the present application are equal, before performing time synchronization, one device can be selected from multiple devices in the distributed system as the master device, and the time of the master device is Accurate, and synchronize the time of other devices. Relative to the master device, other devices in the distributed system can be regarded as slave devices, and the slave devices can be synchronized according to the time of the master device.
  • multiple devices in the distributed system may be prioritized, and the device with the highest priority is used as the master device. If the collection of all devices in a distributed system is called a domain, then the device with the highest priority in the domain is the master device.
  • the embodiment of the present application does not limit the way of determining the priority.
  • the priority of the device can be determined according to one or more of the device type of each device, the battery life of the device, the hardware capability of the device, the protocol version adopted by the device, the number of devices connected to the device, and the MAC address of the device. class.
  • the type of the device is, for example, a monitor, a PC, a tablet, a mobile phone, an IOT device, a smart speaker, or a wearable device.
  • the battery life of the device is, for example, the remaining battery level of the device, such as high battery, medium battery, medium-low battery, and low battery. It should be noted that the embodiment of the present application does not limit the number of levels of remaining power levels, and each level of remaining power can be defined in advance.
  • the level of the remaining power is high power; If the power is greater than or equal to 50% of the total power and less than 70% of the total power, then the level of the remaining power is medium power; if the remaining power is greater than or equal to 30% of the total power and less than 50% of the total power, then the remaining The power level is medium and low power; if the remaining power is less than 30% of the total power, then the level of the remaining power is low power.
  • the hardware capability of the device for example, the device uses dual WiFi chips or a single WiFi chip.
  • the type of the device, the battery life of the device, and the hardware capability of the device are only examples, and the embodiment of the present application does not limit the specific expression forms of the type of the device, the battery life of the device, and the hardware capability of the device.
  • Each device may report its own priority information, for example, each device may report its own ranking priority (RP) value, and the RP value may be used to indicate the priority information of each device.
  • the RP value may be carried in the first message.
  • WiFi that is, the first message is generated based on the WiFi protocol
  • the RP value may be carried in the synchronization beacon frame sent by each device.
  • the RP value may occupy one field, or may occupy multiple fields, which is not limited in this embodiment of the present application. For example, each content indicated by the RP value may respectively occupy different bits of the same field; or each content indicated by the RP value may respectively occupy different fields.
  • the RP value may include two parts, one part is used to indicate the ranking level (ranking level), and the other part is used to indicate the media access control (media access control, MAC) address of the device, wherein the ranking level may include the device level , the protocol version number of the device, and the number of devices connected to the device.
  • the device level includes the type of the device, the battery life of the device, and the hardware capability of the device.
  • the sorting level field includes three fields, and these three fields are a device level field, a protocol version number field, and a connection number field. It should be noted that, the embodiment of the present application does not limit the specific names of these three fields. The embodiment of the present application does not limit the number of bits occupied by each field. For example, see Table 1 for the definition of the device level field.
  • the priority information of each device such as device type, device endurance, device hardware capability, protocol version adopted by the device, the number of devices connected to the device, and the MAC address of the device can be used.
  • the priority of the address is used to determine the priority of the device. That is, the priority of each device is firstly determined according to the device type of each device. If the priority of each device is determined to be consistent according to the device type of each device, the priority of the device can be further determined according to the battery life of the device, and so on, until Determine the priority of each device.
  • each device If the hardware capabilities of each device are the same, continue to 4); 4 ) Compare the protocol version of each device, the device with a higher version number is the main device, if the version number of each device is the same, continue to 5); 5) Compare the number of devices connected to each device, the device with the highest connection number is the main device , if the number of devices connected to each device is the same, continue to 6); 6) compare the MAC addresses of each device bit by bit, and the device with a higher MAC address is the master device.
  • the slave devices can be synchronized based on the time of the master device. For example, the master device proactively notifies each slave device of the time information of the master device. Each slave device performs time synchronization based on the time information of the master device. For another example, the slave device may actively apply for time synchronization. Taking the first slave device as an example for applying for time synchronization, the first slave device may proactively broadcast a time synchronization request message to request time synchronization from devices that have completed time synchronization in the same network. After receiving the time synchronization request message, the master device or other slave devices may send a response message to the time synchronization request message to the first slave device. The response message may carry information for time synchronization of the slave device. The slave device performs time synchronization with the master device or other slave devices according to the information carried in the response message.
  • FIG. 5 shows the flow of the resource management method of the distributed system provided by the embodiment of the present application.
  • This method can be applied to the first type of distributed system, and can also be applied to the second type of distributed system, or other possible distributed systems.
  • the method takes this method applied to the network architecture shown in FIG. 4 as an example. It should be understood that the method involves multiple devices, such as the devices in FIG. 4 .
  • the method involves the first device and multiple devices as an example. With respect to multiple devices, the first device is the master device, and the multiple devices are slave devices.
  • Each slave device starts full-channel scanning according to the country code, and receives a beacon (beacon) frame from the master device.
  • the beacon frame includes first radio resource management (radio resource management, RRM) information, and the first RRM information is used to indicate the initial channel and initial bandwidth allocated for each slave device.
  • RRM radio resource management
  • a set formed by all devices capable of discovering each other in the near field is called a domain, and all devices in the domain can form a distributed system.
  • One device in the domain is the master device, and the devices other than the master device are collectively called slave devices.
  • Multiple devices in a domain can be interconnected arbitrarily, and a collection of connected devices is called a group or an island (this article uses an island as an example).
  • all devices on the island can work on one channel or multiple channels.
  • the master device in the domain will allocate channels and bandwidth for each slave device. And inform each slave device.
  • the master device may broadcast a beacon frame on a common channel (common channel), where the beacon frame includes a first RRM list for indicating the initial channel and initial bandwidth allocated to each slave device.
  • the common channel can be a predefined channel, for example, the common channel of 5G is Ch165 channel (20M bandwidth), and the common channel of 2.4G is Ch13 channel (20M bandwidth).
  • the public channel can also be a social channel. The following uses the public channel as an example.
  • the master device can broadcast the beacon frame at 8ms of the common channel. After each device is connected, it can start full channel scanning according to the country code to determine which channels are available. Further, a link is established on its own channel and bandwidth according to the indication of the first RRM information. It should be noted that the master device can also schedule spectrum resources with the minimum bandwidth of OFDMA 26 subcarriers (2.5MHz) of WiFi6. It should be noted that in this article, Ch means channel.
  • FIG. 6 shows a schematic diagram of a distributed system.
  • FIG. 6 takes 8 devices as an example. These 8 devices are in the same domain.
  • device 1 and device 2 are interconnected to form island 1
  • device 3 and device 5 are interconnected to form island 2
  • device 6 device 7 and device 8 are interconnected to form island 3.
  • services need to be interacted between devices in multiple islands, these multiple islands form a new island.
  • island 1 and island 2 have services, then island 1 and island 2 are merged into one island.
  • the master device in the domain can assign channels to each island.
  • the master device can allocate different channels for island 1, island 2, and island 3. For example, the master device can schedule island 1 to use channel 165 (that is, Ch165) with a bandwidth of 20 MHz, and schedule island 2 to use channel 48 (that is, Ch48) with a bandwidth of 40 MHz, and schedule island 3 to use channel 157 (that is, Ch157), and the bandwidth is 40MHz bandwidth.
  • the master device can schedule island 1 to use channel 165 (that is, Ch165) with a bandwidth of 20 MHz, and schedule island 2 to use channel 48 (that is, Ch48) with a bandwidth of 40 MHz, and schedule island 3 to use channel 157 (that is, Ch157), and the bandwidth is 40MHz bandwidth.
  • the master device may generate a first RRM list according to channels and bandwidths allocated to each slave device, and the first RRM list may include initial channel and initial bandwidth information allocated to each device in the domain, and device information in each island.
  • the first RRM list may include initial channel and initial bandwidth information allocated to each device in the domain, and device information in each island.
  • Table 2 shows an implementation form of the first RRM information.
  • Ch represents a channel
  • the country code is a specified available channel code, such as 44, 165 or 157 in Table 1.
  • Each slave device establishes a link according to the channel and bandwidth indicated by the first RRM information.
  • Each slave device receives a beacon frame from the master device, and can establish a link with other devices according to the channel and bandwidth indicated by the first RRM information carried in the beacon frame, so as to perform services on the established link.
  • device 3 receives the beacon frame from device 1. It can be known from the beacon frame that device 3, device 4 and device 5 are located on island 2, and the allocated channel and bandwidth are Ch165 20M, then device 3 can establish links with device 4 and device 5 on Ch165 20M.
  • the master device allocates channels and bandwidths for each slave device, due to changes in the interference conditions on the links of each slave device and changes in services performed by the links of each slave device, it may result in initial The channel allocated by the slave device is no longer suitable for the transmission of the current service.
  • Device 3, Device 4 and Device 5 in Island 2 all work on Ch165 20M.
  • the master device can reschedule the channels allocated to each device based on the channel interference situation on each link of each device in the distributed system and the capacity of each channel.
  • each island may be defined in advance, and each device in the island may cyclically measure the channels defined in advance.
  • the island owner in each island can broadcast to notify each device in the island which channels are to be measured, which is more flexible.
  • each slave device can start to send the channel interference situation to the master device when the interference reporting timer expires. In this way, the master device can obtain the interference situation of each channel in the same time period, so that the master device can more accurately schedule channels allocated to each slave device.
  • each device performs service transmission based on an initially established link, and cyclically measures a pre-defined channel. For the master device, it is necessary to measure the channel for service transmission, and also need to receive the channel interference reported by each slave device, and reschedule each channel to allocate a channel with less interference for each slave device. For the slave device, it is necessary to measure the channel for service transmission, report the measured channel interference to the master device, and receive the scheduling from the master device.
  • the embodiment of the present application can define public information and service channels.
  • the common channel is used to report the channel interference situation from the slave device, and the master device receives the channel interference situation from the slave device.
  • the master device sends RRM information to each slave device on a common channel.
  • the service channel is relative to the public channel, and can be used for various devices to transmit service data, measure channel interference, and so on.
  • some slave devices may switch from one channel to another based on the scheduling of the master device according to the RRM information. Channel switching is performed on the traffic channel. In this way, the master device collects the channel interference situation of each slave device, and delivers its own RRM information to each slave device, without affecting the normal service of each device.
  • the master device can periodically collect channel interference from each slave device, and the slave devices can also report their respective channel interference conditions to the master device within a preset time period.
  • the channel interference situation of each slave device obtained by the master device can represent the interference situation of each channel in the same time period, which facilitates the master device to more accurately schedule channels allocated for each slave device.
  • the embodiment of the present application can set a channel switch timer, and when the channel switch timer expires, switch to a common channel, otherwise each device is on a service channel.
  • the master device executes S541a-S543a, and the slave device executes S541b-S544b; if not switching to a public channel, each device executes S551-S556.
  • the processes executed are also different.
  • the master device it mainly collects the channel interference situation of each slave device, and generates second RRM information according to the collected channel interference situation, so as to reschedule each channel, so as to allocate each slave device to a channel with less interference.
  • the slave device it mainly reports the channel interference obtained by measuring the channel to the master device, and performs service transmission according to the scheduling of the master device. But on the service channel, it is not different due to the different roles of the master device and the slave device. The following describes in detail the process steps of the master device and the slave device on the common channel, and the process steps of all devices on the service channel.
  • the master device receives channel interference information from each slave device on a common channel.
  • Channel interference information can be used to indicate the degree to which the channel is interfered.
  • the channel interference information may be a channel interference score.
  • the higher the interference score of a channel the lower the interference of the channel, the higher the throughput, and the lower the delay (this embodiment of the present application uses this as an example).
  • the lower the interference score of a channel is, the less the interference of the channel is.
  • this article takes the channel with an interference score of 100 as an example. If the interference score of a channel is 100, then the channel has no interference.
  • Each slave device can cyclically measure each pre-defined channel on the traffic channel or cyclically measure each notified channel, obtain one or more interference parameters of the measured channel, and determine each Interference score for the channel.
  • the master device is also cyclically measuring each pre-defined channel on the traffic channel, and determines the interference score of each channel according to the measured multiple interference parameters of each channel.
  • the interference parameters of the channel can be used to characterize the interference of the channel, for example, including one or more of received signal strength indicator (RSSI), signal noise ratio (SNR), and signal noise floor, Or other parameters that can characterize channel interference.
  • RSSI received signal strength indicator
  • SNR signal noise ratio
  • Each slave device can perform feature extraction on one or more interference parameters of the channel, and determine the channel interference situation according to the extracted features.
  • a model of the channel interference parameter and the channel interference score may be established through a neural network, and the channel interference score may be determined based on the model. It should be noted that, the embodiment of the present application does not limit the specific method of establishing the model of the channel interference parameter and the channel interference score.
  • the extracted feature values may be input into a model of channel interference parameters and channel interference scores, so as to determine the channel interference scores.
  • the channel interference score determined by each slave device may be as shown in Table 3.
  • Table 3 takes 5 channels (Ch) and 2 bandwidths (band width, BW) as an example.
  • the channel interference score calculated according to the current value of the channel interference parameter is instantaneous.
  • the current instantaneous channel interference score and the previous channel interference score may be considered comprehensively to obtain a more reasonable channel interference score.
  • the previous channel interference score may be called a first channel interference score
  • the current instantaneous channel interference score may be called a second channel interference score
  • a more reasonable channel interference score may be called a target channel interference score.
  • target channel interference score first weight ⁇ first channel interference score+second weight ⁇ second channel interference score.
  • the embodiment of the present application does not limit specific values of the first weight and the second weight.
  • the first weight may be equal to 1/2
  • the second weight may also be equal to 1/2.
  • each slave device After each slave device determines the channel interference score, it can generate channel interference information and send it to the master device. In this way, the master device can obtain the interference situation of each channel in the system, so as to preferentially schedule each slave device on a channel with less interference.
  • the channel interference information is used to assist the master device in scheduling available channels for each slave device.
  • the channel interference information may include a channel interference score, may also include an interference duty cycle, or may also include a current channel transmission rate.
  • the channel interference information may include one or more of a channel interference score, an interference duty cycle, and a current channel transmission rate, which is not limited in this embodiment of the present application.
  • the current transmission rate of the channel can be a predefined rate. For example, the transmission rate of devices of each standard at different bandwidths can be measured in advance, and the transmission rate of devices of each standard at different bandwidths can be defined according to the measured transmission rate. rate.
  • the master device can know the current transmission rate of each channel according to the pre-definition, and there is no need for each slave device to report the current transmission rate of each channel to the master device.
  • each slave device can also calculate the current transmission rate of the channel according to the RSSI corresponding to the channel, and report it to the master device.
  • the interference duty ratio is: (total time of channel measurement-time of packet sending-time of packet reception-channel idle time)/total time of channel measurement.
  • Table 4 shows an illustration of the interference duty cycle of the channel.
  • an interference reporting timer can be set, and each slave device is on a common channel, and when the interference reporting timer expires, the channel interference information is sent to the master device.
  • each slave device competes on a common channel to send its own channel interference information to the master device.
  • the duration of the common channel is limited. If there are many slave devices, it cannot be guaranteed that all the slave devices can complete the reporting of channel interference information within the limited duration of the common channel.
  • the timing duration of the reporting interference timer may be divided into multiple durations, and each duration is used for part of the slave devices to report their respective channel interference information. For example, if there are 20 slave devices, the timing duration of reporting the interference timer can be divided into a first duration and a second duration. The first duration is used for 10 slave devices to report their channel interference information, and the second duration is used for other The 10 slave devices report their respective channel interference information.
  • the information interference information reported by each slave device can be staggered as much as possible to ensure the transmission quality.
  • an island owner can be selected for each island, and the remaining slave devices in the island can send their channel interference information to the island owner on the traffic channel, and then the island owner can send the information to the master on the public channel. equipment.
  • the master device generates second RRM information according to the channel interference information of the master device and the channel interference information of each slave device.
  • the master device may generate second RRM information according to the channel interference information of the master device and the channel interference information of each slave device.
  • the second RRM information may be used to indicate the channel and bandwidth re-allocated by the master device and each slave device.
  • each slave device competes on the common channel to send its own channel interference information to the master device, in order to minimize the time delay, the master device can process the channel interference information received preferentially.
  • FIG. 7 shows detailed process steps of S542a.
  • the master device combines channel interference information from multiple slave devices.
  • the master device may preferentially combine the two channel interference information received first to obtain combined channel interference information. Then combine the newly received channel interference information with the combined channel interference information until all the received channel interference information is combined.
  • the master device preferentially receives the first channel interference information from the first slave device and the second channel interference information from the second slave device.
  • the master device may combine the first channel interference information and the second channel interference information to obtain first combined channel interference information.
  • the master device receives third channel interference information from the third slave device, and the master device combines the first combined channel interference information and the third channel interference information to obtain second combined channel interference information.
  • the master device combines all the channel interference information to obtain the final channel interference information.
  • Combining channel interference information means combining the same factors in different channel interference information. Take channel interference information including channel interference score as an example. Combining different channel interference information means combining channel interference scores of the same channel in different channel interference information. For example, the first channel interference information and the channel interference scores of the same channel in the second channel interference channel may be combined, that is, the channel interference scores are averaged. It should be noted that if the channel interference score of a certain channel is 0, it means that the channel has not been measured, so when the channel interference score is 0, they are directly combined without averaging. If the channel interference information includes the interference duty cycle, then the combination of the interference duty cycle and the combination of the channel interference scores will not be repeated here.
  • FIG. 8 is a schematic diagram of a master device merging channel interference information of each slave device.
  • FIG. 8 takes channel interference scores in combined channel interference information as an example.
  • FIG. 8 takes an example in which the master device preferentially receives the channel interference information from the first slave device and the second slave device, and then receives the channel interference information from the third slave device.
  • the master device may combine the received channel interference information of each slave device at one time. For example, it is taken as an example to combine channel interference scores of various channels included in all slave devices. For any channel, the master device can average the channel interference scores of each slave device for the channel. Of course, in some embodiments, considering the differences between the channels, the channel interference information may be combined in combination with the weights of the channels. The embodiment of the present application does not limit the specific implementation manner of combining channel interference information.
  • the master device prioritizes each channel according to the combined channel interference information.
  • the master device can comprehensively consider the interference situation of the channel measured by each slave device, so as to schedule a reasonable channel for each slave device.
  • the master device may prioritize the channels to be scheduled according to the combined channel interference information. For example, the master device may sort the channel interference scores from high to low, so as to prioritize the channels to be scheduled. The higher the channel interference score, the smaller the channel interference, and the higher the scheduling priority of the channel. It should be understood that the scheduled priority refers to being scheduled preferentially.
  • the master device can reschedule each channel according to the sorted channels. For example, the master device can generate new RRM information according to the final channel interference information.
  • the new RRM information includes the island number of the island where each slave device is located, and the channel and bandwidth allocated to each island.
  • FIG. 9 is a schematic diagram of a network architecture of a distributed system.
  • Figure 9 takes 11 devices, and device 5 is the master device as an example, the solid line in Figure 9 indicates that the two devices are actually connected (communicating), and the dotted line indicates that the two devices are actually not connected to each other, but can receive the master The beacon frame sent by the device.
  • the 11 devices in Figure 9 can be divided into 4 islands.
  • the four islands in FIG. 9 are referred to as Island 1 , Island 2 , Island 3 and Island 4 .
  • Island 1 includes device 1, device 2, device 3, and device 5;
  • island 2 includes device 6 and device 7;
  • island 3 includes device 8 and device 9;
  • island 4 includes device 10, device 11, and device 12.
  • Device 5 prioritizes each channel (such as Ch36 20M, Ch36 40M, Ch44 40M, Ch48 80M, Ch149 40M, Ch157 40M, and Ch165 20M) according to device 5 and the channel interference information reported by devices other than device 5 . Assuming that the channels are sorted according to the channel interference score, the sequence after sorting is shown in Table 5, for example.
  • Each channel in Table 5 is sorted according to priority, and channels with higher priority are scheduled first. It should be noted that Table 5 also shows alternative channels for each island. Among the prioritized channels, unallocated channels may be considered as candidate channels. When there is a service freeze or serious interference on any island, the island can be switched to an alternative channel. Of course, different islands may switch alternative channels according to priorities. For example, Ch149 40M can be considered as an alternative channel of island 1; Ch3640M can be considered as an alternative channel of island 2; Ch48 80M can be considered as a common alternative channel, it should be understood that the common alternative channel is different from the aforementioned common channel. The priority of the public candidate channel is lower than that of any island's candidate channel.
  • device 5 can notify each device on a public channel: device 1, device 2, device 3, and device 5 are in island 1, and when the service is stuck, switch island 1 to the alternative channel of island 1, namely Ch149 40M; If the service still freezes after island 1 is switched to the alternative channel of island 1, you can switch to the public alternative channel.
  • switch island 2 when equipment 6 and equipment 7 are on island 2, when the business is stuck, switch island 2 to the alternative channel of island 2, that is, Ch36 40M; and if island 2 is switched to the alternative channel of island 2, the service still occurs If there is a frame, it can switch to the public alternative channel.
  • the actual service requirements of the devices in each island are different, which will also affect the channel scheduling; or the number of devices in each island will also affect the channel scheduling; or the remaining rate capacity of the channels in each island is different, It will also affect channel scheduling. For example, the higher the priority of the service, the larger the amount of data transmitted by the service, and the larger the rate capacity of the corresponding channel, so the channel with less interference will be preferentially allocated to the high priority island.
  • each channel may also be prioritized in combination with the service priority of each island and/or the remaining rate capacity of the channel.
  • the channels may also be prioritized in combination with the total rate capacity of each channel.
  • priorities can be predefined for various services.
  • Table 6 is a schematic table of service priorities. It should be noted that Table 6 is only an example. If a device has multiple services at the same time, the priority of these multiple services is the highest priority among the priorities corresponding to each service.
  • the total rate capacity of the channel can be calculated based on the physical layer rate and interference. For example, the rate estimated according to the RSSI is multiplied by (1-interference duty cycle) to obtain the total rate capacity of the channel.
  • the remaining rate capacity of the channel can be estimated according to the service type, or notified by the application layer. For example, for a 1-channel, 1-to-1 1080P 60fps projection service, the application layer can inform the physical layer that the rate capacity overhead of this service needs to occupy, for example, 84Mbps. It should be noted that there is a possible scenario, that is, there is a connection between devices, but there is no service link, which is also called a keep-alive scenario. In this embodiment of the present application, the rate capacity overhead of the keep-alive scenario may be predefined as 2 Mbps (this article takes this as an example), or other possible values.
  • the master device judges whether the service priority of the first island and the remaining rate capacity of the first channel to be allocated for the first channel meet a preset condition, where the first channel is a channel to be allocated for the first island.
  • the master device can sort the priority of each channel, and allocate high-priority channels to each island in the order of service priority from high to low.
  • the remaining rate capacity of the channel allocated for a certain island may not be enough to support the services of the first island.
  • the main device allocates channels for each island, it can judge whether the priority of the business of each island and the remaining capacity of the channels scheduled for each island meet the preset conditions .
  • only the first island is taken as an example.
  • any island is the same as the first island, for example, for the second island, the main device can judge the priority of the service of the second island and whether the remaining rate capacity of the second channel meets the preset condition.
  • the second channel is a channel to be allocated for the second island.
  • the preset condition may be that the service priority of the first island is high priority, and the remaining capacity of the first channel is sufficient for the service demand of the current island.
  • the channel to be scheduled may be allocated to the first island. If the service priority of the first island is not high priority, or the remaining rate capacity of the first channel is not enough to meet the current service demand, then in order to reduce the service impact on the first island, a channel with greater interference can be allocated. For example, the channel of the next priority may be assigned preferentially.
  • Table 4 can be updated according to the priority of the business of each island and the number of devices in each island, so as to preferentially allocate channels with less interference for services with high throughput and low delay requirements, low throughput and low delay requirements Allocate a channel with greater interference for the business of low throughput and high delay, and so on, allocate a channel with greater interference for low throughput and high delay business.
  • Table 4 may also be updated in combination with the rate capacity overhead required by services in each island. When the rate capacity is sufficient, the nodes on the same island allocate the same frequency and the same channel to save frequency domain resource overhead. It should be understood that after a certain channel is allocated to an island, the remaining rate capacity of the channel should be subtracted from the rate capacity overhead required by the services of the island.
  • FIG. 10 shows the service types of each island and the rate requirements of the services of each island in FIG. 9 .
  • the service between device 1 and device 2 in island 1 is a 4K 60fps projection service, which requires the channel to support a rate greater than or equal to, for example, 251Mbps; there is no service between device 5 and device 1 in island 1
  • the rate supported by the channel is required to be greater than or equal to, for example, 2Mbps
  • the service between device 5 and device 3 in island 1 is a 1K 60fps projection service, and the rate supported by the channel is required to be greater than or equal to, for example, 2Mbps
  • the service between device 5 and device 3 is a 1K 60fps projection service, which requires the channel to support a rate greater than or equal to, for example, 84Mbps.
  • the service of each device in island 1 requires that the rate supported by the channel be greater than or equal to 251Mbps+2Mbps+84Mbps, that is, 337Mbps.
  • the service between device 6 and device 7 in island 2 is a 4K 30fps projection service, which requires the channel to support a rate greater than or equal to, for example, 107Mbps.
  • the service of each device in island 2 requires the rate supported by the channel to be greater than or equal to 107 Mbps.
  • the service between device 8 and device 9 in island 3 is a 4K 60fps projection service, which requires the rate supported by the channel to be greater than or equal to, for example, 251Mbps.
  • the service of each device in island 3 requires the rate supported by the channel to be greater than or equal to 251 Mbps.
  • the rate supported by the channel is required to be greater than or equal to, for example, 2Mbps.
  • the service between device 11 and device 12 in island 4 is a 4K 30fps projection service.
  • the rate supported by the channel is required to be greater than or equal to 95Mbps.
  • the service of each device in island 4 requires that the rate supported by the channel be greater than or equal to 2Mbps+95Mbps, that is, 97Mbps.
  • the priority of each island in Figure 10 from high to low is: Island 1, Island 3, Island 2, and Island 4, where the business priorities of Island 1 and Island 3 are the same, and the business priorities of Island 2 and Island 4 The same; the business requirements of each island support the rate of the channel in order from high to low: Island 1, Island 3, Island 2, and Island 4.
  • the master device can assign Ch44 40M to Island 1, Ch165 40M to Island 2, Ch157 40M to Island 3, and Ch36 20M to Island 4 according to Table 6.
  • the master device can assign channels to each island in combination with the prioritization of channels and the priority of services of each island. Since the service priority of island 3 is the same as that of island 1 and higher than the service priority of island 2 and island 4, the service priority of island 2 is the same as that of island 4. Therefore, the priority order of each channel can be adjusted, for example, the adjusted channel priority order is Ch44 40M, Ch157 40M, Ch165 20M, Ch36 20M, Ch149 40M, Ch36 40M, Ch48 80M.
  • Ch44 40M can be assigned to Island 1 first, Ch165 20M to Island 3, Ch157 40M to Island 2, Ch36 20M to Island 4, Ch149 40M as an alternative channel for Island 1, and Ch36 40M as Alternate channel for island 2, Ch48 80M as public alternative channel. That is, according to the service priority, the priority of the channel is Ch44 40M, Ch157 40M, Ch165 20M, Ch36 20M, Ch149 40M, Ch36 40M, Ch48 80M.
  • the master device may also assign channels to each island in combination with the prioritization of channels, the priority of services of each island, the total rate capacity of channels, and the remaining rate capacity of channels.
  • Table 7 is a schematic table of the total rate capacity and remaining rate capacity of each channel in the system.
  • the total rate capacity of available channels is Ch44 40M, Ch157 40M, Ch165 20M, Ch36 20M in descending order
  • the total rate capacity of alternative channels is Ch48 40M, Ch48 40M, Ch149 40M, Ch36 40M.
  • the remaining rate capacity of available channels is Ch165 20M, Ch157 40M, Ch36 20M, Ch44 40M in descending order.
  • the services of each device in island 1 require the channel to support a rate greater than or equal to 337 Mbps.
  • the services of each device in island 2 require that the rate supported by the channel be greater than or equal to 107 Mbps.
  • the business of each device in island 3 requires the rate supported by the channel to be greater than or equal to 251 Mbps.
  • the service of each device in island 4 requires the rate supported by the channel to be greater than or equal to 97 Mbps.
  • the rate supported by the service requirement channel of each device in island 3 is greater than the rate supported by the service requirement channel of each device in island 2. Therefore, the priority of the channel is adjusted according to the total rate capacity of the channel and the remaining rate capacity of the channel. That is to say, "Ch44 40M, Ch157 40M, Ch165 20M, Ch36 20M, Ch149 40M, Ch36 40M, Ch48 80M.” will be adjusted to Ch44 40M, Ch165 20M, Ch157 40M, Ch36 20M, Ch149 40M, Ch36 40M, Ch48 80M.
  • Ch44 40M can be assigned to Island 1, Ch165 20M to Island 2, Ch157 40M to Island 3, and Ch36 20M to Island 4 in sequence. Since the total rate capacity of Ch149 40M is greater than that of Ch36 40M, Ch149 40M can be used as the candidate channel of island 1, and Ch36 40M can be used as the candidate channel of island 2. Ch48 80M is used as a public alternative channel.
  • the masterable device may assign the first channel to the first island. It is considered that the first channel may be allocated to other islands later, or the first channel will be released after the business of the first island is completed, so that the first channel can be re-allocated to other islands. However, before the first channel is allocated to other islands, it needs to determine whether the remaining rate capacity of the first channel meets the rate capacity requirements of other islands, so the master device needs to maintain the remaining rate capacity of the first channel. That is, when the first channel is allocated to the first island, the main device may update the remaining rate capacity of the first channel, that is, the rate capacity overhead of the service of the first island needs to be deducted from the remaining rate capacity of the first island. It should be noted that allocating the first channel to the first island can also be understood as updating the priority of the first channel for the master device, that is, adjusting the priority of the first channel upward, for example, adjusting the priority of the first channel upward by one level.
  • the first island is not assigned the first channel for the first time, then judge whether the interference difference between the first channel and the current channel of the first island is greater than or equal to a preset threshold.
  • the channel is not allocated to the first island for the first time, it means that the channel is currently allocated to the first island.
  • the master device finds a channel with less interference than the current channel of the first island, such as the first channel, considering that the interference gap between the first channel and the current channel of the first island is not large, even if the second The change of the channel of the first island from the current channel to the first channel has little impact on the business of the first island.
  • the interference difference between the first channel and the current channel of the first island is smaller than a preset threshold, the current channel of the first island may not be changed.
  • the first channel can be allocated to the first island, and the remaining rate capacity of the first channel can be deducted from the first island’s The rate capacity overhead of the business. That is, the first island is arranged on a channel with less interference to minimize the interference between devices or services.
  • the interference difference between the two channels may be the difference in channel interference scores between the two channels. It should be noted that allocating the first channel to the first island can also be understood as updating the master device
  • the priority of the first channel is to adjust the priority of the first channel upward, for example, the priority of the first channel is adjusted upward by one level. If the channel of the first island is not changed, it can also be understood that the priority of the first channel remains unchanged.
  • the master device can generate the second RRM information, which is used to schedule reasonable channels for each slave device, so as to ensure less interference between islands and less interference between services within the island.
  • the second RRM information is for example only. It should be noted that the master device does not need to inform each slave device of the total rate capacity and remaining rate capacity of each channel. That is, the second RRM information may not include the total rate capacity and remaining rate capacity of each channel.
  • the master device broadcasts the second RRM information on the common channel, and correspondingly, each slave device receives the second RRM information on the common channel.
  • the second RRM information may be carried in a beacon frame, and the master device broadcasts the beacon frame on a common channel.
  • Each slave device can know the sequence of switching channels after receiving the beacon frame from the master device.
  • the possible structure of the beacon frame will be introduced below, but not here. It should be understood that, following the example in FIG. 10 , the channel switching sequence of each device is as shown in FIG. 11 .
  • S541a-S543a mainly introduce the process of the master device on the public channel, and the following describes the process of the slave device on the public channel.
  • Each slave device receives and saves the second RRM information from the master device.
  • Each slave device judges whether the channel measurement is completed and whether the interference reporting timer expires.
  • Each slave device determines to complete the channel measurement, and sends channel interference information to the master device when the interference reporting timer expires. If a certain slave device has not completed the channel measurement, or the interference report timer has not expired, then the slave device continues to judge whether the channel measurement is completed and whether the interference report timer expires.
  • the first slave device Since the processes of each slave device are the same, for the convenience of description, the first slave device is taken as an example below to describe the processes of each slave device on a common channel. It should be understood that the first slave device may determine whether the channel measurement is completed on the common channel, and if the channel measurement is completed, the first slave device may send the channel measurement result, that is, channel interference information, to the master device. In order to enable the master device to determine the interference situation of each channel of each slave device within the same time period, an interference reporting timer may be uniformly set in this embodiment of the present application. Each slave device may report the generated channel interference information of each channel to the master device when the interference reporting timer expires.
  • the channel interference information may be carried in an action frame, and the first slave device sends the action frame to the master device, thereby notifying the master device of the channel interference information.
  • the structure of the action frame will be introduced below, but not here.
  • Each slave device determines whether the current channel needs to be changed according to the second RRM information.
  • the first slave device can receive and save the second RRM information from the master device before the interference reporting timer expires, so that the first slave device can perform channel switching according to the second RRM information to ensure The interference between the first slave device and other devices is as small as possible. If the first slave device needs to switch the channel, then the first slave device switches the service channel, and continues the service transmission on the switched channel. If channel switching is not required, the first slave device continues service transmission on the current service channel.
  • the preceding embodiments mainly introduce the process of the master device and the slave device on the public channel, and the following describes the process of the master device and the slave device on the service channel. It should be understood that no distinction is made between the master device and the slave device on the traffic channel, that is, the angles of each device in S551-S557 are equal.
  • Each device continues service transmission on the current channel.
  • each slave device determines that there is no need to change the channel according to the second RRM information, each slave device switches to the current channel within the time slot for channel switching to continue service transmission.
  • each device switches to the next channel, and measures the next channel to generate channel interference information of the channel.
  • the scanning period refers to the channel measurement period. If each device determines that the service is idle, it can switch to the next channel, measure the next channel, and generate channel interference information according to the measurement result. Or, if each device determines that the scanning period expires, that is, the measurement of the current channel has been completed, it can also switch to the next channel, perform measurement on the next channel, and generate channel interference information according to the measurement result. For example, each device can cyclically measure the channels defined in advance; or, the master device can inform each slave device which channels to measure, which is more flexible; or, the island owner in each island can additionally notify other devices in the island which channels to measure, In order to prevent the slave device from missing the measured channel due to not receiving the notification from the master device.
  • each device After each device obtains the channel interference information, it can send the channel interference information to the master device on the common channel.
  • each device determines that the service is not idle it means that the device is performing service. In this case, in order to minimize the service delay, each device can continue service transmission.
  • the scan period has not expired and it is determined that the measurement of the current channel has been completed, the measurement can also be switched to the next channel, that is, one channel or multiple channels can be measured in one scan period.
  • each device performs channel measurement on each channel currently in use or other candidate channels on the service channel, and notifies the main device of the channel interference information obtained through the measurement.
  • the master device can prioritize each information according to the channel interference information reported by each channel, and the channel with less interference has a higher priority.
  • the master device can sort according to the priority of each channel, and each device preferentially allocates channels with less interference.
  • each link follows the channel of GO or randomly selects the channel
  • the embodiment of the present application can ensure that each connection of each device works on a channel with less interference, and minimize the interference between devices and Interference between business.
  • the channel and time slot allocation of each link is negotiated by the devices at both ends of the link. throughput.
  • the channels of each device are managed centrally, so as to ensure that each device switches to a channel with less interference in real time. In this way, it can try to ensure that the interference duty cycle between channels is less than or equal to 10%, and avoid the 2K 60fps projection service from being stuck.
  • the solution of the embodiment of the present application can still reduce the interference between channels In comparison, it can avoid business jams and increase the number of business links, that is, improve the overall throughput of the network, as shown in Table 9.
  • Table 9 shows the experimental comparison results of the number of links between the solution provided by the embodiment of the present application and the solution provided by the prior art.
  • service freezes may occur when each device is performing services, or the service delay is relatively large, or the channel is busy due to interference. In this case, for the normal operation of the service, it can be switched to an alternative channel or other channels with less interference.
  • any device determines that the channel switching condition is met, for example, there is a service freeze, or the service delay is large, or the channel is busy due to interference, the device can notify other devices on the island where the device is located to switch to alternate channel.
  • Each device judges whether a channel switching condition is met.
  • the first slave device determines that the channel switching condition is satisfied, the first slave device sends a notification frame to other devices on the island where the device is located, where the notification frame is used to notify the other devices to switch to an alternative channel.
  • Each device may send a notification frame to other devices in the island, or broadcast a notification frame in the island, which is not limited in this embodiment of the present application.
  • the possible structure and implementation of the notification frame will be introduced below, which will not be introduced here.
  • the other device switches a channel, and continues service transmission on the switched channel.
  • the master device broadcasts the second RRM information indicating the alternative channel and the priority of the alternative channel, other devices receive the notification frame and can Priority, switch to the channel with higher priority.
  • any device determines that the channel switching condition is satisfied, it notifies other devices in the island to switch to a channel with less interference, so as to ensure the normal operation of the service as much as possible.
  • S554-S556 introduces the process that any device actively notifies other devices in the island to switch channels.
  • the master device forces each slave device to switch the current channel.
  • some slave devices may switch to channels of other islands because they have not obtained the second RRM information.
  • there are a first island and a second island and the first slave device in the first island does not receive the beacon frame carrying the second RRM information from the master device.
  • the second slave device in the first island determines that the channel switching condition is satisfied, and the second slave device sends a notification frame to each slave device in the first island.
  • the first slave device in the first island cannot obtain the second RRM information, it may continue to use the saved RRM information, which may cause the first island and the second island to switch to the same channel, causing mutual interference.
  • the master device can maintain the second RRM information, so the master device forces each slave device to switch the current channel to avoid abnormal switching of different islands to the same channel and reduce mutual interference between links.
  • it can also avoid that a certain device cannot switch to the same channel as other devices on the island because it has not received the notification frame sent by other devices on the island.
  • the master device can force the device to switch to the same channel as other devices on the island.
  • the master device forces each slave device to switch the current channel after determining that the channel switching condition is satisfied. For example, in a possible scenario, the master device discovers that the two islands have switched to the same channel, or a channel with less interference, through the connection information of each device in the system. Each device within an island sends a notification frame for channel switching.
  • the notification frame may carry information about channels to be switched by each device in the island.
  • the master device discovers that different devices in the same island are not on the same channel through the connection information of each device in the system.
  • the channel of the first island is the first channel
  • the master device finds that the first slave device in the first island is on the first channel
  • the second slave device in the first island is not on the first channel.
  • the master device may transmit a notification frame for channel switching to the second slave device.
  • the notification frame may carry related information of the first channel.
  • the beacon frame used for the master device to broadcast RRM information another example, the dynamic frame used for reporting channel interference information from the device, that is, the action frame;
  • the action frame a notification frame for channel switching may also be called a channel switching frame, and the channel switching frame may also be an action frame.
  • the action frame used for reporting channel interference information from the device and the action frame used for channel switching can be user-defined frames.
  • the action frame may include a field for carrying an identification of the type of the action frame, so as to distinguish the role of the action frame.
  • FIG. 12 is a schematic structural diagram of an action frame for reporting channel interference information from a device.
  • the format of the action frame can refer to Vendor Specific IE, which carries RRM information and the private IE in the Action frame.
  • the action frame may include a plurality of fields, such as a frame control (Frame Control) field, a period (Duration) field, and information fields for carrying the island and each device in the island, such as including a master device address field (address1 field), a slave Device address field (address2 field), island identification field (BSSID) field, sequence control (sequence control) field, frame body (frame body) field, frame check sequence (frame check sequence, FCS), etc.
  • FIG. 12 is only an example, and the PNF may include more or less fields, and each field may occupy one or more bits, which is not limited in this embodiment of the present application.
  • the Frame Control field can occupy multiple bits and is used to carry information such as protocol version and frame subtype.
  • the Duration field can occupy multiple bits and is used to bear the channel occupation time.
  • the BSSID field can occupy multiple bits and is used to carry information about the island where the slave device is located.
  • the sequence control field can occupy multiple bits and is used to carry the sequence number of the sent packet.
  • the frame body field can occupy multiple bits and is used to carry channel interference information of the slave device.
  • the frame body field may include multiple fields, such as a code field, an organizationally unique identifier (OUI) field, an OUI subtype (Subtype) field, a type (action type) field, and a length type value (length type value, TLV) type field, channel country code field, and channel interference information field.
  • the code field can be filled in according to the category code (category code) of the action frame, for example, can be determined as 127 according to the 802.11 protocol, indicating Vendor-specific action.
  • OUI The fields can be predefined, for example, the OUI field can be used to carry "0x00-E0-FC" to indicate that the action is a private frame.
  • the OUI Type field is used to identify the type of OUI, such as the private frame related to the action frame provided by the embodiment of this application
  • the OUI Subtype field is used to identify the action frame type, for example, the action frame type can be "0x88".
  • the TLV type field can be "4".
  • the channel country code field is used to identify the country code of each channel.
  • the channel interference information field is used for Carry the channel interference information of each channel, such as channel interference score and interference duty cycle, etc. As shown in Figure 12, the information interference information field can be used to carry the channel interference score and interference duty cycle of Ch36 20M, Ch36 40M, Ch36 80M and Ch165 20M Blank ratio. It should be noted that the definition of the fields other than the channel interference information field that may be included in the action frame can refer to the definition in the 802.11 standard, and will not be repeated here.
  • FIG. 13 is a schematic structural diagram of an action frame used for channel switching.
  • the action frame format is similar to that in Figure 12, and you can refer to the relevant content in Figure 12.
  • the frame body field of the action frame used for channel switching may include fewer fields, such as including code field, OUI field, The OUI Type field (such as carrying a special (Feature) ID), TLV type field, and TLV length field are used to carry the information field of the channel to be switched to, such as including the Ch number field used to carry the channel number and the bandwidth used to carry the channel The BW field, and the Change CH Time field used to carry the switching channel time.
  • the OUI Type field such as carrying a special (Feature) ID
  • TLV type field such as carrying a special (Feature) ID
  • TLV length field are used to carry the information field of the channel to be switched to, such as including the Ch number field used to carry the channel number and the bandwidth used to carry the channel The BW field, and the Change CH Time field used to carry the switching channel time.
  • the beacon frame can carry the RRM information to be sent by the master device, such as the score of each channel, the bandwidth of each channel, the number of devices on each island, the number of islands allocated to each channel, and the MAC addresses of the devices included in each island.
  • CH1 Number represents the number of the channel with the highest score; BW occupies 2 bits, representing the bandwidth corresponding to the score; Team Number occupies 6 bits, representing the number of teams assigned to the channel and bandwidth of the island; Score Indicates the score of this channel; Rate Capacity indicates the remaining rate capacity; Team 1 STA Number indicates the number of nodes in the first Team assigned; MAC xx indicates the MAC address of the nodes in Team 1, and xx is the serial number of the nodes in the Team; CH2 Number indicates the number of the channel with the second highest score; BW indicates the bandwidth corresponding to the score, and so on.
  • the Team Number is all assigned a value of 0, that is, it does not carry the number of teams allocated to the channel and bandwidth of the island, but only carries the channel score ranking information.
  • an embodiment of the present application further provides an electronic device, such as a mobile phone, or a PAD, or a portable computer, or a smart speaker.
  • the electronic device may include: a display screen 1501; one or more processors 1502; one or more memories 1503 for storing one or more programs 1504;
  • the communication bus 1505 is connected.
  • the display screen 1501 can be used to display the content of a file in the electronic device; or the display screen 1501 can also be used to display the desktop of the electronic device; or the display screen 1501 can be used to display an image and so on.
  • the electronic device when one or more programs 1504 stored in the memory 1503 are executed by one or more processors 1502, the electronic device can be used to execute the steps in each embodiment of signing, for example, execute the steps shown in Figure 5 or Figure 7 Each step in the embodiment or other corresponding embodiments.
  • the electronic device may further include a transceiver for communicating with other devices.
  • the processor 1502 may be a processing module/processing unit, and the transceiver may be a transceiver module/communication interface and the like.
  • the electronic device is used to implement the behavior functions of the master device in the foregoing embodiments.
  • the transceiver can be used to receive channel score information from each slave device, each channel score information is used to indicate the degree of interference of each channel measured by the corresponding device;
  • the processor can be used to The channel scoring information generates the first RRM information, and the first RRM information is used to indicate the priority ranking of each channel, wherein, the higher the priority of the channel, the lower the interference level of the channel; the transceiver is also used to send each slave The device sends first RRM information.
  • the processor is further configured to measure each channel to obtain the channel score information of the master device before generating the first RRM information according to the received channel score information and the channel score information of the master device .
  • the processor is specifically configured to:
  • target interference information includes channel interference scores and/or interference duty cycles of each channel
  • the processor is specifically configured to: update the first RRM information according to one or more of the following factors: the channel interference score of each channel, the interference duty cycle of each channel, the corresponding The service priority of the island, the remaining rate capacity of each channel, the total rate capacity of each channel, and the number of devices included in each island.
  • the processor is further configured to: according to the service priority of the first island, determine that the remaining rate capacity of the first channel to be allocated to the first island does not meet the service requirements of the first island, Decrease the priority of the first channel by one level, and update the first RRM information to the second RRM information.
  • the processor is further configured to determine that the master device meets the channel switching condition; the transceiver is further configured to send a first notification frame to other devices on the island where the master device is located, and the first notification The frame is used to notify said other devices to switch to an alternate channel.
  • the channel switching condition includes one or more of the following: service freeze, service delay exceeding a second preset threshold, and the second channel currently working by the master device is busy.
  • the processor is also used to determine that the second slave device and the third slave device included in the second island work on multiple channels; the transceiver is also used to send the second slave device to the third slave device A first notification frame, where the first notification frame is used to instruct the third slave device to switch to the working channel of the second slave device.
  • the processor is further configured to determine that the third island and the fourth island work on the third channel; the transceiver is further configured to send a second notification frame to the fourth island, the second The notification frame is used to instruct the fourth island to switch from the third channel to the fourth channel.
  • the electronic device is used to realize the behavior function of the first slave device in the foregoing embodiments.
  • the transceiver is used to send channel score information to the main device, and receive the first RRM information from the main device; the processor is used to determine that the degree of interference of the currently working first channel is greater than the first preset threshold, according to the first RRM information is switched from the first channel to the second channel.
  • the channel score information is used to indicate the degree of interference of each channel measured by the first slave device; the higher the priority of the channel, the lower the degree of interference of the channel; the degree of interference of the first channel is greater than that of the second channel. level of interference.
  • the transceiver is specifically used for:
  • the channel score information is sent to the master device.
  • the reporting interference timer includes multiple durations, and each duration is used for some slave devices to report their respective channel interference information.
  • the difference between the interference level of the first channel and the interference level of the second channel is greater than or equal to a second preset threshold.
  • the processor is further configured to determine that the first slave device meets the channel switching condition; the transceiver is configured to send a first notification frame to other devices on the island where the first slave device is located, and the first slave device A notification frame is used to notify the other devices to switch to an alternative channel.
  • the channel switching condition includes one or more of the following: service freeze, service delay exceeding a second preset threshold, and the second channel is busy.
  • the transceiver is also used for:
  • a second notification frame from the master device is received, where the second notification frame is used to instruct the first slave device to switch to the working channel of the second slave device.
  • the first slave device and the second slave device belong to the same island, and the first slave device and the second slave device work on different channels.
  • the transceiver is also used for:
  • the third notification frame is used to instruct the first slave device to switch from the fourth channel to the fifth channel.
  • the fourth channel is a channel on which multiple islands work, and the first slave device belongs to one of the multiple islands.
  • each functional unit in the embodiment of the present invention may be integrated into one processing unit, or each unit may physically exist separately, or two or more units may be integrated into one unit.
  • the first acquisition unit and the second acquisition unit may be the same unit or different units.
  • the above-mentioned integrated units can be implemented in the form of hardware, or in the form of software functional units, or in the form of hardware combined with software functional units.
  • the term “when” may be interpreted to mean “if” or “after” or “in response to determining" or “in response to detecting".
  • the phrases “in determining” or “if detected (a stated condition or event)” may be interpreted to mean “if determining" or “in response to determining" or “on detecting (a stated condition or event)” or “in response to detecting (a stated condition or event)”.
  • all or part of them may be implemented by software, hardware, firmware or any combination thereof.
  • software When implemented using software, it may be implemented in whole or in part in the form of a program product.
  • the program product includes one or more computer instructions. When the program instructions are loaded and executed on the computer, the processes or functions according to the embodiments of the present application will be generated in whole or in part.
  • the computer can be a general purpose computer, a special purpose computer, a computer network, or other programmable devices.
  • the computer instructions may be stored in or transmitted from one computer-readable storage medium to another computer-readable storage medium, for example, the computer instructions may be transmitted from a website, computer, server or data center Transmission to another website site, computer, server, or data center by wired (eg, coaxial cable, optical fiber, DSL) or wireless (eg, infrared, wireless, microwave, etc.) means.
  • the computer-readable storage medium may be any available medium that can be accessed by a computer, or a data storage device such as a server or a data center integrated with one or more available media.
  • the available media may be magnetic media (eg, floppy disk, hard disk, magnetic tape), optical media (eg, DVD), or semiconductor media (eg, solid state hard disk), etc.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Quality & Reliability (AREA)
  • Physics & Mathematics (AREA)
  • Electromagnetism (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

本申请公开一种资源管理方法及设备,该方法应用于包括主设备和多个从设备的域,所述域内相互连接的多个设备形成岛。该方法包括:主设备接收来自各个从设备的信道评分信息,并根据接收的信道评分信息和主设备的信道评分信息生成第一RRM信息,以及将第一RRM信息发送给各个从设备。该第一RRM信息用于指示各个信道的优先级排序,其中,信道的优先级越高,所述信道的干扰程度越低。由于主设备可根据各个信道上报的信道干扰信息对各个信息进行优先级排序,并根据各个信道的优先级排序为各个设备优先分配干扰较小的信道,从而可实现整网协同调度抗干扰,提升网络整体的吞吐量。

Description

一种资源管理方法及设备
相关申请的交叉引用
本申请要求在2021年05月14日提交国家知识产权局、申请号为202110529036.9、申请名称为“一种资源管理方法及设备”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。
技术领域
本申请涉及通信技术领域,尤其涉及一种资源管理方法及设备。
背景技术
通常多设备基于无线保真(wireless fidelity,WiFi)互联。由于WiFi工作在非授权频段,即任何符合射频规格的设备都可以在该频段上发送数据或接收数据。为了减少网络中各个设备之间的冲突,规定网络中的所有设备可采用带有冲突避免的载波侦听多路访问(carrier sense multiple access with collision avoidance,CSMA/CA)机制进行通信。即网络中所有设备在发送数据之前,均可主动发起信道接入过程,之后可通过CSMA/CA机制监听信道状态,也就是确定该信道是否空闲。只有信道处于空闲状态,才会使用该信道发送数据。
然而由于WiFi采用非授权频段组网,以及CSMA信道竞争机制,导致网络内信道干扰较为严重。尤其是在办公室、旗舰店卖场、展会等业务密集场景内,信道干扰尤为严重,导致设备业务卡顿等问题。对于多设备互联的网络拓扑,设备的链路较多,当同时进行多个链路的业务,多个链路之间的信道干扰概率更大,限制网络整体吞吐量。对此,还没有相应的防干扰解决方案。
发明内容
本申请提供一种资源管理方法及设备,用于统一管理系统的空口资源,降低系统中各个链路之间的相互干扰。
第一方面,提供一种分布式系统的资源管理方法,该方法可用于包括主设备和多个从设备的域,所述域内相互连接的多个设备形成岛。该方法适用于域内的任意设备,下面以该方法由主设备执行为例,该方法包括:
主设备接收来自各个从设备的信道评分信息,并根据接收的所述信道评分信息和主设备的信道评分信息生成第一无线资源管理(radio resource management,RRM)信息,以及向各个从设备发送第一RRM信息。其中,每个信道评分信息用于指示对应设备所量的各个信道被干扰的程度。第一RRM信息用于指示各个信道的优先级排序,其中,信道的优先级越高,所述信道的干扰程度越低。
在本申请实施例中,通过获取系统中各个设备的信道干扰评分和业务类型,综合信道的容量以及信道的干扰情况,调度被分配的信道。这样可以让更多设备链路工作在干扰较小的信道上,降低多个链路之间的相互干扰。
应理解,在主设备根据接收的信道评分信息和主设备的信道评分信息生成第一RRM信息之前,主设备对各个信道进行测量,获得主设备的信道评分信息。
在一种可能的实现方式中,主设备根据接收的信道评分信息和主设备的信道评分信息生成第一RRM信息,包括:
主设备合并来自多个从设备的信道干扰信息,获得目标信道干扰信息,并根据目标干扰信息生成第一RRM信息。该目标干扰信息包括各个信道的信道干扰评分和/或干扰占空比。该方案中,主设备可根据各个设备的信道干扰评分和/或干扰占空比为各个信道的优先级进行初始排序。
在一种可能的实现方式中,主设备根据以下一种或多种因素更新第一RRM信息:各个信道的信道干扰评分、各个信道的干扰占空比、各个信道对应的岛的业务优先级、各个信道的剩余速率容量、各个信道的总速率容量以及各个岛包括的设备数量。
应理解,各个岛内的设备进行的业务实际需求不同,也会影响信道的调度;或者各个岛内设备数量的多少,也会影响信道的调度;或者各个岛内信道的剩余速率容量的不同,同样会影响信道的调度。因此,该方案中,除了考虑信道的干扰评分之外,还可以综合各个信道对应的岛的业务优先级、各个信道的剩余速率容量、各个信道的总速率容量以及各个岛包括的设备数量等,对各个信道进行优先级排序。这样可得到更准确的优先级排序,以尽量保证各个岛被分配的信道的干扰程度小,且尽量保证不影响各个岛的业务进行。
在一种可能的实现方式中,所述方法还包括:
主设备根据第一岛的业务优先级,确定为第一岛待分配的第一信道的剩余速率容量不满足第一岛的业务需求,将第一信道的优先级降低一级,并将第一RRM信息更新为第二RRM信息。该方案中,在为第一岛分配信道时,可综合考虑待分配信道的剩余速率容量。当待分配信道的剩余速率容量不足以满足当前的业务需求,那么为了减小对第一岛的业务影响,可分配干扰较大的信道。即将待分配信道的优先级降低一级,并更新RRM信息。这样根据各个信道的剩余速率容量以及各个岛的业务实际需求,来动态调整RRM信息,从而更为合理地为各个岛分配信道。
在一种可能的实现方式中,所述方法还包括:若主设备确定主设备满足信道切换条件,向主设备所在岛内的其他设备发送第一通知帧,该第一通知帧用于通知所述其他设备切换到备选信道。其中,所述信道切换条件包括以下的一种或多种:业务卡顿,业务时延超过第二预设阈值,主设备当前工作的第二信道繁忙。该方案中,任意设备检测到信道干扰影响该设备进行的业务,可请求系统中的其余设备切换到备选信道,以尽量提升抗干扰性能和系统容量。
在一种可能的实现方式中,所述方法还包括:若主设备确定第二岛包括的第二从设备和第三从设备工作在多个信道,则主设备向第三从设备发送第一通知帧,该第一通知帧用于指示第三从设备切换到第二从设备工作的信道。该方案中,主设备通过系统内各个设备的连接信息发现一个岛内的不同设备工作在多个信道,主设备可向岛内的某个或某些设备发送用于信道切换的通知帧,以保证岛内的设备工作在同一信道。这样可避免有些从设备由于没有获取到第二RRM信息,可能切换到别的岛的信道。
在一种可能的实现方式中,所述方法还包括:若主设备确定第三岛和第四岛工作在第三信道,则主设备向第四岛发送第二通知帧,该第二通知帧用于指示第四岛从第三信道切换到第四信道。该方案中,主设备确定多个岛切换到同一个信道,或者有干扰更小的信道, 主设备强制各个从设备切换当前信道。
第二方面,提供一种分布式系统的资源管理方法,该方法可用于包括主设备和多个从设备的域,所述域内相互连接的多个设备形成岛。该方法适用于域内的任意设备,下面以该方法由第一从设备执行为例,该方法包括:
第一从设备向主设备发送信道评分信息,并接收来自主设备的第一RRM信息,在确定当前工作的第一信道被干扰的程度大于第一预设阈值,根据第一RRM信息从第一信道切换到第二信道。其中,信道评分信息用于指示第一从设备所测量的各个信道被干扰的程度;信道的优先级越高,所述信道的干扰程度越低;第一信道被干扰的程度大于第二信道被干扰的程度。
在一种可能的实现方式中,第一从设备向主设备发送信道评分信息,包括:
第一从设备在上报干扰定时器的第一时长到期,向主设备发送信道评分信息。其中,所述上报干扰定时器包括多个时长,每个时长用于部分从设备上报各自的信道干扰信息。该方案中,也就是上报干扰定时器包括多个时长,每个时长用于部分从设备上报各自的信道干扰信息,这样可使得各个从设备上报的信息干扰信息尽量错开,保证传输质量。
在一种可能的实现方式中,第一信道的干扰程度与第二信道的干扰程度之间的差值大于或等于第二预设阈值。该方案中,从设备确定当前工作的信道和待分配的信道之间的干扰程度较大,才切换到待分配的信道,以避免不必要的切换流程。
在一种可能的实现方式中,所述方法还包括:
第一从设备确定第一从设备满足信道切换条件,向第一从设备所在岛内的其他设备发送第一通知帧,该第一通知帧用于通知所述其他设备切换到备选信道。其中,所述信道切换条件包括以下的一种或多种:业务卡顿,业务时延超过第二预设阈值,第二信道繁忙。
在一种可能的实现方式中,所述方法还包括:
第一从设备接收来自主设备的第二通知帧,该第二通知帧用于指示第一从设备切换到第二从设备工作的信道。其中,第一从设备和第二从设备属于同一个岛,第一从设备和第二从设备工作在不同信道。
在一种可能的实现方式中,所述方法还包括:
第一从设备接收来自主设备的第三通知帧,该第三通知帧用于指示第一从设备从第四信道切换到第五信道。其中,第四信道为多个岛工作的信道,第一从设备属于所述多个岛中的一个岛。
关于第二方面或第二方面的任一可能的实现方式的有益效果可参考第一方面以及第一方面的各个可能实现方式的有益效果,这里不再赘述。
第三方面,提供一种电子设备,该电子设备包括显示屏、一个或多个处理器、存储器、收发器,以及一个或多个程序。其中,所述一个或多个程序被存储在所述存储器中,所述一个或多个程序包括指令,当所述指令被所述电子设备执行时,使得所述电子设备执行上述第一方面或者任意一种可能的实施方式中由主设备所提供的方法,或者,使得所述电子设备执行上述第二方面或者任意一种可能的实施方式中由第一从设备所提供的方法。
例如,收发器可用于接收来自各个从设备的信道评分信息,每个信道评分信息用于指示对应设备所测量的各个信道被干扰的程度;处理器可用于根据接收的所述信道评分信息和主设备的信道评分信息生成第一RRM信息,第一RRM信息用于指示各个信道的优先级排序,其中,信道的优先级越高,所述信道的干扰程度越低;收发器还用于向各个从设备发 送第一RRM信息。
作为一种可选的实现方式,所述处理器具体用于:
合并来自多个从设备的信道干扰信息,获得目标信道干扰信息,该目标干扰信息包括各个信道的信道干扰评分和/或干扰占空比;
根据目标信道干扰信息以及以下一种或多种因素对各个信道进行优先级排序,并根据排序后的各个信道生成第一RRM信息:各个信道的信道干扰评分、各个信道的干扰占空比、各个信道对应的岛的业务优先级、各个信道的剩余速率容量、各个信道的总速率容量以及各个岛包括的设备数量。
作为一种可选的实现方式,所述处理器还用于:根据第一岛的业务优先级,确定为第一岛待分配的第一信道的剩余速率容量不满足第一岛的业务需求,将第一信道的优先级降低一级,并将第一RRM信息更新为第二RRM信息。
作为一种可选的实现方式,所述处理器还用于确定主设备满足信道切换条件;所述收发器还用于向主设备所在岛内的其他设备发送第一通知帧,该第一通知帧用于通知所述其他设备切换到备选信道。其中,所述信道切换条件包括以下的一种或多种:业务卡顿,业务时延超过第二预设阈值,主设备当前工作的第二信道繁忙。
作为一种可选的实现方式,所述处理器还用于确定第二岛包括的第二从设备和第三从设备工作在多个信道;所述收发器还用于向第三从设备发送第一通知帧,该第一通知帧用于指示第三从设备切换到第二从设备工作的信道。
作为一种可选的实现方式,所述处理器还用于确定第三岛和第四岛工作在第三信道;所述收发器还用于向第四岛发送第二通知帧,该第二通知帧用于指示第四岛从第三信道切换到第四信道。
又例如,收发器用于向主设备发送信道评分信息,并接收来自主设备的第一RRM信息;所述处理器用于在确定当前工作的第一信道被干扰的程度大于第一预设阈值,根据第一RRM信息从第一信道切换到第二信道。其中,信道评分信息用于指示第一从设备所测量的各个信道被干扰的程度;信道的优先级越高,所述信道的干扰程度越低;第一信道被干扰的程度大于第二信道被干扰的程度。
作为一种可选的实现方式,所述收发器具体用于:
在上报干扰定时器的第一时长到期,向主设备发送信道评分信息。其中,所述上报干扰定时器包括多个时长,每个时长用于部分从设备上报各自的信道干扰信息。
作为一种可选的实现方式,第一信道的干扰程度与第二信道的干扰程度之间的差值大于或等于第二预设阈值。
作为一种可选的实现方式,所述处理器还用于确定第一从设备满足信道切换条件;所述收发器用于向第一从设备所在岛内的其他设备发送第一通知帧,该第一通知帧用于通知所述其他设备切换到备选信道。其中,所述信道切换条件包括以下的一种或多种:业务卡顿,业务时延超过第二预设阈值,第二信道繁忙。
作为一种可选的实现方式,所述收发器还用于:
接收来自主设备的第二通知帧,该第二通知帧用于指示第一从设备切换到第二从设备工作的信道。其中,第一从设备和第二从设备属于同一个岛,第一从设备和第二从设备工作在不同信道。
作为一种可选的实现方式,所述收发器还用于:
接收来自主设备的第三通知帧,该第三通知帧用于指示第一从设备从第四信道切换到第五信道。其中,第四信道为多个岛工作的信道,第一从设备属于所述多个岛中的一个岛。
第四方面,提供一种电子设备,所述电子设备包括用于执行第一方面或者任意一种可能的实施方式中由主设备所执行的方法的模块/单元;或者,所述电子设备包括用于执行第二方面或者任意一种可能的实施方式中由第一从设备所执行的方法的模块/单元。
第五方面,提供一种系统,该系统包括第一设备、第二设备和第三设备,可选的,该系统还可以包括其他设备,该系统所包括的设备能够实现分布式业务,例如多屏协同。各个设备可通过第三方面的电子设备或第四方面的电子设备实现。
第六方面,提供一种芯片,该芯片包括处理器和接口,所述接口用于与所述处理器通信以及接收来自其他设备的信息;所述处理器用于执行上述第一方面以及第一方面的任一可能实现方式中所述的方法,或者,所述处理器用于执行上述第二方面以及第二方面的任一可能实现方式中所述的方法。
第七方面,提供一种计算机可读存储介质,所述计算机可读存储介质用于存储计算机程序,当所述计算机程序在计算机上运行时,使得所述计算机执行如下的一种或多种方法:上述第一方面或任意一种可能的实施方式中由主设备所执行的方法,上述第二方面或的任意一种可能的实施方式中由第一从设备所执行的方法。
第八方面,提供一种包含指令的计算机程序产品,所述计算机程序产品用于存储计算机程序,当所述计算机程序在计算机上运行时,使得所述计算机执行如下的一种或多种方法:上述第一方面或的任意一种可能的实施方式中由主设备所执行的方法,上述第二方面或的任意一种可能的实施方式中由第一从设备所执行的方法。
附图说明
图1为一种分布式系统的网络架构示意图;
图2为另一种分布式系统的网络架构示意图;
图3为电子设备的一种结构示意图;
图4为本申请实施例提供的分布式系统的网络架构示意图;
图5为本申请实施例提供的资源管理方法的流程示意图;
图6为本申请实施例提供的一示例性的分布式系统的网络架构示意图;
图7为本申请实施例提供的主设备根据各个从设备的信道干扰信息生成RRM信息的流程示意图;
图8为本申请实施例提供的主设备合并各个从设备的信道干扰信息的示意图;
图9为本申请实施例提供的一种分布式系统的网络架构示意图;
图10为图9中各个岛的业务类型以及各个岛的业务的速率需求的示意图;
图11为本申请实施例提供的各个设备的信道切换顺序的示意图;
图12为本申请实施例提供的从设备上报信道干扰信息的action帧的结构示意图;
图13为本申请实施例提供的用于信道切换的action帧的结构示意图;
图14为本申请实施例提供的beacon帧的一种结构示意图;
图15为本申请实施例提供的电子设备的结构示意图。
具体实施方式
为了使本申请的目的、技术方案和优点更加清楚,下面将结合附图对本申请作进一步地详细描述。
随着物联网技术的发展,越来越多的业务或应用希望可以通过多个设备协同工作实现。例如,为了提高用户的体验,提供了多屏协同功能(或者,称为多设备协同功能),从而可支持多设备协同工作的应用与业务,例如多屏协同、信息共享等。举例来说,在多屏协同功能下,设备1可以向设备2进行投屏,从而设备1上的文件可以在设备2上打开。例如手机和个人计算机(personal computer,PC)进行多屏协同,则在PC的显示屏上会显示手机的镜像,在PC上显示的手机的镜像也可理解为投屏界面。用户在PC上的投屏界面上操作,例如用户选择打开文件A,则PC可以打开文件A,但实际上文件A是手机中的文件。PC相对于手机来说显示屏的面积更大,用户在PC上观看该文件,可以提升用户的观看效果。
为了便于描述,在本申请实施例中,将依赖多设备协同工作的应用或业务统称为分布式业务。应理解,支撑分布式业务需要将手机、平板、PC、显示屏等多个终端设备连接在一起,实现多个设备间的一对一连接或一对多连接,甚至多对多连接的系统,即多设备互联,从而使分布式业务在多个终端设备中协同运行。
作为一种示例,多个设备之间可组成一对一连接,或一对多连接的系统。例如,基于无线保真(wireless fidelity,WiFi)联盟(WI-FI alliance,WFA)开发定义了无线保真点对点(wireless fidelity Peer-to-Peer,WiFi P2P)协议建立的分布式系统。WiFi P2P协议是一种点对点的连接技术,使得多个WiFi设备在没有接入点(又称为访问节点)(access point,AP)的情况下也能构成一个网络(Network)。该网络也可称为P2P Network,或者P2P组(Group),该网络内的多个WiFi设备能够相互通信。WiFi P2P协议的大致原理是:可在两台工作站(又称为站点)(Station,STA)之间直接建立传输控制协议(transmission control protocol,TCP)/网际协议(internet protocol,IP)链接。这两台STA中的一台STA可认为是传统意义上的AP,称为群组拥有者(group owner,GO),相对而言,这两台STA中的另外一台STA可称为群组用户(group client,GC)。也就是GC类似STA,GO类似AP,那么类似STA连接到AP,GC也可连接到GO。应理解,在P2P Network或P2P Group中的一个GO可对应一个GC,也可以对应多个GC,即GO和GC之间可以是一对一的关系,也可以是一对多的关系。
应理解,WiFi P2P协议基于802.11协议框架开发,属于一种中心式的网络通信结构。也就是,WiFi P2P要求每个终端设备都必须配置一个角色,例如可以是GO或GC。GO作为中心节点,能够与该GO连接的任意GC节点进行通信,但是GO和GO之间、GC与GC之间不能相互通信。
为了便于理解,请参见图1,为分布式系统的一种网络架构示意图。图1包括3个终端设备,这3个终端设备分别是位于一个网络内的终端设备101、终端设备102和终端设备103。图1以终端设备101和终端设备102是手机,终端设备103是PAD为例。在图1中,终端设备101、终端设备102和终端设备103初始建链之后,终端设备103是GO,终端设备101和终端设备102均为GC。终端设备103可以与终端设备101进行协同业务,也可以与终端设备102进行协同业务。例如,如图1所示,终端设备103和终端设备102可进行投屏业务。如果需要协同的业务存在于互联的多个设置中的任意两个GC,由于GC 与GC之间不能互相通信,显然无法进行协同业务。例如,如图1所示,需要在终端设备101和终端设备102之间实现信息共享,但是由于终端设备101和终端设备102均为GC,那么受终端设备102和终端设备101充当的角色限制,需要断开终端设备102和终端设备103之间的连接。对终端设备101和终端设备102重新建链,以使得终端设备101为GO,从而实现与终端设备102之间的信息共享,否则无法实现终端设备102和终端设备101之间的信息共享。当终端设备101和终端设备102重新建链之后,终端设备101和终端设备102中一个终端设备充当GO,另一个终端设备充当GC,且终端设备102和终端设备103之间的链路断开。例如,图1以终端设备101充当GO,终端设备102充当GC为例。也就是说一个设备的角色随着建链的变化,角色是可以变化的,例如终端设备101在初始建链之后,终端设备101的角色为GC,再之后重新建链之后,终端设备101的角色是GO。
作为另一种示例,多个设备也可以组成多对多连接的系统。例如,在一些实施例中,基于邻居感知网络(neighbor awareness networking,NAN)协议建立的分布式系统。即某一设备基于WiFi发现同一区域内的其他设备,在该区域内所有设备中选择一个设备作为主设备,那么除主设备之外的设备为从设备。从设备可将与主设备进行时间同步。例如,主设备定期发送携带时间信息的信令帧。各个从设备接收到信令帧,根据该信令帧的时间信息与主设备进行时间同步,这样位于一个网络内的所有设备时间同步。例如,主设备可分配一些发现窗口(discovery window,DW),主设备以及各个从设备可在DW广播自身的信息。当然,任意设备可在DW内可监听来自其他设备广播的信息。任意设备在DW时隙结束前可通过检测其他设备发送的同步信标帧(synchronization beacon)来发现其他设备。应理解,同步信标帧是处于活动状态的设备发送的。各个设备发现彼此之后,可彼此建立连接。
多个设备建立连接之后,各个设备基于空口资源在时域(时间片)和频域(信道)上的最小数据传输单位,即活动窗口(avaliable windows,AW)来调度空口资源。也就是各个设备通过调度AW配置来控制空口传输。
又例如,在一些实施例中,设备间也可以基于蓝牙或WiFi互相发现,并与发现的设备建立连接;再通过建立的通信通道协商彼此建立WiFi直连通信的链路信息,基于该链路信息实现设备间的WiFi直连通信,从而组成分布式系统。由于设备间发现之后建立通信连接,再通过设备间建立的通信通道协商设备间建立WiFi直连通信的链路信息,所以无需为各个设备分配具体的角色。不管是基于NAN协议建立设备间的连接所得到的分布式系统,还是基于蓝牙或WiFi互相发现,并与发现的设备建立连接所得到的分布式系统,设备间可以是一对一的关系,也可以是一对多的关系,还可以是多对多的关系,且系统中各个设备的角色对等。这样分布式业务可在任意设备间协同,不会因角色问题而使得分布式业务受限。例如,分布式系统的第一设备可投屏到第二设备,同时第一设备和第三设备之间可共享文件,即不受角色冲突。
例如,请参见图2,为分布式系统的一种示意图。图2以分布式系统包括5个设备为例,应理解,这2个设备处于同一个网络内。这5个设备分别为设备201、设备202、设备203、设备204和设备205。设备201、设备202、设备203、设备204和设备205之间可进行多屏协同或信息共享等。例如,设备201可与设备202或设备203进行多屏协同或信息共享,设备202与设备204可进行多屏协同,设备203与设备202可进行信息共享。图2以设备201是手机、设备202是便携计算机、设备203是平板电脑、设备204是个人 电脑和设备205是智能音箱为例。
以设备201为例,设备201可通过蓝牙通信信道广播发现消息,该发现消息用于发现一个或多个设备,例如设备201-设备205。设备201-设备205中的任意设备,例如设备203接收到该发现消息,可向设备201发送针对该发现消息的响应消息。设备201接收到该响应消息,可根据该响应消息与设备203建立蓝牙连接。依次类推,其他设备也可以与设备201建立蓝牙连接。设备201与各个设备建立蓝牙连接之后,可协商建立WiFi直连通信的链路信息,并基于该链路信息彼此建立WiFi直连通信,从而组成分布式系统二。由于设备间发现之后建立通信连接,再通过设备间建立的通信通道协商设备间建立WiFi直连通信的链路信息,所以无需为各个设备分配具体的角色。
通常多设备基于无线保真(wireless fidelity,WiFi)互联。由于WiFi工作在非授权频段,即任何符合射频规格的设备都可以在该频段上发送数据或接收数据。为了减少网络中各个设备之间的冲突,规定网络中的所有设备可采用带有冲突避免的载波侦听多路访问(carrier sense multiple access with collision avoidance,CSMA/CA)机制进行通信。即网络中所有设备在发送数据之前,均可主动发起信道接入过程,之后可通过CSMA/CA机制监听信道状态,也就是确定该信道是否空闲。只有信道处于空闲状态,才会使用该信道发送数据。然而由于WiFi采用非授权频段组网,以及CSMA信道竞争机制,导致网络内信道干扰较为严重。尤其是在办公室、旗舰店卖场、展会等业务密集场景内,信道干扰尤为严重,导致设备业务卡顿等问题。对于多设备互联的网络拓扑,设备的链路较多,当同时进行多个链路的业务,多个链路之间的信道干扰概率更大,限制网络整体吞吐量。
例如,在图1所示的系统中,通常WiFi P2P业务在建链时,会选择跟随GO的信道,或者随机选择信道。这种情况下,可能会导致网络内同频信道干扰严重,从而导致多个P2P业务之间存在干扰,以及P2P业务与其他业务之间也会相互干扰。
又例如,在图2所示的系统中,如果基于NAN协议建立多个设备的连接,各个设备通过调度AW配置来控制空口传输。也就是,任意设备使用固定的信道(social channel)发送自身的相关信息,例如时间同步信息等。social channel可认为是近场所有设备相互发现时交互的频域位置,用于发现近场内的各个设备。任意设备在social channel监听来自其他设备的信息,从而发现彼此。social channel可认为是协商好的或固定的信道,例如social channel为ch6、ch36、ch44或ch149。应理解,6、36、44以及149是信道编号。
设备可围绕一个时序序列(包含多个可用性窗口(AWs)和多个扩展可用性窗口(extension window,EW)(EWs))来构建同步信道序列。AWs为具有固定长度的窗口,可使设备在较短的固定长度时隙中进行通信。EWs可以扩展窗口的长度,较为灵活。每个设备可通告可用于数据通信的窗口时隙,对端设备将接收的窗口时隙与自身的AWs序列进行匹配。如果在特定AWs中存在一个公共信道,则可以在此AW期间进行通信。这种同步机制,可以使设备间的序列对齐。当设备向某个对端设备发送用户数据时,需要协商计算公共AWs。在公共AWs期间,两个设备都切换到同一信道上,并且仅在这些AWs中发送帧。
可见,基于NAN协议建立的分布式系统,系统中每个链路的信道与时隙分配由链路两端设备来自行协商,而且可用信道集中,当同时进行多个链路的业务,多个链路之间的信道干扰概率更大。由于无法整网协同调度抗干扰,所以限制网络整体吞吐量。
鉴于此,本申请实施例提供了分布式系统的一种资源管理方法,该方法中,通过获取 系统中各个设备的信道干扰评分和业务类型,综合信道的容量以及信道的干扰情况,调度被分配的信道。这样可以让更多设备链路工作在干扰较小的信道上,降低多个链路之间的相互干扰。系统中的任意设备检测到信道干扰影响该设备进行的业务,可请求系统中的其余设备切换到备选信道,以尽量提升抗干扰性能和系统容量。
本申请实施例提供的资源管理方法可以应用于多种分布式系统,例如,如图1所示的分布式系统,或者如图2所示的分布式系统。为了便于区分,本文中可将如图1基于WiFi P2P协议建立的分布式系统称为第一类分布式系统,将基于NAN协议建立的分布式系统称为第二类分布式系统。需要说明的是,第二类分布式系统与第一类分布式系统是相对而言的,即第一类分布式系统中设备的角色受限,设备间是一对一的关系,或者一对多的关系。第二类分布式系统中设备的角色对等,设备间可以是一对一的关系,也可以是一对多的关系,还可以是多对多的关系。本申请实施例对第二类分布式系统的建立方法不作限制,例如可以基于NAN协议建立,也可以是基于本申请实施例提供的方法建立。即基于蓝牙或WiFi互相发现,并与发现的设备建立连接;再通过建立的通信通道协商彼此建立WiFi直连通信的链路信息,基于该链路信息实现设备间的WiFi直连通信,从而组成分布式系统。
本申请实施例提供的技术方案可以应用在电子设备中,例如组成分布式系统一或分布式系统二的任意设备。以下介绍电子设备和用于使用这样的电子设备的实施例。在本申请一些实施例中,电子设备可以是便携式电子设备,诸如手机、PAD、便携计算机、具备无线通讯功能的可穿戴设备(如智能手表、智能眼镜、智能手环、或智能头盔等)、或车载设备等。便携式电子设备的示例性实施例包括但不限于搭载
Figure PCTCN2022087394-appb-000001
或者其它操作系统的便携式电子设备。还应当理解的是,在本申请其他一些实施例中,上述电子设备也可以不是便携式设备,例如也可以是台式计算机,例如PC,或者也可以是电视机等设备。
示例性地,图3给出了一种电子设备300的结构示意图。
应理解,图示电子设备300仅是一个范例,并且电子设备300可以具有比图中所示出的更多的或者更少的部件,可以组合两个或更多的部件,或者可以具有不同的部件配置。图中所示出的各种部件可以在包括一个或多个信号处理和/或专用集成电路在内的硬件、软件、或硬件和软件的组合中实现。
如图3所示,电子设备300可以包括处理器310,外部存储器接口320,内部存储器321,通用串行总线(universal serial bus,USB)接口330,充电管理模块340,电源管理模块341,电池342,天线1,天线2,移动通信模块350,无线通信模块360,音频模块370,扬声器370A,受话器370B,麦克风370C,耳机接口370D,传感器模块380,按键390,马达391,指示器392,摄像头393,显示屏394,以及用户标识模块(subscriber identification module,SIM)卡接口395等。其中传感器模块380可以包括压力传感器380A,陀螺仪传感器380B,气压传感器380C,磁传感器380D,加速度传感器380E,距离传感器380F,接近光传感器380G,指纹传感器380H,温度传感器380J,触摸传感器380K,环境光传感器380L,骨传导传感器380M等。
下面结合图3对电子设备300的各个部件进行具体的介绍。
处理器310可以包括一个或多个处理单元,例如,处理器310可以包括应用处理器(application processor,AP),调制解调处理器,图形处理器(graphics processing unit,GPU), 图像信号处理器(image signal processor,ISP),控制器,存储器,视频编解码器,数字信号处理器(digital signal processor,DSP),基带处理器,和/或神经网络处理器(neural-network processing unit,NPU)等。其中,不同的处理单元可以是独立的器件,也可以集成在一个或多个处理器中。其中,控制器可以是电子设备300的神经中枢和指挥中心。控制器可以根据指令操作码和时序信号,产生操作控制信号,完成取指令和执行指令的控制。
处理器310中还可以设置存储器,用于存储指令和数据。在一些实施例中,处理器310中的存储器为高速缓冲存储器。该存储器可以保存处理器310刚用过或循环使用的指令或数据。如果处理器310需要再次使用该指令或数据,可从存储器中直接调用,从而可避免重复存取,可减少处理器310的等待时间,因而可提高系统的效率。
处理器310可以运行本申请实施例提供的信息分享的方法。例如本申请实施例提供协同快捷操作服务(Fast Collaborative Service),协同快捷操作服务可以是软件模块,该软件模块可以运行在处理器310上,该软件模块可以理解为计算机程序。例如该软件模块可以提供系统级的能力,以安卓系统为例,从业务角度考虑,该软件模块可以放在系统服务(system_server)进程中,与system_server进程中的活动管理器服务(activity manager service,AMS)、包管理器服务(package manager service,PMS)、或窗口管理器服务(window manager service)等模块共同构筑平台基础能力。或者,从实现角度考虑,除了system_server进程外,协同快捷操作服务也可以放在其他进程中。当处理器310集成不同的器件,比如集成CPU和GPU时,CPU和GPU可以配合执行本申请实施例提供的方法,例如本申请实施例提供的方法中部分算法由CPU执行,另一部分算法由GPU执行,以得到较快的处理效率。
在一些实施例中,处理器310可以包括一个或多个接口。比如,接口可以包括集成电路(inter-integrated circuit,I2C)接口,集成电路内置音频(inter-integrated circuit sound,I2S)接口,脉冲编码调制(pulse code modulation,PCM)接口,通用异步收发传输器(universal asynchronous receiver/transmitter,UART)接口,移动产业处理器接口(mobile industry processor interface,MIPI),通用输入输出(general-purpose input/output,GPIO)接口,用户标识模块(subscriber identity module,SIM)接口,和/或通用串行总线(universal serial bus,USB)接口等。
USB接口330是符合USB标准规范的接口,具体可以是Mini USB接口,Micro USB接口,USB Type C接口等。USB接口330可以用于连接充电器为电子设备300充电,也可以用于电子设备300与外围设备之间传输数据。充电管理模块340用于从充电器接收充电输入。电源管理模块341用于连接电池342,充电管理模块340与处理器310。电源管理模块341接收电池342和/或充电管理模块340的输入,为处理器310,内部存储器321,外部存储器,显示屏394,摄像头393,和无线通信模块360等供电。
I2C接口是一种双向同步串行总线,包括一根串行数据线(serial data line,SDA)和一根串行时钟线(derail clock line,SCL)。在一些实施例中,处理器310可以包含多组I2C总线。处理器310可以通过不同的I2C总线接口分别耦合触摸传感器380K,充电器,闪光灯,摄像头393等。例如:处理器310可以通过I2C接口耦合触摸传感器380K,使处理器310与触摸传感器380K通过I2C总线接口通信,实现电子设备300的触摸功能。
移动产业处理器接口(mobile industry processor interface,MIPI)接口可以被用于连接处理器310与显示屏394,摄像头393等外围器件。MIPI接口包括摄像头串行接口(camera serial interface,CSI),显示屏串行接口(display serial interface,DSI)等。在一些实施例中, 处理器310和摄像头393通过CSI接口通信,实现电子设备300的拍摄功能。处理器310和显示屏394通过DSI接口通信,实现电子设备300的显示功能。
GPIO接口可以通过软件配置。GPIO接口可以被配置为控制信号,也可被配置为数据信号。在一些实施例中,GPIO接口可以用于连接处理器310与摄像头393,显示屏394,无线通信模块360,音频模块370,传感器模块380等。GPIO接口还可以被配置为I2C接口,I2S接口,UART接口,MIPI接口等。
电子设备300的无线通信功能可以通过天线1,天线2,移动通信模块350,无线通信模块360,调制解调处理器以及基带处理器等实现。天线1和天线2用于发射和接收电磁波信号。电子设备300中的每个天线可用于覆盖单个或多个通信频带。不同的天线还可以复用,以提高天线的利用率。例如:可以将天线1复用为无线局域网的分集天线。在另外一些实施例中,天线可以和调谐开关结合使用。
移动通信模块350可以提供应用在电子设备300上的包括2G/3G/4G/5G等无线通信的解决方案。移动通信模块350可以包括至少一个滤波器,开关,功率放大器,低噪声放大器(low noise amplifier,LNA)等。移动通信模块350可以由天线1接收电磁波,并对接收的电磁波进行滤波,放大等处理,传送至调制解调处理器进行解调。移动通信模块350还可以对经调制解调处理器调制后的信号放大,经天线1转为电磁波辐射出去。在一些实施例中,移动通信模块350的至少部分功能模块可以被设置于处理器310中。在一些实施例中,移动通信模块350的至少部分功能模块可以与处理器310的至少部分模块被设置在同一个器件中。
无线通信模块360可以提供应用在电子设备300上的包括无线局域网(wireless local area networks,WLAN)(如无线保真(wireless fidelity,Wi-Fi)网络),蓝牙(bluetooth,BT),全球导航卫星系统(global navigation satellite system,GNSS),调频(frequency modulation,FM),近距离无线通信技术(near field communication,NFC),红外技术(infrared,IR)等无线通信的解决方案。无线通信模块360可以是集成至少一个通信处理模块的一个或多个器件。无线通信模块360经由天线2接收电磁波,将电磁波信号调频以及滤波处理,将处理后的信号发送到处理器310。无线通信模块360还可以从处理器310接收待发送的信号,对其进行调频,放大,经天线2转为电磁波辐射出去。
在一些实施例中,电子设备300的天线1和移动通信模块350耦合,天线2和无线通信模块360耦合,使得电子设备300可以通过无线通信技术与网络以及其他设备通信。所述无线通信技术可以包括全球移动通讯系统(global system for mobile communications,GSM),通用分组无线服务(general packet radio service,GPRS),码分多址接入(code division multiple access,CDMA),宽带码分多址(wideband code division multiple access,WCDMA),时分码分多址(time-division code division multiple access,TD-SCDMA),长期演进(long term evolution,LTE),BT,GNSS,WLAN,NFC,FM,和/或IR技术等。所述GNSS可以包括全球卫星定位系统(global positioning system,GPS),全球导航卫星系统(global navigation satellite system,GLONASS),北斗卫星导航系统(beidou navigation satellite system,BDS),准天顶卫星系统(quasi-zenith satellite system,QZSS)和/或星基增强系统(satellite based augmentation systems,SBAS)。
可以理解的是,本申请实施例示意的各模块间的接口连接关系,只是示意性说明,并不构成对电子设备300的结构限定。在本申请另一些实施例中,电子设备300也可以采用 上述实施例中不同的接口连接方式,或多种接口连接方式的组合。
电子设备300通过GPU,显示屏394,以及应用处理器等实现显示功能。GPU为图像处理的微处理器,连接显示屏394和应用处理器。GPU用于执行数学和几何计算,用于图形渲染。处理器310可包括一个或多个GPU,其执行程序指令以生成或改变显示信息。
显示屏394用于显示图像,视频等。显示屏394包括显示面板。显示面板可以采用液晶显示屏(liquid crystal display,LCD),有机发光二极管(organic light-emitting diode,OLED),有源矩阵有机发光二极体或主动矩阵有机发光二极体(active-matrix organic light emitting diode的,AMOLED),柔性发光二极管(flex light-emitting diode,FLED),Miniled,MicroLed,Micro-oLed,量子点发光二极管(quantum dot light emitting diodes,QLED)等。
电子设备300可以通过ISP,摄像头393,视频编解码器,GPU,显示屏394以及应用处理器等实现拍摄功能,或者说实现采集图像的功能。
ISP用于处理摄像头393反馈的数据。例如,拍照时,打开快门,光线通过镜头被传递到摄像头感光元件上,光信号转换为电信号,摄像头感光元件将所述电信号传递给ISP处理,转化为肉眼可见的图像。ISP还可以对图像的噪点,亮度,肤色进行算法优化。ISP还可以对拍摄场景的曝光,色温等参数优化。在一些实施例中,ISP可以设置在摄像头393中。
摄像头393用于捕获静态图像或视频。物体通过镜头生成光学图像投射到感光元件。感光元件可以是电荷耦合器件(charge coupled device,CCD)或互补金属氧化物半导体(complementary metal-oxide-semiconductor,CMOS)光电晶体管。感光元件把光信号转换成电信号,之后将电信号传递给ISP转换成数字图像信号。ISP将数字图像信号输出到DSP加工处理。DSP将数字图像信号转换成标准的RGB,YUV等格式的图像信号。在一些实施例中,电子设备300可以包括1个或N个摄像头393,N为大于1的正整数。
数字信号处理器用于处理数字信号,除了可以处理数字图像信号,还可以处理其他数字信号。例如,当电子设备300在频点选择时,数字信号处理器用于对频点能量进行傅里叶变换等。
视频编解码器用于对数字视频压缩或解压缩。电子设备300可以支持一种或多种视频编解码器。这样,电子设备300可以播放或录制多种编码格式的视频,例如:动态图像专家组(moving picture experts group,MPEG)1,MPEG2,MPEG3,MPEG4等。
NPU为神经网络(neural-network,NN)计算处理器,通过借鉴生物神经网络结构,例如借鉴人脑神经元之间传递模式,对输入信息快速处理,还可以不断的自学习。通过NPU可以实现电子设备300的智能认知等应用,例如:图像识别,人脸识别,语音识别,文本理解等。
内部存储器321可以用于存储计算机可执行程序代码,可执行程序代码包括指令。内部存储器321可以包括存储程序区和存储数据区。其中,存储程序区可存储操作系统,至少一个功能所需的应用程序(比如声音播放功能,图像播放功能等)等。存储数据区可存储电子设备300使用过程中所创建的数据(比如音频数据,电话本等)等。此外,内部存储器321可以包括高速随机存取存储器,还可以包括非易失性存储器,例如至少一个磁盘存储器件,闪存器件,通用闪存存储器(universal flash storage,UFS)等。处理器310通过运行存储在内部存储器321的指令,和/或存储在设置于处理器中的存储器的指令,执行电子设备300的各种功能应用以及数据处理。
外部存储器接口320可以用于连接外部存储卡,例如Micro SD卡,实现扩展电子设备的存储能力。外部存储卡通过外部存储器接口320与处理器310通信,实现数据存储功能。例如将图片,视频等文件保存在外部存储卡中。
电子设备300可以通过音频模块370,扬声器370A,受话器370B,麦克风370C,耳机接口370D,以及应用处理器等实现音频功能。例如音乐播放,录音等。
按键390包括开机键,音量键等。按键390可以是机械按键。也可以是触摸式按键。电子设备300可以接收按键输入,产生与电子设备300的用户设置以及功能控制有关的键信号输入。马达391可以产生振动提示。马达391可以用于来电振动提示,也可以用于触摸振动反馈。例如,作用于不同应用(例如拍照,音频播放等)的触摸操作,可以对应不同的振动反馈效果。触摸振动反馈效果还可以支持自定义。指示器392可以是指示灯,可以用于指示充电状态,电量变化,也可以用于指示消息,未接来电,通知等。SIM卡接口395用于连接SIM卡。SIM卡可以通过插入SIM卡接口395,或从SIM卡接口395拔出,实现与电子设备300的接触和分离。
可以理解的是,图3所示的部件并不构成对电子设备300的具体限定,手机还可以包括比图示更多或更少的部件,或者组合某些部件,或者拆分某些部件,或者不同的部件布置。此外,图3中的部件之间的组合/连接关系也是可以调整修改的。
本申请实施例提供多个设备,这多个设备可以是相同的设备,例如为电子设备300;或者,这多个设备也可以是不同的设备,例如这多个设备中的部分设备为电子设备300,部分设备为显示器。本申请实施例对这多个设备的实现形式不作限制,例如这多个设备均可以是电子设备,或者这多个设备也可以是电子设备中的芯片,又或者这多个设备中的部分设备是电子设备,部分设备是电子设备中芯片。
本申请实施例还对应提供一种分布式系统,该分布式系统可包括多个设备中的至少两个设备,当然,该分布式系统还可以包括其他设备。分布式系统中的任意设备之间可进行多屏协同,信息分享等。
请参见图4,为分布式系统的一种示意图。图4以分布式系统包括5个设备为例,应理解,这5个设备处于同一个网络内。这5个设备分别为设备401、设备402、设备403、设备404和设备405。设备401、设备402、设备403、设备404和设备405之间可进行多屏协同或信息共享等。例如,设备401可与设备402或设备403进行多屏协同或信息共享,设备402与设备404可进行信息共享,设备403与设备405可进行信息共享。为了便于理解,在下文的介绍过程中,以设备401是手机、设备402是便携计算机、设备403是平板电脑、设备404是个人电脑和设备405是智能音箱为例。手机的结构例如为图3所示的结构,便携计算机、平板电脑、个人电脑和智能音箱可包括比图3所示的结构更多或更少的部件。
应理解,设备401、设备402、设备403、设备404和设备405之间进行分布式业务,例如多屏协同或信息共享之前,需要建立连接。也就是任意设备需要进行多屏协同或信息共享之前,可与其他可能的设备进行连接,即多设备进行互联。在下文的介绍中,以图4中的多个设备基于蓝牙或WiFi互相发现,并与发现的设备建立连接;再通过建立的通信通道协商彼此建立WiFi直连通信的链路信息,基于该链路信息实现设备间的WiFi直连通信为例。
应理解,多个设备组网之后,网络内的任意设备协同分布式应用,这需要分布式系统 中各个设备之间时间同步。为此,多个设备建立WiFi直连通信之后,需要进行时间同步。由于本申请实施例所建立的分布式系统中各个设备角色对等,因此在进行时间同步之前,可从分布式系统中的多个设备中选择一个设备作为主设备,以该主设备的时间为准,对其余设备的时间进行同步。相对于该主设备,分布式系统内的其余设备可认为是从设备,从设备可根据主设备的时间来同步。
在可能的实现方式中,可对分布式系统中的多个设备进行优先级排序,将优先级最高的设备作为主设备。如果将分布式系统内所有设备的集合称为域,那么域内优先级最高的设备即为主设备。本申请实施例对优先级的确定方式不作限制。
作为一种示例,可根据各个设备的设备类型、设备的续航能力、设备的硬件能力、设备采用的协议版本、设备连接的设备数量和设备的MAC地址的一种或多种来确定设备的优先级。其中,设备的类型,例如为显示器、PC、平板、手机、IOT设备、智能音箱或穿戴设备等。设备的续航能力,例如为设备的剩余电量等级,例如高电量、中电量、中低电量以及低电量等。需要说明的是,本申请实施例对剩余电量等级的等级数量不作限制,各个剩余电量等级可事先定义,例如剩余电量大于或等于总电量的70%,那么该剩余电量的等级为高电量;剩余电量大于或等于总电量的50%,且小于总电量的70%,那么该剩余电量的等级为中电量;剩余电量大于或等于总电量的30%,且小于总电量的50%,那么该剩余电量的等级为中低电量;剩余电量小于总电量的30%,那么该剩余电量的等级为低电量。设备的硬件能力,例如设备采用双WiFi芯片或者单WiFi芯片。需要说明的是,设备的类型、设备的续航能力和设备的硬件能力等仅是举例说明,本申请实施例对设备的类型、设备的续航能力和设备的硬件能力的具体表现形式不作限制。
各个设备可上报自身的优先级信息,例如各个设备可上报自身的优先级排序(ranking priority,RP)值,该RP值可用于指示各个设备的优先级信息。如果各个设备基于蓝牙发现彼此,那么RP值可携带在第一消息中。如果各个设备基于WiFi发现彼此,即第一消息基于WiFi协议生成,那么RP值可携带在各个设备发送的同步信标帧中。RP值可占用一个字段,也可以占用多个字段,对此,本申请实施例不作限制。例如,RP值指示的各个内容可分别占用同一字段的不同比特;或者RP值指示的各个内容可分别占用不同的字段。
示例性的,RP值可包括两部分,一部分用于指示排序等级(ranking level),另一部分用于指示设备的媒体接入控制(media access control,MAC)地址,其中,排序等级可包括设备等级、设备的协议版本号、设备所连接的设备数量。设备等级又包括设备的类型、设备的续航能力和设备的硬件能力。
举例来说,请参见图6,为承载RP值的第一部分的一种帧结构。即排序等级字段包括3个字段,这3个字段为设备等级字段、协议版本号字段和连接数字段。需要说明的是,本申请实施例对这3个字段的具体名称不作限制。本申请实施例对各个字段所占用的比特数不作限制。示例性的,设备等级字段的定义可参见表1。
表1
Figure PCTCN2022087394-appb-000002
Figure PCTCN2022087394-appb-000003
本申请实施例根据各个设备上报的RP值,可按照各个设备的优先级信息,例如设备类型、设备的续航能力、设备的硬件能力、设备采用的协议版本、设备连接的设备数量和设备的MAC地址的优先级来确定设备的优先级。也就是,优先根据各个设备的设备类型来确定设备的优先级,如果根据各个设备的设备类型确定各个设备的优先级一致,可进一步根据设备的续航能力来确定设备的优先级,依次类推,直到确定出各个设备的优先级。例如可依次执行:1)比较各设备的类型,设备类型较高的设备为主设备,如果各设备的类型相同,可继续2);2)比较各设备的续航能力,续航能力较高的设备为主设备,如果各设备的续航能力相同,可继续3);3)比较各设备的硬件能力,设备硬件能力较高的为主设备,如果各设备的硬件能力相同,可继续4);4)比较各设备的协议版本,版本号较高的设备为主设备,如果各设备的版本号相同,可继续5);5)比较各设备所连接的设备数,连接数高的设备为主设备,如果各设备所连接的设备数相同,继续6);6)分别对各设备的MAC地址按位比较,MAC地址较高的设备为主设备。
在分布式系统内选出主设备之后,从设备可基于主设备的时间进行同步。例如,主设备主动告知各个从设备,主设备的时间信息。各个从设备基于主设备的时间信息进行时间同步。又例如,从设备可主动申请时间同步。以要申请时间同步的从设备是第一从设备为例,第一从设备可主动广播时间同步请求消息,以向同一网络内已经完成时间同步的设备请求同步时间。主设备或其他从设备接收到该时间同步请求消息,可向第一从设备发送针对该时间同步请求消息的响应消息。该响应消息可携带用于从设备进行时间同步的信息。从设备根据该响应消息携带的信息与主设备或其他从设备进行时间同步。
下面结合附图介绍本申请实施例提供的技术方案。请参见图5,示出了本申请实施例提供的分布式系统的资源管理方法的流程。该方法可应用于第一类分布式系统,也可以应用于第二类分布式系统,或者其他可能的分布式系统。在下文的介绍过程中,以该方法应用于图4所示的网络架构为例。应理解,该方法涉及多个设备,例如图4中的各个设备。为了便于描述,下文的介绍中,以该方法涉及第一设备和多个设备为例。相对多个设备来说,第一设备为主设备,多个设备为从设备。
S51、各个从设备根据国家码启动全信道扫描,并接收来自主设备的信标(beacon)帧。该beacon帧包括第一无线资源管理(radio resource management,RRM)信息,所述第一RRM信息用于指示为各个从设备分配的初始信道和初始带宽。
本申请实施例将近场内所有能相互发现彼此的设备形成的集合称为域,那么域内的所有设备可形成分布式系统。域内的一个设备为主设备,除主设备之外的设备统称为从设备。域内的多个设备可任意互联,相互连接在一起的设备形成的集合称为组或者岛(本文以岛 为例)。通常为了减少跳频开销,岛内的所有设备可工作在一个信道,也可以工作在多个信道。域内的主设备会为各个从设备分配信道和带宽。并告知各个从设备。例如主设备可在公共信道(common channel)广播beacon帧,该beacon帧包括第一RRM列表,用于指示为各个从设备分配的初始信道和初始带宽。公共信道可以是预定义的信道,例如,5G的common channel是Ch165信道(20M带宽),2.4G的common channel是Ch13信道(20M带宽)。该公共信道也可以是social channel,下文以公共信道是social channel为例。为了规避同步机制的偏差,主设备可在公共信道的8ms处广播beacon帧。各个设备建立连接之后,可根据国家码启动全信道扫描,以确定有哪些信道。进一步地,根据第一RRM信息的指示在属于自身的信道和带宽上建立链路。需要说明的是,主设备也可以调度以WiFi6的OFDMA 26子载波(2.5MHz)为最小带宽的频谱资源。需要说明的是,在本文中,Ch也就是信道的意思。
为了便于理解,请参见图6,示出了分布式系统的一种示意。例如,图6以包括8个设备为例。这8个设备位于同一个域内。这8个设备中设备1和设备2互联形成岛1,设备3、设备4和设备5互联形成岛2,设备6、设备7和设备8互联形成岛3。需要说明的是,如果多个岛内的设备之间有业务需要交互,那么这多个岛形成一个新的岛。例如,岛1内的设备1和岛2内的设备3有业务,那么岛1和岛2合并为一个岛。域内的主设备可为各个岛分配信道。假设,设备1是域内的主设备,那么主设备可分配岛1、岛2以及岛3不同的信道。例如,主设备可调度岛1使用165信道(也就是Ch165),且带宽为20MHz带宽,调度岛2使用48信道(也就是Ch48),且带宽为40MHz带宽,调度岛3使用157信道(也就是Ch157),且带宽为40MHz带宽。
主设备可根据为各个从设备分配的信道和带宽生成第一RRM列表,该第一RRM列表可包括为域内的各个设备分配的初始信道和初始带宽信息,以及每个岛内的设备信息。示例性的,请参见表2,示出了第一RRM信息的一种实现形式。
表2第一RRM信息
Figure PCTCN2022087394-appb-000004
应理解,在本文中,Ch表示信道,国家码也就是规定的可用的信道编码,例如表1中的44、165或157等。多个设备互联形成分布式系统之后,分布式系统中的主设备可生成如表1所示的RRM信息,并广播携带该第一RRM信息的beacon帧。beacon帧的可能结构将在下文中介绍,这里暂不介绍。
S52、各个从设备根据第一RRM信息指示的信道和带宽建链。
各个从设备接收到来自主设备的beacon帧,可根据beacon帧携带的第一RRM信息指示的信道和带宽与其他设备建链,从而在所建立的链路上进行业务。沿用表1的例子,以设备3为例,设备3接收来自设备1的beacon帧。从beacon帧可知,设备3与设备4和设备5位于岛2,且被分配的信道和带宽为Ch165 20M,那么设备3可在Ch165 20M上与 设备4和设备5建立链路。
应理解,初始建链之后,主设备为各个从设备分配信道和带宽之后,由于各个从设备的链路上的干扰情况的变化,各个从设备的链路进行的业务的变化,可能导致初始为从设备分配的信道已经不适合当前业务的传输。沿用图6的例子,岛2内的设备3、设备4和设备5都工作在Ch165 20M。图6所示的分布式系统中,随着3个岛各自分别进行自身的业务的变化,以及岛与岛之间的干扰,可能导致为岛2初始分配的Ch165 20M并不是最优的。这种情况下,主设备可综合分布式系统中各个设备的各个链路上的信道干扰情况,以及各个信道的容量来重新调度为各个设备分配的信道。这样可尽量使得多个链路工作在干扰较小的信道,避免相互干扰。这就需要主设备对信道进行测量,以及各个从设备对信道进行测量,并将测量后确定的信道干扰情况上报给主设备。在本申请实施例中,可事先定义每个岛要测量的信道是哪些信道,该岛内的各个设备可循环测量事先定义的信道。各个岛内的岛主可以广播的方式通知岛内的各个设备要测量的信道是哪些信道,更为灵活。
通常来说,每个信道受到的干扰是随机变化的,所以在本申请实施例中,可设置上报干扰定时器。各个从设备可在上报干扰定时器到期时,开始将信道的干扰情况发送给主设备。这样主设备可获取相同时间段内各个信道的干扰情况,便于主设备较为准确地调度为各个从设备分配的信道。另外,各个设备基于初始建立的链路进行业务传输,并循环测量事先定义的信道。对于主设备来说,需要测量进行业务传输的信道,也需要接收来自各个从设备上报的信道干扰情况,并重新调度各个信道,以为各个从设备分配干扰较小的信道。对于从设备来说,需要测量进行业务传输的信道,向主设备上报所测量的信道干扰情况,并接收来自主设备的调度。
为了方便管理,本申请实施例可定义公共信息和业务信道。公共信道用于从设备上报信道干扰情况,主设备接收来自从设备的信道干扰情况。当然,主设备在公共信道向各个从设备发送RRM信息。业务信道是相对公共信道而言的,可用于各个设备进行业务数据的传输,信道的干扰测量等。当然,基于主设备根据RRM信息的调度,有的从设备可能会从一个信道切换到另一个信道。信道切换在业务信道进行。这样主设备收集各个从设备的信道干扰情况,并为各个从设备下发各自的RRM信息,不会影响各个设备进行正常的业务。
主设备可定期收集来自各个从设备的信道干扰情况,从设备也可以在预设时间段内向主设备上报各自的信道干扰情况。这样主设备所获得的各个从设备的信道干扰情况可表征相同时间段内各个信道的干扰情况,便于主设备较为准确地调度为各个从设备分配的信道。为此,本申请实施例可设置信道切换定时器,该信道切换定时器到期时,切换到公共信道,否则各个设备在业务信道上。
S53、确定是否切换到公共信道。
若切换到公共信道,主设备执行S541a-S543a,从设备执行S541b-S544b;若未切换到公共信道,各个设备执行S551-S556。
应理解,在公共信道上,主设备和从设备由于角色不一样,所执行的流程也有所不同。对于主设备来说,主要收集各个从设备的信道干扰情况,并根据所收集的信道干扰情况,生成第二RRM信息,以重新调度各个信道,从而将各个从设备分配到干扰较小的信道。对于从设备来说,主要向主设备上报测量信道所获得的信道干扰情况,并根据主设备的调度进行业务传输。而在业务信道上,不因主设备和从设备的角色不同而不同。下面分别详 细介绍主设备和从设备分别在公共信道上的流程步骤,以及所有设备在业务信道上的流程步骤。
S541a、主设备在公共信道接收来自各个从设备的信道干扰信息。
信道干扰信息可用于指示信道被干扰的程度。示例性的,信道干扰信息可以是信道干扰评分。一个信道的干扰评分越高,可表示该信道的干扰越小,吞吐率越高,时延越低(本申请实施例以此为例)。当然,在一些实施例中,也可以定义一个信道的干扰评分越低,表示该信道的干扰越小。为了便于描述,本文以信道的干扰评分满分是100分为例。如果某个信道的干扰评分是100分,那么该信道无干扰。
各个从设备可在业务信道循环测量事先定义的各个信道或者循环测量被通知的各个信道,获取所测量的信道的一个或多个干扰参数,并根据所测量的各个信道的多个干扰参数确定各个信道的干扰评分。当然,主设备也在业务信道循环测量事先定义的各个信道,并根据所测量的各个信道的多个干扰参数确定各个信道的干扰评分。
信道的干扰参数可用于表征该信道的干扰情况,例如包括接收信号的强度指示(received signal strength indicator,RSSI)、信噪比(signal noise ratio,SNR)、信号底噪的一种或多种,或者其他可以表征信道干扰情况的参数。各个从设备可对信道的一个或多个干扰参数进行特征提取,并根据所提取的特征确定信道干扰情况。示例性的,可通过神经网络建立信道干扰参数与信道干扰评分的模型,并基于该模型确定信道干扰评分。需要说明的是,本申请实施例对建立信道干扰参数与信道干扰评分的模型的具体方法不作限制。各个从设备对信道的一个或多个干扰参数进行特征提取之后,可将提取的特征值输入信道干扰参数与信道干扰评分的模型,从而确定信道干扰评分。
示例性的,各个从设备确定的信道干扰评分可如表3所示。表3以5个信道(Ch),2个带宽(band width,BW)为例。
表3
Figure PCTCN2022087394-appb-000005
需要说明的是,表3中“0”表示信道和带宽没有被测量到,不参与信道干扰评分的计算。
考虑到信道干扰参数的取值在随机变化的,根据信道干扰参数的当前取值计算得到的信道干扰评分是瞬时的。为此,在一些实施例中,可综合考虑当前瞬时的信道干扰评分和之前的信道干扰评分,得到较为合理的信道干扰评分。为了便于描述,可将之前的信道干扰评分称为第一信道干扰评分,将当前瞬时的信道干扰评分称为第二信道干扰评分,将较为合理的信道干扰评分称为目标信道干扰评分。例如,目标信道干扰评分=第一权重×第一信道干扰评分+第二权重×第二信道干扰评分。本申请实施例对第一权重和第二权重的具体取值不作限制,例如第一权重可等于1/2,第二权重也可以等于1/2。
各个从设备确定信道干扰评分之后,可生成信道干扰信息,并发送给主设备。这样主设备就可以获取系统内各个信道的干扰情况,从而将各个从设备优先调度在干扰较小的信道。
应理解,信道干扰信息用于辅助主设备为各个从设备调度可用的信道。该信道干扰信息可包括信道干扰评分,也可以包括干扰占空比,或者也可以包括信道当前的传输速率。 或者,信道干扰信息可包括信道干扰评分、干扰占空比以及信道当前的传输速率的一种或多种,对此,本申请实施例不作限制。需要说明的是,信道当前的传输速率可以是预定义的速率,例如,事先可针对各个制式的设备在不同带宽的传输速率进行测量,根据测量的传输速率定义各个制式的设备在不同带宽的传输速率。这种情况下,主设备根据预定义可获知各个信道当前的传输速率,无需各个从设备向主设备上报各自信道当前的传输速率。当然,各个从设备也可以根据信道对应的RSSI计算该信道当前的传输速率,并上报给主设备。
其中,干扰占空比为:(测量信道的总时间-发包时间-收包时间-信道空闲时间)/测量信道的总时间。例如,请参见表4,示出了信道的干扰占空比的一种示意。
表4
Figure PCTCN2022087394-appb-000006
为了使得主设备收集相同时间段内各个从设备的信道干扰情况,以较为准确地调度为各个从设备分配的信道,尽量减少设备间的干扰。本申请实施例可设置上报干扰定时器,各个从设备在公共信道上,该上报干扰定时器到期时,将信道干扰信息发送给主设备。
例如,各个从设备在公共信道上竞争将各自的信道干扰信息发送给主设备。然而公共信道的时长有限,如果从设备的数量较多,那么在公共信道的有限时长内无法保证所有从设备都能完成信道干扰信息的上报。为此,在一些实施例中,可将上报干扰定时器的定时时长划分为多个时长,每个时长用于部分从设备上报各自的信道干扰信息。例如,存在20个从设备,可将上报干扰定时器的定时时长划分为第一时长和第二时长,第一时长用于10个从设备上报各自的信道干扰信息,第二时长用于另外的10个从设备上报各自的信道干扰信息。也就是上报干扰定时器的第一时长到期,10个从设备上报各自的信道干扰信息,上报干扰定时器的第二时长到期,另外10个从设备上报各自的信道干扰信息。这样可使得各个从设备上报的信息干扰信息尽量错开,保证传输质量。
需要说明的是,本申请实施例对从设备上报信息干扰信息的具体实现方式不作限制。例如,在一些实施例中,针对每个岛可以选出岛主,该岛中的其余从设备可在业务信道将各自的信道干扰信息发送给岛主,再由岛主在公共信道发送给主设备。
S542a、主设备根据主设备的信道干扰信息和各个从设备的信道干扰信息生成第二RRM信息。
主设备接收到来自各个从设备的信道干扰信息之后,可根据主设备的信道干扰信息以及各个从设备的信道干扰信息生成第二RRM信息。第二RRM信息可用于指示为主设备和各个从设备重新分配的信道和带宽。
由于各个从设备在公共信道上竞争将各自的信道干扰信息发送给主设备,为了尽量减少时延,主设备可处理优先接收到的信道干扰信息。在可能的实现方式中,请参见图7,示出了S542a的详细流程步骤。
S701、主设备合并来自多个从设备的信道干扰信息。
作为一种示例,主设备可优先将最先接收到的两个信道干扰信息合并,得到合并后的信道干扰信息。之后再将新接收到信道干扰信息与该合并后的信道干扰信息,直到合并完 接收到的所有信道干扰信息。例如,主设备优先接收到来自第一从设备的第一信道干扰信息和来自第二从设备的第二信道干扰信息。主设备可将第一信道干扰信息和第二信道干扰信息合并,获得第一合并信道干扰信息。之后,主设备接收到来自第三从设备的第三信道干扰信息,主设备将第一合并信道干扰信息和第三信道干扰信息进行合并,获得第二合并信道干扰信息。以此类推,主设备合并完所有的信道干扰信息,获得最终的信道干扰信息。
合并信道干扰信息,也就是将不同信道干扰信息中的相同因素合并。以信道干扰信息包括信道干扰评分为例。合并不同的信道干扰信息也就是合并不同的信道干扰信息中相同信道的信道干扰评分进行合并。例如可将第一信道干扰信息和第二信道干扰信道中相同信道的信道干扰评分进行合并,也就是将信道干扰评分作平均。需要说明的是,如果某个信道的信道干扰评分是0,表示该信道没有被测量,所以信道干扰评分为0时直接合并,不作平均。如果信道干扰信息包括干扰占空比,那么对干扰占空比的合并同信道干扰评分的合并,这里不再赘述。
为了便于理解,请参见图8,为主设备合并各个从设备的信道干扰信息的示意图。图8以合并信道干扰信息中的信道干扰评分为例。图8以主设备优先接收到来自第一从设备和第二从设备的信道干扰信息,再接收到来自第三从设备的信道干扰信息为例。
作为另一种示例,主设备可将接收的各个从设备的信道干扰信息一次性合并。例如以合并所有从设备上包括的各个信道的信道干扰评分为例。针对任意信道,主设备可将各个从设备对该信道的信道干扰评分进行平均。当然,在一些实施例中,考虑到各个信道之间的差异,在合并信道干扰信息时,可结合各个信道的权重来合并。本申请实施例对合并信道干扰信息的具体实现方式不作限制。
S702、主设备根据合并后得到的信道干扰信息对各个信道进行优先级排序。
主设备可综合考虑各个从设备测量的信道的干扰情况,从而为各个从设备调度合理的信道。在可能的实现方式中,主设备可根据合并后得到的信道干扰信息对待调度的信道进行优先级排序。例如,主设备可按照信道干扰评分从高到低的顺序进行排序,从而对各个待调度的信道进行优先级排序。信道干扰评分越高,信道干扰越小,该信道被调度的优先级越高。应理解,被调度的优先级指的是被优先调度。主设备可按照排序后的信道重新调度各个信道。例如,主设备可根据最终的信道干扰信息生成新的RRM信息。该新的RRM信息包括各个从设备所在岛的岛号,以及为每个岛分配的信道和带宽。
示例性的,请参见图9,图9为一种分布式系统的网络架构示意图。图9以包括11个设备,且设备5是主设备为例,图9中实线表示两个设备实际上相互连接(通信),虚线表示两个设备实际上没有相互连接,但是能接收到主设备发送的beacon帧。那么图9中的11个设备可以分为4个岛。为了便于理解,将图9中的4个岛称为岛1、岛2、岛3和岛4。岛1包括设备1、设备2、设备3和设备5;岛2包括设备6和设备7;岛3包括设备8和设备9;岛4包括设备10、设备11和设备12。
设备5根据设备5,以及除设备5之外的设备上报的信道干扰信息对各个信道(例如Ch36 20M、Ch36 40M、Ch44 40M、Ch48 80M、Ch149 40M、Ch157 40M,以及Ch165 20M)进行优先级排序。假设按照信道干扰评分对各个信道进行排序,排序之后的顺序例如为表5所示。
表5
Figure PCTCN2022087394-appb-000007
表5中各个信道按照优先级排序,优先调度优先级高的信道。需要说明的是,表5还示出了各个岛的备选信道。优先级排序之后的信道中未被分配的信道可认为是备选信道。当任意一个岛出现业务卡顿或者较严重干扰时,可将该岛切换到备选信道。当然不同岛切换备选信道也可以根据优先级来切换。例如,Ch149 40M可认为是岛1的备选信道;Ch3640M可认为是岛2的备选信道;Ch48 80M可认为是公共备选信道,应理解,公共备选信道不同于前述的公共信道。公共备选信道的优先级低于任意岛的备选信道的优先级。举例来说,设备5可在公共信道通知各个设备:设备1、设备2、设备3和设备5在岛1,业务卡顿时优先将岛1切换到岛1的备选信道,即Ch149 40M;而如果岛1切换到岛1的备选信道之后,业务仍然出现卡顿,则可切换到公共备选信道。同理,设备6和设备7在岛2,业务卡顿时优先将岛2切换到岛2的备选信道,即Ch36 40M;而如果岛2切换到岛2的备选信道之后,业务仍然出现卡顿,则可切换到公共备选信道。对于岛3和岛4来说,岛3或岛4在卡顿时,由于没有对应的备选信道,可切换到公共信道的备选信道,即Ch48 80M。需要说明的是,表5以没有岛3和岛4的备选信道为例。在一些实施例中,也可以有岛3或岛4的备选信道,例如存在更多个信道,这种情况下,也可以有岛3或岛4的备选信道。
应理解,各个岛内的设备进行的业务实际需求不同,也会影响信道的调度;或者各个岛内设备数量的多少,也会影响信道的调度;或者各个岛内信道的剩余速率容量的不同,同样会影响信道的调度。例如业务的优先级越高,可认为业务传输的数据量较大,对应信道的速率容量也较大,因此会优先为高优先级的岛分配干扰较小的信道。当然,如果某个信道的剩余容量不足以满足某个岛内的业务传输的需求,那么即使该信道的排序靠前(也就是即使该信道的干扰较小),也不会将该信道分配给该岛,以减小因为信道对各个岛的业务影响,保证各个岛的业务进行正常。为此,本申请实施例除了按照信道干扰评分的排序对各个信道进行优先级排序,还可以结合各个岛的业务的优先级,和/或信道的剩余速率容量对各个信道进行优先级排序。或者,还可以结合每个信道的总速率容量对各个信道进行优先级排序。
本申请实施例针对各种业务可预先定义优先级,作为一种示例,请参见表6,为业务优先级示意表。需要说明的是,表6仅是举例示意。如果一个设备同时有多个业务,那么这多个业务的优先级为各个业务分别对应的优先级中最高优先级。
表6
Figure PCTCN2022087394-appb-000008
信道的总速率容量可基于物理层速率和干扰综合计算得到。例如根据RSSI预估的速率乘以(1-干扰占空比)获得信道的总速率容量。信道的剩余速率容量可根据业务类型预估出来的,或者是应用层告知的。例如,对于1路1对1 1080P 60fps投屏业务来说,应用层可告知物理层,该业务的速率容量开销需要占用例如84Mbps。需要说明的是,存在一种可能的场景,即设备间存在连接,但是没有业务的链路,也称为保活场景。本申请实施例可预定义保活场景的速率容量开销为2Mbps(本文以此为例),或者其他可能的值。
S703、主设备判断第一岛的业务的优先级以及为第一道待分配的第一信道的剩余速率容量是否满足预设条件,其中,第一信道是为第一岛待分配的信道。
主设备可根据各个信道的优先级排序,按照业务优先级从高到底的顺序为各个岛优先分配高优先级的信道。但是为某个岛(例如第一岛)分配的信道的剩余速率容量可能不足以支撑第一岛的业务。为了保证为各个岛分配的信道能够支撑各个岛的业务,主设备为各个岛分配了信道之后,可判断各个岛的业务的优先级以及为各个岛分别调度的信道的剩余容量是否满足预设条件。这里为了便于描述,仅以第一岛为例。应理解,任一个岛同第一岛,例如对于第二岛来说,主设备可判断第二岛的业务的优先级以及为第二信道的剩余速率容量是否满足预设条件。其中第二信道是为第二岛待分配的信道。
S704、若不满足预设条件,将第一信道的优先级降低一级,主设备重新对各个信道进行优先级排序。
预设条件可以是第一岛的业务的优先级为高优先级,且第一信道的剩余容量足够当前岛的业务需求。为了尽可能减小干扰,如果第一岛的业务的优先级为高优先级,且第一信道的剩余速率容量足够第一岛的业务需求,那么可为第一岛分配待调度的信道。如果第一岛的业务的优先级不是高优先级,或者第一信道的剩余速率容量不足以满足当前的业务需求,那么为了减小对第一岛的业务影响,可分配干扰较大的信道。例如,可优先分配下一个优先级的信道。
本申请实施例可根据各个岛的业务的优先级以及各个岛内的设备数量更新表4,从而为高吞吐且低时延要求的业务优先分配干扰较小的信道,低吞吐率低时延要求的业务分配干扰较大的信道,依此类推,为低吞吐且高时延的业务分配干扰更大的信道。本申请实施例还可以结合各个岛内的业务所需要的速率容量开销,更新表4。在速率容量够的情况下,同一岛的节点分配同频同信道,以节省频域资源开销。应理解,为某个岛分配了某信道之后,那么该信道的剩余速率容量应减去该岛的业务所需要的速率容量开销。
为了便于理解,请参见图10,图10示出了图9中各个岛的业务类型以及各个岛的业务的速率需求。如图10所示,岛1内的设备1和设备2之间的业务为4K 60fps投屏业务,要求信道支持的速率大于或等于例如251Mbps;岛1内的设备5和设备1之间无业务但是为保活场景,要求信道支持的速率大于或等于例如2Mbps;岛1内的设备5和设备3之间的业务为1K 60fps投屏业务,要求信道支持的速率大于或等于例如2Mbps;岛1内的设备5和设备3之间的业务为1K 60fps投屏业务,要求信道支持的速率大于或等于例如84Mbps。那么岛1内各个设备的业务要求信道支持的速率大于或等于251Mbps+2Mbps+84Mbps,即 337Mbps。同理,岛2内的设备6和设备7之间的业务为4K 30fps投屏业务,要求信道支持的速率大于或等于例如107Mbps。那么岛2内各个设备的业务要求信道支持的速率大于或等于107Mbps。岛3内的设备8和设备9之间的业务为4K 60fps投屏业务,要求信道支持的速率大于或等于例如251Mbps。那么岛3内各个设备的业务要求信道支持的速率大于或等于251Mbps。岛4内的设备10和设备11之间无业务但是为保活场景,要求信道支持的速率大于或等于例如2Mbps,岛4内的设备11和设备12之间的业务为4K 30fps投屏业务,要求信道支持的速率大于或等于95Mbps。那么岛4内各个设备的业务要求信道支持的速率大于或等于2Mbps+95Mbps,即97Mbps。即图10中各个岛的优先级从高到低依次为:岛1、岛3、岛2,岛4,其中,岛1和岛3的业务优先级相同,岛2和岛4的业务优先级相同;各个岛的业务要求信道支持的速率从高到低依次为:岛1、岛3、岛2,岛4。
假设各个信道的优先级排序如表6,主设备根据表6可依次将Ch44 40M分配给岛1,将Ch165 40M分配给岛2,将Ch157 40M分配给岛3,将Ch36 20M分配给岛4。
在一些实施例中,主设备可结合信道的优先级排序以及各个岛的业务的优先级,为各个岛分配信道。由于岛3的业务优先级和岛1的业务优先级相同,均高于岛2的业务优先级和岛4的业务优先级,岛2的业务优先级和岛4的业务优先级相同。因此,可调整各个信道的优先级顺序,例如,调整后的信道优先级顺序为Ch44 40M、Ch157 40M、Ch165 20M、Ch36 20M、Ch149 40M、Ch36 40M,Ch48 80M。也就是,可优先将Ch44 40M分配给岛1,将Ch165 20M分配给岛3,将Ch157 40M分配给岛2,将Ch36 20M分配给岛4,Ch149 40M作为岛1的备选信道,Ch36 40M作为岛2的备选信道,Ch48 80M作为公共备选信道。即根据业务优先级,信道的优先级排序为Ch44 40M、Ch157 40M、Ch165 20M、Ch36 20M、Ch149 40M、Ch36 40M,Ch48 80M。
或者,主设备也可以结合信道的优先级排序、各个岛的业务的优先级以及信道的总速率容量和信道的剩余速率容量,也可以为各个岛分配信道。
例如,请参见表7,为系统内各个信道的总速率容量以及剩余速率容量的示意表。
表7
岛号 信道和带宽 总速率容量/Mbps 剩余速率容量/Mbps
1 Ch44 40M 350 13
2 Ch165 20M 150 43
3 Ch157 40M 270 19
4 Ch36 20M 110 13
5 Ch149 40M 200 200
6 Ch36 40M 180 180
7 Ch48 80M 300 300
如表7所示,可用信道的总速率容量按照从大到小的排序为Ch44 40M、Ch157 40M、Ch165 20M、Ch36 20M,备选信道的总速率容量按照从大到小的排序为Ch48 40M、Ch149 40M,Ch36 40M。可用信道的剩余速率容量按照从大到小的排序为Ch165 20M、Ch157 40M、Ch36 20M,Ch44 40M。图10中,岛1内各个设备的业务要求信道支持的速率大于或等于337Mbps。岛2内各个设备的业务要求信道支持的速率大于或等于107Mbps。岛3内各个 设备的业务要求信道支持的速率大于或等于251Mbps。岛4内各个设备的业务要求信道支持的速率大于或等于97Mbps。岛3内各个设备的业务要求信道支持的速率大于岛2内各个设备的业务要求信道支持的速率,因此,按照信道的总速率容量和信道的剩余速率容量调整信道的优先级。即将“Ch44 40M、Ch157 40M、Ch165 20M、Ch36 20M、Ch149 40M、Ch36 40M,Ch48 80M。”调整为Ch44 40M、Ch165 20M、Ch157 40M、Ch36 20M、Ch149 40M、Ch36 40M,Ch48 80M。也就是,所以可依次将Ch44 40M分配给岛1,将Ch165 20M分配给岛2,将Ch157 40M分配给岛3,将Ch36 20M分配给岛4。由于Ch149 40M的总速率容量大于Ch36 40M的总速率容量,所以可将Ch149 40M作为岛1的备选信道,Ch36 40M作为岛2的备选信道。Ch48 80M作为公共备选信道。
S705、若满足预设条件,那么判断第一岛是否首次被分配第一信道。
S706、若第一岛首次被分配第一信道,那么按照各个信道的优先级排序为第一岛分配第一信道,并从第一信道的剩余速率容量扣除第一岛的业务的速率容量开销。
应理解,如果第一岛首次被分配信道,那么可主设备可将第一信道分配给第一岛。考虑到,第一信道后续还可能被分配给其他岛,或者第一岛的业务完成后,会释放第一信道,这样第一信道可重新被分配给其他岛。然而第一信道被分配其他岛之前,需要判断第一信道的剩余速率容量是否满足其他岛的速率容量需求,因此主设备需要维护第一信道的剩余速率容量。也就是,当第一信道被分配给第一岛,主设备可更新第一信道的剩余速率容量,即需要从第一岛的剩余速率容量扣除第一岛的业务的速率容量开销。需要说明的是,为第一岛分配第一信道也可以理解为主设备更新第一信道的优先级,即将第一信道的优先级向上调整,例如将第一信道的优先级向上调整一级。
S707、若第一岛不是被首次分配第一信道,那么判断第一信道与第一岛的当前信道之间的干扰差值是否大于或等于预设阈值。
S708、若第一信道与第一岛的当前信道之间的干扰差值大于或等于预设阈值,则将第一信道分配给第一岛,并从第一信道的剩余速率容量扣除第一岛的业务的速率容量开销。
S709、若第一信道与第一岛的当前信道之间的干扰差值小于预设阈值,则不变更第一岛的当前信道。
如果第一岛不是被首次分配信道,也就是第一岛当前被分配了信道。这种情况下,尽管主设备发现比第一岛的当前信道干扰更小的信道,例如第一信道,考虑到第一信道和第一岛的当前信道之间的干扰差距不大,即使将第一岛的信道从当前信道变更为第一信道,对于第一岛的业务影响也不大。为了防止不必要的信道变更,当第一信道与第一岛的当前信道之间的干扰差值小于预设阈值,可不变更第一岛的当前信道。当第一信道与第一岛的当前信道之间的干扰差值大于或等于预设阈值,那么可将第一信道分配给第一岛,并从第一信道的剩余速率容量扣除第一岛的业务的速率容量开销。也就是将第一岛安排在干扰更小的信道,尽量减小设备或业务间的干扰。在可能的实现方式中,两个信道之间的干扰差值可以是两个信道之间的信道干扰评分差值,需要说明的是,为第一岛分配第一信道也可以理解为主设备更新第一信道的优先级,即将第一信道的优先级向上调整,例如将第一信道的优先级向上调整一级。不变更第一岛的信道,也可以理解为,第一信道的优先级保持不变。
主设备根据表6可生成第二RRM信息,用于为各个从设备调度合理的信道,以尽量保证各个岛之间的干扰较小,岛内的业务之间的干扰较小。作为一种示例,请参见表8, 为第二RRM信息的一种示意。表8仅是为了举例。需要说明的是,主设备可不必告知各个从设备各个信道的总速率容量以及剩余速率容量。也就是第二RRM信息可不包括各个信道的总速率容量以及剩余速率容量。
表8
Figure PCTCN2022087394-appb-000009
S543a、主设备在公共信道广播第二RRM信息,相应的,各个从设备在公共信道接收该第二RRM信息。
第二RRM信息可携带在beacon帧中,主设备在公共信道广播beacon帧。各个从设备接收到来自主设备的beacon帧,便可以知道切换信道的顺序。beacon帧的可能结构将在下文中介绍,这里暂不介绍。应理解,沿用图10的例子,那么各个设备的信道切换顺序如图11所示。
S541a-S543a主要介绍了主设备在公共信道上的流程,下面介绍从设备在公共信道上的流程。
S541b、各个从设备接收并保存来自主设备的第二RRM信息。
S542b、各个从设备判断是否完成信道测量且干扰上报定时器是否到期。
S543b、各个从设备确定完成信道测量,且在干扰上报定时器到期时,向主设备发送信道干扰信息。如果某个从设备没有完成信道测量,或者,干扰上报定时器没有到期,那么该从设备继续判断是否完成信道测量且干扰上报定时器是否到期。
由于各个从设备的流程相同,为了便于描述,下文中以第一从设备为例,描述各个从设备在公共信道上的流程。应理解,第一从设备可在公共信道上判断是否完成信道测量,如果完成信道测量,则可向主设备发送对信道的测量结果,即信道干扰信息。为了使得主设备确定各个从设备在相同时间段内的各个信道的干扰情况,所以本申请实施例可统一设置干扰上报定时器。各个从设备可在干扰上报定时器到期时,向主设备上报所生成的各个信道的信道干扰信息。信道干扰信息的生成可参考前述S541a的相关内容,这里不再重复介绍。信道干扰信息可携带在action帧,第一从设备向主设备发送该action帧,从而将信道干扰信息告知主设备。关于action帧的结构将在下文中介绍,这里暂不介绍。
S544b、各个从设备根据第二RRM信息确定是否需要变更当前信道。
以第一从设备为例,第一从设备在干扰上报定时器到期之前可接收并保存来自主设备的第二RRM信息,这样第一从设备可根据第二RRM信息进行信道切换,以保证第一从设备与其他设备间的干扰尽量小。如果第一从设备需要切换信道,那么第一从设备切换业务 信道,并在切换后的信道上继续业务传输。如果不需要切换信道,那么第一从设备在当前的业务信道上继续业务传输。
前述实施例主要介绍了主设备和从设备在公共信道的流程,下面介绍主设备和从设备在业务信道上流程。应理解,在业务信道上不区分主设备和从设备,也就是在S551-S557中各个设备的角度是对等的。
S551、各个设备在当前信道上继续业务传输。
如果各个从设备根据第二RRM信息确定不需要变更信道,那么各个从设备在切换信道的时隙内切换到当前信道上继续进行业务传输。
S552、各个设备判断业务是否空闲或者扫描周期到期。
S553、业务空闲或者扫描周期到期,各个设备切换到下一个信道,并对下一个信道进行测量,生成该信道的信道干扰信息。
扫描周期指的是信道测量周期,各个设备如果确定业务空闲,那么可切换到下一个信道,对下一个信道进行测量,并根据测量结果生成信道干扰信息。或者,如果各个设备确定扫描周期到期,也就是当前信道测量已经完成,同样可切换到下一个信道,对下一个信道进行测量,并根据测量结果生成信道干扰信息。例如,各个设备可循环测量事先定义的信道;或者,主设备可通知各个从设备测量哪些信道,更为灵活;又或者,各个岛内的岛主可另外通知岛内的其他设测量哪些信道,以避免从设备因没有接收到主设备的通知而漏掉被测量的信道。各个设备获得信道干扰信息可在公共信道将信道干扰信息发送给主设备。当然,如果各个设备确定业务不空闲,说明设备正在进行业务,这种情况下,为了尽量减少业务时延,各个设备可继续业务传输。当然,如果扫描周期未到期,而确定当前信道已完成测量,也可以切换到下一个信道进行测量,即一个扫描周期可以测量一个信道,也可以测量多个信道。
本申请实施例中,各个设备在业务信道对当前正在使用的各个信道,或者其他备选信道进行信道测量,并将测量获得的信道干扰信息告知主设备。主设备可根据各个信道上报的信道干扰信息对各个信息进行优先级排序,干扰越小的信道,优先级越高。主设备可根据各个信道的优先级排序,各个设备优先分配干扰较小的信道。相较于第一类分布式系统中,各个链路跟随GO的信道或者随机选择信道来说,本申请实施例可保证各个设备的各条联络工作在干扰较小的信道,尽量降低设备间以及业务间的干扰。相较于第二类分布式系统中,每个链路的信道与时隙分配由链路两端设备来自行协商来说,本申请实施例可实现整网协同调度抗干扰,从而提升网络整体的吞吐量。
举例来说,在办公室场景下,近场内的多个设备之间协同2K的60fps的投屏业务。如果沿用第一类分布式系统中设备跟随GO的信道,信道间的干扰占空比大于或等于50%。而采用本申请实施例的方案,集中管理各个设备的信道,以保证各个设备实时地切换到干扰较小的信道。这样可尽量保证信道间的干扰占空比小于或等于10%,避免2K的60fps的投屏业务出现卡顿现象。或者相比第二类分布式系统中,每个链路的信道与时隙分配由链路两端设备来自行协商来说,采用本申请实施例的方案还是可以将降低信道间的干扰占空比,避免业务出现卡顿现象,还可以增多业务的链路数,即提升网络整体的吞吐量,如表9所示。表9为本申请实施例提供的方案与现有技术提供的方案的链路数的实验比较结果。
表9
  5G 20M 5G 40M 5G 80M
本申请实施例提供的方案 1路投屏 3路投屏 6路投屏
现有技术提供的方案 无法实现投屏 1路投屏 3路投屏
在可能的一种场景中,各个设备进行业务过程中可能会出现业务卡顿,或者业务时延较大,或者由于干扰导致信道繁忙。这种情况下,为了业务正常进行,可切换到备选信道或者其他干扰更小的信道上。
在一些实施例中,任一设备确定满足信道切换条件,例如出现业务卡顿,或者业务时延较大,或者由于干扰导致信道繁忙,该设备可通知该设备所在岛内的其他设备一起切换到备选信道。
S554、各个设备判断是否满足信道切换条件。
S555、若第一从设备确定满足信道切换条件,第一从设备向该设备所在岛内的其他设备发送通知帧,该通知帧用于通知所述其他设备切换到备选信道。
各个设备可分别向岛内的其他设备发送通知帧,也可以在岛内广播通知帧,本申请实施例不作限制。关于通知帧的可能结构以及实现将在下文中介绍,这里暂不介绍。
S556、所述其他设备切换信道,并在切换后的信道上继续业务传输。
由于主设备广播第二RRM信息中指示了备选信道,且指示了备选信道的优先级,所以其他设备接收到通知帧,可根据第二RRM信息中指示的备选信道,以及备选信道的优先级,优先切换到优先级较高的信道。
本申请实施例中,任意设备在确定满足信道切换条件的情况下,通知岛内其他设备切换到干扰更小的信道上,以尽量保证业务的正常进行。
S554-S556中介绍了任意设备主动通知岛内其他设备进行信道切换的过程。作为一种可替换的方案,主设备强制各个从设备切换当前信道。这样可避免有些从设备由于没有获取到第二RRM信息,可能切换到别的岛的信道。例如,存在第一岛和第二岛,第一岛内的第一从设备没有接收到来自主设备的携带第二RRM信息的beacon帧。第一岛内的第二从设备确定满足信道切换条件,该第二从设备向第一岛内的各个从设备发送通知帧。第一岛内的第一从设备由于无法获取第二RRM信息,可能沿用已经保存的RRM信息,这样可能会导致第一岛和第二岛切换到同一个信道上,造成相互干扰。而主设备可维护第二RRM信息,所以主设备强制各个从设备切换当前信道可避免不同岛异常切换到同一信道,减少链路间的相互干扰。另外,也可以避免由于某一设备没有接收到岛内的其他设备发送的通知帧,而无法切换到与岛内其他设备相同的信道上。而主设备可强制该设备切换到与岛内其他设备相同的信道上。
应理解,主设备在确定满足信道切换条件,才强制各个从设备切换当前信道。举例来说,在一种可能的场景中,主设备通过系统内各个设备的连接信息发现两个岛切换到同一个信道,或者有干扰更小的信道,主设备可向两个岛中的其中一个岛内的各个设备发送用于信道切换的通知帧。该通知帧可携带该岛内各个设备要切换的信道的相关信息。
在另一种可能的场景中,主设备通过系统内各个设备的连接信息发现同一个岛内的不同设备不在同一个信道。例如,第一岛的信道是第一信道,主设备发现第一岛内的第一从设备在第一信道,第一岛内的第二从设备不在第一信道。这种情况下,主设备可向第二从设备发送用于信道切换的通知帧。该通知帧可携带第一信道的相关信息。
下面介绍本申请实施例涉及到各种帧的可能结构以及具体实现形式,例如用于主设备广播RRM信息的beacon帧;又例如,用于从设备上报信道干扰信息的动态帧,即action帧;又例如,用于信道切换的通知帧,也可以称为信道切换帧,该信道切换帧也可以是action帧。
用于从设备上报信道干扰信息的action帧,以及用于信道切换的action帧可以是自定义的帧。为了复用action帧,该action帧可包括用于承载标识action帧类型的字段,以区分action帧的作用。
作为一种示例,请参见图12,为用于从设备上报信道干扰信息的action帧的一种结构示意图。该action帧的格式可参考Vendor Specific IE,携带RRM信息以及该Action帧中的私有IE。例如该action帧可包括多个字段,例如帧控制(Frame Control)字段、周期(Duration)字段,以及用于承载岛以及岛内各个设备信息字段,例如包括主设备地址字段(address1字段)、从设备地址字段(address2字段)、岛标识字段(BSSID)字段,序列控制(sequence control)字段,以及帧体(frame body)字段,帧校验序列(frame check sequence,FCS)等。需要说明的是,图12只是示例,PNF可包括更多或更少的字段,每个字段可占用一个或多个比特,本申请实施例对此不作限制。其中,Frame Control字段可占用多个比特,用于承载协议版本以及帧子类型等信息。Duration字段可占用多个比特,用于承载信道占用时间。BSSID字段可占用多个比特,用于承载从设备所在岛的信息。sequence control字段可占用多个比特,用于承载发包的序号。frame body字段可占用多个比特,用于承载从设备的信道干扰信息。
frame body字段可包括多个字段,例如code字段、组织唯一标识符(organizationally unique identifier,OUI)字段、OUI子类型(Subtype)字段、类型(action type)字段、长度类型值((length type value,TLV)type字段,信道国家码字段,信道干扰信息字段。其中,code字段可根据action帧的类别代码(category code)来填写,例如可根据802.11协议确定为127,即指示Vendor-specific action。OUI字段可预先定义,例如OUI字段可用于承载“0x00-E0-FC”,以示意action为私有帧。OUI Type字段用于标识OUI的类型,例如与本申请实施例提供的action帧相关的私有帧。OUI Subtype字段用于标识action帧类型,例如action的帧类型可为“0x88”。TLV type字段可为“4”。信道国家码字段用于标识各个信道的国家码。信道干扰信息字段用于承载各个信道的信道干扰信息,例如信道干扰评分和干扰占空比等。如图12所示,信息干扰信息字段可用于承载Ch36 20M、Ch36 40M、Ch36 80M以及Ch165 20M的信道干扰评分以及干扰占空比。需要说明的是,action帧可包括的除信道干扰信息字段之外的字段的定义可参考802.11标准中的定义,这里不再赘述。
请参见图13,为用于信道切换的action帧的一种结构示意图。该action帧格式类似图12,可参考图12的相关内容。与图12不同之处在于,相比用于从设备上报信道干扰信息的action帧来说,用于信道切换的action帧的frame body字段可包括更少的字段,例如包括code字段、OUI字段、OUI Type字段(例如承载特殊(Feature)ID)、TLV type字段、TLV length字段,用于承载要切换到的信道的信息字段,例如包括用于承载信道编号的Ch number字段以及用于承载信道带宽的BW字段,以及用于承载切换信道时间的Change CH Time字段。
请参见图14,为beacon帧的一种结构示意图。beacon帧可携带主设备要发送的RRM信息,例如各个信道的评分、各个信道的带宽、每个岛的设备数量,分配到每个信道上的 岛数量,每岛包括的设备的MAC地址等。如图14所示,CH1 Number表示评分最高的信道的编号;BW占用2个bits,表示评分对应的带宽;Team Number占用6个bits,表示分配到这岛的信道和带宽上的Team数量;Score表示此信道的评分;Rate Capacity表示剩余的速率容量;Team 1 STA Number表示分配的第一个Team中的节点数量;MAC xx表示Team 1中节点的MAC地址,xx依次为Team中节点的序号;CH2 Number表示评分第二高的信道的编号;BW表示评分对应的带宽,依次类推。如果设备还未建链,或者设备还没有收到建链信息,则Team Number全部赋值为0,即可不携带分配到这岛的信道和带宽上的Team数量,只携带信道评分排序信息。
基于以上实施例,本申请实施例还提供了一种电子设备,该电子设备例如为手机、或PAD、或便携计算机、或智能音箱等。如图15所示,该电子设备可以包括:显示屏1501;一个或多个处理器1502;一个或多个存储器1503,用于存储一个或多个程序1504;上述各器件可以通过一个或多个通信总线1505连接。所述显示屏1501可以用于显示电子设备中的某个文件的内容;或者所述显示屏1501还可以用于显示电子设备的桌面;或者所述显示屏1501可以用于显示一个图像等等。
其中,当存储器1503中存储的一个或多个程序1504被一个或多个处理器1502执行时,电子设备可以用于执行签署各个实施例中的各个步骤,例如执行如图5或图7所示的实施例或其他相应实施例中的各个步骤。当然,在一些实施例中,电子设备还可以包括收发器,用于与其他设备进行通信。需要说明的是,处理器1502可以是处理模块/处理单元,收发器可以是收发模块/通信接口等。
在一些实施例中,所述电子设备用于实现前述实施例中主设备的行为功能。那么收发器可用于接收来自各个从设备的信道评分信息,每个信道评分信息用于指示对应设备所测量的各个信道被干扰的程度;处理器可用于根据接收的所述信道评分信息和主设备的信道评分信息生成第一RRM信息,第一RRM信息用于指示各个信道的优先级排序,其中,信道的优先级越高,所述信道的干扰程度越低;收发器还用于向各个从设备发送第一RRM信息。
作为一种可选的实现方式,所述处理器还用于在根据接收的信道评分信息和主设备的信道评分信息生成第一RRM信息之前,对各个信道进行测量,获得主设备的信道评分信息。
作为一种可选的实现方式,所述处理器具体用于:
合并来自多个从设备的信道干扰信息,获得目标信道干扰信息,该目标干扰信息包括各个信道的信道干扰评分和/或干扰占空比;
根据目标信道干扰信息生成第一RRM信息。
作为一种可选的实现方式,所述处理器具体用于:根据以下一种或多种因素更新第一RRM信息:各个信道的信道干扰评分、各个信道的干扰占空比、各个信道对应的岛的业务优先级、各个信道的剩余速率容量、各个信道的总速率容量以及各个岛包括的设备数量。
作为一种可选的实现方式,所述处理器还用于:根据第一岛的业务优先级,确定为第一岛待分配的第一信道的剩余速率容量不满足第一岛的业务需求,将第一信道的优先级降低一级,并将第一RRM信息更新为第二RRM信息。
作为一种可选的实现方式,所述处理器还用于确定主设备满足信道切换条件;所述收发器还用于向主设备所在岛内的其他设备发送第一通知帧,该第一通知帧用于通知所述其他设备切换到备选信道。其中,所述信道切换条件包括以下的一种或多种:业务卡顿,业 务时延超过第二预设阈值,主设备当前工作的第二信道繁忙。
作为一种可选的实现方式,所述处理器还用于确定第二岛包括的第二从设备和第三从设备工作在多个信道;所述收发器还用于向第三从设备发送第一通知帧,该第一通知帧用于指示第三从设备切换到第二从设备工作的信道。
作为一种可选的实现方式,所述处理器还用于确定第三岛和第四岛工作在第三信道;所述收发器还用于向第四岛发送第二通知帧,该第二通知帧用于指示第四岛从第三信道切换到第四信道。
在另一些实施例中,电子设备用于实现前述实施例中第一从设备的行为功能。那么收发器用于向主设备发送信道评分信息,并接收来自主设备的第一RRM信息;所述处理器用于在确定当前工作的第一信道被干扰的程度大于第一预设阈值,根据第一RRM信息从第一信道切换到第二信道。其中,信道评分信息用于指示第一从设备所测量的各个信道被干扰的程度;信道的优先级越高,所述信道的干扰程度越低;第一信道被干扰的程度大于第二信道被干扰的程度。
作为一种可选的实现方式,所述收发器具体用于:
在上报干扰定时器的第一时长到期,向主设备发送信道评分信息。其中,所述上报干扰定时器包括多个时长,每个时长用于部分从设备上报各自的信道干扰信息。
作为一种可选的实现方式,第一信道的干扰程度与第二信道的干扰程度之间的差值大于或等于第二预设阈值。
作为一种可选的实现方式,所述处理器还用于确定第一从设备满足信道切换条件;所述收发器用于向第一从设备所在岛内的其他设备发送第一通知帧,该第一通知帧用于通知所述其他设备切换到备选信道。其中,所述信道切换条件包括以下的一种或多种:业务卡顿,业务时延超过第二预设阈值,第二信道繁忙。
作为一种可选的实现方式,所述收发器还用于:
接收来自主设备的第二通知帧,该第二通知帧用于指示第一从设备切换到第二从设备工作的信道。其中,第一从设备和第二从设备属于同一个岛,第一从设备和第二从设备工作在不同信道。
作为一种可选的实现方式,所述收发器还用于:
接收来自主设备的第三通知帧,该第三通知帧用于指示第一从设备从第四信道切换到第五信道。其中,第四信道为多个岛工作的信道,第一从设备属于所述多个岛中的一个岛。
需要说明的是,本申请实施例中对单元的划分是示意性的,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式。本发明实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。例如,上述实施例中,第一获取单元和第二获取单元可以是同一个单元,也不同的单元。上述集成的单元既可以采用硬件的形式实现,也可以采用软件功能单元的形式实现,也可以采用硬件结合软件功能单元的形式实现。
上述实施例中所用,根据上下文,术语“当…时”可以被解释为意思是“如果…”或“在…后”或“响应于确定…”或“响应于检测到…”。类似地,根据上下文,短语“在确定…时”或“如果检测到(所陈述的条件或事件)”可以被解释为意思是“如果确定…”或“响应于确定…”或“在检测到(所陈述的条件或事件)时”或“响应于检测到(所陈述的条件或事件)”。
在上述实施例中,可以全部或部分地通过软件、硬件、固件或者其任意组合来实现。当使用软件实现时,可以全部或部分地以程序产品的形式实现。所述程序产品包括一个或多个计算机指令。在计算机上加载和执行所述程序指令时,全部或部分地产生按照本申请实施例所述的流程或功能。所述计算机可以是通用计算机、专用计算机、计算机网络、或者其他可编程设备。所述计算机指令可以存储在计算机可读存储介质中,或者从一个计算机可读存储介质向另一个计算机可读存储介质传输,例如,所述计算机指令可以从一个网站站点、计算机、服务器或数据中心通过有线(例如同轴电缆、光纤、数字用户线)或无线(例如红外、无线、微波等)方式向另一个网站站点、计算机、服务器或数据中心进行传输。所述计算机可读存储介质可以是计算机能够存取的任何可用介质或者是包含一个或多个可用介质集成的服务器、数据中心等数据存储设备。所述可用介质可以是磁性介质,(例如,软盘、硬盘、磁带)、光介质(例如DVD)、或者半导体介质(例如固态硬盘)等。
显然,本领域的技术人员可以对本申请进行各种改动和变型而不脱离本申请的精神和范围。这样,倘若本申请的这些修改和变型属于本申请权利要求及其等同技术的范围之内,则本申请也意图包含这些改动和变型在内。

Claims (19)

  1. 一种资源管理方法,其特征在于,应用于包括主设备和多个从设备的域,所述域内相互连接的多个设备形成岛,所述方法包括:
    所述主设备接收来自各个所述从设备的信道评分信息,其中,每个所述信道评分信息用于指示对应从设备所测量的各个信道被干扰的程度;
    所述主设备根据接收的所述信道评分信息和所述主设备的信道评分信息生成第一无线资源管理RRM信息,所述第一RRM信息用于指示所述各个信道的优先级排序,其中,信道的优先级越高,所述信道的干扰程度越低;
    所述主设备将所述第一RRM信息发送给所述各个从设备。
  2. 如权利要求1所述的方法,其特征在于,所述主设备根据接收的所述信道评分信息和所述主设备的信道评分信息生成第一RRM信息,包括:
    所述主设备合并来自所述多个从设备的信道干扰信息,获得目标信道干扰信息,所述目标干扰信息包括各个信道的信道干扰评分和/或干扰占空比;
    根据所述目标信道干扰信息生成所述第一RRM信息。
  3. 如权利要求2所述的方法,其特征在于,所述方法还包括:
    所述主设备根据如下的一种或多种因素更新所述第一RRM信息:
    各个信道的信道干扰评分、各个信道的干扰占空比、各个信道对应的岛的业务优先级、各个信道的剩余速率容量、各个信道的总速率容量以及各个岛包括的设备数量。
  4. 如权利要求2或3所述的方法,其特征在于,所述方法还包括:
    所述主设备根据第一岛的业务优先级,确定为所述第一岛待分配的第一信道的剩余速率容量不满足所述第一岛的业务需求,将所述第一信道的优先级降低一级,并将所述第一RRM信息更新为第二RRM信息。
  5. 如权利要求3所述的方法,其特征在于,所述方法还包括:
    在所述主设备根据接收的所述信道评分信息和所述主设备的信道评分信息生成所述第一RRM信息之前,所述主设备对各个信道进行测量,获得所述主设备的信道评分信息。
  6. 如权利要求1-5任一项所述的方法,其特征在于,所述方法还包括:
    若所述主设备确定所述主设备满足信道切换条件,所述信道切换条件包括以下的一种或多种:业务卡顿,业务时延超过第二预设阈值,所述主设备当前工作的第二信道繁忙;
    所述主设备向所述主设备所在岛内的其他设备发送第一通知帧,所述第一通知帧用于通知所述其他设备切换到备选信道。
  7. 如权利要求1-6任一项所述的方法,其特征在于,所述方法还包括:
    若所述主设备确定第二岛包括的第二从设备和第三从设备工作在多个信道,则所述主设备向所述第三从设备发送第一通知帧,所述第一通知帧用于指示所述第三从设备切换到所述第二从设备工作的信道。
  8. 如权利要求1-7任一项所述的方法,其特征在于,所述方法还包括:
    若所述主设备确定第三岛和第四岛工作在第三信道,则所述主设备向所述第四岛发送第二通知帧,所述第二通知帧用于指示所述第四岛从所述第三信道切换到第四信道。
  9. 一种资源管理方法,其特征在于,应用于包括主设备和多个从设备的域,所述域内相互连接的多个设备形成岛,所述多个从设备包括第一从设备,所述方法包括:
    所述第一从设备向所述主设备发送信道评分信息,所述信道评分信息用于指示所述第一从设备所测量的各个信道被干扰的程度;
    所述第一从设备接收来自所述主设备的第一无线资源管理RRM信息,所述第一RRM信息用于指示各个信道的优先级排序,其中,信道的优先级越高,所述信道的干扰程度越低;
    所述第一从设备在确定当前工作的第一信道被干扰的程度大于第一预设阈值,根据所述第一RRM信息从所述第一信道切换到第二信道,所述第一信道被干扰的程度大于所述第二信道被干扰的程度。
  10. 如权利要求9所述的方法,其特征在于,第一从设备向所述主设备发送信道评分信息,包括:
    所述第一从设备在上报干扰定时器的第一时长到期,向所述主设备发送所述信道评分信息,其中,所述上报干扰定时器包括多个时长,每个时长用于部分从设备上报各自的信道干扰信息。
  11. 如权利要求9或10所述的方法,其特征在于,所述第一信道的干扰程度与所述第二信道的干扰程度之间的差值大于或等于第二预设阈值。
  12. 如权利要求9-11任一项所述的方法,其特征在于,所述方法还包括:
    所述第一从设备确定所述第一从设备满足信道切换条件,所述信道切换条件包括以下的一种或多种:业务卡顿,业务时延超过第二预设阈值,所述第二信道繁忙;
    所述第一从设备向所述第一从设备所在岛内的其他设备发送第一通知帧,所述第一通知帧用于通知所述其他设备切换到备选信道。
  13. 如权利要求9-12任一项所述的方法,其特征在于,所述方法还包括:
    所述第一从设备接收来自所述主设备的第二通知帧,所述第二通知帧用于指示所述第一从设备切换到第二从设备工作的信道,其中,所述第一从设备和所述第二从设备属于同一个岛,所述第一从设备和所述第二从设备工作在不同信道。
  14. 如权利要求9-13任一项所述的方法,其特征在于,所述方法还包括:
    所述第一从设备接收来自所述主设备的第三通知帧,所述第三通知帧用于指示所述第一从设备从第四信道切换到第五信道,其中,所述第四信道为多个岛工作的信道,所述第一从设备属于所述多个岛中的一个岛。
  15. 一种电子设备,其特征在于,所述电子设备为分布式系统中的多个电子设备的任意电子设备,所述分布式系统还包括第二电子设备和第三电子设备,所述电子设备包括存储器及与所述存储器耦合的至少一个处理模块;所述存储器用于存储指令,所述至少一个处理模块用于执行所述指令;其中,所述至少一个处理模块执行所述指令时使得所述电子设备执行如权利要求1-8任一项所述的方法。
  16. 一种电子设备,其特征在于,所述电子设备为分布式系统中的多个电子设备的任意电子设备,所述分布式系统还包括第二电子设备和第三电子设备,所述电子设备包括存储器及与所述存储器耦合的至少一个处理模块;所述存储器用于存储指令,所述至少一个处理模块用于执行所述指令;其中,所述至少一个处理模块执行所述指令时使得所述电子设备执行如权利要求9-14任一项所述的方法。
  17. 一种分布式系统,其特征在于,包括如权利要求15的电子设备,以及多个如权利要求16的电子设备。
  18. 一种芯片,其特征在于,所述芯片包括处理模块和接口,所述接口用于与所述处理模块通信以及接收来自其他设备的信息;所述处理模块用于执行如权利要求1-14任一项所述的方法。
  19. 一种计算机可读存储介质,其特征在于,所述计算机可读存储介质存储有计算机可执行指令,所述计算机可执行指令在被电子设备调用时,使所述电子设备执行如权利要求1-14任一项所述的方法。
PCT/CN2022/087394 2021-05-14 2022-04-18 一种资源管理方法及设备 WO2022237458A1 (zh)

Priority Applications (2)

Application Number Priority Date Filing Date Title
US18/560,796 US20240259119A1 (en) 2021-05-14 2022-04-18 Resource Management Method and Device
EP22806428.3A EP4322670A4 (en) 2021-05-14 2022-04-18 METHOD AND DEVICE FOR RESOURCE MANAGEMENT

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202110529036.9A CN115348674A (zh) 2021-05-14 2021-05-14 一种资源管理方法及设备
CN202110529036.9 2021-05-14

Publications (1)

Publication Number Publication Date
WO2022237458A1 true WO2022237458A1 (zh) 2022-11-17

Family

ID=83946672

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2022/087394 WO2022237458A1 (zh) 2021-05-14 2022-04-18 一种资源管理方法及设备

Country Status (4)

Country Link
US (1) US20240259119A1 (zh)
EP (1) EP4322670A4 (zh)
CN (1) CN115348674A (zh)
WO (1) WO2022237458A1 (zh)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20060056492A1 (en) * 2004-09-16 2006-03-16 Oki Electric Industry Co., Ltd. Wireless communication control method and wireless communication device
CN104754678A (zh) * 2015-04-10 2015-07-01 中国电力科学研究院 一种无线网络中ap选择最佳信道的方法
US20190357224A1 (en) * 2017-01-06 2019-11-21 Zte Corporation Data transmission method and device, and storage medium

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8913511B2 (en) * 2010-04-01 2014-12-16 Qualcomm Incorporated Interference management to support peer-to-peer communication in a wide area network
US9614641B2 (en) * 2010-05-12 2017-04-04 Qualcomm Incorporated Resource coordination for peer-to-peer groups through distributed negotiation
US10517098B2 (en) * 2010-07-30 2019-12-24 Qualcomm Incorporated Interference coordination for peer-to-peer (P2P) communication and wide area network (WAN) communication
US9706524B2 (en) * 2014-12-24 2017-07-11 Lg Electronics Inc. Method of performing scheduling for D2D multicast communication in wireless communication system and apparatus therefor

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20060056492A1 (en) * 2004-09-16 2006-03-16 Oki Electric Industry Co., Ltd. Wireless communication control method and wireless communication device
CN104754678A (zh) * 2015-04-10 2015-07-01 中国电力科学研究院 一种无线网络中ap选择最佳信道的方法
US20190357224A1 (en) * 2017-01-06 2019-11-21 Zte Corporation Data transmission method and device, and storage medium

Non-Patent Citations (3)

* Cited by examiner, † Cited by third party
Title
FUJITSU: "Discussion of RRM measurement for D2D communication", 3GPP DRAFT; R1-142071_DISCUSSION OF RRM MEASUREMENT FOR D2D COMMUNICATION FINAL2, vol. RAN WG1, 9 May 2014 (2014-05-09), Seoul, Korea, pages 1 - 6, XP050814303 *
FUJITSU: "RRM for D2D communication", 3GPP DRAFT; R1-135142_RRM FOR D2D COMMUNICATION, vol. RAN WG1, 2 November 2013 (2013-11-02), San Francisco, United States, pages 1 - 6, XP050750776 *
See also references of EP4322670A4 *

Also Published As

Publication number Publication date
EP4322670A4 (en) 2024-09-25
EP4322670A1 (en) 2024-02-14
US20240259119A1 (en) 2024-08-01
CN115348674A (zh) 2022-11-15

Similar Documents

Publication Publication Date Title
WO2022228085A1 (zh) 一种休眠调度方法及设备
US9008149B2 (en) Synchronous access method, and communication device and system in frequency hopping radio communication
WO2021185141A1 (zh) Wi-Fi Aware的建链方法、系统、电子设备和存储介质
US11540140B2 (en) Neighbor awareness networking time slot allocation
WO2022228083A1 (zh) 一种多设备建立连接的方法及设备
WO2013117124A1 (zh) 一种d2d通信中的资源协商方法及设备
WO2021115193A1 (zh) 一种设备组网方法、电子设备及系统
US10750535B2 (en) Apparatus, system and method of neighbor awareness networking (NAN) communication
EP4258710A1 (en) Method for transmitting data in near field, device and system
WO2022042265A1 (zh) 通信方法、终端设备及存储介质
WO2023284862A1 (zh) 一种无线信道资源的管理方法、设备以及系统
WO2021213055A1 (zh) 通信网络设置方法以及终端设备
JP2024516668A (ja) デバイスネットワーキング方法、電子デバイス、及び記憶媒体
US10064097B2 (en) Interface shaping for virtual interfaces
WO2022048344A1 (zh) 一种通信方法及设备
WO2018058428A1 (zh) 建立回程链路的方法及装置
WO2023179731A1 (zh) 休眠唤醒方法及电子设备
WO2022237458A1 (zh) 一种资源管理方法及设备
WO2023025191A1 (zh) 通信方法及电子设备
WO2022206672A1 (zh) 发现和连接电子设备的方法以及电子设备
WO2022012356A1 (zh) 数据传输方法和装置
WO2021179973A1 (zh) 一种恢复双连接的方法及装置
WO2022077520A1 (zh) 通信方法及装置
WO2021217534A1 (zh) 一种通信方法和装置
US20190075609A1 (en) Paging Schemes for Peer-to-Peer Communications

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: 22806428

Country of ref document: EP

Kind code of ref document: A1

WWE Wipo information: entry into national phase

Ref document number: 2022806428

Country of ref document: EP

ENP Entry into the national phase

Ref document number: 2022806428

Country of ref document: EP

Effective date: 20231108

WWE Wipo information: entry into national phase

Ref document number: 18560796

Country of ref document: US

NENP Non-entry into the national phase

Ref country code: DE