WiFi6 resource allocation method, system, storage medium and electronic device

By limiting the speed according to the access type of the mobile terminal when multiple people are connected to the wireless network, the problem of over-limiting network bandwidth and congestion is solved, and the optimal allocation of network resources is achieved.

CN115396956BActive Publication Date: 2025-02-14MICRONET UNION TECH (CHENGDU) CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202210827294.X
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-07-13
Publication Date
2025-02-14
Estimated Expiration
2042-07-13

AI Technical Summary

Technical Problem

When multiple people connect to a wireless network at the same time, the network bandwidth may exceed the limit, causing network congestion, and the inability to use WiFi resources normally.

Method used

By determining the access type of the mobile terminal (provisional access or temporary access), when the remaining bandwidth of the target WiFi is less than the threshold, the mobile terminal with the agreed access is limited to the speed and adjust its bandwidth value to avoid network congestion. .

Benefits of technology

It effectively avoids network congestion when multiple people connect to wireless networks, ensures that emergency tasks can be completed in a timely manner, limits the speed of mobile terminals for non-emergency tasks, and optimizes network resource allocation.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115396956B_ABST
    Figure CN115396956B_ABST
Patent Text Reader

Abstract

The present invention discloses a resource allocation method, system, storage medium and electronic device of WiFi6. The method comprises: marking a mobile terminal with an access type of agreed access as a first mobile terminal, and marking a mobile terminal with an access type of temporary access as a second mobile terminal; when the remaining bandwidth of the target WiFi is less than a first threshold, sending a request to obtain the screen display state of the first mobile terminal; when the screen display state is a locked screen, obtaining the task type of the first task performed by the first mobile terminal; when the task type is a non-emergency task, adjusting the occupiable bandwidth value of the first mobile terminal to a first speed limit value; when the screen display state is an unlocked screen, sending a speed limit request to the first mobile terminal. The present invention solves the technical problem of network congestion caused by multiple people connecting to a wireless network.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of network communications, and in particular to a resource allocation method, system, storage medium and electronic device for WiFi6. Background Art

[0002] In the prior art, for example in a company, when multiple people connect to a wireless network (Wireless Fidelity, WiFi), since WiFi resources have an upper limit, if multiple people use WiFi at the same time, the WiFi resource limit may be exceeded, causing network congestion, and the final result is that multiple people cannot use WiFi resources normally. Summary of the invention

[0003] The embodiments of the present invention provide a WiFi6 resource allocation method, system, storage medium and electronic device to at least solve the technical problem of network congestion caused by multiple people connecting to a wireless network.

[0004] According to one aspect of an embodiment of the present invention, a resource allocation method for WiFi6 is provided, including: determining the access type of each mobile terminal accessing the target WiFi; marking the mobile terminal whose access type is agreed access as a first mobile terminal, and marking the mobile terminal whose access type is temporary access as a second mobile terminal; in a case where the remaining bandwidth of the target WiFi is less than a first threshold, sending an acquisition request to the first mobile terminal to acquire the screen display status of the first mobile terminal; in a case where the screen display status is a locked screen, acquiring the task type of a first task executed by the first mobile terminal; in the case where the task type In the case of a non-emergency task, the occupiable bandwidth value of the above-mentioned first mobile terminal is adjusted to the first speed limit value; in the case that the above-mentioned screen display state is not locked, a speed limit request is sent to the above-mentioned first mobile terminal, wherein the above-mentioned speed limit request is used to request that the occupiable bandwidth value of the above-mentioned first mobile terminal be adjusted to the second speed limit value; in the case of receiving a confirmation instruction from the above-mentioned first mobile terminal, the occupiable bandwidth value of the above-mentioned first mobile terminal is adjusted to the above-mentioned second speed limit value; in the case that no rejection instruction and the above-mentioned confirmation instruction are received from the above-mentioned first mobile terminal within a period of time, the occupiable bandwidth value of the above-mentioned first mobile terminal is adjusted to the above-mentioned second speed limit value.

