Network resource allocation method and device, equipment and storage medium
By detecting the working status of network resources and deleting unstable frequency bands, terminal devices can obtain more stable network resource allocation, solving the problems of instability and high power consumption in the prior art.
Patent Information
- Application Number
- CN202311119328.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-08-31
- Publication Date
- 2025-02-28
AI Technical Summary
In the prior art, when the terminal device accesses the network, frequently allocates and recovers network resources, resulting in unstable network resources and increases the power consumption of the terminal device.
By obtaining the multiple network resources allocated by the network end, the working status of each network resource is detected. If the preset conditions are met, the corresponding frequency band is deleted from the initial frequency band set, the target frequency band set is obtained, and the target frequency band set is reported to the network end to obtain more stable network resource allocation.
It improves the stability of network resources on terminal devices, reduces the power consumption of terminal devices, and avoids the increase in power consumption caused by instability of network resources.
Smart Images

Figure CN119545491A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of communication technology, and in particular to a network resource allocation method, apparatus, device and storage medium. Background Art
[0002] After the terminal device determines the sales area, the capabilities of the frequency bands and frequency band combinations supported by the terminal device will be determined during the development phase, so that corresponding development and adaptation can be made for the sales area. The current solution for terminal devices to access the network is generally as follows: the terminal device reports the capabilities of the frequency bands and frequency band combinations supported to the network end, and the network end allocates network resources of the corresponding frequency bands to the terminal device based on the frequency bands and frequency band combinations supported by the terminal device, so that the terminal device can access and use network resources. However, in the current solution, there is a situation of network instability. The network end will frequently allocate the network of the frequency bands supported by the terminal device and then withdraw it, resulting in unstable network resources of the terminal device. In addition, the frequent allocation and withdrawal of network resources will increase the power consumption of the terminal device. Summary of the invention
[0003] The embodiments of the present application provide a network resource allocation method, apparatus, device, medium and product to improve the stability of network resources on terminal devices and reduce the power consumption of terminal devices.
[0004] In a first aspect, the present application provides a network resource allocation method, applied to a terminal device, comprising:
[0005] Acquire N types of network resources allocated by the network end, where the N types of network resources are allocated based on an initial frequency band set of the terminal device, where the initial frequency band set includes multiple frequency bands, and N is a positive integer;
[0006] Detecting the working status of one or more network resources in operation, and if the working status meets a preset condition, deleting the corresponding frequency band from the initial frequency band set to obtain a target frequency band set;
[0007] The target frequency band set is reported to the network end, network resources allocated by the network end based on the target frequency band set are obtained, and service processing is performed based on the allocated network resources.
[0008] In a second aspect, the present application provides a configuration method, applied to a network end, comprising:
[0009] Receiving an initial frequency band set reported by a terminal device, where the initial frequency band set includes multiple frequency bands;
[0010] Allocate N types of network resources to the terminal device based on the initial frequency band set, where N is a positive integer;
[0011] receiving a target frequency band set reported by the terminal device, where the target frequency band set is obtained by deleting a corresponding frequency band from the initial frequency band set, where the corresponding frequency band is a frequency band corresponding to a network resource whose working state of the one or more working network resources meets a preset condition;
[0012] Network resources are allocated to the terminal device based on the target frequency band set, and the network resources are used for business processing.
[0013] In a third aspect, the present application provides a network resource allocation device, applied to a terminal device, comprising:
[0014] A resource acquisition unit, configured to acquire N types of network resources allocated by a network end, wherein the N types of network resources are allocated based on an initial frequency band set of the terminal device, wherein the initial frequency band set includes a plurality of frequency bands, and N is a positive integer;
[0015] A frequency band deletion unit, configured to detect the working status of one or more network resources in operation, and if the working status meets a preset condition, delete the corresponding frequency band from the initial frequency band set to obtain a target frequency band set;
[0016] The resource allocation unit is used to report the target frequency band set to the network end, obtain the network resources allocated by the network end based on the target frequency band set, and perform service processing based on the allocated network resources.
[0017] In a fourth aspect, the present application provides a configuration device, applied to a network end, comprising:
[0018] A resource reporting unit, configured to receive an initial frequency band set reported by a terminal device, the initial frequency band set including multiple frequency bands;
[0019] A first allocation unit, configured to allocate N types of network resources to the terminal device based on the initial frequency band set, where N is a positive integer;
[0020] A frequency band receiving unit, configured to receive a target frequency band set reported by the terminal device, the target frequency band set being obtained by deleting a corresponding frequency band from the initial frequency band set, the corresponding frequency band being a frequency band corresponding to a network resource whose working state of the one or more network resources in operation meets a preset condition;
[0021] The second allocation unit is used to allocate network resources to the terminal device based on the target frequency band set, and the network resources are used for business processing.
[0022] In a fifth aspect, the present application provides a computer device comprising a processor and a memory, wherein the memory is used to store a computer program, the computer program comprises program instructions, and the processor is configured to call the program instructions to execute the network resource allocation method of the first aspect, or to execute the configuration method of the second aspect.
[0023] In a sixth aspect, the present application provides a computer-readable storage medium, which stores a computer program. When the computer program is executed by a processor, it implements the network resource allocation method of the first aspect mentioned above, or executes the configuration method of the second aspect mentioned above.
[0024] In the seventh aspect, the present application provides a computer program product or a computer program, which includes computer instructions, and when the computer instructions are executed by a processor, they can implement the network resource allocation method of the first aspect mentioned above, or implement the configuration method of the second aspect mentioned above.
[0025] In an embodiment of the present application, by acquiring N types of network resources allocated by the network end, the working status of one or more network resources in operation can be detected respectively. If the working status meets the preset conditions, the corresponding frequency band is deleted from the initial frequency band set to obtain the target frequency band set. The target frequency band set is reported to the network end, the network resources allocated by the network end based on the target frequency band set are acquired, and business processing is performed based on the allocated network resources. Since the working status of network resources can reflect the stability of network resources, by detecting the working status of one or more network resources in operation, if the working status corresponding to certain network resources meets the preset conditions, such as the signal of the network resource is unstable, these unstable frequency bands can be deleted from the initial frequency band set, and the network end can allocate network resources to the terminal device based on the target frequency band set to improve the stability of the network resources on the terminal device. Since the unstable signal of the network resource will cause the network status of the terminal device to change continuously, which will increase the power consumption of the terminal device, this method can also reduce the power consumption of the terminal device. BRIEF DESCRIPTION OF THE DRAWINGS
[0026] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings required for use in the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0027] Figure 1 It is a schematic diagram of a network architecture of a network resource allocation system provided in an embodiment of the present application;
[0028] Figure 2 This is a schematic diagram of an application scenario of a network resource allocation method provided in an embodiment of the present application;
[0029] Figure 3 It is a flowchart of a network resource allocation method provided in an embodiment of the present application;
[0030] Figure 4 It is a flowchart of a configuration method provided in an embodiment of the present application;
[0031] Figure 5 It is a flowchart of another network resource allocation method provided in an embodiment of the present application;
[0032] Figure 6 It is a schematic diagram of the composition structure of a network resource allocation device provided in an embodiment of the present application;
[0033] Figure 7 It is a schematic diagram of the composition structure of a configuration device provided in an embodiment of the present application;
[0034] Figure 8 It is a schematic diagram of the composition structure of a computer device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0035] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.
[0036] The technical solution of the present application can be applied to the scenario of allocating network resources to terminal devices. For example, a variety of network resources can be allocated to the terminal device according to the initial frequency band set of the terminal device, and the stability of each network resource can be detected, so that the frequency bands with unstable network resources in the initial frequency band set are deleted, and the target frequency band set for deleting unstable frequency bands is reported to the network end, so that the network end allocates network resources to the terminal device based on the target frequency band set. By deleting the unstable frequency bands in the initial frequency band set, the network end can allocate network resources corresponding to more stable frequency bands to the terminal device, thereby improving the stability of network resources on the terminal device and avoiding the problem of increased power consumption due to unstable network resources. The technical solution of the present application can also be applied to various scenarios, such as but not limited to cloud technology, artificial intelligence, smart transportation, assisted driving, etc.
[0037] See also Figure 1 , Figure 1 is a schematic diagram of a network architecture of a network resource allocation system provided in an embodiment of the present application, such as Figure 1As shown, the terminal device can interact with the network end for data. For example, the terminal device 101 can obtain N types of network resources allocated by the network end 102, and the N types of network resources can be determined based on the initial frequency band set of the terminal device 101, and the stability of each network resource is determined according to the connection between the terminal device 101 and each network resource. Furthermore, the terminal device 101 can also delete the frequency bands corresponding to the unstable network resources in the initial frequency band set, and re-report the frequency band set after deleting the unstable frequency bands to the network end 102. The network end 102 can allocate network resources to the terminal device 101 based on the re-reported frequency band set, and then the terminal device 101 can perform business processing based on the allocated network resources.
[0038] The terminal device mentioned in the embodiments of the present application may be an electronic device, for example, including but not limited to mobile phones, tablet computers, desktop computers, laptop computers, PDAs, vehicle-mounted devices, intelligent voice interaction devices, etc. The network end mentioned in the embodiments of the present application may be a base station, or a physical server that can provide a network, or a system composed of a base station and a physical server, etc. For example, the network end may be an independent base station or a base station cluster composed of multiple base stations, or the network end may be an independent physical server, or a server cluster or distributed system composed of multiple physical servers, or a cloud server that provides basic cloud computing services.
[0039] See also Figure 2 , Figure 2 Schematic diagram of an application scenario of a network resource allocation method provided in an embodiment of the present application; Figure 2 As shown, the terminal device 201 can report the initial frequency band set 203 to the network end 202. For example, the initial frequency band set 203 includes frequency band 1, frequency band 2 and frequency band 3. Then the network end 202 can allocate three types of network resources to the terminal device 201 based on the initial frequency band set 203, for example, respectively allocate network resource 1 corresponding to frequency band 1, network resource 2 corresponding to frequency band 2 and network resource 3 corresponding to frequency band 3. Further, after the terminal device 201 obtains the three types of network resources, it can respectively detect the working status of network resource 1 corresponding to the working frequency band 1, the working status of network resource 2 corresponding to frequency band 2 and the working status of network resource 3 corresponding to frequency band 3. For example, if it is detected that the working status of the network resource corresponding to frequency band 2 meets the preset condition, then delete frequency band 2 in the initial frequency band set 203 to obtain the target frequency band set 204, which includes frequency band 1 and frequency band 3. The terminal device 201 can report the target frequency band set 204 to the network 202, and the network 202 can allocate network resources of frequency band 1 and network resources of frequency band 2 to the terminal device 201 based on the target frequency band set 204. The terminal device 201 can perform service processing based on the network resources of frequency band 1 and network resources of frequency band 2.
[0040] For further information, see Figure 3 , Figure 3 is a flow chart of a network resource allocation method provided in an embodiment of the present application; Figure 3 As shown, the network resource allocation method can be applied to a terminal device, and the network resource allocation method includes but is not limited to the following steps:
[0041] S101, obtaining N types of network resources allocated by a network end.
[0042] In the embodiment of the present application, the terminal device can determine the area where it needs to be sold before leaving the factory, so as to perform corresponding development and adaptation for the terminal device, so that the terminal device has the frequency band and frequency band combination capabilities supported by the area where it needs to be sold. After the terminal device is connected to the network end, it can report the frequency band and frequency band combination supported by the terminal device to the network end. Then, when the network end has network resources, it can dynamically allocate network resources to the terminal device according to the frequency band and frequency band combination reported by the terminal device, as well as conditions such as the quality of the network resources.
[0043] For example, the current 5th Generation Mobile Communication Technology (5G) non-standalone (NSA) will first register with the 4th Generation mobile communication technology (4G) long term evolution (LTE) base station, and the network will allocate the 5G network frequency band to the terminal device according to the frequency band and frequency band combination capability of the terminal device. For example, at the beginning, the terminal device registers the frequency band B1 (Band1, a 4G frequency band, uplink 1920MHZ-1980MHZ, downlink 2110MHZ-2170MHZ) on the 4G LTE base station. Because the frequency band combination reported by the terminal device includes B1+n77 (a 5G frequency band, uplink 3300MHz-4200 MHz, downlink 3300MHz-4200MHz), that is, the terminal device has the capability of B1+n77, then the network can reallocate the frequency band resources of n77 to the terminal device. Or if the device was originally on a single 4G LTE band, and it is assumed that the device originally resided on the B1 band, and the network now allocates the B3 band (a 4G band, 1710MHz-1785 MHz for uplink and 1805MHz-1880MHz for downlink), the device can then present LTE CA (B1+B3), meaning that the device can use network resources on both the B3 and B1 bands.
[0044] However, in actual applications, it is difficult for the network to cover 100%. In many areas or borders, there will be some gray areas, which will cause many networks to repeatedly allocate network resources to mobile phones and then recover the allocated network resources, repeatedly allocating and recovering network resources over a period of time. Since the network end interacts with the data processing chip (such as a modem) of the terminal device, once the network resources are allocated or recovered, the modem will wake up the application processing system (AP) on the terminal device to update the network status on the terminal device. After the AP updates the network status, the corresponding network status will be displayed on the terminal device, such as 5G or 4G, or from 4G to 5G, 5G to 4G. The more times the AP is awakened, the more the network status presented on the terminal device has been changing, which will lead to increased power consumption.
[0045] Take the above as an example to illustrate. For example, the network initially allocates n77 to the terminal device, which triggers the modem on the terminal device to wake up the AP to update the network status. For example, the network status of the terminal device is changed to the access status, and after a period of time, the n77 capability is withdrawn, which triggers the modem on the terminal device to wake up the AP to update the network status, for example, the network status of the terminal device is changed to the disconnected state. Then, over a period of time, the network end repeatedly allocates and withdraws network resources according to the situation, which will cause the modem on the terminal device to continuously wake up the AP to update the network status, causing the power consumption of the terminal device to continue to increase.
[0046] In view of this, a network resource allocation method is provided in an embodiment of the present application. The terminal device can determine the signal quality of each network resource by detecting the network switching frequencies corresponding to the multiple network resources allocated by the network end, thereby removing the frequency bands corresponding to the network resources with poor signals from the frequency bands and frequency band combinations of the terminal device, and reporting the remaining frequency bands or frequency band combinations to the network end. The network end can then reallocate network resources to the terminal device, and can stably reside on a certain type of network resource, thereby ensuring the stability of the network resources on the terminal device, and reducing the operation of the modem on the terminal device to continuously wake up the AP to update the network status on the terminal device, thereby reducing the power consumption of the terminal device.
[0047] In an embodiment of the present application, a terminal device may obtain N types of network resources allocated by a network end, and the N types of network resources are determined based on an initial frequency band set of the terminal device. For example, the N types of network resources may be allocated based on an initial frequency band set of the terminal device, and the initial frequency band set includes multiple frequency bands, and N is a positive integer. Among them, the frequency bands in the initial frequency band set may refer to frequency bands supported by the terminal device, such as frequency bands supported by a sales area established by the terminal device, and the initial frequency band may include multiple frequency bands and multiple frequency band combinations. Network resources may refer to network signals, and network resources may be used to provide a function for the terminal device to communicate with the outside world. A frequency band may refer to a frequency range of a network signal (such as an electromagnetic wave), and network signals in different frequency ranges may be represented by different frequency bands, that is, the frequency range of network resources corresponding to each frequency band may be different. It is understandable that when the network end allocates network resources to a terminal device, it may allocate frequency bands existing in the initial frequency band set of the terminal device to the terminal device, and will not allocate frequency bands that do not exist in the initial frequency band set to the terminal device.
[0048] Optionally, N may be less than or equal to the total number of frequency bands in the initial frequency band set, that is, the number of N network resources is not necessarily equal to the total number of frequency bands in the initial frequency band set. For example, the initial frequency band set includes 10 frequency bands, but the network end currently only has network resources corresponding to 7 frequency bands. For example, the current network end temporarily does not have network resources corresponding to the other 3 frequency bands, or the network end does not allocate network resources corresponding to the other 3 frequency bands to the terminal device, so only 7 network resources are allocated to the terminal device. For example, the number of other terminals currently connected to the network resources corresponding to the other 3 frequency bands is large, or the network signal of the 3 frequency bands in the area where the terminal device is located is very poor, so the network resources corresponding to the 3 frequency bands may not be allocated to the terminal device. If the network signal of the network resources corresponding to the 3 frequency bands becomes better after a period of time, or the number of other terminals connected to the network resources corresponding to the 3 frequency bands decreases, the network resources corresponding to the 3 frequency bands can be allocated to the terminal device.
[0049] The embodiments of the present application are described for one terminal device. When there are multiple terminal devices, if each terminal device has a different sales area, it may cause the frequency bands and frequency band combinations in the initial frequency band set of each terminal device to be different. For each of the multiple terminal devices, the processing method in the embodiments of the present application can be referred to to allocate network resources to each terminal device, thereby improving the stability of network resources on each terminal device and reducing the power consumption of each terminal device.
[0050] In one embodiment, the terminal device can report an initial frequency band set, and the network end can allocate network resources to the terminal device based on the initial frequency band set. Specifically, multiple frequency bands supported by the terminal device can be obtained, and the multiple frequency bands supported by the terminal device can be combined to obtain an initial frequency band set; a first connection relationship with the network end is established, and the initial frequency band set is reported to the network end based on the first connection relationship.
[0051] In an embodiment of the present application, after the terminal device formulates the sales area, it is developed and adapted according to the frequency bands and frequency band combinations supported by the sales area. For example, the terminal device can store frequency bands and frequency band combinations. When it is necessary to connect to the network end, the terminal device can obtain the frequency bands supported by itself, and combine the supported frequency bands to obtain an initial frequency band set, which may include all frequency bands supported by the terminal device. The frequency band here may refer to a frequency band identifier, such as a frequency band number. For example, after obtaining the initial frequency band set, the terminal device can establish a first connection relationship with the network end, thereby reporting the initial frequency band set to the network end based on the first connection relationship. For example, the terminal device can shake hands with the network end, thereby establishing a first connection relationship between the terminal device and the network end, and then reporting the initial frequency band set. The network end can then allocate network resources to the terminal device in combination with the initial frequency band set, and transmit network resources to the terminal device through the first connection relationship.
[0052] Generally speaking, since the terminal device can support a large number of frequency bands and frequency band combinations, the number of frequency bands in the initial frequency band table is large. Due to the existence of multiple operators or network quality, the network end may only have network resources corresponding to some frequency bands in the initial frequency band set in the same time period. The network end can transmit the network resources corresponding to these some frequency bands in the initial frequency band set to the terminal device through the first connection relationship.
[0053] In a possible implementation, when the terminal device attempts to attach to the network end after powering on, the initial frequency band set of the terminal device can be reported to the network end, and the terminal device can establish a first connection relationship according to the network resources corresponding to the frequency bands possessed by the network end, and subsequently transmit network resources to the network end through the first connection relationship. In the embodiment of the present application, the terminal device can also report the initial frequency band set to the network end in other ways, which is not limited in the present application.
[0054] S102, detecting the working status of one or more network resources in operation, and if the working status meets a preset condition, deleting the corresponding frequency band from the initial frequency band set to obtain a target frequency band set.
[0055] In an embodiment of the present application, since the network end allocates N types of network resources to the terminal device, the terminal device can perform business processing based on one or more of the N types of network resources. The terminal device can detect the working status of one or more network resources in the N types of network resources, and the working status may include but is not limited to at least one of the network speed, signal strength and network switching frequency of the network resources. The network end allocates N types of network resources to the terminal device, and the terminal device can work based on the N types of network resources, and the working status of the N types of network resources in operation can be detected. Or the terminal device can work based on one or more of the N types of network resources, and the working status of one or more network resources in operation can be detected. If the working status of one or more network resources in operation meets the preset conditions, the frequency bands corresponding to the network resources that meet the preset conditions are deleted from the initial frequency band set to obtain the target frequency band set.
[0056] Among them, the preset conditions may include but are not limited to the network speed of the network resource being lower than the speed threshold, the signal strength of the network resource being lower than the signal strength threshold, the network switching frequency being greater than the frequency threshold, and so on. That is to say, if the network speed of a certain network resource that is working is lower than the speed threshold, the frequency band corresponding to the network resource can be deleted from the initial frequency band set. Or if the signal strength of a certain network resource that is working is lower than the signal strength threshold, the frequency band corresponding to the network resource can be deleted from the initial frequency band set. Or if the network switching frequency of a certain network resource that is working is greater than the frequency threshold, the frequency band corresponding to the network resource can be deleted from the initial frequency band set.
[0057] In an embodiment of the present application, since the working status of the network resources meets the preset conditions, indicating that the network resources are unstable, such as weak network signal strength, slow network speed, and frequent network signal switching, the frequency band corresponding to the network resources that meet the preset conditions can be deleted from the initial frequency band set. The network end may subsequently not allocate the network resources of the deleted frequency band to the terminal device, thereby improving the network stability of the terminal device, reducing the problem of high power consumption caused by network instability, and reducing the power consumption of the terminal device.
[0058] In one embodiment, it is possible to determine whether the network resource is stable based on the network switching frequency of the network resource in operation, thereby determining whether to delete the frequency band corresponding to the network resource in the initial frequency band set. Specifically, the network switching operation triggered by the terminal device based on the state change of one or more network resources in operation can be detected respectively, and the network switching frequency corresponding to the network switching operation triggered by the state change of one or more network resources in operation can be counted; the working state of one or more network resources in operation can be determined based on the network switching frequency, and the working state of one network resource corresponds to one network switching frequency; if there is at least one network resource corresponding to a network switching frequency greater than a frequency threshold, it is determined that the working state of at least one network resource meets the preset conditions, and the frequency band matching at least one network resource is deleted from the initial frequency band set to obtain the target frequency band set.
[0059] Among them, one network resource corresponds to a network switching frequency, and the network switching frequency can be used to reflect the stability of each network resource. The larger the network switching frequency, the more unstable the network resource is, and the smaller the network switching frequency, the more stable the network resource is. The state change of the network resource may include a change from a non-access state to an access state, or from an access state to a disconnected state. The state change of the network resource can be determined based on the stability of the network resource. The stronger the signal strength corresponding to the network resource, the higher the stability of the network resource. The weaker the signal strength corresponding to the network resource, the lower the stability of the network resource. For example, when the signal strength corresponding to the network resource changes from strong to weak, resulting in too low stability of the network resource, the state change of the network resource will change from the access state to the disconnected state. Or when the signal strength corresponding to the network resource changes from existence to non-existence, the state change of the network resource will also change from the access state to the disconnected state. Or when the signal strength corresponding to the network resource changes from weak to strong, resulting in a higher stability of the network resource, the state change of the network resource will change from the non-access state to the access state. Or when the signal strength corresponding to the network resource changes from non-existence to existence, the state change of the network resource will also change from the non-access state to the access state.
[0060] Furthermore, a change in the state of a network resource can trigger a network switching operation of the terminal device. For example, a change in the state of a network resource from a non-connected state to an connected state can trigger a network switching operation, and a change in the state of a network resource from an connected state to a disconnected state can also trigger a network switching operation. That is, a network switching operation will be triggered when a terminal device accesses or disconnects from a network resource. Since the network end may allocate one or more network resources to a terminal device at the same time, the network switching operation corresponding to each network resource can be detected separately for each network resource, so that the network switching frequency corresponding to the network switching operation triggered by the state change of each network resource can be counted separately. Optionally, the network switching operation triggered by the terminal device may refer to an operation in which a modem on the terminal device wakes up the AP to update the network status displayed on the terminal device.
[0061] For example, the N types of network resources include network resources of the B1 frequency band and network resources of the n77 frequency band. When the terminal device accesses the network, it first accesses the B1 frequency band. When the network end allocates network resources of the n77 frequency band, the terminal device can access the n77 frequency band. When the network end recovers the network resources of the n77 frequency band, the terminal device can disconnect the n77 frequency band and re-access the B1 frequency band. When the network end allocates network resources of the n77 frequency band again, the terminal device can access the n77 frequency band again. When the network end recovers the network resources of the n77 frequency band again, the terminal device can disconnect the n77 frequency band again and re-access the B1 frequency band. For the network resources of the N77 frequency band, since both the access and disconnection states will trigger the network switching operation of the terminal device, the network switching frequency of the network resources of the N77 frequency band can be determined based on the total number of access and disconnection states of the network resources of the N77 frequency band. The greater the total number of access and disconnection of the network resources, the greater the network switching frequency of the network resources. The smaller the total number of access and disconnection of the network resources, the smaller the network switching frequency of the network resources.
[0062] For example, in actual applications, since network resources are interacted through the modem on the terminal device, when the network resource allocation is switched, that is, when the network resource status changes, the modem will wake up the AP once. For example, when the network end initially allocates network resources in the n77 frequency band, the modem on the terminal device wakes up the AP to update the network status to 5G, triggering a network switching operation. After a period of time, when the network end reclaims the network resources in the n77 frequency band, the modem on the terminal device wakes up the AP again to update the network status to 4G, triggering a network switching operation. Next, the network end may repeatedly allocate and reclaim the network resources of the n77 frequency band, and the terminal device will trigger multiple network switching operations based on the status changes of the network resources in the n77 frequency band. By counting the network switching frequency corresponding to the network switching operations triggered by the status changes of the network resources in the n77 frequency band over a period of time, it can be determined whether the network resources in the n77 frequency band are stable.
[0063] Since the location of the terminal device changes with the holder, the network resources allocated by the network may be unstable. For example, a certain network resource is stable in area 1, but unstable in area 2. For example, the signal of the network resource may be very weak or there is no signal. When the terminal device moves to area 1 with the holder, the terminal device can access the network resource allocated by the network. However, when the terminal device moves to area 2 with the holder, or the current location of the terminal device is at the border, the terminal device has difficulty accessing the network resource allocated by the network. Then the terminal device will disconnect from the network resource. Both accessing and disconnecting the network resource will cause the modem on the terminal device to wake up the AP, causing the modem to repeatedly wake up the AP, which increases the power consumption of the terminal device.
[0064] In one implementation, when the terminal device supports multiple frequency bands of 4G, and the network end can allocate network resources of multiple frequency bands of 4G, the terminal device can shake hands with the base stations corresponding to the multiple frequency bands of 4G, determine the signal strength of the network resources of each frequency band, and determine the network resources corresponding to the frequency band with the largest signal strength as the initial access frequency band of the terminal device. For example, when the terminal device supports the B1 frequency band and the B3 frequency band of the 4G network, and the network end can allocate network resources of the B1 frequency band and the B3 frequency band of the 4G network, the terminal device can select network resources with greater signal strength (such as network resources corresponding to the B1 frequency band) to access the 4G network. Since the terminal device first accesses the 4G network and then switches to the 5G network according to the network resources allocated by the network end, when accessing the 4G network, if there are multiple frequency bands of 4G networks, the frequency band with the strongest signal strength can be selected as the frequency band that the terminal device first accesses, thereby improving the efficiency of subsequent data processing.
[0065] In one embodiment, the network switching frequency corresponding to each network resource can be determined based on the number of network switching operations corresponding to each network resource within the target period and the period length of the target period. Specifically, the network switching operation triggered by the state change of the first network resource within the target period can be detected, and the target number of network switching operations triggered by the state change of the first network resource can be counted; the ratio between the target number and the period length of the target period is used as the network switching frequency corresponding to the network switching operation triggered by the state change of the first network resource. Among them, any one of the one or more network resources in operation is represented as the first network resource.
[0066] In the embodiment of the present application, the target period can be set according to specific needs. For example, the period duration of the target period can be set to 5 minutes, 10 minutes, 15 minutes, or a longer or shorter period, which is not limited in the embodiment of the present application. By counting the target number of network switching operations triggered by the state change of the first network resource within the target period, the ratio between the target number and the period duration of the target period can be used as the network switching frequency corresponding to the network switching operation triggered by the state change of the first network resource. If the network switching frequency is greater than the frequency threshold, it means that the state change of the first network resource is too frequent, which will cause the power consumption of the terminal device to increase.
[0067] In the embodiment of the present application, the method for obtaining the network switching frequency corresponding to any one of the N network resources is described. For the network switching frequencies corresponding to other network resources in the N network resources, reference can be made to the method for obtaining the network switching frequency corresponding to any one of the network resources, and no further description is given here. It is understandable that the embodiment of the present application can also determine the network switching frequency corresponding to the network resource by other methods, and the embodiment of the present application does not limit this.
[0068] In the embodiment of the present application, since the network switching frequency corresponding to the network resource is greater than the frequency threshold, it indicates that the network resource is unstable, causing the terminal device to trigger a plurality of network switching operations based on the state change of the network resource, thereby causing the power consumption of the terminal device to increase. Therefore, if there is at least one network resource whose corresponding network switching frequency is greater than the frequency threshold, the frequency band matching at least one network resource is deleted from the initial frequency band set to obtain a target frequency band set. The target frequency band set may refer to a set obtained by deleting unstable frequency bands from the initial frequency band set.
[0069] In an embodiment of the present application, when the terminal device detects that at least one unstable network resource is present, the frequency band that matches the at least one unstable network resource is deleted from the initial frequency band set, and then the frequency band set from which the unstable frequency band has been deleted is reported to the network end. The network end can allocate stable network resources to the terminal device and no longer allocate network resources corresponding to the unstable frequency band in the initial frequency band set, thereby improving the stability of the network resources on the terminal device and further reducing the power consumption of the terminal device.
[0070] In the embodiment of the present application, the higher the network switching frequency corresponding to the network switching operation triggered by the state change of the network resource, the more frequent the state change of the network resource, which will affect the stability of the network resources on the terminal device. By deleting the frequency bands corresponding to the network resources with frequent state changes in the initial frequency band set, that is, deleting the frequency bands with unstable network resources, the network end can allocate network resources to the terminal device based on the target frequency band set, thereby improving the stability of the network resources on the terminal device. Since the frequent changes in the state of the network resources will cause the network state on the terminal device to change continuously, which will increase the power consumption of the terminal device, this method can also reduce the power consumption of the terminal device.
[0071] In some possible scenarios, the terminal device can reset the initial frequency band set or switch to a different initial frequency band set according to the situation. For example, when it is detected that the current location of the terminal device is switched to another country or region, the frequency bands in the initial frequency band set can be replaced with the frequency bands corresponding to the current location of the terminal device. Or after the terminal device is shut down and restarted, the deleted frequency bands in the initial frequency band set can be restored. Optionally, for example, during the development phase, frequency bands and frequency band combinations corresponding to all countries and regions can be developed and adapted on the terminal device, so that after the location of the terminal device is switched to other countries or regions, the corresponding frequency band set can be obtained based on the frequency bands and frequency band combinations supported by the location of the terminal device, and then reported to the network for network resource allocation. By resetting the initial frequency band set, the flexibility of network allocation can be increased and the stability of network resources can be improved.
[0072] In a possible implementation, if the terminal device is currently in an instant messaging scenario, it can stably reside in a certain frequency band, thereby avoiding the instant messaging being affected by the network switching, and the network switching can be performed after the instant messaging ends.
[0073] S103, reporting the target frequency band set to the network, obtaining network resources allocated by the network based on the target frequency band set, and performing service processing based on the allocated network resources.
[0074] In an embodiment of the present application, after the terminal device obtains the target frequency band set by deleting the unstable frequency bands in the initial frequency band set, the frequency bands in the target frequency band set may refer to stable frequency bands, that is, the network resources corresponding to the frequency bands in the target set are relatively stable. The terminal device reports the target frequency band set to the network end, and the network end may allocate network resources to the terminal device based on the target frequency band set. The terminal device can then obtain the network resources allocated by the network end based on the target frequency band set, and perform service processing based on the allocated network resources. Among them, the terminal device performs service processing based on the allocated network resources to realize the normal operation of multiple functions on the terminal device, such as functions including but not limited to making calls, receiving information, sending information, etc.
[0075] Optionally, if the target frequency band set includes multiple frequency bands, and the network end has network resources corresponding to multiple frequency bands in the target frequency band set, the network end can allocate network resources corresponding to multiple frequency bands in the target frequency band set to the terminal device according to specific circumstances. For example, when the number of allocated devices corresponding to the network resources of a certain frequency band in the target frequency band set is greater than the quantity threshold, this type of network resource may not be allocated to the terminal device, and the network resources of other frequency bands in the target frequency band set may be allocated to the terminal device. Since the terminal device only needs to access a certain type of network resource to achieve normal communication, when the network end allocates network resources of multiple frequency bands and the signals of each network resource are stable, the terminal device can select one type of network resource from them to access, thereby achieving residence in a single frequency band and reducing power consumption. It can be understood that if the network end allocates 5G frequency bands and network resources and 4G frequency band network resources, the terminal device can access the network resources of the 5G frequency band, thereby stably residing on the 5G frequency band, and the network speed can be improved while reducing the power consumption of the terminal device. If the network only allocates network resources of multiple 4G frequency bands, the terminal device can access any network resource of the 4G frequency band, so as to stably stay on the 4G frequency band, thereby reducing the power consumption of the terminal device.
[0076] In one embodiment, after modifying the initial frequency band set, the terminal device can re-establish the connection with the network end to realize data reporting. For example, the terminal device can disconnect the first connection relationship with the network end; establish a second connection relationship with the network end, and report the target frequency band set to the network end based on the second connection relationship.
[0077] In the embodiment of the present application, since the first connection relationship with the network end is established and the network resources corresponding to the initial frequency band set are transmitted through the first connection relationship, when the terminal device modifies the initial frequency band set, that is, after deleting the unstable frequency band in the initial frequency band set, the first connection relationship with the terminal device can be disconnected, and the second connection relationship with the network end can be re-established, and the target frequency band set can be reported to the network end based on the second connection relationship. Among them, the network end can transmit the network resources corresponding to the frequency bands in the initial frequency band set to the terminal device based on the first connection relationship, and the network end can transmit the network resources corresponding to the frequency bands in the target frequency band set to the terminal device based on the second connection relationship.
[0078] It is understandable that after the first connection relationship between the terminal device and the network is disconnected, the network end does not know which frequency bands the terminal device supports. By establishing a second connection relationship with the network end, the network end can reacquire the frequency bands newly reported by the terminal device, so the network end can assume that the terminal device only supports these newly reported frequency bands. Even if the network end has the network resources corresponding to the removed unstable frequency bands, it will assume that the terminal device does not support the network resources of this frequency band, so it will no longer allocate the network resources corresponding to the removed frequency bands to the terminal device, thereby ensuring the stability of the network resources on the terminal device. Since it is a newly established connection, the network end cannot know the initial frequency band set reported by the terminal device when it was first connected, so it will only allocate network resources to the terminal device based on the target frequency band set reported during the second connection, thereby improving the accuracy of resource allocation.
[0079] In a possible implementation, the terminal device may also add the deleted frequency band to the target frequency band set. For example, the terminal device may report network query information for the deleted frequency band to the network end at intervals, and the network end may return the signal strength of the network resource for the deleted frequency band to the terminal device. If the signal strength is greater than the strength threshold, the terminal device may add the deleted frequency band to the target frequency band set. Alternatively, when the terminal device detects that the current position of the terminal device is in a position with a good signal, the network query information may be sent to the network end so that the network end returns the signal strength of the network resource for the deleted frequency band. Alternatively, when the terminal device detects that the current position of the terminal device is in a position with a good signal, the terminal device may directly add the deleted frequency band to the target frequency band set. Alternatively, when the terminal device obtains the prompt information sent by the third-end device that the network resource corresponding to the deleted frequency band is good, the network query information may be sent to the network end so that the network end returns the signal strength of the network resource for the deleted frequency band. Alternatively, when the terminal device obtains the prompt information sent by the third-end device that the network resource corresponding to the deleted frequency band is good, the deleted frequency band may be directly added to the target frequency band set. Since the network resources of the deleted frequency band are relatively stable and the signal strength is relatively strong, the terminal device can further add the signal of the deleted frequency band back to the target frequency band set and report it to the network. The network can still allocate the network resources corresponding to the frequency band to the terminal device, thereby improving the network speed.
[0080] In an embodiment of the present application, by deleting the unstable frequency band in the initial frequency band set and updating it to the network side, the stability of the network resources on the terminal device can be improved. At present, in order to reduce the power consumption of the terminal device, the endc capability of the terminal device (i.e., the NSA capability of 4G+5G) is usually turned off. The endc capability may refer to the ability to support access from the 4G network to the 5G network. By turning on the endc capability on the terminal device, access from the 4G network to the 5G network can be achieved. For example, the terminal device resides in the B1 frequency band of the 4G network, and then the network side continuously allocates and recovers the n77 frequency band of the 5G network. By directly turning off the endc capability on the terminal device, the power consumption of the terminal device is reduced. However, the endc capability has been turned off at this time. The network side wants to allocate other frequency bands of the 5G network to the terminal device, such as n41 (a 5G frequency band, uplink 2496MHz-2690MHz, downlink 2496MHz-2690MHz). It cannot be achieved because the terminal device can no longer support the combination of the B1 frequency band and the frequency band of another 5G network.
[0081] However, the method in the embodiment of the present application can not only ensure network stability, but also can still access 5G when the base station allocates network resources of other frequency bands in the 5G network. It does not mean that the endc capability is turned off and only 4G can be used. To a certain extent, the network speed can be improved. The embodiment of the present application can update the frequency bands supported by the terminal device without the holder of the terminal device being aware of it, so that the terminal device can reside in a certain frequency band more stably, thereby reducing power consumption. Since the frequency bands in the initial frequency band set are updated to the network end instead of directly turning off the endc capability, by re-establishing the connection with the network end, if the network end subsequently allocates network resources corresponding to the new frequency band, the terminal device can still be used.
[0082] In an embodiment of the present application, by acquiring N types of network resources allocated by the network end, the working status of one or more network resources in operation can be detected respectively. If the working status meets the preset conditions, the corresponding frequency band is deleted from the initial frequency band set to obtain the target frequency band set. The target frequency band set is reported to the network end, the network resources allocated by the network end based on the target frequency band set are acquired, and business processing is performed based on the allocated network resources. Since the working status of network resources can reflect the stability of network resources, by detecting the working status of one or more network resources in operation, if the working status corresponding to certain network resources meets the preset conditions, such as the signal of the network resource is unstable, these unstable frequency bands can be deleted from the initial frequency band set, and the network end can allocate network resources to the terminal device based on the target frequency band set to improve the stability of the network resources on the terminal device. Since the unstable signal of the network resource will cause the network status of the terminal device to change continuously, which will increase the power consumption of the terminal device, this method can also reduce the power consumption of the terminal device.
[0083] Optional, see Figure 4 , Figure 4 is a flow chart of a configuration method provided in an embodiment of the present application. The configuration method is applied to the network end; Figure 4 As shown, the configuration method includes but is not limited to the following steps:
[0084] S201: Receive an initial frequency band set reported by a terminal device.
[0085] In an embodiment of the present application, the network end may receive an initial frequency band set reported by a terminal device, and the initial frequency band set includes multiple frequency bands. The frequency bands in the initial frequency band set may refer to frequency bands supported by the terminal device, and when the network end has network resources corresponding to the frequency bands in the initial frequency band set, they may be allocated to the terminal device. It is understandable that the network end may have the ability to allocate network resources, or the network end may obtain network resources transmitted by a base station, and allocate corresponding network resources to each terminal device by matching the initial frequency band set of each terminal device.
[0086] S202: Allocate N types of network resources to the terminal device based on the initial frequency band set.
[0087] In an embodiment of the present application, the network end may allocate N types of network resources to the terminal device based on the initial frequency band set, where N is a positive integer. When the network end has multiple network resources, the network resources it has may be allocated to the terminal device. However, when allocating network resources to the terminal device, it is necessary to allocate network resources to the terminal device based on the initial frequency band set. Since the initial frequency band set can reflect the frequency bands supported by the terminal device, the terminal device only supports the use of network resources corresponding to the frequency bands in the initial frequency band set when the terminal device is allocated. If the network resources corresponding to the frequency bands other than the initial frequency band set are allocated, the terminal device does not support the use.
[0088] Specifically, when the network end obtains multiple network resources, it can match the frequency bands corresponding to the multiple network resources with the initial frequency band set, and allocate the network resources corresponding to the frequency bands that match the initial frequency band set to the terminal device, and the network resources corresponding to the frequency bands that do not match the initial frequency band set will not be allocated to the terminal device. If the frequency band corresponding to the network resource is the same as any frequency band in the initial frequency band set, it means that the frequency band corresponding to the network resource matches the initial frequency band set. If the frequency band corresponding to the network resource is different from all the frequency bands in the initial frequency band set, it means that the frequency band corresponding to the network resource does not match the initial frequency band set.
[0089] S203: Receive a target frequency band set reported by a terminal device.
[0090] The target frequency band set is obtained by deleting corresponding frequency bands from the initial frequency band set, where the corresponding frequency bands are frequency bands corresponding to one or more network resources whose working states meet preset conditions.
[0091] In an embodiment of the present application, the target frequency band set may refer to a frequency band set modified by the terminal device, which may be used to reflect the frequency bands currently supported by the terminal device. For frequency bands deleted by the terminal device from the initial frequency band set, the network may consider them to be frequency bands that the terminal device does not currently have, and the network resources corresponding to the deleted frequency bands will not be reallocated to the terminal device. The number of frequency bands in the target frequency band set is less than the number of frequency bands in the initial frequency band set. The method for receiving the target frequency band set reported by the terminal device in an embodiment of the present application may refer to the description in step S103 above, which will not be repeated here.
[0092] S204: Allocate network resources to the terminal device based on the target frequency band set.
[0093] Among them, after the network receives the target frequency band set reported by the terminal device, if there are network resources matching the target frequency band set, they can be allocated to the terminal device. It can be understood that the network end can allocate network resources corresponding to any frequency band in the target frequency band set to the terminal device, and even if the network end has network resources outside the target frequency band set, it will not be allocated to the terminal device, which can improve the accuracy of network resource allocation. The network resources are used for business processing, that is, the terminal device can use the network resources allocated by the network end for business processing.
[0094] In the embodiment of the present application, the specific implementation method of steps S201 to S204 can refer to the description and specific implementation process of steps S101 to S103, which will not be repeated here.
[0095] In an embodiment of the present application, the network end can allocate corresponding network resources to the terminal device based on the reported initial frequency band set and target frequency band set by acquiring the initial frequency band set and target frequency band set reported by the terminal device. When the network end has network resources, it can first match the frequency band set uploaded by the terminal device to determine whether the frequency band corresponding to the existing network resource exists in the frequency band set of the terminal device. If it exists in the frequency band set of the terminal device, it means that the terminal device supports this type of network resource, and then the network resource is allocated to the terminal device. If it does not exist in the frequency band set of the terminal device, it means that the terminal device does not support this type of network resource, and then the network resource will not be allocated to the terminal device, which can avoid wasting network resources.
[0096] Optional, see Figure 5 , Figure 5 is a flow chart of another network resource allocation method provided by an embodiment of the present application. The network resource allocation method can be jointly executed by a terminal device and a network end; Figure 5 As shown, the network resource allocation method includes but is not limited to the following steps:
[0097] S301, the terminal device reports an initial frequency band set to the network.
[0098] Here, the terminal device can obtain an initial frequency band set consisting of supported frequency bands and report the initial frequency band set to the network end, that is, the terminal device can inform the network end of the network resources of which frequency bands the terminal device supports, and when the network end has network resources of these frequency bands, they can be allocated to the terminal device. When the network resources existing on the network end are not network resources supported by the terminal device, they will not be allocated to the terminal device.
[0099] S302, the network receives an initial frequency band set reported by a terminal device, and allocates N types of network resources to the terminal device based on the initial frequency band set.
[0100] Here, since the network end receives the initial frequency band set reported by the terminal device, N types of network resources can be allocated to the terminal device based on the initial frequency band set. The frequency bands corresponding to the N types of network resources all exist in the initial frequency band set. For example, when the network end has a type of network resource in the initial frequency band set, the type of network resource can be allocated to the terminal device. When the network end has multiple types of network resources in the initial frequency band set, the multiple types of network resources can be allocated to the terminal device, and the terminal device can choose to use a certain type of network resource from the multiple network resources.
[0101] S303, the terminal device detects the working status of one or more network resources in operation. If the working status meets the preset conditions, the corresponding frequency band is deleted from the initial frequency band set, a target frequency band set is obtained, and the target frequency band set is reported to the network.
[0102] Optionally, the working status of the network resources may include the network switching frequency of the network resources. For example, the terminal device can detect the network switching operation triggered by the state change of each network resource, and count the network switching frequency corresponding to the network switching operation triggered by the state change of each network resource, so as to determine the stability of each network resource. For example, the larger the network switching frequency, the more unstable the network resource.
[0103] Optionally, the network switching frequency of each network resource is detected at this time because the allocation of network resources will cause the modem to repeatedly wake up the AP, and each time the modem wakes up the AP, the power consumption of the terminal device will increase. Therefore, by detecting the network switching frequency of each network resource, the frequency band corresponding to the network resource that causes the modem to wake up the AP with a high frequency can be deleted from the initial frequency band set, and such network resources will not be allocated to the terminal device in the future, thereby reducing the frequency of the modem waking up the AP, thereby reducing the power consumption of the terminal device.
[0104] Here, for example, if the network switching frequency is greater than the frequency threshold, indicating that the network resources are unstable, the frequency band corresponding to the network resource can be deleted from the initial frequency band set. By deleting the unstable frequency bands in the initial frequency band set to obtain the target frequency band set, that is, the target frequency band set does not include unstable frequency bands, then the subsequent network end will no longer allocate network resources corresponding to the unstable frequency bands in the initial frequency band set to the terminal device, which can improve the stability of the network. For example, a formula can be formulated, such as within X minutes, the network resource state changes Y times, X and Y are both integers, when the ratio between X and Y reaches a certain value, it indicates that the network resources are frequently switched, then the corresponding network resources in the initial frequency band set can be deleted, thereby deleting the frequency bands corresponding to the frequently switched network resources in the initial frequency band set. By modifying the initial frequency band set to obtain the target frequency band set, the terminal device can re-report the target frequency band set supported by the terminal device.
[0105] For example, the terminal device initially resides in frequency band B1, and the network repeatedly allocates frequency band n77 and then reclaims frequency band n77. The target frequency band set is obtained by deleting frequency band n77 from the initial frequency band set, which is equivalent to removing frequency band n77 when reporting the frequency bands supported by the terminal device. At this time, the terminal device can re-establish a data connection with the network and reside in frequency band B1 again. Since the reported target frequency band set indicates that the terminal device does not support frequency band n77, the network will no longer allocate frequency band n77 to the terminal device, and the terminal device can stably reside on a single frequency band such as frequency band B1, thereby reducing the power consumption of the terminal device.
[0106] S304: The network allocates network resources to the terminal device based on the target frequency band set.
[0107] Here, after obtaining the target frequency band set, the network end may allocate network resources corresponding to the frequency bands matching the target frequency band set to the terminal device, so that the terminal device can achieve normal operation based on the allocated network resources.
[0108] S305, the terminal device obtains the network resources allocated by the network based on the target frequency band set, and performs service processing based on the allocated network resources.
[0109] In the embodiment of the present application, the specific implementation method of steps S301 to S305 can refer to the description and specific implementation process of steps S101 to S103, which will not be repeated here.
[0110] In one embodiment, the target frequency band set may include multiple frequency bands, for example, a first type of frequency band and a second type of frequency band, the first type of frequency band is used to indicate a first type of network resource, the second type of frequency band is used to indicate a second type of network resource, the network speed corresponding to the first type of network resource is greater than the second type of network resource, and the terminal device can select one of the network resources for service processing. For example, if the network resources allocated by the network end include the first type of network resources and the second type of network resources, the terminal device performs service processing based on the first type of network resources, and the service processing includes at least one of data query, data sharing, and communication connection.
[0111] Among them, the communication connection can be used to make calls, answer calls, send text messages, receive text messages, etc., data query can be used to query data on other devices or websites, data sharing can be used to share data on the terminal device with other devices, etc. Since the network allocates these two types of network resources to the terminal device, and the terminal device can access these two types of network resources, but generally speaking, the terminal device can access one type of network resource to achieve business processing, so the terminal device can choose one type of network resource to access. Since the network speed corresponding to the first type of network resource is greater than that of the second type of network resource, the terminal device can access the first type of network resource and perform business processing. Since the higher the network speed, the faster the data processing capability, the use of the first type of network resources for business processing can improve the efficiency of the terminal device's business processing.
[0112] In one embodiment, the first type of network resources may be 5G network resources, and the second type of network resources may be 4G network resources. The first type of network resources may include, but are not limited to, network resources corresponding to 5G frequency bands such as n1, n3, n28, n41, n77, n78, and n79, and n1, n3, n28, n41, n77, n78, and n79 are different 5G frequency bands, and the frequency range of each frequency band is different. The second type of network resources may include, but are not limited to, network resources corresponding to 4G frequency bands such as B1, B2, and B3, and B1, B2, and B3 are different 4G frequency bands, and the frequency range of each frequency band is different. Since the terminal device can support multiple 4G frequency bands and multiple 5G frequency bands, by removing the unstable frequency bands in the initial frequency band set, it is still possible to access the 4G network or the 5G network, thereby ensuring the normal use of the terminal device.
[0113] In one embodiment, when a terminal device accesses a network resource and the network allocates another network resource to the terminal device, the terminal device can determine which network resource to select based on the network switching frequencies of the two network resources. For example, when the terminal device obtains the first network resource allocated by the network, it performs service processing based on the first network resource; if it obtains the second network resource in the target frequency band set allocated by the network after obtaining the first network resource, it detects the network switching operation triggered by the state change of the first network resource and the second network resource of the terminal device respectively, and counts the network switching frequencies corresponding to the network switching operation triggered by the state change of the two network resources respectively; if the network switching frequency of the second network resource is less than the network switching frequency of the first network resource, it performs service processing based on the second network resource. Any one of the one or more network resources in operation is represented as the first network resource.
[0114] Among them, since the network end allocates the first network resource first, the terminal device can use the first network resource for business processing. After a period of time, for example, the number of other terminal devices using the second network resource is greatly reduced, the network end can allocate the second network resource to the terminal device. At this time, the terminal device can respectively detect the network switching frequency of the terminal device based on the first network resource and the second network resource, because the larger the network switching frequency, the more unstable the network resource. For example, if the network switching frequency of the second network resource is less than the network switching frequency of the first network resource, it means that the second network resource is more stable than the first network resource. Therefore, the terminal device can reside on the frequency band corresponding to the second network resource, which can reduce the number of times the modem on the terminal device wakes up the AP, thereby reducing the power consumption of the terminal device.
[0115] In this embodiment, the terminal device may also determine a processing method for the frequency band corresponding to the first network resource in the target frequency band set according to the network switching frequency of the first network resource. In one case, if the network switching frequency of the first network resource is greater than the frequency threshold, the frequency band matching the first network resource in the target frequency band set is deleted to obtain a set of frequency bands to be allocated; the set of frequency bands to be allocated is reported to the network end, the second network resource allocated by the network end is obtained, and service processing is performed based on the second network resource.
[0116] In the embodiment of the present application, since the network switching frequency of the first network resource is greater than the frequency threshold, it means that the first network resource is unstable, so the frequency band matching the first network resource in the target frequency band set can be deleted, and the modified frequency band set can be reported to the network end. By deleting the unstable frequency band in the target frequency band set, the network end will no longer allocate the network resource corresponding to the unstable frequency band to the terminal device, which can improve the stability of the network resources and reduce the power consumption of the terminal device.
[0117] In another case, if the network switching frequency of the first network resource is less than the frequency threshold, no subsequent processing is performed. Here, no subsequent processing may mean not modifying the target frequency band set and not reporting the modified frequency band set to the network end. Since the network switching frequency of the first network resource is less than the frequency threshold, it means that the first network resource is not as stable as the second network resource, but also meets the stability standard. Therefore, the target frequency band set may not be modified. If the second network resource is unstable later, the network end may also allocate the first network resource to the terminal device, thereby improving the stability of the network resource.
[0118] It is understandable that in order to ensure network speed, the terminal device can detect the network switching frequency of various network resources allocated by the network end at regular intervals, so as to determine the stability of each network resource, and then select the network resources that need to reside in the next time period based on the stability of each network resource, so as to avoid the decrease in network speed due to changes in network resources after a period of time and improve the network speed.
[0119] In the embodiment of the present application, since the terminal device will confirm the supported initial frequency band set during the development stage, for example, the initial frequency band set supported by the terminal device includes B1+n77, B1+n41, B1+n77+n41, and so on. In the current solution, when the network resources are unstable and the network resources are repeatedly switched, the endc capability of the terminal device will be turned off, so that the terminal device can reside alone on the 4G frequency band. However, this solution directly turns off the NSA capability of the entire 4G+5G. Even when the 5G network is stable later, the terminal device can no longer access the 5G network, which will reduce the network speed and thus reduce the user experience. In the technical solution of the present application, the frequency band corresponding to the unstable network resources in the initial frequency band set of the terminal device is deleted, the target frequency band set is obtained, and it is updated to the network end. If the base station allocates another 5G frequency band at this time, the terminal device can still have the ability of the frequency band combination, so that the 5G network can be used, instead of turning off the ability of the entire frequency band combination, so that only 4G can be used.
[0120] The worse the network environment is, the better the effect of reducing power consumption is. When the network switching frequency of any one or more network resources is greater than the frequency threshold, the frequency band corresponding to the network resource can be removed from the initial frequency band set, and the terminal device can stably reside on a single frequency band, thereby reducing the power consumption of the terminal device.
[0121] For example, suppose the initial frequency band set of the terminal device includes the frequency band n41 and the frequency band n77 of the 5G network, but the signal of the frequency band n41 is poor and unstable. If the initial frequency band set of the terminal device is not processed, the modem on the terminal device will first register the frequency band n41 of the 5G network. If the network resources of this frequency band n41 are unstable, the terminal device will switch to the frequency band of the 4G network, and then the terminal device will access the frequency band n41 of the 5G network, and then switch to the frequency band of the 4G network, and then access the frequency band n41 of the 5G network. At this time, the network may not allocate the frequency band n77 of the 5G network to the terminal device. For example, if a large number of third-party devices are registered in this base station and continue to occupy the frequency band n77 of the 5G network, the network will not allocate n77 to the terminal device. In the technical solution of the present application, the modem on the terminal device first registers the frequency band n41 of the 5G network. If the network resources of the frequency band n41 are unstable at this time, the terminal device will switch to the frequency band of the 4G network, and then the terminal device will access the n41 frequency band of the 5G network, and then switch to the frequency band of the 4G network. When the network switching frequency of the n41 frequency band is greater than the frequency threshold, the terminal device can modify the initial frequency band set, delete the n41 frequency band in the initial frequency band set, obtain the target frequency band set and report it to the network end, and re-establish the connection with the network end. Since there is no n41 frequency band in the target frequency band set at this time, it means that the terminal device does not support the n41 frequency band, so the network end will allocate the n77 frequency band to the terminal device, that is, the terminal device can still use the 5G network, and does not need to turn off the endc capability and can only use the 4G network.
[0122] In the embodiment of the present application, by acquiring N kinds of network resources allocated by the network end, the network switching operation triggered by the state change of the N kinds of network resources can be detected respectively by the terminal device, and the network switching frequency corresponding to the network switching operation triggered by the state change of each network resource is counted. If there is at least one network resource corresponding to a network switching frequency greater than the frequency threshold, the frequency band matching at least one network resource in the initial frequency band set is deleted to obtain the target frequency band set. The target frequency band set is reported to the network end, the network resources allocated by the network end based on the target frequency band set are obtained, and the service is processed based on the allocated network resources. Since the higher the network switching frequency corresponding to the network switching operation triggered by the state change of the network resource is, the more frequent the state change of the network resource is, which will affect the stability of the network resources on the terminal device, by deleting the frequency band corresponding to the network resource with frequent state changes in the initial frequency band set, that is, deleting the frequency band with unstable network resources, the network end can allocate network resources to the terminal device based on the target frequency band set, and improve the stability of the network resources on the terminal device. Since the frequent change of the state of the network resource will cause the network state of the terminal device to change continuously, which will increase the power consumption of the terminal device, this method can also reduce the power consumption of the terminal device.
[0123] The method of the embodiment of the present application is introduced above, and the device of the embodiment of the present application is introduced below.
[0124] See also Figure 6 , Figure 6 1 is a schematic diagram of the composition structure of a network resource allocation device provided in an embodiment of the present application. The above-mentioned network resource allocation device can be deployed on a terminal device; the network resource allocation device can be used to execute the corresponding steps in the network resource allocation method provided in an embodiment of the present application. The network resource allocation device 60 includes:
[0125] A resource acquisition unit 601 is used to acquire N types of network resources allocated by the network end, where the N types of network resources are allocated based on an initial frequency band set of the terminal device, where the initial frequency band set includes multiple frequency bands, and N is a positive integer;
[0126] The frequency band deletion unit 602 is used to detect the working status of one or more network resources in operation, and if the working status meets the preset condition, delete the corresponding frequency band from the initial frequency band set to obtain the target frequency band set;
[0127] The resource allocation unit 603 is used to report the target frequency band set to the network end, obtain the network resources allocated by the network end based on the target frequency band set, and perform service processing based on the allocated network resources.
[0128] Optionally, the frequency band deleting unit 602 is specifically configured to:
[0129] Respectively detecting the network switching operation triggered by the terminal device based on the state change of the one or more network resources being operated, and counting the network switching frequency corresponding to the network switching operation triggered by the state change of the one or more network resources being operated, where one network resource corresponds to one network switching frequency;
[0130] Determine the working state of the one or more network resources in operation based on the network switching frequency;
[0131] If there is at least one network resource whose corresponding network switching frequency is greater than the frequency threshold, it is determined that the working state of the at least one network resource meets the preset conditions, and the frequency band matching the at least one network resource is deleted from the initial frequency band set to obtain the target frequency band set.
[0132] Optionally, the network resource allocation device 60 further includes: a frequency band reporting unit 604, wherein the frequency band reporting unit 604 is configured to:
[0133] Acquire multiple frequency bands supported by the terminal device, and combine the multiple frequency bands supported by the terminal device to obtain an initial frequency band set;
[0134] A first connection relationship is established with the network end, and the initial frequency band set is reported to the network end based on the first connection relationship.
[0135] Optionally, the resource allocation unit 603 is specifically configured to:
[0136] Disconnecting the first connection relationship with the network end;
[0137] A second connection relationship is established with the network end, and the target frequency band set is reported to the network end based on the second connection relationship.
[0138] Optionally, any one of the one or more network resources in operation is represented as a first network resource, and the frequency band deleting unit 602 is specifically configured to:
[0139] Detecting a network switching operation triggered by a state change of the first network resource within a target period, and counting a target number of network switching operations triggered by the state change of the first network resource;
[0140] The ratio between the target number of times and the period length of the target period is used as the network switching frequency corresponding to the network switching operation triggered by the state change of the first network resource.
[0141] Optionally, the target frequency band set includes a first type of frequency band and a second type of frequency band, the first type of frequency band is used to indicate a first type of network resource, the second type of frequency band is used to indicate a second type of network resource, and the network speed corresponding to the first type of network resource is greater than the second type of network resource; the resource allocation unit 603 is specifically used to:
[0142] If the network resources allocated by the network end include the first type of network resources and the second type of network resources, business processing is performed based on the first type of network resources, and the business processing includes at least one of data query, data sharing, and communication connection.
[0143] Optionally, the first type of network resources are 5G network resources, and the second type of network resources are 4G network resources.
[0144] Optionally, any one of the one or more network resources in operation is represented as a first network resource, and the resource allocation unit 603 is specifically configured to:
[0145] Acquire the first network resource allocated by the network end, and perform service processing based on the first network resource;
[0146] If, after acquiring the first network resource, the second network resource in the target frequency band set allocated by the network end is acquired, the network switching operations triggered by the terminal device based on the state changes of the first network resource and the second network resource are detected respectively, and the network switching frequencies corresponding to the network switching operations triggered by the state changes of the two network resources are counted respectively;
[0147] If the network switching frequency of the second network resource is less than the network switching frequency of the first network resource, service processing is performed based on the second network resource.
[0148] Optionally, the resource allocation unit 603 is further configured to:
[0149] If the network switching frequency of the first network resource is greater than the frequency threshold, deleting the frequency band in the target frequency band set that matches the first network resource to obtain a frequency band set to be allocated;
[0150] Report the set of frequency bands to be allocated to the network, obtain the second network resources allocated by the network, and perform service processing based on the second network resources.
[0151] It should be noted that Figure 6 For the contents not mentioned in the corresponding embodiments, please refer to the description of the method embodiments, which will not be repeated here.
[0152] In an embodiment of the present application, by acquiring N types of network resources allocated by the network end, the working status of one or more network resources in operation can be detected respectively. If the working status meets the preset conditions, the corresponding frequency band is deleted from the initial frequency band set to obtain the target frequency band set. The target frequency band set is reported to the network end, the network resources allocated by the network end based on the target frequency band set are acquired, and business processing is performed based on the allocated network resources. Since the working status of network resources can reflect the stability of network resources, by detecting the working status of one or more network resources in operation, if the working status corresponding to certain network resources meets the preset conditions, such as the signal of the network resource is unstable, these unstable frequency bands can be deleted from the initial frequency band set, and the network end can allocate network resources to the terminal device based on the target frequency band set to improve the stability of the network resources on the terminal device. Since the unstable signal of the network resource will cause the network status of the terminal device to change continuously, which will increase the power consumption of the terminal device, this method can also reduce the power consumption of the terminal device.
[0153] See also Figure 7 , Figure 7 : is a schematic diagram of the composition structure of a configuration device provided in an embodiment of the present application. The above configuration device can be deployed on a network terminal; the configuration device can be used to execute the corresponding steps in the configuration method provided in an embodiment of the present application. The configuration device 70 includes:
[0154] The resource reporting unit 701 is configured to receive an initial frequency band set reported by a terminal device, where the initial frequency band set includes multiple frequency bands;
[0155] A first allocating unit 702 is configured to allocate N types of network resources to the terminal device based on the initial frequency band set, where N is a positive integer;
[0156] A frequency band receiving unit 703 is used to receive a target frequency band set reported by the terminal device, where the target frequency band set is obtained by deleting a corresponding frequency band from the initial frequency band set, where the corresponding frequency band is a frequency band corresponding to a network resource whose working status of the one or more working network resources meets a preset condition;
[0157] The second allocation unit 704 is used to allocate network resources to the terminal device based on the target frequency band set, and the network resources are used for service processing.
[0158] It should be noted that Figure 7 For the contents not mentioned in the corresponding embodiments, please refer to the description of the configuration method embodiment, which will not be repeated here.
[0159] In an embodiment of the present application, the network end can allocate corresponding network resources to the terminal device based on the reported initial frequency band set and target frequency band set by acquiring the initial frequency band set and target frequency band set reported by the terminal device. When the network end has network resources, it can first match the frequency band set uploaded by the terminal device to determine whether the frequency band corresponding to the existing network resource exists in the frequency band set of the terminal device. If it exists in the frequency band set of the terminal device, it means that the terminal device supports this type of network resource, and then the network resource is allocated to the terminal device. If it does not exist in the frequency band set of the terminal device, it means that the terminal device does not support this type of network resource, and then the network resource will not be allocated to the terminal device, which can avoid wasting network resources.
[0160] See also Figure 8 , Figure 8 Schematic diagram of the structure of a computer device provided in an embodiment of the present application. Figure 8As shown, the above-mentioned computer device 80 may include: a processor 801, a network interface 804 and a memory 805. In addition, the above-mentioned computer device 80 may also include: a user interface 803, and at least one communication bus 802. Among them, the communication bus 802 is used to realize the connection and communication between these components. Among them, the user interface 803 may include a display screen (Display), a keyboard (Keyboard), and optionally, the user interface 803 may also include a standard wired interface and a wireless interface. The network interface 804 may optionally include a standard wired interface and a wireless interface (such as a WI-FI interface). The memory 805 may be a high-speed RAM memory, or it may be a non-volatile memory (non-volatile memory), such as at least one disk storage. The memory 805 may optionally also be at least one storage device located away from the aforementioned processor 801. As Figure 8 As shown, the memory 805 as a computer-readable storage medium may include an operating system, a network communication module, a user interface module, and a device control application program.
[0161] exist Figure 8 In the computer device 80 shown, the network interface 804 can provide a network communication function; the user interface 803 is mainly used to provide an input interface for the user; and the processor 801 can be used to call the device control application stored in the memory 805 to perform the following operations:
[0162] Acquire N types of network resources allocated by the network end, where the N types of network resources are allocated based on an initial frequency band set of the terminal device, where the initial frequency band set includes multiple frequency bands, and N is a positive integer;
[0163] Detecting the working status of one or more network resources in operation, and if the working status meets a preset condition, deleting the corresponding frequency band from the initial frequency band set to obtain a target frequency band set;
[0164] The target frequency band set is reported to the network end, network resources allocated by the network end based on the target frequency band set are obtained, and service processing is performed based on the allocated network resources.
[0165] Optionally, the processor 801 may be configured to call a device control application stored in the memory 805 to perform the following operations:
[0166] Receiving an initial frequency band set reported by a terminal device, where the initial frequency band set includes multiple frequency bands;
[0167] Allocate N types of network resources to the terminal device based on the initial frequency band set, where N is a positive integer;
[0168] receiving a target frequency band set reported by the terminal device, where the target frequency band set is obtained by deleting a corresponding frequency band from the initial frequency band set, where the corresponding frequency band is a frequency band corresponding to a network resource whose working state of the one or more working network resources meets a preset condition;
[0169] Network resources are allocated to the terminal device based on the target frequency band set, and the network resources are used for business processing.
[0170] It should be understood that the computer device 80 described in the embodiment of the present application can execute the above Figure 3 and Figure 5 The description of the above network resource allocation method in the corresponding embodiment, and the execution of the above Figure 4 The description of the above configuration method in the corresponding embodiment can also be performed as described above. Figure 6 The description of the above network resource allocation device in the corresponding embodiment, and the execution of the above Figure 7 The description of the configuration device in the corresponding embodiment will not be repeated here. In addition, the description of the beneficial effects of the same method will not be repeated here.
[0171] In an embodiment of the present application, by acquiring N types of network resources allocated by the network end, the working status of one or more network resources in operation can be detected respectively. If the working status meets the preset conditions, the corresponding frequency band is deleted from the initial frequency band set to obtain the target frequency band set. The target frequency band set is reported to the network end, the network resources allocated by the network end based on the target frequency band set are acquired, and business processing is performed based on the allocated network resources. Since the working status of network resources can reflect the stability of network resources, by detecting the working status of one or more network resources in operation, if the working status corresponding to certain network resources meets the preset conditions, such as the signal of the network resource is unstable, these unstable frequency bands can be deleted from the initial frequency band set, and the network end can allocate network resources to the terminal device based on the target frequency band set to improve the stability of the network resources on the terminal device. Since the unstable signal of the network resource will cause the network status of the terminal device to change continuously, which will increase the power consumption of the terminal device, this method can also reduce the power consumption of the terminal device.
[0172] The embodiment of the present application also provides a computer-readable storage medium, which stores a computer program, which includes program instructions, which, when executed by a computer, causes the computer to execute the method of the aforementioned embodiment, and the computer may be part of the computer device mentioned above. For example, the processor 801 mentioned above. As an example, the program instructions may be deployed on a computer device for execution, or deployed on multiple computer devices located at one location for execution, or, executed on multiple computer devices distributed at multiple locations and interconnected by a communication network, and multiple computer devices distributed at multiple locations and interconnected by a communication network may constitute a blockchain network.
[0173] Those skilled in the art can understand that all or part of the processes in the methods of the above embodiments can be completed by instructing the relevant hardware through a computer program, and the program can be stored in a computer-readable storage medium, and when the program is executed, it can include the processes of the embodiments of the above methods. Among them, the storage medium can be a disk, an optical disk, a read-only memory (ROM) or a random access memory (RAM), etc.
[0174] The above disclosure is only the preferred embodiment of the present application, which certainly cannot be used to limit the scope of rights of the present application. Therefore, equivalent changes made according to the claims of the present application are still within the scope covered by the present application.
Claims
1. A network resource allocation method, characterized in that: Applied to a terminal device, the method comprises: Acquire N types of network resources allocated by a network end, where the N types of network resources are allocated based on an initial frequency band set of the terminal device, where the initial frequency band set includes multiple frequency bands, and N is a positive integer; Detecting the working status of one or more network resources in operation, and if the working status meets a preset condition, deleting the corresponding frequency band from the initial frequency band set to obtain a target frequency band set; The target frequency band set is reported to the network end, network resources allocated by the network end based on the target frequency band set are acquired, and service processing is performed based on the allocated network resources.
2. The method according to claim 1, characterized in that The detecting the working status of one or more network resources in operation, and if the working status meets a preset condition, deleting the corresponding frequency band from the initial frequency band set to obtain a target frequency band set, includes: Respectively detecting network switching operations of the terminal device triggered by changes in the status of the one or more network resources being in operation, and counting network switching frequencies corresponding to the network switching operations triggered by changes in the status of the one or more network resources being in operation, where one network resource corresponds to one network switching frequency; Determine the working state of the one or more network resources in operation based on the network switching frequency; If there is at least one network resource whose corresponding network switching frequency is greater than the frequency threshold, it is determined that the working state of the at least one network resource meets the preset conditions, and the frequency band matching the at least one network resource is deleted from the initial frequency band set to obtain the target frequency band set.
3. The method according to claim 2, characterized in that Any one of the one or more network resources being operated is represented as a first network resource, and the respectively detecting network switching operations triggered by the terminal device based on a change in the state of the one or more network resources being operated, and counting the network switching frequencies corresponding to the network switching operations triggered by the change in the state of each network resource, includes: Detecting a network switching operation triggered by a state change of the first network resource within a target period, and counting a target number of network switching operations triggered by the state change of the first network resource; The ratio between the target number of times and the period length of the target period is used as the network switching frequency corresponding to the network switching operation triggered by the state change of the first network resource.
4. The method according to claim 1, characterized in that: Before obtaining N types of network resources allocated by the network end, the method further includes: Acquire multiple frequency bands supported by the terminal device, and combine the multiple frequency bands supported by the terminal device to obtain an initial frequency band set; Establishing a first connection relationship with the network end, and reporting the initial frequency band set to the network end based on the first connection relationship; The reporting the target frequency band set to the network terminal includes: Disconnecting the first connection relationship with the network end; A second connection relationship is established with the network end, and the target frequency band set is reported to the network end based on the second connection relationship.
5. The method according to claim 1, characterized in that: The target frequency band set includes a first type of frequency band and a second type of frequency band, the first type of frequency band is used to indicate a first type of network resource, the second type of frequency band is used to indicate a second type of network resource, and the network speed corresponding to the first type of network resource is greater than the second type of network resource; The obtaining of network resources allocated by the network end based on the target frequency band set, and performing service processing based on the allocated network resources, includes: If the network resources allocated by the network end include the first type of network resources and the second type of network resources, business processing is performed based on the first type of network resources, and the business processing includes at least one of data query, data sharing, and communication connection.
6. The method according to claim 5, characterized in that The first type of network resources are 5G network resources, and the second type of network resources are 4G network resources.
7. The method according to claim 1, characterized in that Any one of the one or more network resources in operation is represented as a first network resource, and obtaining the network resources allocated by the network end based on the target frequency band set, and performing service processing based on the allocated network resources includes: Acquire the first network resource allocated by the network end, and perform service processing based on the first network resource; If a second network resource in the target frequency band set allocated by the network end is obtained after the first network resource is obtained, the network switching operations triggered by the terminal device based on the state changes of the first network resource and the second network resource are detected respectively, and the network switching frequencies corresponding to the network switching operations triggered by the state changes of the two network resources are counted respectively; If the network switching frequency of the second network resource is less than the network switching frequency of the first network resource, service processing is performed based on the second network resource.
8. The method according to claim 7, characterized in that The method further comprises: If the network switching frequency of the first network resource is greater than the frequency threshold, deleting the frequency band matching the first network resource in the target frequency band set to obtain a frequency band set to be allocated; Report the set of frequency bands to be allocated to the network, obtain the second network resources allocated by the network, and perform service processing based on the second network resources.
9. A configuration method, characterized in that: Applied to a network end, the method comprises: Receiving an initial frequency band set reported by a terminal device, where the initial frequency band set includes multiple frequency bands; Allocate N types of network resources to the terminal device based on the initial frequency band set, where N is a positive integer; receiving a target frequency band set reported by the terminal device, where the target frequency band set is obtained by deleting a corresponding frequency band from the initial frequency band set, where the corresponding frequency band is a frequency band corresponding to a network resource whose working status of the one or more working network resources meets a preset condition; Network resources are allocated to the terminal device based on the target frequency band set, and the network resources are used for business processing.
10. A network resource allocation device, characterized in that: Applied to a terminal device, the device comprises: A resource acquisition unit, configured to acquire N types of network resources allocated by a network end, wherein the N types of network resources are allocated based on an initial frequency band set of the terminal device, wherein the initial frequency band set includes a plurality of frequency bands, and N is a positive integer; A frequency band deletion unit, configured to detect the working status of one or more network resources in operation, and if the working status meets a preset condition, delete the corresponding frequency band from the initial frequency band set to obtain a target frequency band set; The resource allocation unit is used to report the target frequency band set to the network end, obtain the network resources allocated by the network end based on the target frequency band set, and perform service processing based on the allocated network resources.
11. A configuration device, characterized in that: Applied to a network end, the device comprises: A resource reporting unit, configured to receive an initial frequency band set reported by a terminal device, wherein the initial frequency band set includes multiple frequency bands; A first allocation unit, configured to allocate N types of network resources to the terminal device based on the initial frequency band set, where N is a positive integer; A frequency band receiving unit, configured to receive a target frequency band set reported by the terminal device, wherein the target frequency band set is obtained by deleting a corresponding frequency band from the initial frequency band set, and the corresponding frequency band is a frequency band corresponding to a network resource whose working status of the one or more working network resources meets a preset condition; The second allocation unit is used to allocate network resources to the terminal device based on the target frequency band set, and the network resources are used for business processing.
12. A computer device, characterized in that: The method comprises a processor and a memory, wherein the memory is used to store a computer program, the computer program comprises program instructions, and the processor is configured to call the program instructions to execute the method according to any one of claims 1 to 8, or to execute the method according to claim 9.
13. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the method according to any one of claims 1 to 8 is implemented, or the method according to claim 9 is executed.