Resource allocation method, resource allocation device, electronic device and readable storage medium

By adjusting the number of resource units and power spectral density of wireless network devices, the problem of poor communication quality caused by the small coverage area of ​​wireless network devices was solved, and the user experience was improved in complex indoor environments.

CN115665809BActive Publication Date: 2026-06-19VIVO MOBILE COMM CO LTD

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
VIVO MOBILE COMM CO LTD
Filing Date
2022-10-18
Publication Date
2026-06-19

Smart Images

  • Figure CN115665809B_ABST
    Figure CN115665809B_ABST
Patent Text Reader

Abstract

This application discloses a resource allocation method, a resource allocation device, an electronic device, and a readable storage medium, belonging to the field of electronic technology. The method includes: upon detecting a rate rollback request, determining whether the number of resource units corresponding to a first signal level matches the number of resource units corresponding to the first signal level in a first call relationship table, obtaining a matching result, wherein the first call relationship table indicates the mapping relationship between signal levels and resource unit numbers; and reconfiguring the number of resource units corresponding to the first signal level based on the matching result.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application belongs to the field of electronic technology, specifically relating to a resource allocation method, a resource allocation device, an electronic device, and a readable storage medium. Background Technology

[0002] Network devices with wireless access capabilities can include mobile terminals or wireless network devices, such as mobile phones, routers, or Wi-Fi devices. Typically, the wireless signals emitted by wireless network devices have a certain coverage range. Mobile terminals also have a maximum communication distance for establishing a connection with wireless network devices when receiving wireless signals; this can also be considered as having a certain coverage range.

[0003] Even when different mobile phones are at the same distance from the same Wi-Fi device and are all within the wireless signal coverage area, the communication quality of the phones can vary greatly. Some phones have a wider coverage area, allowing them to establish a smooth communication connection with the Wi-Fi device. Other phones, however, have a narrower coverage area, resulting in a weaker connection and poorer communication quality.

[0004] When Wi-Fi devices are indoors, the propagation distance of the wireless signal typically decreases sharply if there are obstructions. In home applications, the straight-line coverage distance of a Wi-Fi device is approximately 150 meters. However, in complex environments such as indoor walls, the actual communication distance may be less than 10 meters, or even insufficient for typical household Wi-Fi signal coverage. For example, communication is often unreliable on balconies or in bedrooms, and users will clearly experience network lag and poor communication quality. Summary of the Invention

[0005] The purpose of this application is to provide a resource allocation method, resource allocation device, electronic device, and readable storage medium that can solve the problem of poor communication quality caused by the small communication coverage of network devices.

[0006] In a first aspect, embodiments of this application provide a resource allocation method, the method comprising:

[0007] When a rate rollback request is detected, it is determined whether the number of resource units corresponding to the first signal level matches the number of first resource units corresponding to the first signal level in the first call relationship table, and a matching result is obtained. The first call relationship table is used to indicate the mapping relationship between the signal level and the number of resource units.

[0008] Based on the matching results, the number of resource units corresponding to the first signal level is reconfigured.

[0009] Secondly, embodiments of this application provide a resource allocation apparatus, the apparatus comprising:

[0010] The judgment module is used to determine whether the number of resource units corresponding to the first signal level matches the number of first resource units corresponding to the first signal level in the first call relationship table when a rate rollback request is detected, and to obtain a matching result. The first call relationship table is used to indicate the mapping relationship between the signal level and the number of resource units.

[0011] The configuration module is used to reconfigure the number of resource units corresponding to the first signal level based on the matching result.

[0012] Thirdly, embodiments of this application provide an electronic device including a processor and a memory, wherein the memory stores programs or instructions executable on the processor, and the programs or instructions, when executed by the processor, implement the steps of the method described in the first aspect.

[0013] Fourthly, embodiments of this application provide a readable storage medium on which a program or instructions are stored, which, when executed by a processor, implement the steps of the method described in the first aspect.

[0014] Fifthly, embodiments of this application provide a chip, the chip including a processor and a communication interface, the communication interface being coupled to the processor, the processor being used to run programs or instructions to implement the method as described in the first aspect.

[0015] In a sixth aspect, embodiments of this application provide a computer program product stored in a storage medium, which is executed by at least one processor to implement the method described in the first aspect.

[0016] In this embodiment of the application, by reconfiguring the number of resource units corresponding to the first signal level, a balance can be achieved between coverage distance and communication rate. It is possible to increase the communication rate while reducing the coverage area, or increase the coverage area while reducing the communication rate, thereby improving the user experience. Attached Figure Description

[0017] Figure 1 This is a flowchart illustrating the resource allocation method provided in an embodiment of this application;

[0018] Figure 2 This is a flowchart illustrating the resource allocation method provided in the embodiments of this application;

[0019] Figure 3 This is a schematic diagram of the structure of the resource allocation device provided in the embodiments of this application;

[0020] Figure 4 This is a schematic diagram of the structure of the electronic device provided in the embodiments of this application;

[0021] Figure 5 This is a hardware schematic diagram of the electronic device provided in the embodiments of this application. Detailed Implementation