[0005] According to another aspect of an embodiment of the present invention, a resource allocation system for WiFi6 is provided, including: a determination module for determining the access type of each mobile terminal accessing the target WiFi; a marking module for marking the mobile terminal with the access type of agreed access as a first mobile terminal, and marking the mobile terminal with the access type of temporary access as a second mobile terminal; a first sending module for sending an acquisition request to the first mobile terminal to acquire the screen display status of the first mobile terminal when the remaining bandwidth of the target WiFi is less than a first threshold; an acquisition module for acquiring the task type of the first task executed by the first mobile terminal when the screen display status is a locked screen; a first adjustment module for When the above-mentioned task type is a non-emergency task, the occupiable bandwidth value of the above-mentioned first mobile terminal is adjusted to the first speed limit value; the second sending module is used to send a speed limit request to the above-mentioned first mobile terminal when the above-mentioned screen display state is unlocked, wherein the above-mentioned speed limit request is used to request to adjust the occupiable bandwidth value of the above-mentioned first mobile terminal to the second speed limit value; the second adjustment module is used to adjust the occupiable bandwidth value of the above-mentioned first mobile terminal to the above-mentioned second speed limit value when receiving a confirmation instruction from the above-mentioned first mobile terminal; the third adjustment module is used to adjust the occupiable bandwidth value of the above-mentioned first mobile terminal to the above-mentioned second speed limit value when no rejection instruction and the above-mentioned confirmation instruction are received from the above-mentioned first mobile terminal within a period of time.

[0006] As an optional example, the system further includes: when the task type is an emergency task, increasing the occupiable bandwidth value of the first mobile terminal.

[0007] As an optional example, the system further includes: upon receiving the rejection instruction from the first mobile terminal, maintaining the occupiable bandwidth value of the first mobile terminal unchanged.

[0008] As an optional example, the system further includes: before determining the access type of each mobile terminal accessing the target WiFi, sending a permission acquisition request to each of the mobile terminals, wherein the permission acquisition request is used to request that the access type of the mobile terminal be marked as the agreed access; if the mobile terminal authorizes, the access type of the mobile terminal is marked as the agreed access, and if the mobile terminal refuses authorization, the access type of the mobile terminal is marked as the temporary access.

[0009] As an optional example, before determining the access type of each mobile terminal accessing the target WiFi, sending a permission acquisition request to each of the mobile terminals includes: when the number of times the mobile terminal accesses the target WiFi exceeds a predetermined number of times, sending a permission acquisition request to each of the mobile terminals.

[0010] As an optional example, when the task type is a non-emergency task, adjusting the occupiable bandwidth value of the first mobile terminal to the first speed limit value includes: determining the required bandwidth value for the first mobile terminal to perform the non-emergency task; adjusting the occupiable bandwidth value of the first mobile terminal to N percent of the required bandwidth value, wherein N is an integer greater than 0 and less than 100.

[0011] As an optional example, the system further includes: when the non-urgent task is a downloading task, setting N to a first value; when the non-urgent task is a playback task, setting N to a second value, wherein the second value is greater than the first value.

[0012] According to another aspect of an embodiment of the present invention, a storage medium is also provided, in which a computer program is stored, wherein the computer program executes the above-mentioned WiFi6 resource allocation method when executed by a processor.

[0013] According to another aspect of an embodiment of the present invention, there is also provided an electronic device, including a memory and a processor, wherein a computer program is stored in the memory, and the processor is configured to execute the resource allocation method of WiFi6 through the computer program.

[0014] In an embodiment of the present invention, the access type of each mobile terminal accessing the target WiFi is determined; the mobile terminal whose access type is agreed access is marked as the first mobile terminal, and the mobile terminal whose access type is temporary access is marked as the second mobile terminal; when the remaining bandwidth of the target WiFi is less than the first threshold, an acquisition request is sent to the first mobile terminal to acquire the screen display state of the first mobile terminal; when the screen display state is the locked screen, the task type of the first task executed by the first mobile terminal is acquired; when the task type is a non-emergency task, the occupiable bandwidth value of the first mobile terminal is adjusted to the first speed limit value; when the screen display state is not locked, upward The first mobile terminal sends a speed limit request, wherein the speed limit request is used to request that the bandwidth value that can be occupied by the first mobile terminal be adjusted to the second speed limit value; in the case of receiving the determination instruction of the first mobile terminal, the bandwidth value that can be occupied by the first mobile terminal is adjusted to the second speed limit value; in the case of not receiving the rejection instruction and the determination instruction of the first mobile terminal within a period of time, the bandwidth value that can be occupied by the first mobile terminal is adjusted to the second speed limit value. Since in the above method, when multiple mobile terminals access a target WiFi, if the remaining bandwidth of the target WiFi is less than the first threshold, the mobile terminal of a specific access type can be determined according to the access type of the accessed mobile terminal. If the specific mobile terminal is in a locked screen state and performs a non-emergency task, the speed of the specific mobile terminal is limited. If the specific mobile terminal is not in a locked screen state, a speed limit request is sent to the specific mobile terminal, requesting that the speed of the specific mobile terminal be limited, thereby achieving the purpose of ensuring that the emergency task is completed within a certain period of time when multiple people are connected to a wireless network, limiting the speed of the mobile terminal of the non-emergency task, and avoiding network congestion, thereby solving the technical problem of network congestion caused by multiple people connecting to a wireless network. BRIEF DESCRIPTION OF THE DRAWINGS

[0015] The drawings described herein are used to provide a further understanding of the present invention and constitute a part of this application. The exemplary embodiments of the present invention and their descriptions are used to explain the present invention and do not constitute an improper limitation of the present invention. In the drawings:

[0016] Figure 1 It is a flowchart of an optional WiFi6 resource allocation method according to an embodiment of the present invention;

[0017] Figure 2 It is a schematic diagram of speed limit of an optional resource allocation method of WiFi6 according to an embodiment of the present invention;

[0018] Figure 3It is a structural diagram of an optional WiFi6 resource allocation system according to an embodiment of the present invention;

[0019] Figure 4 is a schematic diagram of an optional electronic device according to an embodiment of the present invention. DETAILED DESCRIPTION

[0020] In order to enable those skilled in the art to better understand the scheme of the present invention, the technical scheme in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work should fall within the scope of protection of the present invention.

[0021] It should be noted that the terms "first", "second", etc. in the specification and claims of the present invention and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchanged where appropriate, so that the embodiments of the present invention described herein can be implemented in an order other than those illustrated or described herein. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device that includes a series of steps or units is not necessarily limited to those steps or units that are clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.

[0022] According to a first aspect of an embodiment of the present invention, a resource allocation method for WiFi6 is provided, optionally, as follows: Figure 1 As shown, the above method includes:

[0023] S102, determining the access type of each mobile terminal accessing the target WiFi;

[0024] S104, marking a mobile terminal whose access type is agreed access as a first mobile terminal, and marking a mobile terminal whose access type is temporary access as a second mobile terminal;

[0025] S106, when the remaining bandwidth of the target WiFi is less than the first threshold, sending an acquisition request to the first mobile terminal to acquire the screen display status of the first mobile terminal;

[0026] S108, when the screen display state is the locked screen, obtaining a task type of a first task executed by the first mobile terminal;

[0027] S110, when the task type is a non-emergency task, adjusting the occupiable bandwidth value of the first mobile terminal to a first speed limit value;

[0028] S112, when the screen display state is unlocked, sending a speed limit request to the first mobile terminal, wherein the speed limit request is used to request that the occupiable bandwidth value of the first mobile terminal be adjusted to a second speed limit value;

[0029] S114, when receiving a confirmation instruction from the first mobile terminal, adjusting the occupiable bandwidth value of the first mobile terminal to a second speed limit value;

[0030] S116: When no rejection instruction or confirmation instruction is received from the first mobile terminal within a period of time, the occupiable bandwidth value of the first mobile terminal is adjusted to a second speed limit value.

[0031] Optionally, in this embodiment, the WiFi may be WiFi6, and for WiFi6, wireless network services may be provided through a wireless router. Mobile terminals may access WiFi6 to use network services. For example, the WiFi6 in a company provides wireless network services through a wireless router, and employees may access the network for use. In this case, multiple employees may access the same WiFi6. However, the bandwidth resources of WiFi6 are capped. Therefore, the problem may arise that the bandwidth used by multiple employees exceeds the bandwidth resource cap of WiFi6.

[0032] This embodiment proposes a method for marking the access type for the employee's mobile terminal, and the access type may include temporary access and agreed access. The mobile terminal for agreed access is marked as the first mobile terminal, and the mobile terminal for temporary access is marked as the second mobile terminal. If the remaining bandwidth of WiFi6 is less than the first threshold, it means that the current network bandwidth is not enough. At this time, the first mobile terminal can be speed-limited. Specifically, the screen display status of the first mobile terminal can be obtained. If the screen display status is a locked screen state, it means that the first mobile terminal is not in use or is running a background task. If the running task is a non-urgent task, the first mobile terminal is speed-limited. If the screen of the first mobile terminal is not locked, a speed limit request can be sent to the first mobile terminal, requesting that the first mobile terminal be speed-limited. If the first mobile terminal disagrees with the speed limit, the first mobile terminal will not be speed-limited. If the first mobile terminal agrees with the speed limit, or the first mobile terminal does not feedback within a period of time, the first mobile terminal can be speed-limited.