[0022] The technical solutions of the embodiments of this application will be clearly described below with reference to the accompanying drawings. Obviously, the described embodiments are only some, not all, of the embodiments of this application. All other embodiments obtained by those skilled in the art based on the embodiments of this application are within the scope of protection of this application.

[0023] The terms "first," "second," etc., used in the specification and claims of this application are used to distinguish similar objects and not to describe a specific order or sequence. It should be understood that such use of data can be interchanged where appropriate so that embodiments of this application can be implemented in orders other than those illustrated or described herein, and the objects distinguished by "first," "second," etc., are generally of the same class and the number of objects is not limited; for example, a first object can be one or more. Furthermore, in the specification and claims, "and / or" indicates at least one of the connected objects, and the character " / " generally indicates that the preceding and following objects are in an "or" relationship.

[0024] The resource allocation method, resource allocation device, electronic device, and readable storage medium provided in this application will be described in detail below with reference to the accompanying drawings and through specific embodiments and application scenarios.

[0025] The resource allocation method provided in this application embodiment can be executed by a network device or a functional module or entity in a network device that can implement the resource allocation method. The network device mentioned in this application embodiment supports the 802.11ax protocol and may include, but is not limited to, mobile terminals, routers, or network devices with wireless access point (AP) functions.

[0026] The resource allocation method provided in this application embodiment will be described below using a network device as the execution subject as an example.

[0027] Figure 1 This is a flowchart illustrating the resource allocation method provided in the embodiments of this application.

[0028] like Figure 1 As shown, the resource allocation method includes steps 110 and 120.

[0029] Step 110: When a rate rollback request is detected, determine whether the number of resource units corresponding to the first signal level matches the number of resource units corresponding to the first signal level in the first call relationship table, and obtain the matching result. The first call relationship table is used to indicate the mapping relationship between the signal level and the number of resource units.

[0030] Step 120: Based on the matching results, reconfigure the number of resource units corresponding to the first signal level.

[0031] The embodiments of this application may employ sixth-generation wireless network technology, that is, the supported protocol is 802.11ax.

[0032] It should be noted that the 802.11ax protocol introduces Orthogonal Frequency Division Multiple Access (OFDMA) technology. OFDMA introduces the concept of Resource Unit (RU), meaning that the bandwidth of 20MHz / 40MHz / 80MHz / 160MHz can be divided into RUs of different sizes and allocated to different user terminals. This greatly improves the utilization of spectrum resources. The protocol's starting point is to maximize the use of spectrum resources by multiple users, with resources being allocated evenly among multiple users, without increasing the power spectral density.

[0033] In practice, common RU sizes are 26 / 52 / 106 / 242 / 484 / 996, where the unit is subcarrier (Tone). Each subcarrier has a bandwidth of 78.125 kHz.

[0034] Among them, 26-tone RU means that one RU contains 26 subcarriers; 52-tone RU means that one RU contains 52 subcarriers; 106-tone RU means that one RU contains 106 subcarriers; 242-tone RU means that one RU contains 242 subcarriers; 484-tone RU means that one RU contains 484 subcarriers; 996-tone RU means that one RU contains 996 subcarriers, etc.

[0035] The embodiments of this application are illustrated using a 20MHz bandwidth as an example. In a 20MHz OFDMA bandwidth, there are 256 subcarriers, which are grouped into subchannels (or resource units). As can be seen from the aforementioned RU size, the 20MHz bandwidth can be divided into RUs of different sizes.

[0036] For example, when the RU size is 26-tone, 9 RUs can be used in 20MHz, and the remaining subcarriers are used as guard bandwidth. In this case, the bandwidth of each RU is 78.125Khz × 26 = 2.03125M.

[0037] When the RU size is 242-tone, one RU can be used in 20MHz, with the remaining subcarriers serving as guard bandwidth. Similarly, when the RU size is 52-tone, four 52-tone RUs can be used in 20MHz, or when the RU size is 106-tone, two 106-tone RUs can be used in 20MHz.

[0038] This application uses a 26toneRU as an example, but it is not specifically limited here.

[0039] Compared to the case where 20MHz is divided into 9 RUs, the power spectral density is increased by 10*log9=9.54dB when using a single RU.

[0040] The power spectral density enhancement value is calculated as 10log[(Power A / Bandwidth A) / (Power B / Bandwidth B)], where A corresponds to the situation after adjusting the number of RUs, and B corresponds to the situation before adjusting the number of RUs. For the same wireless network with the same power, when the number of usable RUs is reduced from 9 to 1, the power spectral density enhancement value is 10*log9 = 9.54dB. The power spectral density enhancement value for RUs with other bandwidths and other tones is calculated similarly.

[0041] In practice, the attenuation formula for the wireless channel is:

[0042] L bs = 32.45 + 20lgF (MHz) + 20lgD (km). Where F is the frequency and D is the coverage distance.

[0043] For example: Assuming the frequency is 20MHz and the communication distance is 0.1km, the attenuation value of the wireless channel is:

[0044] 32.45+20lg20+20lg0.1=38.47db

[0045] After the attenuation value of the wireless channel increases by 9.54 dB, then:

[0046] 32.45 + 20lg20 + 20lgD = 88.01