[0033] For example, for a staff member in a company, a request can be sent to the staff member's mobile terminal to ask whether he is willing to join the bandwidth resource allocation plan. If the staff member agrees to join the plan, the staff member's mobile terminal can be marked as the first mobile terminal. If the staff member is unwilling to join the plan, the staff member's mobile terminal can be marked as the second mobile terminal. This embodiment will only limit the speed of mobile terminals that join the bandwidth resource allocation plan. For the first mobile terminal that joins the plan, the user can be asked to obtain permission to read the screen display status and read the task type of the task performed by the first mobile terminal. If the user authorizes the permission, the corresponding content can be read. If the user prohibits granting permission, the corresponding content cannot be read, and the user's mobile terminal will be removed from the bandwidth resource allocation plan. Staff members who have not joined the plan and temporary visiting customers can be marked as second mobile terminals. The second mobile terminal will not be speed limited.

[0034] Since in the above method, when multiple mobile terminals access a target WiFi, if the remaining bandwidth of the target WiFi is less than the first threshold, the mobile terminal of a specific access type can be judged according to the access type of the accessed mobile terminal. If the specific mobile terminal is in a locked screen state and performs a non-emergency task, the speed of the specific mobile terminal is limited. If the specific mobile terminal is not in a locked screen state, a speed limit request is sent to the specific mobile terminal, requesting that the speed of the specific mobile terminal be limited, thereby achieving the purpose of ensuring that the emergency task is completed within a limited time when multiple people are connected to a wireless network, limiting the speed of mobile terminals for non-emergency tasks, and avoiding network congestion, thereby solving the technical problem of network congestion caused by multiple people connecting to a wireless network.

[0035] As an optional example, the above method further includes:

[0036] When the task type is an emergency task, the occupiable bandwidth value of the first mobile terminal is increased.

[0037] That is, if the screen of the first mobile terminal is in a locked state, but the first mobile terminal is executing an emergency task, the occupiable bandwidth value of the first mobile terminal can be increased, thereby ensuring smooth execution of the emergency task of the first mobile terminal.

[0038] As an optional example, the above method further includes:

[0039] When a rejection instruction is received from the first mobile terminal, the occupiable bandwidth value of the first mobile terminal is kept unchanged.

[0040] If the screen of the first mobile terminal is not in a locked state, and after the speed limit request is sent to the first mobile terminal, the first mobile terminal disagrees with the speed limit, then the speed limit is not performed on the first mobile terminal.

[0041] As an optional example, the above method further includes:

[0042] Before determining the access type of each mobile terminal accessing the target WiFi, sending a permission acquisition request to each mobile terminal, wherein the permission acquisition request is used to request that the access type of the mobile terminal be marked as agreed access;

[0043] In the case where the mobile terminal authorizes, the access type of the mobile terminal is marked as agreed access, and in the case where the mobile terminal refuses authorization, the access type of the mobile terminal is marked as temporary access.

[0044] In this embodiment, an invitation may be sent to a mobile terminal connected to WiFi6 to invite the mobile terminal to join the bandwidth resource allocation plan. If the mobile terminal joins, the mobile terminal acts as the first mobile terminal and performs speed limit when necessary. If the mobile terminal does not join, the mobile terminal may be marked as the second mobile terminal.

[0045] As an optional example, before determining the access type of each mobile terminal accessing the target WiFi, sending a permission acquisition request to each mobile terminal includes:

[0046] When the number of times that the mobile terminal accesses the target WiFi exceeds a predetermined number, a permission acquisition request is sent to each mobile terminal.

[0047] Optionally, in this embodiment, the number of connections of the mobile terminal connected to WiFi6 can be recorded. If the number of connections exceeds the predetermined number, it means that the mobile terminal is a mobile terminal that frequently connects to WiFi6, and it can be basically determined that the mobile terminal is a mobile terminal of a company staff member. Therefore, a request can be sent to the mobile terminal to ask whether it is willing to join the bandwidth resource allocation plan.

[0048] As an optional example, in the case where the task type is a non-urgent task, adjusting the occupiable bandwidth value of the first mobile terminal to the first speed limit value includes:

[0049] Determine a bandwidth requirement value for the first mobile terminal to perform a non-emergency task;

[0050] The occupiable bandwidth value of the first mobile terminal is adjusted to N percent of the required bandwidth value, where N is an integer greater than 0 and less than 100.

[0051] As an optional example, the above method further includes:

[0052] When the non-urgent task is a download task, N is set to a first value;

[0053] When the non-urgent task is a playback task, N is set to a second value, wherein the second value is greater than the first value.

[0054] In this embodiment, when limiting the speed, the bandwidth required by the first mobile terminal for performing a non-urgent task can be determined, and then the speed limit value can be limited to below the required bandwidth value. If it is a download task, the speed limit value can be limited to below 20%, and if it is a playback task, such as playing music or playing videos, the speed limit value can be limited to below 80%.

[0055] For example, Figure 2 As shown, for mobile terminals 1-10, mobile terminals 1-5 are added to the bandwidth resource allocation plan, and mobile terminals 6-10 are not added to the plan. Then, when the bandwidth resources of WiFi6 are insufficient, the screen display status of mobile terminals 1-5 can be checked. If the screen is locked, you can check whether the task being executed is an emergency task or a non-emergency task. If mobile terminal 1-2 is locked, it is executing a task issued by the company and an emergency task. Therefore, mobile terminal 1-2 can be unrestricted or accelerated. Mobile terminal 3 is locked but no emergency task is executed, and mobile terminal 3 can be speed-limited. For mobile terminals 4 and 5, if the screen is not locked, a request can be sent to mobile terminals 4 and 5 to request speed limit for mobile terminals 4 and 5. If mobile terminals 4 and 5 agree to speed limit or do not respond, speed limit can be applied. If mobile terminals 4 and 5 do not agree to speed limit, speed limit will not be applied to mobile terminals 4 and 5. Mobile terminals 6-10 are not speed-limited.

[0056] It should be noted that, for the above-mentioned method embodiments, for the sake of simplicity, they are all described as a series of action combinations, but those skilled in the art should know that the present invention is not limited by the described order of actions, because according to the present invention, certain steps can be performed in other orders or simultaneously. Secondly, those skilled in the art should also know that the embodiments described in the specification are all preferred embodiments, and the actions and modules involved are not necessarily required by the present invention.

[0057] According to another aspect of the embodiment of the present application, a WiFi6 resource allocation system is also provided, such as Figure 3 As shown, including:

[0058] A determination module 302 is used to determine the access type of each mobile terminal accessing the target WiFi;

[0059] The marking module 304 is used to mark the mobile terminal whose access type is the agreed access as the first mobile terminal, and mark the mobile terminal whose access type is the temporary access as the second mobile terminal;

[0060] A first sending module 306 is configured to send an acquisition request to the first mobile terminal to acquire a screen display state of the first mobile terminal when the remaining bandwidth of the target WiFi is less than a first threshold;

[0061] An acquisition module 308 is used to acquire a task type of a first task executed by the first mobile terminal when the screen display state is a locked screen;

[0062] The first adjustment module 310 is used to adjust the occupiable bandwidth value of the first mobile terminal to the first speed limit value when the task type is a non-urgent task;

[0063] The second sending module 312 is used to send a speed limit request to the first mobile terminal when the screen display state is unlocked, wherein the speed limit request is used to request that the occupiable bandwidth value of the first mobile terminal be adjusted to a second speed limit value;

[0064] The second adjustment module 314 is used to adjust the occupiable bandwidth value of the first mobile terminal to the second speed limit value when receiving the determination instruction of the first mobile terminal;

[0065] The third adjustment module 316 is configured to adjust the occupiable bandwidth value of the first mobile terminal to the second speed limit value when no rejection instruction or confirmation instruction is received from the first mobile terminal within a period of time.

[0066] Optionally, in this embodiment, the WiFi may be WiFi6, and for WiFi6, wireless network services may be provided through a wireless router. Mobile terminals may access WiFi6 to use network services. For example, the WiFi6 in a company provides wireless network services through a wireless router, and employees may access the network for use. In this case, multiple employees may access the same WiFi6. However, the bandwidth resources of WiFi6 are capped. Therefore, the problem may arise that the bandwidth used by multiple employees exceeds the bandwidth resource cap of WiFi6.