[0047] D = 0.3km

[0048] Therefore, when the power spectral density is increased by 9.54 dB using a single RU, the theoretical attenuation value L of the wireless channel is based on the same signal-to-noise ratio (SNR). BS An increase of 9.54 dB corresponds to a coverage distance D of approximately 0.3 km, which means the coverage distance becomes three times the original.

[0049] In actual implementation, when nine 26-tone RUs can be used in 20MHz, the number of RUs can be adjusted from 1 to 9; when four 52-tone RUs can be used in 20MHz, the number of RUs can be adjusted from 1 to 4; when two 106-tone RUs can be used in 20MHz, the number of RUs can be adjusted from 1 to 2; when one 242-tone RU can be used in 20MHz, the number of RUs cannot be adjusted.

[0050] The following examples all use a 26-tone RU as an example, because the RU size is the smallest, the number of subdivisions is the largest, and the maximum coverage can be obtained.

[0051] Therefore, it can be seen that the maximum coverage of network devices can be obtained by limiting the number of RUs.

[0052] The specific values ​​of frequency and coverage distance in the embodiments of this application are only used as calculation examples, and the embodiments of this application do not specifically limit them.

[0053] As shown in Table 1, Table 1 illustrates the mapping relationship between the increase in power spectrum and the percentage of coverage distance. The increase in power spectrum refers to the improved power spectral density, and the percentage of coverage distance is the percentage of the increased coverage distance relative to the original coverage distance.

[0054] Coverage distance can refer to the maximum communication distance that a mobile terminal can establish when receiving wireless signals, or it can refer to the maximum coverage area of ​​wireless signals emitted by wireless network equipment.

[0055] Table 1

[0056] The power spectrum increased (dB). 1.00 2.00 3.00 4.00 5.00 6.00 7.00 8.00 9.00 10.00 Coverage distance percentage 12.20% 125.89% 141.25% 158.49% 177.83% 199.53% 223.87% 251.19% 281.84% 316.23%

[0057] Due to the limitation of communication bandwidth, the communication rate will be reduced accordingly. Taking the number of usable RUs as 1 RU as an example, the communication rate is 1 / 9 of the original 20M bandwidth. The rate of the 20M bandwidth can be referred to Table 2. The final effect is that in locations where the Internet was previously unavailable, basic usage scenarios such as games, web browsing, and low-quality videos can still be met.

[0058] As shown in Table 2, Table 2 is used to represent the rate table of Modulation and Coding Scheme (MCS).

[0059] Table 2

[0060]

[0061] Therefore, by controlling the operating bandwidth of network devices, the power spectral density can be increased, and the coverage of network devices can be expanded.

[0062] In step 110, the network status is detected. When the network device connects to a wireless network supporting the 11aX protocol, active detection is performed, and a first call relationship table corresponding to signal levels and RUs is generated. The recommended number of RUs corresponding to the current signal level can be determined through the first call relationship table. The signal level is used to indicate the communication quality of the current network.

[0063] It is understandable that network devices will re-detect after connecting to different communication networks in order to update the first call relationship table corresponding to the current communication network.

[0064] The first call relationship table is used to represent the mapping relationship between different signal levels and the number of RUs corresponding to each signal level. The first call relationship table can be stored in the network device in any data format, and no specific limitation is made here.

[0065] Detect whether the AP sends a rate rollback request. If the network device detects a rate rollback request, determine whether the number of RUs corresponding to the first signal level matches the number of first RUs corresponding to the first signal level in the first call relationship table.

[0066] It should be noted that a rate backoff request is a control signaling message used to indicate whether the communication quality of a network device meets communication requirements. The detection of a rate backoff request indicates that the current communication quality of the network device no longer meets the requirements. To ensure communication quality, the communication rate can be reduced. In this embodiment, the communication rate can be adjusted by changing the number of RUs.

[0067] Wherein, the first signal level is the current signal level, and the number of first RUs corresponding to the first signal level is the number of first RUs corresponding to the current signal level.

[0068] The matching process is illustrated below:

[0069] If the number of RUs corresponding to the first signal level is 5, and the number of first RUs corresponding to the first signal level in the first call relationship table is 6, it can be considered a matching failure.

[0070] If the number of RUs corresponding to the first signal level is 5, and the number of the first RUs corresponding to the first signal level in the first call relationship table is 5, it can be considered a successful match.

[0071] Based on the above matching process, the corresponding matching result can be obtained, which is either a successful match or a failed match.

[0072] In step 120, based on the matching results, different adjustment methods can be selected to reconfigure the number of RUs corresponding to the first signal level.

[0073] It is understandable that the number of RUs corresponding to the reconfiguration of the signal level can be either increased or decreased, and no specific limitation is made here.

[0074] In practice, the number of RUs currently available is directly proportional to the communication rate and inversely proportional to the coverage area. Therefore, if a rate rollback request is detected, the number of RUs can be readjusted according to actual needs.

[0075] It should be noted that the 802.11ax protocol defines different RU resources. Protocols below 802.11ax also support 5M bandwidth, which can theoretically achieve a 2-fold increase in coverage distance. However, network devices need to be configured from the protocol side to support this bandwidth combination.