[0067] This embodiment proposes a method for marking the access type for the employee's mobile terminal, and the access type may include temporary access and agreed access. The mobile terminal for agreed access is marked as the first mobile terminal, and the mobile terminal for temporary access is marked as the second mobile terminal. If the remaining bandwidth of WiFi6 is less than the first threshold, it means that the current network bandwidth is not enough. At this time, the first mobile terminal can be speed-limited. Specifically, the screen display status of the first mobile terminal can be obtained. If the screen display status is a locked screen state, it means that the first mobile terminal is not in use or is running a background task. If the running task is a non-urgent task, the first mobile terminal is speed-limited. If the screen of the first mobile terminal is not locked, a speed limit request can be sent to the first mobile terminal, requesting that the first mobile terminal be speed-limited. If the first mobile terminal disagrees with the speed limit, the first mobile terminal will not be speed-limited. If the first mobile terminal agrees with the speed limit, or the first mobile terminal does not feedback within a period of time, the first mobile terminal can be speed-limited.

[0068] For example, for a staff member in a company, a request can be sent to the staff member's mobile terminal to ask whether he is willing to join the bandwidth resource allocation plan. If the staff member agrees to join the plan, the staff member's mobile terminal can be marked as the first mobile terminal. If the staff member is unwilling to join the plan, the staff member's mobile terminal can be marked as the second mobile terminal. This embodiment will only limit the speed of mobile terminals that join the bandwidth resource allocation plan. For the first mobile terminal that joins the plan, the user can be asked to obtain permission to read the screen display status and read the task type of the task performed by the first mobile terminal. If the user authorizes the permission, the corresponding content can be read. If the user prohibits granting permission, the corresponding content cannot be read, and the user's mobile terminal will be removed from the bandwidth resource allocation plan. Staff members who have not joined the plan and temporary visiting customers can be marked as second mobile terminals. The second mobile terminal will not be speed limited.

[0069] Since in the above method, when multiple mobile terminals access a target WiFi, if the remaining bandwidth of the target WiFi is less than the first threshold, the mobile terminal of a specific access type can be judged according to the access type of the accessed mobile terminal. If the specific mobile terminal is in a locked screen state and performs a non-emergency task, the speed of the specific mobile terminal is limited. If the specific mobile terminal is not in a locked screen state, a speed limit request is sent to the specific mobile terminal, requesting that the speed of the specific mobile terminal be limited, thereby achieving the purpose of ensuring that the emergency task is completed within a limited time when multiple people are connected to a wireless network, limiting the speed of mobile terminals for non-emergency tasks, and avoiding network congestion, thereby solving the technical problem of network congestion caused by multiple people connecting to a wireless network.

[0070] For other examples of this embodiment, please refer to the above examples and will not be repeated here.

[0071] Figure 4 is a structural block diagram of an optional electronic device according to an embodiment of the present application, such as Figure 4 As shown, it includes a processor 402, a communication interface 404, a memory 406 and a communication bus 408, wherein the processor 402, the communication interface 404 and the memory 406 communicate with each other through the communication bus 408, wherein,

[0072] Memory 406, used to store computer programs;

[0073] The processor 402 is used to implement the following steps when executing the computer program stored in the memory 406:

[0074] Determine the access type of each mobile terminal accessing the target WiFi;

[0075] Marking a mobile terminal whose access type is agreed access as a first mobile terminal, and marking a mobile terminal whose access type is temporary access as a second mobile terminal;

[0076] When the remaining bandwidth of the target WiFi is less than the first threshold, sending an acquisition request to the first mobile terminal to acquire the screen display state of the first mobile terminal;

[0077] When the screen display state is the locked screen, obtaining a task type of a first task executed by the first mobile terminal;

[0078] When the task type is a non-urgent task, adjusting the occupiable bandwidth value of the first mobile terminal to the first speed limit value;

[0079] When the screen display state is unlocked, sending a speed limit request to the first mobile terminal, wherein the speed limit request is used to request that the occupiable bandwidth value of the first mobile terminal be adjusted to a second speed limit value;

[0080] When receiving a confirmation instruction from the first mobile terminal, adjusting the occupiable bandwidth value of the first mobile terminal to a second speed limit value;