[0076] According to the resource allocation method provided in the embodiments of this application, by reconfiguring the number of resource units corresponding to the first signal level, a balance can be achieved between coverage distance and communication rate. It can increase the communication rate while reducing the coverage area, or increase the coverage area while reducing the communication rate, thereby improving the user experience.

[0077] In some embodiments, if the matching result is a failure, the number of resource units corresponding to the first signal level is reconfigured based on the matching result, including:

[0078] Based on the matching results, the number of resource units corresponding to the first signal level is configured as the number of first resource units.

[0079] In actual execution, if the matching fails, it can be said that the first signal level does not satisfy the mapping relationship between the signal level and the number of RUs indicated by the first call relationship table. In this case, the number of RUs corresponding to the first signal level can be directly configured as the first number of RUs according to the first call relationship table.

[0080] According to the resource allocation method provided in the embodiments of this application, the maximum coverage range can be determined by automatically configuring the number of resource units corresponding to the first signal level, thereby achieving long-distance coverage.

[0081] In some embodiments, if the matching result is successful, the number of resource units corresponding to the first signal level is reconfigured based on the matching result, including:

[0082] Based on the matching results, the number of resource units corresponding to the first signal level is configured as the number of second resource units in the second call relationship table. The second call relationship table is used to indicate the mapping relationship between the number of resource units, the maximum communication rate, and the coverage distance.

[0083] In practice, if a match fails, it indicates poor network quality, and increasing the coverage area can be used to ensure communication quality. Coverage can be increased manually or automatically. Regardless of the method chosen, a second call relationship table must be pre-determined. This table indicates the mapping relationship between the number of RUs, the maximum communication rate, and the coverage distance, and can also indicate the corresponding increase in power spectral density.

[0084] The increase in power spectral density refers to the increase in power spectral density. Coverage distance is expressed as a percentage of the original coverage distance, representing the increased coverage distance. Maximum communication rate refers to the maximum communication rate corresponding to the current number of RUs. Coverage distance can refer to the maximum communication distance at which a mobile terminal can establish a communication connection when receiving wireless signals, or it can refer to the maximum coverage area of ​​the wireless network signal emitted by the wireless network device.

[0085] Taking the 20MHz band as an example of being divided into 26-tone RUs, the number of usable RUs is 9, and the number of RUs can be adjusted from 1 to 9. The second call relationship table is shown in Table 3.

[0086] Table 3

[0087] Number of RUs 1.00 2.00 3.00 4.00 5.00 6.00 7.00 8.00 9.00 The power spectrum increased (dB). 9.54 6.53 4.77 3.52 2.55 1.76 1.09 0.51 0.00 Maximum speed (Mbps) 63.67 127.34 191.01 254.68 318.35 382.02 445.69 509.36 573.03 Coverage distance percentage 300.00% 212.13% 173.21% 150.00% 134.16% 122.47% 113.39% 106.07% 100.00%

[0088] As shown in the table above, when the communication quality is poor, if the user terminal is far away from the wireless network equipment, the number of RUs can be reduced to increase the coverage distance of the mobile terminal, or the number of RUs can be increased when the distance requirement is relatively low to obtain a higher communication rate. Ultimately, this can ensure stable or relatively improved communication quality.

[0089] In actual implementation, the second call relationship table can display different parameters according to actual needs. For example, it can only display the number of RUs and the corresponding coverage distance percentage, or only display the number of RUs and the corresponding maximum rate, or it can display parameters such as the number of RUs, coverage distance percentage, maximum rate and power spectrum increase as shown in Table 3. No specific limitation is made here.

[0090] Based on the bandwidth and RU size supported by the network device, one or more second call relationship tables can be set and pre-set in the network device for easy access by users.

[0091] When using the automatic coverage method, based on the matching results, the number of RUs that can be added to the coverage can be randomly selected in the second call relationship table. Alternatively, the number of RUs corresponding to the maximum coverage range can be selected, or the number of RUs preset by the user can be selected. This application embodiment does not make specific limitations here.

[0092] According to the resource allocation method provided in the embodiments of this application, the number of resource units corresponding to the first signal level is automatically configured through the second call relationship table, thereby improving the efficiency of resource allocation.

[0093] In some embodiments, if the matching result is successful, the number of resource units corresponding to the first signal level is reconfigured based on the matching result, including:

[0094] Based on the matching results, receive the user's first input;

[0095] In response to the first input, display the second call relationship table;

[0096] Receive a second input from the user, which is used to determine the number of second resource units;

[0097] In response to the second input, the number of resource units corresponding to the first signal level is configured to the second number of resource units.

[0098] In practice, the number of RUs can also be adjusted by manually increasing coverage. Based on the matching results, the user needs to confirm whether to manually increase coverage.

[0099] In this step, the first input is used to confirm the selection to manually add coverage.

[0100] The first input can be in at least one of the following ways:

[0101] Firstly, the first input can be a touch operation, including but not limited to click, swipe, and press operations.

[0102] In this embodiment, receiving the user's first input can be receiving a touch operation from the user on the device settings interface. The device settings interface can be displayed directly on the device display screen or on the user terminal.

[0103] To reduce the rate of user error, the effective area of ​​the first input can be limited to a specific area, such as the upper middle area of ​​the router settings interface; or, while displaying the device settings interface, the target control corresponding to the manual addition of the overlay function can be displayed and confirmed on the current interface, and touching the target control can realize the first input; or the first input can be set to a continuous multiple taps on the display area within a target time interval.

[0104] Secondly, the first input can also be a physical button input.

[0105] In this embodiment, the device body is provided with a physical button corresponding to the confirmation selection of manually adding coverage, which receives the user's first input. This can be receiving the user's first input by pressing the corresponding physical button; the first input can also be a combination operation of pressing multiple physical buttons simultaneously.

[0106] Thirdly, the first input can also be voice input.

[0107] In this implementation, when a voice message such as "Confirm selection to manually add coverage" is received, a second call relationship table can be displayed on the device settings interface.

[0108] Of course, in other embodiments, the first input may also be in other forms, including but not limited to character input, etc., which can be determined according to actual needs, and this application embodiment does not limit it.

[0109] After receiving the first input, the terminal can respond to the first input by displaying the second call relationship table on the device settings interface.

[0110] In this step, the second input is used to determine the number of second RUs.

[0111] The second input can be in at least one of the following ways:

[0112] Firstly, the second input can be a touch operation, including but not limited to click, swipe, and press operations.

[0113] In this embodiment, receiving the user's second input can be receiving the user's touch operation on the display area corresponding to the second call relationship table.

[0114] Secondly, the second input can also be physical button input.

[0115] In this embodiment, the device body is provided with physical buttons that are associated with selecting data in the second call relationship table. The second input received by the user can be the second input received by the user pressing the corresponding physical button; the second input can also be a combination operation of pressing multiple physical buttons simultaneously.

[0116] Thirdly, the second input can also be voice input.

[0117] In this implementation, the determination of the second number of RUs can be triggered when a voice message such as "Select RU number XXX" is received.

[0118] Of course, in other embodiments, the second input may also be in other forms, including but not limited to character input, etc., which can be determined according to actual needs, and this application embodiment does not limit it.

[0119] After receiving the second input, the terminal can respond to the second input by configuring the number of RUs corresponding to the first signal level to the second number of RUs.

[0120] Understandably, after configuring the number of RUs corresponding to the first signal level to the number of second RUs, it is possible to continue to detect whether a rate rollback request has been received.

[0121] According to the resource allocation method provided in the embodiments of this application, the number of resource units corresponding to the first signal level is manually configured through the second call relationship table, so that users can select the number of resource units according to their needs, thereby improving the user experience.

[0122] In some embodiments, prior to step 110, the method further includes:

[0123] When the second signal level is adjusted to the third signal level and a rate rollback request is detected, the number of resource units corresponding to the third signal level is adjusted. The second signal level is the detection level used to determine the first call relationship table.

[0124] If the number of resource units corresponding to the third signal level is adjusted to the third resource unit number and no rate backoff request is detected, the third resource unit number is determined as the target resource unit number.

[0125] Based on the correspondence between the third signal level and the number of target resource units, the first call relationship table is determined.

[0126] In practice, automatic detection can be performed when the network device determines that it is connecting to a wireless network that supports the 11ax protocol.

[0127] Assuming the detected initial signal level is the second signal level, the receiver gain is adjusted so that the actual received second signal level continuously decreases.

[0128] When the second signal level drops to the third signal level, a rate backoff request sent by the AP is detected. Then, the number of RUs corresponding to the third signal level begins to decrease until the AP stops sending rate backoff requests. The number of RUs corresponding to the third signal level at this time can be recorded as the target number of RUs, which is the recommended number of RUs corresponding to the third signal level.

[0129] By scanning each level position and repeating the above process, the first call relationship table can be obtained.

[0130] According to the resource allocation method provided in the embodiments of this application, the number of corresponding resource units is adjusted by automatically detecting the signal level, and a first call relationship table is automatically generated, which facilitates rapid resource allocation.

[0131] In some embodiments, Figure 2 This is a flowchart illustrating the resource allocation method provided in the embodiments of this application. For example... Figure 2 As shown, the resource allocation method provided in this application embodiment may include:

[0132] S1: The network device detects its own network status. When connected to the 11AX network, proceed to the next step.

[0133] S2: The network device performs automatic detection and generates the first call relationship table corresponding to the signal level and RU.

[0134] The specific implementation method is as follows:

[0135] (1) By adjusting the receiver gain, the actual received signal level is continuously reduced.

[0136] (2) When the voltage level drops to level A, a rate backoff request from the AP is detected. Based on the rate backoff request from the AP, the number of RUs U is decreased one by one until the AP stops sending rate backoff requests. The number of RUs at this point is recorded as the recommended number of RUs for level A.

[0137] (3) By repeating (1) and (2), the first call relationship table corresponding to the level and RU can be obtained.

[0138] S3: Detect whether the AP sends a rate backoff request to determine whether the current level meets the RU number switching condition. If a rate backoff request is detected, execute S4.

[0139] S4: Check if the current level matches the number of RUs in the first call relationship table. If they do not match, execute S5; if they match, execute S6.