[0081] When no rejection instruction or confirmation instruction is received from the first mobile terminal within a period of time, the occupiable bandwidth value of the first mobile terminal is adjusted to the second speed limit value.

[0082] Optionally, in this embodiment, the communication bus may be a PCI (Peripheral Component Interconnect) bus or an EISA (Extended Industry Standard Architecture) bus. The communication bus may be divided into an address bus, a data bus, a control bus, etc. For ease of representation, Figure 4 The communication interface is used for communication between the above electronic device and other devices.

[0083] The memory may include RAM, or may include non-volatile memory, such as at least one disk memory. Optionally, the memory may also be at least one storage device located away from the aforementioned processor.

[0084] As an example, the memory 406 may include, but is not limited to, the determination module 302, the marking module 304, the first sending module 306, the acquisition module 308, the first adjustment module 310, the second sending module 312, the second adjustment module 314, and the third adjustment module 316 in the resource allocation system of the WiFi6. In addition, other module units in the resource allocation system of the WiFi6 may also be included but are not limited to, which will not be repeated in this example.

[0085] The above-mentioned processor can be a general-purpose processor, which can include but not be limited to: CPU (Central Processing Unit), NP (Network Processor), etc.; it can also be DSP (Digital Signal Processing), ASIC (Application Specific Integrated Circuit), FPGA (Field-Programmable Gate Array) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components.

[0086] Optionally, the specific examples in this embodiment may refer to the examples described in the above embodiments, and this embodiment will not be described in detail here.

[0087] It can be understood by those skilled in the art that Figure 4The structure shown is for illustration only. The device for implementing the above-mentioned WiFi6 resource allocation method may be a terminal device, which may be a smart phone (such as an Android phone, an iOS phone, etc.), a tablet computer, a PDA, a mobile Internet device (Mobile Internet Devices, MID), a PAD, and other terminal devices. Figure 4 The structure of the electronic device is not limited. Figure 4 More or fewer components (such as network interfaces, display devices, etc.) shown in, or having Figure 4 Different configurations shown.

[0088] A person of ordinary skill in the art can understand that all or part of the steps in the various methods of the above embodiments can be completed by instructing the hardware related to the terminal device through a program, and the program can be stored in a computer-readable storage medium, which can include: a flash drive, ROM, RAM, a magnetic disk or an optical disk, etc.

[0089] According to another aspect of an embodiment of the present invention, a computer-readable storage medium is also provided, in which a computer program is stored, wherein the computer program executes the steps in the above-mentioned WiFi6 resource allocation method when executed by a processor.

[0090] Optionally, in this embodiment, a person of ordinary skill in the art may understand that all or part of the steps in the various methods of the above embodiments may be completed by instructing hardware related to the terminal device through a program, and the program may be stored in a computer-readable storage medium, and the storage medium may include: a flash drive, a read-only memory (ROM), a random access memory (RAM), a disk or an optical disk, etc.

[0091] The serial numbers of the above embodiments of the present invention are only for description and do not represent the advantages or disadvantages of the embodiments.

[0092] If the integrated units in the above embodiments are implemented in the form of software functional units and sold or used as independent products, they can be stored in the above computer-readable storage medium. Based on such an understanding, the technical solution of the present invention, or the part that contributes to the prior art, or all or part of the technical solution can be embodied in the form of a software product, which is stored in a storage medium and includes several instructions for enabling one or more computer devices (which can be personal computers, servers or network devices, etc.) to perform all or part of the steps of the methods described in various embodiments of the present invention.

[0093] In the above embodiments of the present invention, the description of each embodiment has its own emphasis. For parts that are not described in detail in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.

[0094] In the several embodiments provided in the present application, it should be understood that the disclosed client can be implemented in other ways. Among them, the device embodiments described above are only schematic. For example, the division of the units is only a logical function division. There may be other division methods in actual implementation. For example, multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of units or modules, which can be electrical or other forms.

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

[0096] In addition, each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of software functional units.

[0097] The above is only a preferred embodiment of the present invention. It should be pointed out that for ordinary technicians in this technical field, several improvements and modifications can be made without departing from the principle of the present invention. These improvements and modifications should also be regarded as the scope of protection of the present invention.

Claims