[0140] S5: Configure the corresponding number of RUs according to the first call relationship table, and return to S3.

[0141] S6: Remind the user that the current network quality is poor and ask if they want to manually increase coverage. After the user confirms, proceed to S7.

[0142] S7: Displays the second call relationship table, which shows the correspondence between RUs, rates, and coverage percentages. The user selects the required number of RUs based on the second call relationship table, and returns to S3 after confirmation.

[0143] The resource allocation method provided in this application can be executed by a resource allocation device. This application uses the example of a resource allocation device executing the resource allocation method to illustrate the resource allocation device provided in this application.

[0144] This application also provides a resource allocation device.

[0145] Figure 3 This is a schematic diagram of the structure of the resource allocation device provided in the embodiments of this application.

[0146] like Figure 3 As shown, the resource allocation device includes a judgment module 310 and a configuration module 320.

[0147] The judgment module 310 is used to determine whether the number of resource units corresponding to the first signal level matches the number of first resource units corresponding to the first signal level in the first call relationship table when a rate rollback request is detected, and to obtain a matching result. The first call relationship table is used to indicate the mapping relationship between the signal level and the number of resource units.

[0148] The configuration module 320 is used to reconfigure the number of resource units corresponding to the first signal level based on the matching result.

[0149] According to the resource allocation device provided in the embodiments of this application, by reconfiguring the number of resource units corresponding to the first signal level, a balance can be achieved between coverage distance and communication rate. It can increase the communication rate while reducing the coverage area, or increase the coverage area while reducing the communication rate, thereby improving the user experience.

[0150] In some embodiments, when the matching result is a match failure, the configuration module 320 is further configured to:

[0151] Based on the matching result, the number of resource units corresponding to the first signal level is configured as the number of the first resource units.

[0152] In some embodiments, if the matching result is a successful match, the configuration module 320 is further configured to:

[0153] Based on the matching result, the number of resource units corresponding to the first signal level is configured as the number of second resource units in the second call relationship table. The second call relationship table is used to indicate the mapping relationship between the number of resource units, the maximum communication rate, and the coverage distance.

[0154] In some embodiments, if the matching result is a successful match, the configuration module 320 is further configured to:

[0155] Based on the matching results, receive the user's first input;

[0156] In response to the first input, display the second call relationship table;

[0157] Receive a second input from the user, which is used to determine the number of second resource units;

[0158] In response to the second input, the number of resource units corresponding to the first signal level is configured to the number of the second resource units.

[0159] In some embodiments, the apparatus further includes:

[0160] The detection module is used to adjust the number of resource units corresponding to the third signal level when the second signal level is adjusted to the third signal level and the rate rollback request is detected. The second signal level is the detection level used to determine the first call relationship table.

[0161] If the number of resource units corresponding to the third signal level is adjusted to the third resource unit number and no rate rollback request is detected, the third resource unit number is determined as the target resource unit number.

[0162] Based on the correspondence between the third signal level and the number of target resource units, the first call relationship table is determined.

[0163] The resource allocation device in this application embodiment can be an electronic device or a component within an electronic device, such as an integrated circuit or a chip. The electronic device can be a terminal or other devices besides a terminal. For example, the electronic device can be a mobile phone, tablet computer, laptop computer, PDA, in-vehicle electronic device, mobile internet device (MID), augmented reality (AR) / virtual reality (VR) device, robot, wearable device, ultra-mobile personal computer (UMPC), netbook, or personal digital assistant (PDA), etc. It can also be a server, network attached storage (NAS), personal computer (PC), television set (TV), ATM, or self-service machine, etc. This application embodiment does not specifically limit the device.

[0164] The resource allocation device in this application embodiment can be a device with an operating system. This operating system can be Android, iOS, or other possible operating systems; this application embodiment does not specifically limit the specific operating system used.

[0165] The resource allocation device provided in this application embodiment can achieve... Figure 1 and Figure 2 The various processes implemented in the method implementation examples will not be described again here to avoid repetition.

[0166] Optionally, such as Figure 4As shown, this application embodiment also provides an electronic device 400, including a processor 401, a memory 402, and a program or instructions stored in the memory 402 and executable on the processor 401. When the program or instructions are executed by the processor 401, they implement the various processes of the above-described resource allocation method embodiments and achieve the same technical effects. To avoid repetition, they will not be described again here.

[0167] It should be noted that the electronic devices in the embodiments of this application include the mobile electronic devices and non-mobile electronic devices described above.

[0168] Figure 5 A schematic diagram of the hardware structure of an electronic device to implement an embodiment of this application.

[0169] The electronic device 500 includes, but is not limited to, components such as: radio frequency unit 501, network module 502, audio output unit 503, input unit 504, sensor 505, display unit 506, user input unit 507, interface unit 508, memory 509, and processor 510.

[0170] Those skilled in the art will understand that the electronic device 500 may also include a power supply (such as a battery) for supplying power to various components. The power supply may be logically connected to the processor 510 through a power management system, thereby enabling functions such as managing charging, discharging, and power consumption through the power management system. Figure 5 The electronic device structure shown does not constitute a limitation on the electronic device. The electronic device may include more or fewer components than shown, or combine certain components, or have different component arrangements, which will not be elaborated here.

[0171] The processor 510 is used to determine whether the number of resource units corresponding to the first signal level matches the number of resource units corresponding to the first signal level in the first call relationship table when a rate rollback request is detected, and to obtain a matching result. The first call relationship table is used to indicate the mapping relationship between the signal level and the number of resource units.

[0172] Based on the matching results, the number of resource units corresponding to the first signal level is reconfigured.

[0173] Optionally, the processor 510 is also used for:

[0174] Based on the matching result, the number of resource units corresponding to the first signal level is configured as the number of the first resource units.

[0175] Optionally, the processor 510 is also used for:

[0176] Based on the matching result, the number of resource units corresponding to the first signal level is configured as the number of second resource units in the second call relationship table. The second call relationship table is used to indicate the mapping relationship between the number of resource units, the maximum communication rate, and the coverage distance.

[0177] Optionally, the user input unit 507 is used for:

[0178] Based on the matching results, receive the user's first input;

[0179] The processor 510 is also used for:

[0180] In response to the first input, display the second call relationship table;

[0181] User input unit 507 is also used for:

[0182] Receive a second input from the user, which is used to determine the number of second resource units;

[0183] The processor 510 is also used for:

[0184] In response to the second input, the number of resource units corresponding to the first signal level is configured to the number of the second resource units.

[0185] Optionally, the processor 510 is also used for:

[0186] When the second signal level is adjusted to the third signal level and the rate rollback request is detected, the number of resource units corresponding to the third signal level is adjusted. The second signal level is the detection level used to determine the first call relationship table.

[0187] If the number of resource units corresponding to the third signal level is adjusted to the third resource unit number and no rate rollback request is detected, the third resource unit number is determined as the target resource unit number.

[0188] Based on the correspondence between the third signal level and the number of target resource units, the first call relationship table is determined.

[0189] It should be understood that, in this embodiment, the input unit 504 may include a graphics processing unit (GPU) 5041 and a microphone 5042. The GPU 5041 processes image data of still images or videos obtained by an image capture device (such as a camera) in video capture mode or image capture mode. The display unit 506 may include a display panel 5061, which may be configured in the form of a liquid crystal display, an organic light-emitting diode, or the like. The user input unit 507 includes at least one of a touch panel 5071 and other input devices 5072. The touch panel 5071 is also called a touch screen. The touch panel 5071 may include a touch detection device and a touch controller. Other input devices 5072 may include, but are not limited to, physical keyboards, function keys (such as volume control buttons, power buttons, etc.), trackballs, mice, and joysticks, which will not be described in detail here.

[0190] The memory 509 can be used to store software programs and various data. The memory 509 may primarily include a first storage area for storing programs or instructions and a second storage area for storing data. The first storage area may store the operating system, application programs or instructions required for at least one function (such as sound playback, image playback, etc.). Furthermore, the memory 509 may include volatile memory or non-volatile memory, or both. The non-volatile memory may be read-only memory (ROM), programmable read-only memory (PROM), erasable programmable read-only memory (EPROM), electrically erasable programmable read-only memory (EEPROM), or flash memory. Volatile memory can be random access memory (RAM), static random access memory (SRAM), dynamic random access memory (DRAM), synchronous dynamic random access memory (SDRAM), double data rate synchronous dynamic random access memory (DDRSDRAM), enhanced synchronous dynamic random access memory (ESDRAM), synchronous link dynamic random access memory (SLDRAM), and direct memory bus RAM (DRRAM). The memory 509 in this embodiment includes, but is not limited to, these and any other suitable types of memory.

[0191] Processor 510 may include one or more processing units; optionally, processor 510 integrates an application processor and a modem processor, wherein the application processor mainly handles operations involving the operating system, user interface, and applications, and the modem processor mainly handles wireless communication signals, such as a baseband processor. It is understood that the aforementioned modem processor may also not be integrated into processor 510.

[0192] This application also provides a readable storage medium storing a program or instructions. When the program or instructions are executed by a processor, they implement the various processes of the above-described resource allocation method embodiments and achieve the same technical effect. To avoid repetition, they will not be described again here.

[0193] The processor is the processor in the electronic device described in the above embodiments. The readable storage medium includes computer-readable storage media, such as computer read-only memory (ROM), random access memory (RAM), magnetic disk, or optical disk.

[0194] This application embodiment also provides a chip, which includes a processor and a communication interface. The communication interface is coupled to the processor. The processor is used to run programs or instructions to implement the various processes of the above resource allocation method embodiments and can achieve the same technical effect. To avoid repetition, it will not be described again here.

[0195] It should be understood that the chip mentioned in the embodiments of this application may also be referred to as a system-on-a-chip, system chip, chip system, or system-on-a-chip, etc.

[0196] It should be noted that, in this document, the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or apparatus. Without further limitations, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, method, article, or apparatus that includes that element. Furthermore, it should be noted that the scope of the methods and apparatuses in the embodiments of this application is not limited to performing functions in the order shown or discussed, but may also include performing functions substantially simultaneously or in the reverse order, depending on the functions involved. For example, the described methods may be performed in a different order than described, and various steps may be added, omitted, or combined. Additionally, features described with reference to certain examples may be combined in other examples.