1. A WiFi6 resource allocation method, characterized in that: include: Determine the access type of each mobile terminal accessing the target WiFi; Marking the mobile terminal whose access type is agreed access as a first mobile terminal, and marking the mobile terminal whose access type is temporary access as a second mobile terminal; When the remaining bandwidth of the target WiFi is less than a first threshold, sending an acquisition request to the first mobile terminal to acquire a screen display state of the first mobile terminal; When the screen display state is the locked screen, obtaining a task type of a first task executed by the first mobile terminal; When the task type is a non-urgent task, adjusting the occupiable bandwidth value of the first mobile terminal to a first speed limit value; When the screen display state is unlocked, sending a speed limit request to the first mobile terminal, wherein the speed limit request is used to request that the occupiable bandwidth value of the first mobile terminal be adjusted to a second speed limit value; When receiving the confirmation instruction from the first mobile terminal, adjusting the occupiable bandwidth value of the first mobile terminal to the second speed limit value; When neither the rejection instruction nor the confirmation instruction is received from the first mobile terminal within a period of time, the occupiable bandwidth value of the first mobile terminal is adjusted to the second speed limit value.

2. The method according to claim 1, characterized in that The method further comprises: When the task type is an emergency task, the occupiable bandwidth value of the first mobile terminal is increased.

3. The method according to claim 1, characterized in that The method further comprises: When the rejection instruction is received from the first mobile terminal, the occupiable bandwidth value of the first mobile terminal is kept unchanged.

4. The method according to claim 1, characterized in that: The method further comprises: Before determining the access type of each mobile terminal accessing the target WiFi, sending a permission acquisition request to each mobile terminal, wherein the permission acquisition request is used to request that the access type of the mobile terminal be marked as the agreed access; In the case where the mobile terminal authorizes, the access type of the mobile terminal is marked as the agreed access; in the case where the mobile terminal refuses authorization, the access type of the mobile terminal is marked as the temporary access.

5. The method according to claim 4, characterized in that Before determining the access type of each mobile terminal accessing the target WiFi, sending a permission acquisition request to each mobile terminal includes: When the number of times the mobile terminal accesses the target WiFi exceeds a predetermined number, a permission acquisition request is sent to each of the mobile terminals.

6. The method according to claim 1, characterized in that When the task type is a non-urgent task, adjusting the occupiable bandwidth value of the first mobile terminal to the first speed limit value includes: Determine a required bandwidth value for the first mobile terminal to perform the non-emergency task; The occupiable bandwidth value of the first mobile terminal is adjusted to N percent of the required bandwidth value, where N is an integer greater than 0 and less than 100.

7. The method according to claim 6, characterized in that The method further comprises: When the non-urgent task is a download task, setting N to a first value; In the case that the non-urgent task is a playback task, N is set to a second value, wherein the second value is greater than the first value.

8. A WiFi6 resource allocation system, characterized in that: include: A determination module, used to determine the access type of each mobile terminal accessing the target WiFi; A marking module, used to mark the mobile terminal whose access type is agreed access as a first mobile terminal, and mark the mobile terminal whose access type is temporary access as a second mobile terminal; A first sending module, configured to send an acquisition request to the first mobile terminal to acquire a screen display state of the first mobile terminal when the remaining bandwidth of the target WiFi is less than a first threshold; an acquisition module, configured to acquire a task type of a first task executed by the first mobile terminal when the screen display state is a locked screen A first adjustment module, configured to adjust the occupiable bandwidth value of the first mobile terminal to a first speed limit value when the task type is a non-urgent task; A second sending module is used to send a speed limit request to the first mobile terminal when the screen display state is unlocked, wherein the speed limit request is used to request that the occupiable bandwidth value of the first mobile terminal be adjusted to a second speed limit value; A second adjustment module is used to adjust the occupiable bandwidth value of the first mobile terminal to the second speed limit value when receiving a determination instruction from the first mobile terminal; The third adjustment module is used to adjust the occupiable bandwidth value of the first mobile terminal to the second speed limit value when no rejection instruction and the confirmation instruction are received from the first mobile terminal within a period of time.

9. A computer-readable storage medium storing a computer program, characterized in that: When the computer program is executed by a processor, the method according to any one of claims 1 to 7 is executed.

10. An electronic device comprising a memory and a processor, characterized in that: A computer program is stored in the memory, and the processor is configured to execute the method according to any one of claims 1 to 7 through the computer program.

Citation Information

Patent Citations

  • Issuing rate processing method and device, server and storage medium

    CN110365545A

  • Data transmission method and device, equipment and medium

    CN114039702A