[0197] Through the above description of the embodiments, those skilled in the art can clearly understand that the methods of the above embodiments can be implemented by means of software plus necessary general-purpose hardware platforms. Of course, they can also be implemented by hardware, but in many cases the former is a better implementation method. Based on this understanding, the technical solution of this application, in essence, or the part that contributes to the prior art, can be embodied in the form of a computer software product. This computer software product is stored in a storage medium (such as ROM / RAM, magnetic disk, optical disk) and includes several instructions to cause a terminal (which may be a mobile phone, computer, server, or network device, etc.) to execute the methods described in the various embodiments of this application.

[0198] The embodiments of this application have been described above with reference to the accompanying drawings. However, this application is not limited to the specific embodiments described above. The specific embodiments described above are merely illustrative and not restrictive. Those skilled in the art can make many other forms under the guidance of this application without departing from the spirit and scope of the claims, and all of these forms are within the protection scope of this application.

Claims

1. A resource allocation method characterized by, include: When a rate rollback request is detected, it is determined whether the number of resource units corresponding to the first signal level matches the number of first resource units corresponding to the first signal level in the first call relationship table, and a matching result is obtained. The first call relationship table is used to indicate the mapping relationship between the signal level and the number of resource units. Based on the matching result, the number of resource units corresponding to the first signal level is reconfigured; The first call relationship table is determined based on the following steps: When the second signal level is adjusted to the third signal level and the rate rollback request is detected, the number of resource units corresponding to the third signal level is adjusted. The second signal level is the detection level used to determine the first call relationship table. If the number of resource units corresponding to the third signal level is adjusted to the third resource unit number and no rate rollback request is detected, the third resource unit number is determined as the target resource unit number. Based on the correspondence between the third signal level and the number of target resource units, the first call relationship table is determined.

2. The resource allocation method according to claim 1, characterized in that, In the event that the matching result is a failure, the step of reconfiguring the number of resource units corresponding to the first signal level based on the matching result includes: Based on the matching result, the number of resource units corresponding to the first signal level is configured as the number of the first resource units.

3. The resource allocation method according to claim 1, characterized in that, If the matching result is successful, the step of reconfiguring the number of resource units corresponding to the first signal level based on the matching result includes: Based on the matching result, the number of resource units corresponding to the first signal level is configured as the number of second resource units in the second call relationship table. The second call relationship table is used to indicate the mapping relationship between the number of resource units, the maximum communication rate, and the coverage distance.

4. The resource allocation method of claim 1, wherein, If the matching result is successful, the step of reconfiguring the number of resource units corresponding to the first signal level based on the matching result includes: Based on the matching results, receive the user's first input; In response to the first input, display the second call relationship table; Receive a second input from the user, which is used to determine the number of second resource units; In response to the second input, the number of resource units corresponding to the first signal level is configured to the number of the second resource units.

5. A resource allocation apparatus characterized by comprising: include: The judgment module is used to determine whether the number of resource units corresponding to the first signal level matches the number of first resource units corresponding to the first signal level in the first call relationship table when a rate rollback request is detected, and to obtain a matching result. The first call relationship table is used to indicate the mapping relationship between the signal level and the number of resource units. A configuration module is used to reconfigure the number of resource units corresponding to the first signal level based on the matching result; The first call relationship table is determined based on the following steps: When the second signal level is adjusted to the third signal level and the rate rollback request is detected, the number of resource units corresponding to the third signal level is adjusted. The second signal level is the detection level used to determine the first call relationship table. If the number of resource units corresponding to the third signal level is adjusted to the third resource unit number and no rate rollback request is detected, the third resource unit number is determined as the target resource unit number. Based on the correspondence between the third signal level and the number of target resource units, the first call relationship table is determined.

6. The apparatus for resource allocation according to claim 5, wherein, In the event that the matching result is a failure, the configuration module is further configured to: Based on the matching result, the number of resource units corresponding to the first signal level is configured as the number of the first resource units.

7. The apparatus for resource allocation according to claim 5, wherein, If the matching result is successful, the configuration module is further configured to: Based on the matching result, the number of resource units corresponding to the first signal level is configured as the number of second resource units in the second call relationship table. The second call relationship table is used to indicate the mapping relationship between the number of resource units, the maximum communication rate, and the coverage distance.

8. The apparatus for allocating resources of claim 5, wherein, If the matching result is successful, the configuration module is further configured to: Based on the matching results, receive the user's first input; In response to the first input, display the second call relationship table; Receive a second input from the user, which is used to determine the number of second resource units; In response to the second input, the number of resource units corresponding to the first signal level is configured to the number of the second resource units.

9. An electronic device, comprising: It includes a processor and a memory, the memory storing a program or instructions that can run on the processor, the program or instructions being executed by the processor to implement the steps of the resource allocation method as described in any one of claims 1-4.

10. A readable storage medium, characterized by, The readable storage medium stores a program or instructions that, when executed by a processor, implement the steps of the resource allocation method as described in any one of claims 1-4.